Milinda Pathirage’s Blog

Let the code talk for yourself!

Entries Tagged as 'Uncategorized'

Getting Started with libusb on Ubuntu

November 12th, 2008 · No Comments · Uncategorized, linux

What is libusb?
libusb is a library which user level applications can used to access USB devices without worrying about the underlying operating system. Or we can see it as a high-level API which wraps low-level kernel interactions with USB modules and provide developer with the facility to implement device driver for a USB device from [...]

[Read more →]

Tags:

Unix Timeline

October 29th, 2008 · No Comments · Uncategorized

Unix Timeline Image

Unix History

[Read more →]

Tags:

Cloud computing is a trap, warns GNU founder Richard Stallman

October 1st, 2008 · No Comments · Uncategorized

I recently read this interview with Richard Stallman about cloud computing. In my personal beliefs, I think he has a point. By storing our personal data on other’s computers is a privacy problem and also we’ll lose control over our data. For example, we delete some personal data we uploaded to remote web server, how [...]

[Read more →]

Tags:

Writing simple Web Service and Client using WSF/PHP

September 17th, 2008 · No Comments · Uncategorized

Implementing Echo Service
Let’s write a simple web service using WSO2 WSF/PHP. This service will echo the incoming request to client. It will get the request payload from client and send it back to the client as the response. Example request and response:
Request:

<echo>
Hello World
</echo>

Response

<echo>
Hello World
</echo>

To write a Web Service using WSF/PHP you have to [...]

[Read more →]

Tags:

Beauty of Python Part 3: Eval & Exec

September 11th, 2008 · 1 Comment · Uncategorized

Eval
Eval function is a way of iteracting with the python interpreter from within a program. ‘eval’ function evaluates a string as if it were a Python expression. You can pass a literal, simple expressions, or use built-in functions as argument string.
But eval has security issues. If you pass string from untursted source, you may get [...]

[Read more →]

Tags:

Google is Going to Kill Firefox

September 4th, 2008 · No Comments · Uncategorized

Did you think what will happen to Firefox if Google Chrome become a hit. Read more about it on Samisa’s blog post ‘Google The KILLER’.

[Read more →]

Tags:

Best Free Wallpapers(High Resolution)

July 12th, 2008 · No Comments · Uncategorized

50 Remarkable Nature Wallpapers
“When it comes to beauty nothing can beat the beauty of nature. Although we, designers, can derive inspiration from almost everything, nature often manages to provide us with beautiful eye-catching perspectives we would never have explored otherwise. We have collected hundreds of wallpapers already (see links below). In this post we would [...]

[Read more →]

Tags:

Benifits of code review

June 27th, 2008 · No Comments · Uncategorized

Here is the Wikipedia’s definition for code review:
Code review is systematic examination (often as peer review) of computer source code intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers’ skills.
As explained in wikipedia, code review actually help us to identify mistake we [...]

[Read more →]

Tags:

Potntial problem that could effect the life of your laptop’s harddrive

June 24th, 2008 · No Comments · Uncategorized

While I am searching for a solution to resolve network related problem in Ubuntu, I found this page which is published by Ubuntu Laptop Testing Team. They has mentioned that there is a potential problem that could effect the life of your harddrive bug59695. Fix can found here.

If you don’t want to open up [...]

[Read more →]

Tags:

Beautiful Code - Gift from Google

May 22nd, 2008 · 1 Comment · Uncategorized

Today I received Beautiful Code book published by O’Reilly as surprise gift for Google Summer of Code 2008. I didn’t have much time to read through it, but I read the Foreword by one of it’s editors Greg Wilson.

Following paragraph from the foreword amazed me because it’s common problem with most of us who involved [...]

[Read more →]

Tags: