Source Code: My Beginnings — Book Summary
សង្ខេបសៀវភៅ «កូដប្រភព៖ ការចាប់ផ្ដើមរបស់ខ្ញុំ»
What is Source Code: My Beginnings about?
Source Code is Bill Gates's memoir of how a restless, argumentative Seattle boy became a programmer and, by 1979, the cofounder of Microsoft. It follows his family life, his school computer room and free machine time, his first paid programming jobs, the death of his friend Kent Evans, his years at Harvard, and the writing of Altair BASIC for a computer he did not own, then the early fights over royalties, piracy and contracts. Gates also weighs how much of his path came from unearned privilege, lucky timing with the microprocessor, and the adults who guided his curiosity.
សៀវភៅ «កូដប្រភព៖ ការចាប់ផ្ដើមរបស់ខ្ញុំ» និយាយអំពីអ្វី?
កូដប្រភព ជាសៀវភៅអនុស្សាវរីយ៍របស់ប៊ីល ហ្គេតស៍។ គាត់រៀបរាប់ពីក្មេងប្រុសម្នាក់នៅទីក្រុងស៊ីអាថល ដែលមិនចេះនៅស្ងៀម ហើយចូលចិត្តជជែកតវ៉ា។ ក្មេងនោះបានក្លាយជាអ្នកសរសេរកម្មវិធី ហើយមកដល់ឆ្នាំ១៩៧៩ គាត់ជាអ្នករួមបង្កើតក្រុមហ៊ុនម៉ៃក្រូសូហ្វរួចទៅហើយ។ សៀវភៅនេះនិយាយពីជីវិតក្នុងគ្រួសារ បន្ទប់កុំព្យូទ័រនៅសាលា និងម៉ោងប្រើកុំព្យូទ័រឥតគិតថ្លៃ ការងារសរសេរកម្មវិធីដំបូងៗដែលគេបើកលុយឱ្យ ការស្លាប់របស់មិត្តភក្តិ ខេន អ៊ីវ៉ាន់ស៍ ឆ្នាំរៀននៅសាកលវិទ្យាល័យហាវ៉ាត និងការសរសេរបេស៊ីកសម្រាប់កុំព្យូទ័រអាល់ថែរ ទាំងដែលគាត់មិនមានកុំព្យូទ័រនោះផង។ បន្ទាប់មក ជាការឈ្លោះគ្នាដំបូងៗ អំពីកម្រៃលើការលក់មួយច្បាប់ៗ ការចម្លងកម្មវិធីដោយមិនបង់លុយ និងកិច្ចសន្យា។ ហ្គេតស៍ក៏ថ្លឹងមើលដែរថា ផ្លូវជីវិតរបស់គាត់ មានចំណែកប៉ុណ្ណាមកពីឯកសិទ្ធិដែលគាត់កើតមកមានស្រាប់ គឺគុណសម្បត្តិដែលគាត់មិនបានខំរកដោយខ្លួនឯង។ មានចំណែកប៉ុណ្ណាមកពីសំណាង ដែលបន្ទះឈីបខួរកុំព្យូទ័រចេញមកចំពេល ហើយប៉ុណ្ណាមកពីមនុស្សធំ ដែលជួយតម្រង់ផ្លូវឱ្យចិត្តចង់ដឹងចង់ឃើញរបស់គាត់។
What you'll learn: 16 chapters
- Prologueអារម្ភកថា
- 1. Trey១. ត្រេ ឈ្មោះហៅក្រៅកាលនៅតូច
- 2. View Ridge២. វីវរីជ សង្កាត់ដែលគាត់ធំឡើង
- 3. Rational៣. ក្មេងដែលចង់ដឹងហេតុផលគ្រប់រឿង
- 4. Lucky Kid៤. ក្មេងដែលមានសំណាង
- 5. Lakeside៥. សាលាលេកសាយ
- 6. Free Time៦. ម៉ោងកុំព្យូទ័រឥតគិតថ្លៃ
- 7. Just Kids?៧. គ្រាន់តែជាក្មេងឬ?
- 8. The Real World៨. ការងារពិតលើលោកពិត
- 9. One Act and Five Nines៩. ឆាកល្ខោនមួយ និងប្រព័ន្ធដែលមិនអាចគាំង
- 10. Precocious១០. ឆ្លាតលឿនជាងវ័យ
- 11. Wild Card១១. ជម្រើសដែលបើកផ្លូវគ្រប់ទិស
- 12. Be So Correct១២. ធ្វើឱ្យត្រឹមត្រូវរហូតគ្មានអ្នកចាប់កំហុសបាន
- 13. Micro-Soft១៣. កំណើតក្រុមហ៊ុនម៉ៃក្រូ-សូហ្វ
- 14. Source Code១៤. កូដប្រភព
- Epilogueសេចក្តីបញ្ចប់
Free preview: Prologue
Hiking and Programming, Two Adventures
When Bill Gates was about thirteen, he had two very different groups of friends. Both, he says, gave him the same thing: a place where he could decide for himself what doing well meant.
The first group was four boys from the Boy Scouts, led by Mike, the oldest. They wanted more freedom and more risk than Scout trips allowed, so they went off on long hikes of their own, which they called expeditions. For about three years they hiked hundreds of miles with no adults. Gates was the thinnest and often the coldest. He loved it anyway, because out there the boys made their own decisions.
The second group was at his school, Lakeside. Gates and his friends Kent Evans, Paul Allen and Ric Weiland could use a big computer over a phone line, which very few teenagers could do then. Hiking and programming looked nothing alike, but Gates says both felt like adventures. Both let him set his own measure of success, instead of being judged by how fast he ran or how far he threw. And with the computer group, unlike on the trail, he was the leader. Think of it like this: in a sports class someone else sets the test, but on a long hike or a hard program he could set it himself.
The Code He Wrote on a Cold Trail
On one cold, miserable hike, Bill Gates wrote what he calls the best code of his life, all in his head. Years later, that same code helped start a company.
In June 1971 Mike led the group on a fifty-mile trip over the Low Divide, a mountain pass. The snow was deep, and the shelter where they planned to sleep was buried. Gates wanted to turn back, but the others voted to push on.
So, cold and unhappy, he escaped into his own thoughts. Lakeside had a borrowed PDP-8, a computer small enough to sit on a desk, and he had set himself a challenge: write BASIC, a simple programming language, for it. As he walked, he worked on one part, the formula evaluator. It is the piece that tells a computer which step of a sum to do first, for example whether to multiply before it adds. The PDP-8 had very little memory, so the code had to be tiny. For hours he pictured the code and cut it shorter. Gates points out that short, clean code is harder to write than long, sloppy code, and he says nothing he had written before was as good.
The PDP-8 was taken back that fall, and the BASIC was never finished. But about three and a half years later, when Gates was in college, Paul Allen rushed into his room with news of an exciting new computer. Gates recalled the evaluator from that trail and typed it in. He sees that moment as the seed of what became one of the world's largest companies. In plain words, work he did for its own sake on a bad day was ready when the big chance came.
អានសាកល្បង៖ អារម្ភកថា
ដើរព្រៃ និងសរសេរកម្មវិធី ជាដំណើរផ្សងព្រេងពីរបែប
ពេលអាយុប្រហែល១៣ឆ្នាំ ប៊ីល ហ្គេតស៍ (Bill Gates) មានមិត្តភក្តិពីរក្រុម ដែលខុសគ្នាស្រឡះ។ គាត់ថា ក្រុមទាំងពីរធ្វើឱ្យគាត់បានរបស់មួយដូចគ្នា គឺកន្លែងមួយដែលគាត់អាចកំណត់ដោយខ្លួនឯងថា ធ្វើបានល្អ មានន័យយ៉ាងណា។
ក្រុមទីមួយ គឺក្មេងប្រុសបួននាក់មកពីក្រុមកាយរឹទ្ធិ ដែលជាក្រុមក្មេងប្រុសរៀនដើរព្រៃ បោះជំរំ និងជំនាញក្រៅផ្ទះ។ ម៉ៃក៍ធំជាងគេ ហើយជាអ្នកដឹកនាំ។ ពួកគេចង់មានសេរីភាព និងចង់ប្រថុយច្រើនជាងដំណើររបស់ក្រុមកាយរឹទ្ធិ ទើបនាំគ្នាចេញដើរព្រៃឆ្ងាយៗដោយខ្លួនឯង ហើយហៅដំណើរទាំងនោះថា បេសកកម្ម។ អស់ប្រហែលបីឆ្នាំ ពួកគេដើររាប់រយម៉ាយ ដោយគ្មានមនុស្សធំទៅជាមួយសោះ។ ហ្គេតស៍ស្គមជាងគេ ហើយច្រើនតែរងាជាងគេ។ ទោះយ៉ាងណា គាត់នៅតែចូលចិត្តដំណើរទាំងនោះ ព្រោះនៅក្នុងព្រៃ ក្មេងៗសម្រេចចិត្តដោយខ្លួនឯង។
ក្រុមទីពីរនៅសាលារបស់គាត់ គឺសាលាលេកសាយ (Lakeside)។ ហ្គេតស៍ និងមិត្តបីនាក់ គឺខេន អ៊ីវ៉ាន់ស៍ (Kent Evans) ប៉ូល អាឡិន (Paul Allen) និងរីក វ៉ាយឡិន (Ric Weiland) អាចប្រើកុំព្យូទ័រធំមួយតាមខ្សែទូរស័ព្ទ។ នៅសម័យនោះ ក្មេងជំទង់តិចណាស់ដែលបានប្រើបែបនេះ។ ការដើរព្រៃ និងការសរសេរកម្មវិធី មើលទៅមិនដូចគ្នាសោះ ប៉ុន្តែហ្គេតស៍ថា ទាំងពីរធ្វើឱ្យគាត់មានអារម្មណ៍ដូចចេញផ្សងព្រេង។ ទាំងពីរឱ្យគាត់កំណត់ដោយខ្លួនឯងថា ជោគជ័យមានន័យយ៉ាងណា មិនមែនឱ្យគេវាស់គាត់ថា រត់លឿនប៉ុណ្ណា ឬបោះបានឆ្ងាយប៉ុណ្ណានោះទេ។ ហើយក្នុងក្រុមកុំព្យូទ័រ គាត់ជាអ្នកដឹកនាំ ខុសពីពេលដើរព្រៃ។ សាកគិតបែបនេះ៖ ក្នុងម៉ោងកីឡា អ្នកផ្សេងជាអ្នកកំណត់ថា ត្រូវធ្វើយ៉ាងណាទើបល្អ តែពេលដើរព្រៃឆ្ងាយ ឬសរសេរកម្មវិធីពិបាកមួយ គាត់អាចកំណត់រឿងនោះដោយខ្លួនឯង។
កូដដែលគាត់សរសេរក្នុងក្បាល នៅលើផ្លូវត្រជាក់
ក្នុងដំណើរដើរព្រៃមួយលើក ដែលទាំងត្រជាក់ ទាំងវេទនា ប៊ីល ហ្គេតស៍ (Bill Gates) បានសរសេរកូដដែលគាត់ថាល្អបំផុតក្នុងជីវិត ហើយសរសេរទាំងអស់នៅក្នុងក្បាល។ កូដ គឺបញ្ជាដែលគេសរសេរប្រាប់កុំព្យូទ័រថាត្រូវធ្វើអ្វី។ ច្រើនឆ្នាំក្រោយមក កូដដដែលនោះបានជួយចាប់ផ្តើមក្រុមហ៊ុនមួយ។
នៅខែមិថុនា ឆ្នាំ១៩៧១ ម៉ៃក៍នាំក្រុមដើរចម្ងាយ៥០ម៉ាយ (ប្រហែល៨០គីឡូម៉ែត្រ) ឆ្លងកាត់ច្រកភ្នំឡូឌីវ៉ាយ។ ព្រិលគរក្រាស់ ហើយកន្លែងជម្រកដែលពួកគេគ្រោងដេក ត្រូវព្រិលកប់បាត់។ ហ្គេតស៍ចង់ត្រឡប់ក្រោយ ប៉ុន្តែអ្នកឯទៀតបោះឆ្នោតឱ្យបន្តទៅមុខ។
ដូច្នេះ ទាំងរងា ទាំងមិនសប្បាយចិត្ត ហ្គេតស៍ក៏គេចចូលទៅក្នុងគំនិតរបស់ខ្លួន។ ពេលនោះ សាលាលេកសាយ (Lakeside) មានកុំព្យូទ័រភីឌីភី-៨ (PDP-8) មួយដែលខ្ចីគេមក ជាកុំព្យូទ័រតូចល្មមដាក់លើតុបាន។ ហ្គេតស៍ដាក់ចំណោទមួយឱ្យខ្លួនឯង៖ សរសេរភាសាសរសេរកម្មវិធីបេស៊ីក ឬហៅថា BASIC ជាភាសាសាមញ្ញសម្រាប់អ្នកទើបរៀន ឱ្យដំណើរការលើកុំព្យូទ័រនោះ។ ពេលកំពុងដើរ គាត់គិតសរសេរផ្នែកមួយក្នុងក្បាល គឺផ្នែកដែលប្រាប់កុំព្យូទ័រថា ត្រូវគណនាជំហានណាមុន ឧទាហរណ៍ ត្រូវគុណមុន ឬបូកមុន។ ភីឌីភី-៨ មានអង្គចងចាំតិចណាស់ ដូច្នេះកូដត្រូវតែតូចបំផុត។ អស់ជាច្រើនម៉ោង គាត់ស្រមៃមើលកូដនោះក្នុងក្បាល ហើយកាត់វាឱ្យខ្លីទៅៗ។ ហ្គេតស៍បង្ហាញថា កូដខ្លី និងស្អាត សរសេរពិបាកជាងកូដវែង និងរញ៉េរញ៉ៃ។ គាត់ថា គ្មានកូដណាដែលគាត់ធ្លាប់សរសេរពីមុន ល្អដូចកូដនោះទេ។
ដល់រដូវស្លឹកឈើជ្រុះ គេយកភីឌីភី-៨ ទៅវិញ ហើយបេស៊ីកនោះ គាត់មិនបានសរសេរចប់ទេ។ ប៉ុន្តែប្រហែលបីឆ្នាំកន្លះក្រោយមក ពេលហ្គេតស៍រៀននៅសាកលវិទ្យាល័យ ប៉ូល អាឡិន (Paul Allen) រត់ចូលបន្ទប់គាត់ ទាំងនាំដំណឹងពីកុំព្យូទ័រថ្មីមួយដែលគួរឱ្យរំភើប។ ហ្គេតស៍នឹកឃើញផ្នែកគណនាដែលគាត់គិតនៅលើផ្លូវដើរព្រៃនោះ ហើយវាយវាចូលកុំព្យូទ័រ។ គាត់ចាត់ទុកពេលនោះ ជាគ្រាប់ពូជដែលក្រោយមកដុះធំ ក្លាយជាក្រុមហ៊ុនធំបំផុតមួយលើលោក។ និយាយឱ្យងាយ ការងារដែលគាត់ធ្វើព្រោះចូលចិត្ត ក្នុងថ្ងៃដ៏អាក្រក់មួយ បានរួចរាល់ស្រាប់ ពេលឱកាសធំមកដល់។