Conference Chair @ PyCascades
former platform engineer @ cloud.gov and brandfolder devops engineer @ Allen Institute, Blue Nile, and Intermedia
Posts
Remember, folks:
by checking your watch multiple times per minute, and leaning hard into ADHD-waiting-mode, you too can be just 2-3 minutes late to every meeting ever.
oh hey they're hiring for people with experience and imposter syndrome:
@phildini@wandering.shop > ocean breezes
board games
I recommend games with tokens or tiles over those with cards, and strongly caution against any with paper bits
🟢 Carcassonne 🟢 Tsuro 🟢 Dominoes 🟡 Terraforming Mars 🟡 MtG 🟡 Snapsen 🔴 Monopoly
@treyhunner@mastodon.social follow-up feedback: I'm using the heck out of this and loving it.
Also I found a bug: upon adding the 197th country, you get an error due to a 400 from /api/quiz/learn-new/
I assume the client side wants me to finish my batch of 5, and the server knows I don't have any new countries to learn or something like that
Coworker: There are a few lines not covered by tests - should we add some tests to cover them?
Me: *deletes lines*
Internet Tutorial Author: Do not [mistake] because then you will have to [recover], which is difficult even if you have [purpose-built tool]
Me: you silly internet person. I will not [mistake], because I am Smart™️. And even if I did, I could surely [recover] with [improvised] tool
Narrator: *surpressing laughter*
hello, 911? yes the man who stamped my hand at the club said I had "good veins"
#django pop quiz: which of these subTests fails:
```
from django.test import SimpleTestCase
from django.template import Context, Template
class TemplateTest(SimpleTestCase):
def test_template(self):
template = Template('{% if foo %}truthy{% else %}falsey{% endif %}')
self.matrix = (
((), "falsey",),
("", "falsey",),
([], "falsey",),
({}, "falsey",),
(".", "truthy",),
("1", "truthy",),
("true", "truthy",),
("false", "truthy",),
)
for value, expected in self.matrix:
with self.subTest(value):
result = template.render(Context("foo", value))
self.assertEqual(result, expected)
```
(version is 6.0.x, if you want to play along at home)
I think this made it through code review, BTW
@transportationtalk@fosstodon.org Several of @AlSweigart@mastodon.social's books are approachable for that age.
My guess is that these would be the most interesting to a preteen:
- Invent Your Own Computer Games With Python
- Making Games with Python & Pygame
- Cracking Codes With Python