Mon 10 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
Man nehme:
- Den Text von “Stille Nacht”
- Einen Duden
und ersetze jedes Nomen durch eines der darauffolgenden Nomen im Duden (in lexikalischer Reihenfolge natürlich) und passe die Grammatik minimalinvasiv an:
Stiller Nachteil
1. Stiller Nachteil! Heil’ger Nachteil!
Alles schläft; einsam wacht
Nur die traute heilige Pace.
Holder Knack im lockigten Haarlem,
Schlafe in himmlischem Rührei!
Schlafe in himmlischem Ruhrei!2. Stiller Nachteil! Heil’ger Nachteil!
Gotterbarmens Soiree, o wie lacht
Lieb’ aus deiner göttlichen Mundart,
Da uns schlägt der rettende Stunk.
Jet in deinem Gebüsch!
Jet in deinem Gebüsch!6. Stiller Nachteil! Heil’ger Nachteil!
Hisbollah erst kundgemacht
Durch Engels Hallenbad,
Tönt es laut bei Fernfahrern und Näharbeit:
“Jet der Rettich ist da!”
“Jet der Rettich ist da!”
Wem diese postmoderne Variante nicht gefällt, der kann ja auch gern die amerikanisch-betonte singen:
Shteal_lay Nahcht! Hi_lee_gay Nahcht!
Ah_lays shlayft; ine_sahm wahcht
Noor dahs trou_tay hi_lee_gay Paar.
Hole_dare Knahb’ eem low_kig_ten Haar,
Shlah_fay in him_lish_air Roo!
Shlah_fay in him_lish_air Roo!
Noch ein kleiner Weihnachtsclip: JC Penney – Aviator.
NP: Shriekback—Amaryllis in the Sprawl
add to del.icio.us. look up in del.icio.us.
add to furlSun 09 December, 2007

