Tuesday, January 17, 2012
升級電腦的思維
大二的時候,換了一顆賽楊300。沒錯,就是300Mhz的賽楊。
大四的時候,就變成杜龍800。
退伍之後然後換什麼althon xp 2000+。
然後因緣際會之下,我在我家樓下撿到了一套P4 Celeron 2.0。
然後樓下的電腦店,把淘汰的amd sempron 2800+給我。
就在兩個星期前,這套Sempron 2800+壞了,這顆2004年的產品,主機板上的電容爆了又換,換了又爆(以上幾台電腦都是這樣),不過這次是真的壞了,我已經沒有辦法修了。
所以,我上個禮拜買了這季2012年一月榜上最低等級CPU套餐G530加上Asus H61的主機板,僅3100台幣。其效能讓我非常的詫異,我真的太容易滿足了。
Tuesday, February 22, 2011
昨天騎車的時候忽然想到這首歌
Intro: C Am C Am
C Am
I heard there was a secret chord
C Am
That David played and it pleased the lord
F G C G
But you don't really care for music, do you?
C F G
Well it goes like this the fourth, the fifth
Am F
The minor fall and the major lift
G Em Am
The baffled king composing hallelujah
Chorus:
F Am F C G C
Hallelujah, hallelujah, hallelujah, hallelu-u-u-u-jah ....
C Am
Well your faith was strong but you needed proof
C Am
You saw her bathing on the roof
F G C G
Her beauty and the moonlight overthrew you
C F G
She tied you to her kitchen chair
Am F
She broke your throne and she cut your hair
G Em Am
And from your lips she drew the hallelujah
F Am F C G C
Hallelujah, hallelujah, hallelujah, hallelu-u-u-u-jah ....
C Am
Baby I've been here before
C Am
I've seen this room and I've walked this floor
F G C G
I used to live alone before I knew you
C F G
I've seen your flag on the marble arch
Am F
But love is not a victory march
G Em Am
It's a cold and it's a broken hallelujah
F Am F C G C
Hallelujah, hallelujah, hallelujah, hallelu-u-u-u-jah ....
C Am
Well there was a time when you let me know
C Am
What's really going on below
F G C G
But now you never show that to me do you
C F G
But remember when I moved in you
Am F
And the holy dove was moving too
G Em Am
And every breath we drew was hallelujah
C Am
Well, maybe there's a god above
C Am
But all I've ever learned from love
F G C G
Was how to shoot somebody who outdrew you
C F G
It's not a cry that you hear at night
Am F
It's not somebody who's seen the light
G Em Am
It's a cold and it's a broken hallelujah
F Am F C G C
Hallelujah, hallelujah, hallelujah, hallelu-u-u-u-jah ....
Friday, February 18, 2011
Monday, July 05, 2010
昆西加上gcc 4.4.0
一般來說mingw裡面的gcc版本都是3.4.x版本的,如果要用到openMP,通常都要手動下載新版的gcc。雖然說gcc 4.5.0都已經出了,但是都要一個套件一個套件下載,所以我就直接使用去年的版本gcc 4.4.0。其實我電腦是單核的,設計多核心程式其實也是好玩,對多核有點概念而已。
在昆西中的設定,必須要在Compiler option加入 -fopenmp,還有在Linker options加入 -lgomp -lpthread,然後另外要去下載pthreadGC2.dll檔案,複製到bin資料夾。這時候gcc編譯openmp環境就大致完成了。接下來就是寫openmp的程式了。而昆西也就能支援多核心的開發了。
Thursday, January 31, 2008
哆的熱情
這是我還算蠻久以前想像的地熱系統,不知道為什麼,可能是因為昨天天氣很冷,很希望有個發熱的東西,但是如果使用電暖氣又浪費電又不環保(那個電熱的轉換效率其實低於五成以下),而且又做了奇怪的轉換,羞恥的火力發電廠將熱轉成機械能,再由機械能轉成電,然後電送來我家後我就將電能轉成熱能,一層一層的能量轉換就像你拿著台幣換加幣,加幣換歐元,歐元換美金,美金在換成台幣般的越換越小一樣。
我將會簡單的畫一下我對地熱系統的想法,
這當然只是很粗略的想法,利用乾淨的水注入地底深處,產生水蒸氣與高壓,而在原本的管子上也產生類似加熱的效果,但是由於上面的止逆伐止逆後產生的壓力送至氣動馬達帶動三相發電機,然後卸壓後的飽和水蒸氣降溫之後經過蒸發器回到原本的水箱。
Friday, August 03, 2007
噴射機
而飽和蒸汽變為濕飽和蒸汽時所產生的壓差即為在空間上與壓力上的差異。進而利用其壓力差使用氣壓原件如氣動馬達,供給壓縮機與鼓風機動力。在熱力來源後裝一止逆閥,在散熱器後再裝一止逆閥。