caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ashish Agarwal <agarwal1975@gmail.com>
To: Wojciech Meyer <wojciech.meyer@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml wiki
Date: Fri, 21 Dec 2012 11:39:45 -0500	[thread overview]
Message-ID: <CAMu2m2KFS2FoPc_o6PH+BDMUq-4BFd-AK5J9=-66vjM_5Lf6dw@mail.gmail.com> (raw)
In-Reply-To: <CAOg1smDNSwwjzG1DvDYkhVG09rWuRkYtNba-1D5TDEWZd74i+w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3289 bytes --]

On Fri, Dec 21, 2012 at 8:05 AM, Wojciech Meyer <wojciech.meyer@gmail.com>wrote:

The bottleneck I see that the changes needs to be "formally approved"
>

This is currently required because the ocaml.org repo contains code, which
is run hourly on a server (formerly at OCamlPro, now at NYU, soon at OCaml
Labs). Giving too many people direct push permission would be a security
risk. Nonetheless, this can easily be resolved. We can have a separate repo
for pure text contributions, and the ocaml.org code could pull from that
one at publish time.


My answer would be as lightweight as possible, oddmuse is perl, mediawiki
> is php.
>

I'd go even lighter. So far the idea I like best is using github. We could
create a new repo ocaml.org-wiki, in which we use just the wiki feature.
This provides pure text files which can be manipulated to generate nice
output however we want. We can give push permission to everyone who
requests it.

Before committing to this, I'd like to know if something like 99 Problems
(solved) in OCaml <http://ocaml.org/tutorials/99problems.html> could be
supportable in a wiki (not just in theory, but realistically what work does
it take)? Note it has images, icons to indicate the difficulty level, code
that is auto-run through OCaml's toploop library, clickable boxes that
show/hide the solution, and an auto-generated table of contents. All of
these little details add up to making the page nice. A plain text version
of this would be lame. Ideally, the tutorials, which are currently plain
text, could also include more rich content like this.



> Also these are wiki engines, so we probably don't need to hack on it.
>

Various hacking ends up being required. If you want to style the wiki
content, you might have to change the attributes on the html elements, or
something. Maybe someday we want to ocaml.org to have user accounts for
some other reason, and at that point it would be nice to make the wiki
login system integrate with these other services. Maybe the wiki has an SSO
capability that works perfectly, but maybe you end up having to read php
code.


So no need to worry that we need to get dirty with php :)
>

It does scare me!



> I also think ocsigen with ocsimore would be cool to have at some point


I'm enticed by this a lot! The trick is to start this on some sub-component
of the website without disrupting the current work flow. Pick a particular
feature that would benefit from the rich dynamic capabilities ocsigen
enables, implement that in a separate repo, show the code works, is
maintainable, and then it can be integrated into ocaml.org.


We could have at least a static webpage generator like Stog
>

That's what we have, but we are using Christophe Troestler's Weberizer.

We should keep in mind all of the above is asking a lot from various
people. Having an ocsigen backend means we are asking OCaml Labs to provide
a server with ocsigen installed. Using the github wiki syntax to html
converter, or weberizer, or stog means asking their respective authors to
do work when the tools don't do exactly what is needed. Converting the
current tutorials to wiki syntax will take hours, after hours were already
spent converting them into html. But hey... a little peer pressure to get a
better website is worth it.  :)

[-- Attachment #2: Type: text/html, Size: 4725 bytes --]

  parent reply	other threads:[~2012-12-21 16:40 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20 23:15 Wojciech Meyer
2012-12-20 23:19 ` Malcolm Matalka
2012-12-20 23:22 ` Anil Madhavapeddy
2012-12-20 23:31   ` Benedikt Meurer
2012-12-20 23:34     ` Anil Madhavapeddy
2012-12-20 23:38       ` Malcolm Matalka
2012-12-20 23:50       ` Wojciech Meyer
2012-12-21  2:49         ` Ashish Agarwal
2012-12-21  8:37           ` Philippe Veber
2012-12-21  9:13             ` Fermin Reig
2012-12-21  9:39               ` Philippe Veber
2012-12-21 13:05           ` Wojciech Meyer
2012-12-21 13:31             ` Adrien
2012-12-21 16:39             ` Ashish Agarwal [this message]
2012-12-21 15:33           ` Siraaj Khandkar
2012-12-21 17:52             ` Siraaj Khandkar
2012-12-21 13:00     ` Hezekiah M. Carty
2012-12-21  1:31 ` [Caml-list] OCaml search into libraries for ocaml.org Francois Berenger
2012-12-21  2:57   ` Ashish Agarwal
2012-12-21  7:34     ` forum
2012-12-21 15:31       ` Leo White
2012-12-21 19:57   ` AW: " Gerd Stolpmann
2012-12-21 20:22     ` Török Edwin
2012-12-21 20:34       ` AW: " Gerd Stolpmann
2012-12-21 20:37         ` Edgar Friendly
2012-12-21 20:41           ` AW: " Gerd Stolpmann
2012-12-21 20:48             ` Library install standards (was: Re: AW: AW: AW: [Caml-list] OCaml search into libraries for ocaml.org) Edgar Friendly
2012-12-21 20:59               ` [Caml-list] Re: Library install standards Török Edwin
2012-12-21 23:47                 ` AW: " Gerd Stolpmann
2012-12-21 16:20 ` [Caml-list] OCaml wiki Vincent Balat
2012-12-21 16:45   ` Ashish Agarwal
2012-12-23 14:53     ` Vincent Balat
2012-12-25  1:14       ` Ashish Agarwal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMu2m2KFS2FoPc_o6PH+BDMUq-4BFd-AK5J9=-66vjM_5Lf6dw@mail.gmail.com' \
    --to=agarwal1975@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=wojciech.meyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).