My goal for Q4 2022 was to get out at least one new blog post or public talk. *Almost* made it.
Attractive nuisances in software design: https://blog.ganssle.io/articles/2023/01/attractive-nuisances.html
A common anti-pattern where a problem has a solution that is obvious, intuitive and wrong.
New short blog post on the PyPy blog, bit of a PSA: Repeated string concatenation is quadratic on PyPy (and sometimes on CPython)
https://www.pypy.org/posts/2023/01/string-concatenation-quadratic.html
Anyone have other examples of "Here's a common thing that most people are doing wrong, along the lines of https://blog.ganssle.io/articles/2019/11/utcnow.html and https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html ?
https://ctgraphy.tumblr.com/post/129031716304/why-you-should-photoshop-your-cosplay-pictures This detailed explanatory blog post is, for me, doing for photography a bit of what Greg Milner's excellent "Perfecting Sound Forever: An Aural History of Recorded Music" https://www.wordyard.com/2010/08/04/perfecting-sound-forever-great-book-on-history-of-recording/ does for audio recording and playback. The author demonstrates and explains, about post-processing manipulation/retouching/editing involving correcting light and color:
"And so that’s what photoshop means 95% of the time. It’s correcting what the camera couldn’t do."
OK, I upgraded to the latest Signal and it still works as an SMS client.
Kind of a twist of the knife that they are also prominently pushing "stories" in this update, which.... does not seem like it was any sort of user-requested feature.
I'm translating an #svg figure for a #Wikipedia article. I have an alignment problem due to the #font being not available everywhere. Is there a way to right-align text boxes independently of the actual font being used? I want them to remain editable as text. I'm using #inkscape.
This is the file's page: https://commons.wikimedia.org/wiki/File:HarmCausedByDrugsTable.svg#%7B%7Bint%3Afiledesc%7D%7D
In my browser (Chrome on Ubuntu), the text is misaligned (image 1). Image 2 is the screenshot of the relevant SVG code.
From what I can gather, text-anchor:end is indeed what we want to ensure right-alignment but it's not working. Any idea on how to make this work?
I kinda thought Amazon was just completely neglecting Goodreads, but they've recently been doing a bunch of messing around with the front-end in a very "likes are now florps / timeline goes sideways" way.
Possibly this is related to the fact that Goodreads is the *slowest website I use regularly*, and has been for many, many years?
Goodreads, I've regularly used your website for *13 years*, and reviewed over 1000 books. I've got librarian privileges and I'm not even using a bunch of weird IP addresses.
Why do I need to complete a captcha every time I submit a review?
New post:
https://www.harihareswara.net/posts/2022/speech-to-text-with-whisper-how-i-use-it-why/
I've started regularly using OpenAI's #Whisper to make transcripts and captions/subtitles, and am writing to share how, and why, and my reflections on the ethics of using it.
A lot of HOWTO in here, but the last section dives into @simon's #ML #machinelearning #AI vegan analogy in a way you might find interesting even if Whisper isn't your thing.
TIL: you can use `shell: python` in GitHub Actions to run #Python code directly
https://github.com/pypa/virtualenv/blob/main/.github/workflows/check.yml#L77-L83
When you're doing walking lunges next to someone doing high steps and another person doing lateral band walks.
I’m happy to announce #Python attrs 22.2.0!
The headline feature is certainly the `alias` argument to fields that allows you to freely set the __init__ name for attributes (e.g. if you don't like attrs's behavior of stripping underscore).
But there's also a lot of under-the-hood improvements around performance and typing.
This is the last version to support Python 3.6. 🫡
Coverage.py 7.0 has shipped!
The feature change is `report --format`, but the version bumped because you might need to fix some settings.
Let me know if something is truly broken!
https://pypi.org/project/coverage/7.0.0
If anybody wants to contribute to an open source project with more almost 7 million downloads a month, have a look at https://github.com/tox-dev/tox/issues/2753
Looks like #Coverage 7 for #python dropped and here's a pro tip:
If you had:
```
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
```
change the second line to:
```
source = ["src", ".tox/**/site-packages"]
```
(or even `source = ["src", ".tox/py*/**/site-packages"]`)
If nothing about this makes sense: https://hynek.me/articles/testing-packaging/
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.