Anybody in charge of that Web 2.0 thing?

I feel it’s time I tell you about my business plan for http://p.et/s.

This time around, we’ll be using AJAX and RSS technologies. You won’t have to reload a single page to order your dog food. Just. Brilliant.

Please send your contributions to the first round of funding via Paypal.

One thing that nearly all people have in common is that they like to know when another person send them something. Using a variety of sources, I think I have a pretty good handle on finding other people who send me stuff. In fact, I think I find about 90% of all packages sent to me — but I may be wrong.

This is an experiment to see how “findable” my house is. Put me to the the test, fellow retarded monkeys bloggers science-inclined readers.

All you have to do is send a $100 bill to this particular postal address (i.e., the one I’ll email you privately). Just call it Dr Dave Postal Tracking Experiment or something like that. After a few days, I’ll post a list of every people I found have sent me a $100 bill. If you’re not on the list, I’ll invite you to send me your tracking number. I’ll report these unfound bills to the Post Office, and we’ll try to figure out why I didn’t get them.

By the way, this is not just a cheap way to get some money (although it won’t hurt). I really think it will be a useful experiment. I’ll reveal all of my sources and, hopefully, learn about some new ones. I think other people and the postal tracking companies may benefit from the results.

Inspired by Mr. J-Walk and his brilliant scheme idiot-trap Blogger Experiment.

Continue reading

A pretty bad week for databases.

After nearly killing a client’s DB yesterday (and spending most of my night restoring every bits and pieces semi-manually), I felt it wise to secure my own DB here. The one that stores this blog. Guess what happened then?

Yea, I blew the DB too. Or to be more precise: mySQL blew the part of the DB encoded in Japanese.

Here again I just spent half my night recovering everything that could be. Unfortunately all Japanese content for entries posted in June and early July is lost for good: not like it had much literary value, but still a bummer. And in case you are wondering about backups: believe me, I have backups, hundred of them… It just turns out that this piece of crap SQL isn’t even able to properly back up an exact binary copy of your tables that won’t screw up when it encounters encodings it can’t handle properly. So every single backup I have, is identically screwed.

My last personal piece of advice to any mySQL user out there, is to stay away from mysqldump do a freaking binary copy of the db files directly.

And for once: geeky news of interest to the non-geeky crowd…

For the past few days, I have been spending every available minute on a brand new pet project. I was finally able to release a first prototype yesterday (well, this morning really, but that was before going to sleep, round 5am).

bCal is, to be short, an “event aggregator”: it collects event announcements scattered across blog entries into a calendar where they can be subscribed to (from a desktop application, like Apple iCal) or viewed online (through a PHPiCalendar interface) by anybody.

A few features of bCal:

Continue reading

The Dangerously Trilingual Thaïs may have posted the funniest straight-faced geeky post ever (in French).
Or how a serious warning about Linux installs compatibility starts sounding like the latest Beatrix Botter volume (translation mine):

Whatever you do, do not launch an apt-get dist-upgrade to the new version (still under development) “Breezy Badger” at this time. […] My install, essentially “Hoary Hedgehog” on a base of “Warty Warthog“, worked very well until that fateful moment […]

Thaïs, Dangereuse Trilingue s’il en est, expose ses malheurs informatiques. Je crois que je n’ai jamais autant ri à la lecture d’un compte-rendu de compatibilité entre installations de logiciels:

Quoi que vous fassiez, ne lancez pas un apt-get dist-upgrade vers la version (encore sous développement) « Blaireau Jovial » (« Breezy Badger ») en ce moment. […] Mon install, principalement « Hérisson Chenâtre » sur une base de « Phacochère Verruqueux », marchait parfaitement bien jusqu’à ce moment fatal […]

Mais où se cache donc Lapin Soyeux?

So it’s 1am on a Sunday night, not much more has happened in term of exciting stuff ever since my latest week-end update (no more earthquake, no tsunami, no godzilla…), I am busy debugging code written by a maniac who apparently thinks that picking random combinations of three to six letters is a perfectly acceptable naming convention for all functions and variables in a multi-thousand lines program (and yea, I’m aware that this last bit means absolutely nothing to a rough 90% of my beloved readers: please color me equally stumped, albeit not for the same reasons)… It’s time for…

Techie Update of the Month

I have been putting in a bit of long-overdue work into wp-plugins.net, the ultimate WP plugins repository.

Namely:

Continue reading

Not in a blogging mood today, so instead, I finally installed a new plugin to support tagging.

Much to say about tagging later on, but for now, go check out the tag cloud in the categories menu above. Cool innit? Slowly working my way through my old entries, only entries up to June 2004 are correctly tagged at the mo.

UPDATE: moved the tags over to their own page (and tagged a few more entries). It’s all here now.

Nifty innit?

今からタグありますよ

As part of an elaborate not-getting-laid-at-all-cost strategy, I spent the best of my Friday night hacking at home on a whim, bravely ignoring 1am drunken phone calls from a lonely ex, I didn’t stop until I basically had a working prototype.

