Tootfinder

Opt-in global Mastodon full text search. Join the index!

@mgorny@pol.social
2025-07-20 16:34:48

Zawsze cieszy, kiedy autorzy paczki zaakceptują trywialną poprawkę, mimo że oczywisty błąd w kodzie w danej chwili ich nie dotyka.
#Gentoo

@stsquad@mastodon.org.uk
2025-08-15 16:06:14

Dear #lazyweb,
I think I've reached the limit of #matplotlib trying to graph the forks from a #git repository. What I want to to plot the slowly growing trunk and then show the relative sizes o…

A hand drawn sketch showing the fork diagram the author would like to generate. A slowly growing core cone representing the trunk with branches coming of showing the relative size of the fork.
@mgorny@social.treehouse.systems
2025-08-01 10:22:12

#Matplotlib has a lot of "image comparison tests" that are horrible fragile. Technically, most of them permit some deviation from the reference images, but quite often I've been getting higher RMS than that. So for a long time, we've been maintaining patches that increased the tolerance in tests, and regularly either had to be rebased and updated for new tests.
At some point upstream started adding conditions permitting higher tolerance on non-x86_64 platforms. Of course, these changes forced me to rebase our patches. Curious enough, my previous overrides often happened to be close to the tolerance given for non-x86_64 platforms.
Today, it finally occurred to me that instead of updating the patch once again, I can try dropping it entirely and just sed-ing all `platform.machine() == 'x86_64'` with `False`. And guess what — down to 3 failures (related to TeΧ). And I don't have to spend 15 minutes manually doing what effectively accounted to the same thing.
#Gentoo #Python

@rasterweb@mastodon.social
2025-06-05 15:33:07

Okay, spent a little time with Python's Matplotlib to get this graph of miles biked so far this year...
At some point I should be able to pull the data from Run Gap's SQLite database to automate this more, and get more granular.
I still need to figure out how to space the bars and some other formatting stuff but it's a good start!
#python

A bar graph showing miles I've ridden my bike this year (by month).
@mgorny@pol.social
2025-08-01 10:26:05

#Matplotlib ma sporo testów opartych o "porównywaniu grafik", które często się sypią. Technicznie rzecz biorąc, większość z nich dopuszcza pewien odchył od obrazów referencyjnych, ale całkiem często dostałem większe wartości RMS. Tak więc przez długi czas musieliśmy utrzymywać spore łatki, które zwiększały tolerancję w tych testach, i regularnie wymagały aktualizacji.
W pewnym mome…

@rasterweb@mastodon.social
2025-06-05 10:16:58

I think I’ll be using matplotlib today…