Month: August 2014

  • Really useful Xcode plugins

    I’m a happy Xcode user, mainly using it for C++ programming. It’s a relatively nice IDE (except for when I need to break out the big guns and fire up Vim for heavy lifting). There are a few plugins that make it an even nicer IDE. This is as much a …

  • Really useful Xcode plugins

    I’m a happy Xcode user, mainly using it for C++ programming. It’s a relatively nice IDE (except for when I need to break out the big guns and fire up Vim for heavy lifting). There are a few plugins that make it an even nicer IDE. This is as much a …

  • What is a string?

    Most programming languages have some wrinkles around unicode and strings*. In my ficticious language Pepper, there are no wrinkles of any kind, and everything is perfect. *E.g. JavaScript, Java, Haskell, Ruby, Python. There are several key concepts. …

  • Absolute Truth in programming languages

    Is enforcing truthfulness the opposite of beauty? Can 2 + 2 = 5? Improvements, corrections, further contributions are welcome. $ cat five.cpp #include <iostream> int operator+( int x, int y ) { return 5; } int main() { std::cout << 2 + …

  • The super() Mystery Resolved

    In the previous articles in this series [1] we uncovered a small mystery regarding how Python’s super() works, and we looked at some of the underlying mechanics of how super() really works. In this article we’ll see how those details work together to resolve the mystery.

    The mystery revisited

    As …

  • The super() Mystery Resolved

    In the previous articles in this series [1] we uncovered a small mystery regarding how Python’s super() works, and we looked at some of the underlying mechanics of how super() really works. In this article we’ll see how those details work together to resolve the mystery.

    The mystery revisited

    As …

  • Options for code reviews with Git

    We’re thinking about switching to Git for my work, and I want to be confident we can still support good code reviews if we make the switch. I am a big fan of in-person reviews, and for that, git difftool is enough but sometimes you need to do it asynch…

  • Desktop sharing not working in Lubuntu 14.04

    On my recently-upgraded to 14.04 Lubuntu machine, desktop sharing didn’t work. Here’s how I made it work: Once (to allow some Windows clients to connect without encryption): gsettings set org.gnome.Vino require-encryption false Then every time I want t…