Opens profile photo
Follow
⬢ Samuel Colvin
@samuel_colvin
Python & Rust developer with a hint of TypeScript, maintainer of pydantic and other libraries. he/him. @samuelcolvin@fosstodon.org
UKgithub.com/samuelcolvinBorn 1987Joined January 2013

⬢ Samuel Colvin’s Tweets

The single most annoying UX gremlin in my life is this: "\n* " doesn't start bullet points in 😢 Even though it does in almost all other google products. Come on - this has to be a pretty easy way to improve the world!
1
15
I've been using codspeed on for a while to monitor the performance of pydantic-core and avoid regressions. It's awesome! CodSpeed runs like coverage checks - making sure none of your benchmarks have got worse on a PR. If you care about performance, you should use it!
Quote Tweet
I'm super excited to finally launch @codspeedhq, a continuous performance measurement tool, gathering performance metrics directly from your CI workflows 🚀 dev.to/codspeed/intro
Show this thread
34
This has to be the most infuriating bug in (which I otherwise love) on . I can select the second most recently opened project, but not the most recent as it overlays the top menu and therefore loses focus. Grrr
Image
Image
7
30
What word should I use in for converting a pydantic more to a python dict? Or equivalently: dataclass -> dict list[model] -> list[dict]
  • dump
    43.8%
  • serialize
    37.9%
  • other (please coment)
    18.3%
290 votesFinal results
25
7
I've seen 's R2 (S3 alternative) fail intermittently with 500, 502 & 522 at least. I guess it shows there's a lot of moving parts, but it would definitely be easier if there was one "temporary failure" return status.
8
Controversial opinion: I strongly prefer bootstrap to tailwind. Mostly because of its beautiful SCSS and great trade off between sensible default and customisability.
4
35
Ineptitude: check-in machines offer upgrades and ask you to insert a card, but the machine has no card slot. Spent two minutes attempting to shove my debit card into every orifice before someone came and told me I can't upgrade here. #fail
3
9
I expected a difference, but the size of the difference really surprised me. If you scale that up to the numbers for November (last full month without a holiday): 73,630 google analytics unique users, equates to 105,862 actual unique users!
1
9
Show this thread
Best productivity/life hack of 2022: Prefix your profile with "PLEASE DO NOT CONTACT ME VIA LINKEDIN, instead email ..." That way you can safely ignore all linkedin messages knowing they haven't actually bothered to look at your profile.
2
22
I want a CI tool that installs all combinations of dependencies for a package (or random combinations of dependencies if "all" is too many), then runs tests. It could run either on push or nightly and would pick up issues like github.com/pydantic/pydan Does any such thing exist?
9
38
Show this thread
Pydantic V1 you've served us well, but 🤞this is the last of you.
Quote Tweet
Pydantic v1.10.3 released to @pypi 🚀 The big news is ~5x smaller binaries by stripping debug info. github.com/pydantic/pydan @condaforge release will happen as soon as conda detects the release.
2
102
Happy Christmas to all open source maintainers, even those who are behind schedule. And a marginally less Happy Christmas to those who don't contribute at all to open source, or sponsor anyone, but still feel they can demand an update on OSS delivery on Christmas day.
Image
9
334
Preparing my CFP for , and trying (perhaps mistakenly) to give people what they asked for: The first 2 are easy: 6% intro to - one slide 17% new features in V2 - two slides Then the hard part - how Rust has been leveraged to make pydantic V2 more elegant.
Image
Quote Tweet
I'm going to propose a talk for pycon 2023 about @pydantic. V2 will be released by then. What do you want to hear about? -> Intro to pydantic? -> new features in V2? -> how pydantic uses rust? -> the design process? Something else?
2
52
Show this thread