Replace Wordpress's use of single quotes in HTML

This commit is contained in:
Wesley Moore 2010-03-15 07:33:10 +11:00
parent c22cc513ca
commit 296c0d0db5
13 changed files with 17 additions and 17 deletions

View file

@ -1,4 +1,4 @@
<a href='http://xkcd.com/426/'><img src="/images/2008/05/geohashing-resized.png" alt="Geohashing xkcd comic" title="geohashing-resized" width="400" height="223" class="aligncenter size-full wp-image-24" /></a>
<a href="http://xkcd.com/426/"><img src="/images/2008/05/geohashing-resized.png" alt="Geohashing xkcd comic" title="geohashing-resized" width="400" height="223" class="aligncenter size-full wp-image-24" /></a>
Randall Munroe proposed the awesomely geeky idea of geohashing via the xkcd <a href="http://xkcd.com/426/">comic</a> and <a href="http://blag.xkcd.com/2008/05/21/geohashing/">blag</a> recently. The idea basically involves using the MD5 hash of a date combined with the opening value of the Dow Jones Index for that date to derive a latitude and longitude relative to a (generally your own) location.

View file

@ -11,15 +11,15 @@ Its definitely the best phone I've had. Part of that is due to the tight integra
The on screen keyboard is pretty much as described. You have to give it time to get the hang of it and you have to trust it. If you're typing a word that would be in the English dictionary you're best to keep on typing even if the word is way off. By the time you get to pressing space its usually selected the right word, which is selected automatically upon space. Two irritations with typing though. Its less likely to get shorter word right, particularly when there's multiple valid options. There's no way that I'm aware of to get a list of possibilities and choose the one you want. Of course being a small word means its not hard to fix and if you type it correctly in the first place then it isn't a problem at all. The other minor annoyance is when you get to the last word in a sentence that is mis-typed with a correct suggestion it appears the only way to accept it is to press space (and then delete the space) or grab a full stop.
<!--more-->
<a href='/images/2008/07/img_0012.png' class="alignright"><img src="/images/2008/07/img_0012-200x300.png" alt="Byline" title="img_0012" width="200" height="300" class="alignnone size-medium wp-image-48" /></a>I haven't missed MMS at all, especially with a decent email client built in that can talk to Gmail via IMAP and send photos to flickr that way.
<a href="/images/2008/07/img_0012.png" class="alignright"><img src="/images/2008/07/img_0012-200x300.png" alt="Byline" title="img_0012" width="200" height="300" class="alignnone size-medium wp-image-48" /></a>I haven't missed MMS at all, especially with a decent email client built in that can talk to Gmail via IMAP and send photos to flickr that way.
I have missed Todo functionality. I have no idea why Apple have not got this syncing. The support is there in iSync and todos sync with my old phone (Nokia 6280) just fine. I'm hoping that its one of these things that will make it eventually. There's two reasons I miss todo, one to track things to be done, the other is for reminders for things that don't have a duration (which can be put in as calendar entries). There is no way to do reminders without a duration at the moment. Having said that the calendar functionality is comprehensive. It supports multiple calendars, full editing, meeting acceptance and basically anything you can do on the desktop.
<a href='/images/2008/07/img_0019.png' class="alignleft clear"><img src="/images/2008/07/img_0019-200x300.png" alt="Twinkle" title="img_0019" width="200" height="300" class="alignnone size-medium wp-image-55" /></a>Another annoyance surrounds SMS. When on silent you only get a single vibration on new message, which is easily missed. My old phone did three, which was better. Also when you get an SMS my old phone would show an envelope on the black and white standby screen. With the iPhone you have to wake it up to see if you've got a message after the display goes back off.
<a href="/images/2008/07/img_0019.png" class="alignleft clear"><img src="/images/2008/07/img_0019-200x300.png" alt="Twinkle" title="img_0019" width="200" height="300" class="alignnone size-medium wp-image-55" /></a>Another annoyance surrounds SMS. When on silent you only get a single vibration on new message, which is easily missed. My old phone did three, which was better. Also when you get an SMS my old phone would show an envelope on the black and white standby screen. With the iPhone you have to wake it up to see if you've got a message after the display goes back off.
The AppStore is great, some of the apps are very well done. I'm really liking <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284946773&mt=8">Byline</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284967867&mt=8">Twinkle</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284919489&mt=8">Exposure</a> and <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284825922&mt=8">MoPhoTo</a>. I'm not much of a Facebook user but the <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284882215&mt=8">Facebook app</a> is very well done. It just the core parts of Facebook without all the crap. Of those five, three are free, one is free by ad-supported (with a pay for version available) and the other AU$12.99. I think that's a pretty good spread for some top quality apps. Some screenshots of these apps are scattered below.
<a href='/images/2008/07/img_0016.png' class="alignright clear"><img src="/images/2008/07/img_0016-200x300.png" alt="Exposure" title="img_0016" width="200" height="300" class="alignnone size-medium wp-image-52" /></a>Battery life is nothing brilliant as has been reported elsewhere. You'd probably want to change it every day. Today I watched a video podcast on the way to work, send a couple of SMSs during the day, added a calendar event, got a call from Steve, called the dentist, listened to music, read in Google Reader via the Byline app, read and updated Twitter via the Twinkle app and used the timer to cook dinner and its showing half battery. It was off the changer all last night too.
<a href="/images/2008/07/img_0016.png" class="alignright clear"><img src="/images/2008/07/img_0016-200x300.png" alt="Exposure" title="img_0016" width="200" height="300" class="alignnone size-medium wp-image-52" /></a>Battery life is nothing brilliant as has been reported elsewhere. You'd probably want to change it every day. Today I watched a video podcast on the way to work, send a couple of SMSs during the day, added a calendar event, got a call from Steve, called the dentist, listened to music, read in Google Reader via the Byline app, read and updated Twitter via the Twinkle app and used the timer to cook dinner and its showing half battery. It was off the changer all last night too.
A complaint of the old one was that the ringer and message volume was very low and easily missed. I've it plenty loud enough and its only on about three quarters. Speaking on the phone the volume is good, although I haven't tried extreme environments like a club.
@ -27,5 +27,5 @@ One of the best built-in apps on the whole phone is maps. Whenever you want to f
Maybe I'm easily sold on such things but the UI is truly beautiful and being solely finger driven is revolutionarily (on a phone). I'm a happy customer.
<a href='/images/2008/07/img_0017.png' class="alignleft clear"><img src="/images/2008/07/img_0017-200x300.png" alt="Facebook" title="img_0017" width="200" height="300" class="alignnone size-medium wp-image-53" /></a><a href='/images/2008/07/img_0018.png' class="alignright"><img src="/images/2008/07/img_0018-200x300.png" alt="MoPhoTo" title="img_0018" width="200" height="300" class="alignnone size-medium wp-image-54" /></a>
<a href="/images/2008/07/img_0017.png" class="alignleft clear"><img src="/images/2008/07/img_0017-200x300.png" alt="Facebook" title="img_0017" width="200" height="300" class="alignnone size-medium wp-image-53" /></a><a href="/images/2008/07/img_0018.png" class="alignright"><img src="/images/2008/07/img_0018-200x300.png" alt="MoPhoTo" title="img_0018" width="200" height="300" class="alignnone size-medium wp-image-54" /></a>
<div style="clear: both;">&nbsp;</div>