And thus here you go:
Dr Dave’s Keitai Kanji Multiradical Dictionary!

Of course, you can use this dictionary from any browser, but it has been made especially compact, so as to offer convenient browsing on a small keitai screen.

Why bother making yet another multiradical dictionary when Jim Breen (and many others, most likely) already offers a very decent one on his site?

Two reasons:

  1. I wanted one that be easy to use from a keitai. Jim Breen’s is still a bit heavy to load and browse with a small screen.
  2. I wanted a smarter system for radical selection. All the systems I’ve seen so far let you choose your radicals from a checkbox list of all common radicals. Such a list can be quite long. This makes finding each radical quite tedious and particularly cumbersome on a keitai. Mine use a slightly different approach, that requires at least some knowledge of basic kanjis, but make it much faster then.

Instructions

Fairly obvious, really:

  • Screen 1: enter a string of kanjis. Can be any kanjis containing one of the radical you want to match or directly a radical. In practice, this means you should pick kanjis that look similar to the one you are trying to match… Say, you want to figure out [汾], you could enter [分] and [海]…
  • Screen 2: you will get a list of all radicals matching any of the kanjis entered previously (in our example, you’d get: [ハ], [刀], [母] and [汁]). Select the ones that belong to the kanji you are looking for (e.g. [ハ], [刀] and [汁]). Optionally, enter a number of stroke, with a margin of error (if you want to get any stroke count, do not change the ‘all’ value).
  • Screen 3 will give you a list of all kanjis (if any) containing all the radicals selected in the previous screen, ordered by frequency and stroke count (in our example, you’d get only the kanji you were initially looking for: [汾]). Along with the kanji, you are given stroke count and unicode value. Clicking on the kanji will do a word search in WWWJIC (translations). Clicking on the unicode value, will give you WWWJDIC’s Kanjidic entry (kanji pronunciation keys and data).

This script has been successfully tested with AU’s EZweb, but should work on any net-enabled keitai, please let me know if you encounter any problem. Suggestions and general comments most welcome.

Hope you’ll find it useful, I know I will!

Note: As usual, this project uses extensively the amazing amount of data gathered and made available by the EDRG on Jim Breen’s website.

Years ago, in a galaxy far far away, I once co-wrote a 20-page college paper on the study of quantum vortex and EPR condensation in superfluid 3He.

Our choice of topic was essentially guided by these insanely cool videos depicting blobs of superfluid helium making their way out of a container all by themselves, so lively you’d expect them to jump at the experimenters and start hatching eggs.

Unfortunately the equation part was much less exciting, leading us very naturally to cook up a few results through the tested and approved algorithm of “resolution through ultimate obfuscation”. This is the method where you fill half a page with crazy developments up to a point where it is quite painfully clear you are not getting anywhere, then pull some random bullshit argument out of the closest cavity at hand, and jumps to the result you were out to prove in the first place. I had a few incredibly talented teachers in this particular technical skill.

A basic example might be something like:

Step 1: 1 + 1 = 2
<=> Step 2: 4*∫0+π/2cos(x)dx + Σ .9(1/10)k = 2
<=> Step 3: – ∞ψ(x,y,z)dx * δ(1.2) + Σ ρe = δ φ#$@#$(*&&&(#!~%$%42[/mfn]

[…]

Step 99: By using a nabla decomposition, we then easily extract the following result:

<=> 1 + 1 = 1

etc.

As you can imagine, the final result, albeit quite impressive by its depth and the sort of topic covered, was very much sub-standard, scientifically speaking. We managed to blow enough smoke in the room during our lengthy presentation to get a tired nod from our supervisor, who knew a thing or two about resolution through ultimate obfuscation himself. Quite obviously, the perspective to skip lunch mattered more to him than the potential reasoning flaws in our work.

Yet, the blatantly poor level of research of this paper didn’t prevent it, through some bizarre quirk of fate, from littering the darker recesses of the Intarweb, whence it was regularly pulled by hopeful young students in science who would then proceed to track me down and contact me to inquire about the very interesting way we seemed to get to that result on page 14 and these incredibly useful properties exhibited by the results on page 17, not to mention, these potential applications, heretofore unheard of, discussed on page 18…

Of course, I felt bad for the poor guys and their crushed spirits when I had to tell them that, actually, black magic and distilled alcohol played a major role in the way these results had been obtained, but on the other hand, there was little I could do.

Yet I knew that karma would come and byte me nasty in the arse one day. And it did.

It probably sounded like a good idea to my esteemed professor to ask me to present this as a validating paper to my previous years of monkeying around.

One of the burning question of these past few months has been then: Will I be able, either through acting class or with personal help from the manes of Richard Feynman and Niels Bohr, to make a sufficiently convincing adaptation of that brilliant piece of work, sustaining a second, possibly more critical observation, come the end of June?

The answer, in short: No

I will be spending a very studious Summer, busy figuring out new and inventive ways to amend the laws of physics to fit my needs.

In other news, I’m boarding my flight for Nihonland tomorrow. Get the sake ready. loads thereof.