Monkinetic: http://t.co/4h3fonqEPc
Archive for July 2014
← first ← previous page 8 of 8
@scalzi read God Engines last night. Very good, very different. Subversive on several levels. (Identifying them an exercise for the reader)
Easy way to temporarily kill logging in Python
Ever want to just turn off that logger for a while in Python? Maybe while running tests or debugging? Even the CRITICAL messages?
Notice that the logging level contants (logging.DEBUG
etc) actually represent numeric values:
Level Numeric value
CRITICAL 50
ERROR 40
WARNING 30
INFO 20
DEBUG 10
NOTSET 0
On a whim I tried:
logging.getLogger('logger_to_turn_off').setLevel(100)
And bam, no logging, even the CRITICAL messages. Yes, most of you python nerds knew this, but I didn't, so I learned something at least!
Been thinking about my own assumptions/behaviors re: non-white-males in tech. Uncomfortable, but not uncomfortable enough yet.
RT @nrrrdcore: People who have attacked myself, @shanley & other women like us, this is what it's like to be on the other side: http://t.co…
Idea: LinkedIn Disclaimers
Fun little idea: a blog disclaimer generator based on your current LinkedIn profile.
> "My opinions on [current industry] are my own and not those of [current employer]"
WTB: Auto-disclaimer based on LinkedIn: "I am employed by <employer> in <industries>; my opinions are my own".
← first ← previous page 8 of 8