1 你每天都使用IDE進(jìn)行編碼,而IDE有很多快捷鍵。把他們都學(xué)會。。。
這個都學(xué)會是有點難,但是慢慢學(xué)還是可以搞的。。。恩,以后好好學(xué)一下。。
專注法則 本章的目的是讓你重新找到征服一座山峰后興奮地頭暈的感覺。。。真看不出來。。。
插入一段,剛剛在群上聊到Hash 函數(shù)的問題。。提到了兩個算法:Bloom Filter算法和 MD5 。。之前的確沒有特殊了解過。。
自己對大規(guī)模數(shù)據(jù)處理這部分一直都是個薄弱環(huán)節(jié)。。需要進(jìn)一步加強。。。字典樹 (tire tree)這個問題一直沒有把他歸結(jié)到代碼上。。有些許遺憾啊。。
繼續(xù)讀書
2 我是開源版本控制系統(tǒng)Subversion的忠實fans,在我看來,它就是強大、簡單和易用的完美結(jié)合。歸根到底,subversion是一個基于命令行的版本控制系統(tǒng),不過有很多開發(fā)者為它開發(fā)出來前端工具(我最喜歡的是與Windows資源管理器集成的Tortoise)。盡管如此,subversion 最大的威力還是在命令行。。。
這個subversion 自己還真的不是很了解唉。。而且很多的CVS自己都不是很熟。。至少需要熟悉一個CVS吧。。。唉。。又拖累大家樂。。
3 Yak Shaving 這或許是今天晚上最大的收獲吧。。。第一次聽說這個名次。。Yak shaving。。或許是我太孤陋寡聞了。。
莫名其妙今晚的google不好用。。只好找個繁體的了。。
別讓自動化的努力變成剪牦牛毛(yak shaving)——這是一句在計算機科學(xué)界源遠(yuǎn)流長的行話,它代表了諸如此類的情況:
- 你打算根據(jù)Subversion日誌自動生成一些文檔。
- 你嘗試給Subversion加上一個鉤子,然後發(fā)現(xiàn)當(dāng)前使用的Subversion版本與你的Web服務(wù)器不兼容。
- 你開始更新Web服務(wù)器的版本,然後又發(fā)現(xiàn)這個新版本在操作系統(tǒng)當(dāng)前的這個補丁級別上不被支持,於是你開始更新操作系統(tǒng)。
- 操作系統(tǒng)的更新包存在一個已知的問題,與用於備份的磁盤陣列不兼容。
- 你下載了尚未正式發(fā)布的針對磁盤陣列的操作系統(tǒng)補丁,它應(yīng)該能用。它確實能用,但又導(dǎo)致顯卡驅(qū)動出問題了。
終於在某個時候,你停下來回想自己一開始到底是想幹什麼。然後你發(fā)現(xiàn)自己正給牦牛剪毛,這時你就應(yīng)該停下來想想:這一大堆牛毛跟“從Subversion日誌生成文檔”到底有什麼關(guān)系呢?
剪牦牛毛是件危險的事,因為它會吃掉你大把的時間。...始終牢記你到底要做什麼,如果情況開始失控就及時抽身而出。
YakShaving 是一件危險的事,因為它會吃掉你大把的時間,始終牢記你要做什么。。如果情況開始失控就及時抽身而出。。。想想我也曾經(jīng)浪費大把的時間。。慚愧。。在網(wǎng)上追根溯源找到了一篇E文的Blog。。看一下。。
Don't Shave That Yak!
The single best term I've learned this year.
Apparently turned into a computer term by the MIT media lab five years ago, yak shaving was recently referenced by my pal Joi Ito. (Link: Joi Ito's Web: Yak Shaving)
I want to give you the non-technical definition, and as is my wont, broaden it a bit.
Yak Shaving is the last step of a series of steps that occurs when you find something you need to do. "I want to wax the car today."
"Oops, the hose is still broken from the winter. I'll need to buy a new one at Home Depot."
"But Home Depot is on the other side of the Tappan Zee bridge and getting there without my EZPass is miserable because of the tolls."
"But, wait! I could borrow my neighbor's EZPass..."
"Bob won't lend me his EZPass until I return the mooshi pillow my son borrowed, though."
"And we haven't returned it because some of the stuffing fell out and we need to get some yak hair to restuff it."
And the next thing you know, you're at the zoo, shaving a yak, all so you can wax your car.
This yak shaving phenomenon tends to hit some people more than others, but what makes it particularly perverse is when groups of people get involved. It's bad enough when one person gets all up in arms yak shaving, but when you try to get a group of people together, you're just as likely to end up giving the yak a manicure.
Which is why solo entrepreneurs and small organizations are so much more likely to get stuff done. They have fewer yaks to shave.
So, what to do?
Don't go to Home Depot for the hose.
The minute you start walking down a path toward a yak shaving party, it's worth making a compromise.
Doing it well now is much better than doing it perfectly later.