After a full day doing exaustive real-world tests, I was surprised to find that the “High-CPU Medium” EC2 instance type is the best value for my work. I have a lot of interesting data to post, but here’s a first simple chart for now
Shorter bars are better. The blue bars are time to complete the task, uncompressing a 55 MB mysql database dump with bunzip2. I’m experimenting with this chart: I stacked the cost on top of the times to give a sort of “cumulative value” result. Full details coming in a followup post.
Web fonts are an interesting mix of technology and intellectual property licensing.
I’m almost surprised that we, as a culture, have managed to pull it off, overcoming all the hurdles. But there are now several companies and methods to use typefaces on websites. I checked out the current options.
I’ve been looking for a new web font
Just having learned that Baskerville is the king of fonts (!), I thought it’d be interesting to try on my two Rails sites (WebLaws.org and OregonLaws.org). Currently they use Helvetica Neue for text, and I feel ambivalent about it. On one hand, it’s a beautiful font. But on the other, it’s the standard font on iOS, and while it’s stylish, it’s not so unique now. It also has problems with readability that I blogged about in detail.
Options I found for inexpensively trying Baskerville on a web site
The trick is Skitch’s flexible “Share” configuration options
I created a free Skitch account and configured sharing to automatically put a “Fullsize image link” on the Mac’s clipboard after the sharing is complete:
It looks like this will work with any of the supported account types. E.g., Webdev and SFTP are both possible and are what I’ll move to eventually so that I have all my images on my own server. But right now, Skitch’s free hosting is fine for me.
Here are some screenshots of the rest of the process, once the sharing is set up. First, immediately after clicking “Share”, there’s a loading progress indicator. Apparently, you have to wait for this to finish.
Then, when done, a superflous Share dialog popup appears, but you can ignore it because we’ve configured Skitch to automatically copy the link to the clipboard:
Finally, just move over to your Github issue and press ⌘V to paste the auto-copied URL:
And that’s it. Pretty sweet.
PS: Some links I found while looking for a solution
Git is powerful, and Github is its killer app. I use them for all my projects. That being said,
Git is more difficult than it ought to be, but until now I couldn’t put my finger on why
I was doing some mundane Linux command line work when I had my flash of insight. I’ve been using Linux for years, but I almost made a typical newbie mistake with the mv command. I wanted to rename a file:
mv /path/to/old_name new_name
Urp! I stopped, because this would not have just renamed the file, but moved it into my current directory as well. And then I recalled the typical mv tutorials which usually explain how the unix filesystem works, and how with that understanding, mv’s behavior makes sense.
In other words, mv combines two conceptual functions into one thing, simply because that’s the underlying implementation.
And I realized that this kind of “implementation leakage” occurs with many git commands. The non plus ultra evidence is the excellent post, Git Reset Demystified by Scott Chacon. It’s about git’s equivalent to svn revert — a very important function, undoing your changes. But even though Scott is very knowledgable about git and even authored the book, Pro Git♢, he
…never strongly understood the command beyond the handful of specific use cases that I needed it for. I knew what the command did, but not really how it was designed to work.
It’s no wonder that ordinary git users don’t fully grasp these commands. In a final unintentional confirmation of my theory about git’s problems, Scott presents this 6×4 table as a learning aide: