June 2011
20 posts
7 tags
Designers should not use IDs when writing HTML/CSS...
I just had a little chat with Zatch Sharpie about how designers should write HTML/CSS. It’s my contention that designers should never use IDs.  Ever.  Classes are for designers to style things.  IDs are for developers who are writing JS to interact with specific elements.  Zatch had never heard this opinion before.  In fact he had heard the contrary and retorted with the classic...
Jun 29th
2 notes
5 tags
I love fragment caching in Rails
Phil Karlton said the only difficult things in software development were cache expiration and naming things. While this statement can be debated, nobody can argue that these two things are extremely difficult (and for the record, I tend to agree with Phil).  This post is about the first one: caching and the expiration of that cache. While caching can become a headache as the data model gets more...
Jun 29th
43 notes
2 tags
Jun 17th
12 notes
1 tag
Jun 16th
9 notes
5 tags
A great funding presentation from Mark Suster
EDIT: I’m sorry about the weird whitespace in this post.  Tumblr or DocStoc insists on injecting some iframe that I can’t get rid of.  #nerdrage. I really like this guy:
Jun 16th
12 notes
Jun 16th
1 note
1 tag
Jun 14th
Jun 12th
7 tags
The 'Cache-Control' header is your friend on...
FourthSegment has a bunch of static pages that were loading too slowly. We hadn’t really put much thought into caching, so I thought I’d spend an hour speeding things up. Here’s what I came up with. I added this method to ApplicationController to be used as a before_filter: This tells Heroku’s Varnish layer to cache the content. The ab results testing out the homepage...
Jun 11th
13 notes
Jun 10th
7,533 notes
Jun 9th
4 tags
Jun 8th
7 notes
5 tags
normalize.css: A neat take on CSS resets →
Upon further review, you kinda wonder why this was never the way reset.css was built to begin with
Jun 8th
21 notes
1 tag
Jun 5th
4 notes
1 tag
Jun 4th
5 notes
3 tags
How to run a startup (Or why I just got a man...
 Go read this right now.  Yeah. We roll out changes to the site every day at 11 a.m…. After we launch a new feature, I keep a close eye on how many people are using it. If it’s unpopular, we’ll discontinue it and try something else. Every feature has some maintenance cost, and having fewer features lets us focus on the ones we care about and make sure they work very well. For...
Jun 4th
4 notes
3 tags
Jun 3rd
2 notes
4 tags
Google Transparency Report
This is SUPER cool.  Google built a tool so anybody can see how much traffic any country is sending to Google’s properties.  Check out when Egypt went bonkers back in late Jan/early Feb Super cool.  Check it out on your own
Jun 3rd
3 notes
6 tags
My final gripe w/ Heroku has been solved: Release...
Anyone that has maintained a “fer realz” web app knows that the release management is nothing to be taken lightly. The common workflow for deploying goes something like this: Qualify that master is ready to be deployed Cut a release branch from master Deploy that branch to production Days and weeks will go by, and you will continue to advance master with new feature and bug fixes....
Jun 2nd
6 notes
2 tags
Heroku's new stack is a pretty big deal →
Srsly.
Jun 1st