Throughout the year I’ve been wanting to write a blog post about some of the personal stuff that has been going on lately. There’s been a lot of it. Every time I wrote a post however I decided it was too revelatory, too emo, too whiny or too something else. This is a personal post, and it’s probably too “something”, but I decided to go ahead and post it anyway in the spirit of “not letting shit go unsaid just because you can’t decide on all the words.”

I was twittering the other day about how the noughties have been a pretty eventful decade for me on a personal level, building up to a crescendo and culminating in a pretty spectacular oh-nine.

I feel it’s worth writing a post about. Whether it’s worth reading a post about it I leave to the discretion of the reader.

Read More »

30 Dec 2009

NSFW Rating System

BW6JK44BUVQH

It seems like people have a hair trigger when it comes to labeling their links “NSFW“. I’ve even seen warnings about NSFW language which seems like overdoing it a bit to me. Anyway, since using the label “NSFW” to refer to anything from cuss words in plain text to “Harry Potter / Tentacle Rape Slash Porn” seems pretty unhelpful, I’ve devised this easy to understand rating system.

Please rate your links accordingly from now on, so I can filter out the seriously freaky shit from some of the kindergarden stuff that seems to be NSF your W.

Nsfw Rating

30 Dec 2009

Diplomacy

Actual conversation between me and Malin about the Norwegian movie “Pathfinder”.
Note: Lapps are the indegenous tribal folk of Scandinavia

  • Me: I saw it ages ago when I was just a kid. I was way too young to understand any of it.
  • Her: I guess you were only nine or eight at the time it was released.
  • Me: Yeah. I can only remember something about some Darth Vader-Lapps out to get the hero.
  • Her: Mmhmm? *Being busy with the baby*
  • Me: Hey! DARTH VADER-LAPPS!
  • Her: Oh, sorry. Let’s go again. I guess you were only eight or nine…
  • Me: Yeah. I only remember something about some Darth Vader-Lapps out to get the hero.
  • Her: Ahhhahaha! Darth Vader-Lapps. Good one!
  • Me: Thank you.
20 Dec 2009

Crudmuffins

Update: Bug squashed. So buried deep in the archives there was a comment in which the author had innocently copy/pasted the characters “⌃ ⌥ ⌘” from my post. This was for some reason not sanitized in the SQL, which somehow borked the XMLRPC endpoint to the blog. This in turn meant that tools such as Marsedit, the WP iPhone app and pretty much anything that uses XMLRPC wouldn’t work.

Problematic as that may seem, the worst part is when shit like this fails silently. I pretty much cut the database into bitesize chunks, wiped the entire blog and restored each bit of data manually before I tracked down the perpetrator.

Things are pretty much back to normal now, except for a bit of maintenance work such as restoring categories and plugin settings.

Thanks for waiting.

Original post:
My site is currently experiencing something analogous to a heart-attack after 50 years on a steady McDonalds diet. It’s a crying shame, but with all the garbage that has been put into it it wasn’t really a huge surprise.
What I’m trying to say is that the site is slightly borked, that it’s my fault, and that I’m sorry; but it’s late and I’m too damn tired to fix it right now.

If you actually happen upon this blog in the couple of hours before I can get it repaired, expect a few “stnanks” here and there. I’ll update this post when the waters are safe agai

14 Dec 2009

Things Migrator 2

I noticed that my little app for migrating your data from Things to The Hit List still gets some hits. I haven’t really looked at it for ages, but I wasn’t terribly surprised to see that it’s broken under Snow Leopard.

I decided to fix it, expecting AppleScript projects in Xcode to work pretty much the same that they did before, and brother was I mistaken.

It seems that Apple decided AppleScript as a simple to grasp scripting language really has no place in Xcode anymore, and Cocoafied the bejeezus out of it. On the surface using the new Cocoa / AppleScript bridge feels like playing a nazi in most hollywood war movies. You’re still speaking English (Cocoa), just with a horrible German (AppleScript) accent.

The Migrator is just a little quick and dirty utility app, which AppleScript is perfect for, but rewriting this for 10.6 I felt I might as well have ported it to Cocoa (since I’m in the process of learning Objective C anyway). I didn’t though. I hacked my way through it using the Bridge, and I felt like Xcode was berating me the whole time.

I’m excited about Cocoa and Objective-C, but I loved AppleScript for what it was. I’m still going to be using AppleScript a lot, but unless I “See the light” of the Cocoa Bridge, I don’t think I’ll be making any GUI apps with it anymore. I also find it telling that there seems to be no documentation for the Cocoa / AppleScript Bridge except for the release notes that I can find.

Rant over.

Disclaimer:

  • This works fine for me. I make no guarantees that it’ll work for you. I think it will, and I’ll try to help you out if it doesn’t, but I’m not liable if your Mac explodes.
  • Caution: If you check the “Delete items from Things” option your items will be deleted from Things.
  • In order for this to work the app will empty your Things trash can regardless. If you really need the stuff in the Things trash can, perhaps it shouldn’t be in the trash.
  • I don’t have a Leopard machine handy, so I haven’t tested the Leopard version since I first posted it in May. It worked then, so it should work now.

Github
App – Leopard
Source Code – Leopard
App – Snow Leopard
Source Code – Snow Leopard

Just a quick one to say that although I still think it makes more sense, I retract my original proposal of making the 10th of December “Ada Lovelace day” out of respect for the efforts over at Finding Ada.

We had a short exchange on Twitter and I was assured that something was being planned for next year as well, and add that to the fact that I really don’t have it in me to organize a piss-up in a brewery and the course becomes clear.

Also; I rediscovered this delightful comic which apparently came as a result of the 24th of March initiative:

ada_comic

