Nexus Weblogging
ChinaonRails
You are here ChinaonRails > Web > Blogger > bd7lx
bd7lx
本频道中共有 20 条消息,返回讨论版 Blogger,6 个其他相关频道

  bd7lx    ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.



rubytu.be 视频及录屏大全 ... no reply 
Published on 2009-6-30 8:42:17 by bd7lx
http://rubytu.be/



海量视频节目的links

整理的tags 十分方便检索

scripty2 替代scriptaculo.us更美味的下一代框架 ... no reply 
Published on 2009-6-30 8:23:18 by bd7lx
http://scripty2.com/

Scripty2 是一个在Script.aculo.us基础上扩展出的一个新型脚本库,着重突出增强了动画效果。

扑克牌动感效果演示

http://scripty2.com/demos/cards/



http://chinaonrails.com/topic/view/2989.html

透射式电子显微镜 与ruby编程 ... no reply 
Published on 2009-6-29 9:40:33 by bd7lx
http://vision.eng.shu.ac.uk/mmvlwiki/index.php/TEM_vision_software

As part of the Nanorobotics project a TEM vision software was developed. The software makes use of a JEOL 3010 transmission electron microscope with a TVIPS FastScan-F114 camera which is an IIDC/DCAM-compatible firewire camera. The nano-indenter is controlled by a Nanomagnetics SPM controller (the old version of the controller can be accessed with a PCI-DIO24 card).

The software runs under GNU/Linux and it makes use of Damien Douxchamps' libdc1394 to access the camera and Warren Jasper's PCI-DIO24 driver to access the PCI-card which interfaces with the SPM controller.

The software was implemented in Ruby using Qt4-QtRuby, HornetsEye, libJIT, and a custom Ruby-extension to access the SPM controller via the PCI-DIO24 card. Distributed Ruby and multiple processes were used to work around the problem that Ruby-1.8 does not offer native threads.



开源的feed聚集网: planetoid ... no reply 
Published on 2009-6-29 8:44:50 by bd7lx
http://www.jaimeiniesta.com/2009/06/26/more-planetoids/



http://github.com/jaimeiniesta/planetoid/tree/master

Show a summary of the people in a group, with their names, avatars,
links to their blogs, twitters and github accounts.

Aggregate their feeds in one place

Show the projects that the members are working on, with title,
a brief description, and a link

别给测试“忽悠”了 ... no reply 
Published on 2009-6-25 10:03:24 by bd7lx
http://jdwyah.blogspot.com/2009/06/fooled-by-testing.html



http://yehudakatz.com/2009/06/20/on-rails-testing/

Yehuda:


My general rule is “Don’t mock anything you own” and more strictly “Don’t mock anything happening inside your own process”.

世上没有万能药,测试也没有
http://blog.jayfields.com/2009/02/thoughts-on-developer-testing.html

一地鸡毛 JavaScript Lint 查错工具 ... no reply 
Published on 2009-6-25 8:52:42 by bd7lx
http://www.javascriptlint.com/

调试JavaScript一般情况下,在FireBug下足可应付。

可有时候 FireBug 所报的错误太笼统,比如一个括号没有匹配,它不能给出具体的位置,js 文件比较大的时候,查找这样的错误很费功夫。

用它分析一下 js 文件,根据输出的列表(有行号),再去查找错误,有时也可行,能够提高一些效率。

http://my.opera.com/jlake/blog/2009/04/21/javascript-javascript-lint

应用到铁道上测试 Easy Javascript Validation with Javascript Lint For Rails Testing

http://tommy.chheng.com/index.php/2009/06/javascript-validation-lint-for-rails/

lint 本来在编程领域的原意指a particular program that flagged suspicious and non-portable constructs (likely to be bugs) in C language source code.

后来成了工具The term is now applied generically to tools that flag suspicious usage in software written in any computer language. The term lint-like behavior is sometimes applied to the process of flagging suspicious language usage. lint-like tools generally perform static analysis of source code.


I/O 性能优化 ... no reply 
Published on 2009-6-24 10:19:04 by bd7lx
http://www.igvita.com/2009/06/23/measuring-optimizing-io-performance/

用iostat监视I/O子系统情况

  iostat是I/O statistics(输入/输出统计)的缩写,iostat工具将对系统的磁盘操作活动进行监视。它的特点是汇报磁盘活动统计情况,同时也会汇报出CPU使用情况。同vmstat一样,iostat也有一个弱点,就是它不能对某个进程进行深入分析,仅对系统的整体情况进行分析。

  iostat的语法如下:
iostat [ -c | -d ] [ -k ] [ -t ] [ -V ] [ -x [ device ] ] [ interval [ count ] ]

  其中,-c为汇报CPU的使用情况;-d为汇报磁盘的使用情况;-k表示每秒按kilobytes字节显示数据;-t为打印汇报的时间;-v表示打印出版本信息和用法;-x device指定要统计的设备名称,默认为所有的设备;interval指每次统计间隔的时间;count指按照这个时间间隔统计的次数。

对于输出中各字段的含义,iostat的帮助中有详细的说明。

关键指标


引人入胜的是对Facebook上图片海量处理的架构咂舌

干草垛 haystacks

http://www.dbanotes.net/arch/facebook_photos_arch.html

http://server.it168.com/a2009/0504/274/000000274726.shtml


Origami 折纸 PDF的ruby 解析库 ... no reply 
Published on 2009-6-24 8:21:52 by bd7lx
http://security-labs.org/origami/

Origami in PDF
origami is a Ruby framework designed to parse, analyze, and forge PDF documents. This is NOT a PDF rendering library. It aims at providing a scripting tool to generate and analyze malicious PDF files. As well, it can be used to create on-the-fly customized PDFs, or to inject (evil) code into already existing documents.

