<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <body>...not only me. Anyone.
</body>
    <created-at type="datetime">2009-03-27T11:23:47Z</created-at>
    <id type="integer">36</id>
    <title>I'm convinced that I can walk through walls..</title>
    <updated-at type="datetime">2009-03-27T11:23:47Z</updated-at>
  </post>
  <post>
    <body>I bought the CapsuleNeo iPhone 3G case made by SwitchEasy from PowerMedia.

At first, it seemed great... it looks sexy, it's got this nifty neoprene inner skin to absorb shocks, and comes with some neat little pluggy-inny things to stop dust and moisture getting into the docking socket and the headphone jack. It even came with a kooky little piece of plastic that after a while I figured out was to stand the iPhone horizontally in for convenient movie viewing.

First thing: the little stand thing was lost within hours, closely followed by the pluggy-inny things.

Secondly: the snap-on 2-part case design has thin areas of plastic that snapped within a week of use. I've now got a dangly bit of broken case hanging off the bottom which catches on everything.

So, this is my second broken iPhone case, so instead, I've ordered an "OtterBox 3G Defender":http://www.otterbox.com/iphone-cases/iphone-3g-defender-case/ in Black &amp; Yellow. Let's hope they're as rugged as they claim to be.</body>
    <created-at type="datetime">2009-03-25T10:55:22Z</created-at>
    <id type="integer">35</id>
    <title>SwitchEasy CapsuleNeo iPhone case... it's rubbish</title>
    <updated-at type="datetime">2009-03-25T10:55:22Z</updated-at>
  </post>
  <post>
    <body>"Douglas F Shearer":http://douglasfshearer.com/blog/rails-plugin-acts_as_indexed

... and he also talks about the rather interesting *acts_as_indexed* plugin for full-text search on ActiveRecord fields, which hopefully I'll be implementing soon.

</body>
    <created-at type="datetime">2009-03-25T04:56:26Z</created-at>
    <id type="integer">34</id>
    <title>Nice blog theme</title>
    <updated-at type="datetime">2009-03-25T05:01:20Z</updated-at>
  </post>
  <post>
    <body>Get it "here":http://www.transparentech.com/opensource/yahoofinance

</body>
    <created-at type="datetime">2009-03-24T23:00:19Z</created-at>
    <id type="integer">33</id>
    <title>YahooFinance: a ruby module for getting stock quotes</title>
    <updated-at type="datetime">2009-03-24T23:00:19Z</updated-at>
  </post>
  <post>
    <body>I've just gotta get this off my chest:

*Cascada looks like Rose Tyler's mum.*

There... got that outta the way. Who is "Cascada":http://en.wikipedia.org/wiki/Cascada ? Well, it's a shabby Eurodance act that plays with monotonous regularity over the A/V system at my gym. And I can't help but notice that the singer for Cascada looks like someone's done a chav-tastic makeover on Rose Tyler's mum from Doctor Who.

So, so sick of listening to them. Almost as much as I'm sick of listening to Natalie Basingthwaite. Fuck's sake. She's a class act that... so classy that Sony advertise her on Facebook, right next to the "Meet hot singles in your area" and Debt Consolidation ads. Style. Well, I guess that something needs to be done about that warehouse full of Rogue Traders CDs that no-one wants to buy. Perhaps we'll see them being offloaded on eBay in "cheaper by the 1000" lots.


</body>
    <created-at type="datetime">2009-03-23T23:13:47Z</created-at>
    <id type="integer">32</id>
    <title>Cascada: possibly the worst music in the world?</title>
    <updated-at type="datetime">2009-03-23T23:13:47Z</updated-at>
  </post>
  <post>
    <body>So, today, I concluded an experiment that took about a couple of months to get my head around and organise: I bought some Apple shares.

I got 5 apple shares at $US 95.22 which cost about $AU 850 incl brokerage.

h3. What took so long?

In a word: *paperwork*.

h3. Things I Learnt

# It takes 3 days to transfer cash from the CommSec account to the Pershing account.
# You must request the money transfer over the phone by ringing the CommSec international desk.
# Next time I'm going to make a transfer well in advance of when I want to buy. That way I can pick a time when the exchange rate is better.
# Also... and this is pretty obvious, I guess... It's good to buy when there is BAD news or opinions. In this instance, I bought just before the recent iPhone OS 3.0 announcement, which was lucky otherwise I'd have been paying 5% more.

