Today two of my servers went down. It turned out, that the datacenter they are hosted in had a slight connectivity hiccup – nothing serious. While I was battling my monitoring system and frantically typed support tickets, I wanted an audible alert if the hosts where reachable again in the meantime.

That’s when I thought of OS X’s text to speech system and devised the following little shell script.

https://gist.github.com/florianbeer/8c1e0a56bc306d603987

It will announce that the host is back up with your configured standard voice as soon as there is a ping response and then quit. Just copy it in your .bashrc file call it with the desired hostname or IP address, leave it running in a Terminal window in the background and turn up your speakers.

hostup no-panic.at

XBMC's home screenThis is an update to an older post: My perfect TV setup

I recently upgraded the whole media consumption set-up in my apartment. This post describes all of the different aspects, hardware and software components in use.

Hardware

  • Mac Mini – this is the main hub of the whole operation. It sits in my living room, connected to sound system and projector.
    Specs: 2.3GHz i5, 2GB RAM, 500GB HD, Intel HD 3000 Graphics.
  • Apple TV – the new 1080p one. Connected to the LCD TV in my room.
  • iPad – also the new one.
  • Projector – still the same old one that won’t die. Only 720p, but I refuse to replace it before it has reached the end of it’s lifetime.
  • Logitech Harmony – universal remote to control the cable box, sound system, projector and XBMC (via Mac Mini’s infra red port) in the living room.
  • 2TB harddisk – connected to Mac Mini via USB.
  • 2x AirPort Express – connected to speakers in the kitchen and bathroom.

Software on Mac Mini

  • XBMC – with it’s recent Eden release and a few configuration tweaks the perfect, easy to use frontend for all my movies & TV shows.
  • Transmission – Torrent client with a nice web based remote frontend.
  • Catch – to automatically download new TV show episodes.
  • Air Media Server – serves media to iOS devices.
  • AirServer – receives AirPlay streams from iOS devices.

Software on iOS

Continue reading

With the introduction of Apple’s newest operating system OS X 10.7 Lion, the company has taken one step further to disconnect their users from other competing user interaction schemes.

Let me elaborate on this rather strong statement by going back in history a bit.
I can still remember, when I got my first Mac, it was a 12″ iBook G4 with OS X Panther. Being a rather curious person, I started tweaking the user interface and tested out all available options, until I was satisfied with the speed and metaphors of my personal set up. On thing that I started using very frequently almost immediately was Exposé (now extinct due to Lion’s Mission Control). I had several hot corners set up, so windows would fly out of the way and reveal the Desktop whenever I moved my mouse in the lower left corner of the screen or reveal all opened windows when I moved to the lower right corner. This method of interacting with my programs quickly became very natural to me. Going so far, that I started moving my mouse into corners on Windows systems several times in vain, until I realized that I had to use the taskbar for those similar tasks. This wasn’t more than a little annoyance to me. I just found out that OS X permitted me to work faster than what I’d be able to achieve in the rare cases, where I’d need to use another system.

But the problem also ran in the other direction. People not used to Mac systems and their concept of hot corners seemed to have a much more clumsy way of moving their mouse around on the screen. Thus they inadvertently triggered the “Show Desktop” or “Show all windows” functions all of the time and were completely irritated by windows flying around all of the sudden. I merely laughed about that fact back then, but from my point of view today, that’s where the gap began to widen. I was used to a UI paradigm, that wasn’t logical at all for users not familiar with OS X.

Skip a few years forward and now we’ve got OS X 10.7 Lion with many more ways of interaction, that are nowhere near to be seen on any other platform. Take gestures for instance: they save a lot of time and clicks when used properly, but setting ones muscle memory further apart from the rest of computer users, who don’t have or use gestures. Now this isn’t a very big problem, because gestures need special hardware to be applicable and add new ways of interaction that don’t overrule the way of using a computer you got used to before. A much bigger problem could be the way Apple changed the scrolling direction in Lion. They call it “natural scrolling” and if you think about it, it makes a lot of sense and there isn’t much of a learning curve, once you’ve wrapped your head around it. But think of the ramifications that arise when others happen to sit in front of your computer or if you want to use another persons system.

If I think about a typical day at work, there are several times when a colleague  might sit down at my Mac to look something up, load some spreadsheet or notes about what we are just discussing, or similar examples. In the past this was no big deal, they might only be annoyed by triggering hot-corners or when they searched for the “close window” button on the wrong side of a window’s title bar. But now there is also the reversal of scrolling, which not only is new and “weird” to them, but is completely contradictory to how the same metaphor worked for them over the last decades.

Don’t be mistaken, I’m not against the new “natural scrolling”. I’m getting used to it rather quickly and enjoy how I can now interact with content more logically. But on the other hand it will make it more difficult for me, whenever I have to use a Windows or Linux Desktop and now even when I use an older OS X system. At the same time other users will find it more irritating and difficult to use my machine. It will be interesting where this will take us in the future. Will the gap grow even more? Or will operating system manufacturers decide on a common ground for user interactions?
I don’t mind adapting to the new principles Apple comes up with, as long as they make sense for me and help me interact with my computer in a more efficient way. But this also means I’m separating myself further from the herd (aka millions of Windows users), which might not be entirely bad in itself 😉

Boxee

There’s a new version, read about it here!

Finally I’ve accomplished to free myself from TV schedules, advertisments and all the other stuff that’s just not right anymore about commercial TV broadcasting. This post will outline which hard- & software is involved in my perfect TV setup, so you can attempt to rebuild it in your home.

Hardware:

Software:

Transmission

So how did I chain it all together?

Firstly there is the iBook with?Catch pulling my subscribed TV shows from?showRSS. Whenever there is a new Release, Catch will download the torrent file and autostart it in Transmission. Then I have the 1TB drive connected via WiFi over Apple’s Timecapsule router and set up different groups in Transmission for each show (so they all have a defined save location). Whenever a file is finished downloading it will be transferred to the external drive in the show’s corresponding folder.

When I get home in the evening I can switch on the projector and the hacked AppleTV running Boxee and since I have “subscribed” all my shows in Boxee, it will tell me right on the start screen which new und unwatched episodes are available. Now I just have to select the show I want to watch. Ad-free, mostly in their english original language (and not the crappy, synced version in Austrian/German TV) and whenever I want.