Wed, 2010-05-05 15:11

Translated Linux kernel in a Nutshell ( Part 1 )

Submitted by chatsiri on Wed, 2010-05-05 15:11.

Posted in | | chatsiri's blog | add new comment | quote | 628 reads »

ความเดิมตอนที่แล้วจากหัวข้อ


ลินุกซ์ เคอร์เนลในเปลือกนัท

หลังจากขบเรื่องการแปลกับ @materaj และ @ipatsu มาได้ระยะหนึ่งที่จริงผ่านมาเกือบครบปีแล้วแต่ยังแปลกันไม่หมดทุกบท. แต่แล้ว @materaj ก็มากระตุกต่อม "เดี๋ยว" ของผมในช่วงวันสงกรานต์ที่ผ่านมา
ปัญหาแรก ที่ผมเจอคือ Glossary สำหรับงานแปล ไว้แลกเปลี่ยนและพูดคุยกันว่า ศัพท์คำไหนที่แปลแล้วอ่านได้ตรงกับบริบทของประโยค?( @materaj เน็บแนมว่าผมเป็นพวกตาม Glossary เกินไปทำให้คำในประโยคทำให้ผู้อ่านเข้าใจได้ยาก ) ในกลุ่มที่แปลมาก็แยกกันแปล แต่พอเจอปัญหาก็เลยต้องประชุมกันใน Glossary อ้างอิงจากแหล่งนั้นแหล่งนี้ ซ้ำร้ายบางคำแปลเป็นภาษาไทย Glossary for Open Source Software นั้นยังไม่ได้ทำการ Approved Meaning จากทีมแปลนั้น ซึ่งหาก Approved คำแปลก็คงไปตามแก้อีกที
ปัญหาที่สอง การแปลไปแต่ละบทนั้นต้องมาตรวจทานอีกที แน่นอนว่าการตรวจทานเป็นสิ่งที่ควรทำเพราะมันทำให้มั่นใจได้มากขึ้นว่าประโยคควรจะมีบริบทแบบไหนซึ่งก็ใช้วิธีการ comment ข้อความสำหรับการแปลครั้งแรกแล้วมีความหมายโดยนัยว่าที่แปลนั้นดูยังไม่สลวยพอสำหรับที่แปล ก็รอคนที่แปลด้วยกันมาเปลี่ยนแปลงประโยคที่แปลนั้น.
ปัญหาที่สาม ทุกการแปลที่ผ่านมาผมเป็นคนที่เห็นด้วยและไม่เห็นด้วยกับประโยคนั้นที่แปลทั้งหมด. มันทำให้คำแปลนั้นเป็นตราบาป เพราะมันไม่ได้ถูกแปลโดยเสียงส่วนใหญ่ แต่ไม่ช้านานผมจะ Upload คำแปลขึ้น SVN แล้วรอ Commit จากผู้ที่สนใจ

ตอนนี้ท่านสามารถอ่านทั้ง 5 บทแรกได้แล้วครับที่

นี้เป็นเว็บไซต์สำหรับหนังสือ, ลินุกซ์เคอร์เนล ในเปลือกนัท, โดย Greg Kroah-Hartman, ตีพิมพ์ โดย O'Reilly ...

  • เริ่มต้น
  • บทที่2:สิ่งที่ต้องการสำหรับการสร้างและใช้กับเคอร์เนล
  • บทที่3:การหามาได้ซึ่งเคอร์เนลซอร์ส
  • บทที่4:กำหนดค่า และ สร้าง
  • บทที่5:ติดตั้งและบูตจากเคอร์เนล
  • Glossary
  • คำเกริ่นในหน้าเพจมาขึ้นคงไม่แปลกอะไรนะ:P

    Mon, 2010-01-25 17:35

    Singleton pattern for connect to databases.

    Submitted by chatsiri on Mon, 2010-01-25 17:35.

    Posted in | | | | chatsiri's blog | add new comment | quote | 850 reads »

    Singleton concept for implemented configuration of code.C++ can
    created instance of object after new driven class.

    //main idea for create only one instace for config
    //create instance
    ConnectionDb &ConnectionDb::instance(){
    if( !instance_ ){
    instance_ = new ConnectByControlOne;
    return *instance_;
    }
    }

    Test source code after compiled Mongodb package for Linux.See below,It's show debug run by localhost.

    From chatsiri.com

    After write example code by Singleton concept.Code example [main],[connectiondb.cpp],[connectiondb.h]

    From chatsiri.com

    No one expect after play football with old friend( CPESRC'47 ).My
    finger have symptom of broken bone.Doctor suggested splint of my
    finger.Start time for splint my finger at January( New Year - -") to
    February.It's not easy for touch-type for write code.This is end of time splint finger.

    From chatsiri.com

    Sat, 2009-12-12 18:19

    Kaokor,Phetchabun,Thailand

    Submitted by chatsiri on Sat, 2009-12-12 18:19.

    Posted in | | | | | chatsiri's blog | add new comment | quote | 1358 reads »

    Kaokor,Phetchabun,Thailand

    kaokor

    The story.