You probably have already noticed that on websites like Product Hunt, GIF images get much more attention than static logos. Recently, when I submitted Indie Sumo to Product Hunt, I also decided to create a simple GIF animation for my submission.
It is very easy to get started with HTTP caching in Rails, but there are a few small things you need to watch out for. Handling layout changes is one of those things.
When declaring a one-to-many association, invalidating caches in Rails is mostly as simple as using the touch parameter1: I’m using the term “invalidating caches” in a very loose sense here. Updating timestamps on an object doesn’t directly invalidate a cache, but as Rails by default looks at the timestamp of an object to check if it’s stale, updating timestamps generally “invalidates caches,”…
With my last, short-lived startup I got invited to take part in an elevator pitch competition. The rules were that each company had three minutes to pitch, and then we would get a few questions from the judges.
It’s official, having used Heroku for all my Rails projects so far spoiled me rotten. After receiving some AWS credits thanks to a pitch competition, I decided to deploy my latest project on Elastic Beanstalk (AWS’ Heroku competitor), and all I have to say is that I miss Heroku.
Today, I got really irritated at something, and I knew that realistically it was not a big deal, that it was not worth being irritated for more than a few minutes. But I just felt I was treated unfairly, and I wanted things to be fair.
You have a startup idea, you convinced a friend to join you (or you’re going solo), you write a short document explaining the idea and how you’re going to make money. What’s the next step? Should you look for seed funding or should you bootstrap?
At one point in my programming career, I was pretty obsessed with design patterns. I wanted to be a great “software developer,” I wanted to write “perfect code.” And I thought, if only I knew design patterns, I would be able to write perfect code right from the get go.