Show newer

@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!

github.com/jazzband/prettytabl #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?

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: en.wikibooks.org/wiki/Esperant

-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

Show thread

One thing I really like about 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.

We are far too informal these days, which is why I'm taking a bold stand against the rampant use of Nicholasnames.

Thank you for coming to my THEODORE Talk.

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?

Show thread

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`?

"Hey look, they have video games for the Switch here; maybe we can try something other than Minecraft?"
My 6 y/o: "Cool! Is everything square in this one, too?"

(I think it was a deal-breaker if the answer was "no")

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?
github.com/nedbat/coveragepy/i
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.

pyfound.blogspot.com/2024/01/a

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.

#Python #PSF #PSFFellows

#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: bit.ly/420HwUA. Applications are accepted on a rolling basis until April 17, 2024

#ThePSF #Python

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.

pythonspeed.com/articles/numpy

#Python #NumPy

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.

nedbatchelder.com/blog/202312/

Out of curiosity, what are these? I found them in the bottom of a small wall mount network cabinet, that was fitted in a house, by an electrician. The snipped wires look like CAT-5 solid core.

I think it was Ctrl + ., but it only works in certain places...

Show thread

My 2-year old was mashing keys on my keyboard and somehow summoned an emoji picker (something I've been meaning to configure for ages), and I can't figure out what he did...

Are you a #FLOSS / #FOSS supporter? Do you have one of the following cameras? Please consider uploading sample images to 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

#Darktable

New blog post about common pitfalls contributors hit when creating GitHub pull requests.

davidism.com/github-pull-reque

* Use a new branch, not main
* Fork and open using the same user
* Check the target branch
* Draft must be enabled from the start

#GitHub #git

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.