Tuesday, March 2, 2010

Why Open Source sucks.

Bewarned Open Source fanboys, I am most definitely prejudiced and biased against Open Source software, with a vengeance. Whatever I say and state in this blog is my opinion which you most certainly don't have to agree with. 

With that disclaimer out of the way, just to reaffirm my stand; Open Source Software sucks. I sincerely wish I could make an honest and genuine effort to try and convince you as to why I feel so, but from my experience talking to people about technology in general over the last 10 years or so has made me realize one very important point; (most) believers in the Open Source movement think of themselves as elitists of some kind or the other. They feel they have to do things differently, just because they can. If you try and reason otherwise, with a group of such people, be prepared to invite their disdain and repeatedly be called a "n00b".

And I say this out of experience as a geek, student and now a professional. I have tried on multiple occasions to dip my teacup into the simmering open source pool, to get a taste of some of the eclectic concoctions it claims to offer. However, time and again, I have had to try very hard to rid myself of the utter bitterness it left behind. Be it installing and using a Linux distro on my netbook for everyday use, trying and running some kind of an open source simulator in Linux for my assignments or getting an open source tool to work with or test an application I have developed...one word can sum up the collective experience; clusterf***. That is exactly how I end up feeling after trying to work with most open source applications.

Most. You see, until some time ago, I always used to try and justify the existence and general enthusiasm for open source software by its ability to get things done, even though I myself never found them to be less than painful. To the end user, it doesn't matter how it is done, as long as it is done. This thought process could justify using open source frameworks, applications and tools to build what the end user wouldn't have to see or interact with, the back-end. And this is true because it would be very difficult to find a website not running off of some permutation or combination of Apache, Drupal, MySQL, PHP etc. However, currently having to work with these very open source technologies to get the job done is proving to be akin to playing with a hornets nest. To be fair, there is a learning curve associated with any new endeavor you may set out on and although I don't have any real-world numbers to compare and contrast actual performance, I guess it would also be safe to say that open source applications are far leaner than their proprietary counterparts, and definitely cheaper (if not free). However, these advantages almost always come at a price. A price that is paid by the end user in terms of usability and a price paid by me as a developer in terms of compatibility and just getting things done. When this lean-mean-open-source-machine starts eating into your productivity, it becomes hard to justify its performance and cost advantages.

Let me give you an example. I had to test some scripts today. Normally, this would entail downloading and installing some executable the tool comes packed in and spending the majority of the time actually testing scripts. I would have positively wet my pants with joy if things had gone this way. Instead, I had to use an open-source tool (PHPUnit) to get the job done and at the end, I got everything but the job done! 

You see, after reading up on less than helpful (for the beginner) manuals and documentation, I realized I had to download and install the latest PHP binary on my machine to get PHPUnit up and running. After spending time reading up and deciding which one of the 4 available versions I had to get, I went along with the installation. But by now you'd have guessed it wasn't going to be that simple, right? Right! You see, for some inexplicable reason beyond the grasp of us mere mortals who haven't laid ourselves bare at the altar of the open-source gods, the installer package for PHP does not come with a library file needed to install PHPUnit, even though it is required, to go through with the installation! Maybe the elite open-source gurus found some way around using that particular library? Who knows (and cares!)...for not a single forum or board meant as a support resource for PHP knew jack-squat. It is by pure chance I figured out that the Zip package of the very same version of PHP, from the very same website contained the required file!! After extracting the files, I searched around for clues of anything remotely to do with PHPUnit itself. Nope. Nada. I apparently had to run some PHP script which would in turn pull out PHPUnit from something called a PHP Extension and Application Repository (PEAR) channel. However, some component needed to run PHPUnit had to be download from some other channel. I followed the steps to get the required components from both the channels. But it didn't let me. Apparently, the version of the PEAR installer I had (the version included in the latest binary on the PHP website FYI) was seemingly old. I first had to update it. And how do you update it? Call another PHP script that pulls out the latest version from some other PEAR channel!! I finally got, what looked like PHPUnit, running, after a good hour and 15 mins of scratching my hair and a lot of other things! Time I could have otherwise spent actually working.

And cases like this are far more the norm than the exception. There are very very few Open Source applications out there which are readily accessible, usable and supported by normal humans with normal IQ's. More often than not, you will be dealing with a project that some random whiz-kid with a lot of time in his/her hands started off to pass time. Add to this mix the contributions and extensions added by 200 other people, and you're left to deal with something that would make being shot point blank with a sawed off shotgun, after being run over by an 18-wheeler, feel positively refreshing and revitalizing.

