TE
TechEcho
AccueilTop 24hRécentsMeilleursQuestionsPrésentationsEmplois
GitHubTwitter
Accueil

TechEcho

Une plateforme d'actualités technologiques construite avec Next.js, fournissant des nouvelles et discussions technologiques mondiales.

GitHubTwitter

Accueil

AccueilRécentsMeilleursQuestionsPrésentationsEmplois

Ressources

HackerNews APIHackerNews OriginalNext.js

© 2025 TechEcho. Tous droits réservés.

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

25 pointspar vasusenil y a environ 9 heures
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

devonbleakil y a environ 8 heures
Alternative version: check for dings on my phone from every news outlet sending a notification about it.
hcazil y a environ 8 heures
What was your motivation to use AI for this instead of simple image analysis?
评论 #43928438 未加载
评论 #43929226 未加载
评论 #43928427 未加载
akmarinovil y a environ 7 heures
Test should be passing now
评论 #43928806 未加载
alkhil y a environ 7 heures
How much did you end up spending on API credits for Flash 2.0?
评论 #43930104 未加载