Sun buys MySQL - what about PostgreSQL?

Wednesday, January 16th, 2008

There is one thing that strikes me in the Sun MySQL thingy - what about Sun’s previous commitment to PostgreSQL, where they say stuff like: “PostgreSQL for Solaris 10 is the open source enterprise database platform of choice”?

PostgreSQL for Solaris

Tim Bray comments on the deal and totally dismisses any alternatives:

MySQL, you know, in my experience, it, well, Just Works. Runs great on our hardware and OS. Well, OK, GNU/Linux too. What else is there? For databases, nothing that matters.

I strongly prefer PostgreSQL over MySQL, and I have previously used Sun as a reference for it. Perhaps no more.

links for 2008-01-04

Friday, January 4th, 2008

links for 2007-09-20

Thursday, September 20th, 2007

links for 2007-08-28

Tuesday, August 28th, 2007

links for 2007-08-27

Monday, August 27th, 2007

RE: The war is over and Linux won

Tuesday, November 14th, 2006

At least in the server world, Linux has won.

Here in Sweden, Microsoft has an inexplicable stronghold, even in the server room. The last time Craig Larman, Valtechs Chief Scientist, was here he noted that nowhere did he see as large proportion of server side windows as in Sweden - and Denmark.

I don’t know what makes swedes pay for stuff others get for free. Perhaps the high taxes have made us used to money disappearing?

Continually switching

Tuesday, November 29th, 2005

After getting the PowerBook, I’ve made quite a few additional switches in my digital life:

  • Mac Mini instead of a PC with Ubuntu Linux at home. After a few weeks with a Mac at work, I could no longer live without one at home, so whoops, there it is: a Mac Mini. It is oh so quiet.
  • NetNewsWire instead of Bloglines. I have not visited my previous darling Bloglines once since I started using NetNewsWire
  • TextMate instead if JEdit, Vi, Emacs … it rocks.
  • iTunes and iPod instead of rsync and iRiver. I’m not addicted - right :)

Why does Sun not provide a Java Communications API for Linux

Tuesday, June 14th, 2005

Why on earth doesn’t Sun provide a Java Communications API for Linux?

Good thing IBM does.

What is Gosling talking about?

Wednesday, May 18th, 2005

I most certainly hope that James Gosling was quoted out of context in this article. The way he talks about open-source is comes out very … Balmery, which is disturbing. Why is he talking about open source as a place where “any old person could check in stuff” - that is not the way it is done and he knows it. He should know it. Which is also why enterprise customers are not running away from well-kept open source projects like Linux and Tomcat.

Not doing the “open source is the one true path” dance, let me still be very clear:

  1. Server side Java would be nowhere near the size it has today were it not for the open source community.
  2. I care about being legally clean, and it is not a nightmare (Disclaimer - I live and work in Sweden.). Gosling joins Bill and Steve using the GPL to scare people, and it is just stupid. We all know not to use GPL’d code in our commercial products and it is such a relief then that the vast majority of the server side libraries are not licensed under the GPL.

This really made me upset in the “somebody I thought I knew did something really wrong”-way . For Gosling to come out with this blubbering, he really must be concerned over Harmony.

Saying hello to our old friend Ant

Friday, February 11th, 2005

Alef Arendsen ponders on whether to switch from Ant to a Ruby build tool. At Lecando we just this week finished migrating away from a Ruby based build system we called Raven. Our former employee HÃ¥kan speaks in his blog entry from way back then about the enthusiasm we shared. Of course, HÃ¥kan speaks of our migration from Maven, the build tool from hell of which one should not speak.

So we’ve now gone full circle - Ant - Maven - Raven - Ant. So what happened and why?

Our build.xml used to be a trillion lines long and quite unmaintainable. When we first saw Maven we thought “Easy targets due to standard directory organization, automatic dependency downloads and we will probably read that really nice webpage thingy very often. Way cool, we want that”. Since we never have hesitated to throw new fun explosive stuff onto our e-learning fire we pushed all our directories around, picked up the ball and ran with it.

I looked at our old project.xml file today. Man, that thing is ugly. As Cedric points out, Maven is really four languages, and Jelly is one of them. Ouch.

At that time we were bitten by the Ruby bug due to a number of reasons, two of them being Jon, head chef of Damage Control who had just left us for new frontiers, and Anders Bengtsson who used to work for us but is still a good friend of some of the guys. This combined with our craving for a shiny new build system made us roll up our sleeves and start to build our own build system in Ruby, Raven.

When you start to build a new file system you most probably start with the easy pieces. “Let’s see … compile? That’s good - we need to compile in our projects. And we can set our classpath in a really non-obtrusive way. Oh, this feels so good, I’m glad we’re doing this. And next … Test? Awesome, we’ll be done in no time.”

… A little later …

“OK. it is not a good as in the beginning but we’ll refactor it. Now we just need to build the docbook docs, package the war, pack it up in a ear, zip that up with all external docs and whatnots and we’re done.”