I prefer interacting with simple clicky-pointy-GUI's over typing mind-numbingly complicated commands and arguments at the command line. I prefer double clicking the installer, have it do the rest and run the application, to extracting multiple tarballs, compiling code and running MAKE files to build and manage them and run 3 different scripts with 12 different arguments to update the application! I would definitely prefer clicking something and have it just...work, than to run something and spend hours trying to figure out how to get it to work. Why? Because I'm sane and normal, value time and want to get the job done.

Off to getting Apache solr working...



Monday, July 20, 2009

Dell Yinspiron put-it-back-together guide..


If it just so happened that you came across this blog while your laptop's LCD display decided to go hunting for the Yeti, and your laptop happens to be a Dell Inspiron 1520/1521 (and most recent Dell's), guess what?...you're in luck! What you'll see here is a step-by-step pictorial guide to pull apart/put together the display of your Inspiron. If the above is not applicable to you, but you'd like to see a laptop torn open...lucky you.

As always, I am not responsible for anything that may happen to you/your laptop, as a result of following this guide. If you still have any warranty left on your Dell, I'd recommend you get in touch with them (obv). That being said, if you're out of warranty AND are brave enough, you can follow this guide and save a ton of money and a good amount of time too. If you happen to be the user of a Sony or heaven forbid, an Apple laptop that is out of warranty...LOL...unless your local pawn shop is willing to trade-in human organs, you're better off buying a new laptop.

What I'm going to start off with is an already opened up display and try to put it back together. Obviously if you read the blog bottom-up, you'll get instructions to open up the display. In this case, I will be replacing the LCD power inverter in my display, but most of this guide is applicable to anything that might warrant opening up the display section (such as replacing the CCFL, the webcam unit etc.).

What you'll need is a Phillips head screw driver for opening up all but 3 screws. For the 3 screws that directly attach the inverter board to the rest of the LCD panel, you'll need the kind of screw head that most watch repairmen use. Since I'm not one myself and I don't know anyone who happens to repair messed up time-keeping devices, I went ahead and used a kitchen knife that was lying around.

What you'll need next is, obviously, a replacement LCD power inverter board. I bought mine off of flea-bay for less than $15 shipped. I've heard that Dell charges anywhere north of $100 and OEM boards cost around $50. Obviously I don't know how long my replacement board is going to last, but with my laptop already being about 2 years old, I'd much rather risk spending another $15 in the next few months and replace the laptop in another year to year and a half when it starts acting up, than spend a lot of $$ to fix it now. Replacement parts are aplenty for Dell's...so look around.

It took me a sum total of 5 minutes to get through the packing!!! :/


Bad inverter (top), Good inverter (bottom)


Ok, now the first thing you would want to do is pull out the laptop power cable and disconnect the battery.





