Help Baby Seals Who Are Killed in Canada

http://getactive.peta.org/campaign/seal_hunt_09

Did you know that the Canadian government allowed more than 205,000 seals to be killed in their last annual seal massacre? Most of these gentle creatures are just babies, and many are skinned alive on the ice while still conscious.

With all eyes on Canada as it prepares to host the 2010 Winter Olympics, the country should end the seal slaughter now so that the Vancouver Olympics aren’t tarnished. Write to the Olympic Committee and urge it to help end the seal slaughter now!

Please help protect the seals.

Naresh

*******************
With the start of the annual Canadian seal slaughter just a few weeks away, PETA took to the frozen Rideau Canal in Ottawa to help stop the killings. Skaters looked on in wonderment as activists recreated the “crime scene” from an attack on a baby seal. Check out these photos from the demo:

If you haven’t witnessed the seal slaughter firsthand, you’ll have to trust us that it looks a lot like this bloody mess—but with seal babies’ corpses and wailing mothers nearby.

A voice from above says: “Stop the Seal Slaughter!”

Lord knows you don’t want this muck on your skates—or on your hands.

*******************

HWSimulation Project and VS2008 IDE…

Well people, Product Management is a pretty boring job when looked at from a programmers/coders point of view. I am a programmer/developer/coder at heart and still try to catch up with different things whenever time permits me. From that angle, I have been in the product management sh*t for more then 2 years now. It is a very interesting job where you are able to do a lot of things which spans multiple projects, multiple organizations, hundred different teams and thousands of customers. But alas for a programmer, there is no coding in that job profile. Anyways, nowadays I have got some free time which I of course donate to satisfying the programmer inside me. Don’t ask me how I got the free time. I cut some time of gaming and some time off my sleeping. I also have automated some of the tasks that I have to do in product management and learned some good file organization skills which helps me find a lot of information faster then my fellow colleagues. So back to the scene, I fired up a copy of Visual Studio 2008 and thought of letting the fun begin.

But wait a minute, this is new. Nothing of it looks like the good old VS98. Hmm… the first change I notice is that there are a lot many new languages. Now I have worked a bit with VC# as well before some time so nothing strange there. First impression is that it looks good. I select the Visual C++ project and think about doing an MFC based application. The application I want to do is a nice Visio kind of application which has a stencil that allows you to drag and drop different entities (electronic components in this case) which can be joined by connectors. The file so generated should be saved in the form of an XML file. The application will also have a feature wherein it can generate code for the connector in C++. All the components will have a corresponding C++ class which makes the code generation easier (i.e. it would be a simple function which instantiates, supplies and calls functions based on the diagram). I have also plans to generate a make file which will help with the compilation and linking using any standard c++ compiler. This I have thought of as the first step. And now you would ask me how would it help? First of all it is fun. Secondly it will allow a person to simulate circuits and see how the output is affected based on a given input. Thirdly, there is another step which is described below.

The second step is to try to simulate the passing of the signals graphically through the whole circuit. For example, lets say you design a flip-flop (I have taken a simple example. The aim is to generate very large complicated circuits and then do the rendering and signal passing graphically). Now you give a 1 on signal A and 0 on signal B. It will go through each of the gates (basic components) and show the values from each of the gate as it is fed in and out of the whole circuit. You can send a stream of signals/bits or individual signals/bits to the whole circuit. It will also allow the user to visually see as to what happens if certain input is given to the circuit. It is complex and that is why it is the second step. If I am able to get the first step up and working correctly and I am still alive, then I will do the second step. The third step is to allow the user to package the components into another component (i.e. use a set of gates connected in a particular configuration as a Flip-flop and use the flip-flop as the base component for designing further complicated circuits). Of course all these should be visual and simple enough. I would like to get all the help I can so any of you other there wants to contribute to the project, I will place it up in Source Forge. I already have a project there http://sourceforge.net/projects/talkingclock which I can use to share the source code. Talking clock is made and available for you to download. It has bugs, it doesn’t have the features that I had planned for initially, but that is how it is.

