Profile

Cover photo
Grissiom Gu
Attends BUAA
Lives in 中国·北京
245 followers|24,498 views
AboutPostsPhotosYouTube+1's

Stream

Grissiom Gu

Shared publicly  - 
 
 
+Fedora Project: is there some basic reason why you never regenerate the install images?

Right now the F19 install images use some ancient 3.9-based kernel. Which means that they may boot on most machines, but it's missing wireless ID's for new laptops etc, so making it useful is unnecessarily painful.
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
smile
 
Click "LOOK INSIDE!"
Click "Index"
Scroll down to p. 269
Find the entry for "recursion"
Smile.
1
Matteo Bernardini's profile photo
 
in the 2nd edition in italian (that I got) there isn't that >:-(
Add a comment...

Grissiom Gu

Shared publicly  - 
 
Konsole 2.11 font rendering bug
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
最早的 RTGUI 不会是从 Enlightment 改过来的吧,在代码注释里发现 Etk_Object 了,嘿嘿嘿…… +Bernard Xiong 
 ·  Translate
1
Bernard Xiong's profile photoGrissiom Gu's profile photo
2 comments
 
+Bernard Xiong 我也想入个骨头板,可是一直没下得了决心…… cairo 编译起来大不大?汉字的字库 200K,随便再写点代码 text 就到 400K 了……
 ·  Translate
Add a comment...

Grissiom Gu

Shared publicly  - 
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
 
Getting no work done. Constantly refreshing amazon.com waiting for PaperWhite.

Shipping October 1st? Amazon, come on. I needed it yesterday. Or two months ago.
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
The origin of dot files
 
A lesson in shortcuts.

Long ago, as the design of the Unix file system was being worked out, the entries . and .. appeared, to make navigation easier. I'm not sure but I believe .. went in during the Version 2 rewrite, when the file system became hierarchical (it had a very different structure early on).  When one typed ls, however, these files appeared, so either Ken or Dennis added a simple test to the program. It was in assembler then, but the code in question was equivalent to something like this:
   if (name[0] == '.') continue;
This statement was a little shorter than what it should have been, which is
   if (strcmp(name, ".") == 0 || strcmp(name, "..") == 0) continue;
but hey, it was easy.

Two things resulted.

First, a bad precedent was set. A lot of other lazy programmers introduced bugs by making the same simplification. Actual files beginning with periods are often skipped when they should be counted.

Second, and much worse, the idea of a "hidden" or "dot" file was created. As a consequence, more lazy programmers started dropping files into everyone's home directory. I don't have all that much stuff installed on the machine I'm using to type this, but my home directory has about a hundred dot files and I don't even know what most of them are or whether they're still needed. Every file name evaluation that goes through my home directory is slowed down by this accumulated sludge.

I'm pretty sure the concept of a hidden file was an unintended consequence. It was certainly a mistake.

How many bugs and wasted CPU cycles and instances of human frustration (not to mention bad design) have resulted from that one small shortcut about  40 years ago?

Keep that in mind next time you want to cut a corner in your code.

(For those who object that dot files serve a purpose, I don't dispute that but counter that it's the files that serve the purpose, not the convention for their names. They could just as easily be in $HOME/cfg or $HOME/lib, which is what we did in Plan 9, which had no dot files. Lessons can be learned.)
1
Add a comment...

Grissiom Gu

Shared publicly  - 
2
Add a comment...
In his circles
118 people
Have him in circles
245 people
Ning Ning's profile photo
Bhuvnesh Aggarwal's profile photo
李亚超's profile photo
Kane Blueriver (kxxoling)'s profile photo
alberto fiaschi's profile photo
筏木人's profile photo
Cao Gary's profile photo
Spidercow Liu's profile photo
smith zhang's profile photo

Grissiom Gu

Shared publicly  - 
 
 
Awesome news from my favorite network sniffer
Today I released the next development version of Wireshark, 1.11.0. This marks a major change in the direction of the project. We're switching our user interface library from GTK+ to Qt. Both libraries make it easy for developers write applications that will run on different platforms without ...
1
Add a comment...

Grissiom Gu

Shared publicly  - 
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
 
Yocto supports the 0.99pl14 Linux kernel? 
This is a joke, right? Please tell me it's a joke...
To download the software for this release, use one of the above links to download a tarball. You can also use git to access the Yocto Project code in the Yocto Project Source Repositories (using cgit from a web browser) or from the command line using the following command: ...
1
Add a comment...

Grissiom Gu

