Oct 232007
 

Gutsy Gibbon breaks Azureus. It starts, you see a flash of the application and then quits. No error message, just a Java dump. The problem is all over the internet, but no real solution yet. For the moment I switched to Deluge, but it’s not as nice as Azureus.

 Posted by at 10:12
Oct 182007
 

I upgraded from Ubuntu Feisty Fawn (7.04) to Gutsy Gibbon (7.10) on Tuesday. The upgrade itself went very smooth, albeit that I needed to manually update Grub to point to the new kernel (since my Grub-boot disk is not the same as the root disk).

Findings sofar:
VMWare 1.04 Server runs better than 1.03 under Feisty. It even compiles on its own, no installer-hacks.
Oracle DB 10.2.0.1 runs fine. No relinking needed (but don’t tell Oracle, they have been relinking the network libraries since the early days. It worked then, so it will work now…. *sigh*)
– Firefox WITH Flash works. Via nswrapperplugin. The Flash plugin times out (so it seems) but refreshing a page works. No need to restart Firefox.
– Compiz window manager works like a charm. Very nice. Real rain outside, and raindrops on the desktop!

But…Compiz (without it, no problems) breaks some things too:
Netbeans 6.0 beta 1 starts, but the window stays blank
– JDeveloper 11g (tech preview 2) does not start at all and gives a “can’t connect to X11 window server” error. Yes, the DISPLAY variable is set correctly.

 Posted by at 02:07
Oct 132007
 

A while ago, I did some testing with Adobe Flex. Flex is a component-based framework. Basically you create a webpage and put a bunch of Flex-components on it. I know, oversimplified, but you get the point.

When I started at my current employer, I made a career-switch and wanted to develop in Java. I had a lot of desktop programming experience, some (non-professional) web-development experience, and thought that would be enough to make the switch to Java.
Almost 2 years have passed, and still I can’t develop JSF (we’re an Oracle-company, so ADF-Faces, but the concept is the same) applications. I tried a couple of times. I know how the concept works. But what I could create in Flex in about 10 or 20 minutes, I still cannot create with the tools I’m supposed to use professionally. Since I don’t qualify myself as utterly stupid, Flex must be doing something right.

Correct. Flex is component-based. If you need more functionality, you extend an object, and use it in your application. The reason I like that, is because that’s the way I used to develop desktop applications. An IDE like Visual Studio or Delphi works the same.
But Flex is not Java. Coldfusion in a way is, but I need to run my software in an Java-environment where Coldfusion would be something extra (think: more expenses).

Wicket is a component based web framework. Basically you create an HTML page, put some Wicket components on it, create and/or fill-in the backend Java-classes (POJO’s!) to define the behavior of the components and basically that’s it. Create a WAR, deploy to the application server, and run. Sounds simple? It is! I just ran a very simple test with Netbeans 6 beta 1 and Glassfish V2 and the Wicket page shows what I just created. Wickedt!

 Posted by at 01:37
Oct 132007
 

If you try to install Oracle on Solaris 10 (x86-x64 version) and you run into the following error when you start the installer:

ld.so.1: java: fatal relocation error...

then you probably have your locale defined as “en_US.UTF-8”, the default. This is a bug in Java on Solaris. Workaround is to set it (temporary) to something else (e.g. en_US.ISO8859-15). This will not affect how you install the software, but only how the installer itself runs.

I ran into this on Solaris 10 Developer Edition 09/07 on AMD64, with Oracle 10g 64-bits for Solaris.

Oct 062007
 

Well, not all of it, but I have your attention now, do I? I intalled Oracle database 10g 64-bits edition on my Ubuntu AMD64 (Feisty). Works like a charm. You need to install a ton of packages, but after that, it works without a glitch.
To get Oracles HTTP server to work (not to be mistaken by the real application server, which is a completely different beast) one needs to install the companion CD. There is a companion CD in a 64 bits version for Linux. Yeah. Don’t you think that it contains a recompiled version of Apache, since it does not.The Apache server on the companion CD is the normal 32-bits version.
Oracle likes spending its money buying all sorts of companies, instead of supporting their customers and developers. Mind you, I’m trying to install the thing on Ubuntu, which is not supported by Oracle at all. But judging by the number of forum messages and blog posts about Oracle on 64-bits OS-es, I can only conclude Oracle doesn’t care about 64-bits at all.

Their 11g database is available for Linux now. The specs demand a very recent PC or server, but it’s only available as … a 32-bits version.

