|
James Bennett
@
ubernostrum
The green fields of the mind
|
|
The man with the plan and the pocket comb.
|
|
|
11.069
Tweetovi
|
42
Pratim
|
3.018
Osobe koje vas prate
|
| Tweetovi |
|
James Bennett
@ubernostrum
|
6 h |
|
There were fifty mounted file shares (SMB1),
Buffering, buffering, all the caucus scores.
Message queues of every size,
And QA leads who’d improvise,
To get the weekly update out the door!
|
||
|
|
||
| James Bennett proslijedio/la je tweet | ||
|
potch
@potch
|
6 h |
|
Seventy-six platforms all with diff'rent quirks
With a hundred and ten defects in the build
There were more than a thousand rows
In the database which shows
Precisely why, the project should be killed
-The Software Man, Summer 2021 twitter.com/lyzidiamond/st…
|
||
|
|
||
| James Bennett proslijedio/la je tweet | ||
|
spacenoid jackson
@headfallsoff
|
7 h |
|
so we take the number of voters and divide by the number of delegates. compensating for viability threshold of 15% we then perform what’s called a second alignment. but if you clip out of bounds on that exact frame you do caucus skip [applause] think we have time for donations
|
||
|
|
||
|
James Bennett
@ubernostrum
|
10 h |
|
We should make all these people prove their devotion to their candidates by having them form human chains from the Black Sea to the Caspian.
Then we could call it the Caucasus caucuses.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
12 h |
|
Followup post from a similar one a couple years ago: how I’m testing (Python and Django) in 2020.
b-list.org/weblog/2020/fe…
|
||
|
|
||
|
James Bennett
@ubernostrum
|
2. velj |
|
I use python-release-cycle.glitch.me to get support windows for each version.
The rest, not sure what’s out there.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
2. velj |
|
The CI for my open-source stuff has a standard display for each build, including branch name followed by commit message.
But I just bumped copyright dates in a license file, and now it’s doing its best impression of Igor frantically reminding Dr. Frankenstein what year it is. pic.twitter.com/XcvBMVGdMe
|
||
|
|
||
|
James Bennett
@ubernostrum
|
29. sij |
|
Asking because it seems that if you do centralized error handling like this, mypy either requires you turn off warnings for missing return statements, or throw in unreachable return or “assert False” statements to appease it.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
29. sij |
|
So, for example, if you have a function error_raiser() in which all paths lead to a raise statement, and the last line of function foo() is a call to error_raiser(), mypy says “missing return” even though an exception is guaranteed.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
29. sij |
|
mypy does *not* warn “missing return statement” if the last line of a function body is a raise statement. It does if the last line is instead a call to a function which does nothing but raise an exception.
Is this a bug? A known bug? It feels bug-like to me.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
28. sij |
|
Ever wanted to know how Unicode really works? What the real impact is of working in a Unicode-first programming language? How it can affect your code and what to watch out for?
You can learn all this and more at #pycon2020, where I will proudly present:
A 🐍’s Guide to Unicode
|
||
|
|
||
|
James Bennett
@ubernostrum
|
28. sij |
|
I’d like to announce I got a talk accepted for #pycon2020 but — like a few other people — I seem to’ve gotten multiple acceptance emails for different talks. And while I’m flattered I doubt that’s going to hold up. So holding announcement until I hear back from @PyCon.
|
||
|
|
||
| James Bennett proslijedio/la je tweet | ||
|
David Neiwert
@DavidNeiwert
|
25. sij |
|
45) What all of these numbers and the studies around them tell us is that economics have relatively little effect on the levels of racism and other bigotry in America.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
23. sij |
|
The yeetings will continue until morale improves.
|
||
|
|
||
| James Bennett proslijedio/la je tweet | ||
|
Lacey Williams Henschel
@laceynwilliams
|
22. sij |
|
I am gonna blog about this but DID YOU KNOW that you can use "&" (and), "|" (or) and "~" (not) for #DRF permissions? (h/t @webology)
permission_classes = [IsSuperUser | IsAdmin]
#django
django-rest-framework.org/api-guide/perm…
|
||
|
|
||
| James Bennett proslijedio/la je tweet | ||
|
Eva
@evacide
|
20. sij |
|
Today is a good day to read the letter that the FBI sent to MLK, trying to convince him to kill himself: vox.com/xpress/2014/11…
|
||
|
|
||
|
James Bennett
@ubernostrum
|
20. sij |
|
Pop quiz: which of these are medications, and which are terms or names from category theory?
METASTRON
YONEDA
HOMSET
AMERGE
IMLYGIC
KAROUBI
TEGRETOL
TOTECT
ABELIAN
ENDODAN
MORPHONE
OPETOPE
CAVERJECT
POSETAL
HOPFIAN
|
||
|
|
||
|
James Bennett
@ubernostrum
|
20. sij |
|
Having some fun with (obfuscated) Python:
b-list.org/weblog/2020/ja…
|
||
|
|
||
|
James Bennett
@ubernostrum
|
19. sij |
|
I learned how to rebase because I do dev like that.
|
||
|
|
||
|
James Bennett
@ubernostrum
|
19. sij |
|
Well, they go hand in hand. After a long, hard day of warding drop-bears away from the sheep, there’s nothing like relaxing with the smooth taste of a Foster’s™ while you wait for your Bloomin’ Onion to fry up.
|
||
|
|
||