Shared publicly  - 
 
 
從 The Verge 上看到的。
1
Add a comment...
People
In his circles
118 people
Have him in circles
245 people
Ning Ning's profile photo
Bhuvnesh Aggarwal's profile photo
李亚超's profile photo
Kane Blueriver (kxxoling)'s profile photo
alberto fiaschi's profile photo
筏木人's profile photo
Cao Gary's profile photo
Spidercow Liu's profile photo
smith zhang's profile photo
Work
Occupation
Student
Employment
  • Student, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
中国·北京
Previously
中国·保定 - 中国·保定 - Tokyo
Story
Introduction
主修材料科学与工程
自修编程
狂热于开源软件
Education
  • BUAA
    present
Basic Information
Gender
Male
Looking for
Friends, Dating, A relationship, Networking
Relationship
Single
Grissiom Gu's +1's are the things they like, agree with, or want to recommend.
rt-thread用户组 - Google グループ
groups.google.com

怎么收不邮件了呢, new_os, 14/04/22. rtt+yaffs2,生成axf文件,使用mdk调试,无法进入main函数,去掉yaffs2之后,可以mdk+jlink调试, prife zhu, 14/03/11. rt-thread系统下跑的mini web Serv

ARM Moves to LLVM Open-Source for Future Compilers | EE Times
www.eetimes.com

In move away from proprietary technology, ARM plans to move any future compilers it develops into the open-source community through the LLVM

Maps
market.android.com

Download the latest release of Google Maps, and never carry a paper map again. Download the latest release of Google Maps, and never carry a

Kindle
market.android.com

Read books on your phone, including thousands of free Kindle books.The Kindle app puts over a million books at your fingertips. It’s the app

Advertisement
solidot.org.feedsportal.com

click here to continue to article · cliquez ici pour lire l'article · weiter zum Artikel · clicca qui per visualizzare l'articolo we

一些有意思的算法代码 | 酷壳 - CoolShell.cn
coolshell.cn

酷壳– CoolShell.cn. 享受编程和技术所带来的快乐– http://coolshell.cn. 首页; 推荐文章; 本站插件; 留言小本; 关于酷壳; 关于陈皓; 本站主机. 首页 > C/C++语言, Java语言, Python, 技术读物, 杂项资源, 编

Cling | ROOT
root.cern.ch

Home · What's New · About · ROOT Development Team · What Are We Working On · Schedule and Events · Former ROOT Developers · Contributors

My offer to Google Reader « fox @ fury
fury.com

fox@fury. My offer to Google Reader. Wednesday, Nov 2, 2011 @ 2:34pm. Like many others, I was curious when Google announced that it would be

USB Stick Contains Dual-Core Computer, Turns Any Screen Into an Android ...
blog.laptopmag.com

Codenamed Cotton Candy because its 21 gram weight is the same as a bag of the confection, this tiny PC enables what its inventor calls "Any

BREAKING NEWS: Error Undoes Faster-Than-Light Neutrino Results - Science...
news.sciencemag.org

It appears that the faster-than-light neutrino results, announced last September by the OPERA collaboration in Italy, was due to a mistake a

王实味的《野百合花》 - 阮一峰的网络日志
www.ruanyifeng.com

延安整风运动是毛泽东运用其政治优势,彻底改组中共上层机构,重建以毛为绝对主宰的上层权力再分配的过程。同时,延安整风运动又是毛泽东以自己的理念和思想,彻底转换中共的"俄化"气质,将中共改造成为毛泽东的中共的过程。 毛泽东在整风中运用他所创造的思想改造和审干、肃反

Moon+ Reader
market.android.com

Your finger ebook reader with rich features. Book reader with powerful controls & full functions. *Read thousands of ebooks for free, suppor

DoubanFM
market.android.com

DoubanFM is your personal online music radio service.Now have public channels!DoubanFM provides online music radio service by douban.com in

单词圣手(Smart Word)
chrome.google.com

有效率的中国人看英文网站划词翻译插件。选中一个英语生词后,页面所有该生词均高亮,同时显示其中文释义。提供生词本,统计生词出现的频率,便于识记最需要先记住的生词。 特色功能:生词高亮和生词频率统计。

Advertisement
solidot.org.feedsportal.com

click here to continue to article · cliquez ici pour lire l'article · weiter zum Artikel · clicca qui per visualizzare l'articolo we

gitextensions
code.google.com

Git Extensions is the only graphical user interface for Git that allows you control Git without using the commandline. It comes with a manua

Advertisement
solidot.org.feedsportal.com

click here to continue to article · cliquez ici pour lire l'article · weiter zum Artikel · clicca qui per visualizzare l'articolo we

GO Switch Widget
market.android.com

GO Switch Widget provides you a fast way to turn on/off many useful functions. GO Switch Widget provides you a fast way to turn on/off the f