@scalzi read God Engines last night. Very good, very different. Subversive on several levels. (Identifying them an exercise for the reader)
Archives: Posts in 2014
← first ← previous page 63 of 65 next → last →
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".
@agiletortoise cooked a bison steak for the wife yesterday - seared each side and then basically baked each side, came out GREAT
RT @ettay: SO INTO THIS. RT @_DownToEarth: Laverne Cox as Wonder Woman. http://t.co/rlqy6sNvsT H/T @buhny
My brother is graduating top of his class from Full Sail today. Since I can't be in Florida, watching the live stream. Go @seanivy!
← first ← previous page 63 of 65 next → last →