Subversion tricks

Dec. 29, 2004, 12:51 a.m. subversion

Subversion continues to dig up new tricks from dark recesses up it's sleeve to befuddle the unwary. I ran into another one of these after refactoring some java code.Some classes that had been placed in a package named com.raditha.colors were moved to com.raditha.ui since the old name was inappropria ...

uptime

Dec. 27, 2004, 8:24 p.m.

07:53:50 up 6 days, 15:32, 1 user, load average: 0.48, 0.18, 0.06That result from an inovation for uptime ladies and gentles shows that this computer was runing continously for 6 days and 15 hours without being restarted. Say what? well this is not a server. This is a desktop computer. Don't for ...

PHP require vs include and time wasting

Dec. 22, 2004, 7:32 p.m.

I have written about the futility of attempting to speed of applications by compiler options or small code level changes. They simply do not work. If you look at the PHP mailing list archives you will find countless thread arguing the merits and demerits of require vs include or echo vs print etc.Th ...

mysql upgrade

Dec. 21, 2004, 4:06 a.m.

Many people would dearly love to switch from windows to linux but circumstances prevent them from doing so. Similarly many people would stop using mysql and switch to postgresql if not for the strings that hold them back.I fall into this latter category and though I have postgres installed on my com ...

opendarwin on pearpc

Dec. 19, 2004, 8:30 p.m. virtualization

Having installed PearPc a couple of days ago, I decided to have a go at installing opendarwin as a guest operating system. It turned out to be a much more pleasent experience than installation of opendarwin as a OS that stands on it's own feet.PearPC is a PowerPC emulator for linux. You can install ...

opendarwin

Dec. 16, 2004, 6:48 p.m.

I tried my hand at setting up opendarwin, the process was a bit scary, the shivers begin when you have a look at the fdisk program that looks so different from what you find on linux. (what command do you use to make a new partition?). I reckoned the safe approach would be to plug in a different har ...

Cannot find libpq-fe.h.

Dec. 15, 2004, 11:19 p.m.

The PHP installation I described yesterday had another twist, this time to do with the postgresql extension.Fedora Core 3 distribution includes the RPMs for postgresql, the version is 7.4.6. Before upgrading to fedora I used to have a postgres 7.4.5 installed from source. Since I seemed to have doin ...

underquoted definition

Dec. 15, 2004, 6:39 a.m.

When I compiled PHP after upgrading to Fedora Core 3, it was without two of my favourite extension, xdebug and turck cd mmcache. I was in a hurry at the time but when I finally got around to compiling them both of them started throwing errors.configure.in:9: warning: underquoted definition of PHP_WI ...

subversion dump and restore

Dec. 12, 2004, 5:05 a.m. Collaboration

Subversion is full of surprises, whenever you start to think 'I am finally getting the hang of this' it throws you another riddle to solve.I ran into one of those riddles when I attempted to back and recover the repository. After having imported this web site, I followed it up with a few more proje ...

Religion Reiserfs vs ext3

Dec. 10, 2004, 9:34 a.m.

Statements such as perl is better than PHP spark off bloody religious wars among developers. In the admin world it's questions such as which distro is better or which file system is better that lead to divisions.As with programming languages, when it comes to file systems it is also a matter of chos ...

Movable type bug?

Dec. 8, 2004, 6:59 a.m.

I updated to movable type 3.121 a few days ago. It seems to have a bug, when I attempted to rebuild this blog, I started getting this error out of the blue:Building entry 'Encrypted filesystem on linux' failed: Build error in template 'Date-Based Archive': Error in <MTArchivePrevious> tag: &lt ...

The mystery of the Sourceforge Statistics

Dec. 7, 2004, 1:14 a.m.

Megaupload is once again back in the top 1% at Source Forge. To be precise the stats for 4th December placed it at 99.42. As far as I am concerned that's a good thing, but how accurate are these stats?If you look closely the stats page is marked with a bug icon. That's the way it has been as far bac ...

From CVS to Subversion

Dec. 6, 2004, 5:23 a.m.