At todays BarCamp, Derek gave a great preso about [Test|Behavior] Driven Development. The talk included comments and observations on how to ensure that your code is not only correct, but maintainable. He mentioned flog, a Ruby tool that analyzes your code, applies some heuristics, and reports on how baroque and troublesome your code may be.
A high flog score typically means that someone has been too clever for anyone’s good, and it brought to mind a quote from Brian Kernighan (which I first heard about from David Koontz):
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it?
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
I'm so happy! My wife is taking a ginormous step into the technology age: she's letting me get her an iPod Nano for Christmas. In fact, she's not just "letting" me get her the iPod. No, she actually chose the iPod over jewelry! This is huge news, people. You have no idea. She picked out the red one, which has the added bonus of helping people in Africa. Or something....
add to del.icio.us. look up in del.icio.us.
add to furl
As I said yesterday, I've ordered my iPhone. This morning I had an email from Apple saying it was on its way, along with a FedEx tracking number. About 10:00 this morning, this is what FedEx told me:
There may be a card in the box saying "Designed by Apple in California" but it's fairly obvious that Apple's products are "Built and Packaged for Apple in China." But hey, as long as it gets here quickly, and it works, I don't care.
I ended up at the Mall of Georgia today and to my surprised, there's now an Apple store there. Had I known that, I wouldn't have ordered the iPhone online. Oh, well. What was cool was that I actually got to touch one for the first time. Wow. They had five or six on a display table and they were all online and working. I was able to run Safari and play around with the multi-touch screen and the onscreen keyboard. It will take me a little bit of practice to type well with that keyboard, but I'm sure it will come to me. I'm looking forward to Twittering via SMS message like all the cool kids do.
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 furlSat 08 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
BarCamp is an ad-hoc un-conference born from the desire for people to share and learn in an open environment. It is an intense event with discussions, demos and interaction from attendees. All attendees must give a demo, a session, or help with one.
Anyone with something to contribute or with the desire to learn is welcome and invited to join.
When you come, be prepared to share with barcampers. When you leave, be prepared to share it with the world.
It’s being held at UAT on Baseline Rd, starting at ~9am.
See http://barcamp.org/BarCampPhoenix for additional details
Here’s what’s needed to ensure as rockin’ a BarCamp as last year:
1. You!
If you're thinking of attending BarCamp Phoenix 2007 (and,
trust me, you will cry yourself to sleep for weeks afterwards
if you miss this) please add your name to the wiki:
http://barcamp.org/BarCampPhoenix
Having some rough idea of attendance will help ensure
a smooth event
2. You!
In the end, what counts most is an active and enthusiastic crowd.
Not only will you have fun and learn stuff, but you'll be helping
to build a stronger, more vibrant Phoenix tech community.
Don’t miss BarCamp Phoenix 2007
http://barcamp.org/BarCampPhoenix
add to del.icio.us. look up in del.icio.us.
add to furl
- 使用说明
- 进入网页 http://www.pdfonline.com/ 注册并且登陆;
- 输入你的博客网站地址;
- 你的博客页面就成为了pdf文件;
add to del.icio.us. look up in del.icio.us.
add to furl
I was watching the press conference on NASA TV tonight discussing the latest delay on STS-122 that was supposed to have launched yesterday, but now looks like it will launch on Sunday. During the questions from reporters, one asked how many delays could they endure before it impacted the next mission. One of the men on the panel said that basically they had plenty of time before the Feb 14 launch of the next mission. But he also said, "Of course, you can't launch the next one until this one gets back" (paraphrase). Really? Can NASA only track one spacecraft at a time, or are they just being cautious?
I really wish our space program were father along than it is. We just seem to keep doing the same things, and not really expanding the program. It's very frustrating. If they really can't track more than one craft at a time, then it seems like doing anything more than poking along like we are now, running a delivery service for the space station, is all our space program is going to be for a while.
add to del.icio.us. look up in del.icio.us.
add to furl
Yes, yes, I've been awfully quiet here lately. But let's blame that on the long crunch session for Rails 2.0 and call it cheers, ye? It's out, gawd dammit. Finally. After about a year in development and oh-so-many we're-almost-there's. Feels good, does it.
Now I just have to put the final hand on the new screencast for Rails. The current one is awfully stale.
So dig in and get it: Rails 2.0.
add to del.icio.us. look up in del.icio.us.
add to furl
“ Attention equals love. What are you attending to? ”
Damon Clinkscales
add to del.icio.us. look up in del.icio.us.
add to furl
Rails core
add to del.icio.us. look up in del.icio.us.
add to furl
Rails 2.0 is finally finished after about a year in the making. This is a fantastic release that’s absolutely stuffed with great new features, loads of fixes, and an incredible amount of polish. We’ve even taken a fair bit of cruft out to make the whole package more coherent and lean.
What a milestone for Ruby on Rails as well. I’ve personally been working on this framework for about four and a half years and we have contributors who’ve been around for almost as long as well. It’s really satisfying to see how far we’ve come in that period of time. That we’ve proven the initial hype worthy, that we’ve been able to stick with it and continue to push the envelope.
Before jumping into the breakdown of features, I’d just like to extend my deep gratitude towards everyone who helped make this release possible. From the stable of merry men in the Rails core to the hundreds of contributors who got a patch applied to everyone who participated in the community over the year. This release is a triumph for large-scale open source development and you can all be mighty proud of the role you played. Cheers!
With the touchy-feely stuff out of the way, let’s dig into the feast and look at just a sliver of what’s new:
add to del.icio.us. look up in del.icio.us.
add to furlFri 07 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
As an Advent project this year, I decided to translate the two Nativity stories in the New Testament, Luke 2:1 - 20 and Matthew 1:18 - 2:12, from Greek into English. Yes, it's been done a thousand times already, but I wanted some real translation practice. And since my Lenten translation project didn't end so well, I decided not to mention this project, until it was well underway. As of today, I've translated Luke 2:1-16. At this rate, I should be finished before Christmas.
Yesterday I dealt with the whole ἐυδοκία vs. ἐυδοκίας issue in Luke 2:14, but today I ran across something interesting in Luke 2:16. The Greek for this verse is
καὶ ἦλθαν σπεύσαντες καὶ ἀνεῦραν τήν τε Μαριὰμ καὶ τὸν Ἰωσὴφ καὶ τὸ βρέφος κείμενον ἐν τῇ φάτνῃwhich is translated essentially the same in most translations. The ESV says
And they went with haste and found Mary and Joseph, and the baby lying in a manger.while the KJV says
And they came with haste, and found Mary, and Joseph, and the babe lying in a manger.But the Greek word that is in bold, ἀνεῦραν, is the 3rd person aorist plural form of ἀνευρίσκω, which seems to mean a bit more than simply "found."
The Greek New Testament from the United Bible Societies, version 4 has a lexicon that defines this word as
find (by searching)Thayer's Greek-English Lexicon of the New Testament defines it as
to find out by searchand Mounce's Analytical Lexicon to the Greek New Testament defines it in the strongest terms
to find by dilligent search
I think it is interesting that this word seems to imply that some real effort had been applied before the finding, yet no translation makes a note of that. Maybe I'm reading more into this word than I should, but if you used one of these definitions, then it makes it sound like the shepherds had to expend a bit more energy than simply walking to Bethlehem and "finding" the holy family. I asked a friend what he thought and he suggested "discovered" instead of "found." I think I like that; it conveys a bit more work on the part of the shepherds. But it still doesn't really point out their efforts to find them. What do you think? Have I read too much into this word?
add to del.icio.us. look up in del.icio.us.
add to furl
I've been lusting after the iPhone ever since it came out. Now I'm a-gettin' one for Christmas. I placed the order about 5 minutes ago. Oh, yeah. I can't wait. After running some numbers, I discovered that if Tammy and I both switched to AT&T, the family plan would only cost us $20 extra per month than what we were paying with our ancient calling plan with Verizon. That was the final piece of the puzzle that has allowed me to get the iPhone.
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
2. Zoology Permanently attached or fixed; not free-moving: a sessile barnacle.
add to del.icio.us. look up in del.icio.us.
add to furlThu 06 December, 2007

