• Cure for your iPad's Safari Slowness Blues

    My iPad 2 has been serving me well for a year and a half but I recently noticed it getting sluggish.  More specifically, using Safari became like pedaling in hummus.  Opening a new tab or selecting the Search or URL bar seemed to be consistently taking two or three seconds.  I resigned myself to life like this for a while until I accidentally clicked the double arrow on the right side of the OS X Safari’s Bookmarks Bar.

    The bookmarks grow fast when all you have to do is hit Command-D

    Having too many links in the bookmarks bar will wreak havoc everywhere if you're syncing over iCloud

    It took a few seconds for my laptop to display all the entries.  At that point I reasoned that my bookmarks, synced via iCloud, were causing the sluggishness.  A trip to the Bookmark Manager showed that there were roughly 700(?!?!) first level items in my Bookmarks Bar, along with a dozen or so nested folders with a few hundred more items.  I dragged nearly everything in to the Bookmarks Menu and it instantly solved the problem.  I opened the iPad and the problem was indeed solved there as well, all was lightning quick again.  Interestingly enough, the ‘normal’ bookmarks menu in both the OS X and iOS versions of Safari seem to have no trouble with a large quantity of links.

    TL;DR – Too many links in the Safari Bookmarks Bar slows everything down.

  • Getting NSNumberFormatter to Display Currency

    When working on a little cocoa app today, I ran in to a somewhat perplexing problem where I could not get currency-formatted values to display in my NSTableView.  Using interface builder to add a number formatter to my text field and set the style to currency, I set the text value and… nothing.  Turns out that the formatter only wants double values, so use double values

  • BitCoin, Now Accepted by WordPress

    Just saw an interesting post on the official WordPress.com blog that they are now accepting payment in BitCoin.  Interesting.  This definitely brings the technology a huge step closer to legitimacy (and much-needed public debate) and comes right on the heels of an article this week that made mention of Reddit looking into accepting BitCoin for its Gold accounts.

  • Betaville Media Coverage

    Since the BBC published an article on Betaville last week, we’ve gotten a good bit of Media coverage.  Some pieces have just been snippets of the original BBC piece while others have really explored the ideas behind Betaville and provided genuine reflection; Cool stuff!  I was invited to give another interview about the project last week, this time to The Metro (London).  This morning I was greeted by their article and figured it was probably time to put links to a few of these articles in the same place.

  • PostgreSQL 9.1 Remote Access

    Concise instructions for setting up remote access to a fresh PostgreSQL 9.1 installation on Ubuntu 12.04 because I’m tired of googling every other month for it.

    In /etc/postgresql/9.1/main/postgresql.conf

    listen_addresses = '*'

    And in /etc/postgresql/9.1/main/pg_hba.conf:

    host    all     all      md5

    Note that this is horribly insecure, letting any user connect to any database.. It’s just an example.

    Finally, restart Postgres.

    sudo service postgresql restart