View file

@ -1 +1 @@
<a href='/images/2009/03/p1050054.jpg'><img src="/images/2009/03/p1050054-150x150.jpg" alt="" title="Gmail Stickers" width="150" height="150" class="alignleft size-thumbnail wp-image-94" /></a>Back in December there was a <a href="http://gmailblog.blogspot.com/2008/12/get-your-gmail-stickers.html">post on the Gmail Blog</a> which gave instructions on how to get some stickers for the cost of postage. I thought I'd try it out so I sent them an <a href="http://en.wikipedia.org/wiki/International_reply_coupon">International Reply Coupon</a> (IRC) (something I'd never heard of before) and what do you know they showed up today. They managed to come all the way from San Francisco in an unsealed envelope too. Now to decide what to stick them to&hellip; and who to give the unicorn one to.
<a href="/images/2009/03/p1050054.jpg"><img src="/images/2009/03/p1050054-150x150.jpg" alt="" title="Gmail Stickers" width="150" height="150" class="alignleft size-thumbnail wp-image-94" /></a>Back in December there was a <a href="http://gmailblog.blogspot.com/2008/12/get-your-gmail-stickers.html">post on the Gmail Blog</a> which gave instructions on how to get some stickers for the cost of postage. I thought I'd try it out so I sent them an <a href="http://en.wikipedia.org/wiki/International_reply_coupon">International Reply Coupon</a> (IRC) (something I'd never heard of before) and what do you know they showed up today. They managed to come all the way from San Francisco in an unsealed envelope too. Now to decide what to stick them to&hellip; and who to give the unicorn one to.

