TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

21 pointsby vasusenabout 6 hours ago
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

devonbleakabout 5 hours ago
Alternative version: check for dings on my phone from every news outlet sending a notification about it.
akmarinovabout 5 hours ago
Test should be passing now
评论 #43928806 未加载
hcazabout 5 hours ago
What was your motivation to use AI for this instead of simple image analysis?
评论 #43928438 未加载
评论 #43929226 未加载
评论 #43928427 未加载
alkhabout 4 hours ago
How much did you end up spending on API credits for Flash 2.0?
评论 #43930104 未加载