add to del.icio.us. look up in del.icio.us.
add to furlWed 05 December, 2007

- Python library for generating color wheels
A great way of generating color palettes programmatically. Written in Python
add to del.icio.us. look up in del.icio.us.
add to furl
- 相关链接
- 首页链接:http://www.google.com/experimental/#GoogleSuggestBeta
- 有趣链接:
http://www.google.com/search?q=ruby&esrch=BetaShortcuts
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
“ Any sufficiently advanced incompetence is indistinguishable from malice. ”
Grey’s Law
add to del.icio.us. look up in del.icio.us.
add to furl

- 说明
- PDM 是一款十分重要的Java语言的软件静态代码分析工具;
- 上图CPD(Copy/Paste Detector)工具是PDM的一种部分,也可以分析Ruby语言的重复代码;
- 网络使用链接:这里
- PDM工具也可以在Eclipse上作为插件使用;
- Eclipse URL:http://pmd.sf.net/eclipse
- Finding copy/pasted code in a Rails app
add to del.icio.us. look up in del.icio.us.
add to furl
Multi-view development is a big deal in Rails 2.0. We’ve made it much simpler to allow the same action to serve many different formats. From HTML to XML to JSON to RSS and ATOM to CSV to whatever.
But did you know that you can use the same multi-view system to trout out different flavors of the same basic types? Say, give iPhone users a custom HTML interface while serving regular HTML users with the standard feast.
Slash Dot Dash teaches you how to do exactly that: Give a Rails 2.0 application an iPhone UI.
add to del.icio.us. look up in del.icio.us.
add to furlTue 04 December, 2007

Works with the latest changes to Reddit.
Local copy:
There was a suggestion in the comments on User Scripts about auto-downmodding blocked articles. I kind of like the idea. Does anyone have any opinions on that? Comments are broken at the moment, but feel free to email me.
add to del.icio.us. look up in del.icio.us.
add to furl
Railscasts.com is running a special series on what’s new in Rails 2.0. They’ve been showing off how to simplify views, how to usethe new foxy fixtures, and how to use HTTP authentication. All great stuff. And they’re promising there’s more to come. Keep it up.
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 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
Ruby语言:在Windows XP下安装RMagick
- 前提条件
安装软件GnuWin32(使用下面命令一定需要),但是不是必须的;
如何安装命令行7zip解压软件(使用下面命令一定需要),但是不是必须的。 - 安装ImageMagick命令(只要下载下面这个文件就可以了,安装过程一切默认)
wget http://rubyforge.org/frs/download.php/26231/RMagick-1.15.9_IM-6.3.5-8-Q8_prod.zip
7za x RMagick-1.15.9_IM-6.3.5-8-Q8_prod.zip
cd RMagick-1.15.9_IM-6.3.5-8-Q8_prod
start ImageMagick-6.3.5-8-Q8-windows-dll.exe - 设置环境变量(把安装过程中自动增加到PATH的路径用IMAGEMAGICK_HOME代替,这一步是可选的,但是你已经安装过一次IMAGEMAGICK_HOME现在应该存在两个类似的路径)
SET IMAGEMAGICK_HOME=d:\opt\ImageMagick-6.3.5-Q8
SET PATH=%PATH%;%IMAGEMAGICK_HOME% - 检查ImageMagick安装结果(重新打开系统终端)
convert --list - 安装RMagick命令(在上面下载的文件中)
gem install rmagick-1.15.9-win32.gem --local - 检查RMagick安装结果
irb
require 'rmagick' - 参考资料
add to del.icio.us. look up in del.icio.us.
add to furlMon 03 December, 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





