Please produce useful error messages

I just helped someone whose Fedora Core 3 installation was producingthe following error message:

# yum check-updateSetting up repositoriesCannot find a valid baseurl for repo: updates-released

This is a beautiful example of a Unix tendency that people gripeabout: technically correct but completely useless error messages.While yum is correctly complaining that it cannot generate a valid URLfor the 'updates-released' RPM repository, it would be much moreuseful if it told us why, with an error message such as:

Cannot fetch


筍工

(我不會應徵,但各位有志有力者不妨把握機會。)

紫藤 是一個關注性工作者權益的非政府組織誠聘[ 活動及出版 ]幹事,負責:

.撰寫活動計劃書
.出版中、英文通訊
. 對外聯繫
.地區組織工作

申請人需中、英文良好、對性工

某日想來

有些東西我似乎總是不明白。

其實經常都會遇到有人指〈像我這樣一個女子〉的女主角神經質、諗埋一邊、癲癲地,但我總是理解為,諸如此類的錯覺,是由於讀者對世界的理解太淺薄、單一而缺乏參照,才會將那樣一個懂得為

20050720網摘 – Web2.0狂潮

網頁技術

傳媒相關


男友一百戒條

1. 唔准同任何15歲以上35歲以下無血緣關係既女性單獨外出或者傾超過5分鐘電話。
2. 我‘meet’你既時候你唔准縮。
3. 我唔會check你既來電顯示,但係你最好唔好俾我聽到你同不明來歷既女人講電話。
4. 你個電話裡面

我的 Bloglines 都沒有了

這一陣子 Bloglines 的水喉匠經常出現,要修做補工作,不知道是不是因為 blog 的內容日益增加,而 Bloglines 自身的 Server 已不敷應用?本來都只是暫停服務比較多,但今天吃過午飯後,看一看我的 Bloglines …. Oh my god~~

bl

幸好,在不早之前也有 Backup 自己的 Subscription


Exceptions and casual programming

Exceptions have somewhat of a bad reputation in serious programmingcircles. People feel that they are troublesome for various reasons,including that they are non-local gotos and they make it hard toguarantee that you really are cleaning up after problems. (You canfind posts about this at Joel on Software and in Raymond Chen's blog,among other places.)

I don't know about that, but I do know that exceptions are really goodfor casual programs, which is what I mostly write. Casual programs


Exceptions as efficient programming

Python likes to make programming efficient: that is, to make programsfast and easy to write, and eliminate the tedious drudgery. Prettymuch all dynamically typed languages do, since static typing is a lotof effort (except in languages with a lot of type inference, where itis only some effort).

After writing yesterday's entry ,it's struck me that exceptions are a form of efficientprogramming, because they let you aggregate error checking and errorhandling across a large block of code.

Without exceptions


第一次練習

星期日晚去了第一次的 GBA 練習。

有關 GBA ,我之前已有寫過,他們是中大的一隊 A capella ,全名是 Girls & Boys A capella ,也就是無伴奏和聲。在之前大專賽奪得冠軍而揚名,所以多了演出的機會,下一個表演需要比較多人 ( 是否有保密協議? )


熱到飛起

今日真係熱到飛起哦~
我平時真係盡量都唔開冷氣的,特別在屋企的時候.今日要在屋企攪觸映份子的網頁,已經開晒窗打開埋大門,但係一點風都沒有.終於要開足一日冷氣哦~~

攪左一日的網頁更新已經做好了 ,有時間上來