I’ve been using Markdown for WordPress and bbPress since the creation of this website, September 2009. It replaces the default visual and html editors with a simple, syntax-based editor. After half a year of using this plugin, problems occurred. The disadvantage of this plugin is that one is forced to use Markdown. And because of that, [...]
Category Archives: uncategorised
Tray Selection Problem in HP LaserJet 4000
If the printer has extended trays, e.g. tray 3, and if the PostScript (PS) driver is used, the printer will always select the paper from tray 1, even though there’s no paper in that tray. So far, I have found no “solution” to the problem. The best thing we can do is avoiding the automatic [...]
Framemaker and its mouse-scrolling problem
Introduction Related to my master thesis, I have to use the old Framemaker 5.5 on Windows XP. It is an interesting publishing program and, in my opinion, it’s a good compromise between Latex and OpenOffice (or Microsoft Words). It’s worth to mention that there’re many WYSIWYG implementations of Latex. A program called LyX is one [...]
Finding Prime Numbers Using Python
เขียนโปรแกรมหาจำนวนเฉพาะอย่างง่ายๆในห้าไอเดียโดยใช้ Python ไอเดียแรก จำนวนเฉพาะคือจำนวนเต็มบวกใดๆที่ไม่มีจำนวนเต็มบวกอื่นๆหารมันลงตัว 12345678910111213# prime1.py prime = [2] for i in xrange(3, 100000): flag = True # สมมุติว่าจำนวน i เป็นจำนวนเฉพาะ for j in xrange(2, i): # จำนวน j ใดๆที่มีค่าน้อยกว่า i ต้องหารจำนวนนี้ไม่ลงตัว (ยกเว้น 1) if (i % j == 0): [...]
Hello world!
Welcome to the wordpress version of Longspine.com! I also moved to a new server. These are some notes about this website: Xen-based VPS with 512 MB RAM at prgmr.com the new host is in US, so all accesses from Europe will be a lot slower, however, it’s faster for people in Thailand. WordPress 2.8.4 was [...]