Monday, December 8, 2008

มาเรียนภาษา ซี กันเถอะ The stuff you need to know before you read all the other stuff in this book...

ขอได้รับคำขอบคุณจาก ซีฟอร์ดัมมี่ เซคเคินอิดิชั่น แอนด์ บิททอแรนท์...

The stuff you need to know before you read all the other stuff in this book...

you need two things to program in C on your computer:
- A compiler
- A place to put your programs

For Mac OS X:
GCC compiler is installed and ready to used.
To confirm this, open a terminal window and type the following line at the command prompt
gcc -v

Making programs, you need two tools:
- an editor
- a compiler

For the various UNIX operating systems, you have multiple editor choices.
The simplest text editor is Easy Editor, activated with the ee command.
The author' favorite editor for working with C is vim, a variant on the infamous vi editor in UNIX. Unlike vi, vim uses colors to code text.

Compiling and linking:
This step transforms the meek and mild text file into a robust and useable program on your computer.
The main thrust of programming the individual examples in this book involves the following three steps.
1. Ensure that you're in the work folder

2. Use your text editor to create your source code file

3. Compile and link the source code:
Compiling and linking are both handled by the GCC command. As an example, here's what you need to type to compile and link the GOODBYE.C source code created in Step 1:
gcc goodbye.c -o goodbye
- gcc, the command to compile and link the source code
- goodbye.c, the name of the source code file
- -o, the output switch
- goodbye, the name of the final program
If you leave off the -o switch and its option, GCC creates the program file named a.out. The author doesn't recommend this. Instead, remember the -o option and specify a nmae for the output program. The name can be the same as the source code file, but without the .c extension.

4. Run the program
UNIX runs only programs found on the path, and the author doesn't recommend to put your learn directory on the path.
To get the operating system to notice your program, you have to be specific about where the program lives (in the current folder, for example). you do that by prefixing ./ to the program's name. To run the goodbye program, type the following at the prompt:
./goodbye
and the program runs.

Tip: For each program you create, there are two files on disk: the source code file (a text file) and the program file. That's generally how things go in this book.
Tip: The GCC compiler automatically sets the permission bits on the resulting program file, allowing it to be run. Usually, it's -rwxr-xr-x
If you create your own programs that you want to run, copy them to a bin directory beneath your home directory, and put that directory on the path.


Wednesday, December 3, 2008

Paris ตอนที่ สาม

เดินฝ่าฝนกันไปกับจูเลียนด้วยร่มหักๆออราเคิลที่ติดสอยห้อยตามมาจากเมืองไทยเพียงอันเดียว แน่นอนว่าไอ้จูเลียนเป็นคนถือ แล้วกรู (เจ้าของร่ม) ก็ต้องเปียกเป็นธรรมดา (ไม่เข้าใจเหมือนกันว่าไอ้การที่ผู้ชายถือร่มตามมารยาทแล้วสุดท้ายผู้หญิงเปียกเนี่ย มันดียังไง) ก็ฝ่าๆๆๆๆกันไป ไอ้จูเลียนก็ไม่ได้ช่วยอธิบายอะไรเลย ข้าพเจ้าก็ต้องเห็นเอง ดูเอง เข้าใจเอาเอง ว่ามันมีไรบ้างแถวนั้น แต่เอาเหอะ อย่างน้อยก็ได้เห็นอ่ะนะ จะเอาไรมากกะเพื่อนผู้ชาย

เดินไปได้สักพัก (สองป้ายเมโทร...ไกลเชีย) ก็เจอกับเพื่อนจูเลียนซักที หญิงท่านนี้มีนามว่า อาลีน (มะใช่ อาหลิงอ้า อาหลิง ลื้อมายืนตงนี้ทามมาย...) เป็นคนสวิส พูดอังกฤษกะฝรั่งเศสโคตรรรรร ชัด เธอเรียนโทอยู่ในปารีสทางด้านการแปล ใช่แล้วเธอเป็นนักแปล โหย ทึ่งเจงๆ...

