@pganssle https://en.m.wikipedia.org/wiki/Juice_jacking
“As of April 2023 there have been no credible reported cases of juice jacking outside of research efforts.”
https://strftime.org/ is always a very useful site #python #datetime #time #help
My workflow is such that I like to keep manual profiles to isolate different use cases for the browser, but firefox profiles are too cumbersome to switch between, and Multi-Account containers just don't work well for me, so I end up with Firefox as my "open any link" browser, and Chrome as my "different profile for each different service" browser (e.g. twitter has one profile, github has another, and LinkedIn is always in incognito windows on a dedicated "clear everything" profile — and even then I think to myself I should probably only be accessing that website via Qubes OS or something).
I can't tell if this is a good time for this to happen or a bad time for it to happen, because I just found this: https://github.com/null-dev/firefox-profile-switcher
Which, if I can get FF working again, could make it possible for me to give up Chrome entirely.
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?
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.