https://www.quantamagazine.org/busy-beaver-hunters-reach-numbers-that-overwhelm-ordinary-math-20250822/ #BusyBeaver #MathNerds #QuantaMagazine #SimonsFoundation #DeepDive #HackerNews #ngated
Как pytest работает под капотом
Основан на pluggy. Основная единица pytest - pytest плагин. Написан достаточно интересно. Ключевое слово - “ключевое слово”. Основное взаимодействие в pytest происходит через хуки. Хук это некий этап к которому можно получить доступ к той или иной логики работы. Следуя из названия это некоторые крючки за который можно цепляться вставляя свои заплатки. Начинаются с pytest. Фикстуры (Fixture) в pytest это некий аналог мока/сетап tear down в unittests. Это некие кусочки кода результаты которых могут быть пере использованы. Сами фикстуры реализованы как плагин. Как уже говорилось в эта система плагинов полагается на Pluggy . В Pluggy програамма полагается на PluginManager который управляет сохранения спецификаций хуков регистрацией плагинов и вызовом их. Плагины могут регистрировать сами себя в PluginManager. Когда хук стартуют они вызывают свои имплементации по умолчанию как LIFO очередь - самый поздний элемент вызывается раньше всего. Для изменения этого порядка вызова можно применять trylast or tryfirst свойства в их имплементациях(пример). По умолчанию возвращается результат от всех имплементаций с исключением случая с как firstresult свойством. В случае свойства firstresult программа возвращает результат первого не None результата. Другое интересное свойство имплементации плагина это hookwrapper. С помощью этого свойства имплементации будут вести себя как обертки над другими хуками с помощью yield. Вдохнули? Хуки вызываются 3 способами:
2024 wurden in Deutschland 250.000 neue Wohnungen fertig. Die Bevölkerung hat sich im selben Jahr nur um rund 100.000 Menschen erhöht. Und trotzdem herrscht Wohnungsnot?!
Mein Kollege @ghonsel wirft zusammen mit Peter Cachola Schmal, Direktor des Deutschen Architekturmuseums, einen genaueren Blick auf die Situation. Hört gern mal rein in den #Podcast! 🎙️
Reverse Proxy Deep Dive: Why Load Balancing at Scale Is Hard
https://startwithawhy.com/reverseproxy/2025/08/08/ReverseProxy-Deep-Dive-Part4.html
#HackerNews #ReverseProxy #LoadBalancing #DeepDive #TechInsights #ScalabilityChallenges
🏊Want to dive deeper into degrowth?
Applications for the first edition of the “DEEP DIVES” ONLINE COURSE are OPEN NOW!!🤸🏽♂️
⏰Apply by September 5th!
🧑💻 Apply here: https://forms.gle/G25BVcqwP25JAf5A6
—
#degrowth #course #online #policy #capitalism #capitalismsucks #deepdive
"POLICIES FOR DEGROWTH: PATHWAYS BEYOND CAPITALISM"
🚨The first edition of the "Deep Dives" Online Courses will be taught by Charles Stevenson, doctoral activist-scholar based at @icta-uab.bsky.social
🐌The high-intensity courses are designed to explore focused themes through a degrowth lens.
⏰Applications will open next Monday August 11th.
👉 Check our website for more information and the full syllabus degrowth.org/deep-dives/
Rolling Blackouts Coastal Fever // #RollingBlackoutsCoastalFever //
Dive Deep (Official Visualiser)
[album Endless Rooms, 2022]
//via // #SubPop //
#buzzingroom #music #youtube #RollingBlackoutsCoastalFever #EndlessRooms #DeepDive
Can #Cities Survive Without #Trees? A #DeepDive into the 3–30–300 #Rule : Medium
#Scientists May Have Found #Humanity’s #SixthSense—In Our #Gut : Pop Mechanics
Why the Key to a #Mathematical #Life is #Collaboration : Quanta Mag
Check our latest #KnowledgeLinks