123
 123

Sat 27 February, 2010

Click here to bookmark this link.Channel Image12:18 I’m Working on My Greek – Hard!» Joey Gibson's Blog
From an interview with Daniel B. Wallace, there is this question and Dr. Wallace’s response Lastly, if there is one piece of advice you could give to someone entering New Testament Greek scholarship, what would it be? Work on your languages hard. Without a solid foundation in Greek and Hebrew—and for doctoral students—German and French and/or Latin, Coptic, [...]
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 Image12:10 重新上路» BlogJava-Tech.Cap
这个blog已经有3年多没有更新了, 这三年太忙了, 做了一些创业方面的项目, 但是最终没能继续下去, 我离开北京, 回到了成都。 重新上路吧

tech.cap 2010-02-27 12:10 发表评论

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

Fri 26 February, 2010

Click here to bookmark this link.Channel Image11:54 升级到Rails 3 Beta» LetRails
安装 gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n gem install rails --pre 这里会遇到一个rack-mount依赖问题,可以通过手动安装0.4.0版的rack-mount解决: sudo gem install rack-mount -v=0.4.0 升级应用 rails_upgrade(http://github.com/rails/rails_upgrade)是Rails官方的Rails3升级辅助插件,它提供了几个Rake任务帮助你轻松完成升级。 1. 执行 rails:upgrade:backup 备份会被Rails 3覆盖的文件,比如:application_controller.rb会被重命名为application_controller.rb.rails2 2. 执行 rake rails:upgrade:routes 生成Rails 3格式的routes.rb,以及rake rails:upgrade:gems生成新的Gemfile 3. 在你的程序目录执行: rails . 注意不要覆盖routes.rb和Gemfile 接下来要做的就是将备份的rails2文件合并到新生成的文件中,再次启动应用,如果幸运的话,你的应用现在已经运行在Rails 3 beta上了,注意检查Log中的Deprecated Warning,并将其替换为Rails 3的方式,关于Rails 3的新特性请参看Release Notes:http://guides.rails.info/3_0_release_notes.html ActionView Rails 3重写了View Helper,并作废了以前的link_to_function, link_to_remote, remote_form_for等AJAX Helper,而改为为link_to, form_for增加:remote => true来实现。 link_to_function(text, function) => link_to(text, ‘#’, function) link_to_remote(text, [...]
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 Image11:33 设计公益产品常犯的错误» Suave's Blog
来自阿育王科技博客的一篇文章:公益产品设计的六个常犯错误 里面说的三个问题非常需要关注: 使用技术来解决文化问题。技术用来解决你在现实中切身体会到的问题,需要深入的参与、体...
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 Image10:20 A Web 2.0 Strategy: 10 Tactics for Success» Suave's Blog
安猪分享了一个关于 web2.0 运营策略的 slide,总结得蛮切中要点的。 有两句话说中了一个 web 2.0 网站成功的重点 simple: can you explain your website on the phone? value: a benefit to the person that make a real differ...
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Thu 25 February, 2010

Click here to bookmark this link.Channel Image17:41 Window management revisited» chris blogs

Two years ago I wrote Thoughts on window management, and in the meantime, I returned to using Linux computers for a really significant part of my digital life. Thus, it was time got pick a window manager again. I think I then tried just about every significant one and lots of unknown forks, experiments and abandoned ones.

Revisiting the ten points, I consider them still all to be valid and applied them with minor tweaks in my current setup.

A screenshot of my cwm setup

I now use the cwm window manager, an OpenBSD fork of calmwm which runs with a few small patches under any Unix. (I wrote an Arch PKGBUILD for it and also keep a Git mirror.)

cwm is a small window manager without many frills or decoration other than a simple border, but it has good and customizable keyboard control, and features just what I need: cwm uses “focus follows mouse” (the one true thing for X11 in my opinion) but does not use “click to raise”. Thus your window setup only changes when you really need it, and due to overlapping you can use your (always) limited screen space fully.

Each window can belong to one cwm group. I defined four groups: terminals, editors, browsers, distraction (e.g. IM, Twitter). By pressing the appropriate keybindings (Super-1 to Super-4), I can quickly toggle display of these windows.

Windows stay at their fixed size and position, though it is easy to maximize them full or vertically if I need it (most run vertically maximized anyway as it’s only 768 pixels). cwm doesn’t save positions, but many do it themselves or are started with appropriate geometry. Thus, spatial memory can be used as applications don’t jump around wildly.

Super-Button1 raises a window, while Super-Button3 lowers it. This is incredibly useful for an operation I call “drill-down”. Just press Super-Button3 a few times where you expect the window until you found it. This and Meta-Tab to switch between the last focused window are my main means of reaching lowered windows.

cwm itself doesn’t have a status bar, and only features a launch menu I rarely use: I wrote a status bar using conky and a launcher with dzen2. The status bar displays useful information on the top right like the time, current networks and my IP address on them, audio volume, CPU temperature, memory, CPU and battery usage as well as the currently playing song. On the top left there’s my launcher, which tries to switch to applications if they already run. I wrote a small script featuring xdotool for this task. There’s also a small dzen in the top right corner than locks my screen when I click on it.

This top bar is visible all the time, except for full-screen when watching a movie.

The structure of my desktop continues inside the applications: Almost everything uses tabs (Firefox, Pidgin, Emacs, URxvt with tmux), and I configured all applications to use Meta-Left/Right for switching tabs. Conformity really pays out here once you have the keybindings in muscle memory. In general, I only have one window open of any kind and use tabs to multiplex them. But when I really need to look at a few things at once, I can just drag out the tab (or copy the tmux session) into a new window. I rarely need other windows than these, most things are done in the shell, Emacs or the browser.

NP: Gang of Four—Natural’s Not In It (Ladytron Remodel)


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

Tue 23 February, 2010

Click here to bookmark this link.Channel Image06:52 Ruby and Rails Conferences 2010» Riding Rails - home

There are an incredible amount of Ruby & Rails conferences coming up in the next 6 months. See below to find one in your neck of the woods.

MountainWest RubyConf

March 11-12 – MountainWest RubyConf in Salt Lake City, UT, USA

Cost: 100 USD

Rails Camp New England

March 12-15 – Rails Camp New England in West Greenwich, RI, USA

Cost: 150 USD

RubyConf India

March 20-21 – RubyConf India in Bangalore, India

Cost: 1000 INR

Scottish Ruby Conference

March 26-27 – Scottish Ruby Conference in Edinburgh, Scotland

Cost: 195 GBP

Ruby Nation

April 9-10 – Ruby Nation in Reston, VA, US

Cost: 259 USD

RailsCamp Canberra

April 16-19 – RailsCamp Canberra in Canberra Australia

Cost: 210 AUD

Great Lakes Ruby Bash

April 17 – Great Lakes Ruby Bash in Lansing, MI, USA

Cost: ?

RubyConf Taiwan

April 25 – RubyConf Taiwan in Taipei, Taiwan

Cost: 400 TWD

ArrrrCamp #3

April 30 – ArrrrCamp #3 in Ghent, Belgium

Cost: Free

Red Dirt RubyConf

May 6-7 – Red Dirt RubyConf in Oklahoma City, OK, USA

Cost: ?

Frozen Rails

May 7 – Frozen Rails in Helsinki, Finland

Cost: 99 EUR

Nordic Ruby

May 21-23 – Nordic Ruby in Gothenburg, Sweden

Cost: ?

GoRuCo

May 22 – GoRuCo in New York, NY

Cost: ?

Euruko

May 29-30 – Euruko in Krakow, Poland

Cost: ?

RailsWayCon

May 31-June 2 – RailsWayCon in Berlin, Germany

Cost: 699 EUR

RailsConf

June 7-10 – RailsConf in Baltimore, MD, USA

Cost: $695

Ruby Midwest

July 16-17 – Ruby Midwest in Kansas City, MO

Cost: $75

RS on Rails

August 21 – RS on Rails in Porto Alegre, Brazil

Cost: R60

Lone Star Ruby Conference

August 26-28 – Lone Star Ruby Conference in Austin, TX, USA

Cost: ?

Ruby Kaigi

August 27-29 – Ruby Kaigi in Tsukuba, Ibaraki, Japan

Cost: ?


If I missed any (or have any information wrong) feel free to leave a comment and I’ll add it to the post. FYI, I’m purposely only showing conferences in the next 6 months. I’ll do another post in 6 months to show additional ones.


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 Image06:52 Next steps for Monkeybars + Rawr» James Britt - Code, Content, Caffiene

As of today I am the admin for the Monkeybars and Rawr projects

I’m taking over from Logan Barnett who has, without a doubt, done a fantastic job with these projects. (And of course big props to David Koontz as well. David and Logan have been the magicians behind Monkeybars and Rawr.)

My immediate plans:

  • Get acquainted with the current project.

The means not just going through the code, but getting more familiar with Kenai

These are forks of rawr and Monkeybars, created to make it easier for me to pursue certain design, packaging, and business goals. It worked well for me, but it’s less useful overall to have multiple projects that are kinda sorta the same.

I don’t want to impulsively just merge in the features that distinguish my forks, but I know that at least some of them have good use cases and should be made regular features.

However, I hope to get some feedback from current rawr and Monkeybars users to see how best to go about things.

It is quite likely that I will move things off of Kenai. I’ve never really liked the site; the mailing list has wonky navigation, and I’d prefer to just use github for the repo. Bug tracking is another matter. Github’s issue tracking is OK, but not terribly robust. Pivotal Tracker may be a better choice.

But there may be features or options in Kenai that I’m unaware of, especially regarding the integration of tools, so I need to do a bit of homework.

If you are a user of Monkeybars or Rawr let me know your thoughts on the Kenai services.


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 Image06:52 Lymbyc Systym playing in Tempe, Jan 13» James Britt - Code, Content, Caffiene

Even if they might not still be a local band, Lymbyc Systym make great noises. They’re playing in Tempe on January 13, at the Sail Inn. Well worth checking out.

Here’s a sampling of their stuff, via Grooveshark:

<object height='238' width='221'> <param></param> <param></param> <param></param> <param></param> <embed src='http://listen.grooveshark.com/widget.swf' height='238' width='221'></embed></object>
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 Image06:52 José Valim and Carl Lerche joins Rails core» Riding Rails - home

Please give a warm welcome to José Valim and Carl Lerche as they both join the Rails core team. Both guys have been key contributors to the Rails 3 development and both have made it into the top 10 of all-time Rails contributors. It’s an honor to have them on the team!


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

Sun 21 February, 2010

Click here to bookmark this link.Channel Image08:36 A Comma Can Make Quite a Difference» Joey Gibson's Blog
As I said, I am reading the book of Luke in Greek as a Lenten project. At the urging of a friend, I have decided to write down my translation, which I will post here when completed. So today, I started working on the verses I’d already read, but had not written down. As I [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl

Fri 19 February, 2010

Click here to bookmark this link.Channel Image22:36 My Lenten Project: Reading Luke In Greek» Joey Gibson's Blog
In 2007, I announced that I was going to try to translate all of the book of Jude from Greek into English as a Lenten project. It did not go well. I realized pretty quickly that my skills were not at a point where I could do the work, and so I quietly stopped working [...]
add to del.icio.us add to del.icio.us. look up in del.icio.us.   add to furl.net add to furl
Sources