Spoiler: The resulting build was as hard to maintain as the previous ones had been, albeit in a prettier syntax.

I believe it is exactly the same thing as when you start out with your Ant build file. As long as you’re setting up the compile and test part everything is really clean, but when you get into the specifics that is needed for your app like for example signing an applet - we used to do that - things get dirty. And it does not matter what language you do it in, it is complicated even in plain English, or Swedish. (”Take those files and sign them with that certificate file over there to produce an applet as a jar for Netscape, and when your done you take the same files and sign them again, but this time with that certificate file over there for Explorer, and, oh yeah, make it a CAB file. Don’t mess up or the browser barfs”)

While we were doing this, things happened in Ant land. Imports and Macrodefs solved a lot of problems, making build files readable. IDEA even provides code completion and refactoring support for Ant. As you might suspect, we did not have that for Raven. We slowly accepted fate and began the walk back into XML. However, among the brackets are a few goodies in addition to the ones above.

Ants platform independency is king. Visar, our designer guy, can run the app from his Windows box as well as we do on our Linux ones. I know, Ruby is supposed to be platform independent, but unfortunately it works in the same way Python does it - almost.

We have even rolled our own CruiseControl in Ruby. We really did not like CruiseControl two years ago so we might not use it now either, but at least now we have the choice. I’ve read a lot of good things about it recently and if it is good enough for Mike Clark it must be good enough for us as well.

To sum it up, Ant is a standard which in itself might not be the best thing at all, but with all the support for it it certainly comes out on top for us.

Gnome 2.8

Tuesday, November 23rd, 2004

I have been using Gnome 2.8 for a couple of weeks now, and I must say that it is getting really good. Gnome was the first window manager I used when I started using Linux, but I soon became hooked on more lightweight alternatives such as Fluxbox and XFce4, as I did not think that Gnome offered that much to compensate for its relative slowness.

But since I got my laptop, I have grown tired of having to do everything manually whenever the environment changes. And with the advent of Ubuntu it is really a snap.

I honestly do think that it is a way better working environment than Windows. It still has a lot to do to catch up with Mac OSX, but when I look at what is happening over at Planet Gnome I strongly believe that they will eventually get there.

Wireless Again

Tuesday, October 19th, 2004

My old 3Com Prism54 card for some reason did not work anymore on Linux. I finally gave in a bought a new MadWifi one which worked out of the box. Sweet!

My laptop is working!

Saturday, October 11th, 2003

After a lot of work my shiny new IBM R40e is up and running with almost working ACPI, internal network adapter and a 3Com 54g wireless PCMCIA card, all on Gentoo Linux.

A Mini HOWTO:

  • Get an old PCMCIA card for the installation as the internal network adapter is not supported by the Live-CD
  • I choose the Gentoo Stable kernel which is working great
  • Do not enable PCMCIA in the kernel, emerge the pcmcia-cs package instead for continued setting up of the system.
  • Get the network card driver from Broadcom, the card is a BCM-5700. Compile it and put it in the /lib/modules/kernel-version/kernel/driver/net/ folder. Run update-modules and modprobe bcm-5700 Add it to /etc/modules.autoload/kernel-2.4 if needed
  • Get the ISL driver for the 3Com card. Follow the instructions closely, but patch the gs-sources kernel instead. I removed the pcmcia-cs package before compiling the kernel as it provides its own cardbus implementation. Supposedly only the card drivers can be compiled, but I didn’t try that.
  • Emerge the wireless-tools package. iwconfig is your friend.
  • ACPI is somewhat unstable, the battery information comes and goes in a undetermistic way.
  • The modem is supported by the HSF driver but that in turn does not support preemptible kernels. Choose whatever you want

I’ll probably update this as I learn more. This is posted over wireless by the way :)

Client OS

Saturday, November 9th, 2002

I looked at the logs for freeroller and realized that 75% of client OS's accessing it was Windows. This is of course a lower percentage than would be expected from a more generic set of computer users (I assume we're all geeks here, right :-), but still, 75%.

I most certainly don't want to start another Windozesuckslinuxisugly debate, but I was thinking that most sites accessed on freeroller have a strong connection to Java, and often business system Java - as opposed to embedded etc.

The main competitor to Java as business systems go is of course .NET. How come that 75% of the programmers who have made the Java their choice of programming language use Windows as their operating system? Why are they not preferring .NET?

Is it that they consider Windows a superior client os, but want the freedom of choice on the server? That they love the Java syntax? Someone else made the choice? Is this a small indication that .NET is a failure? Just curious.

Up until two years ago I also used Windows as my client os for programming. But then Sun started releasing the JDK's for Linux at the same time as for Windows and Solaris. I made the switch and never looked back.

For the sake of it, I'm writing this using Phoenix on Windows on my home machine, which dual boots Win XP and Red Hat 8. I strongly prefer RH8, my wife Windows.