Archive for June, 2008
Last time I used .ear packaging there was no support for sharing information between web applications: you needed to use web services, rest, etc. This evening I just made a search on the internet to check if things are better now. It seems that nothing is changed. I found that some application servers have implemented [...]
Apparently, with JDK 7 we will have Strings in switch statements. I got a SCPJ certification long time back, but if someone asks me to write a switch statement in a job interview today, I could probably fail: I begun writing Java code in 2000, and I bet I used switch statement six or seven [...]
Registration/Login is the #1 usability problem on websites. I hate security paranoia when it is not needed (ok, I can understand a bank…) My suggestions to avoid boring the people using our software: Let the user choose the preferred password. Don’t assign it your own (especially with random chars!!!). User will forget it and abandon [...]
Yesterday we had a business meeting in London. We flew there and we had the chance to walk through the city and enjoy the nightlife. In my previous visits to London I never appreciated the city very much: too noisy, to rainy, too expensive, too much people wearing formal. Sometime you can feel like being [...]
Today I found a cute code snippet on Alex‘s Blog and Euxx: 1public class Weird { 2 3 public static void main(String[] args) { 4 throw null; 5 } 6 7} It compiles and trows a NullPointerException: Exception in thread “main” java.lang.NullPointerException at Weird.main(Weird.java:4) I think that it is strange that this stuff compiles: the [...]
Forcing fsck on next reboot $ sudo touch /forcefsck $ sudo reboot Merging PDFs $ sudo apt-get install pdftk $ pdftk file1.pdf file2.pdf file3.pdf file4.pdf cat output merge.pdf Formatting USB disks/memories mkfs -t vfat -V -I -c /dev/sdb -n LABEL eject /dev/sdb Fixing Oracle Repository GPG/PGP Key Error The error (in Synaptic or during “apt-get [...]
I bought a Sony PSP during last winter, and I am very happy of that. The videgames are amazing, I didn’t imagine that there were games so impressive on a so little machine. In particular I appreciated Ridge Racer, Final Fantasy the war of the Lions, God of War: Chains of Olympus, and many more. [...]
If you ever had the need to trace HTTP requests (and if you ever did advanced web development you did!), you probably found invaluable tools like TCPTrace for Windows. On Linux I found a good replacement: Download apache axis: axis-bin-1_4.tar.gz Install it where you prefer. Create a script to launch tcpmon #! /bin/sh export JAVA_HOME=/usr/lib/jvm/java-6-sun [...]
The error: Selecting from Eclipse, Preferences>Team>SVN and select SVN interface: JavaHL(JNI) on Linux you get: Failed to load JavaHL Library. These are errors that were encountered: no libsvnjavahl-1 in java.library.path no svnjavahl-1 in java.library.path no svnjavahl in java.library.path java.library.path = /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i368/client::/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386::/usr/lib/xulrunner-addons:/usr/lib/xulrunner/addons:/usr/java/packages/lib/i386:/lib:/usr/lib The solution: install Java bindings for Subversion libraries: $ sudo apt-get install libsvn-java This [...]
Search
About
You are currently browsing the NewInstance weblog archives for June, 2008.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « May | Jul » | |||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||
Archives
Categories
Tag Cloud
Android API Bash Bios CSS Development Eclipse Encription Error Handling Font Git Google GWT Hardware How-To HTML Installation iPod Java JavaScript Karmic Linux Lucks MacBook Open Source Opinion OSX Pitfalls Pkg Practices Python Resume Security Software Suspend TDD Testing Tools Top Down Tricks Ubuntu Uninstall Wakup On Lan Web Workaround
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.