I have been threatening to adapt subversion for a long long time. Finally I have taken the plunge by placing this site into a subversion repository. What stuck me immediately was the fact that the size of the folder seems to have more than doubled after checking out. The increase with CVS is not so ...

Setup an Encrypted filesystem on linux

Dec. 5, 2004, 5:29 a.m.

I had a sudden attack of paranoia and thought of placing some important stuff like source code and cryptographic keys on an encrypted file system. The losetup man page has a very good description of how this is done but there are couple of things to watch out for.The first one is that you need to lo ...

Boot Fedora from a reiserfs root

Dec. 4, 2004, 8:40 a.m.

If you attempted to boot a fedora core installation out of a root partition of reiserfs type you will most likely encounter an error, it may look something like this.VFS: Can't find ext3 filesystem on /dev/hda1mount: error 22 mounting ext3...kernel panic - not syncing attempting to kill init.With a ...

Corrupt Partition Table Recovery.

Dec. 2, 2004, 9:24 p.m.

This is the story of a corrupt partition table recovery in linux, a story with a happy ending.The hard disk in question was a 40Gg Maxtor, after one of it's partitions was deleted fdisk started reporting a partition which was well in excess of the disk size. The result was a system that refused to ...

The Fedora Core Experience.

Dec. 2, 2004, 4:40 a.m.

Finally I have a few nice things to say about Fedora. The most impressive thing about it is the fact that almost all it's packages are so spanking new. For example it uses Gnome 2.8 and it seems like yesterday when I struggled with a manual installation of gnome 2.6.As related change, it now uses Xo ...

Mother Board Stew

Dec. 1, 2004, 4:22 a.m. motherboard

It's been two weeks since my last post, I have been down with indigestion caused by Mother Board Stew.Immidiately After I completed my migration from Red Hat 9 to Fedora Core, one of the three hard disks on my computer fell criticially ill and died. All that whirring about while Fedora was being ins ...

Red Hat 9 -> Fedora Core Part II

Nov. 19, 2004, 4:36 a.m.

Yesterday when I finally managed to boot up after migrating from Redhat 9.0 to Fedora Core 3, it was with a minimalistic installation. An installation without gnome, KDE or any of the office or developer tools. Adding these packages turned out to be a wrist spraining affair.The package manager at fi ...

Red Hat 9 -> Fedora Core

Nov. 18, 2004, 4:42 a.m.

Yesterday having successfully managed to install Fedora Core 3, I decided to take the plunge and upgrade my heavily patched Red Hat 9.0 installation. It ended up being a disaster.Things got off to a bad start when the installer kept insisting that my /usr partition was too small. That is a lie, ther ...

Fedora Core 3 Installation

Nov. 17, 2004, 5:17 a.m.

Just got hold of a set of Fedora Core 3 CDs and had a go at installing it on my machine that is currently running Red Hat 9. This is the first time that a Fedora CD is seeing the inside of my CDROM. That's because I have a highly customized version of Red Hat 9.00. Customized in the sense that very ...

java.net is pulling your leg

Nov. 16, 2004, 5:21 a.m.

java.net, the so called source for java technology collaborartion has a sense of humor. We already have java.sun.com and java.com confusing enough for most people even without all the subsections on java.sun.comSo what exactly is java.net? it looks a like a collection of blogs, and news feeds which ...

Print Suite and Card Designer

Nov. 15, 2004, 5:25 a.m.

We have been threatening to release the Rad Inks Print Suite for a long long time. Then on august 31, we finally did. On November 04th we followed it up by the first new version (1.01).There aren't that many significant feature enhancements in the new version (except for the fact that a single order ...

Date and Time Difference in Java

Nov. 7, 2004, 5:27 a.m.

Though I have been a programmer for 17 years I have never quite got the hang of date/time calculation in any of the programming language I know (I can assure you there are quite a few). Recently I needed to calculate the time elapsed since a thread was started and here is what I came up with first: ...

javax.imageio.spi.ImageWriterSpi: Illegal configuration-file syntax

Nov. 4, 2004, 5:33 a.m.

Recently a client who ordered a customized version of Rad Uploadhad a problem with the applet when it was deployed on his server. It worked fine when it was run off our own servers. The error was something like this: ...