This might be old news to you, but new to me:

In order to solve this problem, we decided to try to understand pages by executing JavaScript. It’s hard to do that at the scale of the current web, but we decided that it’s worth it. We have been gradually improving how we do this for some time. In the past few months, our indexing system has been rendering a substantial number of web pages more like an average user’s browser with JavaScript turned on.

I just ran into indexing of JavaScript that was embedded inside an iFrame. I figured no way they could index that, I was wrong.

Typekit Typography Lessons:

Lessons walk through specific topics or methods in the practice of typography, with a clear objective or takeaway skill that can be immediately applied to design work.

A great resource for typography, one of things in web development that I struggle to get exactly right.

A writer with no head for business isn’t going to make a living with the words they write, no matter how glorious, how well-crafted, how extraordinary they are, outside an incredible run of good luck.

— Kameron Hurley on Writing as a business

This applies to developers as well. Even if you have no aspirations to start your own business, knowing about options, employee contracts, personal finance, and retirement would do you well.

The Wardrobe Diaries

I have been working on building a new version of Wardrobe, my little blogging app, and development has stalled as I’ve been swamped with other things. I have thought about it for a few months now and I’ve decided I’m going to do a complete rewrite. Lots of new features have been added to Laravel and with 4.3 on the horizon I think now would be a good time to revisit some of my original goals, and also add new features. Instead of just building it and releasing the finished product I want to do something a little different. I’m going to journal the entire process on this site – from blank screen until completion. Continue reading “The Wardrobe Diaries”

Pluck The Weeds In Your Code

Back in the spring, as I was walking back from the mailbox I noticed a tiny little green weed inside a purple bush. The bush hadn’t bloomed yet and was still bare from the winter. I briefly thought about going and pulling the weed, but I kept thinking:

  • I have 10,000 other things I need to do
  • It will still be their tomorrow
  • When the bush blooms it will block out the sun, and without sun it will die.

The third thought was partially right. The bush bloomed and the weed seemed to miraculously be gone. Out of sight, out of mind, they say.

Fast forward to the fall and I’m making my same trip to the mailbox and this time I see a huge green leaf coming out of the top of the bush. The little weed that would have taken 30 seconds to pull has now turned into a massive tree like structure.

I tug and I tug, it’s impossible to remove, the roots from both are all intertwined.

Now pretend that weed is a piece of nasty weird code that you come across in your app. Don’t be lazy, go improve it before it grows out of control.

This post is an excerpt from my Laravel News digest. A weekly email about the Laravel framework.