Wednesday, January 10, 2007

Installing Ruby on Rails for Windows

1. Check if Ruby installed.
ruby -v

2. Check if RubyGems installed.
gem --version

3. If Ruby is not installed, then get the latest Ruby distributions version 1.8.5. Can be download from http://www.ruby-lang.org/en/downloads/


powered by performancing firefox

Monday, January 08, 2007

cidaemon and indexing service


SYMPTOMS
If you are using a Windows XP-based computer, the computer may run slowly. Additionally, you may see the following symptoms in Windows Task Manager: • The current CPU utilization is high.

CAUSE:
This issue can occur if the Indexing service is running on the computer. The Indexing service uses the Cidaemon.exe process to index files. The Cidaemon.exe process builds and updates the Index catalog. Additionally, the Cidaemon.exe process typically uses lots of pagefile space and lots of CPU time. Back to the top

RESOLUTION:
To resolve the issue, turn off the Indexing service. To turn off the Indexing service, follow these steps:
1. Double-click My Computer, point to Explorer Bar on the View menu, and then click Search.
2. Click Change preferences, and then click Without Indexing Service.
3. Click No, do not enable Indexing Service, and then click OK.
How to solve problem caused by cidaemon

Saturday, January 06, 2007

Acronis True Image Home

Web site ของ ผู้ผลิต Lastest version : Acronis True Image 10 Home

Acronis True Image 10 Home creates the exact copy of your hard disk and allows you to instantly restore the entire machine including operating system, applications, and all the data in the event of a fatal system crash or virus attack — no reinstallations required!

With the new version you also can easily back up your music, video, and digital photos, as well as Outlook e-mails, contacts, calendar, tasks, and user settings with just a few mouse clicks!

1. Create Bootable Rescue Media

2. backup
- Select Create Image
- Select Start Now
- ป้อน Location และ Name ของ Image file
- Create the full backup
- เลือก Fixed size และ CD Drive

3. Restore

Unattended Windows Setup Disk

Target folder : C:\XPCD
SlipStream service pack 2
C:\XPSP2.exe -s:C:\XPCD

Create the unattended Windows setup disk
1. Setupmgr.exe
1.1 ก๊อปปี้ไฟล์ชื่อ DEPLOY.CAB ซึ่งอยู่ที่ Support\Tools\ จากแผ่น Setup
1.2 unzip DEPLOY.CAB
2. run setupmgr.exe
3. Rename answer file unattend.txt to winnt.sif

Friday, January 05, 2007

Ruby

Ruby on Rails 1.1.6
Needs
1. Ruby. 1.8.5 is recommended for use with Rails.
2. RubyGems(package manager)

See the instructions here

Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, Apache, and MySQL, all pre-configured and ready to run. No installer, you simply drop it into the directory of your choice and run it. It does not modify your system environment.

Instant Rails 1.4 2006-10-09 00:16
InstantRails-1.4-win.md5 164 bytes 3,044 Any Other
InstantRails-1.4-win.zip 58.59 MB 40,885 i386 Source .zip
How to use Acronis True Image

Aesops

