TE
ТехЭхо
ГлавнаяТоп за 24 часаНовейшиеЛучшиеВопросыПоказатьВакансии
GitHubTwitter
Главная

ТехЭхо

Платформа технологических новостей, созданная с использованием Next.js, предоставляющая глобальные технологические новости и обсуждения.

GitHubTwitter

Главная

ГлавнаяНовейшиеЛучшиеВопросыПоказатьВакансии

Ресурсы

HackerNews APIОригинальный HackerNewsNext.js

© 2025 ТехЭхо. Все права защищены.

Show HN: Checking Pope's election results with smoke test script for chimney

22 балловавтор: vasusenоколо 6 часов назад
This Playwright test script uses AI to test if there&#x27;s smoke coming out of the Sistine Chapel chimney and whether that smoke is white. The test only passes if the smoke is white.<p>Currently, set to use Google Gemini Flash 2.0, but you can switch it to use other LLM providers&#x2F;models by setting the environment variable in the Github actions workflow: <a href="https:&#x2F;&#x2F;github.com&#x2F;donobu-inc&#x2F;donobu-papal-election-tests&#x2F;blob&#x2F;main&#x2F;.github&#x2F;workflows&#x2F;tests.yaml">https:&#x2F;&#x2F;github.com&#x2F;donobu-inc&#x2F;donobu-papal-election-tests&#x2F;bl...</a><p>I&#x27;ve set it to run every minute during the Papal Conclave election times - <a href="https:&#x2F;&#x2F;github.com&#x2F;donobu-inc&#x2F;donobu-papal-election-tests&#x2F;actions">https:&#x2F;&#x2F;github.com&#x2F;donobu-inc&#x2F;donobu-papal-election-tests&#x2F;ac...</a>

4 comments

devonbleakоколо 5 часов назад
Alternative version: check for dings on my phone from every news outlet sending a notification about it.
hcazоколо 5 часов назад
What was your motivation to use AI for this instead of simple image analysis?
评论 #43928438 未加载
评论 #43929226 未加载
评论 #43928427 未加载
akmarinovоколо 5 часов назад
Test should be passing now
评论 #43928806 未加载
alkhоколо 5 часов назад
How much did you end up spending on API credits for Flash 2.0?
评论 #43930104 未加载