Welcome to my soapbox


This is the place where I post my thoughts. Usually on photography. I won't post regularly, but at least I'll try to be entertaining and relevant. Please consider subscribing to this blog.
Subscription is free and it will help you stay up-to-date at all times.

rss Subscribe to this blog using RSS | via email

»
Show all articles

Busy. Productive. Fun.

Ooookay, back from the second big trip this year (the first one was the Everest Trek in April/May) - and what can I say? It was fun, and it was extremely productive. Here are some of the highlights:

 

First I spent a day at Joe McNally's lighting workshop (watch the video here), and then the Brooklyn Cookin' Workshop with its truly different concept was not only a great learning experience for everyone, I also ended up gaining about two pounds of weight. Oh well. If you want to know what the workshop is like, it inspired participant and professional designer Alan Barnett to write three blog posts about it (read them here, here and here). » Brooklyn Cookin' workshop

 

San Francisco Street Safari 2010 - 17 photographers and one wonderful city. This is one of my favorite workshops, as we get to go out and spend time among the great people of San Francisco and take pictures of strangers. Watch the video to find out how much fun everyone had. » watch the video in HD

 

Photo Day 2010 at the TWiT Cottage... - Between the travel and the workshops I had the great chance to drive up to Petaluma once again and take the stage in front of Leo Laporte's cameras to talk with photographers. Photo Day 2010 was great, the guests were awesome and video of the event will be published soon. While you wait, why not watch the Photo Day 2009 videos?

 

... and the San Francisco Apple Store - I also had the chance to speak at the Apple Store on Market Street in downtown San Francisco. I used the opportunity to talk about some of my work, and as the entire week had the overarching theme of people photography, I chose to present my work from the last two Everest Treks.

 

And last but not least, on my more elcectic side, I've shot another one-minute-in-the-life-of video. About a big bridge. Watch it here. (Like it? Here are a few more: kite surfers, night ride, shallow dof, tea, more tea and toothbrushes)

 

Okay, I guess I'll crash for a few days now.

 

What was the highlight of your last two weeks?

View Comments

» Show all articles

Two days with the iPad

I know I know, I'm pretty late to the game, but hey, I'm in Germany and Apple decided to let us wait. I have spent two days with the iPad now, and I think that is enough time to form an opinion, so here it is.


You can't form an opinion from blog posts or from spending 30 minutes with the device! I spent about 30 minutes over the weekend to play with various people's iPads. It was fun. I liked it. Then on Tuesday my own iPad arrived and I have now had two days with it. Spending two days with one is definitely different from spending 30 minutes with it. I am looking at it with different eyes now. There are many little things that you can't grasp in a short time. Especially not if you stay at a level where you only compare features and leave out all the interaction details that make or break a device. Let's face it: the most complete feature set can be useless if the interaction with it is broken.


Flash? Didn't miss it in the past two days. Yes, I ran into the odd website that was 100% flash, but it was never something that couldn't be easily worked around. A lot of embedded videos (especially those from YouTube) are now HTML5 anyway, and those play just fine embedded into web sites.


Battery? The advertised 10 hours of battery life are pretty accurate. As with most Lithium Polymer batteries I expect things to become even better after a few charge/discharge cycles.


Weight? It is a bit heavier than I thought it would be, but after handling it for two days the weight is basically a non-issue. Reading in bed works, but not with holding it up above my head. Same as with a big book. Lying on my side with the screen locked is great.


How to hold it? The iPad is a new class of device. Yes, there were tablet computers in the past, but they were the size of laptops, none of them was ever this thin and had such a large screen. Which means we will have to come up new ways of holding it. When sitting down I tend to prefer the landscape orientation holding it with both hands, using my thumbs to interact. A lot of apps and games seem to follow this model quite well, so most of the time it's very convenient.


I can totally see the upcoming iPhone 4 with its super high-res display to take the "reading in bed" spot.