So that said, coming back to the Visual Studio 2008, it is pretty good and a bit intriguing to a person who has directly jumped from VS98 to VS2002 to VS 2008. I didn’t use VS 2005 ever and maybe that is why I am a bit intimidated. I chose the MFC MDI application and followed all the default selections which pretty much satisfy my requirement for the time being. I gave it a go and voila, it looks great. But now comes the intriguing part. A lot of things have changed. I do not see a class wizard and I do not see a lot of other functionalities. Maybe they are hidden somewhere inside the cryptic IDE. That said, I will keep posting updates on how I am doing with the project. For the moment, I have build the basic classes for implementing the logic gates. I have also outlined a XML structure that can be used further on. It will evolve as I go along but for the moment it looks fine. I am now looking into the visual part and try to build a pluggable architecture which will allow others to write meta-classes/compoenents with/without exposing the classes/components on which it is built. i.e. if someone wants to code a 555 timer IC he can do that as a class with certain attributes, plug it into the GUI and let everybody use it. Tall claims haan.. lets see if it gets build up or goes to some level and then sees the dust and decay of time that has happened to some of my projects which I wanted to implement after I started working (after my academic life)…

 

Peace and love…

VirtualBox virtualization software…

Virtualization and its uses for a normal human being!

I was asked by my manager to look into virtualization in detail and how it can be used in our platforms. It is not that I am not aware of what virtualization is and what it can do, it is just that I was too lazy to do anything targeted towards it and I was a bit busy with a lot of other stuff (WDK, etc.). So the first thing I did was, yes you guessed it right, fired up google and searched for information about Virtualization. I was able to prepare a nice report for my boss. Then as I always wanted I started digging more into platform and Hybrid virtualization and how I can run multiple operating systems on my machine.

I am not new to VMWare player. I have used it in the past and very much appreciate the player as well as the appliances that are freely available out on their website. The only problem with VMWare player is the inability to create an image. Ofcourse all you VMWare proponents out there will immediately point out that I could use VMWare Server for that task and it is freely available. I would say, VMWare Server is freely available as in Beer. Try downloading one now if you don’t belive me. You will have to go through a long registration process and if you are lucky you will get registered or else you will just get a 404 on server and you will have to repeat the whole step again. I tried for a couple of times to register myself and then gave up. Anyways, it is a lot of hassels to download the VMWare Server if you want to create images. But wait a minute, I didn’t explain why I didn’t like readymade images.

Well as a matter of fact, all the VMWare images/appliances are really bloated with all the unnecessary stuff that I am never going to use. One appliance uses almost 10Gb of expensive harddrive space. And again, you cannot modify some of the basic stuff that the image has already selected for you. Try modifying the partitions or the file system formats and you will know what I mean. For example, the image is using an ext3 system and you would like to use LVM, you are fixed with VMPlayer. Either you discard the whole appliance and try to search and get the appliance that fits your need or use whatever is available. Again VMWare is pretty heavy on the resource usage. I am running Vista on dual core Intel 7200 (with VT-x disabled), 4MB of L2 cache and 4GB of DDR3, it is a pretty powerful machine. Still if I run the VMWare player or the VMServer on top of it, it goes a bit slow. As for VMWare server, during installation it tries to modify the IIS configuration files, etc. and takes a long time to install. Anyways, I don’t like it much so I wanted an alternative which is smaller and less resource hungry and allows me to do all the things that I want to.

