Why Java is slower than C++
Why Java application running so slowly
Make Java fast: Optimize
Friday, October 26, 2007
Friday, October 12, 2007
[howto] Excel: How to group rows
I had a big problem to calculate on the groups of rows in excel file.
For long time, I did do it manually. Many times, I wrote my own specific program to take care of this problem.
That was a stupid way.
Excel2003, Ecel20007 can group the rows for you.

want to know how, click here:
From Microsoft : full story
For long time, I did do it manually. Many times, I wrote my own specific program to take care of this problem.
That was a stupid way.
Excel2003, Ecel20007 can group the rows for you.
want to know how, click here:
From Microsoft : full story
Labels:
howto
Wednesday, October 10, 2007
Saturday, October 06, 2007
[10/05/07] Get WinSplit Revolution 1.8
Today WinSplit Revolution has been upgraded from 1.7 to 1.8
New Features
- Move window from screen to screen (multimonitor)
- Horizontal fuzion feature added
- Several bugs fixed
Wednesday, October 03, 2007
[10/02/07] Reboot Your Brain with a Caffeine Nap
Didn't get enough sleep last night? Grab a quick midday nap just after a cup of coffee. From Wired's How To wiki:
Scientists say that a successful midday nap depends on two things: timing and (no kidding) caffeine consumption. Experiments performed at Loughborough University in the UK showed that the sleep-deprived need only a cup of coffee and 15 minutes of shut-eye to feel amazingly refreshed.
From LifeHacker: full story
Thursday, September 27, 2007
[9/26/07] New Website Style
Monday, September 24, 2007
[9/23/07] GBOTS Conference
GBOTS: เป็นกลุ่มของนักศึกษาไทยในย่านบอสตั้น อันประกอบไปด้วย MIT, Harvard, Boston Univ., Northeastern, Univ. Massachusetts, etc
โดยรวมกันเพื่อแลกเปลี่ยนความคิดเห็นทางวิชาการ
ปี 2007 นับเป็นปีแรกที่ทางกลุ่มได้คิดจัดสัมนาทางวิชาการขึ้น โดยเชิญนักศึกษาและผู้ที่สนใจทุกสาขา ร่วมส่งผลงานวิจัยเข้าร่วม นักศึกษาบางคนได้รับเกียรติเสนอผลงานบนเวที ซึ่งส่วนใหญ่จะเป็นงานที่น่าสนใจและเกี่ยวข้องโดยตรงกับประเทศ เช่นงานวิจัยเรื่องไข้หวัดนก หรือ เรื่องของการประกันตน
ส่วนผลงานของนักศึกษาอีกกว่า 20 ผลงานเสนอเป็นโปสเตอร์โดยผู้ทำวิจัยยืนอธิบายอยู่ข้างๆ
SymbioticSphere ได้เข้าร่วมเสนอผลงานด้วย
หลังจากเสร็จสิ้นการสัมนา ผู้จัดสัมนาได้เปิดโอกาสให้ผู้เข้าชมโหวตให้กับโปสเตอร์และการนำเสนอ
ในสี่ประเภทประกอบด้วย
Most Creative Poster
Most Well Presented Poster
Most Interesting
Most Attractive Presenter
ผลปรากฎว่า SymbioticSphere ได้มาสองรางวัล

