Blog
[Rails] How to do a 301 redirect
I had to dig a little for this. The answer is simply:
1 2 |
headers["Status"] = "301 Moved Permanently" redirect_to "/" |
Here is the relevant snippet from response.rb
in ActionPack:
1 2 3 4 |
…
OpenACS to Typo
I’m fiddling with an OpenACS lars-blogger to Typo converter, because I need to have my blog running Typo by Monday.
Has anyone done this already?
UPDATE: I completed it, and it turns out it wasn’t t…
Dashboard widget for Rails API
It wasn’t until today that I realized you can point the RDoc Dashboard Widget straight to the Rails API doc. Now i have two RDoc widgets on my dashboard. Handy!
Why take VC money?
Paul Graham: “Most of what the VCs add, acquirers don’t want anyway.” Exactly!
Ain't no such thing as a free lunch? Think again!
On profits and monopolies
Apple: Please make an external keyboard like the laptop ones
Dave Winer: “The keyboard is a bit awkward, wish it were the same layout and size as the keyboard on the iBook.”
Exactly! I have a veritable keyboard graveyard from gone through at least 5 keyboards …
Cloning APIs
Greg Yardley has a great point, when he says:
It’s just good business sense – if you want to kneecap the market leader, you have to reduce switching costs to zero.
It’s true, in an ideal world, people …
NewsFire vs. NetNewsWire
Reason was that NewsFire doesn’t show who posted an item, which is crucia…