Fake Arduino sold on Thai sites

I ordered an Arduino from Arduino.in.th which stopped working very quickly the price was 600 Baht (or about US$20) which seemed like quite a bargain when I was purchasing it. I then decided to buy another Arduino from thaiduino.com for over 1,000 baht and this one seems to be genuine. I was then quite curious about what the similarities and differences are, so I decided to take some photos of the two for side by side comparison. Can you tell which one is the fake? (answer at the bottom)

(more…)

Share

Unscientific benchmark of Python’s hash and checksum algorithm

Speed turned out to be an important factor in choosing a hash or a checksum algorithm, so I did some benchmarks on a 1GB in memory dataset to see what the throughput will be. The CPU used was a 2.83GHz quad core xeon. These are the results (in megabytes / second):

SHA256: 115.89

SHA512: 179.65

SHA1: 310.59

MD5: 467.58

CRC32: 903.8

Adler32: 1316.2

Share

Save on Taxi Fares in Bangkok

The fee structure for Bangkok taxis are set up in a such a way where the further the distances the more expensive your journey becomes. There must be a point where it is cheaper to get off and hail another cab, right? So I created a Cheap Bangkok Taxi fare calculator which tells you at which distance to get off and grab another taxi and how much you will save!

Share

(ไทย) Renderfarm แห่งชาติ

ช่วงหลังๆมานี้มี หลายคนถามผมว่าทำไม Renderfarm แห่งชาติในประเทศไทยจึงเกิดขึ้นไม่ได้ซักที เนื่องจากว่าผมได้มีส่วนเกี่ยวข้องในการติดตั้ง Renderfarm แห่งชาติทั้งที่ประเทศไทย (ซึ่งได้เงียบหายไป) และที่มาเลย์เซีย ผมจึงตัดสินใจเขียนเกี่ยวกับบทเรียนที่ได้รับมาจากการติดตั้ง Renderfarm ที่ประเทศมาเลย์เซีย เพื่อที่ว่าคนไทยจะสามารถเอามาใช้เป็นแบบอย่างในการสร้างระบบได้อย่างสมบูรณ์ที่ นี่ด้วย ผมจะไม่ขอพูดถึงข้อเสียของระบบที่นี่เพราะผมถือว่าเป็นอะไรที่ผ่านไปแล้ว

(more…)
Share

Performance penalty in using imap() vs map() in python multiprocessing

In order to checkout Python’s multiprocessing functionality and quite inspired by Benjamin Scherrey’s presentation on Test Driven Development, I wrote a pi calculator using the monte carlo method that utilizes the Python multiprocessing module.

(more…)

Share

Compression Comparison for .cin and .dpx files

Here are some comparison of size differences of various compression formats when used to compress .cin and .dpx files for transferring over a relatively slow bandwidth link such as that present in Thailand.

(more…)

Share

Increase Bittorrent Download Speed in Thailand

Thailand’s limited international bandwidth tends to lead to somewhat slow bittorrent transfer speeds especially during peak internet usage hours. This short guide shows you how to uses Vuze with the Ono plugin in order to prioritize Bittorrent connections to peers closest to Thailand thus reducing bottlenecks and increasing upload/download speeds.

(more…)

Share

QContact front end Thai localization

I translated QContact’s front end into Thai, you should be able to get it here shortly.

ผมได้แปล frontend ของ qcontact เป็นภาษาไทยเรียบร้อยแล้วนะครับ คุณสามารถโหลดได้จากที่นี่ภายในเร็วๆนี้ (ถ้ามีอะไรบกพร่องในการแปล ช่วยบอกกันบ้างนะครับ)

Share

Joomla on Hostgator MySQL error

Joomla installation on hostgator fails with a “Database Error: Unable to connect to the database: Could not connect to MySQL” it has been discovered that this issue goes away when I change the mysql password from a whole range of characters (including special ones such as ” > < | / ) to a string of alphanumerical characters. Somehow I suspect that some of the special characters gets accepted by Hostgator’s MySQL database administration interface but not joomla.

Share

Screencast demonstrating unbootable Intel BIOS Update ISO

YouTube Preview Image

As you can see, a flashcd downloaded from bootdisk.com boots up fine, but Intel’s BIOS Update CD just dies.

Original blog post is here

Share