จากนั้นก็ชวนกันไปนั่งดื่มในบาร์ที่เรียกว่า ฟูร์มีบาร์ (ตามที่ได้เล่าไปในตอนก่อนหน้านี้แล) สองคนนั้นเค้าหนาวกัน ดิฉันกลับร้อนคะ สองคนนั้นเลยสั่งกาแฟ ชอคโกแลตร้อนมาดื่มกันแก้หนาว ข้าพเจ้ารึ ขอโค้กแล้วกัน... (ฮา) ก็เลยมาถึงเรื่องที่จูเลียนมันชอบว่าเราว่าเป็นสาวมีปัญหาด้านฮอโมน ระหว่างที่มันเล่าเรื่องนี้ให้อาลีนฟัง ข้าพเจ้าก็ถอดพูลโลเวอร์ฮ่ะ (มันร้อนเจงๆนะ ขอบอก ไอ้การกึ่งเดินกึ่งวิ่งมาไกลสองป้ายเมโทรท่ามกลางฝนเนี่ย) ก็คุยๆๆๆ (พวกมันนะที่คุย... คนไม่เคยรู้จัก ไม่ชอบคุยอยู่แล้วเป็นการส่วนตัว) แล้วสาวเจ้าก็บอกว่าจะพาไปดูรอบๆ 

Monday, November 24, 2008

UML: state diagram

"To understand complex classes better, particularly those that act in different manners depending on their state, you should develop one or more UML 2 state machine diagrams, formerly called state chart diagrams in UML 1.x, describing how their instances work. "

"UML state machine diagrams depict the various states that an object may be in and the transitions between those states."

"A state represents a stage in the behavior pattern of an object, and like UML activity diagrams it is possible to have initial states and final states."

"An initial state, also called a creation state, is the one that an object is in when it is first created, whereas a final state is one in which no transitions lead out of. "

"A transition is a progression from one state to another and will be triggered by an event that is either internal or external to the object."

"The notation for the labels on transitions is in the format event [guard][/method list]. It is mandatory to indicate the event which causes the transition. Guard, conditions that must be true for the transition to be triggered, are optionally indicated."

"States are represented by the values of the attributes of an object....

It is possible to indicate the invocation of methods within a state. The notation used within the state (in this invocation of methods case) is the same as that used on transitions, the only difference being that the method list is mandatory and the event is optional....

Had there been no event indicated those methods would be invoked continuously (in a loop) whenever the object is in that state....

Methods to be invoked when the object enters the state are indicated by the keyword entry.
Methods to be invoked as the object exits the state are indicated by the keyword exit.

The capability to indicate method invocations when you enter and exit a state is useful because it enables you to avoid documenting the same method several times on each of the transitions that enter or exit the state, respectively." จะมาอธิบายเพิ่มด้วยรูปกับตัวอย่างอีกทีนะ

" You can have recursive transitions, also called self transitions, that start and end in the same state."

For the sake of convention, we say an object is always in one and only one state, implying transitions are instantaneous. Although we know this is not completely true (every method is going to take some time to run), this makes life a lot easier for us to assume transitions take no time to complete.


Depict Models Simply and Model in Small Increments

Sunday, November 23, 2008

Paris ตอนที่ สอง

ตอนนี้กลับมาถึงโรงแรมแล้ว หลังจากตะลุยฝนเกือบทั่วปารีส แต่อย่างน้อยก็ได้ไกด์พิเศษคือเพื่อนของไอ้จูเลียนมาช่วยพาไปโน่นนี่

เอาล่ะ อย่างแรกหลังจากตะลุยผ่าเมโทรของปารีสกันมาจนถึงโรงแรมได้ ก็ปฎิบัติการณ์หาของกินก่อนเลย เริ่มด้วยซูชิแถวๆโรงแรม แต่เจ้ากรรมวันอาทิตย์ร้านปิด แต่จริงๆก็ดีแล้วแหละ เราเลยได้มาเจอร้านอาหารญี่ปุ่นเลยได้เข้าไปกิน แหะๆๆ อร่อยแอนด์อิ่ม อิอิ

