Archive for the ‘Uncategorized’ Category

Journalism sucks when it comes to computing

A very popular site rediff.com in my country is pretty much filled with some journalists who do not have any authenticity. To add more to the pain they seem to be people with terribly low IQ level. Lets dig into many recent articles on Bill Gates and his retirement saga.

It is hilarious that the journalist seem to be some ill informed a computer monkey who does not know anything about computers beyond a keyboard and perhaps some few word document tricks. Since when Gates became the Ultimate Geek? Ask Gates and I am sure he ll say No. He is a shrewd business man rather than some uber cool geek. What he did may be great, but lets not worship someone blindly. And same goes true for any other person related to computing be it Linus, Prof Don Knuth, great Alan Turing or John McCarthy. Infact this whole concept of blind following is not only pointless but it is also dangerous. People spread this dangerous stupidity across and then result in a steady unrest among different sects of computing. Example GPL vs BSD, Linux Vs Windows, Procedural Languages Vs Function Languages and what not. Let you be the sole decider for you. Why should you follow what some supposedly shoddy journalist( who does not even know basics of computers), dazzle you with few slides and impressive write up.

Another rather “big” example Vmware Vs Microsoft’s Hyper-V. Okay MS has released a hypervisor and has cleverly forged facts in its own favour but they in now way are a match to Vmware’s better products. All aritificially create hype around a lousy product to make sure they can make inroads into datacenters and workstations. Well what will happen is to be seen but still Hyper-V needs to do a lot of catch up. It will be great if MS developers can start improving techincally rather than spreading usual marketing shit, for which MS is world renowned.

Mr Gates are you listening?…oh nevermind

Advertisements

I want to use Linux(or not)

One of the interviewers in my recent appearance for a pretty big company landed me in a rather awkward situation. He gave me a big lecture on how GPL is not good for protecting IP of the company. And also how patents will be revealed if they release the source code for their software. BTW isn’t your patent available via google patent search?:)

Actually I felt like “Gosh! is this guy living in some prehistoric era or what?”. Seriously since when people have jeopardised their work by making their code GPL? Example see FsmLabs RTLinux. Or for that matter RCU mechanism in Linux kernel. Sure original companies have generously donated it but this makes it even more difficult to copy the patentable idea. Surprisingly they still want to use Linux kernel and thus use kernel but run closed drivers in userspace. Neat but horrible trick. It can be viewed as a classic example of what happens when some braindead management people start taking charge about techincal predicaments.

This brings us to yet another debate “Are software patents valid?” . My answer a big “NO”. Software patents are idiotic. Software/Algorithms is logically mathematics and patenting mathematics is ridiculous.

Imagine your kid comes to you and says – ” See Dad!, I found a way to solve this problem using my own Algorithm”. And you reply – ” Sorry Son, forget it… because my company has a patent on this Algorithm and thus you cannot use it, else you will be sued”.  “How do you know it Dad? “… “Because I filed it, Son”. Trust me he will curse you for a moment for filing that patent for something which is nothing but logically Mathematics.

Think over this.

Engineers Or Programmers?

Sometimes when i appear for a job interview something which pisses me off is the quality of questions some people ask. At times it is evident that they do not have even a clue what they are asking but still go ahead to show that “I am the boss now, because I am the one sitting in the chair now”.

That’s really disappointing. These so called technical interviewers are looking for programmers, even that would be a misnomer. What they are looking for are code monkeys, who cannot think. I want to work as an engineer not as a code monkey. Engineering is a subtle art which takes a lot of thinking and perservance to come by, while programming (no offence to any programmers out there), though art is different from engineering. Programming is like assembling a car, engineering is like building the parts for a good car.

Unfortunately what people expect in my country is employees who can program stupid tricky one liners under stress. Sounds gross, isn’t it? Since when programming became a 20-20 match of cricket. It is just like test cricket, beautiful but packed with finesse. What these people are looking for are some hotshots who have mugged few code snippets to weird puzzles. That’s not what gauges somebody’s true potential. I think the best way to gauge someone’s potential is to give a real life problem and ask the candidate to find a solution or rather debate a solution. That is what I will call engineering to some extent. Implementing ideas doesn’t take too much of time, it is the ideas which are hard to comeby.

I wish only if the companies realise this is this frenzy of hiring code monkeys.

Where is Ubuntu lacking behind?

Disclaimer:- I am kernel developer and  I use Ubuntu a lot, at home, at work , on my central repository and backup server.

This is not a rant, but a genuine flaw i have found in the Ubuntu’s armour.

