Saturday, August 22, 2009

The generalization of the day

I use the web to find solutions of my problems, as most people do today. I have noted a huge difference between two communities I am using, the Java and the Linux community. With the Linux community I mean it in a broad sense like Linux distributions and common software running on Linux like Postgres, Apache, Evolution, F-spot, Python etc. I.e classic open source software.

When I search on a problem in the Linux area I most of the time get good hits with people having the same problem and good answers from people who knows how to solve it. The hits are on mailing lists, forums, and blogs.

On the other hand when searching on problems around Java I most of the time find people who have the same problem, but no answers.

I know this is a very big generalization but are anybody else experience the same? Why are people in classic open source more willing to help than in the Java world?

Monday, July 27, 2009

Rule of thumbs for API designing

I have just read a very interesting article "API Design Matters" by Michi Henning. He discusses the problem with bad designed and gives some rules of thumb. We all have some time used an API that does not feel right and makes the coding hard. It is very interesting to read Michis analyze of this and why. My feeling is that he had put the hammer right on the nail. Here is a summary of the rules he discuss. I assume you will feel like me when you read them; yeah thats obvious. But thats the nice thing and the important is to get the list.

An API :

  • must provide sufficient functionality for the caller to achieve its task.
  • should be minimal without imposing undue inconvenience on the caller.
  • should be policy free if it is general purpose.
  • should be policy rich if it is special purpose.
  • should be designed from the perspective of the caller.
  • don't let the caller configure "everything".
  • should be documented before it is implemented.

If you want to read the discussion behind the rules, go to the article.

Saturday, July 11, 2009

Moved to France

Not me but my mail server has moved to France or to be more correct is now hosted by the French hosting provider According to GeoIP it is in Paris. I rent a small virtual machine from them to host my web and mail server. This makes me less dependent of my broad band connection and I skip the problem that my IP-address may change without notice.

At Gandi I have an Ubuntu 9.04 Linux machine with 256kb of memory and 8GB of disk. This is more than enough for me to hosting private mail and web. The mailsever is postfix and dovecot. I have my own CA-authority to handle secure connections from my mail clients.

Sunday, July 5, 2009

Spring framework to Python

I just noticed that Springsource has released the Spring framework for Python. Interesting, especially since i like the Spring framework in Java and I prefer Python as language in a lot of cases. I must try it some day....

Tuesday, June 9, 2009

IPhone - not for me

The new IPhone looks nice. The only (?) problem is that, as far as I know, it cannot be fully used from an Linux/Ubuntu only environment. They assume you have a Mac or MS Windows machine.

I think I have to wait until some one starts selling Android phones in Sweden and not require purchase by installments for the phone.

Friday, May 29, 2009

The next big wave is Wave

Looking at Googles demo of Wave. It is impressing and my imagination fly and demonstrates solutions to some of my everyday problems like entering an e-mail conversation late, mixing mail and chat etc.

Wave will be the next or second to next big thing on the Net. I also looking forward to integration with my Ubuntu Gnome-desktop.

Tuesday, April 28, 2009

The future is cloudy

It is obvious most vendors are very focused on supporting the cloud. Ubuntu 9.04 focus on provide so you can have your "own" Amazon cloud. Canonical provides images for Amazon EC2. SpringSource makes it simpler to deploy spring applications on the cloud, both own Google AppEngine and Amazon. Vmware helps you to build your inhouse cloud.
Then we have all SaaS services like Google Apps, Salesforce, sugarcrm.

The big question is: How do we get single sign on on the cloud?

Enough about clouds for today.

One of the bigest news from SpringOne here in Amsterdam is that SpringSource development environment, STS, will be free as in no fees. Today it was mentioned in one conversation that a new minor release of STS will be released next thursday.

Now @ twitter too

I am now at twitter too. I will probably only twitt at special occasions like conferences.

SpringOne Europe 2009 day2

SpringSource is really pushing Groovy and Grails. Hope they start pushing Jython too.

Heard a nice talk just before lunch about transactions. Transactions engines are hard to write. Recomendation is to skip XA transactions.

Time for some The before the next session.

Monday, April 27, 2009

What's in Spring 3?

