This has been annoying me for ages. Here’s the rather hidden means Facebook provides to block apps from sending notifications, etc.

  1. In Facebook, click the world icon at the top of the page.
  2. Click “see all notifications” at the bottom of the popup.
    • If you can’t find the world icon use this link to go to the notifications directly.
  3. Click on the X on the right side of the offending notification.
  4. Click change app settings.
  5. Select to notify NEVER.

These instructions were blatently stolen from the helpful Daniel Travolto.

I hate hate hate (did I say hate?) staring at black-on-white text on a monitor. When your whole day is spent in front of a computer, the glare from a bright LCD screen can lead to some pretty serious eye strain. So for any tool in which I spend a significant amount of time, I tend to adjust the colors to give my eyes a rest.

As a developer working in an IDE with syntax highlighting, this can become a time-consuming process as you hunt down every last textual variant in the options. Fortunately, the kindly residents of the interwebs have contributed their time to the following websites.

If you’re a Microsoft corporate sellout, check out Studio Styles (for Visual Studio).

If you’re an Open Source hippie code-hugger, give Eclipse Color Themes a click-through. There’s also an Eclipse plug-in for easy in-editor switching. Nice!

And for the love of Cheese and Rice, turn down the brightness on those monitors! Your eyes will thank you!

First things first, major appreciation goes out to Lars Vogel for his incredibly helpful tutorial on Android development. The last time I tinkered with all this, the best (only) online resources available were on the official Android Developers site, which is a great reference site, but didn’t provide the clearest guidance to get you up and running quickly. If you’re here to get started with Android Development for the first time, save yourself some headaches and head straight over to Lars’ tutorial. Thanks Lars!

Second, the folks at Google have simplified the initial setup and installation process. No more mucking around to download and install the SDK, then install Eclipse and install the APK plug-in, then tell the APK where your SDK is… all these dependencies can be installed for you from inside Eclipse now, and that awkward SDK configuration is handled for you. So thanks Google!

So, here are the steps I took to set up my Android development environment. FYI, I’m working in a VirtualBox VM with a sparkly fresh copy of Ubuntu 11.10.

  • First, open the Ubuntu Software Center, search for “eclipse”, and install the Eclipse Integrated Development Environment. (No need to install eclipse-jdt separately anymore, Ubuntu apparently gives it to you automatically now. Yay!) Note that it might take a while to download and install.
  • When it’s done installing, launch Eclipse.
  • Use Eclipse’s Update Manager (Help -> Install New Software…) to install the Android Development Toolkit plug-in.
    • First, be sure to add the software site for the version of Eclipse that you’re using (in my case, it was Otherwise Eclipse won’t be able to resolve dependencies when installing the ADT plug-in. I don’t know why this isn’t added by default, but it always trips me up.
    • Next add Google’s ADT software site (
    • Working with the Google software site, select the “Developer Tools” item and it’s four sub-items.
    • Click Next, and after Eclipse did some calculating, click Next again to confirm that you want to install the items you selected.
    • Then accept a couple of license agreements, and click Finish.
    • Eclipse will popp up a progress dialog, and do its download and install magic. *Note that in the middle of this step, I got a warning prompt asking me to confirm that I want to install unsigned content. Clicking “Details” revealed that it’s Google’s ADT components making Eclipse a little nervous. I clicked OK and didn’t look back.
    • When the installation completes, Eclipse should prompt me to restart (Eclipse, not the whole computer), which you should do.
  • After Eclipse restarts, it should prompt you to configure a copy of the Android SDK that it can use.
    • I opted to let it install a new copy of the Android SDK, and chose to install the “latest available version” (4.0.3 at the time I’m doing this). I left the default install location.
    • Clicking Next will lead to being prompted to let Google gather anonymous usage statistics on the SDK (your choice).
    • After a little bit of Eclipse progress-bar action, you should be prompted to Accept all of the SDK packages you wanted installed.
    • Then the Android SDK Manager will take over, showing a progress bar while it downloads and installs the SDK.
    • Note that only some of the SDK components are installed during this step. It’s enough so you can write and release an app, but there are other components for each API version that you’ll also want.
  • In order to install ALL the components for a particular API version, you’ll want to select them yourself in the Android SDK Manager.
    • In Eclipse, Window -> Android SDK Manager
    • Under the Packages section, check the box next to any entry or sub-entry that you want to install. I recommend just checking the box for each version of Android that you want to target, and let it auto-check all of it’s sub-entries.
    • Then click Install, and wait…
    • …and wait…
    • …and maybe put on a TV show until it finishes downloading and installing.

From here, I should be good to create a new android project. But that’s for another day…

This is a collection of links to various coding katas I’ve run across. I haven’t tried all of them, but probably will over time.

For anyone wondering what the heck a kata is, this article from Dave Thomas is a good place to start.

  • Dave Thomas’ Original 21 Kata - First is Dave Thomas’ post, which lists his original set of 21 kata.
  • “Vital Testing” - A set of six Kata used during Jim Weirich’s half-day session at CodeMash 2012.
  • NimblePros Kata - Ten kata, including bowling, fizzbuzz, greed, potter, and tennis scoring.
  • Gilded Rose Kata - An interesting refactoring exercise where some files/classes in the project are absolutely off limits to editing. The link above references a C# starter solution, but you can find Java and Ruby starters here.
  • EverCraft Kata - At CodeMash 2012, there was a full-day session on “Putting the D&D in TDD”. I didn’t attend, but got a link to a GitHub repo with the exercises from someone who did. Although not exactly a set of katas, it could still be an interesting set of exercises to go through.

Just upgraded to Ubuntu 11.10 Oneiric Ocelot, and found that Flash was no longer installed or working. Fixed it by (re?)installing restricted extras, though I was surprised I had to do this since restricted extras was installed prior to the upgrade. Oh well.

Also ran across this interesting post on “10 things to do after installing Ubuntu 11.10”. It’s focused on a fresh install, and was written based on the 11.10 beta, but everything still applies and may be a helpful reference in the future.