So again I fired up google and searched. Microsoft showed up with Virtual PC 2007 SP1 and Virtual PC 2005 and being the microsoft fan that I am, I first went and downloaded VPC2007. Installed great. It just disconnected me for a moment from my internet as it was installing the network drivers but it promised a lot of things I wanted to do. I read a bit more about the VHD (Virtual Hard Disk) format that was supported by VPC and also read about its support to Microsoft OSs. Well thats when I created a VHD and thought of installing ubuntu on top of it. I mounted the disk, it showed up the installation menu and then no matter what I did, the VM crashed (not my machine but the VM with the VHD crashed). I searched the web again and people were able to run v6.0 on VPC. I wanted to go with a kernel greater then 2.6.26 so wanted to run the latest ubuntu 8.10. I tried the alternate CD and tried with the command line installation. But everything failed. I thought maybe that was a problem with ubuntu. So I downloaded fedora and openSUSE instead. But nothing worked. Some more searching with google and I was convinced that VPC is crap when it comes to installing and running other operating systems besides the Microsoft ones.

Really wonder why does MSFT have to do it? Anyways, I didn’t waste much time after that. Virtual Server was similar pain in the a**. Anyways I didn’t go much further with the installation. It was doing something with IIS and seemed to take forever. The easiest path for me was to stop the installation and rollback. I was disappointed but was sure that there must be something out there which can satisfy my needs. I found parallel technologies virtualization software workstation and server. The manual suggested that it has everything that I need but they required payment and are not freely available. I continued and found Virtual Box. And I have been a fan of Virtual Box VB ever since (i.e. last week).

The software is free for personal use. If you want to use it commercially, the source code is available, so just compile it and it is free for you to use commercially. But since my commercial work (i.e. my job) is a whole lot different then what I am doing, I am using this for my personal use. Anyways, putting that aside, the installer was around 40MB. Pretty fast to download and easy to install without any hassles. No computer restart requested and no warnings from my vista machine. I really doubted if it installed properly. I started it up and the user interface was quite simple. They even have a Wizard that can guide you to create Virtual Hard Drives (though they don’t use the VHD format, they have something known as virtual box hard drive vdi files. Haven’t gone into the details yet). So the first thing I do is install OpenSUSE 11.1 on the VB and it works like a charm. As I said, I have my VT-x disabled but still it does not have any performance degradation.

I tried with Fedora 10 and Debian 5, but these didn’t work properly. I was able to access the internet and everything else from the VM. Clipboard copying between VM(Guest OS) and Host OS (Vista in my case) is not supported in VBox. This is a feature that is supported in VPC but who cares. I can start an FTP server on the VM and connect to it using an FTP client on my vista and then transfer files. I haven’t done it yet but it can be done successfully. What else to say, I am happy. I am also going to have OpenSolaris on this machine and see how it works. Am keeping my fingers crossed. Thats it for today. Use VBox and emulate all the OSs you need. Now you can play the original prince of persia (monochrome based) on your vista machine. Before I forget, VBox also supports 32bit graphic modes whereas VPC is supporting on 16bit. And I know you are convinced that VBox is far more superior to VPC and if MSFT wants to really provide good technology, then convergence and acceptance of other OSs is the best way to go forward.

Cheers and peace V

What is Ramlinga Raju (Satyam Dude) Singing?

Okay the song goes on the tune of “My Name is Anthony Gonsalves” featuring Amitabh Bachan. Keep the tune and sing the following…

my name is Ramalinga Raju
main Satyam ka founder hoon
khaate(accounts) hai khaali, balance sheets jaali(fake)
satyam employees ki hai lagne waali..
jisne bhi yaad aaye, ga**d marne chale aaye
jisne bhi yaad aaye, ga**d marne chale aaye..
Hyderabad ki police chowki, jholi(ssorry…kholi) number 420

Arrrrrest me please!!!!!!

abhi abhi jail ke andar ek company kholi hai
investors ne bhi lagayi bad chad kar boli hai
jailor bhi raazi, qaidi bhi raazikab tak chalegi yeh jaalsaazi..
jisne bhi yaad aaye, ga**d marne chale aaye
jisne bhi yaad aaye, ga**d marne chale aaye..
Hyderabad ki police chowki, jholi(ssorry…kholi) number 420

If programming languages were religions…

