L in Semaphore Quite a few months ago I was joking with Guy Serle of the My Mac Podcast, and the topic somehow turned to flag semaphore. I think I’d sent the guy an iTunes review in mores code for a joke, and then Guy challenged me to do it in flag semaphore. I figured it would be easy to find a converter on the net, but, for the first time in a long time, the internet let me down! When I couldn’t find a converter I registered the domain www.semaphorify.info with every intention of getting a converter up and running in a few days. Then, real life got in the way, and the domain sat there for months, until yesterday, when I unexpectedly had a free afternoon, and I finally got my converter written!

You can now go to the site and convert text to flag semaphore, play a crude animation of the signal, and even share a link to the signal. E.g. this link takes you straight to the conversion of “I love semaphores” to semaphore.

www.semaphorify.info

Last night I gave a talk to Astro2, the Astronomy & Physics society in NUI Maynooth. This is a slightly updated version of a talk I’ve been developing over the past few years. It’s an hour long an aims to explain the jargon you’re likely to come across on Astronomy websites (or magazines if you still do the dead-tree thing), to quickly summarise the kinds of things you can see in the sky, and to look at the kinds of equipment you might want (no, you really don’t need a telescope).

Instroduction to Practical Astronomy
View The Presentation

OS X Service – Terminal Here

Filed Under 42 on June 12, 2013 | 1 Comment

I regularly find myself navigating to a folder in the Finder and then wanting to quickly get a Terminal window in the same location. In the past I would open a Terminal window, type cd and a space, then drag and drop the folder in question from the Finder into the Terminal and hit enter. Thanks to OS X’s great drag-and-drop support that works, and while it is easier than typing out the whole path (even with tab-complete), it’s still quite cumbersome.

Today inspiration hit me – the open command should let me open a folder with the Terminal, so I tested it, and it does. Armed with this simple command line solution I opened up Automator and threw together a simple OS X service that takes a folder as input. The service has only one action, a Run Shell Script action with the shell set to bash, the input passed as arguments, and the following content:

  1. for f in "$@"
  2. do
  3.     /usr/bin/open "$f" -a /Applications/Utilities/Terminal.app/
  4. done

Screenshot of Service
Click to Enlarge

It will only take seconds to re-create this service yourself, but for convenience, I’ve zipped up my copy of the service and am attaching it to this post. Install it by unzipping and adding to either ~/Library/Services/ (for just yourself) or /Library/Services/ (for all users).

Download

Once the service is installed it will show up in the Services menu in the Finder when ever you have one or more folders selected:

Terminal Here Service In Action
Click to Enlarge

You can also get to the service by right-clicking on any folder in the Finder:

Terminal Here Service In Action - Right Click
Click to Enlarge

Finally – if you keep the optional Path Bar shown in the Finder you can also right-click on a Folder there to access the service (including the folder you are in):

Terminal Here Service in Action - Path Bar
Click to Enlarge

Pondering US -v- EU Locomotives

Filed Under 42 on January 24, 2011 | 10 Comments

This all started with a really childish and really stupid comment on Flickr by a young American rail fan:

Probably because the cabs on American locomotives aren’t ugly as the atrocious things that pass for locomotives in Europe.

The sheer childishness of it all put me off replying, but it did start me thinking, apart from the very obvious difference in style, what are the real differences between our locomotives?

Read more

Yesterday I posted about using Perl to solve the question “what’s the longest word I can type with just half a keyboard?”. My self an Connor were joking that it would be a lot more difficult with Java, first to write the code, then to run.

I literally used the identical algorithm for the Java program, even using the same variable names, and printed the results out identically (I verified this with the Unix diff command). I also did my best to use the various built-in Java functionality and java.util classes to minimise the amount of heavy lifting my code had to do.

Read more

As some of you may know, I’ve been ill for the past few weeks now, and hence not working or podcasting. I spend a lot of my time doing nothing because I have no energy and often a headache, but when my head is clear I have a lot of thinking time since doing physical things is not possible. I even need to be careful not to type too much or my arms get very sore!

