Through The Wormhole with Morgan Freeman on Discovery Science Channel

June 16, 2010 | By Rakhitha | 1 Comment | Filed in: TV.

Are the wonders of our universe are cosmic accident or the results of intelligent design? For centuries religion and science were bitter foes. Now science actively searches for our creator. Some physicists think he is hidden in the math. Neurologists think she might be in our brains. Computer coders believe God is one of them, • Read More »

Tags: , , , , , , , , , , , , , , , , , ,

Fun with Java Reflections: Access Private Member Fields/Methods of other Classes

June 12, 2010 | By Rakhitha | No Comments | Filed in: Java Stuff.

This is a follow-up to my earlier post on Java Reflections.  In the earlier post I just showed how to invoke methods of an object dynamically using reflection. Here I am going to talk about accessing attributes of another object using reflection, with a little twist. Just like my earlier post I’ll start this with • Read More »

Tags: , , , , , , , , , , , ,

Java Core API: Introduction to Java Reflections

June 12, 2010 | By Rakhitha | 6 Comments | Filed in: Java Stuff.

Here is an exercise for you! Write a java program that take two or more command line arguments. 1st argument is a class name. 2nd argument is a method name. Rest of the arguments are string values to be passed in to that method. Your program has to load the class specified in first argument • Read More »

Tags: , , , , , , , ,

Java Zip API: How to Read a Zip File Using Java

June 11, 2010 | By Rakhitha | 3 Comments | Filed in: Java Stuff.

Java API give a very simple set of classes to deal with zip files in its java.util.zip package. I am just going to show how to access the content of a zip file using these classes. Basically in java point of view a zip file is a collection of zip entries. you just select the • Read More »

Tags: , , , ,

Me, My Self and Java

June 11, 2010 | By Rakhitha | No Comments | Filed in: Java Stuff, Me, Myself & I, Tech.

Programming is my main hobby. I wrote my first computer program when I was 11 years old. Then I was using GW BBASIC. Since then I have learned QBASIC, Pascal, Visual Basic, Perl, Java, PLSQL, C++,  PHP, C#, bit of Python and many other things over time. I screwed up  my A/L for it but • Read More »

Tags: , , , , , , , , , , , , , , , , , , ,

Should We Privatize Higher Education? – Is That Even the Real Question?

May 9, 2010 | By Rakhitha | 4 Comments | Filed in: Education, Me, Myself & I, Sri Lanka.

This is a response to post “???? ????????? ???????????? ?? ??????” in ‘Middle Path’ blog. I was originally going to post a comment to the same post but my comment turned out bit too long. Also I am no good at Sinhala written language (not proud of it by the way).  Therefore I ended up • Read More »

Tags: , , , , , ,

"The Man From Earth" – One of the Best Science Fiction Movies I Ever Watched

May 8, 2010 | By Rakhitha | 6 Comments | Filed in: Me, Myself & I, Movies.

What comes to your mind when you think of science fiction movies? Is it million dollar computer graphics, special effects, space ships, high-tech stuff, gibberish about Universe and Astrophysics, Aliens, Action, …..?. If that is what you expect from a science fiction, this movie is not for you. This one has non of that.  From start to end, there • Read More »

Tags: , , , , , , ,

Moved from Dialog ‘Unlimited’ Student Package to Mobitel Zoom 1290

May 7, 2010 | By Rakhitha | 6 Comments | Filed in: Me, Myself & I, Sri Lanka, Tech.

I was a happy customer of a Dialog Mobile Broadband Student Package for more than a year. In fact, after getting my student ID of the MSc program, first thing I did was signing up for a student package (So far its the only useful thing I got from this MSc). Signal reception was pretty damn low • Read More »

Tags: , , , , , , , , , , ,

Watched Green Zone :S

April 19, 2010 | By Rakhitha | 2 Comments | Filed in: Movies.

Sometimes you go in to the cinema with lots of expectations and come back disappointed and feeling like you have been fooled by a trailer that looks far better than the movie. Well this Saturday (2009-04-17) was one of those days for me. After watching Green Zone trailer, I went to see the movie with • Read More »

Tags: , , , ,

Free Tool to Bulk Convert JPG, PNG, GIF Images to PDF

April 14, 2010 | By Rakhitha | 3 Comments | Filed in: Tech.

WISH YOU A VERY HAPPY SINGHALA AND HINDU NEW YEAR!!! 🙂 This post is about a very simple tool that I wrote in 2007 when we were studying at SLIIT. I published this at the time on Google Code. But I noticed that not many people are finding it there. Thats why I am posting • Read More »

Tags: , , , , , , , , , , , ,