Archives:

Three of My Posts are on Sunday Leader Web!

June 25, 2010 | By Rakhitha | 1 Comment | Filed in: Me, Myself & I.

After moving my blog to its new home I spent some time to figure out a way to improve search engine ranking of the new URL over the old URL. In the process I did some searches for term ‘rakasunivers’ on Google, hoping to find out places that are referring to my blog. And I found a pleasant surprise. Three • Read More »

Tags: , ,

Moving from WordPress.com to Own Hosting – Getting It Up and Running

June 25, 2010 | By Rakhitha | 5 Comments | Filed in: Me, Myself & I, Tech.

I just moved this blog to RaKasUniverse.info domain from a free blog at WordPress.com. When I moved the domain I also moved to own hosting. Reasons for this is not 100% clear even for me. I was a bit frustrated about not being able to install my own plug-ins, not being able to write java • Read More »

Tags: , , , , , , , , ,

Worshiping Sun God at Galle Face Green

June 21, 2010 | By Rakhitha | 1 Comment | Filed in: Environment, Me, Myself & I, Photography, Sri Lanka, Travel.

I captured this image with my mobile phone sometimes back (18-April-2010) when I was at Galle Face Green. I was just trying to capture the evening sky. I could not do a good job on it as the lighting was little low for my phone to handle and I was pointing the cam directly at • Read More »

Tags: , , , , , ,

New Domain, New Host, New WordPress…!

June 20, 2010 | By Rakhitha | 3 Comments | Filed in: Me, Myself & I.

Well, couple of days ago I felt like moving my blog off the free WordPress.com hosting. I did not have a real need of it, but I just felt bit restricted by all the restrictions there. Not that I could not live with those restrictions, but my mind just hit some kind of a critical point at which it made • Read More »

Tags: , , , ,

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: , , , , , , , , , , , , , , , , , , ,