Anyhow – yesterday Bren Finan was chatting with me when he noticed that ‘yesterday’ uses only keys from one half of the keyboard. Which got him, and hence me, wondering if there was a longer word that can be written with just half a keyboard. (The quick-witted among you will probably spot that ‘Yesterday’ doesn’t actually count because the ‘y’ is on the wrong side of the divide on ergonomic keyboards.)

Read more

REALLY Short Review of an EeePC

Filed Under 42 on May 9, 2009 | 3 Comments

This is just a quick test post from a friend’s EeePC to see what they’re really like to type on and browse with. My very first impression, I think I have found something worse to type on than a virtual keyboard – a shrunken one! Since it has no smart helper-features like the iPhone, it is actually more tedious than the iPhone. You spend more time correcting mistakes because none of them are auto-corrected. Although you do get better at it as you keep typing, the location of the shift keys in particular really strain your hands. I’ve just typed this much and I can feel the strain already, this is very very far from ergonomic! I’m starting to see Tim Cook’s point, this is not a good experience, and I wouldn’t want Apple to clone this experience. I do want Apple to do something in this space, but it has to be something more human-friendly than this! This feels like miniaturisation for the sake of miniaturisation. I’m not sure what creatures the EeePC was designed for ergonomically, but it was most certainly not adult Homo sapiens! The one good thing I’ll say is that the screen is better than I was expecting, sure the resolution is small by real laptop or desktop standards, it’s positively roomy by iPhone standards. I think this would make it a usable web browser, but the keyboard is a waste of space, you can’t useit for serious typing. Take the screen from an EeePC, rotate it to portrail, make it multi-touch, add OS X iPhone, and make thinner, then you’d be on to a winner IMO! For ultimate p0wnage, add support for a bluetooth keyboad … oh … and sell it for the price of an EeePC :)

I’m a huge fan of the BBC, they make some of the very best TV programming in the world, and they’re record on April Fooling is also top-notch. Probably the best known BBC April Fool dates back to 1957, when a report on the bumper Swiss Spaghetti harvest hit unsuspecting Briton’s screens:

1957 is a long time ago, but last year they showed they hadn’t lost their touch yet, this time, we get to see Pengiuns fly!

If you think that looked like a lot of hard work went into making it, you’d be right!

Hopefully they managed to best even flying Penguins this year!

A Short Tribute to Mort Lachman

Filed Under 42, Mac, Photography on March 20, 2009 | 1 Comment

The single best thing about being involved in the Mac community is the great people you get to meet (all-be-it virtually). This evening my thoughts are with one of those people in particular, Robert Lachman of Photography and the Mac, Mac Review Cast, and NosillaCast fame. Over the past months I’ve really been enjoying a series of photos Robert’s been posting to his blog. They’re pictures of the great Bob Hope taken by his dad, Mort Lachman, who was on of Bob’s main writers. The photos are fantastic in their candour and lack of any pretentiousness.

I was very sad to read earlier in the week that Mort was in hospital having suffered a heart attack, and even sadder today to learn that he has passed away. Robert has posted a fantastic video on his website, which I think serves as a wonderful tribute to his Dad. I also think everyone should check out Mort’s great series of Bob Hope photos, they really are something special.

If you read this Robert, you and your family are in my thoughts at this difficult time in your lives.

NUI Maynooth Fire Update

Filed Under 42, Photography on November 30, 2008 | 2 Comments

Since the weather was good and I really needed some fresh air I took my proper camera down to NUI Maynooth to take some descent pictures of the devastation caused by last Friday’s Fire. It’s probably no surprise but there were a lot of people doing the same! I also met one of the dinner ladies who was on duty when the fire started, she’d come to have a look with her partner. She explained how it had started at the back of the building, apparently where workmen were felting the roof, and spread rapidly though the whole building.

I’ve added the best of my images from today to the Flickr gallery I started on Friday.

Click for more pics

keep looking »