Archives: Tech

Nuclear Fusion in a Cookie Jar

September 5, 2011 | By Rakhitha | 1 Comment | Filed in: Tech.

World is running out of its energy sources. Most recent breakthroughs were simply efficiency improvements. Most renewable energy approaches such as solar, wind… are not capable of supplying for mainstream demand. Also most of them consume wast amounts of land and don’t even produce energy all day long. Nuclear fission is risky and ever decreasing in popularity. One • Read More »

Tags: , , , ,

Electronic Billing Proof, Anyone?

August 11, 2011 | By Rakhitha | No Comments | Filed in: Environment, Go Green, Me, Myself & I, Sri Lanka, Tech.

These days you need billing proof for everything. Good old days of opening a bank account with just your ID and money is long gone. I was lucky enough to have my first bank account and my prepaid phone connection that way. In case you don’t know, billing proof is a piece of paper which has your • Read More »

Tags: , , , , , , , ,

How to do Facebook/Gmail like Page Loads/Updates using IFrames and JavaScript

May 22, 2011 | By Rakhitha | 8 Comments | Filed in: JavaScript, Tech.

You may have noticed how websites like Facebook and Gmail load/update pages on browser without actually reloading the entire thing. It can come handy in your own websites specially when you need to change a small potion of the content that is already shown in the screen. Or you need to change the data shown • Read More »

Tags: , , , ,

Few Tips to Protect Your Site/Blog from Attacks and Other Mishaps!

March 12, 2011 | By Rakhitha | 1 Comment | Filed in: Tech.

When you run a website or a blog, it is partly your responsibility to keep it safe. There are many ways that a web site can be attacked. Some attacks focus on infrastructure such as network and servers, and some focus on the web application itself. When it comes to attacks on infrastructure it’s service providers job • Read More »

Tags: , , , ,

Is Democracy Being Flushed Down the Drain in Sri Lankan Blogosphere Or Are We Just Playing Naive?

March 9, 2011 | By Rakhitha | No Comments | Filed in: Me, Myself & I, Sri Lanka, Tech.

For many countries Internet, World Wide Web, social networks, blogs are the strongholds of democracy. In recent events in middle east they have served as the last line of defense for democracy, allowing it to fight back dictatorships and totalitarian societies. But Sri Lankan blogosphere seems a little different. It appears that some people thing that it should be more totalitarian than the Sri Lankan Society • Read More »

Tags: , , , , , , ,

Back From a Mini-Disaster!

February 11, 2011 | By Rakhitha | No Comments | Filed in: Me, Myself & I, Tech.

In  case you haven’t noticed this site was off the web for about a week from 21st January 2011. When I first noticed that it’s not there, I didn’t bother much as it could be a very short outage that happen once in a while with my hosting provider. However I got a bit nervous when I • Read More »

Tags: , , , , , , ,

Stream Live Videos With Your Mobile Phone and Ustream!

January 12, 2011 | By Rakhitha | 1 Comment | Filed in: Sri Lanka, Tech.

Imagine you are having an event / gathering which you would like to stream over the web! Ustream might be service that you are looking for. It is a free service that let you stream and record an audio/video feed online. It basically download a small flash app in to your client computer and let you stream • Read More »

Tags: , , , ,

A Case For Going Hybrid!

January 7, 2011 | By Rakhitha | 2 Comments | Filed in: Environment, Go Green, Me, Myself & I, Sri Lanka, Tech.

These days there is a bit of a hype about hybrid cars, mainly fueled by slashed tax. Of course they come with an interesting promise. But can we really utilize its full capacity? Main benefits of hybrids are ability to run more on less fuel, or reduced cost per km and reduced carbon footprint. This is achieved in two ways. By • Read More »

Tags: , , , , ,

Automatically Add Name Attribute for Google Syntax Highlighter

July 12, 2010 | By Rakhitha | 7 Comments | Filed in: JavaScript, Tech.

If you write programming related posts in your blog, you are most probably using Google Syntax Highlighter to highlight your code snippets. In case if you don’t, it’s a set of javascripts that allows you to add syntax highlighting for source code that you post on your blog. It supports a large number of programming languages. After • Read More »

Tags: , , , , , , , , ,

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

July 11, 2010 | By Rakhitha | 5 Comments | Filed in: Java Stuff, Tech.

This is a follow-up to my earlier post “Java Zip API: How to Read a Zip File Using Java“. This time it’s about how to create a zip file using Java. This is even simpler than reading a zip file. Following is a very simple example which create a zip file named RaKasUniverse.zip. Inside that • Read More »

Tags: , , , , ,