Martin @ Blog

software development and life.

Flower

Archive for the ‘English’ Category

Compiz on Ubuntu Edgy Eft

Today I managed to get Compiz working on my computer. Compiz makes it possible to use OpenGL for rendering your desktop, which makes it possible to add all kind of cool effects. It didn’t take very much time, but some driver troubles made it a little more difficult then expected. I have a nVidia GeForce 4 Ti4200 videocard in this computer, so it was required to install the binary nVidia driver. While this driver is shipped with Ubuntu Edgy Eft, it is necessary to install a newer version. Using this topic at the Ubuntu Forum, this was not very difficult. After some minor modifications of /etc/X11/xorg.conf (enabling Composition and adding Option "AddARGBGLXVisuals" "True", see this topic) everything works. Since the last time I tried AIGLX, there is a lot improved. The speed is much better and there are a lot more nice plugins, like wobbly windows, a rotating cube (for desktop switching), easy to configure transparent windows, a cool alt-tab window switch effect and an Exposé clone.

Exposé clone

Novell forking OpenOffice.org.. err.. not

On Slashdot and Groklaw, there is a news item about forking of OpenOffice.org by Novell. When reading an article, there is no prove for an actual fork, an as is pointed out by Jono Bacon, it seems that Groklaw is just using a sensational heading. As Andries Brouwer points out, the news at Groklaw is probably inspired by the disklike of Microsoft by PF.

Nec Versa P520 broke again

For the third time within three months, my laptop is broken again. This time it seems there is something wrong with the memory of the system, because the beep-code (1-3-4-3) means ‘error while checking 512KB base memory’. So, tomorrow morning I can visit the Notebook Service Center again and hopefully get my laptop repaired again in approximately a week. The downside is that I have to install everything I use for my graduation project on another system, which takes quite some time..
While I was already convinced that NEC laptops are just garbage, this problem confirms this again. I think the mainboard is broken again, as it was the last time. If I’m right, this will be the third time the mainboard is broken. Besides from the mainboard, also the modem, harddisk and display are already replaced. There is still a problem with the bios, which makes it not possible to get X.org working at 1400×1050 without ugly patch and there are black spots on the display which are caused by the mousepad not fitted nicely in the housing.
The only thing I can do is advice everybody to never buy a NEC-laptop (or any other hardware from that company). A company which releases such a piece of crap as a ‘business laptop’ can never be able to produce anything decent.

Java available under GPL

It’s official: Sun will release Java under the GPLv2. Probably we will see Java by default in most Linux distributions. I think this announcement will also mark the start of a competition between the other ‘higher level’ development environment: .Net. Mono is also available under the GPL and is included by default already in most popular Linux distributions (Ubuntu, Fedora, Suse, Mandrake). Mono has a slight advantage in that it has the possibility to use native widgets for several operating systems, however, this requires to make different versions of a user interface for various operating systems. Java, on the other hand, has Swing – which is cross-platform, and also SWT. The latter is also cross-platform but also uses the native widgets of most operating systems. Also, there are more professional open source development environments for Java: Eclipse and NetBeans.
In my opinion this is a major step for the open source community. I wonder what the impact would be on the other open source Java implementation, known as GCJ/Classpath. Red Has is a major contributer to this project, but I doubt they will continue to invest in this project when there is a viable alternative already available. On advantage that GCJ had on J2SE is that GCJ has the possibility to compile Java programs to binaries which probably run faster.

GPL for Sun Java

According to CRN, Sun will probably release the source of Java under the GPL. This is a very smart move, I think, because it makes it possible to include the Standard and Mobile Edition of Java in most Linux distributions. On the other hand it renders the GCJ project rather useless. A GPL’ed J2SE makes it possible to use a completely free development platform, ranging from the compiler and runtime environment (J2SE and J2RE), development platform (Eclipse), application server (Tomcat) and database (Hibernate in combination with MySQL, PostgreSQL, Firebird or MaxDB (the former SAPdb)).
Sadly, it is not official yet and Sun doesn’t want to confirm anything. I think it would be a very good move from Sun, because it would become one of the few real open source companies (among Red Hat, MySQL and IBM). It doesn’t make any difference for the profitability for Sun, because Java was already available for free. I’m not sure but as far as I know, Sun has not many software you have to pay for. Most software is available under some kind of open source license (mostly CDDL) including Solaris. They probably will make most of their many with hardware sales and service and support.

Dutch Design Week

Today we visit Strijp S, the former factory buildings of Philips which are now converted into creative studio’s and housing for designers and art artists. This week the Dutch Design Week is taking place in Eindhoven. The yearly event is becoming more and more important for designers in Europe. In the entire city there are expositions and lectures about design and modern art.
Mieke at DDW
More pictures of Strijp S at my Flickr photostream.

Soldering

Soldering

Today I fixed a power supply of a LaCie USB-harddisk. The connector from the adapter to the harddisk was broken. On the photo is a so-called ‘third hand’ visible. The power supply is now working again, total costs: 3 euro. (I ruined one connector when soldering). A new power supply costs > 30 euro.

