Jon Dowland: on hold
I've been on hold to my mobile
phone provider for over an hour. However, in that time, I've take a massive
bite out of my miscellaneous TODO list. That feels good!
I've been on hold to my mobile
phone provider for over an hour. However, in that time, I've take a massive
bite out of my miscellaneous TODO list. That feels good!
Having stupidly, and very painfully, ruptured a ligament in my foot (while getting off a bus. Not drunk, no sports whatsoever.) I was less mobile than I wished to be and could finally make some time to watch Nikita by Luc Besson (I've not seen much he was involved in; L on was one of the exceptions which I like very much. I've got the DVD of The Fifth Element right here, so no need to chastise me that I haven't seen that one yet.)
But back to Nikita: you may know that I like strange movies for some values of strange. Nikita obediently starts off in a very dark mood. And then suddenly turns into quite a normal secret service thriller with a romance element. I liked both parts of the movie very much, but it took me a bit by surprise at first.
I also like fun stuff, and so I've watched my first three episodes (9 to 11) of Kottan ermittelt, wonderfully silly Austrian whodunnits from the late 70s/early 80s. If you don't speak german (and understand it well, even I have difficulties understanding some of the Viennese dialect), you just don't know what you're missing. Or if it is translated (don't know): probably like watching Bienvenue chez les Ch'tis in German. Which I did, because my french is not that good, but I'll have to watch it again en fran ais, just to get the Authentic Expierence of this wonderful movie.
Update: Speaking of a foot, and of movies: I don't think I've mentioned My Left Foot on my blog so far. The biography of Christy Brown, a cripple who grows up in a poor Irish working class family to finally become a famous artist. I found it just a bit corny (hmm. Not sure if that's the right word here, shows up for kitsch in any case), but still very impressive.
Thanks to go to ana for her howto.
Why is it so hard for non-programmers to understand mutex locks?
No I am not asking non-programmers to understand programming at all. But concepts that we use in programming that came from real-life in the first place? Come on Programmers learned from real-life, not the other way around!
Let me explain: at the hospital, after a not so clever renovation, we ended up with an employee restroom that is far from work place (in fact, almost in another department). Most of the times it is occupied So it takes a trip to the restroom just to learn that it cannot be used at that moment! In a busy morning, one of those trips is just what one can do!
As a programmer I suggested a mutex lock: change the restroom door lock and make only one copy of the key, that should be kept in a common place and returned after being used. If you want to use the restroom and it s occupied, just learning the key is not there is enough to save a useless trip.
Come on that is not a hard concept! As I said, we, programmers, learned it from real-life, in settings just as the one I described above!
Well, I just got the key ( acquired the lock , in programmer speech) and went to the restroom. When I unlocked the door I was surprised by someone already using it! How embarassing! Someone had the smart idea of making a copy of the key! What part of the mutex concept did people not understand?
Luckily, most computational mutex algorithms prevent lock cloning ... :-)
Yesterday, I had some time to debug ipcfg some more. The main blocker
for me to upload it to unstable was the fact that I could not get WPA
security to work; therefore, I could not use it myself. In the interest
of "eat your own dogfood", I did not feel that uploading some
experimental code to Debian that I'm not using myself is a good
idea.
That problem is now fixed, albeit through something of a hack, one
that I hope will not be necessary forever: I decided to write a plugin
to run ifupdown extension scripts (found in /etc/network/if-*.d). It
does require some set-up, and there are still some severe issues; but as
of now, I am using ipcfg rather than ifupdown on my laptop.
Those interested in trying it out can either wait for ftp-master to
ack the upload and then install from unstable, or just fetch it from the
git repository.
I've long been a fan of Danga's Memcached, back in 2005 I wrote about it for the first time.
Recently I've been looking at the persistant version, memcachedb which is essentially a Berkeley Database using the memcached protocol as the transport layer. This allows you to get persistance for free, and means you can rely upon the content being present, rather than just hoping it will be there as an opportunistic cache.
However in this brave new world of nosql I've been mulling over different options for new projects / new toys. I have to say that memcachedb lost out for me, and that Redis is my preferred flavour of new hot.
Redis has a rich API allowing you to store interesting datatypes such as lists, and it allows both replication and distribution (neither of which I need just yet, but both are useful to have as options for the future).
The documentation is great including a well-documented Twitter clone, and the facilities that are available are a step up from memcached, albeit obvious extensions which you'd expect if you were doing interesting things.
The redis-server package is already part of Debian GNU/Linux, and creating .deb package of the Redis module was trivial.
So now that I'm familiar with it, what to use it for? Well I think the first thing will be the new 2010 Valentines site.
Over the years I've hosted several Livejournal Valentine sites, and this year is no different. (Why? I like matching people, and I like social stuff. This is why I did ctrl-alt-delete in the past, even if that failed it was a great learning experience and I'd do it again if I had the time/patience/more optimism).
So far the site only has a couple of users but I fully expect it to ramp up considerably before the magical day (ha!). In the past I've limited the lifetime of the site(s) from Feb 1st to Feb 14th and still managed to achieve 5000+ users. Right now I'm using flat files for storage specifically to avoid database-load issues (which caused me considerable pain one year).
I suspect the backend will be Redis-based in the very very near future, but in the meantime if you're open to amusement and use Livejournal then feel free to poke at it: ljvalentine.com.
ObFilm: Indiana Jones and the Temple of Doom
Here, therefore, huge and mighty warrior though you be, here shall you die. - Homer (The Iliad)And with that formidable quote, I begin my review of The Iliad. I shall not exhaust you with a rehashing of the plot; that you can find on Wikipedia. Nor shall I be spending page upon page of analyzing the beautiful imagery, the implications of our understanding of fate and destiny, or all the other things that compel English majors to write page after page on the topic. Nor even shall I try to decipher whether it is a piece of history or a piece of legend. Rather, I intend to talk about why I read it: it s a really good story.
Sing to me, O goddess Muse, the wrath of Achilles, son of Peleus, which brought countless ills upon the Acheans.As I d be reading it, I d think to myself: Ah ha! Now here we finally have a section of the story that doesn t speak to modern life. Perhaps it was a section the fear of being enslaved or butchered by conquerors, or about pride leading both sides to fight a war they need not have, or a graphic description of a spear going clear through someone s head or neck. And then, I d have to sit and think. Are we really so far removed from that? Here we are, in a supposedly civilized world. We use remotely-operated drones to drop bombs on people, and think it naught but regrettable collateral damage when the brains and intestines of dozens of innocent victims are scattered about, killing them, all for the chance of killing one enemy. But we aren t the only ones to blame; we live in a world in which killing the innocent is often the goal. People fly airplanes into skyscrapers, drop atomic weapons to flatten entire cities, and kill noncombatants in terrible numbers. And for what? A little power, some prestige, some riches, some vengeance, some wounded pride? Slavery is not dead, either. We that can happily afford Internet access most likely abhor the thought. What, though, can we make of the fact that people are starving in this world in record numbers? That our actions may literally wipe some nations off the map? Are those people as free as we are? Do our actions repress them? I suspect you can t read the Iliad without being at least a bit introspective.
Fear, O Achilles, the wrath of heaven; think on your own father and have compassion upon me, who am the more pitiableOne of the great things about reading the Iliad is that I can learn about the culture of the ancient civilizations. Now, of course, one can read about this in history books and Wikipedia. But reading some dry sentence is different from reading a powerful story written by and for them. I know that the Iliad isn t exactly a work of history, but it sure shows what made people tick: their religion, their morals, their behavior, and what they valued. I feel that I finally have some sort of insight into their society, and I am glad of it.
The day that robs a child of his parents severs him from his own kind; his head is bowed, his cheeks are wet with tears, and he will go about destitute among the friends of his father, plucking one by the cloak and another by the shirt. Some one or other of these may so far pity him as to hold the cup for a moment towards him and let him moisten his lips, but he must not drink enough to wet the roof of his mouth; then one whose parents are alive will drive him from the table with blows and angry words.There are gory battle scenes in the Iliad, but then there are also heart-wrenching tender moments: when Hector leaves his wife to go fight, for instance, and worries about the future of his child if he should die. That s not to say I found the entire story riveting. I would have liked it to be 1/3 shorter. The battle just dragged on and on. And yet, I will grant that there was some purpose served by that: it fatigued me as a reader, which perhaps gave me a small sense of the fatigue felt by the participants in the story.
Why, pray, must the Argives needs fight the Trojans? What made the son of Atreus gather the host and bring them?A question that was never answered, for either side: why are we so foolish that we must go to war? One tragedy among many is that neither side got smart about it until way too late, if ever they did at all. I read The Illiad in the Butler translation, which overall I liked. Some of these quotes, however, use the Lattimore one. This completes the first item on my 2010 reading list. I leave you with this powerful hope for the future, written almost three thousand years ago. Despite my criticisms above, we have made a lot of progress, haven t we? What a beautiful ideal it is, and what a long ways we have yet to walk.
I wish that strife would vanish away from among gods and mortals, and gall, which makes a man grow angry for all his great mind, that gall of anger that swarms like smoke inside of a man s heart and becomes a thing sweeter to him by far than the dripping of honey.Sing to me, O goddess, the anger of Achilles, that one day his story may speak less to our hearts, for then will we have outgrown it.
A clear announcement went out in plenty of time and the meeting agenda is already posted for Wednesday s SPI board IRC meeting which will be at 2100 UTC (an hour later than recently).
As I write this, it s a pretty lean meeting, though I guess that s understandable when the run-up included holidays for most people.
What do you think SPI s new year resolutions should be?
That looks exactly like what I used to do in SimCity. I'd
use the F-U-N-D-S cheat at the start to max out my money, then build
my little empire with neat roads and school and harbours and whatnot
they've even got an airport! Then I'd press "go" and people
would slowly move in to the residential areas, one house on one block
at a time.
I guess poor old Salton City never made it past "turtle speed"!
I have to admit, I was a bit lazy in my RC bug squashing efforts during the
last two weeks. anyway, a short summary:
I find myself opening a shell and typing "man ascii" more than I would like.
More recently, I've found myself looking (with no success) for a equivalent
web page that isn't ugly -- sometimes a browser tab is just more convenient.
Yesterday, I decided to stop searching and just write one myself: man
ascii. (I was a bit surprised that this domain, and all the variants
of it Joker came up with, were available!) I think it gives me everything
I got out of ascii(7), but I would love any bug reports.
Five out of six experts agree:

(last photo is not current, we have not yet had a clear day to take a picture of our Ajusco yet this year)
How does it feel? Well, I live in Coyoac n, in the flat area of the valley. Remember that houses here are not built to endure extreme temperatures (and this week is what we call extreme, of course ;-) ). According to Yahoo! Weather:
And while the difference appears to be small, what about Magdalena Contreras, ~200m higher, where many people dear to me live (and have even a window pending to be installed)?
People say this cold wave is the strongest in 120 years, since records are being taken. Every year people get excited, expecting that this time we will get snow. This has only happened once in at least a century, in 1966 AFAIR. I do not think this year to be atypical.
Still, I have a reputation for being insensible to cold weather. Everybody wears heavy jackets while I still go to work with my usual long-sleeved shirt and that's it. But the last two days, I have been using jacket and scarf...
But, of course, I don't look as gratious or cute as my cats :-
Here s stuff that I d like to do this year, more or less by decreasing order of importance:
Next.