View file

@ -1,6 +1,6 @@
This weekend Amanda and I embarked upon our first attempt at once a month cooking. The theory goes that you spend a weekend buying and cooking in bulk and then don't need to do it again for another month. Given we both aren't keen on cooking when we get home from work this allows the meal preparation to be simple and quick, without resorting to frozen pizzas or trips to KFC. It also has the potential to be cheaper since you can buy in bulk.
<!--more-->
<a href='/images/2009/03/_mg_6380.jpg' style="float: left; margin-right: 1em;"><img src="/images/2009/03/_mg_6380-123x300.jpg" alt="Freezer full of food" width="123" height="300" class="alignnone size-medium wp-image-87" /></a>We selected a number of pasta dishes including typical sauces such as Bolognese but also did a lasagne and spinach and ricotta cannelloni. To add some variety we also included some double batches of massaman and Thai green curries. For snacks we baked some choc-chip cookies and choc-caramel muffins. Most of these weren't from scratch. Packet mixes, pre-made curry pastes and bottled pasta sauces were used to keep things simple also also allow the meals to be done quickly allowing us make more in a day.
<a href="/images/2009/03/_mg_6380.jpg" class="alignleft"><img src="/images/2009/03/_mg_6380-123x300.jpg" alt="Freezer full of food" width="123" height="300" class="alignnone size-medium wp-image-87" /></a>We selected a number of pasta dishes including typical sauces such as Bolognese but also did a lasagne and spinach and ricotta cannelloni. To add some variety we also included some double batches of massaman and Thai green curries. For snacks we baked some choc-chip cookies and choc-caramel muffins. Most of these weren't from scratch. Packet mixes, pre-made curry pastes and bottled pasta sauces were used to keep things simple also also allow the meals to be done quickly allowing us make more in a day.
It is pretty tiring standing at the bench for hours on end so we came up with a system of one hour shifts. One of us would cook whilst the other did lighter tasks around the house, which worked well. It also avoided the problem of, "too many cooks in the kitchen...".

View file

@ -1,3 +1,3 @@
<a href='/images/2009/04/greetings-from-tall-karri-country.jpg'><img src="/images/2009/04/greetings-from-tall-karri-country-300x196.jpg" alt="" title="greetings-from-tall-karri-country" width="300" height="196" class="alignleft size-medium wp-image-98" /></a>I was sorting through some old postcards that I bought during the trip around Australia my family did in 1992. Amongst them was this particular one. Now that I'm not twelve and obsessed by tractors and earth moving equipment it seemed quite bizarre. The caption on the back reads:
<a href="/images/2009/04/greetings-from-tall-karri-country.jpg"><img src="/images/2009/04/greetings-from-tall-karri-country-300x196.jpg" alt="" title="greetings-from-tall-karri-country" width="300" height="196" class="alignleft size-medium wp-image-98" /></a>I was sorting through some old postcards that I bought during the trip around Australia my family did in 1992. Amongst them was this particular one. Now that I'm not twelve and obsessed by tractors and earth moving equipment it seemed quite bizarre. The caption on the back reads:
<blockquote style="clear: left;">A view of a Karri tree being lifted prior to loading on to a truck at <a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Pemberton,+WA,+Australia&sll=53.540307,-2.672424&sspn=0.749982,0.906372&g=pemberton&ie=UTF8&ll=-33.888658,116.526489&spn=4.190239,3.625488&z=8&iwloc=addr">Pemberton</a> Western Australia</blockquote>
Pemberton is in the southern part of Western Australia that features the Karri forests. <a href="http://en.wikipedia.org/wiki/Karri">According to Wikipedia</a> Karri trees can grow up to 90m tall, making them amongst the tallest trees in the world. The photo seems like such a strange image to put on a post card. Can you imagine writing home to family telling them about the beautiful Karri forests on a card that depicts them being destroyed?

