Dark. Huh?

I read Dark Is The New Light.that there was a major power outage (Dutch) in the southern portion of The Netherlands. Nu.nl has some weird pictures with the ‘Fair’ of Eindhoven just milling about like if there was no power outage. Obviously some people use generators. My advice in case the power goes out: just go to bed.

Excellent pictures of more demonstrations at Alfons’.

Big news: Earlier Paul “SuperWindowsSite” Thurrott criticized Microsoft’s Internet Explorer 7 development, meaning to say that there’s no real progress and that it looks like that the newest version might not even completely support any of the webstandards. Firefox and Opera are still topping the list. Earlier I said the following of the ‘imminent release of IE 7 Beta 1’:

I’m not impressed, for the simple matter that I do not believe that IE 7.0 is an actual upgrade if compared to Gecko, KHTML or the Opera engine (all three renderers have been rewritten from scratch to accommodate new CSS/HTML/XHTML standards).

Toshiba P100 SD3Somebody should tell Microsoft to rewrite IE. And open source the current codebase. For one browser it meant the start of a new life. Oh and the Slashdot discussion about this is rather tasty too.

OK. So your new Mac OSX now comes with Ruby On Rails, something that you could have downloaded before the announcement was made.

So, that’s it. Have at it!

Posted in Hyperlinks | Comments Off on Dark. Huh?

And Titan begat Callisto

Reformatting and reinstalling XP on a Toshiba (“Titan”) A40 was actually easier than expected:

  1. Back-up data.
  2. Reset computer to boot from CD-drive first (Reminder: the default is set to ‘HDD’). On your Toshiba laptop, just start the ConfigFree application and set that option from there.
  3. Put your recovery disk in the drive.
  4. Restart your computer and follow instructions. For your information, the recovery disk is actually using a combination of Windows 98 (boot) and Symantec Ghost.
  5. Done! (No need to fill out the XP personal registration information, since Toshiba’s reinstall seems to save and reuse the existing ‘licensing information’)

The hardest part was to find that darn Toshiba Recovery disk.

Posted in Truro NS | Comments Off on And Titan begat Callisto

Civilization, Part 11.

After many Talisman A Cappella moons of playing Civ 4 (all posts on xsamplex), I finally found out who sings that brilliant opening tune: It’s the Talisman a cappella, a group of a cappella1 singers and students operating from Stansford University. The song itself (‘Babu Yetu”) was arranged and composed by Christopher Tin and if you don’t own Civ 4 yourself, you can listen to the tune right from Tin’s site (It’s a slightly different arrangement from the game, though2). From the site itself, the following comment:

The lyrics are a Swahili adaptation of the Lord’s prayer: “Our Father, who art in heaven…” This version is the original ‘Composer’s Mix’, as remastered by award-winning engineer Casey Stone. It’s available as a free download: our only request is that you email Chris if you like the song, and want to hear more like it in upcoming album projects

Hell, yeah. Actually, I dare to say that that song makes the game.

1 A cappella: music is vocal music or singing without instrumental accompaniment, or a piece intended to be performed in this way.
2 Notice that 2 K Games uses a complete different arrangement of the very same song. (Add.: portion is part of the game’s introduction).

Update: I just found out that even in the latest version of WP there’s no way to edit or change attachments. I guess, I have to dive into SQL to correct the typo in that attachment linked in this posting. Or I should rectify this by writing a small plug-in. Oh: and for some freaking scary reason I tend to write attachment as attachement.

Posted in Civilization | Comments Off on Civilization, Part 11.

Good News!

If I say The Gimp in full glorythere’s good news, then there is good news: I have finally started to appreciate The Gimp! This is because there was always one reason why I pertinently refused to use it: plugins. Everytime the program opened, it used to reload all existing plugins over and over again. The default install comes with 163 of them. Minutes, no, hours, passed by while the program tried to load them all into memory.

OK, I’m overreacting. But apparently, after installing a newer version yesterday, the program only went through that ‘dreaded’ process at initial start-up. I was delighted to find out that this process was skipped during subsequent runs. As I said: now we’re getting somewhere. Where can I find these other plugins again you said?

And yes, you can also use your Photoshop Plugins.

Posted in Ordinateurs | 2 Comments

80, what?

Contrary to what I regularly do on Saturday mornings (about that later), I decided to listen to The Internationalist’s audio ‘travelcast’ (I don’t have a better name for this). Actually, the direct link is right here (Player is Windows Media Player, but the page itself includes a downloadable mp3 file).