Why is that? Hardware manufacturers are pushing 64-bits systems like crazy, but the software (and OS-es) is way behind. Why? AMD64 has been around quite some time. Intel has a lot of 64-bits processors. What are they all waiting for?

Oct 032007
 

The discussions around CouchDB make me laugh. CouchDB is supposed to be a document-oriented database, but there are no keys (primary, foreign, whatever) since it’s not an RDBMS. Even some clever people can’t think of the solution to a very simple problem (a weblog application), as you can see here.

CouchDB was created to make life simpler, but I guess it’s so simple, that you can’t solve basic problems with it. Perhaps the inventors can, but I can’t see ANY use for such a database. Put all documents together, and in the process give them a unique ID (so they have a key, yes). But you know how a mailbox with 10000 e-mails feels like? Right. You’ve got to organize that. Therefore CouchDB has views.

Sounds to me like a bunch of guys that couldn’t get their precious Erlang to work on {fill in your preferred RDBMS} and wrote something that has no rules, no indexes and leave it all up to the user/developer. Right. Basically they are giving us a filesystem that needs to be organized in views…erm…I mean folders. We all know how that’s gonna end up.

What a laugh. Let someone please give me a real-life situation where CouchDB is going to save your ass. Not some buzzing like “it scales” (for what?), “it’s functional” (for what??) or “you don’t need to learn SQL” (so what?). If I can see a solution for a real-life problem (start with the simple one, the weblog) without reaching for old-school stuff like relations or objects, then perhaps I’m interested. I won’t hold my breath.

 Posted by at 01:14
Sep 292007
 

I also love sun (with a lowercase s), but we’re heading for winter, so that has to wait. What I meant was the company Sun, of course.
Recently I downloaded Netbeans 6 beta 1 and the full release (you can choose which you want to download) comes with Glassfish V2. For a customer I needed to create a working sample of a webservice that accepts 3 parameters and returns an XML document with information from an Oracle database. The webservice (without the actual database access) and the deployement to Glassfish takes about 20 mouseclicks and some typing because I did not want to use default names/packages/etc. And it actually works the first time. I have some experience (not too much) with creating webservices in Oracle’s JDeveloper, but my goodness, what a difference Netbeans makes. Thanks guys for such a wonderful product.

 Posted by at 01:32
Sep 272007
 

Joel (Spolsky) maintains a good weblog, with accurate observations or stuff to think about. I wonder if this post was written by himself, or by some of his interns that hacked into his computer. Joel would never defend software that contains bugs that are not dealt with. Joel would also never contradict himself (explaining that 77.1 binary is a repeating number and in the Q&A saying he can’t think of anything of the top of his head that’s causing this behaviour). Finally, Joel would never lie to you (“this bug actually mattering to you as an individual is breathtakingly small” but not only individuals use Excel).

So, either I’m right about the intern hacking into Joel’s computer, or Joel had found out about sarcasm. I stick with the hacking story. Anyone?

 Posted by at 23:20
Sep 242007
 

Bruce Eckel is an intelligent guy. He wrote “Thinking in Java“, in case you did not know him. In this post he discusses the RSS phenomena and why it’s wrong.

Now I can agree to the fact that RSS readers create way more traffic than people that ordinarily surf to a website and click on a bunch of hyperlinks. RSS readers do in fact poll each website the reader is subscribed to whether there is a change. Yet. Can’t agree more.

But this (knowing a subscription changed the day/minute/second it has changed) is not the reason why I use an RSS reader. Nor is it anonymity. The reason is the sheer number of subscriptions I have. How on earth am I supposed to click through a couple of hundred websites to see if something changed? And when I am at number 176, of course just when I missed it, number 173 has changed. So while waiting for an answer in a forum, a patch to a bug or just the news about the latest release of your my favorite piece of software, I missed it because I was manually browsing the internet. Manually browsing the internet is from the past century. The internet is too big to do that.

Of course I could subscribe to a mailinglist. And create a gazillion message-rules in my mailreader. Why? I have an RSS reader. And yes, it gives me anonymity as well. Even Artima needs you to sign in to even comment on Bruce’s post. Why? Afraid that Anonymous_Coward would leave an inappropriate comment? Don’t allow anonymous commenting then. Create a clever check for the email address or display the IP-address. Why should I want an Artima ID just to place some comments?

Get a life. If you don’t want traffic on your website, don’t create an RSS-feed. How’s that?

One other thing: how about reversing the situation. You update your website, and you send a notification to all subscribers. Do you know what would happen? Right. Your ISP would cut you off, because of….spamming activities.

 Posted by at 01:33