Next, remove the display frame and keep all the screws ready (assuming you didn't throw these away in a fit of utter rage when your display bid you farewell..). And no, I did not use the frame as "scratch-paper". All that jibberish was already on there...


Now, place a newspaper, t-shirt or some other similarly soft material on the frame so that your LCD panel won't get scratched when you invert it and place it on the frame. Remove the old inverter board attached to the bottom of the LCD panel, held together by 2 tiny screws. This is where the knife/watch screw driver will be helpful.


Following this, plug out the power and interface cables from the old inverter board and remove the old board from the metal frame around it. You will have to unscrew one screw and carefully lift the board from the frame. You will encounter some resistance as a part of the board will be taped to the frame. I carefully ran the knife between the board and the frame to free it. You may also need to bend the small metal tab at one end of the frame to get the board out. 


Now, mount the new inverter board onto the frame, screw it in and connect the interface and power cable carefully. Note that both these cables will plug in correct only if inserted in one particular way. If you're encountering resistance, you're most likely trying to plug it in the wrong way. After this is done, mount the metal bracket (with the new board in it) back onto the bottom of the LCD frame and connect the thick cable at the back of it.


Now carefully line up the LCD panel screw-holes with the ones on the plastic back-panel. Do remember to plug the webcam/mic ribbon cable back in. This is a little tricky as the cable is a bit short and you need to carefully hold the LCD panel while fitting the cable. Once the cable is in the correct position, push the black tab on top of it so that the ribbon cable is held in place securely.


Once this is done, screw the LCD panel back onto the back-frame (4 screws on either side).





You may now clean the LCD panel carefully, if you choose to do so and attach the display back to the chassis. Be warned, little children might wet their pants upon seeing one of the pictures below and electronics and pee don't like each other...much.













Once the LCD frame has been secured onto the chassis via 4 screws (2 behind, 2 at the bottom)...you may now attach the bezel around the LCD carefully. Make sure it is firmly in place before you screw in the bezel.














You can follow this up by putting the rubber/mylar screw covers on the bezel.

Following this, you should route the mic/webcam cable carefully along the plastic channels provided and connect it to the motherboard. Follow this by carefully connecting the LCD interface cable to the graphics card onboard.














You can now attach the plastic panel on top the the keyboard. Now, attach the battery and do a diagnostic boot-up (Fn+Power button). Of note here; incase you didn't get a Dell OEM inverter board, the diagnostic test may spit out an error saying the inverter cable is not attached ( :| ). However, you can dismiss this since you're able to see the message in the first place!...which means the cable is very much in place and attached. Also, don't be alarmed if you see your screen or parts of your screen flicker...this should stop after a couple of minutes. Also, the screen may flicker again when you attach the power cable. Once again, don't be alarmed, it should stop on its own after a couple of minutes.














Once the tests are done and you don't notice anything abnormal (apart from the semi-retarded cable not being attached message), you're good to go! You may now proceed with setting your old power inverter board on fire (optional)!












I hope you found this blog useful!


Sunday, July 19, 2009

Yaaay!

I've got an invite to test/try out the new Office 2010 Technical Preview from Microsoft, sugar coated in 64 bit goodness! W00T! 



Now all I need is...a laptop to install and run it on... :/

Friday, July 17, 2009

Tis been a while!...

...indeed. It looks like my last post was in December of last year. Wow...that's quite a while! What's going on with me....

- My laptop's gone kapoot (the LCD power inverter and me decided to part ways because of irreconcilable differences...). My trusty,diminutive backup is faithfully feeding my Gmail addiction and will continue to do so until USPS feels that I've learnt my lesson and have turned into a good lil boy.

- I'm fed up with cooking. Since the past 3 weeks, I'm alternating between having cereal thrice a day to having a sumptuous peanut butter/Jelly sandwich at 3 in the morning!

- I'm totally demotivated, confused etc. etc. etc...and with my thesis defense sometime in the next 60-75 days, the timing couldn't be better!

- I'm searching for a job...........again, the timing couldn't be better!!

- I've got a new pair of sandals (blueee)!

- Pandora.com ROCKS!

- I'm beginning to like Pringles (Kickin' Cheddar) a lot...

- I'm bored....

- ...and now sleepy.

Thursday, December 25, 2008

No End in Sight


It's a must watch for anyone who wants to know WHY things are happening the way they are in Iraq. And, it's also a must see for anyone who's interested in watching the United States of America admit and accept to the fact that it f****** up...big time.

I've seen quite a few documentaries based on 9/11 and it's aftermath and I can say without much hesitation that this has been the most hard-hitting of them all. And this is not because of an expansive conspiracy theory laying the foundations for the film or emotional interviews and graphic depictions of war that would force you to have an emotional outburst for a few minutes, only for you to get on with your life after that. Instead, it has facts presented by the very same people who directly or indirectly, knowingly or unknowlingly helped orchestrate the farce that the war on Iraq was. With first hand admission of screw-up's by the who's who of the US intelligence and defence communities, it's hard to ignore what this documentary has to say.

To sum it up, it tells you how and why the Iraq war has proven to be a $1.8 Trillion dollar ugly mole, surgically implanted to scar the face of the US for a very, very long time to come. Plus, it justifies the throwing of boots on George W. Bush with aplomb. So, Mr.Rumsfeld, do you want a Prada or would Hush Puppies suffice? :)

Monday, October 13, 2008

I think I am...

...a loner. I always thought I was one, but I'm becoming increasingly sure of it with each passing day. Well, we'll just have to add that to my list of colorful qualities!

As per Wiki:
A loner is a label for a person who does not actively seek, avoids, or is isolated from human interaction. There are many reasons for solitude, intentional or otherwise. Various mental illnesses and social difficulties can be linked to reclusiveness; however no specific cause is implied by the term loner. The term loner is usually used with a negative connotation in the belief that humans are social creatures and those that do not participate are different. The label has often been applied pejoratively by the media to individuals deemed strange or pathetic. The loner may take pride in or be ashamed of his or her behavior.

I'm neither proud...nor ashamed.

Friday, September 26, 2008

Confused

I am confused! :|