It’s a long piece (running time is about 28 minutes), and I was surprised about the enthusiasm put in this recording. While I’m not particularly into podcasts, they obviously work if done by people who are enthusiastic and interested in specific topics, which in this case is obviously exploration of cultural differences. You can after all still do that in Europe, where borders are a just a drive away. That said, dishing out 80 Euros for a trip in a gondol in Venice sounds rather expensive to me too.

Sticking with the number ‘Eighty’: I admit, I scour YouTube for typical 80s clips of specific bands for no particular reason. It’s not that I do this ‘mindlessly’, which I’m apparently not: it’s that for some kind of reason, the site reminds me of the early days of the WWW, where every link brought you to a new destination (as opposed to the latest online ‘commercial endeavour’). But my god, who pays YouTube’s bandwidth bill.

Posted in Hyperlinks | 1 Comment

Random-izer

I forgot to mention about ‘Google Project Hosting’, Google’s latest service geared towards (as the name suggests) hosting projects. It was prominently featured in online newsmagazines this week

Google suggested that the site Nasty BBC something interfaceis not meant to compete with Sourceforge, since it provides only a minimal set of typical project management tools. That said, looking around, it appears that it’s actually popular. No surprise: hosting something on SourceForge is like going through twenty hoops in 1 second.

Have you tried BBC New’s new Javascript enabled tabs-something (see image)? For some kind of reason, I expected to be able to open them all at the same time, which you can’t. You can hide them all though.

It’s a slow day at Metafilter when the largest amount of comments are in today’s Britney Spears thread. Staying in the entertainment corner, I hear that ms. Cruz has seen Tom “Mr. Bartender” Cruise’s and Katie “Ms. Prosecutor” Holmes’ elusive baby Suri. Actually that part didn’t get my attention, it was the other part about some party on Sean “Dilly-dally” Combs yacht. Is this what they do all the time in Hollywood? As for Cruz, forget about getting an Oscar, now.

Oh and caterpillars. To put that into perspective, try watching those to music of The Cure.

Posted in Hyperlinks | Comments Off on Random-izer

So?

I was doing a quick trial update to move Alfons to the latest known WordPress version locally (on the server called Elsie). Yesterday, I had to download an older version of WordPress to see how my plug-in behaved (it behaves nicely, thank you for asking). Upgrading was a breeze: the only roadblock was actually to update his WordPress database information to fit my settings. This procedure I described in my posting called ‘How to install your online WordPress locally’. (As a reference, my thoughts on upgrading your WordPress the right way)

That said, I’ll be preparing mine probably in a couple of hours. That is right, after the messages.

Update at 9:31 PM: And it’s done.

Posted in Wordpress | Comments Off on So?

Databases

I updated the plug-in accordingly but want to issue a warning before you download it: I’m not sure which version of MySQL does or does not support ‘left outer joins’. I think versions > 3.23 should be able to do so. If not, you’re out of luck.

(I discussed outer joins here and here)

I am surprised (once again) about the database design in WordPress. Version 2.0 included ‘major changes’, like adding the comment count in the Posts table. If correctly designed (as in true ‘one-to-many’ relationship), you can just fish out the comment count using an outer join without any performance loss (after all, one-to-many relationships depend on identical keys in both tables, which are generally indexed anyways!). Here’s a reminder for people who start to look around the corner, or who are just dipping their toes in SQL: you do not treat a one-to-many relationship as a ‘one-to-one’ relationship. Trust me: you’ll miss out.

Posted in SQL, Wordpress | Comments Off on Databases

W10x!

Earlier, It's an active one!I uploaded ‘AHCommentCentral’, which is a plug-in that is supposed to help closing/opening comments and ping/trackbacks in your post sections. For now, you’ll find the initial release right over here. That is, for the daring people who experiment. It’s GPL-ed too, which is (only) natural for ‘non-compilable’ sources1.

I left out certain options (you’ll find references to them in the sources): the ‘auto close feature’ (see PrintAutoForm) and the Post Exceptions list (see call to get_options to retrieve data from the ‘ahi_cc_excluded_posts’ options field). In earlier versions, I actually had that ‘auto-close feature’ working, but I decided against adding it to the initial code.

There are couple of things I don’t like about creating WordPress plugins: Designing screens is obnoxious. Here’s a tip for you lazy programmers: grab the ‘wp-admin.css’ file dump it in a directory and then install NVU. Yes, NVU is buggy like crazy, but proofed to be quite the help while racing through all these HTML form elements (A couple of years I was thinking about creating a form-designer). We need XFORMS. Direly.