Which case? I don't have a case yet, but played with the Apple case on the weekend. I like the fact that it can easily be used to put the iPad on a flat surface at an angle in horizontal mode. I've been propping the iPad up exactly the same way here on my table and it felt very natural. I also like the flip-over cover, easy access is king.


Consumation or production device? The iPad is awesome to consume content. I like reading on it. I like watching videos on it. I don't really use it a lot to listen to music a lot. I downloaded some magazines (Spiegel, Popular Science, brand eins) and Zinio (a magazine store) to test the interaction model. Everyone is doing their own thing right now, and I guess it'll be a while until some sort of a standard emerges. Or maybe they don't want that to be different.


Production-wise I got Pages, Keynote and Numbers and I played with all three of them. Easy enough to manage, and I can totally see myself using them. Let's see what the next 6-hour train ride will bring. From a photography point of view I can see myself importing selected pictures on the road (I'm still waiting for the camera connection kit) and putting some touches on them right where I am to show a customer an idea or a concept. Or to do a quick upload to flickr. But then this is early days and I didn't really have the opportunity to put that side of the iPad to the test yet.


On-Screen Keyboard Usable. I touch type and as long as I can get the iPad into a comfortable position (see Apple case above) I can type quite well. Maybe at 50-70% of the speed I would get on a hardware keyboard. Good enough to answer emails or even write longer texts. Painting brush strokes into a picture during editing (for example with Filterstorm) is fun and easy.


Apps! The iPad would be nothing without its apps. Here's a small of mine: AirVideo (plays my video collection over the air), 1Password (stores and protects all your passwords and more), Outliner (does what it says, syncs with iPhone version, has a web interface too), Evernote (I love the iPad version), Osfoora (great Twitter client), Pinball HD (bye bye productivity..), GoodReader (get and read your docs from virtually anywhere), Photogene (image editor), Filterstorm (more control over local picture changes), Delivery Status (very useful and beautiful, Junecloud's design rocks), WolframAlpha (yey, big screen geekiness), Pulse News (a beautiful great approach to news reading).


There are probably more to come, but hey, I've only had it for two days...


