123
 123

Mon 10 November, 2008

Click here to bookmark this link.Channel Image19:17 网站推荐:获取隐藏的flv文件连接» 天天红玉世界
Click here to bookmark this link.Channel Image02:40 Official DB2 adapter from IBM for Rails» Riding Rails - home

IBM have just wrapped up a new DB2 adapter that fixes a bunch of bugs, adds support for a range of features, and works with the rails -d setup to create a new Rails application straight for DB2. Check it out: A major milestone for DB2 on Rails.


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sun 09 November, 2008

Click here to bookmark this link.Channel Image21:12 RubyConf 2008 Wrap-Up» Lovable Lyle
I have an hour or so to kill while I’m waiting here in the Orlando airport for my flight back to Huntsville, so I thought I’d post a quick summary of RubyConf 2008. The conference was held at the Omni Orlando Resort at ChampionsGate. The Omni is big place, and they were hosting several other conferences [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sat 08 November, 2008

Click here to bookmark this link.Channel Image18:46 开发工具世界:在Mac OSX上如何安装7-zip» 天天红玉世界

免费无限存放图片在slide.com!

使用Macports的简单说明
# 如何获取Macports的帮助信息
sudo port help
# 如何查看在本机上已经通过Macports所安装的软件
sudo port installed
# 如何获取通过Macports可安装的软件清单
sudo port list

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:49 This Week in Edge Rails» Riding Rails - home

Rails, as you probably know, is under active development. So, for those of you who don’t have time to read every commit to the source, we’ve decided to revive this section of the weblog. This time around, I’m covering 3 weeks of commits: the time since Rails 2.2 RC1 (otherwise known as Rails 2.2.0) was released. Though there aren’t any major new features being added as Rails drives towards the 2.2 release, that doesn’t mean the source has been completely quiet: there have been about 75 commits in that three-week period. Here’s a look at some of those changes.

In the run-up to 2.2, we’re seeing a batch of little bug fixes, as people try to ensure quality in the release. These include:

  • Squashing a binary data corruption bug that surfaced in the PostgreSQL adapter. commit
  • The regex behind redirect_to can now accept a wider variety of URL schemes, making it possible to redirect to some destinations that were previously inaccessible. commit
  • A regression in date_select and datetime_select that could raise a Null Pointer Exception under some circumstances has been fixed. commit
  • The sanitize helper has been fixed to avoid double escaping already properly escaped entities. commit
  • FormTagHelper has been stopped from generating illegal HTML if the name contains square brackets. commit
  • A memory leak was squashed in Active Record scoped methods. commit

Some of the major features for 2.2 have been getting fine-tuned as well. There’s been work to clean up some loose ends in the thread safety department, and changes to make the I18n backend reload its translations in development mode. The included Prototype bits were bumped to the latest 1.6.0.3 release. The code for configuring, loading, and vendoring gems has had some attention, and the code for maintaining database connection pools has come in for some fine-tuning as well.

Just because we’re in feature freeze doesn’t mean that a few new features can’t sneak in:
  • The current_page method is a bit more reliable now in that it ignores options you don’t explicitly supply (making it more friendly to URLs that use the query string for pagination and the like). commit
  • The default logging has been cleaned up to be less chatty: you’ll see fewer duplicate log messages as Rails goes about its business. commit
  • The render method now takes a :js option to allow you to directly render inline JavaScript without using RJS. commit
  • If you’ve got a current (Ruby 1.8.7 or greater) version of Ruby, Action Mailer turns on STARTTLS if the server supports it; this makes Action Mailer compatible with GMail without the need for plugins. commit

One final note: I’m deliberately not trying to cover every single commit here; just those ones that struck me as most interesting. But if I left out something that you think is highly significant, feel free to add a pointer in the comments!


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Fri 07 November, 2008

Click here to bookmark this link.Channel Image17:46 Apple世界:Mac OS X浏览器知道多少?» 天天红玉世界
免费无限存放图片在slide.com!

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Thu 06 November, 2008

Click here to bookmark this link.Channel Image23:56 Apple世界: 在Mac OS X上安装网络文件下载工具wget» 天天红玉世界
免费无限存放图片在slide.com!
  • 安装说明
    • 下载:wget http://tinyurl.com/5odt4o 。
    • 解压: 双击文件wget.zip
    • 进入该解压目录,可以看到文件:wget,wgetrc和wget.1 。
    • 设置环境变量“:/usr/local/bin”,具体方法参考: 如何设置环境变量 MacOSX on Leopard
    • 执行下面命令
安装命令
sudo cp wget /usr/local/bin/.
sudo cp wget.1 /usr/local/man/man1/.
sudo cp wgetrc /usr/local/etc/.
验证方法
localhost:wget alps$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
  
Try `wget —help' for more options.
  • 说明
    • 上面是使用可执行文件的安装方法,如果想从源代码开始安装它的话,那么请看下面参考文献的连接。

add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Wed 05 November, 2008

Click here to bookmark this link.Channel Image22:38 Obamagasm: The Morning After» Joey Gibson's Blog
The election is finally over, and The Messiah has been elected. I had known for at least two months that McCain didn’t have a prayer of winning but now that it’s official, well, it pretty much sucks. Actually, it’s not truly official until the Electoral College delegates vote and they could ignore the popular vote, [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image22:13 戛然而止» 梦想风暴

听着张惠妹的《解脱》,看着奥巴马当选美国总统的新闻。

对于政治,我不那么关心,对于奥巴马的当选,我看到的更多是一个美国梦的实现。和人说过,如果奥巴马当了总统,我就去买一本他的《无畏的希望》来读,看来要多读一本书了。当选的奥巴马经过了最初的喜悦,很快就会面对的更现实的问题:经济危机。经济危机,这个最初曾在初中政治课本上见识到的词,这一次迈着大步重回人间。

曾以为经济危机离自己很远,直到公司厨房里的零食开始减少,我才知道,原来,还是会有一些影响的。

今天下午,当我和几个同事正在热火朝天的讨论一个问题的时侯,忽然项目组召集开会。老大告诉我们一个坏消息,项目取消了!

原因很简单,在这个经济危机的冬日,客户准备扎紧腰带过苦日子了,所以,所有的项目都要取消了。比起厨房的零食,这次,经济危机的冲击更加直接。虽然老大说了很多,说我们这段时间的工作是有价值的,希望大家最后在把一些整理和收尾的工作做好。但散会后,大家的表现一目了然,刚还在为一个问题争论不已的我们,一下子失去了前进的动力。我们操起了放下好久的Wii,放肆的在“工作”时间打起了网球,甚至在其他人还在忙碌的时侯,一群人就奔向了KTV,准备引吭高歌一番。

对于我而言,听到“取消”的那一刻,我的思绪却飞回了六年前。

那时,我刚刚离开校门,还是一个干劲十足的毕业生。我放到了一个Java项目上,做的是一个彩信网关,那时侯,我们称之为多媒体短信(MMS)。这是我在职业路上真正意义的第一个项目,我不懂业务,不了解Java,不知道网关为何物。于是,我拼命的学着项目需要的各种各样的技术,写着尽可能有用的代码,也犯着初学者可能的各种各样的错误。还记得当时我是分配和一个在读研究生一起写协议,还有一个用于测试的客户端模拟器,他忙着写自己毕业论文,于是,我几乎一手包办了所有代码。当我的模拟器与我们的系统成功互通,我无比的满足。

在2003年新年到来之前,项目负责人宣布,项目取消了。当时的我,一下子就懵了,我拼命的回忆着自己到底做错了什么。现实是,这个彩信网关当时根本就没有需求,完全是部门领导拍脑门想出来的东西,当他们看到短时间之内不可能有真正的需求时,终止了这个项目。

那个飘雪的冬夜,项目负责人带着我们几个在一家朝鲜族饭店吃了散伙饭。

那之后,我知道,原来技术并不能决定一切。

时隔六年,现如今的我经历了很多,也能够更加坦然的面对同样的场景。项目死掉的直接原因通常与程序员无关,好程序员可以对一个项目的成功推波助澜,但却很难毁掉一个项目,放在大背静下更是如此。

冬天来了,春天还会远吗?




add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image02:09 Legalize Freedom» James Britt - Code, Content, Caffiene

Legalize freedom.

Vote Libertarian.


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image02:09 I Just Got Back From Voting» Joey Gibson's Blog
When I got to my polling station, the line was out the door, for about 150 feet or so. I queued up with everyone else at 8:00. It took me about an hour just to get inside the building, at which point I saw that it was much like Space Mountain at Disney World: the [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Tue 04 November, 2008

Click here to bookmark this link.Channel Image10:09 Presenting for Presenters» { |one, step, back| }

If you are speaking at RubyConf this year, we have a special opportunity for you.

Are You Speaking at RubyConf 2008?

If so, congratuations! And have we got a deal for you …

Wednesday evening, Nov 5, at 6:00 pm, (that’s the night before the conference) we are inviting all speakers to a special training session. I’m going to be sharing some ideas for putting together and delivering a good presentation.

After my talk, Patrick Ewing and Adam Keys are geared up to do some Powerpoint Karaoke with everyone there. I’m not even sure what Powerpoint Karaoke is, but it sounds like fun.

I hope to see everyone there.

Update (4/Nov/08)

I’ve talked to Adam today. He says that Patrick isn’t going to able to make RubyConf this year, but we will be ready to roll with Powerpoint Karaoke anyways.

Update (5/Nov/08)

It looks like the speakers training will be in the Olympic Room tonight. The Olympic Room is on the same floor as the registration desk. Go to the left past the elevators and turn right down that hall (or ask someone who looks like they know what they are doing).


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image07:00 Rails Guides Wants You» Riding Rails - home

If you haven’t looked at the state of Rails documentation lately, it’s time to look again. The new Ruby on Rails Guides page includes 14 separate guides for Rails developers, with topics ranging from “Getting Started” to routing, security, testing, and debugging. That’s over 70,000 words of help content for Rails users that didn’t exist two months ago when we launched the Rails Guides project.

But we’re not done yet! We’re starting phase 2 of the Guides project, and planning a fresh batch of content to add to what’s already there. Our goal is to have a single page where you can find all of the information you need to be an effective Rails developer. Remember, though: this is open source. That means we want your help too!

Here’s what you can do to get involved:

  • Read about the process of and rewards for contributing on the Hackfest page.
  • Check the list of available tickets in our Lighthouse project, and sign up to write a guide.
  • Submit corrections, suggestion, bugs, or patches for the existing guides. You’ll find a link to the relevant Lighthouse ticket at the bottom of each guide.
  • Let us know what other guides you think should be added – whether you want to write them, or just hope that someone else will. Just leave a note in the comments here and we’ll get your idea into the process.

You’ll usually find some of the documentation team hanging around in #docrails on IRC. Come join us and help the community!


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Click here to bookmark this link.Channel Image00:10 Grails Podcast Mentions My Closure Post» Joey Gibson's Blog
Like other bloggers with an ego, I have Google Alerts set up to let me know when someone mentions me or my blog anywhere that Google knows about. I got an alert yesterday letting me know that I’d been mentioned on the latest episode of the Grails Podcast. How cool is that? Specifically, they mentioned [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Sun 02 November, 2008

Click here to bookmark this link.Channel Image02:44 数据库世界:下一代数据库储存系统CouchDB» 天天红玉世界
免费无限存放图片在slide.com!
  • 说明
    • CouchDB能否与关系数据库抗衡?
    • CouchDB让我们了解数据储存的新概念。
    • Google也使用类似的数据库BigTable
    • 从数据记录角度看,CouchDB以文档的多维方式储存数据,而关系数据库是以表的二维方式。
    • 从数据历史角度看,CouchDB以文档的多层方式储存数据,而关系数据库是单层的。
    • CouchDB可以REST方式被访问,而关系数据库呢?
    • CouchDB完成程序与数据的更少耦合,实现真正意义数据库数据的分布性。
    • Rails创始人已经开始注意到CouchDB数据库的发展趋势,参考资料:中文英文 ,中文版本有些重要信息没有翻译。

“Its interesting to see that recently things like CouchDB or BigTable, and other implementations treat the database as a big hash. Or implement a big hash as a database are popping up and that’s very interesting.”—-DHH

  • CouchDB on Rails何时到位?
  • 值得好好学习的数据库系统!


add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Sources