Replace F-Spot

I can only say good things about the ease to fetch photos from a digital camera in ubuntu now but the F-Spot interface is completely dummy. I can’t understand any good reason to use it. In order to revert to the old gutsy photo import option here are the steps: apt-get install gthumb go to System -> Preferences -> Removable drives and media -> Cameras and remove the f-spot-import with...

May 10, 2008 · len

Creating typed objects with HttpService

When you start using the HttpService with the e4x outputFormat everything seems extremely simple. There is no complex XML parsing code and you can feed the results into a DataGrid for instance with almost no effort at all. Simplicity has a price however and you realize you might need some more advanced features. In my case I wanted to have strong typed objects in the datagrid. This means a Date to be a date or a Number to be a Number....

May 9, 2008 · len

Logging

In the code just add trace(…) calls as you would add printf of System.out.println calls The plugin first you will need the debugger version of the plugin. In ubuntu the plugin can be found in /usr/lib/firefox/plugins which is usualy a link in /etc/alternatives which links to the actual plugin. root@black:/home/len# ls -l /usr/lib/firefox/plugins/total 8628lrwxrwxrwx 1 root root 37 2008-04-27 22:43 flashplugin-alternative.so -> /etc/alternatives/firefox-flashpluginroot@black:/home/len# ls -l /etc/alternatives/firefox-flashplugin lrwxrwxrwx 1 root root 99 2008-05-01 17:33 /etc/alternatives/firefox-flashplugin -> /phantom/linux/Adobe_Flex_Builder_Linux/Player/linux/install_flash_player_9_linux/libflashplayer....

May 8, 2008 · len

Ubuntu Hardy Heron on a Dell D820

Taking advantage of the free easter days I decided that between sleeping and cooking to also try the new Hardy Heron: not wanting to take any risks as in the painful Gutsy update I did a clean install on a different partition I tried the data migration option (gaim, evolution, firefox) but it only imported partial configuration and no data. I reverted to the old method...

April 27, 2008 · len

The lamb drob

Ro: drob de miel in prapure The lamb “drob” is a traditional recipe for easter using the lamb organs. There are many variations and this one aspires to be for me the ideal one and I will try to show why. Ingredients I bought a half of a lamb from the butcher shop with everything inside and I needed almost everything: heart, lungs, kidneys, liver, diaphragm a bundle of green onion, one of green garlic and one of green dill 3 2 eggs the lamb caul fat (“prapure”)....

April 26, 2008 · len

Which server side for a Flex app

Context choose the server-side technology for a flex application java based Randoms flex supports HttpService, WebService or RemoteObject first thought: HttpService -> ServletDispatcher -> Service -> Java -> DB -> XML -> HttpService. NO: we are in the future, something like that must already exist, I would have done that 5 years ago except for Flex which didn’t existed then RemoteObject requires a special server side application such as BlazeDS seems simple enough and I like that you only have a few xml files to define your services which you associate with your java classes seems the only choice if you need real-time messaging which is not the case here RemoteObject communication uses a binary communication protocol which is bad if client technology is going to change and is difficult to sniff/debug and/or test without the server....

April 21, 2008 · len

From FAST to Flex

Since the beginning of the year I have been working on a FAST based project. Bothered to implement and maintain a connectivity API it seems that markets are migrating to more standard protocols. Now, nobody can blame the API anymore. You have your clear specification and it’s up to you to implement it as fast as possible. At a first glance the FAST protocol seems simple but the simplicity fades away quickly when talking about operators and dictionaries....

April 15, 2008 · len

Which technology for your next webapp?

I am faced with a new web project for which I have to choose the technology to use it. Five years ago I was in the same position and I chose Tapestry. It proved to be a very good choice (1, 2, 3) and I am still able to modify and adapt that code without much difficulty. However now there are so many rich web interfaces which I cannot ignore....

April 8, 2008 · len

New potatoes recipe

Ro: mancare de cartofi noi Mancare de cartofi noi Ingredients 1 kg new potatoes 1 bundle of fresh dill 1 bundle of green onion 50g of butter Preparation wash the potatoes very very well. If they are too big then you need to peel them otherwise just scratch and clean the crust. Cut them if they are larger than 3x3x3 cm cut the onion melt the butter and start browning the onion on a low flame add the potatoes wait a bit and then add just enough water to cover them increase the flame and boil until there is only one 1 cm of liquid cut and add the dill, season with salt and pepper enjoy

April 5, 2008 · len

Book review #1

I am using jBPM for more than a year now and had my ups and downs with it. However the “Business Process Management with JBoss jBPM” by Matt Cumberlidge from packt was an interesting read. What the book does is to present the problems from a business analyst point of view and as doing such it presents a lot about the actual activities which take place in order to implement a BMP while following an implementation scenario stage by stage....

April 3, 2008 · len