1. The Wolf and the Lamb สุนัขป่า และลูกแกะ
2. The Bat and the Weasels ค้างคาว และ วีเซิล(ตัว วี-ส’ล สัตว์คล้ายแมวมักมีสีค่อนข้างแดง)
3. The Lion and the Mouse สิงโต และหนู
4. The Charcoal- Burner and the Fuller คนเผาถ่าน และผู้แต่งกายเต็มยศ
5. The Father and His Sons พ่อ และลูกชายของเขา .
6. The Cock and the Jewel หัวหน้า(นักต่อสู้ ไก่ตัวผู้ นักเลงโต) และเครื่องเพชร
7. The Kingdom of the Lion ราชอาณาจักรของสิงโต
8. The Wolf and the Crane สุนัขป่า และนกกระเรียน (ปั้นจั่นยกของหนัก)
9. The Fisherman Piping ท่อชาวประมง
10. Hercules and the Wagoner (เทวดาเฮอ-คิวลิส มีความแข็งแรงในนิยายกรีก) และคนขับรถกุดัง
11. The Ants and the Grasshopper มด และตั๊กแตน
12. The Traveler and His Dog ผู้เดินทาง และสุนัขของเขา .
13. The Dog and the Shadow สุนัข และเงา
14. The Mole and His Mother ไฝ และแม่ของเขา .
15. The Herdsman and the Lost Bull คนเลี้ยงสัตว์ และวัวตัวผู้สูญเสีย
16. The Here and the Tortoise ณ ที่นี้และเต่า
17. The Pomegranate, ผลทับทิม, Apple- Tree, ต้นแอปเปิล-, and Bramble และ พุ่มไม้ที่มีหนาม
18. The Farmer and the Stork ชาวนา และนกกระสา
19. The Farmer and the Snake ชาวนา และงู
20. The Fawn and His Mother ลูกกวาง และแม่กวาง .
21. The Bear and the Fox หมี และสุนัขจิ้งจอก
22. The Swallow and the Crow นกนางแอ่น และอีกา
23. The Mountain in Labor ภูเขาในแรงงาน
24. The Ass, ลา, the Fox, สุนัขจิ้งจอก, and the Lion และสิงโต
25. The Tortoise and the Eagle เต่า และนกอินทรี
26. The Flies and the Honey- Pot บิน และหม้อน้ำผึ้ง
27. The Man and the Lion ผู้ชายคนนั้น และสิงโต
28. The Farmer and the Cranes ชาวนา และนกกระเรียน(ปั้นจั่นยกของหนัก)
29. The Dog in the Manger สุนัขในรางหญ้า
30. The Fox and the Goat สุนัขจิ้งจอก และแพะ
31. The Bear and the Two Travelers หมี และสองผู้เดินทาง
32. The Oxen and the Axle- Trees วัวตัวผู้ และเข็ม
33. The Thirsty Pigeon นกพิราบกระหายน้ำ
34. The Raven and the Swan กา และหงส์
35. The Miser คนขี้เหนียว
36. The Sick Lion สิงโตป่วย
37. The Horse and Groom ม้า และคนเลี้ยงม้า
38. The Ass and the Lapdog ลา และสุนัขตัวเล็กๆที่เลี้ยงไว้
39. The Lioness สิงโตตัวเมีย(หญิงกล้าหาญ)
40. The Boasting Traveler ผู้เดินทางที่คุยโม้
41. The Cat and the Cock แมว และหัวหน้า(ไก่ตัวผู้ นักต่อสู้,นักเลงโต)
42. The Piglet, หมูตัวเล็ก, the Sheep, แกะ, and the Goat และแพะ
43. The Boy and the Filberts เด็กผู้ชาย และ ลูกเฮเซิลนัท(ถั่วชนิดหนึ่งรับประทานได้
44. The Lion in Love สิงโตหลงรัก
45. The Laborer and the Snake กรรมกร และงู
46. The Wolf in Sheep' s Clothing สุนัขป่าในเครื่องนุ่งห่มของแกะ
47. The Ass and the Muleลา และล่อ
48. The Frogs Asking for a Kingกบขอร้องกษัตริย์
49. The Boy and the Frogs เด็กผู้ชาย และกบ
50. The Sick Stag กวางตัวผู้ป่วย
51. The salt Merchant and His Ass พ่อค้าเกลือ และลาของเขา .
52. The Oxen and the Butchers วัวตัวผู้ และคนฆ่าสัตว์
53. The Lion, สิงโต, the Mouse, หนู, and the Fox และสุนัขจิ้งจอก
54. The Vain Jackdaw นกกาจำพวกหนึ่งไม่มีสาระ
55. The Goatherd and the Wild Goats คนเลี้ยงแพะ และแพะบ้าคลั่ง
56. The Mischievous Dog สุนัขเป็นอันตราย
57. The Fox Who Had Lost His Tail สุนัขจิ้งจอกผู้ซึ่งเคยสูญเสียหางของเขา .
58. The Boy and the Nettles เด็กผู้ชาย และตำแย(พืชที่มีขนคัน)
59. The Man and His Two Sweethearts ผู้ชายคนนั้น และสองคนที่รักของเขา .
60. The Astronomer นักดาราศาสตร์
61. The Wolves and the Sheep สุนับป่า และแกะ
62. The Old Woman and the Physician หญิงชรา และแพทย์
63. The Fighting Cocks and the Eagle ไก่ชน และนกอินทรี
64. The Charger and the Miller เครื่องอัดไฟ(ม้าศึก) และเจ้าของโรงสี
65. The Fox and the Monkey สุนัขจิ้งจอก และลิง
66. The Horse and His Rider ม้า และผู้ขี่ของเขา .
67. The Belly and the Members ท้อง(ส่วนที่ยื่น) และอวัยวะ(สมาชิก )
68. The Vine and the Goat ต้นองุ่น และแพะ
69. Jupiter and the MonKey จูปิเตอร์(ประมุขเทพดาในสรรค์ลัทธิโรมัน, ดาวพฤหัส) และลิง
70. The Window and Her Little Maidens หน้าต่าง และหญิงสาวผู้ต่ำต้อย .
71. The Shepherd' s Boy and the Wolf เด็กผู้ชายของคนเลี้ยงแกะ และสุนัขป่า
72. The Cat and the Birds แมว และนก
73. The Kid and the Wolf เด็ก และสุนัขป่า
74. The Ox and the Frog วัว และกบ
75. The Shepherd and the Wolf คนเลี้ยงแกะ และสุนัขป่า
76. The Father and His Two Daughtersพ่อ และลูกสาวของเขาสองคน .
77. The Farmer and His Sons ชาวนา และลูกชายของเขา .
78. The Crab and Its Mother ปู และแม่ปู
79. The Heifer and the Ox วัวสาว และวัว
80. The Swallow,นกนางแอ่น, the Serpent,งูใหญ่และงูพิษ, and the of Justice และศาลของความยุติธรรม
81. The Thief and His Mother ขโมย และแม่ของเขา .
82. The Old Man and Death ชายชรา และความตาย
83. The Fir- Tree and the Bramble ต้นสน- และ พุ่มไม้ที่มีหนาม
84. The Mouse, หนู, the Frog, กบ, and the Hawk และเหยี่ยว
85. The Man Bitten By a Dog ผู้ชายคนนั้นที่กัดโดยสุนัข
86. The Two Pots สองหม้อ
87. The Wolf and the Sheep สุนัขป่า และแกะ
88. The Aethiop Aethiop
89. The Fisherman and His Nets ชาวประมง และแห, อวน ตาข่ายของเขา .
90. The Huntsman and the Fisherman นายพราน และชาวประมง
91. The Old Woman and the Wine- Jar หญิงแก่ และกระปุกเหล้าองุ่น-
92. The Fox and the Crow สุนัขจิ้งจอก และอีกา
93. The Two Dogs สองสุนัข
94. The Stag in the Ox- Stall กวางตัวผู้ในคอกวัว-
95. The Hawk, เหยี่ยว, the Kite, นกเหยี่ยวไคทมีขาดเล็ก, and the pigeons และนกพิราบ

Thursday, August 12, 2004

Interbase Buffers

1. Change Interbase's page size
Use IBExpert backup and then restore. When restore, change the page size to 4096 and that's it.

2. Set Sweep interval to 0 (Use IBExpert) so that the garbage colection will not be performed automatically.

3. Don't use Foreign key.

Buffers: "Buffers
The Buffers/Cache can be set using the IBExpert menu item Database Properties, found in the Services menu, or using the command-line utility, GFIX. The amount of buffers/cache reserved can be viewed in IBExpert under Services / Database Properties. The IBExpert Performance Analysis also displays the number of data pages that are being held as cache on the server (from InterBase 6 onwards the standard is 2,048). This can be altered for the current database if wished.
If this is increased the database can load considerably more pages. For instance, it is much more efficient to load 10,000 pages, than loading 2,000 and then exchanging for new pages once the 2,000 have been loaded. The only limit to amount of cache is the physical size of the RAM (e.g. 10,000 x 4K page size). The total KB is calculated according to the current database page size. For an alteration to become effective, it is therefore necessary for all users to disconnect from the database and then reconnect. Buffers are only reserved, if they are really necessary."

Sunday, August 08, 2004

DVD+R/+RW

The IEEE- 1394
The 1394 port is used to transfer digital video to the notebook

DVD+R/+RW
This drive lets you do everything a DVD-ROM does and you can write, erase, and re-write data onto a CD-R, DVD+R, or DVD+RW.

A DVD+R can typically hold up to 4.7 GB of information, more than 6 times that of a CD-R, allowing you to save huge files: video, photo, and music.

DVD-RW and DVD+RW are proprietary types of the same kind of optical drive and don't share compatible types of DVD media.

DVD/CD-RW
Able to read and write DVD-RWs and CDs

Monday, July 26, 2004

Dowmloads

The following are tools I have used recently, very useful, and they are free.
Php Php-4.3.8
MySql Mysql-4.0.20d
Apache web server
Windows boot disk
DBTools DBManager Professional Freeware (2.3.0) English http://web.psy.uwa.edu.au/dbtools/prosetup230EN.exe

Ruamsinthai Group, Ubon

รวมสินไทยสรรพสินค้า
รวมสินไทยเซ็นเตอร์
รวมสินไทยเทรดดิ้ง

Install Zexel ADSL modem

TT&T's ADSL internet had been down for 3 days(สุดทุเรศ), and finally started working again this morning. B.S. the stupid ISP and their tecnicians. After being their client for 10 days, I must say this is the worse service I encounter so far from the organization that should be more professional.

The web surf speed seems OK to me, but server's down for at least 4 days within 10 days. If it was down at night, you can forget about trying, the best you can do is quit your web browser, hopefully the line would be back on the next morning (never resume the same night).

I'm looking for other ISP that is more responsible and professional.

So much on that, let's write down the configuration for Zexel ADSP usb modem.

My brother, Youth(ยงยุทธ อนุพรรณสว่าง), bought this modem from a guy in Ubon who may has limited skill in computer hardware and software. The guy tries to be smart, but never deliver the service like what he promised. Youth, desperately called me this morning, asking me all the questions about the modem's configurations. I could not help him over the phone, so I went to his office. And this is the config I came up with.

Alt-C : to activate setting in Control
VPI : 0
VCI : 66


More..........

Memo

I am currently creating my web site using Delphi for my background task and Php for most of my web application, and the database will be MySql.
 I want this blog to be my personal dialy and memos to collect my works and techniques I learn