David Szotten

261 posts

David Szotten

David Szotten

@szotten

david szotten

London, England Beigetreten Ağustos 2008
80 Folgt132 Follower
David Szotten retweetet
Ruth Szotten
Ruth Szotten@ruth_esme·
As someone who’s returned from maternity leave twice, I wish I’d known about @MentorMums sooner! Please retweet so others can also get support
English
0
1
0
141
David Szotten
David Szotten@szotten·
@simonw #unittest.mock.Mock.side_effect" target="_blank" rel="nofollow noopener">docs.python.org/3/library/unit…
QME
0
0
2
0
Simon Willison
Simon Willison@simonw·
Very niche TIL today: how to use a Python mock to simulate a LimitExceededException from AWS Textract via boto, but then have that same API call pretend to succeed when it is made a second time (I was exercising an automatic retry feature) til.simonwillison.net/pytest/mocking…
English
3
0
16
0
David Szotten
David Szotten@szotten·
@AdamChainz Nice post! Qq how come you prefer manual inserts into migrations table over migrate —fake?
English
1
0
0
0
Adam “Mastodon or Bluesky” Johnson
✍️ New post on the process I use for running Django migrations “by hand” with the database’s SQL console. Useful when migrating larger, busy databases and you want to keep a close eye on monitoring, or use extra tools to e.g. stop blocking queries. adamj.eu/tech/2022/06/2…
English
2
8
30
0
aka jkimbo
aka jkimbo@jonnykim·
Ok the stacked diffs workflow is awesome
English
2
0
0
0
David Szotten retweetet
Alexander James
Alexander James@DrunkScribe·
Some years back my wife and I got into the habit of asking each other ‘do you want comfort or solutions’ when the other was having a bad time. That one sentence can save us from an argument 9/10 times.
English
273
18.1K
56K
0
David Szotten retweetet
Ruth Szotten
Ruth Szotten@ruth_esme·
Parenting is a bit like being the teammates looking in on a Crystal Maze challenge. You’re trying to keep calm and give useful instructions but you end up shouting the same things over and over and no one gets a crystal or a snack
English
0
1
9
0
David Szotten retweetet
NCSC UK
NCSC UK@NCSC·
The NCSC now uses 'allow list' and 'deny list' in place of 'whitelist' and 'blacklist'. Emma W explains why... ncsc.gov.uk/blog-post/term…
NCSC UK tweet media
English
26
87
206
0
David Szotten retweetet
Winston Chang
Winston Chang@winston_chang·
If there's a baby boom in 9 months, it'll consist entirely of first-born children.
English
969
15.4K
133.3K
0
David Szotten retweetet
Ruth Szotten
Ruth Szotten@ruth_esme·
How to stop wasting introverts’ skills? 1️⃣ Allow introverts solitude to do their best work 2️⃣ Learn how to facilitate meetings where everyone can participate. CIRCULATE AGENDAS IN ADVANCE. Allow people to give ideas after meetings
English
0
1
1
0
David Szotten
David Szotten@szotten·
@alexstapleton The fancy tap also does hot water, which I find not-quite-hot-enough for my tea but is quicker to put in kettle than starting with regular tap water
English
0
0
0
0
David Szotten retweetet
Elamin Abdelmahmoud
Elamin Abdelmahmoud@elamin88·
It was assumed that 40% of the costs Quebec’s subsidized childcare program would come from the income taxes generated from parents who can now work. Instead, it generated more income for the province than it costs. “The program is paying for itself.”
Elamin Abdelmahmoud tweet media
English
17
710
1.1K
0
David Szotten retweetet
Brandy Jensen
Brandy Jensen@BrandyLJensen·
the wisdom of age is mainly knowing which fancy products are worth the money. high-end sheets? alas, absolutely. weirdly expensive condiments? literally never.
Brooklyn, NY 🇺🇸 English
59
235
4.2K
0