Sat 06 October, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlFri 05 October, 2007

This release contains additional deprecation notices, security fixes and some minor performance improvements. All users of 1.2.3 are advised to upgrade.
Deprecation Notices
If you intend to upgrade to 2.0 you should run your tests to and fix any errors that are displayed. The warnings will become errors with the release of 2.0.
If you’re using RESTful routing, pay special attention to the changes to route generation and recognition. The previous use of the semicolon in URLs has been replaced with a regular /. For instance /person/1;edit has become /person/1/edit. This change was made as several libraries, including mongrel, mistakenly treated semi-colons as query string seperators and some browsers and http libraries misbehaved.
Your old ;-based URLs will be continued to be recognized, though. They’re just no longer generated.
Security Enhancements
1.2.4 fixes several potential security issues:
- Session fixation attacks are mitigated by removing support for URL-based sessions
- Changed the JSON encoding algorithms to avoid otential XSS issues when using ActiveRecord::Base#to_json
- Potential Security and performance problems with XmlSimple have been fixed by disabling certain dangerous options by default.
Upgrade with the standard gem install rails command. Rails 1.2.4 serves as a drop-in replacement for 1.2.3.
add to del.icio.us. look up in del.icio.us.
add to furl
Some fun with Erlang and FlexMock.
Erlang Function Defintions
Erlang defines functions by listing a set of possible argument lists and the body of the function to be executed for each argument list. For example, the factorial function might be defined in Erlang as:
factorial(0) -> 1;
factorial(N) -> N * fac(N-1).
If factorial is called with a 0 (zero) for an argument, the first argument list will be chosen and the value of the factorial function will be 1. Otherwise, the value returned will be calculated by a recursive call to factorial.
FlexMock and Erlang
While playing around with FlexMock the other day, I realized that it does parameter matching, much like Erlang, when deciding what mock method to call. So I started wondering if you could write Erlang-like function definitions in FlexMock.
Here’s the result.
mock = flexmock('fact')
mock.should_receive(:factorial).with(0).and_return(1)
mock.should_receive(:factorial).with(Integer).
and_return { |n| n * mock.factorial(n-1) }
Ok, that was fun. But let’s not start building entire systems using nothing but FlexMock.
add to del.icio.us. look up in del.icio.us.
add to furl
“ We don’t know when or where, but we do know to whom. ”
From Camella’s engagement announcement
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
2. Extreme restlessness or tossing in bed, as can occur with some forms of acute disease.
add to del.icio.us. look up in del.icio.us.
add to furl
Some folks have been asking me for the clear definition of the term Web 3.0.
- Web 3.0 is defined as the intercalation of user-driven cross-bulterized falwettons, when traized with sufficient lenterains over extend periods of reticurotation.
Or, more concisly
- A marketing semantic land-grab, full of sound and fury, signifying nothing.
White rabbits shortly to appear .
add to del.icio.us. look up in del.icio.us.
add to furlThu 04 October, 2007

Best Tech Videos is hosting a hand-held video of the keynote I gave at RailsConf EU. The majority of the talk was a live coding session, though, which is kinda hard to follow from the angle of this shot. But in case you don’t want to wait for the official O’Reilly copy, here’s something in the meanwhile.
add to del.icio.us. look up in del.icio.us.
add to furl

- 说明iMacros
- 这是一款录制浏览器的操作的Firefox插件。类似产品有 Selenium 和 CoScripter 。关于插件CoScripter,网络上有这样的评论:”我已经测试了CoScripter。问题是,这个插件仅仅针对最简单的网络页面。。。认为iMacros已经明显地走在前面了。”。我以为插件Selenium是一款很好的录制浏览器的操作软件。
add to del.icio.us. look up in del.icio.us.
add to furlWed 03 October, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
- Erlang hot swapping for fun and profit
Details of the hack of the Vodaphone-Panafon cellular network.
add to del.icio.us. look up in del.icio.us.
add to furl
Sitepoint is currently giving away free PDF copies of Patrick Lenz’s “Build Your Own Ruby on Rails Web Applications” book. Want a copy? Just head on over to http://rails.sitepoint.com and download it. This offer is only good for the next 60 days, so get while the gettin’ is good!
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl

