Archive for the ‘Software’ Category
CrossPress v0.2 is now available.
The consequent release is about adding new feature and fixing some bugs. The details are as follows,
- Post only summary text.
- Fixed some option value cannot be committed to database.
- Don’t crosspost twice in case of edit the posted page.
Get new CrossPress version by locating into project home,
Related posts
Tags: english, Software, wordpress
CrossPress releases - Wordpress Plugin (Crosspost)
Regarding to the question, how I can publish post in my atthakorn.com and the same content is automatically added into atthakorn.multiply.com; my favourite social network. Therefore I start developing a wordpress plugin; Wordpress-2-Multiply, to solve the problem. Originally it only does the job posting to multiply each time I have a post in my official wordpress site. It works fine for a long.
Suddently, I was just noticed that the protocol (post-via-email) I used in plug-in, can be generic used across social network site. So I renamed Wordpress-2-Multiply to CrossPress and extend it to behave more feature.
CrossPress is the wordpress-plugin which automatically, cross-posting to associated site/blog to enabling the post-via-email option with PIN code e.g. multiply.com, livejournal.com, blogspot.com and much more.
Initially, CrossPress contains these features,
- Immediately, crossposting to target sites when publishing a new post.
- Multiple sites support.
- Append signature for each post.
Know CrossPress more here,
Related posts
Tags: english, Software, wordpress
ประวัติของภาษาคอมพิวเตอร์
นับตั้งแต่ภาษา Fortran ได้ถือกำเนิดขึ้นในปี 1954 (ไม่รวมถึงภาษาระดับต่ำเช่น ภาษาเครื่อง (Machine) หรือ ภาษา Assembly พัฒนาการของภาษาคอมพิวเตอร์ได้แตกแขนงอย่างมากมายเป็นกิ่งก้านสาขา ภาษาคอมพิวเตอร์เก่าๆ บางภาษาก็ยังมีการใช้งานให้เห็นในปัจจุบัน (Cobol) แต่ก็ถูกปรับปรุงให้ทันสมัยยิ่งขึ้น บางภาษาก็เป็นการยุบรวมจุดเด่นของภาษาคอมพิวเตอร์สองตัวเพื่อพัฒนาเป็นภาษาใหม่ การอยู่รอดของภาษาคอมพิวเตอร์จึงขึ้นอยู่กับความเหมาะสมของการใช้งาน ความสามารถในการแก้ไขปัญหา ความยากง่ายของโครงสร้างภาษา และความนิยมของผู้พัฒนา
ภาษาคอมพิวเตอร์ก็เหมือนสปีชี่ย์หนึ่งของสิ่งมีชีวิต ที่มีการวิวัฒนาการ มีการออกแตกหน่อ(สิ่งมีชีวิตเซลล์เดียว) หรือแม้กระทั่งการผสมพันธุ์เพื่อรวมลักษณะที่ดีของสองภาษาที่แตกต่างกัน เพื่อก่อกำเนิดภาษาคอมพิวเตอร์ภาษาใหม่ เพื่อความอยู่รอด (ขึ้นอยู่กับความนิยมของผู้พัฒนาและความสามารถของภาษา) ในแต่ละยุคแต่ละสมัย
ปัจจุบันมีภาษาคอมพิวเตอร์ ที่ถูกปรับปรุงให้เหมาะสมกับการทำงานด้านต่างๆ มากมายหลายภาษาให้เลือกใช้ ตามลักษณะของซอฟแวร์ที่แบ่งออกเป็น 3 ลักษณะคือ
- ภาษาคอมพิวเตอร์ที่เหมาะสมกับซอฟแวร์ที่ใช้งานบนระบบอินเตอร์เนท Web Application) เช่น php, ruby, asp, javascript, flex
- ภาษาคอมพิวเตอร์ที่เหมาะสมกับซอฟแวร์ที่ใช้งานเฉพาะบนเครื่องคอมพิวเตอร์ (Standalone) เช่น c/c++, basic, cobol, delphi
- ภาษาคอมพิวเตอร์ที่รวมสองลักษณะข้างต้นไว้ด้วยกัน เช่น java, python, perl, และบางภาษาในตระกูล .net
สำนักพิมพ์ O’reilly จัดพิมพ์วิวัฒนาการของภาษาคอมพิวเตอร์เป็นไฟล์ PDF ไว้ให้ผู้ที่สนใจได้ดาวโหลดไปศึกษาที่นี่ Programming Lanuage Poster (701k) หรือกดที่รูปข้างล่างเพื่อดาวโหลดไฟล์ในรูปแบบของภาพ JPG.
วิวัฒนาการของภาษาตั้งแต่ปี 1954-2004
Related posts
Tags: programing, Software, thai
Tuning Eclipse 3.4 for Performance Purpose
Recently, eclipse has released the core ide development code named Ganymede. I had tried the changes and feel badly in performance experience (My office PC is little bit old). So I need to tune up the eclipse engine so it can start and run smoothly during my work. Here is the few step to increase the performance in Eclipse.
Adding garbage collector option and memory capacity.
In eclipse.ini file under eclipse home directory, please add the following lines before next time starting eclipse
…
-vmargs
…
-Xms128m
-Xmx256m
-XX:+UseParallelGC
…
The first two items, -Xms128 and -Xmx256m indicate eclipse to start up with the minimun memory = 128 mb and maximun memory = 256 mb. This will reserve a heap to eclipse and avoid eclipse to memory leak in case of a big project assigned.
-XX:+UseParallelGC force the garbace collector to reclaim the memory in parallel. The parallel method will reduce the “Stop The World” pause time slightly.
Turn off some inessential options in Eclipse preference.
1. Uncheck “Enable Capture” option in Usage data collector menu under Eclipse Perferences.
2. In validation menu, again in preference. Please tun on “suspend all validators” option.
3. Ignore the spell checking features by check out “enable spell checking” option in preference/editors/text editors/spellings.
4. Not allow eclipse to build package automatically in eclipse menu -> project->build automatically.
PS. Some features are available in 3.4 eclipse. For the previous used in Europa 3.3–, you can set tune a part of feature without the whole steps.
Related posts
Tags: eclipse, english, Software
Boost Eclipse 3.4 with KeepResident and Memory Manager
There are two plugins I would like to suggest to an eclipse developer. All of them are about to manage the memory. As we know Java problem is most relevent to the memory so the first choice to tune java application is to take action in memory management. Eclipse is Java application!
KeepResident
To be honestly, windows is really bias for java application that runs inside. It often swap out the memory belongs to java process eventhough there are lots of physical memory available.
KeepResident is eclipse plugin that interacts to the window memory manager. It will sends the message via window api to reserve more physical memory to eclipse as flush out the memory as necessary.
KeepResident plugin is available in SUIF group of standford. You can get it directly via the plugin page as below in download menu,
http://suif.stanford.edu/pub/keepresident/index.html
After downloading, please extract it into /plugins folder under eclipse home directory. Once you install, go to preference page then adjust the minimum/maximun value as desire.
For the VirtualLock option. It will force the eclipse always in the physical memory eventhough it is minimize in the the taskbar. Aware of window always flushes the memory if the application is out from the space. Anyway, VirtualLock option is really unstable. It’s on your own risk to use.
The result we get after re-adjust memory for eclipse.
The SUIF mentions that it works with Eclipse 3.0 and 2.1 version. By the way I did install and test with Ganymede 3.4, it also works well.
MemoryManager
Another IBM’s tool. This is most effective to adjust garbage collector work in eclipse itself memory handle. The plugin works at startup to find the free memory after GC starts. It will monitor memory usage every few seconds and do garbage collect with the effective algorithm to recover memory if it goes down below 75% of free memory.
The plugin is available here,
http://www.cloudgarden.com/memorymanager/
To turn on the graphical view of the current memory. Please choosing -> Windows->View-> Other->MemoryManager->Memory in main menu. The view states about free/total/max memory in megabyte. We can also force GC to run immediatly via a shortcut.
Related posts
Tags: eclipse, english, Software
บันได 5 ขั้น ของนักพัฒนาซอฟแวร์ (Dreyfus Model)
ทุกสิ่งทุกอย่างล้วนต้องมีการพัฒนา
นักพัฒนาซอฟแวร์ก็เช่นกัน!
มาดูกันว่าลักษณะของนักพัฒนาซอฟแวร์ในแต่ละขั้น ของเส้นทางสู่การเป็นนักพัฒนาซอฟแวร์ตามรูปแบบของ Dreyfus (Dreyfus Model) เป็นเช่นไร,
1. มือใหม่(Novice)
- ไม่มีประสบการณ์ หรือมีประสบการณ์น้อย
- จำเป็นต้องมีตัวอย่าง ระเบียบแบบแผน เพื่อช่วยในการเรียนรู้
- ต้องการจุดมุ่งหมายในระยะสั้นเพื่อพัฒนาตัวเอง
- จำเป็นต้องมีคนแนะนำในทุกๆ ขั้นตอน
2. ผู้ริเริ่ม (Advance Beginner)
- เริ่มตัดสินใจด้วยตนเองได้
- ชอบเรียนรู้อะไรไวๆ แต่ไม่จำเป็นต้องรูที่มา เช่น โปรแกรมเมอร์แบบตัดแปะ (copy & paste)
- เริ่มเห็นภาพรวมของขั้นตอน และโครงสร้างของซอฟแวร์
- ยังจำเป็นต้องมีคนแนะนำในบางส่วน
3. ผู้มีประสบการณ์ (Competent)
- เริ่มมีคำถามกับตัวเอง เช่น เขียนโค้ดแบบนี้เพื่ออะไร หรือทำไม?
- มองผลกระทบต่างๆ ของการออกแบบและำพัฒนาซอฟแวร์ได้กว้างขึ้น
- สามารถแก้ปัญหาส่วนใหญ่ได้ด้วยตัวเอง
- เริ่มเรียนรู้สิ่งใหม่ๆ ด้วยตัวเองได้
- จำเป็นต้องมีผู้เชี่ยวชาญให้การปรึกษาในบางเรื่อง
- สามารถให้คำแนะนำนักพัฒนารุ่นน้องได
4. ผู้ชำนาญเจนจัด (Proficient)
- มีทักษะระดับสูงในการวิเคราะห์
- รู้จักจุดแข็งและข้อด้อยของตัวเอง และปรับปรุงตัวเองได้ดียิ่งขึ้น
- สามารถวิเคราะห์ปัญหาได้ถูกจุดและรวดเร็วมากกว่าเดิม
- เริ่มศึกษาหลักการออกแบบซอฟแวร์ที่ดี (Design Pattern) และประยุกต์ใช้ในการพัฒนาซอฟแวร์
5. ผู้เชี่ยวชาญ (Expert)
- ระดับผู้เชี่ยวชาญ มีความกระตือรือร้นอย่างสูงในการค้นหา และพัฒนาสิ่งใหม่ๆ
- สามารถเขียนหนังสือเพื่อถ่ายทอดความรู้ให้แก่ผู้อื่น
- เริ่มจะมีจินตการที่เหนือเหตุผล ดั่งเช่นที่ไอส์ไตน์เคยพูดไว้ว่า จินตาการสำคัญกว่าความคิด
- ดูทุกๆ อย่างเป็นของง่าย
- มีความเชี่ยวชาญสูง บางสิ่งสามารถทำโดยไม่ต้องคิด เหมือนนักกีฬาที่ฝึกตนจนคล่องแคล่วแล้ว ร่างกายจะทำงานเองโดยไม่ขึ้นกับสมอง
มือใหม่ ผู้ริเริ่ม ผู้มีประสบการณ์ ผู้ชำนาญเจนจัด ผู้เชี่ยวชาญ
รวมเป็น 5 ขั้นสู่การเป็นสุดยอดนักพัฒนา
อ่านจบแล้ว เพื่อนๆ ล่ะ คิดว่าตัวเองอยู่ในขั้นไหน ??
Related posts
Tags: developer, psychology, Software, thai
ปรับแต่ง Eclipse 3.4 (Ganymede)
หลายคนอาจรู้สึกว่าเวลาใช้งาน Eclipse แล้วรู้สึกตัว Eclipse อืด ๆ ชอบกล ก็ขอให้ลองปรับแต่งตามขั้นตอนข้างล่างนี้ ซึ่งจะช่วยให้ Eclipse ปิดการทำงานของคุณสมบัิติบางตัว และเพิ่ม jvm argument เพื่อปรับปรุงการทำงานของ Garbage Collotor และสำหรับ Memory เืพื่อทำให้ Eclipse ทำงานได้เร็วยิ่งขึ้น
ปรับแต่ง Memory และตัวเลือกชนิดของ Garbage Collector
ในไฟล์ eclipse.ini ให้เพิ่มกำหนด jvm option ดังนี้
…
-vmargs
…
-Xms128m
-Xmx256m
-XX:+UseParallelGC
…
คำอธิบาย
-Xms128m เป็นการกำหนดค่าเริ่มต้นของ memory ให้ Eclipse
-Xmx256m เป็นการกำหนดค่าสูงสุดในการจอง memory ให้ Eclipse
-XX:+UseParallelGC กำหนดให้ Garbage Collector ทำงานแบบขนาน เวลาเริ่มต้นเรียกคืน Memory ที่ไม่ใช้
Eclipse perference.
1. ที่ Usage data collector ให้ยกเลิกการใช้งานคุณสมบัิตินี้โดยยกเลิกคุณสมบัิติ “Enable Capture”
2. เปิดการใช้งาน “Suspend all validators” โดยคุณสมบัิตินี้จะอยู่ที่ “Validation Option”
3. ปิดการทำงานของการตรวจคำผิด ยกเลิกได้ที่คุณสมบัติ “enable spell checking” ที่ preference/editors/text editors/spellings.
4. สั่งให้ Eclipse ไม่ build package อัตโนมัติ โดยยกเลิกในเมนู eclipse->project; “build automatically”
ปล. เฉพาะ Eclipse 3.4 (Ganymede) เท่านั้น สำหรับ Eclipse เวอร์ชั่นก่อนหน้า บางคุณสมบัิติที่ได้กล่าวไป อาจจะยังไม่มี ก็สามารถละทิ้งได้
Related posts
มาร่วมเตรียมดาวโหลด FireFox 3 กันเถอะ
เนื่องด้วยเจ้าจิ้งจอกไฟ (FireFox) บราวเซอร์ขวัญใจชาว OpenSource จะมีกำหนดการออกเวอร์ชั่นใหม่ (v3) ในวันที่ 17 มิถุนายน 2008 นี้ ทาง Mozila เองมีโครงการจะทำสถิติโลก (Guinness World Record) - จำนวนผู้ดาวโหลด FireFox 3 มากที่สุดในเวลา 24 ชั่วโมงนับจากวินาทีที่ FireFox 3 มีให้ดาวโหลด
มาร่วมทำสถิติโลกด้วยการไปลงทะเบียนล่วงหน้า เพื่อวันและเวลาดังกล่าวทาง Mozila จะส่ง Email มาเตือนให้เราได้ร่วมเป็นสักขีพยานในสถิติโลกครั้งนี้
http://www.spreadfirefox.com/en-US/worldrecord/
Related posts
Wordpress 2.5 upgraded!
ถึงเวลายกเครื่องใหญ่กับ Wordpress v2.5 การอัพเกรดราบรื่นไม่มีปัญหา พบกับหน้า admin ใหม่ ไฉไลกว่าเดิม

