Quicksearch |
Thursday, August 14. 2008
Perl hash tree helper Posted by Filip Van Raemdonck
in programming at
19:59
Comments (0) Trackbacks (0) Perl hash tree helper
Last week I needed a way of converting a two-dimensional array, in perl, into a tree-like datastructure.
While seemingly trivial, the convoluted use of references when passing around arrays and hashes between perl function calls -- recursive calls, in this case -- made this a mind-boggling exercise to me. (the fact that I hadn't seriously used perl in the last eight years might have had part in that, too) Below the jump is my implementation, debugging info left in and all. If it's useful for someone, that's great; if not, ... well, except for my mental sanity no harm was done in writing this, either :) Continue reading "Perl hash tree helper" Sunday, April 6. 2008I'm junior now
Learning that the Linux Professional Institute offered a chance for taking exams at a reduced price during this year's FOSDEM, I decided to take a shot at the level 1 exams.
I was fairly occupied in the period before FOSDEM when I took that decision, but given that I've been using Linux heavily for over a decade, and after reviewing the objectives, I figured that I should be able to pass it without specific preparation. Yesterday I received an email that indeed I did, so now I am officially a “Junior level Linux professional”. I guess I should take a look at getting LPIC-2 sometime. Continue reading "I'm junior now" Friday, April 4. 2008Back
I've got internet at home again since yesterday. It sure makes life easier...
Thursday, March 27. 2008Disconnected
Last week has been a stressful one, for reasons I'll come back on later.
This week had started better, but since yesterday my Internet connection stopped working[1] (for the same reasons). It isn't when until such thing happens that you realize how dependent you've really become on it, even for simple matters as looking up contact information. [1] So this and the previous post were written from my with my parents-in-law. Wednesday, March 26. 2008Lilo LVM fixed root
One annoyance with the lilo bootloader that I've ran into a few times recently, is that it apparently turns any
root configuration arguments into a device number. Which is then passed to the kernel at boot.So if the kernel decides to assign a different device number to the supposed root device, your system may no longer boot. Yesterday I once again ran into this: when I added an additional disk to a system, the LVM volumes which were on that new disk got assigned device numbers before the existing system LVM volumes. Giving the problem a little thought, I realized that the solution — though silly — is really simple: add an “ append="root=/dev/yournode"” directive to lilo.conf, and this boot-time argument will always override the root device set by lilo.No more changing root devices for me… Tuesday, March 18. 2008Clueless
I'm a bit puzzled why feedburner would be listing a blog search for Sylvia Saint as a reader of my feed earlier this week. Especially as I can't readily find my blog or feed in the search results.
(I guess this post could start bringing in search results) Apparently she is a porn star (Wikipedia), and a prototype one at that: blonde and busty. Ah, the things one can learn through reviewing website statistics... Sunday, March 16. 2008Blog migration
For a while now I had been planning to move this blog a different server and URL; a URL that I would have full control over instead of the user directory it was deployed in.
I also had been longing for a different blog platform some time. While the primary reason for choosing Blosxom.PHP, that it did not depend on a database server, still held, I also had gotten tired of having to dig into it's code (usually in several places) for things that in my opinion should not require having to make changes all over the place. So when the ageing server that held the old blog had temporary IO problems last weekend, I considered the time ready for making the move. Continue reading "Blog migration" Wednesday, March 12. 2008
Solve problems, not symptoms Posted by Filip Van Raemdonck
in health at
21:35
Comments (3) Trackbacks (0) Solve problems, not symptoms
Today I read in an online news source that the Royal National Institute for Deaf People is advising people to wear earplugs in clubs and asking for more stylish earplugs to be designed so young people would want to wear them.
This looks like a backwards way of dealing with the problem; why not campain to have the clubs' (and pubs, and concerts) sound level reduced so people don't have to wear earplugs? When gardening, you also try to eradicate the weeds' roots... Wednesday, March 12. 2008
Debian firewire support Posted by Filip Van Raemdonck
in Debian at
07:07
Comments (0) Trackbacks (0) Debian firewire support
Christian, you forgot to mention the Linux kernel, where a member of the kernel team deliberately broke hardware support.
Thanks to Holger for these links, he has listed several more. I disagree with the suggestion that shipping the old firewire stack in the linux-extra-modules package is sufficient workaround; unless this is not prohibiting it from being included in the installer to support ethernet over firewire? (though in such case it will certainly have implications due to the fact that this package should be pulled in when the installer used eth1394) So Adrian, you too may want to reconsider if Debian really does have less compatibility regressions than other distributions. Thursday, March 6. 2008Bye bike...
Or, as it's said, history repeats itself. Today I sold my motorcycle (wait for the “blade” photograph to pass by).
Again it wasn't really old, just 4 years; but it too had over 54000 kilometres; time again to release it. I didn't quite get the money of it that I wished for, but then again, for a bike with that mileage you can't really be picky about what people pay for it. And in hindsight the fireblade seems to have been a bad choice; there's a lot of them on sale at least over here right now. Note to self: try to get a less popular bike next time, it pays off when trying to sell it. Actually I've already made the choice for a new bike (though I do not know if my choice follows the rule I just laid out). But it's been a hard choice; which is a story in itself. And that story is for another time. Again, I must say it feels strange. While this wasn't the first bike I sold off, I feel a little melancholious about it. I guess that's just part of selling any bike. Assuming you've build a bond with the machine. But then again, any real motor rider would build such bond. IMHO. |
about this blogThis weblog contains the ramblings of Filip Van Raemdonck. He is a male system administrator in his early thirties, happily married, and happens to be passionate about fast motorcycles and photography.
Syndicate This BlogArchives |
Comments
Thu, 31.12.2009 14:15 CET
They had a fox the other day, too. Funny, indeed.
Thu, 31.12.2009 03:07 CET
A better example, from a genui ne Windows ad campaign, as I s aw personally at Heathrow late this year: http://blogs [...]
Sat, 12.12.2009 18:40 CET
and you are happy with the lap top? you don't want to resell ? :) can't find anything as cheap on kapaza or ebay [...]
Sat, 12.12.2009 18:18 CET
It came with the 5500mAh batte ry.
Sat, 12.12.2009 12:39 CET
this laptop was sold out in 2 days time now they sell a dua l core atom of packard bell fo r 285euro
Thu, 10.12.2009 21:08 CET
Which type of battery does it contain? 4400mah small6 5500 mah standard or 6600mah Big
Sat, 05.12.2009 16:57 CET
The Celeron is probably has be tter performance anyway, but w orse battery life. The Atom is really neutered. I'd [...]
Wed, 28.10.2009 20:41 CET
The lack of checking for a cla shing UUID/name when defining networks is a clear bug in lib virt. We wrote some test [...]
Fri, 16.10.2009 01:45 CEST
This is sunlight shining throu gh the cracks in the Transform atorhus building of WesterGasF abriek in Amsterdam, isn't it?
Tue, 13.10.2009 18:23 CEST
What the beep is this? Damn beautiful picture though.