Searching for latest technologies?
Custom Search

Thursday, July 30, 2009

Sri Lanka Postcode Finder

Now you can use "Sri Lanka Postcode Finder" which can be found on the right side bar, to find the postcode of your town, city, village...etc.
Hope this would help you a lot.


Sunday, July 26, 2009

How to put a background music in HTML

Here is a simple javascript which you can use to play a backgroung music on your html pages. In IE it works fine and for FireFox I just happened to host it locally for testing because the 'else' part in the script does not work with "file:///" protocol used in FF. So if you find an answer for that issue please let me know too.. Enjoy.!!

<script language="javascript" type="text/javascript">

if (navigator.appName == "Microsoft Internet Explorer")

{

document.write('<bgsound src="path/filename" loop="false">');

}

else

{

document.write('<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
Name="MediaPlayer"
src="path/filename"
autostart="true"
showstatusbar="0"
showcontrols="0"
showdisplay="0"
volume="1"
height="1"
width="1"
loop="false">');

}


src="path/filename", this path can be an actual or a relative path to the file. And the filename is including the extension. I tested it using a .mp3 file.

Julia movie song

"Julia" is a Sinhala movie which recently started screening in Sri Lanka, but don't know exact cinemas and couldn't watch it yet. So cannot put anything about the movie without watching it. I'm publishing this song just because I like it. Enjoy!!!




Wednesday, July 22, 2009

Widudahara



"Widudahara" is the first educational Web TV channel in Sri Lanka launched by University of Colombo School of Computing. Its main aim is to provide a stream of knowledge and give the maximum benefit of all sorts of resources of university to the community which will help everyone in the field of Information Communication Technology (ICT) to get thorough.

Since 22nd of May 2009, it’s at your service and it’s FREE !!! so go get the experience and make the best use of the UCSC TV. Enjoy…!!!



Tuesday, July 21, 2009

"2009 - Year of English & IT in Sri Lanka"
Mr.Bill Gates message




Hello! It’s a great privilege to join you by video to celebrate the “Year of English and IT Services” in Sri Lanka. I was very excited to learn about plans for the year which have a clear focus on IT, because this initiative demonstrates that His Excellency, President Mahinda Rajapaksa, and his government recognize the extraordinary potential that information technology has to dramatically improve people’s lives in the country.


Some of you may know that I now focus my full time work on the foundation. But I’m still very connected and very excited about the work going on at Microsoft. As I reflect on these thirty-three years of great innovation since Microsoft was started,I am amazed at how far we’ve come and the many ways in which IT is transforming how people live and work all over the world and the pace of progress continues to increase. The personal computer we have today is already over a million times more powerful than the original PC that Microsoft wrote software for back in 1981. I’m confident that even more dramatic changes are yet to come and that the future of technology will be far more exciting than even the past.


At the same time, it’s also clear that large segments of the world’s population have not reaped the full benefits of technology. Only about a billion of the roughly six billion people in the world have regular access to sophisticated forms of Information Technology. IT skills lag far behind where they need to be in an increasingly competitive and globally interconnected economy.


Sri Lanka has an advantage though, with a government that’s committed to investing further in IT, as outlined in President Rajapaksa’s vision statement. Like President Rajapaksa, I am optimistic that the country is poised for greater economic growth and development, and much of that will be fueled by the use of software and the power of IT. Sri Lanka’s high literacy rate, at over 90%, and its high standards of education and healthcare give it a strong economic foundation. The country’s IT literacy rate is nearing 20%, which represents a significant jump from 8% only a few years ago. English language speaking skills are also a crucial part of the foundation for future growth. I am pleased to see that the government has identified the importance of English language skills by declaring 2009 the Year of English and IT Services.


So, let me take this opportunity to congratulate President Rajapaksa for his leadership in declaring 2009 the Year of English and IT Services in Sri Lanka, and to wish those involved in the implementation of this very important initiative every success moving forward.


For its part, Microsoft stands ready to fully support the initiative and Sri Lanka’s broader IT-objectives over the long term. The theme of the work we do in Sri Lanka is “Creating Employability.” Through our Partners in Learning and Community Technology Skills Programs and our other initiatives, Microsoft has partnered with educational and non-governmental organizations in Sri Lanka to bring IT skills and training to over a million people across the country. These efforts have reached students, teachers, academia, rural communities, IT professionals, and migrant workers. To date, Microsoft has invested over 450 million rupees in Sri Lanka towards these programs and plans similar investments over the coming years. We have already made Windows Vista Sinhala enabled, and we are currently localizing our Office Suite for Sri Lanka.


Microsoft’s presence in Sri Lanka continues to grow in many ways, and we are committed to deepening existing partnerships and building new ones. Working together, there is a lot we have already achieved, and much more that we’ll accomplish in the future.


Thank you and good luck!


Sunday, July 19, 2009

KNOWING





Knowing


Knowing where and when the next accident is going to take place, how many people going to die, still he could not stop it. But WHY? Because it is written…
Due to the work load, studies… bla bla.. I couldn’t watch a movie for sometime…but yesterday I just had time to watch a movie called “Knowing”. Actually I watched it just because Nicolas Cage is one of my favourite best actors. However this movie made me write this simple note about it.

Knowing


"Knowing" tries to tell how the Earth is going to be destroyed and how a new world will start with human lives. Some friends say that it’s totally against the belief of Christians, the God created this world, because it shows some aliens kind of people coming down to the earth to take away children and put them in another earth like world. But using the same point some friends say that they are angels and it’s the story of Adam and Eve and the creation of the world. I don’t know what exactly was in the director’s mind. But I enjoyed the film very much.


Knowing


If you're interested just google, and below are some links I found…



Thursday, July 16, 2009

The link between the man & GOD




Here is a nice email which I received from one of my friends. It is a nice conversation between a professor and a student regarding the God and man’s faith. I just thought of sharing it with you all through my blog.

(I don’t think that I’m violating any copy rights by publishing this).

Enjoy….

Don't miss even a single word...

An atheist professor of philosophy speaks to his class on the problem science has with God, The Almighty.
He asks one of his new students to stand and.....

Prof: So you believe in God?

Student: Absolutely, sir.

Prof: Is God good?

Student: Sure.

Prof: Is God all-powerful?

Student: Yes.


Prof:
My brother died of cancer even though he prayed to God to heal him..
Most of us would attempt to help others who are ill. But God didn't. How is this God good then? Hmm?
(Student is silent.)

Prof: You can't answer, can you? Let's start again, young fella. Is God good?

Student: Yes.

Prof: Is Satan good?

Student: No.


Prof: Where does Satan come from?

Student: From...God....


Prof: That's right. Tell me son, is there evil in this world?

Student: Yes.

Prof: Evil is everywhere, isn't it? And God did make everything. Correct?

Student: Yes.

Prof: So who created evil?
(Student does not answer.)

Prof: Is there sickness? Immorality? Hatred? Ugliness? All these terrible things exist in the world, don't they?

Student: Yes, sir.

Prof: So, who created them?
(Student has no answer.)

Prof: Science says you have 5 senses you use to identify and observe the world around you.
Tell me, son...Have you ever
seen God?

Student: No, sir.

Prof: Tell us if you have ever heard your God?

Student: No, sir.

Prof: Have you ever felt your God, tasted your God, smelt your God? Have you ever had any sensory perception of God for that matter?

Student: No, sir. I'm afraid I haven't.

Prof: Yet you still believe in Him?

Student: Yes.

Prof: According to empirical, testable, demonstrable protocol, science says your GOD doesn't exist.
What do you say to that, son?

Student: Nothing. I only have my faith.

Prof: Yes. Faith. And that is the problem science has.

Student: Professor, is there such a thing as heat?

Prof: Yes.

Student: And is there such a thing as cold?

Prof: Yes.

Student: No sir. There isn't.
(The lecture theatre becomes very quiet with this turn of events.)

Student: Sir, you can have lots of heat, even more heat, superheat, mega heat, white heat, a little heat or no heat.
But we don't have anything called cold. We can hit 458 degrees below zero which is no heat, but we can't go any further after that.
There is no such thing as cold . Cold is only a word we use to describe the absence of heat . We cannot measure cold. Heat is energy . Cold is not the opposite of heat, sir, just the absence of it .(There is pin-drop silence in the lecture theatre.)

Student: What about darkness, Professor? Is there such a thing as darkness?

Prof: Yes... What is night if there isn't darkness?

Student : You're wrong again, sir.. Darkness is the absence of something. You can have low light, normal light, bright
light, flashing light....But if
you have no light constantly, you have nothing and it's called darkness, isn't it? In
reality, darkness isn't. If it were you would be able to make
darkness darker, wouldn't you?

Prof: So what is the point you are making, young man?

Student: Sir, my point is your philosophical premise is flawed.

Prof: Flawed? Can you explain how?

Student: Sir, you are working on the premise of duality. You argue there is life and then there is death, a good God and a bad God. You are viewing the concept of God as something finite, something we can measure. Sir, science can't even explain a thought. It uses electricity and magnetism, but has never seen, much less fully understood either one. To view death as the opposite of life is to be ignorant of the fact that death cannot exist as a substantive thing. Death is not the opposite of life: just the absence of it.
Now tell me, Professor. Do you teach your students that they evolved from a monkey?

Prof: If you are referring to the natural evolutionary process, yes, of course, I do.

Student: Have you ever observed evolution with your own eyes, sir?
(The Professor shakes his head with a smile, beginning to realize where the argument is going.)

Student: Since no one has ever observed the process of evolution at work and cannot even prove that this process is an on-going endeavor, are you not teaching your opinion, sir? Are you not a scientist but a preacher? (The class is in uproar.)

Student: Is there anyone in the class who has ever seen the Professor's brain?
(The class breaks out into laughter.)

Student: Is there anyone here who has ever heard the Professor's brain, felt it, touched or smelt it? No one appears to have done so. So, according to the established rules of empirical, stable, demonstrable protocol, science says that you have no brain,sir.
With all due respect, sir, how do we then trust your lectures, sir?
(The room is silent. The professor stares at the student, his face unfathomable. )

Prof: I guess you'll have to take them on faith, son.

Student: That is it sir.... The link between man & god is FAITH. That is all that keeps things moving & alive.

this is a true story, and the
student was none other than......... . .


APJ Abdul Kalam , the former president of India .

Wednesday, July 15, 2009

Web Pre-Fetching





Nearly two decades ago with the introduction of the "World Wide Web" (WWW), much of the world's economy, culture, business, etc all were e ected heavily by WWW and will continue to do so. Due to the fast development of internet services, heterogeneous network connectivity, real-world distances, congestion in networks or servers and a huge amount of network traffic, now it is becoming "World Wide Wait" and can contribute to this less-than-speedy web experiences.

According to the 8-second rule if the web page load-time exceeds eight seconds (now it is said to be 8 ± 2 seconds), users are unlikely to wait, or stick around, for its completion. So it is becoming an essential issue to reduce World Wide Web user-perceived latency. Though the caching gives a solution to this the bene t of caching is limited due to the rapid changes of network resources. The maximum hit rate achievable by any caching algorithm is just 40% - 50%. Therefore the need for a better solution led people to think of a way to bring the web resources to the client side in advance so that the clients' requests can be responded locally. This is what we call "Web Pre-Fetching".

The goal of "Web Pre-Fetching" is to improve the quality of the Internet Services by reducing the World Wide Web user-perceived latency. In other words, reduce the web page loading time by pre-loading the local cache by pre-fetching the web resources in advance and serve the requests through the local cache.

In web prefetching the web resources/objects are prefetched from the web servers in advance that the user is likely to access in the next moment. So that the next requests can be handle locally and therefore the user would not experience any delay in page loading. Nowadays in most web con gurations, a proxy server exists between client browsers and web servers. Therefore most web pre-fetching is caching proxy servers so that those proxy servers can serve clients requests. However, even caching browsers is also possible (e.g.Link prefetching).