20110930 RegExpert & its postmortem
I finally published my first game ever! It’s called RegExpert, and if you like regular expressions, you’ll love it! If you don’t, you’ll learn to love them both! Also, since every game must have one, I’ve also written a lengthy postmortem. It’s the first game postmortem I ever write too, so I’m not sure if [...]
20110803 Intriguing IntelliJ IDEA behaviour
Sometimes I type this in: ArrayList<String> out = new ArrayList<String>(); and when I come back to the code, IDEA has replaced it with: ArrayList<String> out = new ArrayList<~>(); Been looking for answers to this, but with no luck. Even more mysteriously, if I click over the tilde, it gets expanded back to String! IDEA is [...]
20101212 Instantanea
Instantanea is my latest invention. A simple camera application for Android devices, with an emphasis on speed and ease of use. I usually go around with a pocket camera in my bag, but since I got the Nexus One I’m tending to leave the camera home and simply use the phone to take pictures. But [...]
20101013 Event Listeners Day
I first stumbled upon this piece of code from the BluetoothChat sample: mSendButton.setOnClickListener(new OnClickListener() { public void onClick(View v) { // Send a message using content of the edit text widget TextView view [...]
20100605 Where is the JDK!?
/usr/lib/jvm/ has all the JDK’s you might have installed. For example, these are the contents of my /usr/lib/jvm/ folder: lrwxrwxrwx 1 root root 14 2009-11-01 11:19 java-1.6.0-openjdk -> java-6-openjdk drwxr-xr-x 5 root root 4096 2009-08-05 09:59 java-6-openjdk lrwxrwxrwx 1 root root 19 2010-05-03 20:27 java-6-sun -> java-6-sun-1.6.0.20 drwxr-xr-x 8 root root 4096 2010-06-05 [...]