本站还介绍过对虾pdf框架

http://chinaonrails.com/topic/view/1434.html


下载绿坝,要当心,官方网站有蹊跷 ... no reply 
Published on 2009-6-23 16:35:53 by bd7lx
本想出于好奇,下载 “绿坝·花季护航”

可是在开发商的网站上居然找不到相关的资料
http://www.zzjinhui.com/cpxz.html#

http://hncit.com/flower01.html

原来有个叫绿航网的负责下载和推销

http://www.lssw365.net/lvhang/index.php/List/index/pid/6

连谁开发的也没有提,匿名啊

进入下载的页面
http://www.lssw365.net/lvhang/index.php/List/index/pid/2

点击下载,居然


文件怎么会来自
http://www.vochinese.com/

非执行的文件,帮助又在


另外的两个exe的教学文件也都在lssw365

不禁怀疑,这个最新的版本来路?

通过dnsstuff 结果更加“雷”, 原来这个网站寿命快到期了,如果他们不改的话,就是今年的8月3日

http://www.dnsstuff.com/tools/whois/?ip=www.lssw365.net&server=

Expiration Date ................. 2009-08-03 01:22:45

一个到处都可以下载,各种版本的软件,难保不被恶意篡改

网站的内容和设计,乃至日常更新维护,对软件质量的公信力都有重要的影响。

建议该软件下载也搞个md5的验证,并象linux发行版一样,7月1日后有光盘版可以免费领取。

Green Dam-Youth Escort 的英文名实在搞笑,读成damn 居多,本身就不是好词,escort 与 其它词语组合,也不正经,直接翻译过来就是什么陪。

做个好的软件,该考虑的实在是太多了,粗制滥造不注重小节很难成功。

RTurk:利用亚马孙Mechanical Turk的HIT ... no reply 
Published on 2009-6-23 10:20:05 by bd7lx
Amazon Mechanical Turk (Amazon 土耳其机器人)是一个Web服务,通过此Web服务可以提交一个任务请求,这个任务不是由计算机完成的,而是由此服务后台的工作人员完成。Amazon把这个服务称为“人工的人工智能”,这不是笔误,如果“人工智能”意味着电脑像人类一样思考的话,那么“人工的人工智能”就是人类执行电脑提交的任务,并把结果反馈回去。

Mechanical Turk的命名是由一个名为Wolfgang von Kempelen 的匈牙利人引出的,在1769年,他发明了可以下象棋的机器。这在1769 年可谓是一个壮举,这种机器不但可以自动下象棋,并且能击败绝大多数的对手。但实际上,这是由坐在机器里面的一个象棋高手操纵机器移动棋子来完成的。

http://github.com/markpercival/rturk/tree/master

RTurk是个ruby的库,可以不上亚马孙在自己的网站上就启动“HIT”



HIT就是人工的智能任务-比如计算机干不了的活,比如分析一个视频文件中某个人物打红领带出现的次数

Mechanical Turk还可以把一个大型的任务分发给多个工作人员同时完成,任务提交者可以跟踪此任务的整体进展情况。以此方式,Mecanical Turk可以把分布式的计算能力提供给人工智能领域。

http://webchicanery.com/2009/06/20/4-minute-work-week/

再次出现了所谓“企业”字眼的gem 很难说不是又一个玩笑 ... no reply 
Published on 2009-6-23 9:14:55 by bd7lx
http://chinaonrails.com/topic/view/874.html

大约2年前,出现的Acts As Enterprisey 可以说比较低级的玩笑

http://github.com/tenderlove/enterprise/tree/master

Wish you could write your Ruby in XML

可是这个写gem的哥们从来都算是一本正经,一脸正气


Nokogiri 就是他搞的,他就是Aaron Patterson

各编程语言隐藏的功能,道出ruby的猫腻 ... no reply 
Published on 2009-6-23 8:38:33 by bd7lx
http://stackoverflow.com/questions/63998/hidden-features-of-ruby

太阳底下没啥新东西了,ruby也一样
太阳出来每天都是新的,ruby不断进步不断变化



http://beerpla.net/2009/06/21/hidden-features-of-perl-php-javascript-c-c-c-java-ruby-python-and-others-collection-of-incredibly-useful-lists/

Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, And Others [Collection Of Incredibly Useful Lists]


firefox插件poster无需写代码测试REST服务 ... no reply 
Published on 2009-6-19 8:52:03 by bd7lx
工具简单易用,轻松的发送出 REST 测试报文并观察其输出。

https://addons.mozilla.org/en-US/firefox/addon/2691

使用示范

http://www.ibm.com/developerworks/cn/web/i-zero1/?S_TACT=105AGX52&S_CMP=tec.cto


Opera unite 要自由要联合起来,可是里面的虫子太多,解决方法重新下载安装 ... no reply 
Published on 2009-6-18 17:33:38 by bd7lx
windows上不论装o100s_1589.exe 还是o100s_1589m.exe

都有毛病,除了沙发聊天室和冰箱门外,其它都404报出错误

看了个管用的帖子 分享功能可以显示

把改过的文件放到网上
http://rapidshare.de/files/47584986/fileSharing.us.html/

us后缀文件,下载后覆盖

Opera Unite 404 的原因以及解决办法(更新改模板技巧)
http://www.xiaoxiaozhu.cn/post/Opera-Unite-404-fix.html



还有bug 比如下一层的文件夹不能显示,等等吧

上面的问题,重新下载安装即可化解
http://www.cnbeta.com/articles/86957.htm


20 items

欢迎使用 RSS 阅读器订阅本页种子 http://chinaonrails.com/feed/user/bd7lx
© 2006-2009 A Jesse Cai Production   -   About   -   京ICP备07020911号
a site powered by Project Babel