123
 123

Sat 19 January, 2008

Click here to bookmark this link.Channel Image23:14 视频推荐:Ruby语言和Rails框架视频教程» 天天红玉世界
Click here to bookmark this link.Channel Image14:07 Twitter Updates for 2008-01-18» halostatue
@rich_kilmer do you have a reference to reality maps so I can understand them? # Been too busy to tweet today. :| Bought a black nano, tho. # Powered by Twitter Tools.
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 Image14:07 Twitter Updates for 2008-01-17» halostatue
@codinghorror feels like you’re entering the 21st century, doesn’t it? ;) # @wilshipley You could be looking at honeymoon trips… # @codinghorror enjoy the Good News while you can get it. I hate travelling to the US and never getting any worthwhile news. # @arnaudrobail qui est mort? # chewing away at functionality # why is my Mac running hot [...]
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 Image14:07 Twitter Updates for 2008-01-16» halostatue
Reading Helping Dolphins Fly at http://tinyurl.com/26poyp # @robertbrook interesting. My wife knows E L Wisty because of a Pete Townshend blog a couple of years ago. # @MikeG1 rate limit? link? # @MikeG1 yah. found that, replied to it with a suggestion to make the UX better for API users (say how many calls are left & when [...]
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 Image14:07 Twitter Updates for 2008-01-15» halostatue
adding more tests of the SOAP interface. # lazytwitter: any ideas on what I should follow for best mwsf coverage? # @lylejohnson I meant on twitter ;) # @danielpunkass I don’t have my lemur, yet, but I have my lemur stickers ;) # stupid approach I’m taking. must try something else. # it’s weird seeing your menubar icons start up [...]
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 Image14:07 Twitter Updates for 2008-01-14» halostatue
finalizing code. The End Is Nigh…or something like that. # @lylejohnson @gruber suggests that it’s a great discount off Snapz Pro # gah. C++ is stupid. I want to use template code for something, but can’t because what i really need is metaprogramming. Hate C++. # @lrz I’m not sure that’s enough reason to keep using it. Legacy—and [...]
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 Image14:07 Twitter Updates for 2008-01-13» halostatue
@ev use a good blender/food processor. I use 1 can chickpeas, 2 T minced garlic, 1 c. tahini and 1/4 c. fresh lemon juice. yum. # @ Linux Caffe: January TRUG meeting # Powered by Twitter Tools.
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 Image14:07 Twitter Updates for 2008-01-12» halostatue
@danielpunkass I’m torn between the 40D and D40x or D80. Not really sure what I want to get for a DSLR myself. :| # Powered by Twitter Tools.
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 Image14:07 Twitter Updates for 2008-01-11» halostatue
@ntalbott I haven’t decided if I’m getting it. I own most of the software that’s in the bundle, and I have to decide if I want what’s left. # like finding crashers and fixing them. Hate that I have to find them at all. Overall, C++ FTL. # @danielpunkass the one that surprised me a couple of [...]
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 Image14:07 Twitter Updates for 2008-01-10» halostatue
far too busy at work. not enough of me to do all that needs to be done. :| # @bil_kleb unfortunately? no. (it’s all hot, and it’s all related to the same thing.) # customer issue cancelled lunch. had lunch brought to us. Dosas FTW. # @chartier that, of course, is the rub. technology *can’t* automatically detect fair [...]
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 Image14:07 Twitter Updates for 2008-01-09» halostatue
@timbray maybe I’m just jaded, but I’m finding it boring. (I’m also not watching the caucuses.) Then again, it could be that it’s not just… # @timbray a spectator sport to me. # bloody hell, the attitude people take when they subscribe to planets and people change how they use their blogs. # @jamis mmm. this was RubyCorner. [...]
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 Image09:40 停電» 青木日記
なんか昼間に停電があったらしく、 loveruby.net が落ちてました。 すみません。 (05:43)
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 Image09:40 「国内の出版社で Subversion を使ってるのはたぶんうちだけ。」» 青木日記
http://www.geekpage.jp/blog/?id=2008/1/10 んなこたーない。 いままさに俺がふつぱいらの原稿を Subversion で編集者と共有してる。 (04:36)
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 Image09:40 出番多し» Matzにっき
教会での司会、お話、レッスン、初等協会でのお話、と出番の多い日であった。 疲れた。
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 Image09:40 マルチVMでRubyを並列化、サンと東大が共同研究 − @IT» Matzにっき
東大(創造情報)とSun Microsystemが共同研究するという話。 実際には研究テーマは二つあって、 ひとつはFortress、もうひとつはRubyである。 テーマ的にはFortressの方が重要な気がしないでもないけど、予算は同額。 期間は2年ということで、今日明日にどうこうという話ではないけれど、 将来が楽しみな話ではある。
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 Image09:40 マルコフ連鎖(もどき)» Matzにっき
家族で定期的に聖書を読んでいる。 教養としてもなかなかだ。 で、我々が朗読している間、 三歳の娘は、自分の聖書を開きつつ、 それらしいことを「読んで」いる。 われらは、しゅに、まじでに(?)、おめぐみを、くださりた 彼女が覚えている「聖書らしい音」を適当につなげているらしい。 なんか人工無脳みたい。 やっぱり、マルコフ連鎖のようなことが脳内で処理されているのだろうか。
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 Image09:40 Ramaze: a Ruby framework that will amaze | Zen and the Art of Ruby Programming» Matzにっき
こんな感じの特徴のあるWebアプリケーションフレームワーク。 A very welcoming community with the right attitude, down to earth folks, and no prima donnas; Lightweight, meaning that it's not bloated and doesn't fill the skeleton of an application with a bunch of unnecessary files; Very Ruby like, based on the KISS and POLS principles; Follows the MVC architectural pattern, but allows you to run everything off a single script if need be; Already works perfectly with Ruby 1.9 (and runs much faster with..
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 Image09:40 REBOL 3.0 Alpha Public Release» Matzにっき
「どっこい生きてる」という印象を与えるREBOL。バージョン3.0 alphaのお知らせ。 個人的には好みではないが(引数情報が構文解析に影響を与えるから、ソースコードだけから意味を解釈できないところが特に)、ドキュメントを見る限り、前のバージョンと比べていろいろと成長しているみたい。 あいかわらず「無料ソフト」らしいが、ソースコードは公開しないのかな。
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 Image09:40 ONLamp.com -- How Will History View Richard Stallman?» Matzにっき
歴史はStallmanをどう評価するか。 だいたいエキセントリックなところは歴史の陰に隠れてしまい、 成果だけが記憶されるので、彼は偉大なソフトウェア運動家として歴史に残ると思うなあ。 エジソンやテスラの奇行なんて知ってる人はあんまりいなくても、 電球や蓄音機や殺人光線(!)についてはみな覚えているもんだ。
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 Image09:40 New Generation Chronicle:小飼弾−−35歳からのプログラミングこそ無上の至悦 - ITmedia エンタープライズ» Matzにっき
なぜかインタビューでやたら私に言及してくださる小飼弾さん。 そんなに意識してくださらなくても。私なんかLarryに比べたらまだまだコモドですから。 いずれにせよ、ありがとうございます。 で、35歳ねえ。どうなんだろう? 小飼さんは私より3つくらい下のはずだが、 実は「35歳から」ということを意識したことはない。 私の場合、肉体的にはともかく、内面は子供のままで、 二十代の頃から全然成長した気がしない。 うちの奥さんは「旦那の子供っぽさ」が気に入らないようだけど。 ので、35歳からプログラミングが変わった、とい..
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 Image01:06 Review: Ruby on Rails Enterprise Application Development» chris blogs

Ruby on Rails Enterprise Application Development
by Elliot Smith and Rob Nichols.
Packt Publishing, Birmington 2007.

[Full disclosure: I have received a copy of the book in exchange for this review.]

The book targets Rails beginners that have a little prior knowledge of Ruby and Ruby on Rails and aims to accompany them on their way to Rails mastership. It focuses on the iterative and stepwise development of a small CRM system for a small company. Since the chapters don’t anticipate, it can be read straight forward, while the reader continuously learns and refines his skills.

It starts with a general introduction on why to use a web-based client-server architecture for business applications, and then recommends Rails to implement them, last but not the least because it is open source and enables easy testing.

Next, the reader is introduced to basic database design, elementary normalization and how Rails’ ORM works. Then, it discusses Rails naming conventions and includes a list of reserved words in Ruby. A list of reserved class names is unfortunately not included, it would have been very helpful since Ruby already claims some very generic class names (Date, Thread, etc.).

Contradictory to the introduction, now nevertheless follows a tutorial on how to setup and install Rails. The book was written before Rails 2 and generally speaks of outdated versions, however, most of the content is not affected by this—still, there may be some traps if one tries to follow it with more recent Rails versions. After setting up Rails, the installation of a database (MySQL throughout the book) and a revision control system (Subversion) is explained.

After these preliminaries, a Rails project is created and the book explains the Rails directory structure. Tables are set up, migrations introduced, and the reader learns about the essential ActiveRecord API with finds and relationships. Validations are addressed as well; the regular expression for email checking is broken. After a quick overview of unit testing and Test::Unit (TDD is discussed but not used), the reader can check in the code for the first time.

Now, they generate controllers, introduce ERB and pagination (using the built-in paginate), how to do links and layout and furthermore how to use partials and flash. The chapter also shows how to write functional tests.

The application is ready for a first deployment. After an overview of the typical Rails hardware requirements, the book explains how to set up Mongrel.

The next chapter focuses on user experience. The authors introduce routes for better bookmarking, show how to add search and input validation and finally give examples of using AJAX for autocompletion. They also point out that AJAX should be used sparingly and only when it makes sense. The chapter also makes an excursion on how to setup Instiki as a help system.

After this, the book deals with improving error handling, authentication (for which they use unsalted password hashing) and file uploads. After displaying a primitive version of file uploads, it is shown how to install plugins and how to use acts_as_attachment.

Then, more serious deployment gets addressed. They introduce Capistrano, explain how to set it up and then use it for upgrading, downgrading and database-related tasks. A list of common problems is provided to help fix likely issues. The authors also explain how to install automatic start-up scripts, session cleaning and log rotation. The rest of the chapter deals with optimizing the Rails application: how to find and identify the bottlenecks with profiling and how to speed up Rails with the different kinds of caching available or by using eager loading. Finally, they also address scaling by using multiple Mongrels and Apache as a reverse proxy and static file server.

The last chapter, “Down the Track” tries to school the reader when it’s okay to break Rails’ conventions. They give situations where the use of custom SQL or using multiple databases is required or advantageous. The chapter also outlines general virtues of a business application developer, such as the importance of understanding the business processes, that successful applications primarily need to yield profit, that automation is good, and reporting important.

The book is concluded by an appendix showing how to setup your own Gem server.

Conclusion: The book does not satisfy the introductory claims: it is often too detailed on the basics and too shallow on the crucial things and sidetracks the reader into unimportant issues. The writing is occasionally clumsy and sometimes overuses the passive voice to incomprehensibility. Some code examples are syntactically invalid and a few Ruby-related commentary plainly wrong. Throughout the text, replace all occurrences of “property” by “attribute” and of “ampersand” by “commercial at”. Various other mistakes sprinkle the book, occasional typos, random font changes and weird spacing suggest the book was produced in a hurry. People with typographic sense will be shocked by the table of contents and complete and the utter lack of typographical quotes. The few illustrations are reproduced in a very low resolution.

Still, the book may be useful for Rails beginners that are interested in the development of an “enterprise application” and would like to know what else there is to keep track of. The complete Rails newbie however will stumble due to the preknowledge of Ruby, whilst the slightly advanced Rails developer will hardly learn anything new and would be better off with specific books on deployment or system administration to extend his knowledge.

Rating: 3 of 5 points.

NP: Minutemen—Love Dance


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:53 Push this button over there» Projectionist
Click here to bookmark this link.Channel Image00:53 Were I to choose an auspici...» Projectionist
Were I to choose an auspicious image for the new millennium, I would choose this one: The sudden agile leap of the poet-philosopher who raises himself above the weight of the world, showing that with all his gravity he has the secret of lightness, and that what many consider to be the vitality of the times-noisy, aggressive, revving and roaring- belongs to the realm of death, like a cemetary for rusty, old cars.

Italo Calvino


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:53 Dr. Steve Brule: Living on ...» Projectionist

Dr. Steve Brule: Living on your Lonesome


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

Fri 18 January, 2008

Click here to bookmark this link.Channel Image19:36 詐欺(未遂)» Matzにっき
会社に来たらアメリカからFAXが来ていた。 Intrernal Revenue Service IRS.gov - DEPARTMENT OF THE TREASURYというところから W-8BENという書類を出せ、というような内容。 確かにアメリカから印税を受け取ったりしているので、 還付金などの話がないわけではない。額が小さい割に、めんどくさいな、と思っていたが なにかがおかしい。 まず、最初におかしいのはFAXにあった「treasury.dpt@gmail.com」というアドレス。 政府機関がメールアドレスにGMailを使うか? で、ひっかかって調べてみるといろいろ出てくる。 FAX番号である「+1-206-..
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 Image19:10 Rails插件:创建自己的导航系统Geokit» 天天红玉世界
创建自己的导航系统Geokit
  • 说明
    • Rails插件Geokit提供了地理编码(geocoding),路线寻找和距离计算等功能。这个插件不仅提供Google地图API还提供Yahoo地图和Geocoder.us 等其他地图。
    • Geokit项目首页:http://geokit.rubyforge.org/
    • 图中链接是借助于Google 地图 API 实现瑞士火车实时运行网站。

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 Image16:04 drupal,很好,很强大» Ruby 语言 思想驱动生活
优点: 界面很简单,管理界面几乎都是纯文字,没有图片。 任何东西都能当作主页的menu放进去,比如建立一个page,一个blog,甚至一个论坛主题,都可以放到主页作为一个menu。而且都可以指定一个/aboutus这样的url。 Menu的可定制,包括是否显示和显示位置 用户管理很强,可以自定义role,定义role对各个功能的权限。 功能很强大,支持blog,story,page,poll,forum等,对一个简单的团体来说是够了。 扩展性强,很多module可供选择。 Theme支持。 多语言支持,几乎所有语言都提供了语言包。 UTF8,怎么都不乱码。 缺点: 对多媒体文件支持不太好,不能直接显示或播放。 module太多,挑花了眼。想在内容里直接显示图片,或者媒体播放界面,一搜n多module,不知选哪个好。 Rich编辑器没有,也要module。据说很多人最后都平板编辑了,直接用html。
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Thu 17 January, 2008

Click here to bookmark this link.Channel Image13:45 08放话:Solution (Software + Hardware) as a Service» nonocast ! 真诚原是一种需要坚强不屈的品质
思路: 以硬件为基础,软件为核心构成的服务方案
Solution (Software + Hardware) as a Service
 
06,07是一个观望期、思考期、准备期, 不出意外,08开花,开始进入成熟期,
如果在08不能把握住这个思路,2010+就没你什么事了。
 
so在执着编码的同志们要看清形势,总感觉工作越是忙越容易被淘汰,因为你太忙了,忙到没有时间去思考,没有时间去尝试,没有时间去失败。
很多人在30之前因为一份看上去不错的工资被迅速掏空,总是为他们为之惋惜。可能是我杞人忧天,Horses has courses.
 

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 Image13:00 sacerdotal: Of or relating ...» Projectionist
sac•er•do•tal
[sas-er-doht-l]adjective
Of or relating to priests or the priesthood; priestly.

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:15 硬件产品:世界上最薄的笔记本Apple MacBook Air» 天天红玉世界

世界上最薄的笔记本Apple MacBook Air

  • 说明
    • 苹果公司2008-01-15推出一款新型超薄笔记本
    • 该电脑最薄处仅有0.4cm,最厚处1.9cm,重量1.36kg
    • 这款笔记本拥有全尺寸键盘和13.3英寸液晶屏幕
    • 德国市场预定售出市场价为1700欧元
    • 推荐视频

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

Wed 16 January, 2008

Click here to bookmark this link.Channel Image16:00 TIOBE declares Python as programming language of 2007! - comp.lang.python | Google グループ» Matzにっき
2007年の「Language of the Year」はPythonだそうで。 おめでとうございます。 で、Rubyは、というと、TIOBE indexでちょっと落ちてるという。 2008年は1.9を武器にもうちょっと頑張ります。 来年はIoかLuaかScalaか。
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 Image16:00 An Agile Way > 島根で Ruby と Agile : ITmedia オルタナティブ・ブログ» Matzにっき
昨日のOSSサロンについて平鍋さんの記事。 楽しんでいただけたろうか。 記事を読むと鋭い人はピンと来るかもしれないが、 やはり層の薄さが島根県の弱点だと思う。 とんがった人は何人かいるし、 それはそれで貴重なのだが、 それの何倍も「wannabe」がいないとエコシステムが成立しないのではないか と危惧している。 OSSサロンに出席している人が、「偉い人」だけでなくて 実戦投入されている人がどんどん来る/来れるようになると 本物っぽさが増して将来に(もっと)期待が持てるようになるんだけど。 どうでしょう。自分んとこの若い衆..
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 Image13:19 Install memcached on OS X tiger» Suave's Blog
可以直接通过 darwinports 安装,但是版本是1.1.11,比较旧。在官方站上下载最新的1.2.4,自行编译。首先下载 libevent,它是 memcached 的 dependency,我装了 1.3e。 Install libevent: ./configure & make sudo m...
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:58 There was music then there ...» Projectionist
There was music then there was the iPod. There were phones and then there was the iPhone.

Jim Gianopoulos


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:13 Rails应用软件:简单事务管理系统Mystic» 天天红玉世界
简单事务管理系统mystic
  • 说明
    • 软件Mystic安装说明在该软件的根目录下;
    • 普通用户的链接:http://localhost:3000/
      • 自己注册一个用户
    • 技术用户的链接:http://localhost:3000/tech
      • username: tech@test.com
      • password: test
    • 系统管理员的链接:http://localhost:3000/admin
      • username: admin@test.com
      • password: test

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

Tue 15 January, 2008

Click here to bookmark this link.Channel Image13:40 Obie Fernandez: About Rails and Ghettos» Matzにっき
Zed曰く「いいヤツ」であるところのObie Fernandezによる Ghettho発言への「反論」。 辞書的な意味でRailsコミュニティにゲットー的なところは存在しないし、 衰退している様子も見受けられない。事実、彼の著書である 「Rails Way」の売り上げは絶好調で予想を超えるペースで再版を繰り返してるし、 Amazonの全分野100位以内をキープしてる(ってのはすごいことだ)。 で、注目すべき点はここ。 The rant was filled with tons of inside jokes and commentary that really only make sense to other clued-in Ruby people, stuff that comes..
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Mon 14 January, 2008

Click here to bookmark this link.Channel Image20:59 風邪ひいた» Matzにっき
昨日からちょっとおなかが痛かったのだが、 深夜目が覚めたら熱がある(37.4℃)。 おかげで今日は一日中寝ていた。 せっかくの休日なのに。ぐすん。
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 Image09:10 Ancient Food In the Pantry» Joey Gibson's Blog

I got industrious tonight and decided to clean out our pantry. It's been a while and it took a very long time with many trips to the outside trash can. But one item really caught my attention. Watch the video to find out what it was.


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:12 办公软件:Windows系统最流行的RSS免费阅读器FeedDemon» 天天红玉世界

Sun 13 January, 2008

Click here to bookmark this link.Channel Image09:16 My First Seesmic! Woot!» Joey Gibson's Blog

I've had an account on Seesmic for a few weeks now, but just a crappy HP webcam, that didn't work all that well with my Mac. The biggest problem was lack of a mic. So I bought a USB mic last week, which worked OK (but horribly for iChat A/V where the audio feedback made it sound like I was shouting into a canyon). But today, while at the Apple Store, I found Logitech QuickCam Vision MP for Mac and it came home with me. It's much nicer than what I had, and I can replace two USB devices with one.

So, what did I do with it? I recorded the video below. I don't know why the room looks like there's a yellow fog in it.


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

Sat 12 January, 2008

Sources