| 猪哥 的个人资料猪哥的Blog日志列表留言簿 | 帮助 |
|
2008/1/27 猪哥牌TFTP Server出炉猪哥的TFTP Server终于处于实用状态了,基本上没啥大问题,放出来下载。 为了避免不明用处的人瞎下载,这里说明一下下载对象:
![]() 此处下载 2008/1/16 Megatops ProCoder编程用等宽字体更新稍微更新了一下,小修订如下:
2008/1/15 好文推荐:Real Programmers Don't Use Pascal这篇相当著名的文章和我的年龄一样大。现在看看第一代老程序员的生活确实是很有意思。文章所处的技术背景可能对只玩过上层web或者应用程序开发的人来说有些困难。至少推荐给我的一个做J2EE的同学以后得到的回答是看不懂(─.─||)。不过如何你是做嵌入式写驱动和内核的,会和这篇老古董产生一定的共鸣。 文章的地址在:http://www.pbm.com/~lindahl/real.programmers.html。作者的语气讽刺幽默也有些偏激。下面摘录一些觉得十分经典的句子: 语言和技术相关: “If you can't do it in Fortran, do it in assembly language. If you can't do it in assembly language, it isn't worth doing.” “God forbid-- CP/M, after all, is basically a toy operating system. Even little old ladies and grade school students can understand and use CP/M.” DOS基本抄袭CP/M,如果哪位还不会用DOS~~那就还不如little old ladies啦哈哈 “People don't do Serious Work on Unix systems: they send jokes around the world on UUCP-net and write Adventure games and research papers.” “A truly outstanding programmer can find bugs buried in a 6 megabyte core dump without using a hex calculator. (I have actually seen this done.)” ( ̄口 ̄)!! 果然神人 “……EMACS and VI being two. The problem with these editors is that Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in Women. No, the Real Programmer wants a "you asked for it, you got it" text editor-- complicated, cryptic, powerful, unforgiving, dangerous.” “There are several Real Programmers building video games at Atari, for example. (But not playing them-- a Real Programmer knows how to beat the machine every time: no challenge in that.)” 呃,打游戏我基本靠秘笈 (╯﹏╰) “College graduates these days are soft-- protected from the realities of programming by source level debuggers, text editors that count parentheses, and "user friendly" operating systems. Worst of all, some of these alleged "computer scientists" manage to get degrees without ever learning Fortran!” 其实我在学校见过用记事本写Java的人…… “If you ignore the fact that it's "structured", even 'C' programming can be appreciated by the Real Programmer: after all, there's no type checking, variable names are seven (ten? eight?) characters long, and the added bonus of the Pointer data type is thrown in-- like having the best parts of Fortran and assembly language in one place. (Not to mention some of the more creative uses for #define.)” 喔耶~~幸好我最终用的是C (# ̄▽ ̄#)。可惜初一的时候学的第一门语言还是Pascal,属于“Quiche Eaters”出身 (╥﹏╥) 性格和生活相关: “At a party, the Real Programmers are the ones in the corner talking about operating system security and how to get around it.” “At the beach, the Real Programmer is the one drawing flowcharts in the sand.” “The Real Programmer is capable of working 30, 40, even 50 hours at a stretch, under intense pressure. In fact, he prefers it that way. Bad response time doesn't bother the Real Programmer-- it gives him a chance to catch a little sleep between compiles.” “No Real Programmer works 9 to 5. (Unless it's the ones at night.)” 这个……会被老板fire的 (⊙﹏⊙) “Real Programmers don't wear neckties.” Yahh~~长这么大还真是没有戴过~~ “Real Programmers arrive at work in time for lunch.” 鬼佬是几点吃午饭来着的?怎么和前面的时间对不上? “A Real Programmer might or might not know his wife's name. He does, however, know the entire ASCII (or EBCDIC) code table.” “Real Programmers don't know how to cook. Grocery stores aren't open at three in the morning. Real Programmers survive on Twinkies and coffee.” 关于这个传说中的Twinkies,大家可以去Answers.com查查~~看起来不怎么好吃的样子(─.─||) 2008/1/12 史上最无聊的Slickedit宏:What I'm Coding……一个编辑器的扩展宏能无聊到什么程度?为了冲刺无聊的极限,我花了半个晚上做了个应该是可以提名为史上最无聊SE扩展的“What I'm Coding”功能。 这个功能很简单:和现在各种音乐播放器一样,能够让前无古人后无来者史上最强之代码编辑器Slickedit自动在MSN Messenger的What I'm listening to区域内显示当前你正在编辑的文件名。无聊,BT,有个性! ![]() 功能扩展由两部分组成。一个是Slick-C编写的宏,利用Slickedit强大的回调接口监视文件buffer的切换情况,实时更新文件信息。SE的这些callback真是很无敌,只要你够BT,够无聊,总能利用它开发点什么另类功能来。另一部分是一个控制台小程序,唯一的作用就是通过Win API来设置MSN Messenger的当前播放信息。因为Slick-C好像没有办法直接调用Win API。 使用的时候,要先把“SetMyListeningLite.exe”程序拷贝到你SE的配置目录内(通常是$My Documents$\My SlickEdit Config\12.0.3),然后加载“what_i_am_coding.e”宏即可。 加载后此功能默认是关闭的,通过“what-i-am-coding”命令进行开关;此处下载。 2008/1/7 无耻的SourceInsight中文网站今天朋友提到说在SourceInsight网站看到上面挂了个中文处理的宏很像我以前写的那个SuperBackspace。遂好奇上去看了看。结果发现还真是,唯一不同的是把我原来放在注释内的作者信息给删除了。其余部分一点不落全贴在上面,我在代码中的两句骂SourceInsight是stupid & buggy还有idiot的牢骚竟然也还在!后面还跟着不知是哪位从我的宏里面mod来的另外几个宏,也是一律没有作者信息。 虽然我这个处理中文删除时半个汉字问题的宏是以GPL发表的。但是在原封不动转用的时候删除人家的作者信息也实在是很不厚道,至少说明人品很有问题。再看SI中文网站挂出来的另外几篇技巧文章,相同的特点就是统统没有标明出处和原作者,并且我能发现至少有两篇绝对是别人写的和SI官方没有任何关系!实在是令人唾弃的卑鄙行为。盗亦有道,私自转载就算了连作者名字也擦掉,实在是做得太过分了。 另外提醒一下,似乎在SI出了3.5.0.35版本之后我原来那个宏似乎跑起来有问题。当时简单跟踪的结果是SI莫名其妙地修改了一个函数的处理行为,而且文档也没有提及这个修改。不过后来我也没有再跟踪,因为SourceInsight在装了最新Slickedit之后变成纯属多余的垃圾,所以在去年的一次系统重装后这玩意就从我的本子里面消失了。现在也一直懒得去跟踪这个问题。 说到SourceInsight不免还想多牢骚几句。除了它长久以来不思进取死不更新以外,还有一点觉得它相当烂的就是它的macro机制。做得真是太垃圾了,功能极其有限。和Slickedit的Slick-C与Emacs的LISP根本毫无可比性,简直是没有什么二次开发能力。宏弱智也就算了,也没有提供一套插件机制来允许扩展,实在是难用至极。 2008/1/4 Megatops ProCoder字体发布这个专用于编写代码的字体很早就做好了,我用了有两个月。现在觉得1是没有原则性大问题,2是我自己已经懒得再修改了。所以现在作为正式版发布出来。 这个字体是一个完全的点阵字体,有清晰锐利的显示效果。我之所以不喜欢用TTF字体编程是因为:1.没有打开Cleartype支持的TTF字体实在是太丑陋了;2.打开了Cleartype的TTF在使用深色背景浅色前景的时候显示效果实在是太糟糕了。在试用了几乎所有能找到的等宽字体编程以后我发现至少对我个人来说,最适合长时间阅读的还是边缘分明的点阵字。TTF+Cleartype虽然用在界面上很美丽,但是看久了常常有眼睛模糊的感觉。尤其是在连续工作10小时以后…… 字体效果预览: Megatops ProCoder Font 1.0 7x14 ![]() Megatops ProCoder Font 1.0 8x16 ![]() 字体的主要特点是:
【点此下载】 |
|
|