java.util.logging does NOT respect logging level

For some reason you are using j.u.l instead of log4j or slf4j. And you want to se your logs of level LOWER than WARNING. You’ve done even logger.setLevel(Level.ALL); and yet nothing below WARNING is ever printed out. You’ve checked the logging method and they are the same. WTH?!! Well, set console handler log level, cause […]

Executable jar through jar update

Stopgap rather than real solution but here it goes: jar -ufe jarName.jar packageName/className Why it works? It updates the jar in place, stating that entry point will be class in given package. Update -> u. Entry point -> e. File to be operated on set to output file -> f. Lastly, package can be specified […]

Why architectural kata?

Architectural kata? Do you know code kata? You have a problem and try to code a solution. Well, here, you design it. Hence, you get to be an ARCHITECT. Why it’s interesting? Because it’s not always when you get to play a decision maker and without practice it’s hard to be great. Even with huge […]

No man pages for zsh?

That’s a bug of omission with fix already released, but if you have older Ubuntu…   wget -qO- “http://downloads.sourceforge.net/project/zsh/zsh/5.0.2/zsh-5.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fzsh%2Ffiles%2Fzsh%2F5.0.2%2F&ts=1407408881&use_mirror=superb-dca3” | sudo tar xvz -C /usr/share/man/man1/ –wildcards “zsh-5.0.2/Doc/*.1” –strip-components=2 && sudo chown root:root /usr/share/man/man1/zsh*.1 More info here: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1242108 Workaround posted by Mike Chelen, from here: https://gist.github.com/mchelen/60b2853bf84117088662.js  

Why git diff shows nothing?

Short answer? You’re using it wrong or you mis-configured. It works but not as you think it does Most common. You expected something different. Perhaps you worked on Mercurial recently? Or perhaps you thought default behaviour should be something else in your case? This should help: By default it compares index and working dir, nothing […]