Category Archives: Other

Mac Book Air & WiFi Routers

Two days back, I got my ADSL router fried due to a near field lightening strike, and I had to replace the router. I bought a D-Link DSL 2750u and configured it, my MBA happily connected, and everything was working fine.

This morning, when I woke up, I was in for a surprise, because suddenly my MBA stopped recognising the WiFi Network. It sees all other WiFi networks, connects without any hiccups to those, but not this one. I tried the typical first aids – restarting router, restarting my laptop, no luck. My mobile and other devices can connect to the WiFi network without any problems, but not the Mac Book Air. At random times, MBA sees the WiFi network, but when I try to connect it says ‘A Connection Timeout Has Occurred’ (WTH?).

After few minutes spent on Google, saw that Apple devices are known to have some problems with particular WiFi Channels. I checked the WiFi Channel on my router and saw that it was set to AUTO. I changed it to Channel 6, and voila – the MBA see’s and connects to the WiFi smoothly.

So if you are facing any WiFi issues on your Mac devices, try changing the Wireless Channel. On my D-Link Router, it was found in the Administration Console under Wireless -> Basic Settings.

[2016/11/27] Update on TP-Link Routers:

My D-Link router got fried due to lightening, and I had to fallback on the TP-Link router that is provided by my ISP. When I started using that connection with my Mac Book Air, my WiFi connection started to disconnect every now and then. This was very annoying and the solution for this was to set the WiFi standard to 802.11g instead of ‘n’. Seems like ‘n’ doesn’t play well between Macs and TP-Link.

Nothing Personal; It’s Just Business

Recently, Apple informed that they will be deprecating the JDK in Mac OS X 10.7, code named Lion. With the history of Apple being indifferent towards Java as a platform (for example, not supporting Java on their i Platforms – iPhone, iPad), this is not a suprise move. To quote from the Apple release notes,

As of version 10.6 Update 3 of the version of Java that is ported to Apple (and consequently ships with Mac OS X) is deprecated. Apple’s port will not be maintained, and may be removed from future versions of Mac OS X. The Java runtime that ships with Mac OS X 10.6 Snow Leopard, and Mac OS X 10.5 Leopard, will continue to be supported and maintained.

A significant portion of Java development commmunity have been using Apple based products, and the JDK maintained by Apple supported the growth of this community. However, with Apple backing off their support in future Mac OS versions, this community will need to have another alternative coming up, hopefully, from the (now Oracle + IBM backed) OpenJDK movement.

As I see this, from Apple’s perspective, this is a “nothing personal, it’s just business” situation. With the success of Apple’s i Platform, what I see in this move is that they are attempting to bring in the i Platform based development into the arena of desktops and notebooks, so that they could expand their business on development platforms as well. May be someday in the near future, we might be able to witness the dawn of another development toolkit from Apple (probably based on the i Platform), competing with Java and .NET platforms.

Personally, I believe that the Java community will work out a solution to keep the Java platform running on Mac based products, but certainly, this will not have the same momentum as it had so far.

Note : Just to avoid confusion, the ‘i Platform’ that I refer to in this blog entry merely stands to represent the platform which is the basis for iPhone and iPad products.

Vim Quick Reference Sheet

The well known Vi editor, and it’s evolved counter-part Vim editor are well known among the Linux community. Most of us use these editors when dealing with server configurations, etc., in our day-to-day work. But most of the users (including myself) use only a very small subset of the capabilities of this simple, yet extremely powerful editor. Even the most sophisticated IDEs out there today still do not feature many of the facilities that has been there with Vi and Vim editors for a long time.

However, to get the productivity out of Vim, it’s essential to know what it’s capable of, and use those when possible. You have to memorize the key combinations to get things done, and a one page quick reference sheet would be the ideal solution. So I created the attached quick reference sheet based on an article found at TuxRadar. Initially I made this for my personal use (it’s pasted on a wall of my cubicle), but thought of sharing this. So here it is, the Vim Quick Reference.

Note that this contains only a very small portion of what Vim is capable of. But I have found this quite handy when dealing with most of the needs.

Download Vim Quick Reference Sheet 1.1 [PDF]

Migrated to WordPress

I migrated my blog from blogger ( to this new site, mainly because I thought of going for my own top-level domain, and to use WordPress for my blog. So from now on, I will be posting in this website, and I will remove the blog hosted at blogger in the future.

WordPress is fascinating, and it allowed me to install on my web server with absolutely no-pain, and also imported my old blog entries from blogger with just few clicks ! I am running on WP 3 beta 2 (UPDATE: Upgraded to RC1 just now 🙂 ), hopefully waiting for the 3 final release.

Hope to see you all hanging around here…

Where Do You Stand ?

I was busy applying for jobs, facing interviews, etc during the last period, and couldn’t find time maintain the blog (more than time, the problem was not having a free mindset). Anyways, now I’m back after the pause, and I hope to continue the blog as before. About employment, I joined JKCS (John Keells Computer Services) as a Solutions Developer (a.k.a. Software Engineer). JKCS is the leading IT Services provider for global aviation industry, in Sri Lanka. So I hope I will be developing software for airlines worldwide, for the coming years.

Now for the topic, where do you stand, according to the following picture? I received this sometime back through email, and it was quite funny, and somewhat true for majority in Software Industry.