View file

@ -1 +1 @@
<a href='/images/2008/04/womens-weekly-tux-cake.jpg' title='Women’s Weekly Tux Cake'><img src='/images/2008/04/womens-weekly-tux-cake.thumbnail.jpg' alt='Women’s Weekly Tux Cake' style="float: left; margin: 0 1em 1em 0;" /></a> I snapped this with my my phone whilst I was shopping at Safeway last Sunday. It seems the Australian Women's Weekly are Linux fans or aren't aware that they <em>may</em> be infringing <a href="http://www.isc.tamu.edu/~lewing/linux/">Larry Ewing</a>'s copyright. Who wouldn't want a <a href="http://en.wikipedia.org/wiki/Tux">Tux</a> cake though.
<a href="/images/2008/04/womens-weekly-tux-cake.jpg" title='Women’s Weekly Tux Cake'><img src='/images/2008/04/womens-weekly-tux-cake.thumbnail.jpg' alt='Women’s Weekly Tux Cake' style="float: left; margin: 0 1em 1em 0;" /></a> I snapped this with my my phone whilst I was shopping at Safeway last Sunday. It seems the Australian Women's Weekly are Linux fans or aren't aware that they <em>may</em> be infringing <a href="http://www.isc.tamu.edu/~lewing/linux/">Larry Ewing</a>'s copyright. Who wouldn't want a <a href="http://en.wikipedia.org/wiki/Tux">Tux</a> cake though.

View file

@ -8,7 +8,7 @@ Fast forward to 2008 and all the major browsers have support for discovery of fe
<!--more-->
It seems use of the scheme really took off around the release of Safari 2, which included RSS support. When viewing a feed in Safari it presents the URI using the 'feed:' scheme, thus making its use highly visible.
<a href='/images/2008/04/picture-4.png'><img src="/images/2008/04/picture-4.png" alt="" title="Safari feed: URI scheme" width="194" height="30" class="center" /></a>
<a href="/images/2008/04/picture-4.png"><img src="/images/2008/04/picture-4.png" alt="" title="Safari feed: URI scheme" width="194" height="30" class="center" /></a>
I understand that using the scheme makes it easy at an operating system level to associate a particular application with the scheme but it should be entirely internal an invisible to the user. The reasons its use irks me is when adding a feed to <a href="http://www.google.com/reader/">Google Reader</a> its necessary to copy and paste the link and then remove the 'feed:' at the start. Additionally Firefox removes the colon from http, meaning that has to be replaced too. Okay so I'm lazy but all the hassle can be avoided by simply linking to the feed with the normal 'http:' scheme.

View file

@ -23,7 +23,7 @@ Thinking it over I came up with the following solutions:
I went with the latter as its more subtle but still conveys what I wanted. The result looks like the following (in Gmail).
<a href='/images/2008/08/wesley-moore-mobile.png'><img src="/images/2008/08/wesley-moore-mobile.png" alt="" title="wesley-moore-mobile" width="470" height="137" class="alignnone size-full wp-image-58" /></a>
<a href="/images/2008/08/wesley-moore-mobile.png"><img src="/images/2008/08/wesley-moore-mobile.png" alt="" title="wesley-moore-mobile" width="470" height="137" class="alignnone size-full wp-image-58" /></a>
The first response after making that change was:
<blockquote>BRILLIANT!

View file

