July 2009
Keeping with the theme of using the software that comes with your Mac, I gave up using QuickSilver and other similar tools when Leopard came out. 10.5 made Spotlight much faster, and it now does 90% of what I was using third party launcher tools for.
I switched back to Spotlight recently. QuickSilver was nice at first, but it became sluggish to use over time. Since I feel at home using Terminal, a lot of QuickSilver’s awesome features were replaced with Bash or Python commands, so eventually all I used it for was launching applications.
A little context: my brother, who is 24, is a fucking tool…
This post will probably be completely uninteresting to 999‰ of you. If you’re a Python-coding MacBook user, however, it might be slightly less uninteresting.
So, to the Python-coding MacBook users out there: Have you ever been plagued by this little bastard?
SyntaxError: Non-ASCII character '\xc2' in file bloody_hell_not_again.py on line 123…
It turns up quite a lot when I’m not working with Unicode or Python 3. And it’s always on a comment line. I never thought too much of it before — if I delete the line and retype it, the error goes away, so it’s nothing to worry about, right?
Well, today I couldn’t stand it any longer. Invisible, nefarious characters turning up uninvited and breaking perfectly good code. I would not stand for it! I had to investigate.
After a quick Google search, there was much facepalming. As it turns out, the problem is caused by two quirks (or features?) of the MacBook keyboard:
I have to hit Alt-3 to type a #, because some fool thought it would be funny to include a key for § but none for #.
Alt-Space gives a non-breaking space (
\u00A0or\xC2).
So it looks like I’m just typing new comments too quickly. Another long-time mystery solved by an aha! moment and a minute with Google. Until I find a nice way to type # again, here’s a quick fix to replace non-breaking spaces in Vim:
:%s/[\u00A0]/ /g
Darkthrone – A Blaze in the Northern Sky
By waxy.
A tribute to “fair use” and the AP’s misguided crusade against the hyperlink. All content on this site was generated automatically from the AP’s own RSS feeds.
My favourite bit:
Sorry, we forgot to include your magic DRM beans.
Ted Dziuba. That’s all you need to know.
This is magnificent. (via kbkarma)
The CTO at Dudley H’s company had a startling revelation: there should never, ever be a need for technical support. […] Whatever the case, every client issue means that someone didn’t do their job properly and should strive to improve themselves…
Unbelievable. Welcome to Ireland, only country in the world determined to go backwards.
Welcome to the new reality TV show, I’m A Lapsed Catholic — Get Me Out Of Here…
Blut Aus Nord – The Alcove Of Angels
I threw together a crude little script to fetch all my tags and print out a sorted, clickable list. Here’s the result!
I’m not consistent about tagging: there’s 515 in total, but I’ve abandoned most of the top 10. I make a point of tagging music posts though, so it might be handy for finding bands. (First band on the list is Meshuggah. Big surprise there.)
Interestingly, since the tags are sorted first by frequency, then by date, the last in the list is ‘first post’. So meta.
Forgive me if I’m stating the obvious, but if certain people would just own up to their fascination with people, and especially people who live wild, transgressive, stupid, uninhibited, exciting, dangerous lives at the edges of the law and social convention, then maybe we wouldn’t have blurry polaroids of drugs, sex and crime, semen-stained collages and vandalized hotel rooms proclaimed iconic art…