@nedbat 💯
Just yesterday, because of including tests in coverage, I spotted an assert which wasn't being run...
And it masked not one but two bugs in the assert!
https://github.com/jazzband/prettytable/commit/2f8240527ad6966bb22088c51b575edcd7400aa0 #Python #test #coverage
Fediverse, I need help locating something!
I remember seeing a website where I could split a map area into a grid, and track that I'm visiting each grid cell on it. I can't find it in my browser history and can't remember relevant keywords to locate it with search engines either.
Does anyone know what I'm talking about?
Another good bit of grammar from Esperanto, the preposition [je](https://blogs.transparent.com/esperanto/je-the-esperanto-wildcard-preposition/).
These are just two of the affixes, by the way. I really liked the whole system of them, it makes it pretty easy to quickly build a big vocabulary, and it's very expressive: https://en.wikibooks.org/wiki/Esperanto/Appendix/Table_of_affixes
-ul = person characterized by (juna = young, junulo = a youth)
-ej = place characterized by (lerni = to learn, lernejo = school)
-ilo = instrument (skribi = write, skribilo = writing implement)
They can also be used by themselves, like:
iĝi = to become
ulo = dude, chap
ilo = tool
One thing I really like about #Esperanto is the infix -iĝ- which refers to becoming, it basically makes words intransitive, like:
So ruĝa = red, ruĝiĝi = to blush
naski = to give birth, naskiĝi = to be born
edzi = to marry, edziĝi = to get married
There is a similar (maybe annoyingly so) infix for "to make/cause", -ig-, which makes them transitive:
morti = to die, mortigi = to kill
riĉa = rich, riĉigi = to become rich, riĉigi = to enrich
Those and the question marker "ĉu" are features I often wish I had in other languages.
The virus that has been going around finally got to me.
Not COVID, layoffs: https://nedbatchelder.com/blog/202401/i_am_at_liberty.html
The other thought I had was that I'd set up a local e-mail provider. Normally I'd be afraid of getting on an e-mail blackhole list or something, but presumably deliverability is less of an issue if you never send anything?
There's a website I use all the time where the log-in mechanism involves sending a code to my e-mail address.
Anyone know of a simple way to write a script that retrieves that code? I can set up a custom e-mail address on any free provider and have all these "log-in" e-mails automatically forwarded to that. Is the best way to use something like `imaplib`?
Anyone on Windows have (or can install) PyPy 3.10 (7.3.15, the latest) and can try to reproduce this coverage.py test suite problem?
https://github.com/nedbat/coveragepy/issues/1737
TIA!
Congratulations to the new @ThePSF Fellows! 🎈🐍🎉
Dustin Ingram @di has done lots for packaging, the PSF board and @pytexas.
@Marlene Mhangami has made huge contributions for Python communities in Africa.
Nikita Sobolev is a very helpful CPython triager.
Raquel Dou was twice the @europython chair.
https://pyfound.blogspot.com/2024/01/announcing-python-software-foundation.html
Do you know someone who has done great things for the Python community? Nominate them! All it takes is an email. Deadline for Q1 is 20th February.
#PyConUS Hatchery is back! This program offers you the opportunity to be more involved at PyCon US by leading new tracks and events.
Check out our blog post to learn more: https://bit.ly/420HwUA. Applications are accepted on a rolling basis until April 17, 2024
NumPy 2 is coming out in couple months! And it's a little backwards incompatible, which means any applications that depend on it (directly or indirectly) might break.
I wrote an article showing how to prevent breakage in the short term, and how to automatically upgrade in the long term.
Coverage․py 7.4.0 can use Python 3.12's lightweight sys.monitoring module. Coverage measurement with much lower overhead! Try it, and let me know.
https://nedbatchelder.com/blog/202312/coveragepy_with_sysmonitoring.html
Are you a #FLOSS / #FOSS supporter? Do you have one of the following cameras? Please consider uploading sample images to https://raw.pixls.us thanks!
- Creo/Leaf Aptus 22(LF3779)/Hasselblad H1
- Fujifilm FinePix S9600fd
- Fujifilm IS-1
- GoPro FUSION
- Kodak EasyShare Z980
- Leaf Aptus-II 5(LI300059)/Mamiya 645 AFD
- Leaf Credo 60
- Leaf Credo 80
- Minolta DiMAGE 5
- Olympus SP320
- Panasonic DMC-FX150
- Pentax Q10
- Phase One IQ250
- Sinar Hy6/ Sinarback eXact
- ST Micro STV680
New blog post about common pitfalls contributors hit when creating GitHub pull requests.
https://davidism.com/github-pull-request-pitfalls/
* Use a new branch, not main
* Fork and open using the same user
* Check the target branch
* Draft must be enabled from the start
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.