Back to KDE 3.5.1

Two nights ago I reverted to KDE 3.5.1, as the UI was getting less and less responsive.

Krunner, Kate, Kdesvn for some reason felt slower than when I first installed KDE 4.1. There was also a silly issue with Kate (my primary text editor) which didn’t help.

Maybe it was the hardware, as my laptop was bought in Aug 2006, I’m not sure. But now I know why Lenny was released with KDE 3.x.y, it just feels more… complete.

Katapult-like functionality on KDE4.1

OK, this post is more about recovering the Katapult functionality that I love. In fact, I started using KDE because of Katapult! But I digress.

In KDE4, which I recently installed there is a program called KRunner. It works exactly like Katapult, but the shortcut key is Alt + F2. This is a VERY poor shortcut; it’s a stretch to hit the Alt and F2 button at the same time. Previously I used the excellent Katapult (Alt + Space) as a launcher/calculator.

To change the shortcut:

K -> System Settings -> Keyboard & Mouse -> Keyboard Shortcuts -> KDE Component (Run Command Interface) -> Run Command.

Click Custom, and then press Alt + Space, or whatever shortcut combination you want. Click “Apply”. Voila.

Please also note that you need to prefix an “=” when typing equations, unlike Katapult; e.g.

=60*24*365

instead of

60*24*365

KDE 4

Actually it’s KDE 4.1; apparently this is more stable that the point release, that’s why I waited as long as I did. For more instructions, see here. You probably need to upgrade to Lenny first — I didn’t check as I’m already on Lenny.

Well, late to upgrade (or update) as usual, but the wait (to upgrade) to KDE 4 was well worth it, as there was only one small dependency issue which didn’t affect the boot into KDE 4.

Way to go! Text seem to render much prettier now, which is a good thing!

:)

Gold farming

Obviously I took my time to post this one, since the Olympics were in August, but I couldn’t resist the humor. Astute watchers will notice the links between gold farming in World of Warcraft, and Michael Phelps and his exploits in the 2008 Beijing Summer Olympics.

gold-farming

Juno (2007)

Caught this yesterday, by accident. We’d purchased tickets for the (crappy) movie The Spirit, but it was unbearable to watch for more than 15 minutes. I foresee it will be one of the crappiest movies I watch in 2009!

So we sneaked into a different cinema, and lo and behold, Juno was just about started.

Juno MacGuff (played by Ellen Page) is quirky, off-beat and entirely non-mainstream. It’s got really witty dialogue, too. Later, I found out that it actually won an Oscar for “Best Writing”. Nice.

I also loved practically the entire soundtrack. Now that’s rare, and a pleasant surprise.

Back to CI

Yes, as above.

I’ve taken on a new position at a new company, and my lead developer has decided that we go with CodeIgniter, so I will switch back to this.

Wish me luck!

WordPress 2.7 Beta 3

It’s done!

For web developers out there, imo it’s much easier to call ’svn update’ than to navigate the new admin interface (smooth as it may be).

See here for more instructions.

Singapore PHP User Group Meetup @ Oracle

Attended this yesterday. I was terribly late, but Blair Layton did give a good presentation on Oracle technologies. I do not have much practical experience with websites that require hardware load balancing, a hundred web/database servers so I can’t comment on what 11g brings to the table, but I’ll certain explore the developer DVD they so kindly provided.

Also demo-ed was the Oracle Application Express, which is a step-by-step (simple) web application builder. From a CSV file, a CSS-styled, one-table application with list(sortable)/add/edit/delete functionality was built in a matter of minutes. That’s pretty impressive.

If you’d like to attend more of such events, do check out: blog.php.com.sg. The presentation was videoed, so the slides/video should be up on the website fairly quickly.

Terrible F1 accident

Received this in the email today. As you know, Singapore is hosting the races this weekend, so I got worried, for nought!

f1-accident

mod_rewrite primer

I’ve had to write a number of .htaccess files over the past week or so. My uses of mod_rewrite are simple enough, but I thought to post here since there in case anybody just wants to accomplish something quickly. Ask your server administrator to set the “AllowOverride” property to “FileInfo” or “All”, so as to enable .htaccess overrides.

<IfModule mod_rewrite.c>
Permanent (301) redirect everything:
RewriteEngine On
RewriteRule ^(.*)$ http://waynekhan.com/v2/ [R=301,L]
</IfModule mod_rewrite.c>

Permanent (301) redirect some_page.htm (note to prefix your URL with “^/” and escape fullstops (.) with “\”):

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/some_page\.htm
RewriteRule ^(.*)$ http://waynekhan.com/v2/some/page [R=301,L]
</IfModule mod_rewrite.c>

That’s all for now, folks!

Return top