Wondered the same. After all, you have hashes, you have unicity, you can check for inclusion, so providing union and intersections would be logical. Maybe it was not a need frequent enough ?
RT @willmcgugan@twitter.com
#Python curiosity. KeysView being set-like is insanely useful. But why are they just "set-like"? Why not go all the way and give them the same interface as frozenset?
🐦🔗: https://twitter.com/willmcgugan/status/1525949755234390021
pdftex.js: a latex env that runs in the browser
Big and slow, but still very intersting. Here is the demo:
https://dmonad.github.io/pdftex.js/
Be patient, it doesn't have a spinner.
RT @tiangolo@twitter.com
Why companies keep asking for so many required years of experience? 😩
I created @FastAPI@twitter.com just 3.5 years ago, I'll never be able to apply to those precious FastAPI jobs! 😱😆
Seriously, experience is a really bad proxy estimator for skill level. 🤓
...Déjà vu 🤷 https://twitter.com/comoelcometa/status/1525789685691424769
RT @zooba@twitter.com
Great writeup, I love that it incudes an analysis of the Python audit hooks that will be triggered.
Good reason to be monitoring for anomalous "id" events. (Better reason for us to make them unpredictable values instead of pointers, but that won't help you today.) https://twitter.com/_hg8_/status/1525781066803445760
Braid: Adding Synchronization to HTTP https://github.com/braid-org/braid-spec
sniffio https://pypi.org/project/sniffio/ This is a tiny package whose only purpose is to let you detect which async library your code is running under.
Thonny, Python IDE for beginners https://thonny.org/
pwwang/python-varname: Dark magics about variable names in python https://github.com/pwwang/python-varname
I wish it would be part of the syntax honestly. How many times NamedTuple has been weird to type with this double naming ?
`nil` or `null` values · Issue #30 · toml-lang/toml https://github.com/toml-lang/toml/issues/30
Just realized today that TOML doesn't support null values, which is a big omission for a config language. But on the other hand, I've been using it for years without noticing...
pwwang/toml-bench: Which toml package to use in python? https://github.com/pwwang/toml-bench
asottile/tokenize-rt: A wrapper around the stdlib `tokenize` which roundtrips. https://github.com/asottile/tokenize-rt Yet another @codewithanthony@twitter.com interesting project. Some people wants the world to have imposter syndrom.
Meanwhile you can use https://docs.python.org/3/library/importlib.html#importlib.util.LazyLoader in the stdlib for local results or go full snarky canadian https://snarky.ca/lazy-importing-in-python-3-7/
But the flag has the advantage of requiring no code change, and affecting dependancies
Tests at Instragram have shown the tech could reduce the startup time of a Python cli by 40% https://github.com/facebookincubator/cinder/blob/cinder/3.8/CinderDoc/lazy_imports.rst
PEP 690 – Lazy Imports http://peps.python.org https://peps.python.org/pep-0690/ Almost missed this new PEP with an interesting proposal for a real python issue: import perfs.
I was expecting a new keyword, but the feature flag make indeed sense, provided we map out the consequences well
It's not cheating, it's gameplay
RT @computermuseum@twitter.com
4 screen GoldenEye on the original N64 hardware! No screencheating here! …but how?
Come and experience this at our GoldenEye evening, celebrating 25 years of GoldenEye for Nintendo 64: http://www.computinghistory.org.uk/det/67832/25-Years-of-GoldenEye-Dev-Talk-Evening-Saturday-7th-May-2022/
🐦🔗: https://twitter.com/computermuseum/status/1521823363588624386
But th
RT @computermuseum@twitter.com
4 screen GoldenEye on the original N64 hardware! No screencheating here! …but how?
Come and experience this at our GoldenEye evening, celebrating 25 years of GoldenEye for Nintendo 64: http://www.computinghistory.org.uk/det/67832/25-Years-of-GoldenEye-Dev-Talk-Evening-Saturday-7th-May-2022/
🐦🔗: https://twitter.com/computermuseum/status/1521823363588624386
RT @gjbernat@twitter.com
hatchling now has been adopted under the PyPA umbrella,@Ofekmeister@twitter.com if you need a modern build backend use this 😎 https://hatch.pypa.io/latest/config/build/
Xilem: an architecture for UI in Rust | Raph Levien’s blog https://raphlinus.github.io/rust/gui/2022/05/07/ui-architecture.html
RT @youyuxi@twitter.com
Lovely! The interactive demos are truly amazing, it helps explain the concept so much better than plain illustrations / videos. https://twitter.com/bciechanowski/status/1521870899380584449
RT @BCiechanowski@twitter.com
Mechanical Watch – https://ciechanow.ski/mechanical-watch/
🐦🔗: https://twitter.com/BCiechanowski/status/1521870899380584449
Executable delicious delights. And stuff.