หลังจากนั้นเราก็เร่ิมเดินทางไปยัง ตู เดอ ไอเฟิล ท่ามกลางฝน (ห้ามลืม) เลยถ่ายรูปไม่ค่อยได้เลย แต่ก็อุตส่าห์เอามาได้รูปนึง ฮ่าๆ จากนั้นเราก็เดินผ่านสวนใหญ่ๆที่มองดูแล้วเนี่ย หน้าร้อนหรือใบไม้ผลิต้องงามแน่ๆ (เสียดาย) ผ่านสวนไปเราสองคน (ฉันกับไอ้จูเลียน) ก็มองหาป้ายเมโทรกันให้ขวั่ก มันถึงกับต้องโทรหาเพื่อน (กลุ้ม) สุดท้ายได้ความประมาณว่าให้ไปเจอเพื่อนจูเลียนที่ "บาร์มด" (fourmi bar) ก็ฝ่าฝนกันไป 

พอเริ่มเข้าเขตที่ชื่อว่า Pigalle ก็เริ่มรู้สึกเหมือนลอนดอนบนถนนสายหนึ่ง จากนั้นก็เริ่มนึกถึงบางลำภู ที่มีของปลอม ของถูกๆให้ซื้อหา (เกรดห่วยหน่อย) ขอบอกหน่อยว่าเขตนี้ในอดีตมี "ผู้หญิงทำงาน" อยู่เยอะมาก ปัจจุบันก็ได้ผันตัวเอง(หมายถึงถนน) มาเป็นร้าน sex shop แต่ที่น่าสนใจก็คือ Moulin Rouge เค้าอยู่บนถนนนี้ด้วยล่ะ เราเดินผ่านไปอย่างรวดเร็ว... ไม่ใช่กลัวอะไร แต่ฝนตกหนักขึ้นไปอีก เฮ้อ กรรมจริงๆ

Paris ตอนที่ หนึ่ง

ตอนนี้ซีนั่งอยู่ในเขตที่นั่งชั้นหนึ่งของรถไฟด่วน ทีจีวี ของฝรั่งเศส ก่อนหน้านี้ห้านาทีซีกำลังอ่านหนังสือเกี่ยวกับทฤษฎีกราฟ อ่านได้สักพัก ก็รู้สึกเวียนศรีษะ เพราะรถไฟมันไม่ได้นิ่งๆเสียทีเดียว ทำให้ต้องพักสายตาเสียหน่อย แล้วก็ให้รู้สึกได้ว่า ชีวิตของเรามันไม่ได้ลำบากจริงๆ เคยเข้าใจว่า ชิวิตของเรานี้มันลำบาก แต่พอนึกให้ดีแล้ว นี่ไม่ใช่ความลำบาก ที่ผ่านมา ชีวิตเราไม่ได้ลำบากยากเข็ญเลย

สิ่งที่ทำให้เกิดความรู้สึกเหล่านี้ก็คือการได้พูดคุยกับเพื่อนชาวต่างชาติหลายๆคน โดยเฉพาะคนที่เรามองว่าเค้าดูดี มีความรู้ มีชีวิตที่ดีปานกลางของที่นี่
ทั้งที่เราคิดว่าคนพวกนี้น่าจะสบายและรู้จักหลายสิ่งหลายอย่าง ที่เราคิดว่า "ธรรมดา" สำหรับเรา สิ่งที่เราคิดว่าเป็นของธรรมดาเหล่านั้นกลับกลายเป็นบางอย่างที่แปลก และไฮคลาสสำหรับเขาอย่างไม่น่าเชื ่อ เช่นการขึ้นลิฟท์บริษัทๆหนึ่งโดยต้องกดรหัสสี่ตัวเข้าไปเพื่อให้ลิฟท์ทำงาน

ส่วนเราคุ้นเคยกับการพิมพ์ลายน้ิวมือ แล้วตามด้วยรหัสประจำตัวหกหลัก และรหัสผ่านประตูอีกสี่หลัก เพื่อเข้าบริษัทๆหนึ่ง

