New project!
Finally decided on a website project – Money Mouth. (Currently just a placeholder page).
When complete, it will be a “betting pool” application (for fake money, of course!). Basically, users can create pools with several options that others can place bets on, and the total pool is divided among those selecting the winning option. Pools can be about anything and everything, and will likely be community regulated (for example, creating a popular pool will net you some of the winnings; and falsifying the winning option will result in you getting a bad rep).
If you have any cool ideas around this project I’d love to hear them!
Wednesday, November 4th, 2009 | Posted in Code, Intarwebs, Money Mouth | No Comments »
Yarrr!
Pirates!
It’s been a while since I made a post about piracy and my thoughts on the subject, and it’s a subject I have some pretty strong opinions about, so here goes.
I am firmly of the belief that the large production and distribution companies that are getting riled up the most about piracy are either completely out of touch, or are approaching the topic purely from a standpoint of minimising financial loss (not directly reducing piracy per se), neither of which should be surprising. Unfortunately the end result of their actions is that they have created something of a “war” between the corporations and the pirates, as it were. Allow me to elaborate. There are a few key factors I see as being major contributors to the current situation. I believe that in many ways, these have only served to worsen piracy, instead of the alleged end goal of reducing it.
This is going to be a long post, so… (more…)
Tuesday, October 27th, 2009 | Posted in Intarwebs | No Comments »
Project “writer’s” block
So I’ve recently been trying to think of a good idea for a pet website project, and drawing a complete blank.
I’m looking for a simple concept that will be effective and clever, but hasn’t already been totally overdone. Preferably with a social aspect to it. I’ve been thinking about this for a good few weeks, and still haven’t come up with anything worthwhile. Ideas welcome.
Monday, October 12th, 2009 | Posted in Boredom, Code, Intarwebs | No Comments »
@font-face
I’ve recently been playing around with yet another new theme for tom.net.nz. Said theme will be extremely minimal, with no graphics, and only uses colour, layout and typography to be attractive and readable. As part of exploring the typography, I’ve been experimenting with ways to get custom fonts into all parts of the design.
Of course, I’m well familiar with dynamic text-replacement options. However, these are typically only suitable for titles, and not large amounts of body text, as rendering large swathes of text quickly becomes expensive. And so I started exploring @font-face. This is a relatively new CSS technique that involves linking to an actual font file on the internet somewhere, and letting the browser handle rendering of text into that font family. A few things I’ve learnt through this exploration:
- The particular font I chose to use (OpenType format) did not render at all in IE8 or Chrome3. This page details support for @font-face. It should be enabled by default in Chrome soon, but I will need to create custom CSS and a custom font file for IE8 if I wish to get it to render. Due to lack of support from IE and Chrome, only about 60% of people visiting my pages would actually be able to see the custom body font if I was to switch it on tomorrow.
- Rendering is entirely up to the browser. This means that text (as usual) looks completely different in Firefox and Safari. (Click the browser names for a screenshot snippet.) This is related to the way that the two browsers handle subpixel rendering, and it’s debatable which is “better”. The point is, they are quite different. Although of course using standard fonts they would still be different.
- One caveat of the browser needing to download the font, is that there can be a flicker on page load between the page loading, and the font being downloaded, and the page being subsequently re-rendered. This of course is not experienced on the average website, where built-in fonts are used. This effect can create a detrimental browsing experience. Note that once the font has been downloaded the first time, it is typically cached, and subsequent page loads do not suffer this flicker.
- While TrueType fonts are supported by both Firefox and Safari, I found that using one did not make for a nice result. In fact, using a TrueType font made for extremely poor subpixel rendering, and the results from both Firefox and Safari are indiscernable. I did not have a chance to test in another operating system, but I believe that both browsers may be falling back to the Windows subsystem to render these TrueType fonts, due to the negligible differences in rendering.
As a side note, I elected to use Cufon for text-replacement in titles and headings. If all goes well, I may be deploying this new theme in a week or two!
Monday, October 5th, 2009 | Posted in Intarwebs | No Comments »
sIFR, Redux
Twitch.
If you’re going to use any sort of scripted text replacement, for heaven’s sake, only use it where you need to use it (i.e. on dynamically generated text). The above page manages to get it right for the top logo and the footer text, but that’s about it. Mundane, static text such as “Author”, “Recent Blog Posts”, and “Topics” all get the sIFR treatment. And this is supposed to be a “design blog”. Kill me now.
Thursday, September 10th, 2009 | Posted in Intarwebs | No Comments »
Tom is a 25 year-old software engineer currently based in Seattle, Washington. This is his personal blog, and views do not reflect those of his employer. Click