Friday, March 27, 2009
3D Geometry Reconstruction from Video Sequences
Camera Motion& Focal-Length Estimation form Six Pixels
Tuesday, March 10, 2009
Py3K: Solving the “outer scope” problem « Unspecified Behaviour
x = 4
def f():
global x
if True:
return x
else:
x = 2
Tuesday, February 17, 2009
cin,cin.getline为何不能共同使用. C/C++ / C语言 - CSDN社区 community.csdn.net
解决的办法很简单:在
cin >> n;
后添加如下一行代码即可:
cin >> ws;
藏經閣: cin >> 與 getline(cin, s)合用的問題
cin >> 與 getline(cin, s)合用的問題
string s0,s1;cin >> s0;
getline(cin, s1);
cout << "s0 = " << s0 << endl;
cout << "s1 = " << s1 << endl;
問題:
程式結果只出現s0字串,s1為空字串。
原因:
cin >>會把'\n'留在buffer裡,如果getline()接著執行,就會馬上讀到'\n',
因此getline()就停止在此,不會再往下讀取資料。
解決方法:
在使用如果getline之前,請先使用cin.ignore(100,'\n'),這行指令可以讓你
把skip過100個char或skip到遇到'\n'為止。因此,在使用getline()的時候,
就可以得到乾淨的stream。
Saturday, January 24, 2009
Tuesday, December 09, 2008
Thursday, November 13, 2008
C# From a Java Developer's Perspective
TO SUN MICROSYSTEMS' JAVA PROGRAMMING LANGUAGE
Tuesday, November 11, 2008
Boolean Operators in VB .NET
| Operator | Use |
| Not | Negation |
| And | Conjunction |
| AndAlso | Conjunction |
| Or | Disjunction |
| OrElse | Disjunction |
| Xor | Disjunction |
Download YouTube & Google Video clips via bookmarklets
How can I play Flash Video (FLV) files on Windows?
Combining current CVS builds of Media Player Classic with the latest daily builds of ffdshow provides thorough FLV support. While ffdshow is capable of rendering FLV1, the FLV splitter/decoder incorporated in the CVS builds of Media Player Classic adds support for On2's VP6 codec (Flash8).
The FLV splitter/decoder can also be downloaded as a standalone DirectShow filter (source filter + splitter + decoder) to be combined with Media Player Classic's official stable builds or other DirectShow video players including Windows Media Player.
Another full-fledged video player with native (yet limited) FLV support is VLC media player. Designated Flash Video players like FLVPlayer by Martijn de Visser or Riva FLV Player handle FLV files (FLV1 & On2 VP6) fine, but are otherwise limited in functionality.
----Why I need to play flv in a wmplayer? bc to embed a player controller in .NET programs, it costs $200+ for a flv player controller, but costs 0 for a wmplayer COM object.
Use MediaPlayer in .NET
Saturday, November 08, 2008
Thursday, October 30, 2008
Chat -- Making Use of Google Custom Search
我最近去google information session啊,他們說要進google要先衡量你聰不聰明夠不夠創新,所以如果有用過google api寫東西都可以寫在resume裡
MiGi.Jimmy says:
所以想來用google api寫些東西
(V同學) says:
可是用他的API寫就是創新嗎
MiGi.Jimmy says:
當然還要有用@@
MiGi.Jimmy says:
我覺得可以想想idea然後在網路上實現, 最好有自己的站
MiGi.Jimmy says:
或者寫google gadget也不錯
(V同學) says:
SOGA
(V同學) says:
不過我想我要進GOOGLE有點難~
MiGi.Jimmy says:
反正有什麼放什麼,然後就可以寫resume了
(V同學) says:
嗯,是啊
(V同學) says:
你有想寫什麼嗎
MiGi.Jimmy says:
嗯 不知道也 如果跟網路相關的公司都有用吧
(V同學) says:
是沒錯
MiGi.Jimmy says:
我現在在想,google custom search 其實大家都沒在用
MiGi.Jimmy says:
可是如果把自己的bookmark 加到google custom search裡面,這樣以後找東西就很方便
MiGi.Jimmy says:
google custom search 你有用過嗎?
(V同學) says:
沒有,不過好像是站內搜尋的東西
MiGi.Jimmy says:
算是,但是其實你可以指定很多網址,他就搜那些網址的內容
(V同學) says:
了解
(V同學) says:
這樣就好像可以寫一些PLUG IN
MiGi.Jimmy says:
嗯 有時候找過的東西還想再找一遍
(V同學) says:
好像滿有趣的
MiGi.Jimmy says:
呵 不過還不知道用什麼方法呈現
(V同學) says:
所以你說的是你只想從你的BOOK MARK找你要的資料
(V同學) says:
你可以寫FIRE FOX的PLUG IN啊
MiGi.Jimmy says:
不只,你也可以開放給別人找
(V同學) says:
不然後是寫GOOGLE CHROME的PLUG IN
(V同學) says:
嗯
MiGi.Jimmy says:
喔 哈 趕流行
(V同學) says:
一定要的啊
(V同學) says:
這個行業就是趕流行
MiGi.Jimmy says:
嗯啊 希望是案一個按鈕,不但可以加bookmark還可以加到custom search裡
MiGi.Jimmy says:
順便提供加到del.icio.us
(V同學) says:
這是什麼
MiGi.Jimmy says:
那是一個網路上的bookmark
MiGi.Jimmy says:
這樣到任何電腦都可以取得自己的連結
MiGi.Jimmy says:
google bookmark 應該是學他的
(V同學) says:
了解
(V同學) says:
FIRE FOX也有這個PLUG IN
MiGi.Jimmy says:
有
(V同學) says:
我有用
(V同學) says:
滿不錯的
MiGi.Jimmy says:
你是說del.icio.us?
(V同學) says:
不是
MiGi.Jimmy says:
google
(V同學) says:
好像叫FOX MARK
MiGi.Jimmy says:
喔喔
(V同學) says:
不過你要有注冊才能用
(V同學) says:
而且只有FIRE FOX
MiGi.Jimmy says:
是喔 其他瀏覽器不行?
(V同學) says:
他是FIRE FOX的PLUG IN,我想其他的不行吧
MiGi.Jimmy says:
喔 他作法不太一樣 網路只是負責同步
MiGi.Jimmy says:
可是delicious是讓大家都放在他的主機上,然後還可以跟別人share標籤
(V同學) says:
嗯
MiGi.Jimmy says:
^^書籤
(V同學) says:
我了解
MiGi.Jimmy says:
不過書籤一多 就很難找
MiGi.Jimmy says:
即使給了tag也沒用
MiGi.Jimmy says:
後來我都把書籤寫在blog上 天曉得之後要怎麼找到
(V同學) says:
哈哈
(V同學) says:
所以你想作SERCH
(V同學) says:
不錯啊,加油,等你寫出來
MiGi.Jimmy says:
對啊 就是這原因 所以可以試試書籤一股腦都丟到custom search裡
MiGi.Jimmy says:
呵 希望有多點時間
Friday, October 24, 2008
Research Idea
- Bayssian: P(f|x)=P(x|f)*P(f)/P(x) (??) => MLE=arg max_f P(x|f)
- Find the g(x) to get 0 bias (=E{g(x1,x2...xN)} ) !!! even non-biased P not guarranty non-biased F!! So start from find good estimation of f
Tuesday, October 21, 2008
Friday, October 17, 2008
The Anatomy of a Search Engine
In this paper, we present Google, a prototype of a large-scale search engine which makes heavy use of the structure present in hypertext. Google is designed to crawl and index the Web efficiently and produce much more satisfying search results than existing systems. The prototype with a full text and hyperlink database of at least 24 million pages is available at http://google.stanford.edu/
Wednesday, September 24, 2008
How to Remove the Popup Ads in Avira Antivir - wikiHow
Windows 2000 / Windows XP Pro
- Go to Start > Run.
- Type gpedit.msc and click OK.
- Navigate through User Configuration > Administrative Templates > System.
- Double click "Don't run specified Windows applications".
- Enable it and click show.
- Add "avnotify.exe".
- Click OK on all open windows.
- Restart.