One session talked about the upcoming Springframework 3.0. It is more annotations, support for validation in JPA/Hibernate beans. Most interesting is that Spring will solve the REST-problem in Java. Python and Ruby has already solved it. JAX-RS does not solve it in Java. It does not support a way to negotiating what format the result should be in (JSON, XML, HTML etc). Spring 3.0 solves this. So this will be very usefull. Spring 3 will be available early this summer.

The conference has ben good so far. Two days to go. I have also attended a talk about performance tuning of Tomcat and a more detailed talk about Roo wich I mentioned from the keynote.

SpringOne Europe 2009 Keynote monday

Some interesting notes from the keynote by Rod Johnson.
SpringSource modified Eclipse environment STS for make it easier to develop Spring applications will be free from now.

Their new tool Roo (may change name) to kickstart web development looks very promising. Finally something in the java world that makes simple forms development as easy as VB or Delphi.

SpringOne Europe 2009

I am attending the SpringOne conference in Amsterdam. The conference will start any minute now. The program looks very interesting.
the morning here in Amsterdam was a bit cloudy but the sun is now shining. For you that did not know that; you can be full on one pancake. I just eat one with mushrooms and cheese.

Friday, April 24, 2009

Netbook Remix

Some people have complained on the Ubuntu 9.04 Netbook Remix release. I installed it on my Asus EeePC 900 last night at the Ubuntu Release party. It fits my needs on the EeePC perfectly. I do not want it on my normal desktop PC but on a a smal device is it very good.

Thursday, April 23, 2009

Time to party!!! 9.04 is here

Ubuntu 9.04 is here. I have already downloaded the netbookremix image. It is soon time to take Remy, my EeePC, to the release party at The Champ here in Linköping.

Friday, March 13, 2009

Do you have some data?

Are you sitting on some data and not sharing it? Is it collected by tax-funding? Why do you not share it?

Tim Berners-Lee talk at TED about the problem people not sharing data. Take 15 minutes and listen to his talk. I wait when you doing it............

OK? Are you still sitting on your data? Have you talked to you boss about share it? Show the talk for him/her. Think! Help mankind!

Actually, Tim Berners-Lee talks about the semantic web but not using the word.

The next swedish superstar

Normally I write about tech related things on this blog. Since there a massive interest in todays topic I write about it here instead of in my Swedish blog.

The other day the Swedish evening paper Expressen had a full page article about Erik Hassle and that he had signed a world wide record contract. Erik has only released one single in Sweden earlier. His first album will be released in April in Sweden. According to the record company boss will Erik be one of Sweden's greatest artist.

Well, last night did I attend a concert organized by the Swedish UN-organization to collect money to remove mines. There were several bands playing, but for me Erik Hassle was the main event. The crowd were screaming and dancing. The sound were terrific. The music and the lyrics, good as ever. It was a great gig and it is exciting to know that it is Sweden's next big artist. (Sorry for the very bad picture taken with my cellphone.)

The music on Eriks myspace-page is good, but he is even better live.

Tuesday, March 10, 2009

Problem with Gmail and Gtalk

Seems like Google has problems again with Gmail and Gtalk. Thats bad! I have had problem for about an hour with Gmail and a few minutes ago did Gtalk stop working. I hope that the problems are solved soon.

Thursday, March 5, 2009

IE-free Windows 7?

If this is true, that Internet Explorer will be optional in Windows 7, then it is a huge victory for the Open Source movement and for free competition on the software market.

Wednesday, February 11, 2009

A piece of shit

Here is a fantastic description of how new technology is hyped and just irritating everybody but everybody must have it. Everything is better, but we announce that we will soon release a better version, but you can't wait. Take a look on the video and laugh.

Wednesday, January 21, 2009

French roads is opened

France will allow the OpenStreetMap project to access their national data with all roads, names, etc. I assume this is a part of the EU Inspire directive.

When will Sweden follow?

Tuesday, January 6, 2009

I welcome SoundBridge to my network

I have bought a new toy that is connected to the computer. It is a Pinnacle SoundBridge, which is the same as Roku SoundBridge. It download and plays music from my Ubuntu Server and can also play internet radio. I have installed Fire fly media server on my server to stream music using the daap-protocol. There is an Ubuntu/Debian package in the default repositories that is called mt-daapd, which is the old name of Fire fly. A nice thing with Fire fly is that it converts music files that are in formats that SoundBridge doesn't understand so they can be played anyway.