Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Beatnik (493)

Beatnik
  (email not shown publicly)
http://www.ldl48.org/

A 29 year old belgian who likes Mountain Dew, Girl Scout Cookies, Tim Hortons French Vanilla Flavoured Cappucinno, Belgian beer, Belgian chocolate, Belgian women, Magners Cider, chocolate chipped cookies and Perl. Likes snowboarding, snorkling, sailing and silence. Bach can really cheer him up! He still misses his dog.

Project Daddy of Spine [sf.net], a mod_perl based CMS.

In his superhero time (8.30 AM to 5.30 PM), he works on world peace.

Journal of Beatnik (493)

Sunday February 24, 2008
06:53 AM

Cloverfield

I persuaded my girlfriend into going to see Cloverfield. I liked it in a strange way. It resembles the documentary style of The Blair Witch Project (but obviously not so grainy and black/white). It's about some kind of monster (DUH) and about some of it's offspring. It's also a tale about love (*SNIFF*). (Un)surprisingly the ending is left open so run to the booking agent and place down your bets for a couple of sequels!
Saturday February 23, 2008
07:44 PM

Fun with Mac: abusing remote

Letting a guy believe that he can clap and shout to control his mac here.
Wednesday February 20, 2008
05:35 PM

Database challenge: upgrading data

Here's a tricky database challenge: Suppose you have a database filled with data. It's pretty much data in it's purest form. Some tables have unique key fields, some don't (but combined unique keys can be made). You provided the original schema and data dump, no changes are made to the schema, just to the data. Suppose you want to update some of the data in the database, leaving other data untouched (for instance, data that the user has modified), what's a good approach? Criteria: Low dependencies (obviously, you don't want to parse SQL.. although pulling the original and the new data from the database is possible). Optionally, what if you didn't have one older version of data but multiple? Suppose you want to allow certain updates to be made conditionally (allow a user to change a record if really really really needed).

Approach I took so far: generate checksum of each record and, together with unique identifier per record per table, match the old with the new data. Use a marker to distinguish critical (upgradeable) to non-critical (non-upgradeable / user-modified data). Provide user interaction to upgrade / generate customized data dumps.

Any thoughts?
Sunday February 17, 2008
03:04 PM

Securing Mac OS X

Tax dollars well spent, one of the agences is listing security guides Tiger and Panther (link through Apple Mailing lists). Leopard is not on there yet.
02:49 PM

Dew

Seems like there is a use for those Mountain Dew cans and empty cardboard boxes that I have in my car... Since they're quite impossible to come by in Belgium, I'm sure I'll be the only one running around in green cardboard and tin :)
Friday February 15, 2008
06:54 PM

Cisco hardware simulator

One of the guys at work showed me something called Packet Tracer (part of the Cisco Networking Academy packages). It's a bit similat to GNS3 but a lot more advanced (full visual view of device, more devices, less memory hog, drag-drop components, no IOS images needed,...). Unfortunately, it doesn't appear to be available for free.
06:48 PM

Leopard + mod_perl: solution (kinda)

No summary of the problem.. Just a solution that worked for me: downgrade to Apache 1.3.x. My final attempt with Apache2 ended with Apache2::Request::Cookie refused to compile. For future reference:

[Fri Feb 01 00:16:10 2008] [error] [client 127.0.0.1] Can't locate auto/Apache2/Request/cookies.al in @INC (@INC contains: /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Libr
ary/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/
5.8.8 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 . /usr) at /Library/Perl/5.8.8/SPINE/Handler/Content.pm line 55\n

06:31 PM

WTF movie #1463742

Crank is another Jason Statham movie. Lots of really cool stunts, crazy english story line and a non-Hollywood-ish ending. Go rent!
06:27 PM

Duplex pictures

We finally took some pictures of the duplex rental they're building, published here. Updates will follow.
Wednesday February 06, 2008
02:35 PM

Bootcamp rants: keyboard layout

For some reason, my Bootcamp installation is using a different US keyboard layout that Leopard. It took me a while to even FIND the keyboard layout settings in XP again. Apple lists some tools on this KB page, partly involving some tool you can download from Microsoft to remap some keys. For now, charmap will have to do to type the ~ :)