琉璃網站
CommunityServer BlogEngine.Net 中文技術社群網站

May 2008 - mirror

  • compiling quantlib upon Visual Studio 2008...

    crosspost from http://blogs.msdn.com/rextang Spent couple months digging in Microsoft HPC Server 2008 (a.k.a HPC v2) deployment and now it's time to toy some HPC codes. As I am working for servicing Financial Industry, and recently got tasks to write some financial model codes to test in HPC v2, I started digging into the domain knowledge of financial computing. it's pretty good that there is a popular financial computing library called QuantLib writting in C++ to use for coding, save a lot...
  • Mini C# Lab Ver 1.1

    After Mini C# Lab 1.0 was released, I got good suggestions from friends. I agree that these improvements can make Mini C# Lab handier, so I add some useful features to it, then the Mini C# Lab ver 1.1 is coming... New features: The *TERRIBLE* Ctrl-X shortcut...
  • LINQ to SQL: DataType Mapping Between SQL And .NET

    好奇LINQ To SQL如何將SQL Data Type對應成.NET Data Type,我做了一個小實驗: 建了一個有18種不同資料型別的Data Table,把它拉進dbml中,看看LINQ to SQL對應出來的資料型別為何? 以下是整理出來的結果: SQL Data Type Linq to SQL .NET Data Type tinyint System.Nullable<byte> smallint System.Nullable<short> int System...
  • MSDN and Technet web front-end now on Hyper-V RC0...

    crosspost from http://blogs.msdn.com/rextang [via Virtualization.info ] Microsoft Internet site MSDN and TechNet are now running web front-end servers upon Microsoft Hyper-V virtualization technology (Base on Hyper-V RC0). this showed the stability of Hyper-V technology upon large scale application deployment. Hyper-V is currently public now on the RC1 version . Technorati Tags: microsoft , virtualization , hyper-v
  • TOOLS-Mini C# Lab Ver 1.0

    Did this ever occur to you? You wanted to write several lines of C# code to clarify some syntax or parameter format, or you needed a one-time program to process log files. You started Visual Studio 2005/2008, created a new console application project...
  • About Linq To XML Default Namespace

    先前知道,VB.NET在XML表示法上比C#便利一些,可以直接 在程式碼裡寫起XML來 (見Deep XML Support一節),不用搞出一堆New XElement, New XAttribute, 簡潔許多。 剛才又發現,在Namespace處理上,VB.NET 2008再次略勝一籌! 假設有以下的XML,其中宣告了Namespace: <? xml version ="1.0" encoding ="utf-8" ? > < Fruits...
  • Generic List Sorting in C# 3.0

    Generic List Sorting in C# 3.0 閱讀全文 讀取更多...
  • KB-Auto Word Wrap Issue in Web Page Monkey Test

    在系統測試中,有一種測試叫做 Monkey Test (有人翻成 搞怪測試 ,我比較想稱它為"惡搞測試" XD),意指測試者以不合乎常理的方式操作系統界面,檢測系統是否會發生不可預期的嚴重後果。用白話來說,就是百般刁難,亂按一通,系統也不能當機掛點資料受損,這樣才稱得上經打耐操的好程式。(聽前輩說,以前政府專案界有一位令廠商聞風喪膽,號稱"美猴王"的學者教授,只要受邀參與專案驗收,一定會在緊要關頭放大絕招---Monkey Test~~~) 今天負責上線前測試的同事回報...
  • 游擊式的SQL Injection攻擊

    最近處理了一個棘手的SQL Injection案例,又增長了一些見聞 (如果你身為網站設計人員卻不知道什麼是SQL Injection,建議你最好立即請假佯裝出國度假或雙手打上石膏裝殘,無論如何,在搞懂什麼是SQL Injection之前,務必暫停手邊的開發工作,以免在系統埋下更多的炸彈,遺害千年! 我有幾篇文章可以參考: ASP.NET防駭指南 、 你的網站在裸奔嗎? ) 這次遇到的狀況是發現網站上一些內容顯示有誤,似乎是HTML格式不對。仔細確認,發現資料庫中的所有varchar, nvarchar欄位資料後方都被加上了<...
  • Hyper-V RC1 available for download...

    crosspost from http://blogs.msdn.com/rextang just published on Virtualization Team Blog that Hyper-V RC1 is now available for download. notice that current RC0 VMs with live snapshots are not able to upgrade to RC1. be sure to apply the snapshot, shutdown the VM and take a new offline snapshot in order to upgrade to RC1 without problems. already done the upgrade on 2 of my servers and all my VMs are working without problems after applied new RC1 Integration Components on guest OSes. FYI. Technorati...
  • RSConfigTool can't upgrade the database named as *ReportServer

    I found a bug about Reporting Services Configuration Tool. Here's the detail: I installed SSRS as non-default instance. Before configurating reporting service instance, I installed SQL 2005 SP2. Then I used Reporting Services Configuration Manager...
  • SSRS安裝之過五關斬六將

    今天要在一台Domain Controller Windows 2000上安裝一台SQL Server Reporting Service 2005(SSRS),一路過五關斬六將,還跟Bug博鬥到三更半夜。安裝完成時不禁喜極而泣,特PO文紀念。 註: 該主機上已安裝了SQL 2000 Reporting Service, 故SSRS未裝在Default Instance,兩個網站則命名為/SSRSReports及/SSRSReportServer。 【東岭】 Reporting Services...
  • FlickrProxy #3 - 終於搞定大圖網址錯誤的問題

    由於在使用 Flickr API 時, 老是碰到上傳成功後, 結果拿到的照片 URL 不能看的問題... 被它整了好久, 不過總算解決了 @_@... 原來 API 拿到的資料是錯的, 嘖... 說來話長, 不過既然花時間解決了就要記錄一下... 問題大概是這樣. 上傳照片完成之後可以拿到 photoId, 代表某一張放在 Flickr 上的照片. 之後透過 PhotosGetInfo(photoId) 這個 API 可以取得這張照片的相關資訊, 當然也有 MediumUrl, LargeUrl...
  • 我的政大十三行博物館百里鐵馬長征

    故事要從上週日(5/11)說起... 氣象報告說上週日晴轉多雲,氣溫20度上下,是適合戶外活動的好天氣。但上週六晚下了場大雨,山路肯定溼濘難行,那麼... 就再來一次單車長征吧!! 去年八月,曾經挑戰過政大淡水來回5.5小時的 80公里長征 ,至今依舊是朗朗上口的講古題材(中年人嘛,沒辦法),趁著天公作美,打算再來個長程的。恰巧前一天同事傳來一份台北單車行的建議路線資料,心想,跑了好幾次都是在台北市右岸打轉,這回走走左岸好了,可以一路騎到八里十三行博物館,看起來距離跟到淡水差不多。 沒想到,代誌並不像憨人想得那麼簡單...
  • Unassigned Parameter in ODP.NET and System.Data.OracleClient

    今天抓了一個小問題, 又是 因System.Data.OracleClient與ODP.NET行為不同所致: using (OracleConnection cn = new OracleConnection( "Data Source=MyOracle;User Id=myUser;Password=myPass;" )) { OracleCommand cmd = new OracleCommand( "SELECT * FROM UserTable WHERE...
Copyright 2010 琉璃網站 , 本站採用 CommunityServer 2008.5 為社群平台
Telligent 贊助台灣區 .Net DCP partner
各圖片與商標為各廠商所有,轉載本站圖文內容須需註明出處網頁