My friend Paul from East Coast, forwarded this article to me in the morning. While I was reading it, I became, happy, sad was laughing around loudly in the BART train to office and also got thinking. Too many things in it from the experience of an engineer. Here is the article - The care… Continue reading Why Software Engineers are Grumpy?
Author: ashikuzzaman
Finding Union and Intersection of 2 Large Lists
One of my colleague who works on performance tracking and tuning of applications asked for some helped around how to find the union and intersection of large lists. He works mostly on Python and Perl. Being a Java guy, I prepared a sample program for him to do this allowing to determine the size of… Continue reading Finding Union and Intersection of 2 Large Lists
Removing an element from a Collection while iterating over it
Can you remove an element from a collection while iterating over it? Answer: No, you can't. What kind of error will you get in Java if you make an attempt? Compile time or Runtime? Answer: Runtime. The details of the exception will be as below. Check this along with a sample program that I wrote.… Continue reading Removing an element from a Collection while iterating over it
Waiting for NoteSlate
A few days back my Google Reader RSS Feed took me to http://www.noteslate.com and from then onwards NoteSlate is roaming around my mind. I believe Kindle solved my problem of reading books, iPad solved the problem of a personal organizer cum web surfing but none of them really addressed the issue properly of writing or… Continue reading Waiting for NoteSlate
I won the first round of the Chess Tournament in Salesforce.com
I played the first round of the four round chess tournament in Salesforce.com. I won with White, although I felt I am out of touch by a good margin due to the lack of practice. My opponent was Didier Prophete who is PMTS and sits in 3rd floor in the same building as I do.… Continue reading I won the first round of the Chess Tournament in Salesforce.com
Computers With Attitude
Small Java Program To Convert Unicode Character Filled Sentences To Native or UTF-8 Character Filled Sentences
My colleague John asked for a tool from me last week so that he can finish the translations / localization works that he was doing. To solve it in a lazy way, I did some google around a bit but couldn’t figure out any easy tool that will convert Unicode characters \uxxxx to native locales.… Continue reading Small Java Program To Convert Unicode Character Filled Sentences To Native or UTF-8 Character Filled Sentences
Salesforce Chatter Desktop and Salesforce Mobile
I just installed Salesforce Chatter Desktop and Salesforce Mobile. Interesting. If you want to download or know more, follow the link below. http://www.salesforce.com/chatter/desktop-mobile-collaboration/
Convert Http URL to Https URL – A Short Sample Code
Here is an example of how you convert an Http URL to a secured URL (Https). Here I am assuming the URL will be fully standard i.e. even the default port 80 will be written after colon as :80 and same for default https port :443. package com.google.test; /** * To compiple: javac -d .… Continue reading Convert Http URL to Https URL – A Short Sample Code
Replacing $ in a String in Java
I faced an issue in my project where we read a password for an admin user first from a file which has a dummy or wrong password written in it. Then I read the password from database and replace the dummy password with the real password that I get from Database. So the code was… Continue reading Replacing $ in a String in Java
How To Unescape HTML in Java
I was writing an Html unescape algorithm in Java today. What I came out with is the one below. There is a problem in the algorithm below that eats up some space or characters for some corner cases. Can you figure out what the problem is? I wrote the class in a way so that… Continue reading How To Unescape HTML in Java
Behind The Cloud by CEO Marc Benioff
Morning today when I walked into my cube in office, I found a copy of our CEO Marc Beniof's new book Behind The Cloud at my desk. I liked the chapter headings and the forward by Michael Dell. Just 2 days earlier a friend of mine forwarded me the article on some top paying fortune… Continue reading Behind The Cloud by CEO Marc Benioff


