Wow, can't wait. It'll be even better if we could spend two nights outside.
Tuesday, July 22, 2008
Sunday, July 20, 2008
Friday, July 18, 2008
Google Map API and Overlay code samples
map.setCenter(new GLatLng(49.496675,-102.65625), 3);
var geoXml = new GGeoXml("http://nigel.tao.googlepages.com/blackbirds.kml");
map.addOverlay(geoXml);
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(49.496675,-102.65625), 3);
var geoXml = new GGeoXml("http://api.flickr.com/services/feeds/groups_pool.gne?id=322338@N20&format=rss_200&georss=1");
map.addOverlay(geoXml);
Monday, July 14, 2008
But when the night goes deeper, it slowly gets quiet. Voices became softer and topics switched to more interesting topics like astronomy and the hiking trip itself.
It's the darkness and the stars above make the change.
The love of night.
And then comes a four hour bus riding in the dark. There is notying you could do but to think.
In the past week, what makes you happy? Unhappy? How can I make myself even happier.
That's the amazing nature of break.��
Sunday, July 13, 2008
On one hand, knowing that ten years later, they will never sing so loudly and be brought down by the weight of reality, I truly hope that tonight will be a night that they cherish in the rest of their life.
On the other hand, I'm seeing all kinds of military, commuist education signs and ideallism that'll frustrate them in the coming year.
The sunset is beautiful and wish everyone in this campsite have a good night.
And then comes a four hour bus riding in the dark. There is notying you could do but to think.
In the past week, what makes you happy? Unhappy? How can I make myself even happier.
That's the amazing nature of break.��
Thursday, July 10, 2008
When we look at 1.0 portals, it's editors who did the content compilation, organization and structuring. 2.0 leverages the "collective intelligence" to do part of the works in mainly two areas: 1) data generation in UGC; 2) data structure using tags.
With the wildly available apis, it might be a good idea to use semantic techonogy to pull contents together, use diferent mashup to glue them and offer in a new, rich and unique way.
TrueChina is shwoing a bit potential here. Let's wait and see how people likes it.
2. Easy, cheap internet connectivity. Every villiage could go online and use internet.
3. Garbage Processing Unit. more than 98% villages just throw garbages into rivers without any proper ways to process it.
Tuesday, July 8, 2008
Important Siege Configurations
Performance measures include elapsed time of the test, the amount of data transferred ( including headers ), the response time of the server, its transaction rate, its throughput, its concurrency and the number of times it returned OK. These measures are quantified and reported at the end of each run. The reporting format is modeled after Lincoln Stein's torture.pl script. This is a sample of siege output:
Ben: $ siege -u shemp.whoohoo.com/Admin.jsp -d1 -r10 -c25
..Siege 2.65 2006/05/11 23:42:16
..Preparing 25 concurrent users for battle.
The server is now under siege...done
Transactions: 250 hits
Elapsed time: 14.67 secs
Data transferred: 448000 bytes
Response time: 0.43 secs
Transaction rate: 17.04 trans/sec
Throughput: 30538.51 bytes/sec
Concurrency: 7.38
Status code 200: 250
Successful transactions: 250
Failed transactions: 0
In order to run a regression test or an effective internet simulation, you are going to have to run through the URLs on the server you are testing. To accomplish that, place the URLs in a configuration file. The default file is SIEGE_HOME/etc/urls.txt. In that file list the URLs one per line:
' -i '
' --internet '
This option is used with a configuration file, that is a file containing many URLs. With this option in place, each user randomly hits any one of the URLs in the file each time it hits the server.
' -t NUMm '
' --time=NUMm '
TIME, allows you to run the test for a selected period of time. The format is "NUMm", where NUM is a time unit and the "m" modifier is either S, M, or H for seconds, minutes and hours. To run siege for an hour, you could select any one of the following combinations: -t3600S, -t60M, -t1H. The modifier is not case sensitive, but it does require no space between the number and itself.