Top rated post today
- N/A




(5.00 out of 5)Size of the javascript files and css files in a website has a big affect on its performance. Especially in slow connections lot of time will be spent on downloading those files. We recently came across such situation. Our website was using jQuery and some other javascipt libraries. Some of them were more than 100kb. [...]
Wish You All a Very Happy and Prosperous New Year!May All Your Dreams Come True in This Wonderful Year… Sandarenu’s Blog
SDPs are commonly developed as core systems which interconnect different Telco network services and provide one unified access point for customers (application developers). This will reduce the application development cost rapidly and easy management of applications for the Telco. Even though SDP reduces the application development cost, still the most difficult part remains; which is the [...]
Last few weeks I was involved with a development related to SCTP protocol in Java. I have also done two posts on how to get started with SCTP. During that project I came across a strange issue. That is I receive two responses for all the packets I send to the peer. After doing some [...]
Shutdown hook is a mechanism provided by java for us to handle shutdown event of our applications. We can attach any piece of code to this and execute them just before JVM exits.public class ShutDownHookTest { public static void main(String [] args) throws Exception { [...]
Finally, a feature I was waiting for long time has been included to InfoQ. Now they give the mp3 files of the presentations posted in the site. Previously we had to use some tools to capture the streaming flash video and convert them in to mp3. Sandarenu’s Blog
JMX is a mechanism where we can used to monitor and control our java applications remotely. We can expose variables and methods to outside using JMX. To access these exposed variables or methods, we have to use JMX Client. JConsole is the JMX client application shipped with Java. It is a swing based application. [...]
InfoQ is a very resource full web site for anyone in the software industry. They have lot of articles, white papers, and presentations in various topics related to software engineering. Presentation videos found in InfoQ have being recorded during various conferences and are really useful. I really love watching those videos since it is great [...]
Few days back I came across this presentation at InfoQ site regarding "Eclipse, Mylyn and the TFI". I’ve seen the Mylyn view in the Eclipse and my idea about that was like some kind of a task management tool that comes with Eclipse IDE. After watching the vide my idea about Mylyn changed a [...]
As I promised in my previous article here is very simple Client Server example for SCTP in Java. If you still have not installed and tested OpenJDK please follow the instructions given in my previous article. SCTP Server import java.io.IOException; import java.net.InetSocketAddress; import java.net.SocketAddress; [...]
SCTP - Stream Control Transmission Protocol is a relatively new (standardize in year 200 by IETF) transport layer protocol to design to operate over IP. It is an alternative for TCP and UDP and combines many good features of those protocols. Main intention of developing SCTP was to cater the growing demand of IP telephony [...]
There were lot of good feed back for my OpenCV articles (Article1, Article 2). There were lot of inquires regarding Haar Training and how to do it. Since I was bit busy with my work at hSenind I couldn’t put any replies for that. Finally I managed to find some time to put together few [...]
Few days back I started to refactor some code of a project which I started few years back. Well actually I started working on that project during my second year first semester at the university. It is kind of a pet project which I started with one of my friends. When we started the project, [...]
This is nice presentation by Robert C. Martin posted at InfoQ. Here he talk about things that makes us professional. He talk about lot of important topics which help us to do better programming. If you are interested in programming this a going to be really really helpful for you.In my point of view it [...]
First release of the diGIT magazine was launched this month. It is a magazine dedicated for various stuff related to IT. This first release of the magazine is fairly large and rich in content ranging from introductory articles to advance stuff like Agent technology. So everyone from school children to university students can gain [...]
Around 6 weeks back I was working on a project that used JMS. Application needed to receive messages through an ActiveMQ queue and then send those as SMS messages to a SMSC. This message sending happens as a batch and I needed to get batch size of messages from ActiveMQ inorder to send. I used [...]
If you are a someone interested in computer programming, at some point of time you may have created a DB driven website. If you have done that you may know how difficult it is to create even a small website. Even with code generation facilities provided by IDEs and ORM tools like Hibernate you have [...]
Wish you all a very happy new year.May all your dreams come true in this wonderful year….
Year 2008 has almost came to an end. This is the best time to get started to welcome new year. As with last year I created a List of Sri Lankan holidays, which you can add to Outlook, Thunderbird or Google calendar.Outlook Holiday List– – – – – – – – – Start Copy – [...]
Few weeks back when we were testing a Mobicents application I came across a strange error from Spring.Warning parsing XML: XML InputStream(68) schema_reference.4: Failed to read schema document ‘http://www.springframework.org/schema/beans/spring-beans-2.0.xsd’, because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .Application was working [...]
Nautilus is the default file browser we get with Gnome. Today I found out about wonderful feature of it. We can very easily extend Nautilus functionalities by adding our own custom scripts. These scripts can be any executable file like shell script, python script or even C/C++ program. You only have copy your scripts to [...]
I managed to grab a copy of CodeWeaver’s CossOver software using their 28th October promotion campaign. For those who don’t know about CodeWeaver, they are the people behind the FOSS project wine which enables users to run windows applicaiton on their Linux boxes. CrossOver is commercial counterpart of the wine. The gave away $70 worth [...]
During last few days I was unable to do any blogging simply because I was too busy with my work at hSenid. I just started my first job at hSenid 1st of October and It was really wonderful. On the first day itself I was put in to a really challenging project. I had to [...]
Today I got to know about wonderful Firefox add-on called WiseStamp. It allows you to add nice HTML signatures to popular webmail services like Gmail, Yahoo, Live mail and AOL mail. This was a add-on I waited for long time. Some time ago I used Greasemonkey script to add HTML signature for Gmail. Now with [...]
[Press release from FIT anniversary celebration committee]
The Faculty of Information Technology (FIT), University of Moratuwa which was established in year 2001 is the only faculty of its kind, producing pioneers to the ever growing IT industry in Sri Lanka. With the rapid growth and expansion of the information technology, FIT provides immense service to [...]
Last few days I was doing some self learning on Servlets and JSP. After doing few examples using Text Editor, I wanted to see how to create dynamic website using Eclipse; my favourite IDE. I followed the instructions given in a article in IBM site. But when I try to start the Tomcat server from [...]
It seems yesterday that I first walked into the university, yet 4 and 1/2 years have passed. Exams of my final semester at university finished yesterday
It was a wonderful 4 1/2 years at FIT. I take this moment to Thank all academic, non-academic staff and my batch mates at [...]
I recently shifted to Fedora from Windows XP. In Fedora it did not give sounds when I was watching flash videos such as from YouTube in Firefox. It was a big problem for me. But after some research I found out that it is due to not installing a dependency library ‘libflashsupport’ with Adobe Flash [...]
Previously I posted on how to read data from Microsoft Excel file using Apache POI HSSF. This is a small addition to that.
If the Excel file you are to read is using ‘Date’ fields, then you have to be little careful about it. In HSSF these Date fields are taken as numeric fields. Anyway that [...]
Finally our final year project is finished. As I’ve promised in my previous post I’m going to do few posts on OpenCV. In this post I’m going to tell you how to configure MS Visual Studio 2005 to work with OpenCV library. Step 1: Installiny OpenCV First you have to download the [...]
It’s being nearly a month or so I’ve started using Firefox 3 browser. Yes it has lot of cool new features such as new address bar. But I’m having a big problem with new FF3. It is giving me "Network Timeout Error" all the time. I have to do multiple [...]
If you are using Gmail this may the security feature that you were looking for ages… Now Google let you monitor your account activities and Sign out remotely. This is very good news for people like me because I access gmail from multiple computers, including from the computers at university labs. Read more about this [...]
FormatFactory is a free application that can convert video, audio and images in to different file formats. It also supports batch file conversion as well. As reported by DownloadSquad is seems to be really good application.
OpenCV is an open source computer vision library developed by Intel. This library is written in C/C++ and it has lot of very powerful image processing features. I got to know about this library few months back when I was doing researches for our final year project. Our project "Sign2Voice" interprets signs of [...]
I just completed my independent study review paper. As the title suggests, it was about "Using Artificial Neural Networks to Solve Complex Problems". If you haven’t heard about neural networks before, they are a new approach for solve problem inspired by inner workings of human brain. In traditional computing we have to give step by [...]
This picture tells the whole story….
Well, what do you think about this….being punctual? I’m not sure about you, but I hate people coming late and not doing things on time. Especially in here most of the people don’t take this seriously, they never come on time. As an undergraduate I have seen lot of my batch mates coming [...]
Few weeks back I posted about that Sri Lanka being among the top ten counties in Google Summer of Codes 2008. But there is more good news. This time among top 10 universities. I’m very proud to see that University of Moratuwa(UOM) is the 1st among top 10 universities. This is a BIG BIG achievement [...]
Sri Lankan academic community is making its name more and more visible in the global arena. I saw this in the Google Open Source Blog which list out the top 10 countries at Google Summer of Codes 2008. It is very happy to see that Sri Lanka is among the top in both applicants [...]