Monday, August 16, 2010

i118n

Am i the only one who finds himself writing "i118n" instead of "i18n" constantly? :)

Wednesday, July 7, 2010

Date format in Oracle SQL Developer

I know, i know... Oracle SQL Developer really sucks :) I think i got used to it, though...
Anyway, here is the line to set custom, detailed date format for a session:
alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS';
Uff, it took me quite a while to figure it out.

Thursday, April 22, 2010

Java "user.home" property

I was working on a Grails project, and noticed very poor perfomance of resolving the dependencies - no less than 5 seconds. My colleagues got this phase working at least 5 times faster!
After little investigation i've found out that problem was with Java "user.home" system property, pointing to the network path.
This situation causes even more troubles, as all the apps which use Java "user.home" create their ".something/" in the path, specified by this property. And after that they all work very slow because of network latency.
I've found a fix here:
http://stackoverflow.com/questions/2134338/java-user-home-is-being-set-to-userprofile-and-not-being-resolved
Basically, altering
CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop
value to  
%userprofile%\Desktop 
solved the problem.
Cool!

Monday, February 15, 2010

Clean code

I highly recommend this book to every software developer. Written in simple language, a lot of examples, very valuable insights.
Here is the mind map of the presentation, which i've done for my colleagues:
http://www.pdfhost.net/index.php?Action=DownloadFile&id=ecb41cfc27d3f05578a63d715fc9ec96

I cannot include presentation itself, as it contains company source code examples :/