The meteoric rise with Ubuntu is phenomenal, it is good for FOSS community, for people because it gives them a choice, for average joe user because it works without much fuss(mostly).

All is cool, ubuntu works great(tm), no problems.

Ubuntu seem to have got everything right for average users.

But it lacks when it comes to users who do not fall into the category of being average.Don’t get me wrong, I am not whining for stability issues at desktop. I am talking about people who use/want to use Ubuntu on servers or as a development environment. Assuming that Ubuntu follows Debain’s legacy of stability seems to be a misnomer at some places.

These places, are dark sides where very few lurk into.I am one of those and i found Ubuntu not up to the mark.

Ubuntu’s builds turn out of be buggy and these includes a lot of packages which would be deployed on a server.

Has ubuntu ignored that Linux(including Kernel and userspace tools) itself is a pretty stable?

I see this as a smaller part of the bigger picture.Ubuntu does not have privilige of company of same hackers RedHat or Suse has.Well this does not means that RedHat and Suse builds are bugfree.

Why does Intel’s Processors still suck

I am no fan of AMD, VIA or any other processor manufacturer. I use AMD at home and Intel at work. And in my experience AMD’s processors may have lost to reborn netburst architecture based Intel processors, they still are technically good for *me*.Why?

Here is the rant. Intel makes some really shitty processors as far as virtualisation is concerned(read VT technology in Intel lingo). Intel’s architecture allows only protected mode instructions to be virtualized and not the real mode instructions. This may sound like – “Okay, who cares about real mode instructions anymore? We all are using 32/64 bit protected instructions these days”. Thats right, but thanks to IBM and brethren we still have to rely on real mode instructions while booting initially. Many bootloaders which use some real mode instructions will not be able to do anything under guest virtual machines booting under a VMM.(e.g while installing a HVM Guest under XEN) The intial part of the setup to switch to a protected mode is done with the help of some real mode instructions and thus cannot complete resulting is a blank screen or an endless wait. Example :- You cannot install a guest from a standard Linux ISO, if the loader on ISO uses real mode instructions(BTW isolinux does use some AFAIR).

Fret not, there is a solution. Emulate, yes emulate every real mode instruction rather than virtualize under intel architecture. Sounds like suckage, yes it does. So somethings may work  and some may not depending on whether the instruction has been emulated or not.

FWIW, AMD has a better and clear virtualization capability, all instructions can be virtualized irrespective of the real/protected/legacy mode.

Using Gmail with claws-mail

claws-mail is certainly worth looking if you do not want to wander in frenzy of procmail, fetchmail, ssmtp and mutt.

Pretty lightweight, fast and nice support for a *lot* of features. Plugins are really good stuff. Gives a lot of flexibility. Freedom from HTML disease is soothing.

Good thing is it is snappy too.Though looks a little slow while fetching and especially during sending messages. But overall a good GUI mail client. Better than bloated Evolution and thunderbird.

GPL Vs BSD License

Disclaimer – I do not follow the religion(read Linux or BSD). I use Linux as an operating system by choice and not as religion.

A constant rift between BSD proponents and GPL proponents shows up almost every second week on Slashdot, osnews and where not.(even on freenode channels). Someone who has used both GPL and BSD licensed software for more than 4 years, i guess i am suitable enough to give a clear view for a newcomer.

Basic objection – BSD is more free than GPL and vice versa. Franklly thats ridiculous, because it depends on how you define “free”. If you want software to be free GPL is better than BSD. If you want use of software to be free BSD is better. So, see the whole point that X license is better than Y is moot here, unless you define the term “free” or for that matter any term which makes one license better than other.

Therefore on similar terms, proprietary license is better than GPL/BSD/MIT/Apache/XYZ in terms of “closeness” and “trade secrets”. The whole point boils down to fundamental reasoning of how you want a license to be employed.

Some people who write code get confused under which license should i publish my code, GPL or BSD? Well answer is simple. If you want it to be used by everyone and do not want your license to be a problem while it is being used in a closed sourced environment choose BSD. But if you want code to remain free, that is any modifications or linking to it should also be available like you made it available to the world, choose GPL.

I primarily gave my views on GPL and BSD, thus i am purposefully not including LGPL, AGPL, MIT, Apache License etc.

As a user i never cared what the license was as long as application was available to me and performed well. But once you start modifying the code , you ought to take into consideration of licensing issues.

So, next time you see a troll or a heated argument between GPL and BSD licensing proponents, you know what to do.