I’ve Moved

Thanks to all you guys who put up with all my rants and all… I’ve moved my blog to www.adg.uni.cc . Please update your links (and rss subscriptions)

No Comments

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

1 Comment

Objectivitis

Objectivitis. The one disease that almost all developers have these days. And it’s very dangerous , as an expensive health check up will not tell you about it.

If every time that you start developing a new application , you create a file “capplication.h” or “capplication.cpp” :


class CApplication
{
// .
// .
// .
}

Objectivitis!
The fatal disease of making everything an object / class. 

Please , you do not need a CApplication class (unless* you need to manage threads … or you’re making a game… or something similar). Oh wait … you do need a CApplication class … and a CITheDeveloper class … and … CGod . CGod creates an instance of CITheDeveloper , which creates CApplication. But wait. What created  CGod ? Why , CUnknown , of course! 

Creating too many classes leads to nothing else but confusion in your code. Additionally , it leads to a *lot* of wasted time. So please , stop coding CString** and do something more useful and productive.

*in which case , it should be named CApplicationManager , because the class is not your application , but a manager for it.

**usually a wrapper for the STL string functions. With some <string.h> thrown in. Oh , and which CString is complete without a custom CString.SuperReplace() ? :D

No Comments

Testing Testing 1-2-C

Just installed the CodeColourer plugin.
Here’s a test:

#include

int main(int argc,char *argv[])
{
printf("Hello World!\n");
return 0;
}

No Comments

Hello Linux!

“Hello Linux!” Today , I wrote my first linux (ubuntu , if you haven’t already guessed) program. And it was not Hello World or Hello Linux. Hello World … or similar programs are sorry little excuses of example programs. So … txcrypt … I’d love it if anyone could comment or offer suggestions … not on the program, but the style of coding and the options etc. — whether they are standards compliant or not (and where to find in general a Linux hacker’s coding style 101 guidebook).

txcrypt 9.05

linky:txcrypt-905

md5: 92d8fa92cd96533d65ef5d40499facf9  txcrypt-905.tar.gz

No Comments

An Image For Your Brain

dev-web-tme

No Comments

My Blog’s A Little … Off Colour … For Now

When I first installed this Mac-ish theme , I had half a mind to modify it into a Ubuntu sorta thing. Today I’ve officially started that… however , for now , you’ll have to do with a recolour only*. I’m working on the Ubuntu Human mod for this theme. It’ll use the Tango icons and the borders will be from Ubuntu Human…

*Can’t have people thinking that I’m a mac fanboy…

No Comments

Which Flame Warrior Are You?

If you’re a regular forum-er like I am , you would often have seen some rather unique characters hanging around your forum. These characters are very … um .. beautifully encompassed in Flame Warriors (by Michael Reed). Do check them out … they have a “definition” , as well as an accompanying illustration. Here’s a little sampling :

Propeller Head

Propeller Head

 

Tireless Rebutter

Tireless Rebutter

 

I’m told that I’m a Propeller Head , a Tireless Rebutter , an Ego(tist) , a Duelist and an Atheist. What are you?

Check out the entire list at http://redwing.hutman.net/~mreed

No Comments

What The Homwork

Arrgh… Little bits o’ homework pile up to a lot… why doesn’t someone tell teachers that.

(yeah , this is a lame excuse for not posting for so many days)

No Comments

India is a free country … not.

Due to an unfortunate turn of events , the Indian govenrnment recently “stopped” the OLPC (read One Laptop Per Child project) in India. Moreover , *most* indian schools use Windows , and other propertary software , which is 1) expensive 2) difficult to use. There’s only one reason that most people do not use linux (<name a distro>) — because , they think that a pc w/o windows is “broken”. If  ”people” are introduced to linux at the school level , they can get accustomed to it and learn about the advantages of OSS. An added advantage is that most OSS is “free as in free beer” , so the government run public schools can save a lot on licenses (not that they use … um… licensed copies?). OSS can be easily modified to the needs and requirements of the students. All this adds up to a *lot*. This is a very sorry state of affairs — OSS adoption in countries like Bangladesh is much higher than India.

No Comments