- 说明
- 随着iPhone手机市场的发展,以这种或者类似即将出现的手机为基础的软件市场正在形成。开发在iPhone上使用GMail的iPhone软件接口已经出现iGMail。
- iGmail – Gmail interface for Apple iPhone
- http://www.naan.net/trac/wiki/igmail
- iPhone开发工具Aptana IDE: iPhone Development Plugin
- http://www.aptana.com/iphone/
- 参考资料:
- http://www.tuaw.com/2007/10/01/igmail-gmail-iphonified/
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlTue 02 October, 2007

技术信息:发现所有病毒的开源软件ClamAV
- 技术信息报道
http://it.solidot.org/article.pl?sid=07/08/10/090230 - 安装系统软件Microsoft .NET Framework,先安装1,然后安装2 :
- 安装杀毒软件ClamAV
- 安装说明
一定要安装在C:下面 - 按照下面的命令下载,然后点击该文件安装
wget http://w32.clamav.net/downloads/clamAV.msi
- 安装说明
- 使用杀毒软件ClamAV命令
"C:\Program Files\clamAV\clamscan" -r --temp=c:\windows\temp D:\
add to del.icio.us. look up in del.icio.us.
add to furl
The extracted adapter gems are now available for install from the gems.rubyonrails.org server. Say you want the Oracle adapter installed, you just do gem install activerecord-oracle-adapter. All the extracted gems are:
- activerecord-firebird-adapter
- activerecord-frontbase-adapter
- activerecord-openbase-adapter
- activerecord-oracle-adapter
- activerecord-sqlserver-adapter
- activerecord-sybase-adapter
These will be released to the standard Ruby repository alongside Rails 2.0 when that reaches final.
add to del.icio.us. look up in del.icio.us.
add to furl
It used to be that going for a walk and taking your camera was called "going for a walk and taking your camera."
No longer. Apparently now it's called Photowalking. So,
to keep up with the cool kids, I will use the same name.
For the last two nights, I've been "photowalking" around my neighborhood. None of the photos I've taken have been "amazing" or "stunning" or "you've-gotta-see-this" quality, but I especially like this one of the trees silhouetted against the evening sky.
You can see the rest of the pictures at the following links:
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
软件新闻:Rails框架2.0测试版本发布(2007.10.01)
- 安装命令:
- 要是你在这几天安装可以使用下面命令,实际上这是获取一个最新版本的通用命令:
gem install rails --source http://gems.rubyonrails.org - 要是你想知道我们安装的Rails2.0测试版究竟是什么版本号,可以使用下面命令:
gem install rails -v 1.2.3.7707 -r -y --source http://gems.rubyonrails.org
- 要是你在这几天安装可以使用下面命令,实际上这是获取一个最新版本的通用命令:
- 检查安装结果方法:
gem uninstall rails
输入任何一个字母,回车键,退出。 - 参考信息:
- 锁定Rails框架应用软件版本rel_2-0-0_PR命令:
rake rails:freeze:edge TAG=rel_2-0-0_PR
或者
rake rails:freeze:edge REVISION=7707
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlMon 01 October, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
2. Of, pertaining to, or characteristic of Sybaris or its inhabitants.
add to del.icio.us. look up in del.icio.us.
add to furl
Now seems like a good time to thank the community which helped make our new release a reality. Rails 2.0 includes the work of more than 160 individuals who have contributed features through trac and our mailing list. Our user mailing list has 11002 subscribers all helping each other out. The development list has 1847 people helping improve the framework for all the users.
In particular we’d like to single out the following people who top the list of accepted patches
- Pratik Naik
- Josh Peek
- Norbert Crombach
- Chris Kampmeier
- Tarmo Tänav
- Jeremy McAnally
- Josh Susser
- Jamie van Dyke
- Ben Sandofsky
- Manfred Stienstra
- Jack Danger Canty
Our community is our greatest asset, and thanks to every single one of you who’s helped out throughout our history.
add to del.icio.us. look up in del.icio.us.
add to furl
Behold, behold, Rails 2.0 is almost here. But before we can slap on the final stamp, we’re going to pass through a couple of trial release phases. The first is this preview release, which allows you to sample the goodies in their almost finished state.
We might change a few things or add something else, but by and large, this is how Rails 2.0 is going to look and feel. After this release have had a chance to be tried out, we’re going to move to a release candidate or two (or three, depending on how many we need). Then, the final release.
Before the release of 2.0, we’re also going to be putting out 1.2.4, which will include a variety of bug fixes and the last deprecation warnings to get you ready for upgrading an existing application to 2.0 standards.
Enough about process. Let me tell you a little bit about what’s new in Rails 2.0:
add to del.icio.us. look up in del.icio.us.
add to furl
技术专题目录:Erlang语言简明讲义
- 第一篇《从创建、编辑一直到运行Erlang语言程序》
- 第二篇《Erlang语言终端的进与出及其帮助》
- 第三篇《理解Erlang语言终端内部帮助》
- 第四篇《理解Windows操作系统的Erlang语言终端工具》
- 第五篇《简单使用Erlang语言终端》
- 第六篇《Erlang语言的模块程序实例》
- 第七篇《Erlang语言程序模块与函数》
- 第八篇《没有Erlang终端执行模块程序》
add to del.icio.us. look up in del.icio.us.
add to furlSun 30 September, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
第二篇《Erlang语言终端的进与出及其帮助》
=========
erl【回车键】
=====
Ctrl+G
q『回车键』
=====
erl【回车键】
Ctrl+C
q『回车键』
=====
erl【回车键】
Ctrl+G
h『回车键』
q『回车键』
=========
(一)符号说明:(二) 内容注释:
- 建议在Ubuntu操作系统上学习Erlang语言;
- 启动Erlang语言的终端命令为erl;
- 在Windows系统下退出命令就是Ctrl+C,没有上面这些程序内容;
- 图片一:使用Ctrl+G命令退出Erlang终端