Related posts
Tags: Software, thai, wordpress
IE Tab
พื่อน ๆ หลายคนคงคุ้นเคยกับ Firefox กันดี ซึ่งเป็น Browser จิ๋ว แต่แจ๋ว และมีแนวโน้มผู้ใช้งานเพิ่มขึ้นเรื่อย ๆ จนตอนนี้โตกว่า 25% ของส่วนแบ่งของตลาด Browser ทั้งหมด
แต่บางครั้ง Firefox ก็ไม่สามารถเปิดหน้าเวบเพจ ที่อนุญาติให้ใช้แต่ IE เปิดได้ หรือแม้กระทั่ง Page บางหน้า อาจจะมีการแสดงผลไม่สวยงาม เนื่องจากผู้สร้างเวบไซต์ออกแบบให้รองรับเฉพาะเวลาใช้งาน IE เท่านั้น ทำให้ผู้ใช้หลายคน รวมถึงผมด้วย ต้องเปลี่ยนไปใช้ IE ชั่วคราว
![]() |
ปัญหานี้แก้ได้โดยการลง Plugin ของ FireFox ที่ชื่อว่า IE Tab ซึ่งการใช้งานนั้นง่ายมาก โดยจะมี Context Menu “Open Link in IE Tab” เวลาเราคลิ๊กขวาที่ลิงค์ เมื่อต้องการเปิดหน้าเวบเพจใหม่ เท่านี้เราก็สามารถใช้เทคนิคการ Render ของ IE ใน FireFox ตัวเก่งของเราได้แล้ว
![]() |
สนใจลองไปหน้า Add-on ของ Mozilla (เปิดลิงค์โดยใช้ FireFox) ได้ที่
https://addons.mozilla.org/en-US/firefox/addon/1419
การติดตั้งก็แสนง่าย ให้ คลิ๊ก Install Now ในหน้า IE Tab Plugin เท่านี้เราก็มี Plugin ดี ๆ สำหรับ Firefox อีกตัวไว้ใช้งาน …