That is all?

Update 2: New versions of several of these apps have been released. Things are a lot better.

Update:I’ve had feedback on this post from O’Reilly both by email and in the comments. Both Andrew and the other O’Reilly representative I’ve been in contact with seem sincere when they say that these apps will be updated with fixes for the downright broken content and that they intend to invest in further development for the mobile platform.
Since this was pretty much what I’d hoped to hear, I’m going to say that this little outburst served its cause.

To whom it may concern.

I have for years been a satisfied customer of O’Reilly. I’ve bought and enjoyed several books from you both as dead tree paperbacks and downloadable PDFs.
To my chagrin I also bought a number of titles on the iTunes app store once I found out that you publish a selection of your books as standalone apps there. I’m sad to report that I found these apps to be rather disappointing. In fact they are complete and utter crap.
Not only shoddy work, but a lost opportunity.

It’s apparent that what you have done is to adopt the Stanza engine and stripped it down to contain one book per instance. Unless you’ve reinvented an already triangular wheel it also seems that you simply process your Safari PDFs through the downloadable helper app and then push the results to the app store.

Look; Stanza is a great e-book reader when it comes to downloading and reading “Frankenstein” as a Public Domain EPub book. And if you have some totally-not-copyrighted PDF you want to get onto your iPhone the desktop Stanza app does a tolerable job of ripping the file to HTML and reflowing it to read nicely on the small display, but converting PDFs with Stanza in this manner is, undeniably, a hack. It’s a workaround to get a PDF meant for a big screen unto a small screen, no questions asked.

Stanza is admittedly a pretty good solution to get a book onto the iPhone, a few formatting issues aside. There is however a considerable difference between reading a novel and feeling slightly irked because the chapter titles don’t show up in bold and reading a book on programming where half of the code is illegible, broken, or overflows beyond the page and into oblivion.

Read More »

This article was cross-posted on ria.creuna.com.

Hear ye; Codesmiths and Script Artisans. Nay; Hear ye all who labour with keyboard and mouse, for you owe a debt to the singular person we commemorate today.

Ahem. On this day, the 10th of december, a shockingly large number of years ago the First Programmer was born. If this story isn’t old hat to you you might be surprised to learn the bearer of this distinct honorific was born in 1815 in London.
What might also surprise you, a pleasant surprise, is that she was a woman.

Ada Lovelace

Ada Lovelace - The worlds First Programmer
Born Augusta Ada Byron she was the daughter of Lord Byron (he of poetry fame and infamy) and Anne Isabella Milbanke.
Her mother, who was not impressed with Lord Byrons debauchery and loose morals focused her education on mathematics and science, forbidding her to pursue the social sciences in order to prevent her from becoming a bohemian bum like her father. At seventeen Ada showed remarkable aptitude in mathematics and her interest continued even after her marriage; Contrary to the custom of women at the time.

Charles Babbage, her friend and fellow math wiz (amongst other things) had been working with logarithms and in an effort to remove uncertainty and human errors in this line of work he conceived of a Mechanical Computing Device to replace the traditional system of the time which were human clerks with the title ‘Computer’; “One who computes”.

Babbage; For all his genius ground work, was severely limited in his conception of the computer. He saw it as a mechanical means to execute mathematical operations with high precision. Enter our heroine Lady Lovelace.

In 1842-43 she translated a memoir of italian mathematician Luigi Menabrea on Babbages conceptual machine. Her additional notes were longer than the memoir itself, and substantially more visionary in nature. In these notes she conceived of making the analytical device accept, comprehend and execute commands; In essence creating the first programming language.

Babbage was never able to actually create his machine, and Ada never got to see the fruits of her labour. Vindicated in history her notes are published and distributed today, she has post-humously been awarded a medal from The British Computer Society and the contemporary programming language Ada is named in her honor. As a side note; Babbages machine have later been constructed as per his notes and was found to be highly accurate at mathematical operations.

Why should we care?

Adasmall 2 Geek holidays are great, and we need more of them. But if you look at the notable dates and personalities in this industry there are two factors that separate Ada Lovelace from the rest.
Firstly; she is by far one of the strongest examples of the long heritage of brilliant people on whose shoulders we stand to todays technology. Secondly: and it’s sad that this should matters, but it remains to be a factor and an important one at that; She is a woman. Our industry is heavily male-dominated. Not only in our workplaces but also in our heroes and legends.
I mean no slight to Alan Turing, Steve Wozniak, Sir Tim Berners-Lee and their esteemed co-idols, but by god; this sausage party needs some dames.

Searching for “Ada Lovelace” yields among other links a page that declares 24th of March to be Ada Lovelace Day and ask bloggers to pledge to write a post about Ada. Since the site seemed defunct after this date I propose that Ada Lovelace Day should be her birthday; the 10th of December and that we geeks make room for it among Towel Day, Blue Beanie Day and PI Day so this amazing historical figure gets the attention she deserves.

Who’s with me?

Further studies.

3 Dec 2009

New blog!

No no. I’m not about to start a kerfuffle about changing the location and / or name of my blog again. I just wanted to make sure you’ve heard about the new ria.creuna.com site.

Basically me and the other RIA-developers broke out and started our own blog. If you like the code, geek and tech content from this site you should be sure to check it out. For example you could start with my huge post about URL Recognition, or you could read how my co-worker exposes the clickTAG sham for the lousy stinky piece of bad stuff it is.

24 Aug 2009

Medication

Copyright be damned1!
As a bipolar on lithium I’ve experienced having my creativity, eagerness and mind numbed and agonized over it in no small measure.

Accordingly this strip really struck a chord with me:

MedicationCalvin

Footnotes:

  1. At least until I get a C&D.