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.
13 Jul 2009

Currently reading

Yes, all of them. Actively.
I posted this image to flickr in april and since then the state of things have just deteriorated.
Where the hell did my ability to concentrate go?

Getting several things partly done

12 Jul 2009

Spring into sanity

Just realized that I haven’t posted this pic yet this year. Throughout my blogging career misfortunes I’ve posted this photo every year about spring time. It just makes me happy. It’s a bit late this year, but here goes.

Jumping-1

12 Jul 2009

The dentist

Did I mention I’m currently going to the dentist about once a week to fix my rotten teeth? Well I am, and it’s a ball.

IMG_0009

I’f she’d told me she’d pitch a fucking tent in my mouth I would have brought marshmallows.

12 Jul 2009

GeekTool Desktop

I’ve been a Solid Grey Desktop man for ten or twelve years, but GeekTool; a tool that lets you add all sorts of more or less useful info to your desktop, made me spring a pretty colorful theme today (click the image…). Not in the least because it requires some fiddlin’ around in the terminal and such to set up right, which means that I get to feel special, which I’m all about.

I’m not really satisfied with the actual desktop picture (apologies to the artist. Just too much…) but it does the job for now. I’ve been searching for hours on end for wallpapers and I’m frankly amazed at how difficult it is to find good stuff.

GeekTool itself warrants a post, but I can’t be arsed right now. Here’s some links to get you by:

Theme My Mac.
Smoking Apples.
Gallery of GeekTool desktops.

Have fun!