星期六, 12月 25, 2004

終於升速了~~~

申請至今快一個月了
終於我的頻寬換成2M/256Kbps了
不過目前下載有一點問題
去測還是只有1M左右
但是上載有25KB的實力
這應該是自我接觸網路時那56kbps以來
u/l第一次的升級
真是爽爽爽
目前上傳全開給驢子
但是想要搞個site玩玩看
或是audio streamming server試試看
之前都有搞過
但是頻寬真的很龜
都不了了之
現在煩惱的就是content了
過我想這應該比硬體還要更難搞
至少對我來說是如此~~~

星期二, 12月 21, 2004

好久沒敢冒了~~~

上禮拜天中午開始就覺得不太舒服
果然到下午就開始難過了
頭痛發燒噁心拉肚子一起來
晚餐也吃不下
晚上跟我姊騎著車找醫院看病
找到了一家應該是新開沒多久的診所
醫生說是流感加上腸胃道感染
難怪到現在肚子都還在痛
東西也吃不下
因為會有反胃的感覺
感冒併發肚子痛我還很少有這種經驗
已前多半是扁桃腺發炎
頭痛發燒而已
真是休息一少
抵抗力真的會減弱~~~

星期五, 12月 17, 2004

First contact with NUnitAsp ~~~

昨天一個前輩寄了一個NUnitAsp 的說明文件
今天早上花了點時間大概看了前面一點
基本上理論與NUnit 一樣
其實它也就是NUnit的 extension
只是特別是包含了許多可以用來測試web control 的test class
讓你方便以使用control 的概念來測試這些control
(NUnitAsp is based on the principle that testing web pages should use the same concepts as creating them)
不過照著範例create 了第一個project還是有問題
NUnit報告有nunit.framework.dll組件的錯誤
靠,是怎樣
又要跟他長期抗戰了
我還有NHibernate要看ㄋㄟ~~~

星期三, 12月 15, 2004

NHibernate Notes #1

1. It is problematic to compare DateTime values when using DateTime.Now to set the value because Ms Sql Server can NOT store dates with the same accuracy as the DateTime struct can - so it is possible to store a DateTime and not retrieve the exact same DateTime.

2. We can't compare the blogItem.ParentBlog and item.ParentBlog because they will be differnt objects since they were loaded in "different sessions". If Blog implemented Equals() and GetHashCode() correctly then we could compare them - they would be equal by object equality - blog.Equals(otherBlog), but not have by object identity - blog==Otherblog - because they would be seperate objects in memory. NHibernate guarantees the same object by identity inside of a Session only.

3. The only way to make sure these are referring to the same blog is by checking for database identity equality - ie: comparing there property "Id" because that is the property used as the primary keys.

Struggling with new NHibernate Alpha-0.5.0.0 #2

昨天NHibernate 裡nunit.framework.dll的問題我找到了一個比較好的辦法
就是在參考裡面選則該參考(nunit.framework.dll)後按右鍵選擇屬性
把複製本機的欄位給改成false就可以了
但是這樣就會有一個問題
就是在coding時由這個reference所帶進來的類別裡的成員都看不到
所應該有的intellisense也都沒有了
連要在程式碼中相關method上想移至定義都不行
但是compiler卻可以過
只有一些Textfixture與Assertu已在其它地方定義過的警告
而compile過了以後在NUnit GUI裡仍可正常運作
不過這樣已經夠我繼續研究我的NHibernate了
畢竟只要一些基本的NUnit功能可以使用就夠了


星期二, 12月 14, 2004

好久沒來高島屋了~~~

為了買公司部門的聖誕交換禮物
上網找生活工廠的營業門市
看到了高島屋有店面
就準備去逛逛
順便去逛以前很喜歡逛但沒錢買的高島屋
生活工廠在B1
一開始就直接到那邊看
不過沒看到中意的
後來到四樓去逛
以前最常到四樓
因為那邊有紀伊國
有賣日本的書籍雜誌
當然也有台灣的
四樓逛一逛
果然還是不改高島本色
價格讓人無法直視
後來又回到生活工廠逛
繞了幾圈覺得有點累了
終於看到一個浴巾加毛巾的組合
滿不錯的也滿中性的
就買下來了
順便也買了一張聖誕賀卡
結帳才知道賀卡超貴要五十
包裝一下就買回去了
一天的薪水也快沒了~~~

Struggling with new NHibernate Alpha-0.5.0.0

早上下載了新釋出的 NHibernate 0.5.0.0 來玩玩看
除了像是一些snk檔案金鑰的老問題之外
結果連NUnit都有問題
我正常都是從program files底下的NUnit資料夾的bin目錄底下
把nunit.framework.dll給include進來
但是這次每次compoler出來的nhibernate.examples.vb卻在NUnit GUI裡說找不到 testfixture
屢試不爽
搞了半天是它在參照 nunit.framework.dll 的時候都是找自己bin目錄底下的
不是到 program files底下的NUnit資料夾去找
而且會覆寫掉自己bin底下的 nunit.framework.dll
我的解決辦法是把program files底下的 nunit.framework.dll複製到自己的bin底下
並且改成為唯讀
這樣雖然compiler會有error
但是unit test卻正常了
目前這應該只是一個沒辦法的辦法了

Shinoyuki's Fantasy

Shinoyuki's Fantasy

星期一, 12月 13, 2004

慘了,手腕又開始痛了~~~

上禮拜周末就開始覺得右手腕開始痛了
讀二技的時候就曾經痛過一陣子
看醫生說除非很嚴重
不然只有讓它休息才會好
應該是打鍵盤還有用滑鼠的姿勢不對所造成的
那時候要我姐在醫院買了個滿俗的護腕
結果也沒帶過幾次
後來去買了一個可以把手腕墊起來的鼠墊來用
手腕才沒再痛了
而且質感也不錯
看來可能要買一個到公司用了
手痛不是病
痛起來也還好不會要人命
但是總是不舒服就是了~~~

Shinoyuki's Fantasy

Shinoyuki's Fantasy

What is blog? Let me check this out.

Well, I never thought that to create a my own blog wasting me no more minutes.
But for now, I am just a newbie to blog.
I think it will take me more time to be familiar with this stuff~~~
I hope it will be much funny.
Let me check this out!