Unlikely Teacher

1. Share Everything* [Programming Gotchas, Technology News, Insights on Living and Everything in Between]

Entries from March 28th, 2008

Time Unit Conversion in Java

March 28th, 2008 · No Comments · Java

Ever needed a utility which converts from one unit of time to another? Well with Java 5 and higher, you won’t have to create your own conversion routine any longer. Say for example you wanted to specify a value in seconds but the method you need to call expects a value in milliseconds (which is [...]

[Read more →]

Tags: ·

Sunday School Songs

March 26th, 2008 · 2 Comments · Sunday School

I’m thinking of buying either the Super Strong God DVD or CD online. Super Strong God DVD Hillsong Kids Super Strong God Our two-year old daughter learned about this from her Sunday school and she loves singing and dancing with it! I tried searching our local Christian Music stores and they said they only have [...]

[Read more →]

Tags: ·····

Easter Goodies

March 25th, 2008 · No Comments · Books

I just wanted to share with you some “goodies” I got from my new boss over the “Easter” weekend. Options, Futures and Other Derivatives Genius HS-02N (which is a replacement for my previous company issued Logitech Premium Stereo Headset) These items are supposed to make me more productive. So back to work I go…

[Read more →]

Tags: ···

Java vs C# – switch statements

March 19th, 2008 · 1 Comment · C#, Java

This is my first installment of a new blog series I’m planning to call Java vs C#. Today, I’ll be discussing the behavior of “switch” statements in both Java and C#. Consider this snippet for Java which prints out the values “1″, “2″ and “Default” when value = 1. Since I did not add “break” [...]

[Read more →]

Tags: ···

Mobile Phone eBook Reader

March 19th, 2008 · 2 Comments · Books, Library, Programming, Tools

A few months back, my friend and I were discussing about the possibility of creating a free eBook reader for Java enabled phones. We were both very busy during that time so we had to postpone that plan. This morning, while quickly browsing through the projects at java.net, I came across this link. EBookME is [...]

[Read more →]

Tags: ····

VI and Bash Tutorials

March 14th, 2008 · 1 Comment · Tools

No matter how hard I try to avoid command-line Linux/Unix, every once in a while, a project pops up requiring some basic VI and Bash skills. Every time I encounter these kinds of projects, I go straight in to Google and type “vi”. Well by blogging about it, I’m planning to just search for this [...]

[Read more →]

Tags: ···

Surf anywhere with your Laptop and Smart 3G

March 11th, 2008 · 3 Comments · Tools

THINGS YOU’LL NEED: 3G Capable Phone Computer (Laptop/Desktop) SMART Buddy Sim The following steps are specific to our setup. We used an LG KU250 Phone and a Windows XP OS. Installation procedures will depend on the model of your phone and operating system. STEPS: Enable Phone 3G Settings (Text “SET KU250″ to 211) Install and [...]

[Read more →]

Tags: ····

Java JDK/JRE Downloads for Mac

March 7th, 2008 · 7 Comments · Programming

Did you know that you cannot download a JDK or JRE for Mac from Sun’s website? Well I didn’t. This is because “Mac OS X is the only major consumer operating system that comes complete with a fully configured and ready-to-use Java runtime and development environment”. Taken from: http://developer.apple.com/java/. To download/update Java for different versions [...]

[Read more →]

Tags: ···