Commenting Bug

I’m not sure, but I think my script is doing something that stops comments going through the first time you submit them. I’ve only noticed it on my blog: except I just noticed it on another blog when I tried to comment. When I repeated the comment, it worked fine. Also, I think when I’ve already commented and then add another comment during the same session, it all works fine. Maybe that’s why I’m not getting too many comments anymore. Either that, or I’m just not posting stuff that’s interesting enough.

Turn It Around Again • AlexkidChillout Sessions 8 ★★★

Foreign Adsense Ad

I had the following Adsense Ad on a page I viewed from my own site tonight: I don’t even know what it’s trying to sell! I think it’s something to do with a chat system. Let’s ask google:

Free Cat Accesses Direct Dialogue free simply! www.Chat-Land.Org Free Cat www.Chat-Land.Org

Oh, excellent! I’d forgotten that Chat means Cat in French! Someone’s giving away cats, and for some reason, my site got picked! I gotta get one! Free talking, and a Free Cat. • But seriously, why am I getting a French Ad on my site? Have I written anything in my blog about France, or in French? How does Google Adsense even know I did a little bit of French at Uni to try and meet girls (well, now I know how Google knows this…).

Dr Karl uses a Mac!

Dr. Karl from Triple J uses a Mac. He talked about using Spotlight to index and search his files on his computer during the last 5 minutes of the February 23rd edition of his Radio segment.

Rating Podcasts

The iPod doesn’t allow for rating of a Podcast – I guess it assumes they are throwaway items, rather than worth keeping.

Resizing Images in AppleScript/Automator

I’ve already written a small Automator application that will resize an image to 640x480, but what about if I want to change it to a different size. There’s no way to set the resize amount on the fly in Automator, so I thought, it should be easy to do it in AppleScript. Except, for some reason, Preview.app isn’t scriptable. I do have Image Events.app floating around (not sure if it’s a standard part of the system), which can do what I want.

 1     tell application "Finder"
 2      set sels to selection
 3     end tell
 4     
 5     
 6     repeat with sel in sels
 7      tell application "Image Events"
 8          set img to open sel as alias
 9          set dims to dimensions of img
10      end tell
11      
12      set cursize to "Current Size of Image: " & (first item of dims as integer as text) & " x " & (last item of dims as integer as text)
13      
14      display dialog cursize
15     end repeat

This gets the current size, but I’m yet to find an easy way to get input from the user, and resize it according to this. I’m sure it can’t be that tricky!

Renovations Update

I know that a couple of people read this who are a bit interested in how my house renovations are coming along. Jaq and I have spent the last couple of months preparing the main living area: Kitchen, Dining, Lounge and Study. We knocked out about 3m of a wall which will have a table inserted into it, and replaced the floorboards, ceilings and fixed the walls. We have spent the last weekends doing some final prep for painting, and now painting the kitchen/study area. The edges of the wall where we had cut a big hole look great: we’ve use a Rondo Shadowline product to get lovely 10mm shadow lines around the framing, and now it’s all painted, you can’t see where the original plaster ends, and the cornice cement and top-cote start. It does look really nice. Similarly, where the old Air Conditioner was is almost invisible from the inside now. We’ll build the kitchen ourselves – Ikea have some good kitchen cabinets, and we’ll just get the doors made up. The kitchen will flow through into the study, although it will have a seperator that does distinguish between the two. We also got some new furniture in the past couple of days: a Hans Wegner Daybed and some nice Danish beds. Furniture Auctions are the best place to find great bargains.