If you use both a system python (without virtualenv) and a custom python (with virtualenv), it can be a bit of a pain to get virtualenv to use the right python – and what’s worse, it can create subtle errors that are hard to track down. Thankfully, the solution is very easy, if you’re using…
It’s not perfect, but it’s better than what I had. (hat tip: @rands)
Security is hard. In fact, it’s pretty much impossible; it’s all a question of making your house look like it’s going to be more work to break in than there is gain to be had, and that going elsewhere will be easier. For the average house on the street, owned by the average joe, to…
The delightful Good Math, Bad Math blog discusses the often-misunderstood nature of depression. The thing that you always need to remember about depression – and which Benjy mentions – is that depression is not something which you can reason with. Depression isn’t a feeling. It’s not a way of thinking, or a way of viewing…
Another year has turned past. I read an article recently exhorting people to learn to do something in the next year well enough to astonish other people. I thought about that for a long time, and I realize that we do, regularly. Sitting still (at least intellectually) does not sit well, so we find new…
An excellent, insightful, and interesting read about, among other things, engineering maturity. The whole thing can be summed up with the quote at the end of the article: “It is amazing what you can accomplish if you do not care who gets credit.” but the article is full of a rich texture and depth of…
If you’re seeing errors related to Tcl/Tk when building Ruby 1.8.7 (say, with RVM) on Mountain Lion, it’s because X11 is no longer shipped with OS X. Now you have to install XQuartz instead; also install a non-clang gcc-4.2. Then:
Short answer: Google’s blogsearch now redirects, which breaks the WordPress widget. Change the URL it’s looking at to http://www.google.com/search?ie=utf-8&partner=wordpress&q=link:http://BLOG.EXAMPLE.COM/&tbm=blg&tbs=sbd:1&output=rss and everything should work again.
Including the exceedingly helpful caffeinate, which provides a command-line interface to what I’ve been doing with Caffeine for ages – keep your mac from sleeping for a period of time, without entirely changing the sleep preferences. (By way of DF.)
If you use homebrew’s macvim recipe, Mountain Lion, and any of the vim plugins that use the python support (such as the excellent Gundo, which provides a handy navigable graph of your vim undo history for a buffer), you should remove and reinstall macvim: The upgrade to Mountain Lion changed the system Python environment sufficiently…