September 2008
Monthly Archive
September 23, 2008
OMG, I’m a Programmer
Posted by Rinaldi Sahputra under Life | Tags: light bot, programmer |[6] Comments
September 13, 2008
Hug a developer today
Posted by Rinaldi Sahputra under Life | Tags: developer, hug, youtube |[5] Comments
September 10, 2008
How to Ping a Server in Java
Posted by Rinaldi Sahputra under Java | Tags: Java, ping, server |[9] Comments
Thanks Réal Gagnon
import java.io.*;
import java.net.*;
public class ReachableTest {
public static void main(String args[]) {
try {
InetAddress address = InetAddress.getByName("web.mit.edu");
System.out.println("Name: " + address.getHostName());
System.out.println("Addr: " + address.getHostAddress());
System.out.println("Reach: " + address.isReachable(3000));
}
catch (UnknownHostException e) {
System.err.println("Unable to lookup web.mit.edu");
}
catch (IOException e) {
System.err.println("Unable to reach web.mit.edu");
}
}
}
September 10, 2008
September 2, 2008
Can’t wait to get my hand on this-supposed-to-be-great browser from Google. They say it will launch tomorrow, and if you don’t know anything about it yet, just read this this comic, you’ll be amazed guaranteed.
September 1, 2008
Continuous streaming with VLC
Posted by Rinaldi Sahputra under Application | Tags: continuous, server, streaming, vlc |[10] Comments
That’s when you want to stream multiple files continuously. By default, the stream will stop after one file.
Just add this to the end of the command : sout-keep
:sout=#duplicate{dst=std{access=http,mux=ts,dst=192.168.15.7:1234}} :sout-keep




