Colors of lentils

Lentils are one of my favorite vegetable. They come in many colors: red, yellow, brown, green and black. Colors of lentils You can cook them in various ways: boil them, with vegetables or alone for a delicious lentils soup. reduce the soup to a cream or, my favorite, prepare a lentils curry. First brown some onion with cumin and curry, then add lentils and water. Boil until the lentils are soft optionally adding tomatoes and finally spinach....

September 25, 2010 · len

Hibernate JbossCache integration

Introduction JbossCache is a wonderfully complex piece of software. Trying to use it with Hibernate might seem an easy task at first but in reality it can also prove wonderfully complicated. First question is: why would you consider using it in the first place? Compared to ehcache for instance there are a few theoretical advantages: clustering (scalability), configurability and jmx monitoring. Next question which is not quite obvious is which version to use?...

September 20, 2010 · len

JBoss session cookies

If you are using cookies for inter-context communication you will notice after migrating from JBoss 4 to 5 that they just don’t work. If you take the time to do some cookie debuging you will notice that in JBoss 5 the cookies are bound to the context as shown bellow: Name JSESSIONID Value ACF23793236E94A664E652AA77AC7578 Host localhost Path /myApp/ Secure No Expires At End Of Session This means there is no way this cookie can be used to comunicate with /myApp2/ for instance....

September 14, 2010 · len

Broken DELL

My Dell D820 broke yesterday a few months after the warranty expiration. There is a sadness associated with the moment your laptop is broke which cannot be explained. I had this feeling with this laptop 3 times already. I think the next question will be not: “which dell should I buy?” but rather “which laptop should I buy?” which is far more complicated. Anyway I realised in 11 years since I own Dell laptops most of the criteria for choosing one are the same:...

September 3, 2010 · len

Beef stew

I’m not that pretentious to call this “boeuf bourguignon” so I’ll call it simply beef stew. It’s the result of the following cravings: beef, bolognese sauce and the wish not to waste the vegetables (tomatoes and bell peppers) in the fridge. Beef stew Ingredients 500g of beef 4 cups of red wine 5 tomatoes 2 carrots 2 bell peppers potatoes 1 onion bay leaves a lot of time and patience Method cut the meat in small cubes brown the onion in a large (about 5l) pot then add the meat cubes and stir until sealed cover with wine and 1 extra glass of water then add the bay leaves and let it simmer for about 1h, add water as needed add the roughly cut tomatoes and simmer for one more hour, add salt and pepper and water as needed add the bell peppers and carrots and let it simmer until the carrots and meat are soft in the mean time prepare mashed potatoes by boiling the potatoes and then blending them with milk, a bit of butter, salt and pepper let everything cool down a bit then serve the stew is better next day....

August 24, 2010 · len

The long awaited migration from Qmail to Postfix

I’ve been running qmail based mail servers for years. And you can imagine how many if I am planning this migration from at least 3 years. To be very honest qmail does a very very good job. This is the reason it took so much time to actually do it. In fact qmail has only one problem: it’s stuck in the past. If you want to install something new: say SPF of DKIM you need to patch, recompile....

August 20, 2010 · len

Perch fish with basil pesto and tomatoes

With the opening of a fresh fish shop nearby I could not resist trying every type of fish so here is a recipe adapted for some nile perch fillets. Perch fish with basil pesto and tomatoes Ingredients fish fillets fresh basil leaves from the terrace lemon juice dried chillies garlic gloves tomatoes (1 small tomato per fillet) parsley (optional) olive oil Method blend together the basil leaves (a fistful), lemon juice (half a lemon), olive oil (3-4 tbs), garlic gloves (2), parsley (just bit), dried chillies (to taste), salt, pepper to make a stronger than usual pesto....

August 8, 2010 · len

Sorbet time

On my bicycle trip to Iezer mountains after successfully descending almost 1000m I’ve met a bunch of women collecting forest fruits. They asked me: – you come from the top of the mountains, aren’t you? – yes, I replied – so you must have tasted all that ripe bilberry growing near the top (at almost 2400m) At this point I said nothing since in the foggy, cold and wet morning I could not see, or pay attention at, any bilberry....

August 3, 2010 · len

The value of “.” (a bug’s life)

Track summary no 1463: Client detected a bug. Bug replication took 2.5h. Bug correction took 2 min. Modification consisted of unification of several cases where position of b in XML is variable a.b => a..b. Project compilation 10 minutes. Actual difference in code is insignificant. Total time: over 3h.

July 21, 2010 · len

Curry de vinete si pui marinat

Cateva retete refacute: curry de vinete (eggplant curry) cu mult chimen si pui marinat in sos de soia, vin, otet de ginger, curry si tandorii. Yummy. Eggplant curry Marinated chicken Comments: Cristian Ion - Jul 0, 2010 Eggplant curry este intr-adevar o reteta delicioasa. O zi minunata iti doresc

July 18, 2010 · len