Posts Tagged ‘Programming’

Scala reading content from the Web

Written on October 16th, 2009 by Thorno shouts

I use scala.io.Source in my previous post, and now I am going to show another usage of this util. Let’s write a simple RSS feed parser that reads feed from [...]

Filed under Programming Tags:,

PHP communicate with Java using JSON – Unicode Version

Written on September 28th, 2009 by Thor2 shouts

JSON is one of the most popular message exchange format nowadays used in web application.Most of the time,we used JSON as a communication message format between Javascript and Server side [...]

Filed under Programming Tags:, ,

Why do I practice pair programming?

Written on September 8th, 2009 by Thorno shouts

I used to practice pair programming in my previous job, when leading a team of 8 people and some of them are junior. The main reason I practiced pair programming [...]

Filed under Programming Tags:,

Say hello to Java and Scala

Written on August 30th, 2009 by Thorno shouts

Let’s write a legendary “Hello world” program in both Java and Scala language.
This is how we do in Java.

public class Hello {
public static void main(String[] args) {
  System.out.println("Hello world");
}
}
and [...]

Filed under Programming Tags:, ,

Javascript manipulating multiple cookie values in one cookie

Written on August 28th, 2009 by Thorno shouts

Sometimes,its convenient to store values in cookies and retrieve it later.But,when dealing with different browsers,you may have problems as different browser may support different numbers of cookies.For example, IE can [...]

Filed under Programming Tags:,