Two apps I hope will be out as iPad versions very soon are Pocket Informant (calendaring, gtd-style todo management, etc.) and Reeder (Newsreader that syncs with Google Reader. I've briefly played with a beta on the weekend, it rocks!)


iPhone apps They work. Some of them scale up nicely, some of them are better used in their native resolution. Switching between the iPad keyboard and the iPhone keyboard on the same device is awkward. Many iPhone apps will upscale much nicer soon, as Apple has come up with some easier ways to make higher-resolution artwork available for developers even in standard iPhone apps. This is a side effect of the higher-res iPhone 4, but the apps will look much nicer on the iPad then too.


Games Yes, games. The iPad is a great gaming platform. Pinball HD is fast and fun, play Flight Control HD together with someone else on one iPad, and Mirror's Edge is exciting and really well done. Can't wait for all the great titles that will be released on the iPad!


My conclusion is this: The iPad is an awesome media consumption device, and it has a huge potential to become a production device as well. Not on the level of your Mac Pro, it doesn't have the horsepower for that, but that's not what it was made for anyway. It's all in the apps, we see that with Apple's own apps Pages, Keynote and Numbers. All three of them are capable and follow a new interaction model. We are already seeing a lot of promising apps that take advantage of the zippy hardware and bring with them a much more natural interaction model than it was ever possible with the mouse-screen disconnect. I'm happy with the iPad, and being able to say that after just two days, I know I will enjoy it even more as the platform evolves and new and well thought out apps come along. And looking at the simplicity of the just-point-your-finger-at-it interface, I know that the iPad will open up computing to a whole new range of people who up to now had all the reason to be afraid of computers, even of Macs.

View Comments

» Show all articles

Kodak zi8 modding

20100326_003.jpg


The Kodak zi8 is a small HD video camera that I bought for the 2010 Everest Trek. It won't be my only video camera on the trek (there will also be the 5DMkII and the Sony HC7 that I used to shoot the 2009 Everest Trek videos), but thanks to the size of the zi8, it has the best chances to always be within reach, just a pocket away.


But it's not wide enough. And it doesn't come with any accessories, no wide angle lens, nothing. The closest focus distance of the zi8 is too long to shoot video of myself talking while holding it at my outstretched arm. And I was planning to do that. My arm is too short, or the camera is just not designed to allow that.


Anyway, instead of whining I thought I'd better do something about it. I remembered a camera mod I saw a while ago where someone attached a wide angle extender to a camera like this and after some searching I found a magnetic one designed for point-and-shoot still cameras on eBay for EUR 9.99 - and decided to give it a go.


I was a bit surprised when it worked quite well. Okay, it's not actually movie quality and there's a bit of blur toward the corners now, but it effectively extends the field of view to almost twice the original amount for a relatively small visual price to pay. At least if the material isn't used at 1080 later on. And it reduces the focus distance too! Now my arm works just fine and I can record myself talking without having to carry any special accessories.


Attaching the metal ring to the camera that would then allow the magnetic lens to easily attach turned out to be a bit of a challenge. My initial attempt using hot glue wasn't very durable and it came off within a few days. I finally tried epoxy and now the magnet mount is rock solid, almost as if it was an original part of the camera. Maybe I'll color it black for it to better blend in. Maybe not.


My other two zi8 modifications were to put some black duct tape over the red recording light (it draws way too much attention) and to attach some audio foam in front of the microphone to make it less susceptible to wind noise. Works like a charm and now the camera is finally really ready to go on the trek.


Here's an early test:



And here is a link to a short video that I shot with the camera the next day (sorry, it's in German only)

View Comments

» Show all articles

Hardware Killer

macpro.png

For months and months all your gadgets work like a charm, then all of a sudden everything breaks at once. Ever happened to you?


It's pretty clearly my turn right now.


It all started with my trusty HP B9180 photo printer. It behaved nicely for about two years, then all of a sudden gave me a blank stare and a nasty SERVICE STALL message on its display. I tried Google and everything to find out if there was an easy way to reset something or clean a specific part that was causing this, but to no avail. No warranty of course. So I was really pleased to find out that HP has an out-of-warranty replacement program in place, where you get a refurbished or new machine for some €130,-, which is not too bad given the price of a new unit. The replacement printer arrived without any accessories, only a set of ink cartridges and a pack of paper for the print head alignment and color calibration. First I had to move the print heads from the old printer into the new one though.


Slightly unnerving fact: from the time I filled out the replacement form to the time the replacement arrived, the process took more than two weeks, which means some of the printhead nozzles were actually clogged now, because the printer wasn't able to do it's daily quick maintenance cycle. Bad process design HP, someone should've put a bit more thinking into this. Took me almost the entire set of inks, some manual nozzle cleaning and an additional 10 sheets of paper until the print results looked good again.


What I also found out in the process is that the B9180 seems to be discontinued now. Looks like HP is pulling out of the prosumer photo printing segment, and that's a pity because I really liked this printer and what that means is once this unit breaks, I'm out to find something else from a different manufacturer.


Next up: Mac Pro. My workhorse. My Precioussssss.. after almost three years of tugging along like a real worker bee, it died. Just like that. Click. Off. Turns out the power supply was gone. Which is a good thing compared to the bill a motherboard replacement would've come up to. Only €240,- in total. Plus 1.5 hours of driving time of course, because that's how far away the next official Apple partner repair shop is from here. A bargain!


Now they say that all good things come in threes.


What's next? Got a good guess? Leave a comment!


View Comments

» Show all articles

Who needs a camera profile?

It's pixel peeping time again. And today's question is: How accurate do the colors in our pictures have to be?

Compare the following two images and then tell me which of the two is more accurate.

Adobe-Standard-profile-neutral-WB.jpg

ColorChecker-profile-neutral-WB.jpg

Hard to tell, right? Both images are based on the same RAW file from a Canon 5D Mark II, managed in Lightroon, neutrally white-balanced using Lightroom's WB eyedropper on the middle grey patch in the lower of the two rows of grey patches in the color chart on the top. Both files were then exported to JPG with sRGB profile embedded. The only difference is that the top image uses the camera profile that Lightroom assigns to camera images by default ("Adobe Standard"), and the second image is based on a custom-built camera profile based on the ColorChecker card present in the image.

(Note: Lightroom's "Camera Profiles" are not the same as ICC profiles)

The differences between the two images are subtle indeed, the camera and the Adobe Standard profile that gets applied in Lightroom do a remarkably good job, especially with a custom white balance. In fact I'd happily use this outcome for all sorts of professional projects (and have actually done so in the past) - as long as the spectrum under which those pictures have been shot is at least somewhat daylight-ish. With daylight-ish I mean an as full as possible spectrum, one that you'd get outside in the shade at 3pm on a summer's day. Not one that you'd get from a yellow sodium light at the side of the road.

So the question is: why would anyone want to use a camera profile if the output is as good as it is?

Let's first take a look at what profiling does. Consider the color chart in the image below.

ColorChecker-profile-neutral-WB-2.jpg

In the lower half it shows four rows of color swatches, and all of these are very precisely manufactured to be of a very specific color. Whenever you take a picture, there is an analog process involved where photons hit light-sensitive cells that accumulate a charge based on the amount of photons, and are then read by circuits and converted to numbers. These numbers are then read by software, magically converted into other numbers and finally interpreted as colors and translated into brightness levels of individual red, green and blue pixels on a screen. Or converted into various amounts of cyan, magenta, yellow and black ink and squirted onto paper. It seems like a miracle that in the end we get to see our pictures at all.

But I guess you get the idea, it's a very complex process with quite a few areas of variability, and in order to make sure that we get consistent results, a profiling process can be of great value.

So back to the color swatches. The manufacturer knows pretty much exactly what color values the individual swatches have. If you shoot a picture, it's very likely that your camera and the attached software don't interpret the colors exactly the same way. Blue tones might be a bit more violet than you saw them, greens might be a bit less vivid and reds might be slightly over-pronounced. In an every-day snapshot type of situation this is no biggie, in the analog world, this is even the norm, because every film you choose will have different color and contrast characteristics, but we're in the digital world here and what if you want to get just that little bit more accurate?

Here's where the profiling software comes in. It looks at the picture, finds the swatches (that have been shot with your specific camera under specific light conditions and therefore look slightly different than expected) and it can easily tell that the blue in your picture is different from what it should be and the green is too bright and the red is too dark and so forth. Based on this information the software builds a profile, which in fact is just a lookup-table with mappings from wrong to right color.

All in all this used to be a tedious process that required a great deal of care, expensive software and hardware, and could only be afforded by the professionals who had to get color exactly right, for example in areas like product photography.

Enter ColorChecker Passport by x-rite. After reading up on it and receiving a few recommendations I've finally spent the 100 bucks for this little gadget, and I must say I pretty much instantly fell in love with it.

The chart comes in its little rugged plastic case, so the delicate color swatches are well protected, and it can be swiveled so you can set it down and it will stand by itself.

And if you are a Lightroom user, the process couldn't be easier. In fact this solution is built around Lightroom and RAW and it won't make much sense on its own.

All you have to do is install the software (make sure you download the latest version from their website) which adds an export plugin to Lightroom. Then during your photo session (which ideally takes place under consistent light conditions) you shoot a well-exposed reference picture of the ColorChecker chart and that's all you need to think of during shooting.

After importing your pictures into Lightroom find the one with the ColorChecker, and export it using the ColorChecker export preset. Within less than a minute the software will analyze the picture, find the ColorChecker automatically, create a new profile and prompt you to restart Lightroom to make it aware of the new profile.

Now all you do is switch to the develop mode, select the newly created profile from the Camera Calibration section and you're mostly set. For more accuracy you can also white-balance based on the grey swatches in the upper chart, the bottom middle one is neutral, the ones to the right create warmer tones, the ones to the left make the image slightly cooler.

Still sounds difficult, but after working with it for 5 minutes it was second nature.

This is the first camera profiling solution that I can envision using regularly because it's not only fast, it also almost seamlessly integrates into my existing Lightroom-based workflow.

Move your mouse over this picture to see the differences the profile can make:

ColorChecker comparison

Is the difference so big that I'll from now on use it everywhere I go? Absolutely not. It's great to get that extra bit of accuracy where it's needed, and it's definitely quick and simple enough for me to use, so it'll be more than just a paperweight (believe me, I have too many gadgets that I don't really use because they are either too complicated or because they don't add enough value to my photography). It'll clearly help me get better colors in some situations where the light spectrum is difficult, but on the other hand there are many light situations that I don't want to correct for, many of them for creative reasons, so that's where I will happily leave it in the camera bag or at home. And this is true for both my personal projects as well as customer projects.

Is it as accurate as the bigger and much more expensive systems? Probably not. I've never had the need to work with one of those, and with the type of photography I do, I doubt that I ever will. But under light sources with an uneven spectrum (fluorescents for example) it's clearly more accurate than just using the good old white balance and it renders very pleasing colors. It's a logical next step that is lightweight enough in its approach.

Is it for everyone? No. It only makes sense if your workflow is RAW + Lightroom. There it integrates nicely and takes a lot of pain out of the camera profiling process.

Will you be a better photographer if you use the ColorChecker Passport? Let me ask you this: Has buying that new lens made you a better photographer? How about that new camera body you got for yourself last Christmas?

In short: nope.

Photography is still about capturing wonderful moments, telling stories with your pictures and making an emotional impact.

And I would even go further and argue that getting more accurate and neutral colors in your pictures can do both, help the story and the emotion or be completely in the way of telling the story that you want to tell.

Try to imagine the following images perfectly color balanced - I bet you most of them would lose their impact right away.

_MG_1620.jpg _MG_2808.jpg _MG_3534.jpg _MG_3620.jpg _MG_6410.jpg 20090829_046-1.jpg 20100111_095-Edit.jpg CRW_6018.jpg IMG_9473.jpg
View Comments

» Show all articles

A BUNCH OF LINKS

D936565A-9361-4A7D-9B8C-39C4801FBE52.jpg

Yeah, it's all in caps. Because I can :)

A BUNCH OF LINKS is the newest project. Actually it's not a big project, it came to me one night and didn't let go of me until I had it finished. Call it a newsletter or a monthly email or my personal digest of photo-related stuff that I stumbled across over the last weeks.

Because that's exactly what it is: I spend an awful lot of time trying to stay on top of news, blogs, press releases, web sites. Most of them circling around photography, visual stuff, technology. And out of that comes a ton of links. About once a month I grab the best of those links, somewhere between 5 and 10 to keep it at a manageable size and wrap them up nicely in the A BUNCH OF LINKS newsletter and send that out to you.

And anything goes. Sometimes tech, sometimes art, sometimes just a great picture I ran across, sometimes videos, sometimes even totally silly stuff. My criteria are simple:

1. If I don't like it, it won't make the newsletter
2. There is no 2.

The monthly frequency isn't fully established yet, let's see where this goes. But I promise you can always easily and quickly unsubscribe.

» To subscribe, go to the home page
View Comments

» Show all articles

Yubby: another enabling tool

Video is wonderful. It lets you develop this quick feeling for something, usually much quicker than reading through paragraphs of copy or listening to lengthy audio. And social video is even cooler, as it lets the producer get his video out to so many more people, and collect inputs and get social linkage, and sometimes... very rarely, one might even go viral.


The flood of video sharing sites also has its drawbacks of course, as you might eventually end up with quite some fragmentation as to where your videos are. I sure experience that. Some videos are on Youtube, some are on Vimeo or Blip.tv, just to name a few. And pulling those together into a coherent user experience has been pretty difficult in the past.


Has been.


Because now there is yubby, a free online service that lets you quickly and easily create a channel with videos from all types of sources, that you can then embed in a web page as a widget.


I have just done that. Thanks to its great search capabilities and somewhat consistent tagging of my videos, it took me about five minutes to pull together a channel of the videos that I (and others) produced at various workshops, and place it on my main workshop page.


Yubby lets you then choose one of several ways to present your videos, from a grid down to a small player, which is the one I opted for. I should actually even be able to embed it here. Let's try.




See? It's that easy.


» The widget in action on the workshop page

» yubby.com


View Comments

» Show all articles

How to organize the 2010 workshops

workshops.jpgWorkshops, workshops, workshops... 2009 was such an exciting year in so many respects and I am very grateful for being able to do the things I do.


With Brooklyn Cookin', the workshop that I held together with Chef Mark, this year's season is now over, and what a great final workshop that was. Both Mark and I found that we'll have to do a workshop along the same lines again next year. The concept is perfect: the target audience is couples where one half is into cooking and the other half is into photography, and here they have a way to learn and spend time together.


Even though this year is over from a workshop perspective, it actually isn't. At least not for me. I am going to spend most of November preparing everything for a smooth 2010 launch. My goal is to have everything ready by December. And there are a lot of things to be worked on. Luckily most of my workshop locations are already nailed down, some helpers need to be briefed, and then there's the whole registration process. I have looked into offers in the cloud, but there is no workshop/seminar management system that even remotely seems to fit the bill.


All I need is to manage the registration process and payments for about ten workshops. Internationally. With deposits. And limited number of seats. For a decent price. And no, in an economy where everyone needs to think twice before spending anything, I consider taking 10% of the workshop fees *not* decent, because that would eventually increase the workshop price by that same amount.


So in short, I haven't found a good and easy way to automate this yet. Which is why I've taken things to the cloud in a different way for 2009 and why I'm going to go even further in 2010. In short: I'm using online services and forms to handle the sign-ups, I have simplified the confirmation and registration process using Services on Mac OSX Snow Leopard, I use PayPal to handle the bulk of the payments, and I use my own time to keep it all together. Not ideal, but workable. The KISS principle applies. Keep it simple, stupid. I don't need a full-fledged database to handle a couple of hundred participants. Every participant ends up in a spreadsheet with a status field depending on where in the registration process they currently are, and if I need to send out a bulk mail to all participants of an individual workshop, a simple copy/paste of the email address column for that workshop will do just fine.


The biggest item are the workshop pages on the web site. This is where everything is supposed to come together in a nice and easy to navigate way. I have spent hours and hours to design something that ties together everything from basic information about the workshop ("why would I want to come to this workshop?"), the agenda ("what are the workshop details?"), timing ("when does the workshop start and end?"), accommodation ("what hotel is near by?"), navigation ("how do I find my way to the workshop?") and pricing.


Obviously I design this once and duplicate it for all the workshops, but the content will be different for each workshop. The overview, the detail description, the example images, the example video, the FAQ. And the language.


So I guess I better get busy and finally start tying all those lose ends together to bring you not only an excellent 2010 workshop season, but also a great experience when it comes to finding the right one for your needs and going through the registration process.


If you want to be notified as soon as the 2010 workshops are ready, please make sure you are on the newsletter (get the newsletter here).


Got a way to help me simplify the registration process? Leave a comment!

View Comments

» Show all articles

Making better content thanks to your vote!

planner.png

I've just found the solution! You can help me save a lot of time, which in turn will allow me to concentrate more on the production side of my shows instead of the planning side. And it's simple: all I need is the help of 94 of you clicking a vote button.

update: just one day later and 34 of you awesome individuals have already clicked. thanks!!

Okay, hear me out, my logic on this is impeccable, I'll just need a few sentences to explain.

If you've read this post about my new iPhone calendar app you know I've become a big fan of Pocket Informant on the iPhone. And you also know that I am still searching for an app to help me with year planning. Each year around this time I'm knee deep into planning next year's workshops. And each year I spend hours trying to find out if anyone has written an app that will help me doing that.

I have very simple needs:
- a view that shows me the entire year with my workshops as time blocks
- a fast and simple way to move around these workshops
- calendar data linked/synced with my existing calendar (currently Google cal)

There is no such application for the Mac. Or the iPhone.

So every year I fall back to a stone-age year spreadsheet and changing cell background colors to indicate events. This takes time. Lots of it. And this is valuable time that I can't use to bring you exciting episodes of TFTTF, HS, Daily Photo Tips and so forth.

Here is where you come in.

If you're a fan of any of these shows, or the workshops, you want to help me finally get such a year planner, right? (See? I told you my logic was impeccable!)

But this is not just for me, it's useful for everyone. Plan out vacations, keep track of your kids school projects. Name it.

So you can imagine how happy I was to find the Pocket Informant feature request list. If anyone can pull off that year planner feature, it's these guys with their mad coding skillz! The feature request list is powered by Uservoice and you can vote for features. Three votes per person and feature. 280 votes to get to the top of the request list and a chance to be looked into. 280 / 3 = 94 people.

Please help vote this feature request up to the top of the list!

Instructions


  1. Go to the log in page of the voting site

  2. Click the login provider of your choice (Google, Facebook, Twitter, Yahoo, OpenID,...)

  3. Once logged in, enter "year planner" in the search box

  4. Click the vote button next to the "Year Planner" title and leave three votes.



Let's move it up to the top of the list!!
View Comments

» Show all articles

Textexpander and YOURLS

shot106.jpgHere's another post that's not about photography. I promise, I'll stop talking about geeky infastructure as soon as finished testing my latest acquisition: a sensor loupe and a Sensor Klean .. errr.. sensor cleaner.

This post is about some more recent infrastructure changes though that I put the finishing touches on over the weekend. Did I mention last weekend I was super productive with both, fixing my iPhone and switching my calendar infrastructure? Oh, I have? Never mind.

I recently installed my own URL shortener. It helps me paste short links into Twitter or other short form communication, it lets me get some basic stats on these links, and in general I get a lot of fun out of dabbling with these sorts of things. If I can find the time for it. Luckily I didn't have to write my own solution, as there is YOURLS. And as I happened to own the tfttf.com domain, which is reasonably short, I thought "why not?" and went ahead. It works flawlessly.

The other tool that I wouldn't want to miss is Textexpander. It runs on the Mac and what it does is simple: it replaces short strings with longer ones as you type. So if I send out an email to someone in Germany, instead of copying/pasting the signature for that, I type siggg and Textexpander automatically replaces that with my full German email signature block. For the English signature I use sigge. To insert the current date I defined the shortcut ddate and so forth. A big time saver and totally transparent. Works system wide.

Textexpander can execute scripts too. And this is where the magic starts. It comes with a script to shorten URLs using bit.ly. All you do is copy a long URL into the clipboard (CMD-C) and then type /bitly at the place where you want the short URL to be pasted.

/bitly is the trigger for Textexpander to execute an Apple Script that takes whatever is in the clipboard, hand it to the bit.ly API for shortening and returns this to wherever the cursor was.

If you are as keyboard-focused as I am, this is bliss. (And believe me, I am keyboard-focused. I even use the jkhl keys in vi so I won't have to move over to the cursor keys and leave the 10-finger base position on the keyboard)

Long story short, I have adapted said AppleScript to run in conjunction with YOURLS and it works like a charm.

» download the script here (instructions inside)

And that's it. If you have YOURLS installed and use Textexpander, this ought to make your life quite a bit easier. It sure does that for me.

And please note: I'm not an Apple Script developer, this script is part of the Textexpander distribution (I hope I'm not gonna get into any trouble by posting it here in its modified form) and I merely adapted it ever so slightly for use with YOURLS. I will not be able to provide you with any scripting support whatsoever. Believe me, you really don't want me to give you scripting advice...

View Comments

» Show all articles
See Older Posts...

rss
Get updates to this blog
using RSS | via email

» Blog homepage

Categories:


© 2009 Chris Marquardt   E-Mail Me