คนยุโรปส่วนใหญ่ยังเป็นพวกหลังเขา... เป็นพวกบาวาเรียน (คนป่าในยุโรปแถบเยอรมัน ขึ้นชื่อเรื่องของความป่าเถื่อนในอดีต) อันนี้เราไม่ได้พูดเองนะ แต่ว่าอาจารย์ที่ปรึกษาคนนึง (คนเบลเยียม) พูดเอาไว้ แต่เราเห็นด้วยอย่างเต็มที่

Tuesday, November 18, 2008

Deep Blue Sky Day

I wake up this morning with some deadly ugly word, "you cannot do anything as always". And I hope today will be MY day for once.

Finally I found it's not true (again), since I need to re-install my macbook pro.

What's the problem?

NS-2 cannot be installed. It shows "error: X11/Xlib.h : no such file or directory"
ok...
"locate X11/Xlib.h"...
a lot of them can be found!!!
ok...
tried to open X11 itself...
"The application X11 quit unexpectedly"
ok...
"Relaunch"
"The application X11 quit unexpectedly"

ok...
"Relaunch"
"The application X11 quit unexpectedly"
"Relaunch"
"The application X11 quit unexpectedly"
"Relaunch"
"The application X11 quit unexpectedly"
"Relaunch"
"The application X11 quit unexpectedly"
"Relaunch"
"The application X11 quit unexpectedly"

WTFFFFFFFFFFFFFFFFFF
...
hu calm down calm down
"Report"
"Library not loaded: /usr/X11/lib/libXfont.1.dylib"

ok...
"locate libXfont.1.dylib"
>/Applications/CrossOver Games.app/Contents/SharedSupport/X11/lib/libXfont.1.dylib
>/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXfont.1.dylib
>/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libXfont.1.dylib
>/usr/X11/lib/libXfont.1.dylib

... T_T ...

R E - I N S T A L L


end news

Sunday, November 16, 2008

ปริญญาเอก...ชีวิตนี้ผมขึ้นอยู่กับใคร

การใช้ชีวิตในช่วงนี้ ช่างยุ่งเหยิงเสียจริงๆ
ไหนจะเรียนเขียน C++ ไหนจะ UML ไหนจะใช้คลัสเตอร์ ไหนจะ Terminal ทำให้ต้องเรียน UNIX
ไหนจะ ns-2 ไหนจะ OpNet
ไหนจะ...บลาๆๆๆๆๆๆๆ


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

ที่ว่าชีวิตไม่ได้เป็นของเราผู้เดียว เพราะ ชีวิตเราถูกกำหนดชะตาจากอาจารย์ที่ปรึกษาและพวกเอ็กเปิดทั้งหลาย
เราว่าไงท่านอาจจะไม่สนได้ แต่ท่านว่าอย่างไรมันก็ต้องเป็นไปตามนั้นแล

ที่พูดนี่ไม่ได้น้อยใจนะ แต่มันเป็นแบบนั้นแบบสัจธรรม เพราะโลกนี้วิชาการมันไม่ได้มีมุมมองเดียว ในเมื่อไม่มีสิ่งถูกเพียงสิ่งเดียว เราก็ต้องทำตามไม้บรรทัดที่คนอื่นวางไว้ให้ โดยเฉพาะคนนั้นเป็นคนตัดสินอนาตตเรา...

โอ้วแม่เจ้า ชีวิตข้ามิใช่ของข้าอีกต่อไป...

Friday, October 31, 2008

เพราะรัก จึงทุ่มเท จากพ่อ

ตอนเป็นเด็ก พ่อสอนพ่อสั่ง ก็หาว่าพ่อบ่น เรื่องเดิมๆ แต่พ่อก็พูดซ้ำๆกันได้เรื่อยๆ ไม่เข้าใจเลยว่าพ่อไม่เบื่อหรือยังไง พ่อไม่เหนื่อยหรือยังไง

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

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

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

