Categories
Software and Programming

Programming languages and their relationship styles

Programming languages and their relationship styles:

Smalltalk won’t meet you outside Smalltalk’s apartment…. assembler just lies there… Telling people you’re happy with FORTRAN is like telling people you’ll be happy taking care of your cats for the rest of your life and don’t really need another person.

The comments have some more good ones, mostly by :

C likes to give cops the finger and grin and speed away. Mention that you’d like something, and C will pretend to ignore you; the next day, C will bring you one, no questions asked, and toss it to you with a you-know-you-want-me smirk that makes your heart race. Where did C get it? “It fell off a truck,” C says, putting away the boltcutters. You start to feel like C doesn’t know the meaning of “private” or “protected”: what C wants, C takes.

And:

Perl6: Like Perl, but after major body-alteration surgery, just to make you happy. Perl6’s body certainly looks younger and firmer, if you can overlook the frankensteinian scar tissue. Moreover, there are certain… enhancements. All of perl6’s joints bend both ways; all of perl6’s body parts are fully reconfigurable any way you like them. If your friends could see what you do with Perl6, they’d learn more about your taste than you necessarily want to make public.

Categories
Software and Programming

javascript tabs

I spent some time last week making a “tabs” UI with javascript/CSS, what Yahoo’s developer site calls “Module Tabs“, because they don’t navigate to other pages but rather show/hide parts of the existing page. What I came up with is this (here’s the javascript file and here’s the CSS). Of course, I only did it because I didn’t find an existing hack I could easily adapt. Then, tonight I read a blog post that links to two different implementations. Bah.

Categories
Roleplaying

DnD Characters

I set off to find something I could use to run D&D for my nephews. Somehow, looking for character sheets I found that someone had scanned his old character sheets, and someone else had helpfully written character sheets for the democratic presidential candidates (obviously dated, but funny).

I did find this elaborate but apparently sound Javascript character sheet generator, except it doesn’t let you pick spells. For spells, feats and monsters, the The Hypertext d20 SRD (v3.5 d20 System Reference Document) is the place to go. A totally awesome site.
Except, if you want to give out XP, you need the actual rulebooks, because that’s the one missing component they left out of “open gaming license” D&D.

Categories
Blather Software and Programming

OSDC

Bits from the OSDC:
Didn’t get to see much of day one – Larry Wall’s first talk (familar to what you find online, except here you can hear the intonation when he snarks about other languages), a laboured (but educational) talk about GNU Arch (supposedly about version control systems in general, but not really), and the begining of a promising talk about Darcs. Then I had to rush off and take the most curcuitous route possible to Rehovot, via Kfar Natar and Even Yehuda. Luckily, the meeting I was hurrying to was actually 15:30, not 13:30. Urf.
Day two – saw Audrey Tang’s Pugs talk, followed by the lightning talks (including two more by Audrey; all on the web, but well delivered). The most impressive was Kobi Zamir’s talk on HOCR: he seemed so disorganized and confused I felt sorry for him, and then he opens his GUI program, and BAM! converts a scanned image of a poem into Hebrew text, complete with nikud. The crowd applauded. Asaf gave a talk on the open problems in building a backend for project Ben Yehuda, which seemed to garner some interest. I opined that a five minute talk is just enough time to present either a trivial solution or an interesting problem.
Saw the second half of a good talk on mod_perl’s guts, where the presenter amused me by saying that a certain concept (“bucket brigade”, the Apache API metaphor for output filter processing) is also commonly used in “Brick and Mortar” applications – by which he meant “in Physical Reality”.
Next was an interesting talk on AGI, an API for working with Asterisk, which is an open source package that lets you build automated phone applications, like “For the Hebrew menu, dial 1. If you know your party’s extension, you may dial it at any time. ” Apparently, you can do this all with PHP scripts.
In the break I joined hamakor, which seem to offer all the fun of Amuta politics, but implemented as Open Source.
A guy from Yahoo gave two solid talks, first on Ruby and then on Rails; when asked if Yahoo use Ruby, he wistfuly(?) said it was not really feasible for production systems, and was best for internal projects. He did mention that programming with Ruby’s GTK bindings is pleasant, which encouraged me to download Yet Another Widget Set I’ll Probably Never Touch. Oh, and apparently Ruby doesn’t have destructors (you can bend it’s arm to fake something like them, but you should probably use blocks with yield instead for resource management.
Then there was another somewhat low-energy Perl 6 talk, which I cut out out of in order to rush home and be stood up by a plumber.
Also got chewed out by my boss for skipping out on work for three straight days. Well, bollocks. Tomorrow, more Wall, Catalyst, and maybe Ofer Brandes and the quest for the holy grail of programming by visual logic modeling. Or the plumber.

Categories
Oddities

The Evolution of Blondinity

Cavegirls were first blondes to have fun – the Sunday Times talks about research into the origins of blonde hair and blue eyes:

“Human hair and eye colour are unusually diverse in northern and eastern Europe (and their) origin over a short span of evolutionary time indicates some kind of selection,” says the study by Peter Frost, a Canadian anthropologist. Frost adds that the high death rate among male hunters “increased the pressures of sexual selection on early European women, one possible outcome being an unusual complex of colour traits.”

Frost’s theory is also backed up by a separate scientific analysis of north European genes carried out at three Japanese universities, which has isolated the date of the genetic mutation that resulted in blond hair to about 11,000 years ago.
The hair colour gene MC1R has at least seven variants in Europe and the continent has an unusually wide range of hair and eye shades. In the rest of the world, dark hair and eyes are overwhelmingly dominant.

Then, after comments from blonde celebs, they note:

A study by the World Health Organisation found that natural blonds are likely to be extinct within 200 years because there are too few people carrying the blond gene. According to the WHO study, the last natural blond is likely to be born in Finland during 2202.