- 图片二:使用Ctrl+C命令退出Erlang终端

- 图片三:使用Erlang终端的帮助

add to del.icio.us. look up in del.icio.us.
add to furl
技术专题目录:每月技术博客收藏
add to del.icio.us. look up in del.icio.us.
add to furl
2. The system that underlies the formation and use of proper names or terms used in specialized fields.
add to del.icio.us. look up in del.icio.us.
add to furl
技术信息:浏览器Flock使用RSS文件opml
- 视频链接
http://divx-936.vo.llnwd.net/stage6vid/1691406.divx - 视频说明
- 请使用软件VideoLAN :http://www.videolan.org/
- 要是你无法看到上面的链接视频,也可以在中文计算机语言用户讨论组网站上下载这个视频。
- 视频RSS文件OPML的相关链接
每月技术博客收藏
add to del.icio.us. look up in del.icio.us.
add to furl


- 说明
- 尽管在线拼音输入法有一定局限性,但是可以在iPhone中输入汉字。需要到下面指定的网站中进行汉字的输入。
- 相关链接
- 简体版网站:http://guohongtao.googlepages.com/vk.html
- 繁体版网站:http://zhihmeng.googlepages.com/vk.html
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
It Skips but It's Awesome
D-Jon by way of KLB
add to del.icio.us. look up in del.icio.us.
add to furl
Hotel Chevalier
A free, bite-sized Wes Anderson film. Part 1 of The Darjeeling Limited.
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlSat 29 September, 2007

- 说明
- 这是一个类似于Flickr的图片存放网站www.slide.com。
- 这个网站还可以对图片进行再处理。上面的二个图是处理前后的结果。
add to del.icio.us. look up in del.icio.us.
add to furl
Projectionist Playlist
A continuously up to date m3u playlist of audio posts on Projectionist.
add to del.icio.us. look up in del.icio.us.
add to furl

