Feeds:
Posts
Comments

Archive for October, 2010

Taken from http://dotmac.rationalmind.net/2010/08/some-lesser-known-truths-about-programming/

My experience as a programmer  has taught me a few things about writing software. Here are some things that people might find surprising about writing code:

  • A programmer spends about 10-20% of his time writing code, and most programmers write about 10-12 lines of code per day that goes into the final product, regardless of their skill level. Good programmers spend much of the other 90% thinking, researching, and experimenting to find the best design. Bad programmers spend much of that 90% debugging code by randomly making changes and seeing if they work.
    “A great lathe operator commands several times the wage of an average lathe operator, but a great writer of software code is worth 10,000 times the price of an average software writer.” –Bill Gates
  • A good programmer is ten times more productive than an average programmer. A great programmer is 20-100 times more productive than the average. This is not an exaggeration – studies since the 1960′s have consistently shown this. A bad programmer is not just unproductive – he will not only not get any work done, but create a lot of work and headaches for others to fix.
  • Great programmers spend little of their time writing code – at least code that ends up in the final product. Programmers who spend much of their time writing code are too lazy, too ignorant, or too arrogant to find existing solutions to old problems. Great programmers are masters at recognizing and reusing common patterns. Good programmers are not afraid to refactor (rewrite) their code constantly to reach the ideal design. Bad programmers write code which lacks conceptual integrity, non-redundancy, hierarchy, and patterns, and so is very difficult to refactor. It’s easier to throw away bad code and start over than to change it.
  • Software obeys the laws of entropy, like everything else. Continuous change leads to software rot, which erodes the conceptual integrity of the original design. Software rot is unavoidable, but programmers who fail to take conceptual integrity into consideration create software that rots so so fast that it becomes worthless before it is even completed. Entropic failure of conceptual integrity is probably the most common reason for software project failure. (The second most common reason is delivering something other than what the customer wanted.) Software rot slows down progress exponentially, so many projects face exploding timelines and budgets before they are killed.
  • A 2004 study found that most software projects (51%) will fail in a critical aspect, and 15% will fail totally. This is an improvement since 1994, when 31% failed.
  • Although most software is made by teams, it is not a democratic activity. Usually, just one person is responsible for the design, and the rest of the team fills in the details.
  • Programming is hard work. It’s an intense mental activity. Good programmers think about their work 24/7. They write their most important code in the shower and in their dreams. Because the most important work is done away from a keyboard, software projects cannot be accelerated by spending more time in the office or adding more people to a project.

Read Full Post »

Conf T

interconnected network.. emulating 6 cisco devices on my i5.. utilizing almost 80% of my entire i5 CPU, 60% of total 4GB RAM.. still.. it’s only the beginning.. of my journey of a thousand miles..

Read Full Post »

馬六甲一遊

這週末的馬六甲一遊讓我全身疲憊不堪。。在太陽普照之下,滿身大汗中巡遊,逛街,找著東西好吃的, 古董建築物等; 左右翼旁都貼滿吉利對聯詞句, 春聯還留著在牆上依稀可見幾個字壽山福海等吉祥詞句。也發現許多會館立足於此地呢.. 歷史記載, 黑白照片到處可見, 還有晚上時, 小路轉換成很熱鬧的夜市, 賣各種各樣類似於台灣小吃和物品, 算不錯啦.. 這就所謂觀光勝地啊。ㄟ 回到飯店時我感覺好奇怪,怎麼多年來的歷史, 城市裡成長發達速度並沒有那麼快.. 附近似乎沒可見什麼高樓大廈.. 

這上面照片呢, 是我和我大學朋友們的合照.. 背景是一艘船似的博物院, 裡面在講馬六甲的興衰; 文明和戰爭.. 我真有興趣讀上面寫得東西, 由於時間不足, 所以逼不得已離開.. 

 

到了那兒咱們就吃著名的雞粒飯, 飲料我點椰子來喝.. 味道不錯啦, 但總是比不上碧山賣的白斬雞飯… 晚上呢, 咱們就吃加必多沙嗲.. 排得X馬的長, 等候多時才輪到咱們吃.. 味道很一般, 價錢還OK.. 唉.. 印尼路邊賣的沙嗲最好吃了啦..

中學課本經常提到的馬六甲我至少去過了啦.. 依我看來, 真比我想像中還有趣, 這地方果然名不虛傳..

Posted by Picasa

Read Full Post »

這次活動功勞歸於那些新人才有助於扮演許多重要角色, 本人以代表謝意, 雖然沒額外錢請他們吃什麼大餐(大餐另外再舉辦, 大老闆請客! 看你們個人信箱有邀請啊~) 這次呢… 我決定分享給大家我最愛保藏, 也就是視頻教材.. 我跟他們講, 你如果能夠把全部東西完全吸收到你熟悉為止, 我保證你薪水超過五個數字. 他們就很開心地跟我約好時間來下.. 我前兩天收到某個人的電郵問我說要帶多大空盤; 然後甚至跟我講他迫不及待地看那些知識見聞.. 唉.. 我… 我真想念那種感覺.. 看我學弟妹們怎麼熱情.. 我更不能輸於他們呢.. 必須加油啊.. 必須學, 學到無涯之地..


哲學家韓癒的一句治學名聯:“書山有路勤為徑,學海無涯苦作舟”。韓癒的這句話意在告訴人們,在讀書、學習的道路上,沒有捷徑可走,沒有順風船可駛,想要在廣博的書山、學海中汲取更多更廣的知識,“勤奮”和“潛心”是兩個必不可少的,也是最佳的條件…

Read Full Post »

ATI cards seem to interpret 1920×1080 HDMI as a TV mode and set an underscan of 15% by default.

I have connected up my HD3200 to both a 1920×1080 TV via HDMI and a 1280×1024 LCD via DVI and this only happens on the TV.

For some reason they hide this setting away as well.
In Windows you need to go to the ATI Catalyst Control Center and select the Desktops & Displays section.
Then use the dropdown menu from the triangle on the small screen icon at the bottom.

Select Configure, then the Scaling Options tab.

Read Full Post »