Unlikely Teacher

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

Entries Tagged as 'Programming'

Unable to read a jre library while constructing the blacklist

December 30th, 2009 · 2 Comments · Java, Mac OS X

Yesterday I started playing around with Google App Engine and Java. Today, when I tried upgrading the JDK/VM that Google App Engine is using from Eclipse Galileo to Java 6 in Mac OS X, I got the error below:
com.google.appengine.tools.development.agent.impl.BlackList initBlackList
SEVERE: Unable to read a jre library while constructing the blacklist. Security restrictions may not be [...]

[Read more →]

Tags: ··

Extra Space (20px) in iPhone OS 2.2.1 Nav Bar

July 1st, 2009 · No Comments · Objective-C

I currently have an iPhone application which has 4 tabs, when I click any of those tabs, the application should show a new view with a Nav Bar which then contains a table view.
My problem: there was blank space (about 20 pixels) showing between the status bar and the Nav Bar. I tried looking in [...]

[Read more →]

Tags: ·

Learn Objective–C on the Mac eBook for $10

January 8th, 2009 · 1 Comment · Books, Objective-C

For those interested in joining the IPhone development craze then this book might be the one for you.
You can get the eBook version from the Apress daily deal site for only $10 for the next 24 hours.

[Read more →]

Tags: ··

Flex/Flash navigation link problems in Mac OS X

November 14th, 2008 · 1 Comment · Flex, Mac OS X

I’ve had one of the weirdest problems last week when a friend reported that our newly designed navigation menu created in Flex was not working on her MacBook.
Basically, I had a couple of moving Flex Canvas’s where I attached mouse click events.

private function homeClicked(evt:MouseEvent):void {
getURL('/');
}

private function updatesClicked(evt:MouseEvent):void {
getURL('/category/updates');
}

private function [...]

[Read more →]

Tags: ····

Free Alternative to Flex Builder

September 26th, 2008 · 10 Comments · Flex, Tools

It’s been a long time since I last played with Flex. I feel like starting from square one.
This also means that I have a more difficult path ahead of me, with my Flex Builder trial license already expired.
Fortunately, it’s not that hard to setup basic mxml auto complete functionality with a plain Eclipse installation with [...]

[Read more →]

Tags: ·····

Mapping IP addresses to locations

August 8th, 2008 · No Comments · Programming, Tools

From the August issue of the JavaRanch Journal:
Have you ever wondered how some websites are able to determine where you visited from? It all begins with the IP address that you belong to when you connect to the internet. Every time you log onto the internet your ISP assigns an IP address to you. This [...]

[Read more →]

Tags: ·

Eclipse 3.4 (Ganymede) – Managing Extension Locations

June 26th, 2008 · 22 Comments · Programming, Tools

Upon installing Ganymede, I immediately tried looking for the “Manage Configuration” option to install the plugins I have configured in an “Extension Location”. (see Europa screen shots below)
Help > Software Updates > Manage Configuration

Add Extension Location

But to my surprise, that option is no longer available in Ganymede! Instead you need to click “Software Updates” menu. [...]

[Read more →]

Tags: ··

Does Certification Help?

May 21st, 2008 · 2 Comments · Dotnet, Flex, Java

I was recently asked by a fellow Ranch Hand (through Private Message) regarding my take on Certifications.
Subject:
Does Certification Help?
Message:
Hi, I have done SCJP, SCWCD and will now give SCBCD and then SCEA. You have done these certifications. Does these help in career? Which country do u reside and what technology u work on. Which technologies [...]

[Read more →]

Tags: ··

PDF Reader/Bookmarker based on AIR (A Failed Attempt)

May 9th, 2008 · 2 Comments · Flex

After seeing this sample application, I had high hopes in creating an AIR application which can load a PDF file, render it and have the usual Adobe Reader controls.
But the moment you try to close the application, it will save the current page you are reading and when you open the application again some time [...]

[Read more →]

Tags: ···

Adobe AIR for JavaScript Developers Pocket Guide

April 23rd, 2008 · 1 Comment · Books, Flex

This book has been released under Creative Commons License and is available for download…
Yes, for FREE!
Adobe AIR for JavaScript Developers Pocket Guide
You can checkout Mike Chamber’s blog for more details.

[Read more →]

Tags: ···