Tootfinder

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

No exact results. Similar results found.
@mgorny@social.treehouse.systems
2025-06-29 16:44:37

So #Gentoo #Python eclasses are pretty modern, in the sense that they tend to follow the best practices and standards, and eventually deal with deprecations. Nevertheless, they have a long history and carry quite some historical burden, particularly regarding to naming.
The key point is that the eclasses were conceived as a replacement for the old eclasses: "distutils" and "python". Hence, much like we revision ebuilds, I've named the matching eclasses "distutils-r1" and "python-r1". For consistency, I've also used the "-r1" suffix for the remaining eclasses introduced at the time: "python-any-r1", "python-single-r1" and "python-utils-r1" — even though there were never "r0"s.
It didn't take long to realize my first mistake. I've made the multi-impl eclass effectively the "main" eclass, probably largely inspired by the previous Gentoo recommendations. However, in the end I've found out that for the most use cases (i.e. where "distutils-r1" is not involved), there is no real need for multi-impl, and it makes things much harder. So if I were naming them today, I would have named it "python-multi", to indicate the specific use case — and either avoid designating a default at all, or made "python-single" the default.
What aged even worse is the "distutils-r1" eclass. Admittedly, back when it was conceived, distutils was still largely a thing — and there were people (like me) who avoided unnecessary dependency on setuptools. Of course, nowadays it has been entirely devoured by setuptools, and with #PEP517 even "setuptools" wouldn't be a good name anymore. Nowadays, people are getting confused why they are supposed to use "distutils-r1" for, say, Hatchling.
Admittedly, this is something I could have done differently — PEP517 support was a major migration, and involved an explicit switch. Instead of adding DISTUTILS_USE_PEP517 (what a self-contradictory name) variable, I could have forked the eclass. Why didn't I do that? Because there used to be a lot of code shared between the two paths. Of course, over time they diverged more, and eventually I've dropped the legacy support — but the opportunity to rename was lost.
In fact, as a semi-related fact, I've recognized another design problem with the eclass earlier — I should have gone for two eclasses rather than one: a "python-phase" eclass with generic sub-phase support, and a "distutils" (or later "python-pep517") implementing default sub-phases for the common backends. And again, this is precisely how I could have solved the code reuse problem when I introduced PEP517 support.
But then, I didn't anticipate how the eclasses would end up looking like in the end — and I can't really predict what new challenges the Python ecosystem is going to bring us. And I think it's too late to rename or split stuff — too much busywork on everyone.

@arXiv_csIR_bot@mastoxiv.page
2025-07-29 09:06:31

Practical Multi-Task Learning for Rare Conversions in Ad Tech
Yuval Dishi, Ophir Friedler, Yonatan Karni, Natalia Silberstein, Yulia Stolin
arxiv.org/abs/2507.20161

@leftsidestory@mstdn.social
2025-06-27 02:02:21

Lights and Shadows 🔅
光与影 🔅
📷 Minolta Hi-Matic AF
🎞️ILFORD FP4 Plus, expired 1995
buy me ☕️ ?/请我喝杯☕️?
#filmphotography

Ilford FP4 @ ISO 64

English Alt Text: A person in a long coat with a backpack stands in front of a windowed building. To the left, crates and boxes are stacked on a wheeled cart, and overhead wires stretch across the scene.

中文替代文本: 一位身穿长外套、背着背包的人站在带窗户的建筑物前。左侧有一个堆满箱子的推车,上方布满电线,构成都市一角。
Ilford FP4 @ ISO 64

English Alt Text: A person in sunglasses sits at a table partially shaded by foliage. A bag with the letters “DS” rests on the table, and tents with people milling around suggest a lively market or outdoor event in the background.

中文替代文本: 一位戴着墨镜的人坐在桌旁,部分被植物遮住。桌上放着一个印有“DS”字样的包,背景是热闹的市场或户外活动,有帐篷和人群。
Ilford FP4 @ ISO 64

English Alt Text: A silhouetted figure sits alone inside a vehicle, gazing out of a window. The outside view is softly blurred, with hints of trees and buildings, while the interior is bathed in shadow, creating a moody black-and-white composition.

中文替代文本: 一位剪影般的人物独自坐在车内,望向窗外。窗外的景色模糊不清,隐约可见树木和建筑,车内则被阴影笼罩,构成一幅黑白对比强烈的画面。
Ilford FP4 @ ISO 64

English Alt Text: A textured wall catches the dappled shadows of tree branches and leaves in black and white. Several electrical meters are mounted in a row, while a scooter is partially visible in the lower right corner. Cracks and wear on the wall add a sense of age and atmosphere.

中文替代文本: 一面老旧墙壁上布满斑驳光影,树枝和叶子的阴影斜洒其上。墙上排列着几个电表,右下角部分可见一辆踏板摩托车。墙体的裂痕与磨损增添了岁月感与画面质感。
@arXiv_csNI_bot@mastoxiv.page
2025-07-29 08:33:51

A Scalable Resource Management Layer for FPGA SoCs in 6G Radio Units
Nikolaos Bartzoudis, Jos\'e Rubio Fern\'andez, David L\'opez-Bueno, Antonio Rom\'an Villarroel
arxiv.org/abs/2507.19963

@arXiv_csAR_bot@mastoxiv.page
2025-08-20 09:17:50

Sub-Millisecond Event-Based Eye Tracking on a Resource-Constrained Microcontroller
Marco Giordano, Pietro Bonazzi, Luca Benini, Michele Magno
arxiv.org/abs/2508.13244

@arXiv_csCR_bot@mastoxiv.page
2025-06-23 10:56:40

SmartGuard: Leveraging Large Language Models for Network Attack Detection through Audit Log Analysis and Summarization
Hao Zhang, Shuo Shao, Song Li, Zhenyu Zhong, Yan Liu, Zhan Qin, Kui Ren
arxiv.org/abs/2506.16981

@arXiv_qfinRM_bot@mastoxiv.page
2025-07-22 09:07:50

Approaches for modelling the term-structure of default risk under IFRS 9: A tutorial using discrete-time survival analysis
Arno Botha, Tanja Verster
arxiv.org/abs/2507.15441

@teledyn@mstdn.ca
2025-08-06 04:38:59

Happy to report I eventually found the arm64 port of #mobilizon AND found my own upgrade guide in their forum and @… is effortlessly upgraded to 5.1.5 now with our actual logo and a sensible default image. 😊
Yes, those are tiny noticeables, but it tells us the no-challenger¹ most promising #fediverse Event Org platform² is still alive, and that's good news ☺️
¹ some time ago someone here wanted to chat about an artist management Fediverse service but I got swept away (again)
² WP is also very good but lacking in the 'backstage' support.

@arXiv_eessSY_bot@mastoxiv.page
2025-07-25 09:23:42

Towards Microgrid Resilience Enhancement via Mobile Power Sources and Repair Crews: A Multi-Agent Reinforcement Learning Approach
Yi Wang, Dawei Qiu, Fei Teng, Goran Strbac
arxiv.org/abs/2507.18095

@Dragofix@veganism.social
2025-08-15 04:33:42

Unprecedented climate shocks are changing the Great Lakes forever #environment