[15:22] TIL: xxd does binary with -b... verify bit patterns are what you think they are: `echo 0xaa | xxd -r | xxd -b` [15:22] whew, 170 is a magic number. [15:42] fun fun [21:06] dear python... i hate you. https://github.com/python/cpython/blob/2.7/Objects/fileobject.c#L1105 [21:06] so efficient! https://github.com/python/cpython/blob/2.7/Objects/fileobject.c#L2886 [21:53] Is that still true in Python3? [22:37] probably something similar. [22:37] actually, that efficient comment was stupid by me. It is fine. [22:38] but the newline behavior with read() is still a little weird IMO