</body>
    <created-at type="datetime">2009-03-18T08:51:18Z</created-at>
    <id type="integer">31</id>
    <title>Bought some Apple shares</title>
    <updated-at type="datetime">2009-03-18T10:50:39Z</updated-at>
  </post>
  <post>
    <body>As part of my overall upgrade to new-style RESTful views and controllers, I have been introducing @map.resource@ statements into @routes.rb@.

At first, this was great... all of the free routes, path and url helpers make for much DRYer and cleaner code.

Then I hit a snag: I had all these secondary controller methods that did stuff like render graphs (as img requests) that suddenly stopped working. Also, I just had some "other" methods like an extended "edit_details" form, and a "show_details" page. These didn't seem to be accessible unless they were linked to via a HTTP POST request. This would have been appropriate for the edit, but not for the show_details.

This was puzzling... why were all non-standard GETs failing? Well, it seems that it was because all URLs were mapping the second component to the :id parameter for GET.

So, how to stop that? Here's how:

&lt;pre&gt;&lt;code&gt;   map.resources :assets, :member =&gt; {:edit_base_year_data =&gt; :get}&lt;/code&gt;&lt;/pre&gt;

This says that there is an extra GET request that matches to @/assets/edit_base_year_data@, which matches before the default @/assets/:id@.

Yay.</body>
    <created-at type="datetime">2009-03-18T02:14:18Z</created-at>
    <id type="integer">30</id>
    <title>map.resources... problem solved</title>
    <updated-at type="datetime">2009-03-18T02:16:08Z</updated-at>
  </post>
  <post>
    <body>When you live in the Netherlands, eventually you encounter the Evil Blue Envelopes. They're from the BelastingDienst (Taxation Service), and they mean two things:

# You need to read a whole lot of bureaucratic taxation-speak gobbledegook... in Dutch.
# It's not going to be simple. Even if your tax situation is simple, like: you left the country 3 years ago, you've put all your tax returns in, and hired a book-keeper to make sure that there's no loose ends left, and you didn't earn anything in Holland that year or any year since... it's still not going to be simple.

Sigh. Dutch Bureaucracy. Finest paperwork nightmares  in the world.

As you may guess, I got an Evil Blue Envelope in the mail today...</body>
    <created-at type="datetime">2009-03-17T11:20:02Z</created-at>
    <id type="integer">29</id>
    <title>Evil Blue Envelopes</title>
    <updated-at type="datetime">2009-03-17T11:22:41Z</updated-at>
  </post>
  <post>
    <body>Just done a t-shirt of the "Grass Mud Horse":http://www.redbubble.com/people/suranyami/t-shirts/2739029-1-grass-mud-horse

"Here's the YouTube video of the song":http://www.google.com/url?sa=U&amp;start=5&amp;q=http://www.youtube.com/watch%3Fv%3DwKx1aenJK08&amp;ei=U1O8SfXeKpDy6QPfwfDzBA&amp;usg=AFQjCNE-Qwk6n2fzTA6A2YmaxMxwFTgoTQ

And "here's":http://www.danwei.org/humor/baidu_baike_fake_entries.php a brief bestiary of double-entendred animals that have found themselves on chinese websites.

</body>
    <created-at type="datetime">2009-03-15T01:03:10Z</created-at>
    <id type="integer">28</id>
    <title>Grass Mud Horse</title>
    <updated-at type="datetime">2009-03-15T01:03:10Z</updated-at>
  </post>
  <post>
    <body>So, now that I've added the fabulous "delete all comments" button to posts (only when I'm logged in), I have at last been able to nuke the hundreds of spam comments that were added to a few posts, with the click of a single button. *Yay!*

It was important, because I'd also noticed a spike in my bandwidth recently. It would appear that all the search terms that were inserted into the comments were designed to attract searches, (duh!), and they sure did. Hopefully, they'll go away now.


</body>
    <created-at type="datetime">2009-03-13T06:22:13Z</created-at>
    <id type="integer">25</id>
    <title>Well, thank goodness for that...</title>
    <updated-at type="datetime">2009-03-13T06:22:13Z</updated-at>
  </post>
</posts>