ถึงแม้จะต้องยอมรับว่า การได้อยู่คนเดียว ดูแลตัวเองอย่างเต็มที่นั้น ทำให้ได้ประสบการณ์ตรงหลากหลาย แต่ประสบการณ์เหล่านั้นเทียบอะไรไม่ได้เลย กับกระบวนการคิด ที่ได้รับถ่ายทอดมาจากผู้ใหญ่ โดยเฉพาะพ่อ ซึ่งได้รับมาจากอาม่าอีกที

อย่างไรก็ดีการได้มาดูแลตัวเอง ได้อยู่คนเดียว ได้อยู่ในสังคมหลากหลาย ก็ทำให้เข้าใจชีวิตได้มากขึ้น และเข้าใจวิธีปรับใช้ความรู้ทีได้มาได้ดีขึ้น

โลกใบนี้ กับชีวิต ชีวิตนึง ไม่ได้มีคำตอบเพียงคำตอบเดียว ให้กับคำถาม คำถามหนึ่ง มันมีปัจจัยหลายอย่างเหลือเกินที่เราต้องตีความ และดัดแปลงคำตอบ แต่ถ้าเราไม่มีกระบวนการคิดที่ดี เราคงจะมองปัญหาไม่ออก และคงตีความหรือดัดแปลงคำตอบไม่ได้

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

รักพ่อคะ


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

ตอบว่าทำไมพ่อถึงพร่ำสอน นั่นก็เพราะพ่อยังเห็นเราทำผิดอยู่ หรือยังเสี่ยงที่จะทำผิดอยู่ ยังไม่ยอมรับคำสั่งสอนของพ่อด้วยใจ

ซี


Sunday, October 5, 2008

La Quiche Lorraine

La quiche est une tarte salée avec des lardons ou du fromage. Lisez la recette que nous vous proposons ici et remettez les photos dans l'ordre chronologique.

Temps de préparation: 20 minutes
Cuisson: 25 minutes
Ingrédients pour 4 personnes:
  1. 3 oeufs
  2. 1/2 litre de lait entier
  3. 125 g de lardons
  4. 1/2 cuillère à café de sel
  5. 2 pincées de poivre (ou noix muscade)
  6. 100 g de gruyère râpé
  7. pâte brisée avec 200 g de farine
Tout d'abord mettez les lardons dans une poêle et faites-les revenir. Ensuite, mettez la pâte brisée dans un moule à tarte et disposez les lardons sur la pâte. 
Battez les oeufs avec le lait et le sel, puis ajoutez une pincée de poivre ou de noix de muscade. 
Versez les oeufs et la crème sur la pâte. Ajoutez le gruyère. 
Chauffez le four à 200 degrés et mettez la quiche au four pendant 25 minutes.

+++++++++++++++++++++++++++++++++++++++
IMPéRATIF
(sans sujet; tu, vous)
mettez
faites
disposez
battez
ajoutez
versez
chauffez

+++++++++++++++++++++++++++++++++++++++
VOCABULAIRES
salé(e): adj. (goût) salty
les lardons
la recette
proposons
remettez
cuisson: nf. cooking
entier: adj. whole, absolute
cuillère: nf. spoon
pincée: nf. pinch (a very small amount, as much as may be taken between the finger and thumb) 
muscade: small bead similar to almond. It need to be rub of scratch when use. It's a kind of pepper
gruyère râpé
pâte brisée: une sorte de pâte

la poêle
faites revenir
le moule
le four

+++++++++++++++++++++++++++++++++++++++
Antisèche
laver les légumes
mettre le lait dans la casserole
avec du beurre
sans matière grasse

rédiger (vt. write, draw up) une recette
laver: wash
éplucher: peel
couper: chop
ajouter: add
mélanger: stir
verser: (pour liquid) pour
frire: fry (frire les frites)
faire cuire: 
mettre au four
tartiner: ทาเยอะๆบนของไรสักอย่าง
beurrez le moule ทาเนยบนแม่พิมพ์

+++++++++++++++++++++++++++++++++++++++
EXPLIQUER ORALEMENT UNE RECETTE
D'abord tu épluches les légumes. 
Ensuite, tu coupes les légumes en petits morceaux.
Puis, tu verses de l'eau sur les légumes.
Après, ...
Enfin, ...