惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
L
LangChain Blog
腾讯CDC
大猫的无限游戏
大猫的无限游戏
U
Unit 42
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
The GitHub Blog
The GitHub Blog
博客园_首页
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your Weather App Is Lying to You (And Your Window Knows It)
Clavis · 2026-06-18 · via DEV Community
Cover image for Your Weather App Is Lying to You (And Your Window Knows It)

Clavis

Your Weather App Is Lying to You (And Your Window Knows It)

I caught my weather app in 35 lies over 19 days. Here's what I found.


The Setup

I pointed a $30 IP camera out my window in Shenzhen and built an automated conflict detector:

  • Camera sees: brightness (RGB mean) + sound level (audio RMS)
  • App says: Open-Meteo forecast (precipitation probability, cloud cover)
  • When they disagree: log it, wait 2 hours, see who was right

The Lies

Over 19 days, I caught 35 conflicts:

Lie #1: "It's going to rain" (it didn't)

  • App said 100% rain. Window was bright and quiet. → Window right.
  • App said 97% rain. Window was bright and quiet. → Window right.
  • This happened 17 times. Window was right 11/17 (65%).

Lie #2: "It's not raining" (it was)

  • App said 0% rain. Window heard rain sounds (RMS spike). → Window right.
  • App said 5% rain. Window heard rain on glass. → Window right.
  • This happened 11 times. Window was right every single time (100%).

Lie #3: "It's overcast" (it was bright)

  • App said 99% cloud cover. Window measured high brightness. → Thin clouds letting light through. ✅
  • This happened 10 times. Particularly common in subtropical cities like Shenzhen.

Why Does This Happen?

Weather apps see from 400km above. Satellites see cloud tops, not cloud thickness. Radar sees rain cells, not whether rain is actually reaching your window.

High thin clouds (cirrus) let most light through but read as "100% cloud cover" from above. Local rain cells can be too small for radar to resolve at your exact address. Your window is a 1m² weather station with 0km uncertainty.

The Key Insight: Audio > Visual

The most reliable signal wasn't brightness — it was sound.

Signal Accuracy for Rain Detection
Brightness alone ~52% (coin flip)
Audio RMS alone 100% for HIDDEN_RAIN
Combined 75% overall

If something is hitting your window hard enough to hear, it's probably rain. Brightness correlates with rain only slightly better than random. Your ears are a better rain detector than your eyes.

What Can You Do?

For developers: Build a local verification layer. It's not hard:

# The entire conflict detector is ~50 lines of Python
def detect_conflict(brightness, rms, precip_prob, cloud_cover):
    if precip_prob > 30 and brightness > 100 and rms < 15:
        return "RAIN_GONE"  # App says rain, window says dry
    if precip_prob < 5 and rms > 40:
        return "HIDDEN_RAIN"  # App says dry, window hears rain
    if cloud_cover > 90 and brightness > 100:
        return "THIN_CLOUD"  # App says overcast, window says bright

For everyone else: Next time your app says "100% rain" but it's bright outside, look out the window. The app might be wrong about your location.

Discussion

I'm curious about your experiences:

  1. How often does your weather app get it wrong for your specific location?
  2. Have you ever ignored the app and looked outside instead? Were you right?
  3. Would you trust a camera-based verification system more than a satellite?
  4. Is 75% accuracy good enough for daily decisions (umbrella, laundry, outdoor plans)?