Copied from: http://www.aegisub.net/2008/12/if-programming-languages-were-religions.html

“If programming languages were religions”
(Inspired by “If programming languages were cars”)

C would be Judaism – it’s old and restrictive, but most of the world is familiar with its laws and respects them. The catch is, you can’t convert into it – you’re either into it from the start, or you will think that it’s insanity. Also, when things go wrong, many people are willing to blame the problems of the world on it.

Java would be Fundamentalist Christianity – it’s theoretically based on C, but it voids so many of the old laws that it doesn’t feel like the original at all. Instead, it adds its own set of rigid rules, which its followers believe to be far superior to the original. Not only are they certain that it’s the best language in the world, but they’re willing to burn those who disagree at the stake.

PHP would be Cafeteria Christianity – Fights with Java for the web market. It draws a few concepts from C and Java, but only those that it really likes. Maybe it’s not as coherent as other languages, but at least it leaves you with much more freedom and ostensibly keeps the core idea of the whole thing. Also, the whole concept of “goto hell” was abandoned.

C++ would be Islam – It takes C and not only keeps all its laws, but adds a very complex new set of laws on top of it. It’s so versatile that it can be used to be the foundation of anything, from great atrocities to beautiful works of art. Its followers are convinced that it is the ultimate universal language, and may be angered by those who disagree. Also, if you insult it or its founder, you’ll probably be threatened with death by more radical followers.

C# would be Mormonism – At first glance, it’s the same as Java, but at a closer look you realize that it’s controlled by a single corporation (which many Java followers believe to be evil), and that many theological concepts are quite different. You suspect that it’d probably be nice, if only all the followers of Java wouldn’t discriminate so much against you for following it.

Lisp would be Zen Buddhism – There is no syntax, there is no centralization of dogma, there are no deities to worship. The entire universe is there at your reach – if only you are enlightened enough to grasp it. Some say that it’s not a language at all; others say that it’s the only language that makes sense.

Haskell would be Taoism – It is so different from other languages that many people don’t understand how can anyone use it to produce anything useful. Its followers believe that it’s the true path to wisdom, but that wisdom is beyond the grasp of most mortals.

Erlang would be Hinduism – It’s another strange language that doesn’t look like it could be used for anything, but unlike most other modern languages, it’s built around the concept of multiple simultaneous deities.

Perl would be Voodoo – An incomprehensible series of arcane incantations that involve the blood of goats and permanently corrupt your soul. Often used when your boss requires you to do an urgent task at 21:00 on friday night.

Lua would be Wicca – A pantheistic language that can easily be adapted for different cultures and locations. Its code is very liberal, and allows for the use of techniques that might be described as magical by those used to more traditional languages. It has a strong connection to the moon.

Ruby would be Neo-Paganism – A mixture of different languages and ideas that was beaten together into something that might be identified as a language. Its adherents are growing fast, and although most people look at them suspiciously, they are mostly well-meaning people with no intention of harming anyone.

Python would be Humanism: It’s simple, unrestrictive, and all you need to follow it is common sense. Many of the followers claim to feel relieved from all the burden imposed by other languages, and that they have rediscovered the joy of programming. There are some who say that it is a form of pseudo-code.

COBOL would be Ancient Paganism – There was once a time when it ruled over a vast region and was important, but nowadays it’s almost dead, for the good of us all. Although many were scarred by the rituals demanded by its deities, there are some who insist on keeping it alive even today.

APL would be Scientology – There are many people who claim to follow it, but you’ve always suspected that it’s a huge and elaborate prank that got out of control.

LOLCODE would be Pastafarianism – An esoteric, Internet-born belief that nobody really takes seriously, despite all the efforts to develop and spread it.

Visual Basic would be Satanism – Except that you don’t REALLY need to sell your soul to be a Satanist…

Keep in mind, this list is a joke, and is not meant to offend anyone. Also, if you’re a Muslim, please don’t kill me. 😉