Power of 2

It’s been a while since I’ve done anything except write code – lots of it. The last 20 days have been insane, and ofcourse to a take a break from writing code, I like to read code that others write. (You DO know that I’m crazy, right?!). In one of my futile attempts at clearing my google-reader reading list, I chanced upon a post by Veerabahu, on finding if a number is a power of 2 (or not).

Read More

Unsigned Arithmetic

Since my last post, I’ve had a couple of replies, a few more tweets, and few minutes of talking about unsigned types in Java, and why it doesn’t support them. I still retail the view that unsigned types are unnecessary for the majority of Java developers. The only kind that should care, are those who deal with network information (like representing an ipaddress or macaddress). Everyone, put down your forks, and do not touch the unsigned.

Read More

Proposed GUI for C++ based twitter client

I got really sick of using Adobe AIR apps that take up more and more of system memory for an app that does twitter. I’ve decided to put my “coding for myself” hat on and write a QT based C++ application (that should be cross-platform). No name as yet, but I will find something soon. QtTwitter is taken. Mebbe, once I have a working version, I can get ownership of the project on google code.

Read More