โดยรวมกันเพื่อแลกเปลี่ยนความคิดเห็นทางวิชาการ
ปี 2007 นับเป็นปีแรกที่ทางกลุ่มได้คิดจัดสัมนาทางวิชาการขึ้น โดยเชิญนักศึกษาและผู้ที่สนใจทุกสาขา ร่วมส่งผลงานวิจัยเข้าร่วม นักศึกษาบางคนได้รับเกียรติเสนอผลงานบนเวที ซึ่งส่วนใหญ่จะเป็นงานที่น่าสนใจและเกี่ยวข้องโดยตรงกับประเทศ เช่นงานวิจัยเรื่องไข้หวัดนก หรือ เรื่องของการประกันตน
ส่วนผลงานของนักศึกษาอีกกว่า 20 ผลงานเสนอเป็นโปสเตอร์โดยผู้ทำวิจัยยืนอธิบายอยู่ข้างๆ
SymbioticSphere ได้เข้าร่วมเสนอผลงานด้วย
ในสี่ประเภทประกอบด้วย
Most Creative Poster
Most Well Presented Poster
Most Interesting
Most Attractive Presenter
ผลปรากฎว่า SymbioticSphere ได้มาสองรางวัล
Saturday, September 22, 2007
ก้อนหิน และ ดอกเตอร์(ปริญญาเอก)
ในเมืองบอสตั้นรัฐแมสซาชูเสท
ถ้าข้ามฝั่งจากบอสตั้นไปฝั่งเคมบริดจ์ อันเป็นที่ตั้งของ มหาวิทยาลัยเอ็มไอที และ ฮาร์วาร์ด
ลองเดินตามท้องถนน
หยิบก้อนหินมาหนึ่งกำ
ปาออกไป
สักหนึ่งก้อนจะโดนหัวดอกเตอร์หนึ่งคน
เป็นดอกเตอร์ง่ายขนาดนั้น คนเป็นล้านคนในโลกเป็นดอกเตอร์
ไม่ต้องถามตัวเองหรอกว่าจะเป็นดอกเตอร์ได้ไหม ทำอย่างไรถึงจะเป็นด๊อกเตอร์ได้
เพราะมันง่ายเกินไป
แต่ต้องถามตัวเองว่า
จะเป็นด๊อกเตอร์ให้ดีได้อย่างไร
ปรมาจารย์กล่าว
ฟังแล้วคิดถึงบทพูดในหนังยุวชนทหารที่ว่า
ลูกผู้ชายเกิดมาไม่ต้องสนใจหรอกว่าจะตายที่ไหน เมื่อไหร่
แต่สำคัญที่ว่า จะตายเพื่อชาติได้อย่างไร
ถ้าข้ามฝั่งจากบอสตั้นไปฝั่งเคมบริดจ์ อันเป็นที่ตั้งของ มหาวิทยาลัยเอ็มไอที และ ฮาร์วาร์ด
ลองเดินตามท้องถนน
หยิบก้อนหินมาหนึ่งกำ
ปาออกไป
สักหนึ่งก้อนจะโดนหัวดอกเตอร์หนึ่งคน
เป็นดอกเตอร์ง่ายขนาดนั้น คนเป็นล้านคนในโลกเป็นดอกเตอร์
ไม่ต้องถามตัวเองหรอกว่าจะเป็นดอกเตอร์ได้ไหม ทำอย่างไรถึงจะเป็นด๊อกเตอร์ได้
เพราะมันง่ายเกินไป
แต่ต้องถามตัวเองว่า
จะเป็นด๊อกเตอร์ให้ดีได้อย่างไร
ปรมาจารย์กล่าว
ฟังแล้วคิดถึงบทพูดในหนังยุวชนทหารที่ว่า
ลูกผู้ชายเกิดมาไม่ต้องสนใจหรอกว่าจะตายที่ไหน เมื่อไหร่
แต่สำคัญที่ว่า จะตายเพื่อชาติได้อย่างไร
Learning by Doing
Quiz
Homework
Google Searching
Project
Reading Paper
...
Quiz
Homework
Google Searching
Project
Reading Paper
...
Quiz
Homework
Google Searching
Project
Reading Paper
อาจารย์ต้องจับ concept เรื่องที่สอนให้แม่น
สอนนิดเดียวแล้วปล่อยให้เด็กทำในห้องเรียน
กลับไปทำการบ้าน เนื้อหาที่อ่านเองหรือค้นคว้าเองได้
ก็ให้ไปทำเอง
ดูเหมือนจะสอนง่าย แต่ยาก
แต่ที่แน่ ๆ เป็นการฝึกนักเรียนให้ทำงาน ศึกษาหาความรู้ได้ด้วยตัวเอง
Homework
Google Searching
Project
Reading Paper
...
Quiz
Homework
Google Searching
Project
Reading Paper
...
Quiz
Homework
Google Searching
Project
Reading Paper
อาจารย์ต้องจับ concept เรื่องที่สอนให้แม่น
สอนนิดเดียวแล้วปล่อยให้เด็กทำในห้องเรียน
กลับไปทำการบ้าน เนื้อหาที่อ่านเองหรือค้นคว้าเองได้
ก็ให้ไปทำเอง
ดูเหมือนจะสอนง่าย แต่ยาก
แต่ที่แน่ ๆ เป็นการฝึกนักเรียนให้ทำงาน ศึกษาหาความรู้ได้ด้วยตัวเอง
Friday, September 14, 2007
Tuesday, September 11, 2007
Sunday, September 09, 2007
Distributed Systems: Introduction
Distributed Systems Principles and Paradigm
by Andrew S. Tanenbaum
Introduction:
From a machine that cost 10 million dollars and executed 1 instruction per second,
we have come to machines that cost 1000 dollars and are able to execute 1 billion instructions per second, a price/performance gain of 10^13.
If cars had improve at this rate in the same time period, a Rolls Royce would now cost 1 dollar and get a billion miles per gallon.
(Unfortunately, it would probably also have a 200-page manual telling hot to open the door.)
by Andrew S. Tanenbaum
Introduction:
From a machine that cost 10 million dollars and executed 1 instruction per second,
we have come to machines that cost 1000 dollars and are able to execute 1 billion instructions per second, a price/performance gain of 10^13.
If cars had improve at this rate in the same time period, a Rolls Royce would now cost 1 dollar and get a billion miles per gallon.
(Unfortunately, it would probably also have a 200-page manual telling hot to open the door.)
Friday, July 06, 2007
hyphenate document
Do any of the following:
Automatically hyphenate all of a document
On the Tools menu, point to Language, and then click Hyphenation.
Select the Automatically hyphenate document check box.
In the Hyphenation zone box, enter the amount of space to leave between the end of the last word in a line and the right margin.
To reduce the number of hyphens, make the hyphenation zone wider. To reduce the raggedness of the right margin, make the hyphenation zone narrower.
In the Limit consecutive hyphens to box, enter the number of consecutive lines that can be hyphenated.
Automatically hyphenate all of a document
On the Tools menu, point to Language, and then click Hyphenation.
Select the Automatically hyphenate document check box.
In the Hyphenation zone box, enter the amount of space to leave between the end of the last word in a line and the right margin.
To reduce the number of hyphens, make the hyphenation zone wider. To reduce the raggedness of the right margin, make the hyphenation zone narrower.
In the Limit consecutive hyphens to box, enter the number of consecutive lines that can be hyphenated.
Wednesday, June 27, 2007
PhD. คัมภีร์เทพ จากเจ้าสำนัก
ถ้าถูกถามว่าทำไม(why)ต้องใช้วิธีการวิจัยอย่างนี้
ให้คิดว่า เมื่อไหร่(where)ที่เราจำเป็นต้องใช้วิธีการนี้จริง ๆ
คิดในทางกลับกัน อาจจะง่ายขึ้น ถ้าคิดว่าเมื่อไหร่เราไม่จำเป็นต้องใช้มันเลย
ง่าย ๆ ลองตอบตัวเองว่า ทำไมต้องใช้ค่าเฉลี่ย ค่าเฉลี่ยคืออะไร ค่าเฉลี่ยหาได้อย่างไร
สามคำถามนี้ จะได้คำตอบไม่เหมือนกัน
Research Issues คืออะไร
คือผลบางอย่างที่เราไม่รู้ เราไม่รู้ว่าผลของมันจะะเป็นอย่างไร และถ้าเรารู้แล้วจะทำให้เกิดประโยชน์บางอย่าง
เราจึงจำเป็นต้องรู้ ด้วยการทำวิจัย
Related Work เขียนอย่างไร
เปรียบเทียบวิธีการ กับผลที่ได้ในเรื่องเดียวกัน
....
ให้คิดว่า เมื่อไหร่(where)ที่เราจำเป็นต้องใช้วิธีการนี้จริง ๆ
คิดในทางกลับกัน อาจจะง่ายขึ้น ถ้าคิดว่าเมื่อไหร่เราไม่จำเป็นต้องใช้มันเลย
ง่าย ๆ ลองตอบตัวเองว่า ทำไมต้องใช้ค่าเฉลี่ย ค่าเฉลี่ยคืออะไร ค่าเฉลี่ยหาได้อย่างไร
สามคำถามนี้ จะได้คำตอบไม่เหมือนกัน
Research Issues คืออะไร
คือผลบางอย่างที่เราไม่รู้ เราไม่รู้ว่าผลของมันจะะเป็นอย่างไร และถ้าเรารู้แล้วจะทำให้เกิดประโยชน์บางอย่าง
เราจึงจำเป็นต้องรู้ ด้วยการทำวิจัย
Related Work เขียนอย่างไร
เปรียบเทียบวิธีการ กับผลที่ได้ในเรื่องเดียวกัน
....
Thursday, June 14, 2007
Saturday, June 02, 2007
Friday, July 22, 2005
Average Hop Count of Platform
Now the average hop count from user to platform can be shown in simulator.xls.
Algorithm:
each the average hop count is calculated from each platfrom.
* Platform find the shortest hop count to user location. (in case there are many users).
Average platform hop count = Sumation of hop count of each platform / number of platform
Task:
Change agent migration policy to use healthy level
Algorithm:
each the average hop count is calculated from each platfrom.
* Platform find the shortest hop count to user location. (in case there are many users).
Average platform hop count = Sumation of hop count of each platform / number of platform
Task:
Change agent migration policy to use healthy level
Thursday, July 21, 2005
Simulator Update

Now, we can simulate
8x8 grid network static:
I believe the simulator can show 10x10 grid network.
* We can see in the picture that there are two users in node 0 and node 5.
Agents are divided to two groups to follow each user.
Agent Migration Policy:
value1 = getNodeRequestRateRatio(nodeId);
value2 = getNodePopulationDensityRatio(nodeId);
value3 = getWandering();
if ((maxScore > migrationThreshold ) && (this.energyLevel_>2000) ) return maxScoreNodeId; else return -1;
Task:
1] Change migrati0n policy to use healthy level instead of agent population
2] Number hops count between platform and user
Saturday, June 18, 2005
Subscribe to:
Posts (Atom)