@ -29,5 +29,5 @@ set number</code>
So what does it all like in the end? Still not as good as MacVim but not too bad (click for full size version, scaled version looks a bit average):
<a href='/images/2008/09/windows-gvim.png'><img src="/images/2008/09/windows-gvim.png" alt="Screenshot of GVim on Windows after customisation" title="Customised GVim" width="500" height="847" class="alignnone size-full wp-image-67" /></a>
<a href="/images/2008/09/windows-gvim.png"><img src="/images/2008/09/windows-gvim.png" alt="Screenshot of GVim on Windows after customisation" title="Customised GVim" width="500" height="847" class="alignnone size-full wp-image-67" /></a>

View file

@ -3,5 +3,5 @@
The case itself is almost exactly what I'm after: it's a vertical slip-in genuine leather pouch with a soft liner. There's one glaring fault though, which is the inclusion of a metal eyelet. The eyelet will of course get pressed against the phone and damage it over time, especially when in a moving jeans pocket or similar. I haven't yet decided what to do about. Options include removing it, putting tape or something over it or putting a little piece of tape on the phone.
<table style="margin-left: auto; margin-right: auto"><tr><td style="padding: 1em;">
<a href='/images/2008/11/_mg_5820.jpg'><img src="/images/2008/11/_mg_5820-199x300.jpg" alt="Mossimo iPhone Pouch/Case" title="Mossimo iPhone Pouch" width="199" height="300" class="alignnone size-medium wp-image-76" /></a></td>
<td style="padding: 1em;"><a href='/images/2008/11/_mg_5821.jpg'><img src="/images/2008/11/_mg_5821-199x300.jpg" alt="" title="Mossimo iPhone Pouch Back" width="199" height="300" class="alignnone size-medium wp-image-77" /></a></td></tr></table>
<a href="/images/2008/11/_mg_5820.jpg"><img src="/images/2008/11/_mg_5820-199x300.jpg" alt="Mossimo iPhone Pouch/Case" title="Mossimo iPhone Pouch" width="199" height="300" class="alignnone size-medium wp-image-76" /></a></td>
<td style="padding: 1em;"><a href="/images/2008/11/_mg_5821.jpg"><img src="/images/2008/11/_mg_5821-199x300.jpg" alt="" title="Mossimo iPhone Pouch Back" width="199" height="300" class="alignnone size-medium wp-image-77" /></a></td></tr></table>

View file

@ -1,4 +1,4 @@
Today I followed my own <a href="ttp://www.wezm.net/2009/03/03/install-consolas-mac-osx/">directions on installing Consolas</a> on my Mac Pro. The original directions were put together when installing it on my Mac Book. The downloaded disk image had a different volume name, as did the meta package. So the the command I used to launch the font installer was: <pre>open "/Volumes/Open XML File Format Converter for Mac 1.0/Open XML File Format Converter for Mac 1.0.mpkg/Contents/Packages/OpenXML_all_fonts.pkg"</pre>
After the installer ran I went about making it the default font in Terminal. After doing so and setting it the same as it was on my Mac Book (13pt, antialiasing on) it looked terrible on the Mac Pro. Compare the two images below. I was after the latter.
<a href='/images/2009/03/picture-81.png'><img src="/images/2009/03/picture-81.png" alt="" title="Automatic font smoothing" width="665" height="195" class="aligncenter size-full wp-image-12" /></a><a href='/images/2009/03/picture-6.png'><img src="/images/2009/03/picture-6.png" alt="" title="Medium font smoothing" width="672" height="195" class="aligncenter size-full wp-image-13" /></a>After a little bit of confusion I decided to check the font smoothing style in the Appearance preference pane (in System Preferences). Turns out it was set to Automatic (best for main display) on the Mac Pro and Medium (best for Flat Panel) on the Mac Book. Changing to Medium and relaunching Terminal had it looking identical on both machines.
<a href="/images/2009/03/picture-81.png"><img src="/images/2009/03/picture-81.png" alt="" title="Automatic font smoothing" width="665" height="195" class="aligncenter size-full wp-image-12" /></a><a href="/images/2009/03/picture-6.png"><img src="/images/2009/03/picture-6.png" alt="" title="Medium font smoothing" width="672" height="195" class="aligncenter size-full wp-image-13" /></a>After a little bit of confusion I decided to check the font smoothing style in the Appearance preference pane (in System Preferences). Turns out it was set to Automatic (best for main display) on the Mac Pro and Medium (best for Flat Panel) on the Mac Book. Changing to Medium and relaunching Terminal had it looking identical on both machines.

