Archive for April, 2009

Linky Goodness – 4/29/2009

Wednesday, April 29th, 2009

Ok, time to get back to bringing the linky goodness. I’m pulling all these links from what I see on Serendeputy. If I’m missing any good sources, please drop me a line and let me know.

StyleFeeder’s Execs on how to do a lot with a little
Interesting set of articles about how StyleFeeder is getting stuff done.

Twitter is being smart about trademark law
Startups are more likely to build on your platform if you don’t try to sue them out of existence.

If file-sharing is piracy, what about aggregators?
I (obviously) think that aggregators create a lot of value for readers and publishers. But, others have different perspectives.

12 excellent examples of lazy registration
I’m building out the registration system for Serendeputy right now. I’m taking these concepts of lazy registration to heart. I want to minimize the barriers to Jen’s engagement with the site.

Cash vanishes from merchants’ accounts
This sucks. Some of the merchant-services companies are aggressively holding back money from entrepreneurs. I’m going to have to review my accounts to make sure this doesn’t happen to me.

How to prevent browsers from caching a page in Rails

Tuesday, April 14th, 2009

This took me forever to figure out, so I hope I’ll be able to save someone a few hours of annoyance someday.

Serendeputy is always recalculating, and I needed to make sure that the browsers wouldn’t cache the page when someone clicked off and then hit the back button. This is how I was able to do it.


..in application_controller.rb..
  before_filter :set_cache_buster
  def set_cache_buster
    response.headers["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate"
    response.headers["Pragma"] = "no-cache"
    response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
  end

I just tested this out, and it works on Safari and Firefox on the Mac, and IE7, Firefox and Chrome on the PC.

Hope this helps.

Where am I?

Thursday, April 9th, 2009

Ahh, spring is here. The Red Sox have opened up, the tulips are coming out of the garden, and I’m making good progress on Serendeputy. We (believe it or not) are getting close.

I’ve built the servers out, and they’re up and running now, burning in and breaking in fun new ways. I knew nothing about systems administration, so it’s been a bit of a journey from bare Linux installs to fully-functioning (and even reasonably snappy) servers. My librarian application has been running for a couple of months, the deputy and memcached servers for a couple of weeks. I’m working on the rails application now, and futzing around with jquery. I’m on version 0.5 of the application, up to check-in 913 in Subversion, and up to Bug 171 in FogBugz.

I’m going to launch a private-invite beta starting with version 0.7. 0.8 will be the public beta, and I hope to be at 1.0 within a few months. After that, the world.

Thanks for keeping in touch. I’ll write more soon. (Especially about the imploding newspaper industry. I’m not an insider anymore, but I still know how things work. It’s as if the NAA has turned into a giant suicide pact.)