Google Reader

Today I came across a weblog entry of Jorge O. Castro
(whiprush)
on Planet Gnome which mentions Google Reader. While I didn’t know this service of Google, I decided to give it a try. I must say, it is a very nice AJAX-based webapplication for following various websites. There are several ‘packages’ available, such as photography (see screenshot below) and Technology (which consits of sites such as Slashdot, Digg, Wired, etc.). It is possible to add other RSS-feeds to the list as well, and you even don’t have to look them up yourself, because you can easily search for them using Google. Even the Tweakers.net RSS-feeds are known by Google. I think this may be the first RSS-reader I will use regularly in the feature because of the ease of use (and also because of the nice pre-package feed-packages).

Google Reader

Books I’ve read recently

Last months I started reading more books, because I like it 🙂
While I didn’t read that much books recently, I managed to finish some books, but mainly non-fiction.
The Pragmatic ProgrammerThe Pragmatic Programmer – Andrew Hunt. A very interesting book, which provides a very large number of pratical tips and tricks in order to become a better software developer, but also better in other tasks. Essentially, this book should be a ‘must read’ for every person working as a developer in the IT industry. It would probably result in less badly written software and improve the general quality of the IT industry. I can recommend this book to everyone.
The book gives tips and advice on how to become more productive while keeping the quality of your products on a constant level. For example, it provides a large number of hints on how to avoid repeating yourself (DRY – Don’t Repeat Yourself) like using code generation, reducing the efforts for creating documentation, etc. It also provides a large number of tips and references on tools which a decent programmer should use on a daily basis, like a decent texteditor (VIM, Emacs or something different), source code management (CVS, Subversion) and things like that.

Learning Perl Learning Perl – Randal L. Schwartz. I decided to read this book, because I didn’t have any knowledge about this scripting language, while it is used very much – especially in the Unix-world. I don’t think I will the program language use now for everything, but now I know a little bit about the language, I think I will use it when appropriate. The book is easy to read and doesn’t cover everything of the language, but provides basic knowledge sufficient for using Perl on a regular basis.

Apple news

Yesterday, the WWDC opened its doors with a keynote speech of Steve Jobs introducing the new Mac OS X version called Leopard and the anticipated Mac Pro systems. Additionally, the company also introduced new versions of is Xserv server systems and Leopard for the servers.

The innovations in Leopard are not very spectacular in my opinion, or at least I was not waiting for them. The most important innovations according to Apple are Time Machine and Spaces. Time Machines enables user to take a snapshot of the system (stored on an external harddisk or a Xserve) and revert to these snapshots whenever one wants. Unfortunately for Apple, they’re not the first one shipping such a tool, as Miguel points out. Dirvish provides identical features.

Another ‘innovation’ according to Apple is ‘spaces’, which enables the user to keep sets of applications for a given task instantly available. Wow, this sounds very similar to virtual desktops – what an innovation. Ok, I have to admit that I did not see this feature working yet, so probably it is a little more polished than most virtual desktop implementations, but it is not very unlikely that the possibilities are similar. According to the article at AppleInsider, Spaces includes the possibility to preview the various desktops in tumbnial format – probably similar to the working of Exposé. Well, at least is is more useful than the new features (uh, which features?) in Microsoft Vista, whith the difference that Vista contains a lot more changes ‘under the hood’ (at least, I think it does). Ok, so far not a high-priority upgrade.
Obviously Leopard does have more improvements. For example, there are PhotoBooth effects available for Mail (nice, but not something I was waiting for) and Mail.app provides facilities to store notes and todo lists and aggregate RSS feeds. That could be useful, but there are already tons of e-mail applications which provides these features, and Mac OS X already contained applictions like iCal and sticky notes which fullfill these tasks.
Another thing to mention is the new application Xray, which enables developers to debug applications and do some profiling. According to Calum Bensom, Xray is based on DTrace, which is created by Sun and open sourced under the OpenSolaris project. The implementation of Apple will probably be very nice and the use case they provide in their promotional material confirms this assumption. But while I still didn’t do any development for Mac OS X, I think I will not use it. There are more improvements, but the other improvements in Leopard are mainly bug fixes and small features which in fact doesn’t require a complete new operating system. Currently, I don’t think I will spend money on Leopard, because it doesn’t provide features I will need very much.

Ok, so far on Leopard. Apple also announced a new Mac Pro system. As expected, this system contains two dual-core Xeon processors based on the Woodcrest core (which is in fact a similar core to the Core 2 Duo cores Intel recently introduced). This is a very powerfull system for (considering the features) a resonable price of 2500 dollars. Apart from new processors and the obvious upgrades (new videocard, more memory, faster and bigger harddisks), the system is similar to its PowerPC predecessor. If I had the money, I think I would like to have such a system, because it has so much power that the coming years, upgrades are not very necessary. It is like buying a Ferrari – much faster isn’t available.

You are currently browsing the archives for the English category.