Urgent.News

What's breaking now, across thousands of outlets.

Tech

Using NLTP with MQTT: Healing 35% Wireless Packet Loss on ESP-NOW & UDP Before Your Broker

If you have ever deployed outdoor sensor nodes over noisy 2.4 GHz radio links, ESP-NOW, or rural 4G CGNAT modems, you have probably hit the First-Mile Wall : MQTT over TCP is great inside the cloud , where wildcard topics ( fleet/+/telemetry ), retained state, and subscriber fan-out shine. Out on a noisy radio link (15-35% random packet loss), TCP falls apart. Kernel TCP interprets wireless…

Wireless packet loss plagued outdoor sensor nodes on 2.4 GHz radio links, ESP-NOW, or rural 4G modems. TCP struggled with the loss, causing 15-20 seconds of stalling for sensor batch transmission. Small microcontrollers faced the opposite issue with raw ESP-NOW, as single pings worked but larger JSONL batches failed. To address this, an MIT-licensed open-source wire protocol called NLTP (v1.6.0) was developed.

NLTP uses a compact header, LZ4 compression, forward-secret AEAD, and systematic Reed-Solomon error correction. By keeping the MQTT broker untouched, NLTP improves wireless packet loss recovery up to 35% before data reaches the MQTT broker.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Are your model's probabilities calibrated? Expected calibration error in NumPy

There was a comment on Hacker News this week saying LLM token probabilities are badly calibrated for making decisions. I think that's right, and it's also something you can measure yourself in about…

  • Expected calibration error (ECE) measures calibration of model probabilities
  • NumPy library used to calculate ECE in Python code snippet
  • Perfectly calibrated model has lowest ECE and Brier score among four tested

From Rocket Science to Code: 12 Real-World Thermodynamic Notebooks with pyglenn

Engineering textbooks routinely introduce gas dynamics under the convenient assumption of constant specific heats. Students memorize that air has a heat capacity ratio ( γ ) of 1.4, calculate cycle…

  • pyglenn-notebooks showcase real-world thermodynamic modeling
  • Brayton cycle efficiency formula assumes constant specific heats
  • pyglenn reveals 2.6 percentage point efficiency difference

I wired my own Symfony invoicing to a French e-invoicing platform. Five things I learned.

France made e-invoicing mandatory in stages. Since 1 September 2026, every VAT-registered company must be able to receive electronic invoices through an approved platform (a "plateforme agréée"…

  • France mandates e-invoicing for VAT-registered businesses starting 2026
  • Symfony app integrated with approved e-invoicing platform for issuing and receiving invoices
  • Implement feature flags and local invoice storage before connecting to the platform

More from Saturday 14 November →