One of the most useful  extensions to PHP is suPHP which allows any PHP script to be executed under its owning user privileges. This helps in administering sites which need write access to their files (like, for example, Joomla! does for its tmp and log directories) without the need for an FTP layer or potentially dangerous permissions tweaking. Let's see how you can implement this functionality on a home brew server based on Mandriva Linux 2008.1

It's been a long time since ntfs-3g has been the de facto NTFS driver option for leading Linux distributions. This allows for very convenient interoperability with a variety of external storage media with great capacities, like external hard disk drives. One of the problems I faced during the last year of using it, is that when I used KDE's automount feature (actually, the media:/ kioslave) I got boxes in the filenames instead of Greek or other national characters. The solution turned out to be simple in concept, yet obscure in application.

Having a Windows Mobile powered cell phone has its advantages over a "regular" cell phone. The larger screen, the wealth of added value applications and the power of almost infinite user experience customization being the spearhead of these devices, it came naturally to me wanting to personalize every aspect of the user interface. In this post I'll present some user interface customizations I dug up from the web. Some of them are only applicable to HTC devices (and therefore marked with "HTC" on the title), others apply to any device powered by Windows Mobile 6 Professional or Classic.

Most of these tricks require messing with the registry. This is potentially risky and could get your device stuck; in this case, you'd have to hard reset it to get it working again. Take a full backup of your device data before trying any of these tricks! If you need a PocketPC registry editor, here's one which is free. For some tricks, you'll need to replace files in the Windows folder, which isn't possible with the included File Explorer. In this case you can use the Total Commander CE program, which is also free.

I have also stumbled upon a very comprehensive blog on Pocket PC tips (some of the entries are in Greek, though), a great source of inspiration for this blog post.

When I switched my desktop over to Mandriva Linux 2008 I knew it wouldn't be without some shortcomings. One of the most frustrating experiences I had was connecting my HTC Touch phone (a Windows Mobile 6 PDA phone) to my Linux box in order to synchronize it. I stumbled along the way, finding the not too apparent solution to my problem.

First of all, the reason why Mandriva couldn't connect to the device was some apparently faulty version of rndis_host driver that came along with the distribution. As a result, every time you upgrade the kernel, you'll have to follow these steps.

Mandriva 2009 works with Windows Mobile 2003 / 5 / 6 out-of-the-box. Moreover, they now use HAL-based connection to your PocketPC, making odccm obsolete. You'd better stick to their approach, it's much more robust - and convenient!

If you own a Pocket PC device, or any Windows Mobile based device (i.e. PDA phone) and you know how to code, you start feeling the urge to develop for it. The possibilities seem endless: highly portable, natural (touch screen) interface, integrated mobile communications (Bluetooth, Wi-Fi, GPRS, 3G, you-name-it), camera, GPS... it's all there, ready to be combined in fun ways.

Now that you want to use your skills to that end, this seems impossible without spending big bucks on Microsoft's Visual Studio (I assume you don't use pirated software, right?). The Express editions are fine for small to medium sized desktop apps, but there's no support for .NET Compact Framework. You are stuck, right?

Well, actually, not exactly.

Hibernating your machine is of paramount importance, especially if you own a laptop. It is not just a convenience; it is a necessity should you have to move in a hurry and don't have time to save everything and perform a proper shutdown. Albeit, Mandriva has not supplied a working configuration for the hibernation function out of the box, therefore we are going to fix it. The steps below worked for my Mandriva Linux 2008 x86-64 and x86 installations and will most probably work for other post-2007 distributions, even Mandriva Linux 2007 Spring, but - as always - there are no guaranties. At worst your box will not hibernate and you might end up with a corrupt swap space (which can be mended very easily anyway).

Η χαρά της κοπέλας μου που θα είχε επιτέλους γρήγορο και απεριόριστο Internet ήταν απίστευτη. Κάτι ψιλοπροβλήματα πήγαν να μας χαλάσουν την διάθεση και επειδή - απ'ότι υποψιάζομαι - μόνο σπάνια δεν πρέπει να είναι, είπα να μοιραστώ το πρόβλημα με την λύση του μαζί σας.

Δεν μπορώ να πω, η Vodafone ήταν ταχύτατη στην ενεργοποίηση του κυκλώματος ADSL (μόλις τρεις εβδομάδες), οι οδηγίες ενεργοποίησης και ρύθμισης του υπολογιστή και του router τόσο κατανοητές που ακόμη κι ένα 5χρονο παιδί τις καταλαβαίνει, αλλά... κάτι δεν λειτούργησε καλά στο όλο σύστημα