Looks like market price is $650-$700 from amazon. I had almost the exact model provided at work, it was a beautiful machine. https://twitter.com/kierig/status/1195722889770786818
Home
Public posts preserved on my own site.
Dad jokes are passée, now it is all about the grandpa jokes. https://x.com/Cyber_Cox/status/1195715011064160256
Best party
(Jetbrains install parties suck. They're over in a minute.)
Falsies** are ruining my day.
value = test.get("x") or well_actually()
When test.get("x") is False, well_actually() gets called, same as if x is missing.
**Yeah, that is what you were thinking. Focus, man.
What I've learned on twitter- people are wrong & I can let it pass.
If people being wrong bother you-strengthen the convictions of those who are right rather than taking on those who are dead wrong. The resource cost of the latter is huge. Echo chambers are economically rational
What did I do for the last decade? I lived ten years.
Powershell Core runs on linux so along with fish/zsh and xonsh, we should try it out. Bash's crappy programming language is so bad I'd master 3 alternatives to avoid it. https://x.com/jessitron/status/1194296021297352705
IDEA: real time linter for your IDE, except it just reports how tired it thinks you are.
I took a tour of the Harvard University grounds about 25 years ago, so I'd like y'all to think of me a Harvard alumnus. Thanks.
Temperature is supposed to drop like crazy, but I've seen "The Day After Tomorrow" AND I'm at a library so I'm prepared. https://x.com/mistersql/status/1194324573694627840/photo/1
Call-in meetings are great especially when every one is calling from the same room and you can hear the headsets of everyone and the voice of the speaker 6 times at a random 10-150ms lag.
Scavenging code, but from a curated pile of code: "Awesomem Python Applications" Fascinating if only to see how other big successful projects handle build scripts.
https://github.com/mahmoud/awesome-python-applications
They should have handed out "invites to beta" like gmail did & slowly ramped up load. https://x.com/verge/status/1194228081524957184
It occurs to me I can increase unit test coverage by adding a 500 line ASCII art print out to __init__.py.
Easier than creating a lazy-loaded state object & refactoring this class to use that
Choices, choices. Should I read the gunicorn docs or should I just search Github for "gunicorn" in file "Dockerfile"?
https://github.com/search?l=&p=1&q=gunicorn+filename%3ADockerfile&type=Code
Fitbit telling me about how rapidly I'm deconditioning while I rest & wait for this cold to go away. I usually run nearly daily, I've stopped running altogether. At about 65bpm, I'll be at my state when I merely walked every day. https://x.com/mistersql/status/1193900854992134144/photo/1
This is some of the best news since November 9, 2016
https://www.washingtonpost.com/politics/in-virginia-republicans-confront-a-fearful-electoral-future/2019/11/09/2bbdc7aa-026b-11ea-8bab-0fc209e065a8_story.html
If I want to single source controlled log file (& many devs will write to this log) how should it be structured to avoid merge conflicts? Append-to-end doesn't work & new-file-per-dev is too much clutter. Current untested idea - writing to .ini file with [user] sections
Python CLI libs to use
<2 params - arg parse
<10 params - docopts
>10 params, many subcommands - click
In JS, you have !!foo, which is "bang bang, you're a boolean"
What is the same in #python?
# something better than this?
True if "merely truthy" else False
querying my data lake in /tmp with ls, cat and grep. No ETL! Venture capital, please fund me! https://x.com/arvkevi/status/1192537014027112448
Status: looking up how to import vanilla javascript. I think it is the new framework to use.
Version 2.0 of DC cliches has been released. Please update your speech accordingly. https://x.com/bellmar/status/1192472143054999553
FAIL Required test coverage of 90% not reached. Total coverage: 89.75%
No one likes a perfectionist, man
This maven pom.xml file was running just fine until I specified the real folder with the source code to compile.
So Jira has a lot of issues in it.
Maybe the real treasure was the friends we made with bugs along the way.
Jenkinsfile the promise:
- DSL!
- declarative, super!
Jenkinsfile the actual
- This is groovy, which is a better syntax for Java. Jenkinsfile if you want to get anything done means writing a build script in straight up groovy.
Still better than endless property pages.
This is nuts. I have not seen a single ad for Trump, like, ever in any medium. Either the ad business is broken or I'm unreachable because of my media consumption habits or Trump is only targeting rural areas in swing states. https://x.com/josephofiowa/status/1191882151442161665
What's it called
dotenv files-so simple, lets check for related pypi packages, oh my 5% of GDP comes from dotenv related work
- loaders-weakly & strongly typed
- linters, dotenv schema
- encrypters
- generators-from .env.example etc
- diff tools
- etc
In the future, dotenv will be a career path
#python if I just switch to .whl files exclusively, will anything bad happen?
The project is over, we've run out of tape & paper for the Gantt Chart https://x.com/hoosteen/status/1191462353898024960
Indeed, not loud at all, unless they snore https://x.com/EricM_Katz/status/1191462469769867264
The secret to immortality is to convert yourself into a standard data format, like MARC.
https://www.loc.gov/marc/umb/um01to06.html
Tech lead position working at Library of Congress. Meaningful work, excellent public transit options https://x.com/ConsultArtemis/status/1191342838765760512
Software development where success is spending 2 hours to change the shell argument from True to False, because when it is true it fails on sh on alpine in Docker, but does fine on Windows, etc.
https://docs.python.org/3.7/library/subprocess.html#frequently-used-arguments
dotenv files vs .ini files, what an ad hoc mess.
dotenv = seems good for secrets, bad for per-env settings
.ini = seems good for per-env settings, bad for secrets
I'm going to pick both and call it a day.
Bumping versions on each successful build for a multi-branch code base is hard.
http://tech.wakayos.com/?p=871
docker hide & seek game for windows
docker run --volume data_xyzzy:/data
Where did data_xyzzy get written? Not to c:\, but to the VM in hyper-V! How to log into that?
docker run -it --rm --privileged --pid=host justincormack/nsenter1
it's at /var/lib/docker/volumes/data_xyzzy
wework should have been a SaaS offering and let other companies gamble on office rent arbitrage. The hubris is thinking that lotto number picking software you wrote & could sell actually works and that you should put venture capital into the gambling as well as software dev work