i’m just so frigging sick to my stomach at the moment because Ubuntu 10.4 ate my home directory, and i wanted to take a moment to warn other Ubuntu upgraders about a data-loss scenario.
Full details are in the bug report:
If you’re going to use Ubuntu 10.4, make damned sure your shell scripts do not depend on case-sensitive shell expansion!
(Yes, i have backups, but i’ve got to pull them from 20 different source repos and a 15GB Dropbox, and the whole point of the exercise which revealed the bug was to avoid having to pull down 30GB of data from the net.)
And how for something very different…
It’s now about 20 hours after that work started, i haven’t slept in 26 hours, and Fabien and i now have:
- A reasonable parser (only missing a few markup features): http://code.google.com/p/wikiwym/
- An application to demo it: http://wikiwym.googlecode.com/svn/trunk/index.html
- And another application which allows the user to load arbitrary wiki pages from arbitrary Google Code-hosted projects and preview them in raw and HTML modes. That code can then be pasted back into the Google Code wiki editor when editing is finished: http://fossil.wanderinghorse.net/demos/wikiwym/
Basically, that last app provides an editor environment for people who edit wiki pages of arbitrary Google Code projects. The app cannot save the data back to Google Code for you, but it provides a relatively effective interface for editing wiki markup. If you make a mistake while typing in the editor, for example forgetting to close an inlined markup tag (bold, italics, etc.), the preview mode will prominently mark the error so you know where to fix it (and what to fix).
—– stephan beal
Interested in how it was being done, i followed the source code links, downloaded it, and set it up locally. After spending the whole day hacking on it, and sharing several mails with the author (who goes by the moniker Chromakode), i’m really interested in exploring this idea for web GUIs a bit more…
For those interested in truly geeky things, the source code is here:
That page demonstrates tying in the CLI interface with JSON-centric RPC. e.g. the “ping” command sends of a JSON-structured RPC request to the server, the server dispatches it to the appropriate event handler, the handler answers and sends us back another JSON object describing the result. Such an interface could be used to write some exceedingly geeky web applications.
In any case… not something of general interest, but in case there are a few other hackers who find the Web/CLI mixture interesting… see the above links.