A post by Martin Fowler that talks about a very common and used way of defining the domain layer and service layer in an application.
Anemic Domain Models
February 13th, 2010 by Leandro Del TesoMic not working with C-Media soundcard and Ubuntu Karmic 9.10
February 4th, 2010 by Leandro Del TesoThe problem was that this on-board sound card is surround and, when in surround mode, the mic mini-plug input becomes Center /LFE output.
I fixed it this way:
1) Open “alsamixer”
2) Go to “Mic-In Mode” bar
3) Check that in “Item” (top-left corner), it reads “Mic-In Mode [Mic-In]”
4) If not (probably “Mic-In Mode [Center/LFE Output]“) hit up/down arrow keys until “Mic-In Mode [Mic-In]” is selected.
5) Check that mic is not muted. Go to “Mic” bar and check that it is not muted “Mic [Off]“. If it is, hit M key, you’ll get “Mic” only.
That should be it.
Some quality reading…
January 26th, 2010 by Leandro Del TesoBubble Translate: An excellent extension for Google Chrome
December 10th, 2009 by Leandro Del TesoThis extension provides of a really simple an elegant way of translating web pages to your language. It uses translate.google.com services to translate, and the way it does it is simply excellent!. Just keep Ctrl key pressed while selecting the text you want to translate and it will display the translation in a bubble in-line.
Also it provides a menu to select the translation of the entire web-page or to open a form (like the one in translate.google.com) for real-time translation.
Highly reccomendable.
You can found the extension here: https://chrome.google.com/extensions/detail/jlhlebbhengjlhmcjebbkambaekglhkf
And Google Chrome, here: http://www.google.com/chrome/
Installing ImageMagick from source in Ubuntu
December 7th, 2009 by Leandro Del Tesosudo apt-get remove imagemagick
Then update apt-get and install some supporting packages:
sudo apt-get update sudo apt-get install libperl-dev gcc libjpeg62-dev libbz2-dev libtiff4-dev libwmf-dev libz-dev libpng12-dev libx11-dev libxt-dev libxext-dev libxml2-dev libfreetype6-dev liblcms1-dev libexif-dev perl libjasper-dev libltdl3-dev graphviz gs-gpl pkg-config
Use wget to grab the source from ImageMagick.org.
Once the source is downloaded, uncompress it:
cdtar xvfz ImageMagick.tar.gz
Now configure and make:
cd ImageMagick-6.5.0-0 ./configure sudo make sudo make install
To avoid an error such as:
convert: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory
Add the following line to ~/.bashrc:
export LD_LIBRARY_PATH=/usr/local/lib sudo ldconfig
You can confirm the install and available formats with:
identify -list format
Source: http://www.digitalsanctum.com/2009/03/18/installing-imagemagick-from-source-on-ubuntu-804/
Listening to Last.fm from Ubuntu
November 18th, 2009 by Leandro Del TesoApp installers for Java
November 11th, 2009 by Leandro Del TesoIzPack is a one-stop solution for packaging, distributing and deploying applications.
It is fully cross-platform and generates a single installer. As such, it is an alternative to native solutions such as platform-specific installers and package managers.
IzPack-generated installers only require a Java virtual machine to run.
Further on: http://izpack.org
5 days of Apache Wicket
October 28th, 2009 by Leandro Del Teso2 amazing books I am reading rigth now
October 3rd, 2009 by Leandro Del TesoThese are 2 amazing books I am reading right now.
- Head First Design Patterns
- Wicket In Action
I post here the Amazon links, feel free to use them.
Cheers…
Turn off Eclipse's tooltips
September 21st, 2009 by Leandro Del TesoGo to:
Window > Preferences > Java > Editors > Hovers
and disable Combined Hover.
Source: http://stackoverflow.com/questions/871732/turn-off-tooltips-in-eclipse-aptana