View file

@ -9,6 +9,6 @@ Virtualisation software has been around for a long time. This software allows yo
VirtualBox runs on Mac OS X, Linux and Windows. It can host Windows, Linux, BSD, Solaris, OS/2 and probably many more guest OS's. It features a seamless windows feature for Linux and Windows guests to integrate the guest windows into the host, is extensively controllable and configurable from the command line and has a built in <a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol"><abbr title="Remote Desktop Protocol ">RDP</abbr></a> server so you can access the GUI of a guest remotely amongst many other features. It also includes "additions" that you install in the guest to get better integration with the host. Currently there are additions for Linux, Windows, Solaris and OS/2.
<a href='/images/2009/03/picture-8.png'><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-8-300x254.png" alt="The VirtualBox Graphical User Interface" title="VirtualBox GUI" width="300" height="254" class="alignleft size-medium wp-image-8" /></a><a href='/images/2009/03/picture-9.png'><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-9-300x196.png" alt="VirtualBox running a Debian GNU/Linux guest on Mac OS X" title="VirtualBox Debian Guest" width="300" height="196" class="alignright size-medium wp-image-9" /></a><p style="clear: both;">One particularly nifty feature if you're on a Windows PC without Administrator privileges is VirtualBox will install and run as an unprivileged user. This means if you're forced to use Windows at work you might be able to install Linux via VirtualBox and become a bit more productive.</p>
<a href="/images/2009/03/picture-8.png"><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-8-300x254.png" alt="The VirtualBox Graphical User Interface" title="VirtualBox GUI" width="300" height="254" class="alignleft size-medium wp-image-8" /></a><a href="/images/2009/03/picture-9.png"><img src="http://www.wezm.net/wp-content/uploads/2009/03/picture-9-300x196.png" alt="VirtualBox running a Debian GNU/Linux guest on Mac OS X" title="VirtualBox Debian Guest" width="300" height="196" class="alignright size-medium wp-image-9" /></a><p style="clear: both;">One particularly nifty feature if you're on a Windows PC without Administrator privileges is VirtualBox will install and run as an unprivileged user. This means if you're forced to use Windows at work you might be able to install Linux via VirtualBox and become a bit more productive.</p>
In some future posts I plan to cover some ways you can put VirtualBox to use. The first of these will cover setting up a Linux guest to mirror the deployment environment of a web application.

View file

@ -1,4 +1,4 @@
<a href='http://lesswrong.com/' style="float: left; margin-right: 1em;"><img src="/images/2009/03/lesswrong-browser-thumbnail.png" alt="" title="Less Wrong Browser Thumbnail" width="200" height="157" class="alignnone size-full wp-image-89" /></a>Since starting my new job at <a href="http://tricycledevelopments.com/">Tricycle Developments</a> in January I've been working on a project to repurpose the <a href="http://reddit.com/">Reddit</a> <a href="http://code.reddit.com/">source code</a> into a kind of community blogging platform with voting and karma.
<a href="http://lesswrong.com/" style="float: left; margin-right: 1em;"><img src="/images/2009/03/lesswrong-browser-thumbnail.png" alt="" title="Less Wrong Browser Thumbnail" width="200" height="157" class="alignnone size-full wp-image-89" /></a>Since starting my new job at <a href="http://tricycledevelopments.com/">Tricycle Developments</a> in January I've been working on a project to repurpose the <a href="http://reddit.com/">Reddit</a> <a href="http://code.reddit.com/">source code</a> into a kind of community blogging platform with voting and karma.
The result of that work went live on Thursday and after an initial hiccup with a questionably named user posting off topic content its going well so far. One of the first posts on the site is one asking for feedback on <a href="http://lesswrong.com/lw/5/issues_bugs_and_requested_features/">Issues, Bugs, and Requested Features</a>. The thread has been inundated with all three of these so it looks like I still have plenty of work ahead refining the user experience.