Friday, October 29, 2004

ทำ เว็บให้มี excel

Excel 2000

ยังไม่ได้อ่านรายละเอียด แต่เก็บไว้ก่อน

จัดระเบียบพระห้ามเดินห้าง

www.thairath.co.th

มีพระชื่อ พระมหาโชว์ ด้วยแฮะ

อย่างนี้ต้องเอาของไปขายที่วัดเสียแล้ว เอ.. แล้วบ้านเราเรียกเป็นที่อโคจร หรือเปล่านะ

Friday, October 22, 2004

History & info - Overview of information about our year

History & info - Overview of information about our year

โลกเราหมุนเร็วขึ้นทุกวันๆ จริงด้วย

Our concept of a year is based on the earth's motion around the sun. The time from one fixed point, such as a solstice or equinox, to the next is called a tropical year. Its length is currently 365.242190 days, but it varies. Around 1900 its length was 365.242196 days, and around 2100 it will be 365.242184 days. (This definition of the tropical year is not quite accurate, see section astronomic issues for more details.)

Thursday, October 21, 2004

!:. ZoOLOo di .:!

!:. ZoOLOo di .:!

ไดอารี่ ของน้องต้อยติ่ง

Wednesday, October 20, 2004

query comparison

ทดสอบ query สองอันนี้นะครับ

select
count(*) as count,
itemid
from
stnreport
where itemid='1000000000000012289'
group by itemid

กับ สร้าง table ก่อนแล้วค่อย query

create table item_to_date
select
count(*) as count,
itemid
from
stnreport
group by itemid order by count desc

แล้วค่อย

select count from item_to_date where itemid='1000000000000012289'

ผลคือ
กรณีที่ 1 เวลาจะได้ผลนับ ใช้เวลาประมาณ 0.50 วินาที
กรณีที่ 2 เวลาจะได้ผลนับ ใช้เวลาประมาณ 0.02 วินาที (บางทีก็ 0.00 ไปเลย)

ดังนั้น กรณีที่สองดีกว่า ถึงแม้ว่าแต่ละวันจะต้องรันคำสั่ง create table โดยใช้เวลารันประมาณ 1.33 วินาทีเท่านั้นเอง คุ้มสุดๆ เพราะในแต่ละครั้งที่จะใช้ นับ ข้อมูล todate ก็จะใช้เวลาน้อยมากจนเกือบเหมือนไม่ได้ใช้อะไรเลยครับ จ๊าบจริงๆ

Tuesday, October 19, 2004

A couple of tricky questions!!!

A couple of tricky questions!!!

Question 1:

If you knew a woman who was pregnant, who had 8 kids already, three who were deaf, two who were blind, one mentally retarded, and she had syphilis.
Would you recommend that she have an abortion?

Question 2:

It is time to elect a new world leader, and your vote counts. Here are the facts about the three leading candidates:

Candidate A:
Associates with crooked politicians, and consults with astrologers.
He's had two mistresses. He also chain smokes and drinks 8-10 martinis a day.

Candidate B:
He was kicked out of office twice, sleeps until noon, used opium in college and drinks a quart of whisky every evening.

Candidate C:
He's a decorated war hero. He's a vegetarian, doesn't smoke, drinks an occasional beer and hasn't had any extramarital affairs.



Which of these candidates would be your choice?

Candidate A is Franklin D. Roosevelt

Candidate B is Winston Churchill

Candidate C is Adolph Hitler

And by the way:

Answer to the abortion question, if you said yes, you just killed Beethoven.

Pretty interesting isn't it? Makes a person think before judging someone.

Monday, October 18, 2004

idea a day

idea a day

web เจ๋ง ๆ แนะนำไอเดีย เด็ดๆ ในการทำสิ่งต่างๆ ส่วนมากจะเป็นการเปิดธุรกิจใหม่ๆ น่าสนๆ

Wednesday, October 06, 2004

เรื่องที่เรียนรู้วันนี้

1.การเขียนโปรแกรมสำหรับ multiple users มีสองแบบคือ
  • serially reentrance เป็นการเข้าทีละคน ต่อคิวกัน ถ้าคนแรกยังไม่เสร็จ ก็รอไป
  • parallely reentrance เป็นการเข้าทีละหลายๆ คน รุมกันเข้ามาใช้งาน

    เราต้องวางแผนการเขียนโปรแกรมก่อนซักหน่อย ให้มันมีผลกระทบต่อการทำงานน้อยๆ หน่อย ซึ่งต้องอาศัยประสบการณ์พอสมควร

    2.ความรู้ที่เราได้ มีสองแบบ
  • job content skill เป็นความรู้เฉพาะทางที่ได้มาจากความรู้ความสามารถเพียวๆ เช่นการเขียนโปรแกรม การออกแบบบ้าน การทำกับข้าว
  • transferral skill เป็นความรู้แบบที่สะสมไว้ได้ เช่น ถ้าเคยทำแล้ว คราวต่อไปก็จะนำไปใช้ได้อีกเรื่อยๆ เช่น เคยทำบริษัทมาก่อน ไปเปิดบริษัทใหม่ ก็มีโอกาสพลาดน้อยลง เพราะเคยทำมาแล้ว เป็นต้น

    คุณสุวิทย์ยกตัวอย่างเช่น บริษัทที่เปิดใหม่เลย กับบริษัทที่เปิดมาแล้วหลายปีแต่ขาดทุนทุกปี ถ้าบุคคลากรเหมือนกันเด้ะ บริษัทที่สองจะมีโอกาสสำเร็จมากกว่าเพราะมี transferral skill มากกว่า

    การมี referral skill ก็จะนำความรู้ หรือ อุปกรณ์ที่เคยมีอยู่ มายำๆ กัน repackaging มาเป็น product ใหม่ได้ เจ๋งดีนะ
  • และแล้วหนังสือรุ่นก็อยู่ในมือเราแล้ว

    วันนี้เป็นวันสำคัญวันหนึ่งที่เราต้องจดจำ

    1.เป็นวันเกิดเล็กที่เรียน เอสไอด้วยกัน

    2.เป็นวันที่หนังสือรุ่นเสร็จออกมาเป็นรูปเป็นร่างแบบใส่กล่องครั้งแรก

    ข้อสองเป็นอะไรที่เหลือเชื่อมาก อยากเอารูปมาลงโคตรๆ เพื่อแสดงความดีใจและฉลองหน่อย เอาแน่ๆ แต่รอก่อน

    ไปเอารูปที่ photo unique มา ทำไมมันไม่สวยอย่างที่คิดเลยไม่รู้ เป็นรอยๆ เต็มไปหมด แล้วก็ยังก้อบไวรัสลงแผ่นมาให้ด้วย ต้องระวังนะครับ คนไหนไปใช้บริการ เครื่องเค้ามีไวรัสเด้อครับ photo unique แถวสะพานควาย อ้อ พี่ๆ ช่วยลง ACDSee เวอร์ชั่นใหม่ด้วยครับ แหม ไม่โปรเลย