Archive for category 未分类

How to debug small programs

Nice article on basic programming. Those who are serious on writing code should be able to debug their own code, rather than to have their code debugged.

Fabulous adventures in coding

One of the most frequent categories of bad questions I see on StackOverflow is:

I wrote this program for my assignment and it doesn’t work.
[20 lines of code].

And… that’s it.

If you’re reading this, odds are good it’s because I or someone else linked here from your StackOverflow question shortly before it was closed and deleted. (If you’re reading this and you’re not in that position, consider leaving your favourite tips for debugging small programs in the comments.)

StackOverflow is a question-and-answer site for specific questions about actual code; “I wrote some buggy code that I can’t fix” is not a question, it’s a story, and not even an interesting story. “Why does subtracting one from zero produce a number that is larger than zero, causing my comparison against zero on line 12 to incorrectly become true?” is a specific question about…

View original post 1,348 more words

Advertisements

留下评论

test

 

IMG_1525_nEO

exif not stripped by wlw with no picture effect at all

留下评论

test – posting by email

看高人打造70TB“移动”硬盘

驱动之家[原创] 作者:萧萧 编辑:萧萧 2010-10-22 11:53:46 Loading [投递]

如果你有大量的数据需要存数但是空间不够怎么办?有没有考虑将多个硬盘组合起来?如果你想存储7万部电影或是2400万首歌曲,那该如何才能获得足够大的硬盘?一个俄罗斯高手就亲身做了演示。

看高人打造70TB“移动”硬盘

他设计了一个木箱,并在其中组装了60块硬盘,从而获得了70TB的存储空间!唯一的麻烦事就是,你还需要为这个木箱配备40块风扇才能保证它不会发生过热的现象。虽然也能称得上是“移动”硬盘,但是如果不是搬家最好还是不要移动它了。

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

看高人打造70TB“移动”硬盘

留下评论

test

the connection has not been blocked, if this text is available. windows live writer has been unable to add a new post for months, i doubt if there’s something wrong, in spite of the gOOD-fRIEND-wALL. hope wp could be accessable till chinese new year..i’m planning to renew my blog with a collection of posts, as well as some innovative decorations.

留下评论

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

2条评论

观 有感

感什么感!赶快睡觉,明天还有课要上。

5条评论

test

一条评论