Another thing that is annoying (when creating these plug-ins) is that the current plug-in structure forces you to start globalizing’ certain variables. I won’t do a rant about globals. There are plenty of them. Global variables kill cats. Somehow, PHP forces programmers to write bad code. You know, poetry is one thing, but comparing PHP code with written literature is a joke. It’s like giving a kid 2 notes (A and B minor) and tell him or her to write 80 melody lines out of those notes. The problem is not in creating 80 of ’em. The problem is that the eighty tunes will always sound alike. But OK, I admit: PHP is not as bad as ASP (which is just a fancy name for Visual Basic for Applications [cough] and servers!).

As for the name: I think I was watching Comedy Central the other day and the name got stuck somehow in the nether regions of my brain. I considered renaming it to something absurd like, ‘W10x’ (which you pronounce as ‘What The Funk’) or better yet, ‘W09y’ (you pronounce that as that typical Eigthties greeting ‘See You Later, Aligator’). I’m actually dreaming of an ‘EP01BF’, which is the abbreviation for Peanut Buster Parfait. OK. Comment Central.

1 What’s the point of releasing ‘closed sourced’ PHP applications? [that’s a joke]

UPDATE: I just updated the plug-in.
UPDATE#2: Older versions of WordPress

Posted in Wordpress | Tagged | 11 Comments

W09

After Comments In Progressmany moons of bickering and looking around, I decided to take up the gloves and do it myself. Currently I’m using a slightly altered script that ‘automatically’ folds and closes comments after 10 days. This generally works good and has stopped the flow of sapm directed at the comments. However, I’m lacking precise control, that is, I’d like to have some posts to keep their comments available for a longer time.

You’ll find some of these plugins in the WordPress repository, but most of them make no sense and work rather not really good1.

I also noticed something funny in queries of existing plugins where in the code roundabout attempts are made to make a selection first and then pass the resultset to an ‘update’ statement: hey rookies, the following statement is ‘legal’ SQL:

update wp_posts
set ping_status = 'closed'
where post_date < DATE_ADD( DATE_SUB(CURDATE(), INTERVAL 4 month), INTERVAL 1 DAY);

On the other hand, using subselects in MySQL should generally be avoided. There's no real consensus around which MySQL version supports subselects. 4.xx maybe. 3.23 maybe. Who knows!

On a related note, I see that there's a new WP version out.

1 That is an understatement.

Posted in SQL, Wordpress | 2 Comments

The 25 list of computer stuff

In preparation of the 25th anniversary of the ‘Beige Box’, eWeek lists the 25 most influential products of the last 25 years (the list starts here). Number one is (naturally) the IBM PC.

I can find myself in most of the products: for example, I agree that Linux should be in the Top 10, but not listing either OS/2 or Windows 3.0 (both) in the top 25 is a miss. We all know how Microsoft became the big company after it severed its ties with IBM.

While Ashton-Tate played a remarkable role in the transformation of ‘uncategorized data’ to ‘logical’ filestructures, any of the early SQL (or rather relational databases) should have been listed too.

The ‘Intel i386’ processor is the only processor to make the 25-list, which does no honour to that other revolutionary chip, the Motorola 68000.

Posted in Hyperlinks, Ordinateurs | Comments Off on The 25 list of computer stuff

Hello Old World?

This is a weird read: The Royal Shell group wants to expand the production of oil (Dutch) at the Athabasca oilsands project (slow site alert). The article mentions that the company admits that the costs of personel and equipment are rising sharply, but that it expects the project to be profitable. The Oilsands project is mentioned in the quarterly statement (which you can find online too). Oh: honourable mention for:

The Canadian tax revisions also resulted in an additional income attributable to Minority interests in the second quarter 2006 of $41 million.

You’re welcome.

Posted in We-reflect-news | Comments Off on Hello Old World?

So you think you can dance?

And for some reason, I keep thinking of Chris Elliot’s ‘Get A Life’ dance. However, I saw scenes of Fox’s ‘So You Think You Can Dance’. It’s obnoxious, but I have no doubt that it attracts viewers, which is (of course) the main point. Other things I noticed: the show has an English host (who really needs to eat more), the judges are generally way too nice and the crowd appears to be full of young ones. If you have Busta Rhymes coming on a show and you don’t really like him, you are probably not considered part of the targeted age group.

That said, I see a bright future for a show called ‘So You Want To Be A Hero?’. That is a show where people rescue other people and where the panel of judges consists of Bruce “Asteroid” Willis, Arnold “True Lies” Schwarzenegger and Katie “Bubble Gum”1 Couric.

1 I made that one up.

Posted in Hyperlinks | Comments Off on So you think you can dance?