I'm switching to using python Black and turning off my linter's formatting warnings. I never want to fix formatting by hand again.
Home
Public posts preserved on my own site.
Hello slack users, welcome to twitter for 30 minutes.
Software developers
Idea- in a race with say 10 candidates, if the lowest 3 candidates are getting ~2%, does that imply maybe that 20% of the voters were voting at random?
You could effortlessly simulate what the curve would look like with different ratios of random & purposeful voters & find out what params match the actuals.
♡ 0 ↻ 0
You are a ___ developer:
My preferred pipenv workflow
pipenv install
^C
pipenv install --skip-lock
UI KATA: Make a frustrating toggle. It should pop undone every time you click it after a random pause, but finally stick after increasing desperate clicking. It should transition state permanently, but only a single click before the user gives up.
KATA: Simulate fix width using variable width fonts so you can put text into proper columns in a tweet.
"civility" & the rise of authoritarian regimes
https://threadreaderapp.com/thread/1011459751660552192.html
I like MDs voter info website. What I found missing
A easy way to gauge the issues - With 50+ candidates, this is just cognitive overload. This is why we don't elect all 50K gov't employees
A easy way to gauge the odds - I want to vote for a GE winner
https://x.com/md_sbe/status/1011560956168728576
So by this defense, the DC restaurant of the same name could also exclude Sanders et al. They just couldn't put up a sign that said "No Republicans" or the like. https://x.com/PaladinCornelia/status/1010937111535468545
IDEA whose time has come. Stop manually fixing formatting errors from pylint and run the black formatter tool as part of your build script (or http://setup.py or tests runner or whatever)
https://github.com/ambv/black
IDEA: a tool to automate the install & uninstall of random packages with different version until you get one that works.
There is actually a tool like this in JavaScript world, I don't know of one for python world.
So in DC, not serving neo-nazis is civil disobedience. In Virginia it is exercising your right wing right (as per Supreme Court ruling on cakes) to not serve people you don't like. https://x.com/RedHenDC/status/1011254551578578944
"There is a time when the operation of the machine becomes so odious, makes you so sick at heart, that you can't take part. You can't even passively take part! And you've got to put your bodies upon the gears and upon the wheels, upon the levers, upon all the apparatus, ...
and you've got to make it stop! And you've got to indicate to the people who run it, to the people who own it — that unless you're free, the machine will be prevented from working at all!"
♡ 0 ↻ 0
Well, the Administration is creating an alternate source of adoptable kids- DHS/ICE has already said they have permanently lost track of the parents of a lot of these kids, if they don't hold them in jail for life, then they'll enter the orphanage system and be avail for adoption https://x.com/rkfatheree/status/1010940973717782529
I called the JSON Engineer to ask him about it. He said, "No comments" https://x.com/terrible_coder/status/1011219524430061569
We won't even get a good movie out of this administration. https://x.com/robertjbennett/status/1010982867420270593
On the other hand, I'd rather die at my desk than watching TV in an old folks home. https://x.com/mikedigitalhome/status/1010913424983908352
build tools allow you to connect a series of dependent dumpster fires so you can automatically create a dumpster fire packaged in a dumpster fire for uploading to a dumpster fire in the cloud
Current fire: package versioning with pbr & bumpversion.
The only thing necessary for the triumph of evil is that good waiters and restauranteurs should have dealings with neo-nazis as if nothing is going on. https://x.com/stonecold2050/status/1010535241251819521
Preferred pay for tech start up work
(Odds 1 in 1000 to pay off, otherwise expires worthless)
Question prompted by this video. I like how the author wrote career advice in mostly executable python. Good advice on comparing tangible benefits & some philosophical advice about not giving a hoot about BS benefits like an office with a window.
https://www.youtube.com/watch?v=rz9q57-y9kw♡ 1 ↻ 0
A fair lady is a lady exactly 50% of the time.
Let Python 2 die. Kill it if you have to. https://x.com/mistersql/status/1010554969437720578/photo/1
Filezilla has malware bundled with now. Be careful if you install or update it. One org I worked at would re-image your machine if the virus checker found anything it didn't like. https://x.com/blowdart/status/1010438860738834433
I just made the repository matthewdeanmartin/racetrax on GitHub https://ift.tt/2MhF7Nv
Games ranked:
stock market >> racetrax > pick 3 > keno >> big prize/low prob lottos
Stocks are like dealing with near certain events, the big/prize/low prob lottos are so unlikely I can't even come up with a way to reason about them.♡ 0 ↻ 01 solution for the incredibly improbably games is to use "logarithmic utility" of money, so you are paying log(1) to win log(10x10^10), but when the probabilities are 1 in 10x10^20, this isn't something you can expect to see in one life. It is some variant of "impossible"
♡ 0 ↻ 0
First impression of mypy
-found a small number of bugs in code not exercised by unit tests,
-found cyclical deps - probably a sign I got a flaw in the OOP (methods that need to move to other classes
- "errors" that don't break anything but I can't guess the right annotations
This is right wing politically correct speech for concentration camps. And 120K people is a lot. You don't even need to add zyklon to get the deaths going, shear crowding & disease is sufficient. https://x.com/thehill/status/1010258904570388486
PLAN: At 10AM June 24 we will briefly, seriously consider adding some features, then think better of it & not. Also, on July 2nd hours before going to production we will think for a moment, just a moment, about refactoring it all, but decide not to. https://x.com/controlchat/status/1010249233113518082
The volume of anti-concentration camps comments on tweets is so high that the foreign PSYOPs* teams (aka bots, trolls) can't keep up.
https://en.wikipedia.org/wiki/Psychological_Operations_(United_States)
According to Modal Realism, the theory that possible worlds are real in the same way the number 42 is real, there is a universe where people live in Washington Marvel.
If you put the human genome into git, it would be unethical to clone it. So all operations would have to be done by git archive & then forking to a new repo.
As the concentration camp program in Germany expanded, it continually broaden the definition of Jewish. What is to stop Stephen Miller from defining immigrant as someone who parents aren't from here, or who wasn't born here, despite living in Idaho or Texas. https://x.com/mmfa/status/1010135249836281856
Ironically, this is where IBM's experience in building concentration camps information systems would come in handy. https://x.com/ksieff/status/1009949212614774784
Interesting pair of MD Lotto bets
Pick 3 3-way-box has odds of 1:333 & pays $160.
Racetrax 9,6 exacta has odds of 1:323 & pays $215
Pretty much for any odds, there is a Racetrax bet with a better payout. (50% EVs vs 66% EVs)
The world needs something like pypi, nuget etc for packages that are actually just data, for example, this
https://pypi.org/project/us/
I'm not sure how it would be different- maybe it would be 1 multilang repo that served up the tables in many forms & with many language wrappers
That a company does *not* use Maconomy** is an important job benefit and should be noted in job advertisements.
** It is a timesheet system, if we may abuse the word "system"
I think the logger is insulting me.
[2018-06-20 14:57:51 -0400] [28553] [INFO] Handling signal: winch*
* and spells wrong too.
For evil to triumph, it needs a cooperative, supportive bureaucracy. https://x.com/arunindy/status/1008920876656427008
You could even call them ovens. https://x.com/radleybalko/status/1009247903754448896