Unrated Tracks

I’ve been busily rating all of my iTunes tracks, and consider that I’ve done a very good job. My Unrated playlist (Rating is 0; Played Count is 0; Genre does not contain Classical; Podcast is false) has only 224 tracks. My total library is 7741 tracks, so it’s about 97% done. Not counting Classical tracks and Podcasts, obviously.

Actually, if I take this into account, my Music Library is only 5962 tracks, and I’ve rated about 96%.

Anyway, you get the picture. An overwhelming number of my tracks are rated. So now, I just sit back, and count the money as it rolls in let iTunes choose my music.

I’ve got a Smart Playlist called Party Shuffler, which I set my Party Shuffle to use as the source, and turn on Play higher rated songs more often. The Party Shuffler playlist has the following Logic:

  • Genre is not Classical
  • Last Played is not in the last 3 days
  • Genre is not Holiday
  • Comment does not contain re-import
  • Genre is not Books & Spoken
  • Genre is not Interview
  • Match only checked songs
  • Live Updating

I might be able to get rid of some of the Genre stuff, by having the Skip when shuffling item checked on various tracks, but then I’d need to remember to do this to new music I import.

Oh, and I keep my rating window open, and every now and then re-rate the track that’s playing - especially if I’ve decided I don’t like the track quite so much anymore.

Wipe Out • The Beach BoysStill Cruisin' ★★

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.

    tell application "Finder"
    	set sels to selection
    end tell
    
    
    repeat with sel in sels
    	tell application "Image Events"
    		set img to open sel as alias
    		set dims to dimensions of img
    	end tell
    	
    	set cursize to "Current Size of Image: " & (first item of dims as integer as text) & " x " & (last item of dims as integer as text)
    	
    	display dialog cursize
    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.

Referer Counts

I’m just going to quickly stroke my own ego a little bit. Apologies. In my Popular Posts list, I have about 1800 page reads of various items, but only stuff that is viewed as a single page is recorded here. Thus, hits on the main site page, or a category index page, or even a daily page with only one post on it, would not count as a view. I assume that this value refers to the past month, as it doesn’t seem to increase forever. If I look at my referer list for the past month, I see there have been just over 9000 page views on my site. This includes all page views, such as those discussed above that are not counted. That means 7000 views are either index page views, or more interestingly, _Long Tail _posts. That is, posts that are not in the top band of popular posts.

Extending Crocodile Technology

I use, and really like, Crocodile Technology, an electronics and motion modelling system, which interfaces well with a really nice PCB layout program. However, it isn’t especially extensible, or so they would have you think. But, the component information is all stored in XML files, so in theory, it should be possible to create new parts, either in a new XML file or by editing one of the old ones, that can extend the functionality of the program. For instance, I want to be able to create a part that is the UM66T, a great little 3-pin (TO-92 package) melody generator. We buy it in four varieties, each of which is a different single-voice tune, such as Small World, Fur Elise and so on. At the moment, I need to model the circuit with the kids, and then add the pin layout of a TO92 component in RealPCB, which is somewhat error prone. It would be much nicer to be able to model it all in Crocodile Technology, including having the music play. This is what the XML code for a part, in this case a Red LED, looks like:

    <part class="electronics/red-led" proto="electronics/discrete-led">
      <p key="vf">1.567</p> 
      <!--  1.9V @ 10mA  --> 
      <p key="img" type="resource" flags="user-hidden">electronics/ledred</p> 
      <p key="meta-parttree-order" type="int" flags="user-hidden">30</p> 
      <p key="meta-label" type="string" flags="user-hidden">Red LED</p> 
      <p key="meta-icon" type="resource" flags="user-hidden">electronics/icons/red_led</p> 
    </part>

Ricky Gervais Podcast Archives!

Ricky Gervais This site has the archives of the Ricky Gervais podcast. I’ve removed my listings of the URLs, as they are changing from time to time, so visit the link above to download them all. I may still create a feed XML, but I may not…