Skip to main content

Java is dead?

During my college days, I had a gut feeling that Java would die pretty soon, but it wasn't. My reasons were:

  1. Java was locking me down on unnecessary OOP
  2. Too lengthy programming as in C++
  3. Slow JVM
After long time, my gut feeling is becoming true with reason #2 mentioned above. This space is now getting bitten by:
  1. Scala (pronounced skaa-lah or skey-lah)
  2. Clojure (pronounced closure)

Comments

Popular posts from this blog

Stampede and the "Dirty" "Dark" Crowd

Actor Ajith Kumar’s recent interview has sparked quite a few conversations on social media. The part that caught my attention, was his take on crowds. About 30 years ago, when I first joined a college in Madurai after growing up in other places, I experienced a few cultural shocks. Perhaps these weren’t unique to Madurai, but that’s where I first noticed them. One major thing that stood out was the behavior of crowds. For instance, if you suddenly see people rushing to board a bus, chances are there’s a pickpocket in action. During one of Madurai's annual festivals, I noticed some young men carrying water bags — not to distribute water, but to spill it on women, often on their chests. Shockingly, this was almost normalized; parents would quietly tolerate it to avoid public embarrassment, walking a little farther behind the crowd. When some women happened to witness this, they would just shoo the boys away instead of confronting them. The crowd, in such cases, became a kind of...

Converting PSD with PHP/ImageMagick

After seeing feature rich options in Imagick PECL extension at Mikko Koppanen 's (the author) website and also impressed with ImageMagick 's features, I have decided to use it for the PSD to XHTML conversion website that I'm architecting and managing. Since, the team wants programming help for converting PSD images, I have tried it (documentation is sparse on PSD handling) Converting PSD to PNG/JPEG/etc Note that, flattenImages() is needed for layered/multi-page PSD file. <?php $im = new Imagick('test.psd'); $im->flattenImages(); $im->setImageFormat('png'); $im->writeImage('test.png'); ?> Extracting PSD layers One by one <?php $im = new Imagick('test.psd'); $im->setImageFormat('png'); for ($i = 0, $num_layers = $im->getNumberImages(); $i $im->setImageIndex($i); $im->writeImage('layer' . $i . '.png'); } ?> Note that, there is a better version below In a single call with writeIm...

Shaping the Future: My Hopes and Dreams for My Children

I believe every parent has their own hopes for what their children might become, often shaped by personal experiences or insecurities. For instance, a janitor may wish for his child to achieve the success of his boss, and so on. My aspirations for my children stem from my own life and career experiences. There were many things I wanted to pursue but couldn’t, for various reasons. Over the years, I’ve suggested career paths to others based on their talents, and some have succeeded to the extent I anticipated. This gives me confidence in my ability to foresee what might be best for someone. For a long time, I’ve had ideas about my children’s future, and I want to put them in writing to see how things unfold. In short, I have a positive view of the freelance economy and royalty-based work. Royalty-based careers are a dream for many—creating something once and earning from it for a lifetime. I see similarities between Pillai and Heleena in how quickly they pick up new things. Pillai is a n...