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...
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...
2 tags
1 tag
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:
1 tag
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...
4 tags
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
1 tag
1 tag
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...
3 tags
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
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....
2 tags
Heroku's new stack is a pretty big deal →
Srsly.