B = 1000 # overdraft limit
b = int(input("balance"))
two = 2 # exchange rate
if 2*b < - 2*B:
sys.exit(-1)
#pythonquotes #python
Home
Public posts preserved on my own site.
Guns vs Butter is a Republican trade off. In Takoma Park, the trade off is between Peace Corp and Earth Balance.
HDD. Hubris Driven Development. Just never acknowledge anything could go wrong.
assert len(country.can_do(for=you)) >= 0
assert len(you.can_do(for=country) > 0
#pythonquotes #python
Today the Onion is all real news.
Teleportation on @pluralsight http://course.pluralsight.com/introduction-to-teleportation-technology.html I'll have to brush up on my calc and physics first.
Adding andpizza to my feed bucket list. Or is that feedbag list.
My toddler would have great fun with an Amazon Dash button, aka the Amazon Apprentice. Alexa will play the music as you press it.
Simple ratios suffer from size effects. Sort cancer rates by state. The smallest and largest states have it best/worst. Artifact of size.
@mistersql Now how do we adjust for this? Surely there is an answer.
♡ 0 ↻ 0
Sloppy, rushed programming will make you late. But careful code with assertions, unit tests, type checking takes more time to write.
@mistersql This is the crux of all scheduling arguments in software development.
♡ 1 ↻ 0
TuneIn radio thinks I like to listen to Russian Radio (all Russian pop music) but the commercials are in German.
Found a 4 exchange conversation in the comments in source code. I wrote both ends of the conversation :-(
This is why my brain cells rage:
def twofer(self, next, *a, **k):
def f():
self.g()
next(*a, **k)
return f
@mistersql They did it because of the 1 statement per lambda limit in python.
♡ 0 ↻ 0
I've seen hacks you wouldn't believe. Kludges to fix #python s 1 line lambdas. All those moments will be lost in time, like tears in rain.
(。_ 。)
⌐■-■
These glasses of mine keep falling off every time I look down.
Says I'm most likely to die of poisoning at my age (IF, if, I die right now). http://www.worldlifeexpectancy.com/usa-cause-of-death-by-age-and-gender That I was not expecting.
White space bugs in python. When you see, you still don't see it.
A soylent meal is vegan. This is a step up from the green one made of people. It costs $3.03, that's $9/day. Doesn't pass food stamp diet.
T-SQL pivot command is disfluent black magic syntax, but I love cross tabs.
1/ Considering doing a 6000 word tweet. You'll know if you see 2/
Your fill-in-the-blank form has been reviewed & has been found lacking. I have to test web forms to death, but a paper form, meh, who cares
Waterfall conf's been delayed, but I think 2015 is the year it's going to happen: http://www.waterfall2006.com/ Just need to stick to the process!
The Public Burden Statement assumes that you are penciling in the fields. Have to be type in, printed, hand written, scanned, emailed
I get to fill out 9, count 'em 9 forms federal gov't agency forms. Contracting, all the fun of being a civil servant but w/better coffee.
on google "SDLC saved my" ... no results. "Unit testing saved my"... Holiday, sanity, "my client time", my life, ass
Fighting the algorithms (as per WaPo) I'm going to spend more time reading the streams of people who follow me. http://www.washingtonpost.com/news/the-intersect/wp/2015/03/23/what-you-dont-know-about-internet-algorithms-is-hurting-you-and-you-probably-dont-know-very-much/
Panera is color blind, can't tell brown from white bread. I think it's their response to Starbuck's recent campaign.
My two year old will presenting a paper, "9 is 6 upside down" at the Math Festival if he can get LaTeX to display the rotation.
Math Festival in DC! https://www.msri.org/web/msri/public/public-events-and-initiatives/national-math-festival Mark your calendars. 25 days from now. or 0.68 years from now.
Mutant testing for C#. This is the best thing since Cylon testing. http://www.mutation-testing.net/ The idea of mutant testing, haven't tried the lib
So G Bush was naming a boolean Java variable for an education evaluation app measuring children learning, IsOurChildrenLearning
Wow, does #python have anything like ruby's mutation testing? http://solnic.eu/2013/01/23/mutation-testing-with-mutant.html
@mistersql It does, so says google: https://pypi.python.org/pypi/MutPy/0.4.0
♡ 0 ↻ 0
"Without insight into our planning process, people felt alienated — like cogs in a machine." http://happyhacks.tumblr.com/post/114126418720/the-team-retrospective
I'm looking at the tech meetup group with 10,000 members. What if they all showed up at one time? Would that be a success?
Can someone steal my idea for a website? Meetup, except optimized for in person book clubs.
The monkey trainer at the circus can't really disclaim responsibility.
Basic software development techniques that work when applied to code fail when applied to the developers themselves.
So if you create a ronin TkInter widget, ie master=None, tkinter doesn't care, it will draw the frame anyhow. It will be unsinkable! #python
It took more hours than I want to admit, but now I can get frames to change on tkinter. That is 1000x worse than VB6, Cobol, or clay tablets
I keep calling .destroy() on tkinter and I'm still in a universe where the #python tkinter library exists.