First Steps with Raspberry Pi

I received a Raspberry Pi as a gift (Thanks T.H!) last Friday and couldn’t wait to tinker with it. In case you are wondering,  Raspberry Pi is a credit card size computer that is going to revolutionize education & computing. Step 1 was a trip to Fry’s to pick up an SD card that would ...

NXT Virtual Piano – Fail! 1

Well, this was my plan – to create an extremely simple virtual piano with Lego Mindstorms, just by using the ultrasonic sensor in the manner below: To play the correct frequency for the detected key, I first tried a ladder if-then-else within the Mindstorms visual programming environment, and it absolutely tanked! For every if-then-else path, ...

jQuery Mobile alpha is released – and it is awesome! 2

Today, I casually went to see what’s new on jQuery mobile and was treated with a wonderful surprise. The alpha is released! I immediately fired up my stock browser on droid and tried it out. It is so beautiful and I can’t believe its not a native app! It worked great when the device orientation ...

Swype – don’t type!

I’ve never been excited about typing text on my mobile, but a new technology called swype well might change that, and I bet is going to revolutionize the way we all input text on mobiles. Unlike tapping a series of softkeys, you enter text by “connecting” keys. You should check out the demo videos! When ...

Profanity in Eclipse Plugin! 6

I was trying to associate specific file type with PHP editor when I noticed some profane text in Eclipse! There is a content type called “s**t happens”, tied to .sql files. Can you believe it? See screenshot.  I traced it to DBEdit plugin. I like humor in code, but I am strongly against profanity, even ...

Freeware, Shareware, Vaporware and now Socialware 2

You would have all known about  freeware, shareware and vaporware. I’m experimenting with a concept that I call Socialware - that is using software to help with social causes. While shareware is used by the developer to fund their developments, all proceeds gained by a socialware should go to a charitable cause. In addition, All ...

Project Euler Widget 6

Here’s a little widget I developed to show the ProjectEuler score on any web page, like the one seen on the right side of this page. To use it on your web page or blog, all you have to do is to insert the following snippet. <script src="http://www.geekraj.com/euler/euler.js" type="text/javascript"> </script> <script> var es = new ...

How to Test Functions that are NOT Predictable? 1

Recently, I wrote a Java Servlet for sending SMS messages. It had a method that communicated with a GSM modem connected to my PC. It was working fine – well, most of the time! Whenever you interact with a piece of hardware, or for that matter any external system, things can go wrong. A good ...

Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/74/14007374/html/domains/rajgeek/wordpress/wp-content/themes/montezuma/includes/thumb.php on line 222