James Bennett

@ubernostrum

The man with the plan and the pocket comb.

The green fields of the mind
Joined June 2007

Tweets

You blocked @ubernostrum

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @ubernostrum

  1. Pinned Tweet
    9 Aug 2017

    And in light of recent events I must, unfortunately, say this again:

    Undo
  2. Feb 1

    The CI for my open-source stuff has a standard display for each build, including branch name followed by commit message. But I just bumped copyright dates in a license file, and now it’s doing its best impression of Igor frantically reminding Dr. Frankenstein what year it is.

    Screenshot of the CI displaying branch name and commit message: "master it's 2020"
    Undo
  3. Jan 29

    Asking because it seems that if you do centralized error handling like this, mypy either requires you turn off warnings for missing return statements, or throw in unreachable return or “assert False” statements to appease it.

    Show this thread
    Undo
  4. Jan 29

    So, for example, if you have a function error_raiser() in which all paths lead to a raise statement, and the last line of function foo() is a call to error_raiser(), mypy says “missing return” even though an exception is guaranteed.

    Show this thread
    Undo
  5. Jan 29

    mypy does *not* warn “missing return statement” if the last line of a function body is a raise statement. It does if the last line is instead a call to a function which does nothing but raise an exception. Is this a bug? A known bug? It feels bug-like to me.

    Show this thread
    Undo
  6. Jan 28

    Ever wanted to know how Unicode really works? What the real impact is of working in a Unicode-first programming language? How it can affect your code and what to watch out for? You can learn all this and more at , where I will proudly present: A 🐍’s Guide to Unicode

    Undo
  7. Jan 27

    I’d like to announce I got a talk accepted for but — like a few other people — I seem to’ve gotten multiple acceptance emails for different talks. And while I’m flattered I doubt that’s going to hold up. So holding announcement until I hear back from .

    Undo
  8. Retweeted
    Jan 25

    45) What all of these numbers and the studies around them tell us is that economics have relatively little effect on the levels of racism and other bigotry in America.

    Show this thread
    Undo
  9. Jan 22

    The yeetings will continue until morale improves.

    Undo
  10. Retweeted

    I am gonna blog about this but DID YOU KNOW that you can use "&" (and), "|" (or) and "~" (not) for permissions? (h/t ) permission_classes = [IsSuperUser | IsAdmin]

    Undo
  11. Retweeted
    Jan 20

    Today is a good day to read the letter that the FBI sent to MLK, trying to convince him to kill himself:

    Undo
  12. Jan 20

    Pop quiz: which of these are medications, and which are terms or names from category theory? METASTRON YONEDA HOMSET AMERGE IMLYGIC KAROUBI TEGRETOL TOTECT ABELIAN ENDODAN MORPHONE OPETOPE CAVERJECT POSETAL HOPFIAN

    Undo
  13. Jan 20

    Having some fun with (obfuscated) Python:

    Undo
  14. Retweeted
    Jan 17

    This is a polemic against the humanities written by a box of whippits that once read a few pages of Ayn Rand.

    Undo
  15. Jan 15
    Undo
  16. Retweeted

    One year since he got Diogenes-ed to fuck.

    Undo
  17. Retweeted
    Jan 8

    git rebase isn't about "hygiene" or "moving commits to a different branch" or anything else. it's about saving face after it takes you 37 tries to get travis working

    Show this thread
    Undo
  18. Jan 9

    I once gave a conference talk where I spent ⅓ of the time slot explaining ways to compare two strings and see if they’re equal. Being able to do that is a useful skill!

    Undo
  19. Retweeted
    Jan 8

    The best part is when you have some poor no-record first-offender defendant and the prosecutor suggests they're a flight risk because they have so many aliases because "Miguel Fernando Lopez Ortiz" who goes by Mike can be turned into two dozen freaking "aliases."

    Show this thread
    Undo
  20. Jan 6

    A (belated) Python Packaging Carol:

    Undo
  21. Retweeted
    Dec 31

    should auld acquaintance be forgot and never brought to mind? unfollow them

    Undo

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·