Skip to content

Category Archives: Software

iPad Promotes Consumption Instead of Hacking?

Cory Doctorow’s critique of the iPad is a sweeping look at what open technologies mean for the next generation of hackers:

The way you improve your iPad isn’t to figure out how it works and making it better. The way you improve the iPad is to buy iApps. Buying an iPad for your kids isn’t a [...]

Children in Git

There are many ways to name commits in git. For example:
$ git show HEAD^ # the parent of the HEAD commit
This made me hope that there was an analog for finding an immediate child. I did not see any evidence of this in the docs. So I went on the git IRC [...]

REST Fortune Cookie

Today is my lucky day. I had a fortune cookie with this gem inside: “Rest has a peaceful effect on your physical and emotional health.”
I interpret this as a message from Roy Fielding: “REST has a peaceful effect on your physical and emotional health.”

Broken == in MongoMapper

I am hoping to bring a few more eyes to an equality bug I found in MongoMapper:

p1 = Post.new
p2 = p1.dup
p1 == p2 # => true
# so far so good
p2.title = ‘changed’
p1 == p2 # => false
# uh-oh!

If you want to see chaos, please join us for a spirited mailing list discussion. Despite my best [...]

Merb to Rails Transition

I found myself wondering about the planned transition from Merb 1.X to Rails 3. I did a little reading and research and would like to share the best information that I’ve found.
On June 28, Yehuda Katz said “we are ABSOLUTELY still planning on an easy transition path” [from Merb 1.X to Rails 3] in [...]

HAppS-HTTP Not Looking Good

Just a few minutes ago, I wanted to take a look at HAppS, a Web server written in Haskell. I tried checking out HAppS-HTTP using the directions on the front page:
darcs get –partial –tag=0.9.2 http://happs.org/repos/HAppS-HTTP
Unfortunately, this failed with this error message:

darcs: failed to read patch:
Tue Dec 18 14:22:39 EST 2007 alex@happs.org
tagged [...]

On Philosophical Talks at Technical Conferences

Chad Fowler’s talk at Ruby Nation titled The Passionate Programmer has got me thinking. After writing a review over at SpeakerRate, I decided that it would be better to share my thoughts here.
I have mixed feelings about Chad’s presentation. On one hand, discussions along the lines of career development and life decisions are needed in [...]

Fearless Git Merging

I just read a cool idea from the Git Internals PDF by Scott Chacon on page 33. If you don’t know how well a merge might work, just create a new branch and try the merge there. If it works, it will be easy enough to merge into your master branch as a [...]

API != Web protocol

According to a press release from the DC government announcing the new DC Government Open APIs:
“An API is a web protocol that gives programmers anywhere access to data on a web server to build custom applications using that data.”
Not quite. An API is not the same thing as a Web protocol. An API [...]

Tracking Remote Git Branches

Remote then Local
It is easy to setup a local branch (we’ll call it zzz here) to track a pre-existing remote branch:

$ git –track branch zzz origin/zzz

Alternately, if you use the branch.autosetupmerge setting in your git config to enable automatic branch tracking [1], the command is even shorter:

$ git branch zzz origin/zzz

Local then Remote (reverse)
This much [...]