Man, #firefox crashes on launch every time, and #thunderbird doesn't launch at all (`thunderbird &` just hangs on "Using `nsImapService.cpp`", then segfaults when I Ctrl+C after 24 hours...).
I have no idea what happened here and I don't feel like I have time to mess around with it too much right now. Very disappointing.
This year will be the 20th anniversary of @leonardr's #Python screen-scraping tool Beautiful Soup.
https://www.harihareswara.net/posts/2024/celebrate-beautiful-soups-20th-anniversary/
Please contact me if you'd like to contribute to the celebration by:
* contributing to a "how Beautiful Soup was important to my life or career" anthology
* helping edit and publish that anthology
* funding printing the book
* throwing or speaking at a party on or around May 19th, 2024
or
* helping upgrade Leonard's PyCon travel so it's not just economy/coach
@coveragepy can now use Python 3.12's new sys.monitoring module with much lower overhead.
On 3.12, it's about the same as if you were running tests *without* coverage enabled!
https://nedbatchelder.com/blog/202312/coveragepy_with_sysmonitoring.html
With 7.4.2, you can set COVERAGE_CORE=sysmon globally on your CI, and it'll only use it where available (Python 3.12 and 3.13 alpha), and use the default for 3.11 and older.
For example, @pillow is 9% - 27% faster!
Also if someone has a better version of this please let me know I am not interested in maintaining any kind of shell code.
Any #bash experts out there have an idea why this function isn't working well with `ps`? If I pipe `df -h` into it, it works fine. If I redirect the out put from `ps -aux` to a file, then `cat` that file into it, it works. When I pipe `ps -aux` directly into it, I only get the header.
The Japanese version of Jeopardy! is basically exactly as I expected (though I didn't think they would have more than 3 contestants)
They seem a little looser with the rules, too. At one point there is a question about Batman where one contestant answers, "Poison Ivy" and the host is like, "No we want the actress" and the guy says, "Uma Thurman" and gets it right.
Later on no one buzzes in on one of the questions and after the host is ready to move on one guy tries to hit the buzzer and the host is like, "Oh hey you want to answer?" And the guy gives a response.
In the late 90s there was a Mexican version of Jeopardy!, and for some reason they decided to add dancing girls to it: https://youtu.be/P0DUhx0avLw?si=9-eF21sIIsSz68eF
I did not expect them to dance for quite so long at the beginning there...
I've started a blog! This first post is a mixture of a "hello world" and a summary of what I'm thinking of next for PyO3 (hint: stronger community network).
https://polar.sh/davidhewitt/posts/hello-world-and-the-future-for-pyo3
there's been almost twenty years of work on optimizing javascript engines with JIT and complex heuristic-based GC and a wealth of feature-rich profiling and analysis tools and validation and testing frameworks for deployment and integration and syntax improvements and functional and higher-order primitives and serverside transpiled code. and it's all enabled some amazing new stuff, for example github now takes 10 seconds to display a plain text file, and you cant search properly anymore
New version of DateType today, now supporting #Python 3.7+, thanks to a contribution from Maciek Olko: https://pypi.org/project/datetype/2024.2.8/
(It's also the first release with the "5 - Production/Stable" Trove classifier, upgraded from "Development Status :: 3 - Alpha", if you care about such things.)
New post: https://www.harihareswara.net/posts/2024/trust-new-maintainer/ Whether And How To Trust A New Maintainer
What kind of trust does a project #maintainer need to have in a new co-maintainer? To get better at #opensource #sustainability, we need to improve at recruiting, training, & promoting new leaders.
I cover attributes to check for.
I mine 4 comparable situations for assessment ideas, & explain how to reduce how much trust you NEED to give by promoting someone.
&: 3 options if you're low on time
@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.
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.