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.
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.
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
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.
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.
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.
And in /etc/postgresql/9.1/main/pg_hba.conf:
Note that this is horribly insecure, letting any user connect to any database.. It’s just an example.
Finally, restart Postgres.