SShortSingh.
Back to feed

Engineer migrates live IoT smart cane platform to Google Cloud with zero forced app updates

0
·5 views

In January 2024, a backend engineer took over WeWALK, a smart cane platform serving 27,000 visually impaired users, and migrated it from a largely inaccessible self-hosted Rancher/Kubernetes cluster to Google Cloud Run, Cloud SQL, and Firestore. The core challenge was ensuring no user was ever forced to update their app, since the cane is a mobility aid and any interruption could leave someone stranded. To preserve existing AWS WebSocket endpoints baked into older client binaries, the engineer built a Lambda-to-Cloud-Run proxy that silently forwarded traffic to the new infrastructure without clients noticing the change. The migration also involved reconciling heterogeneous data stores — MongoDB, PostgreSQL, and Firestore — while handling a continuous stream of 102-byte device diagnostics arriving every ten seconds from canes in the field. The entire cutover was completed with no reported support tickets related to the migration.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Stripe Handles Affiliate Commissions When Discount Coupons Are Applied

When a customer uses a discount coupon after clicking an affiliate link, calculating the correct commission requires careful handling to avoid paying out more than the sale earns. Stripe's invoice.amount_paid field already reflects the post-discount amount, making it the only reliable base for calculating affiliate commissions. Using the full list price instead can result in commission payouts that nearly wipe out or exceed the actual revenue collected, especially during promotional periods. Unique affiliate promo codes, such as JANE20, can serve a dual purpose by both discounting the purchase and identifying which affiliate should be credited. When both a tracked link and a coupon code are present, developers are advised to establish a single attribution rule — prioritizing code-based attribution over click-based tracking — and to key every commission entry to the invoice ID to prevent duplicate payouts.

0
ProgrammingDEV Community ·

GPT-5.6 Reportedly Proves 30-Year-Old Convex Optimization Lower Bound

On July 17, 2026, a researcher shared findings on Reddit's r/math community claiming that GPT-5.6 Sol, guided by a carefully constructed prompt, produced a proof establishing an Omega(d^2) lower bound for convex optimization over a standard function class. This lower bound matches the upper bound of an algorithm published roughly 30 years ago, effectively closing a long-standing complexity gap and confirming that no faster algorithm can exist for this problem class. The computation reportedly took approximately 148 minutes of sustained reasoning, and the researcher noted the result followed over a year of failed attempts using earlier AI models. The finding carries broader significance because convex optimization underpins the gradient descent methods used to train modern neural networks, including the very models that produced the proof. The announcement gained traction on Hacker News with over 500 points, though mainstream coverage of GPT-5.6 that same week remained focused largely on consumer features and pricing.

0
ProgrammingDEV Community ·

Developer Builds Interactive 3D Tilt Card with Particles Using Vanilla HTML and JS

A full-stack developer based in Lagos, Nigeria, created a lightweight interactive UI demo without any external libraries. The project features a canvas-based particle network background, a glassmorphic card that tilts in 3D based on mouse position, and a typewriter effect cycling through role text. The 3D tilt effect is achieved using CSS properties like transform-style: preserve-3d and a perspective value on the parent container, while the typewriter animation relies solely on setTimeout and two counters. The entire project fits into a single HTML file with roughly 60 lines of CSS and 60 lines of JavaScript. The developer built it as a self-contained portfolio demo to demonstrate core fundamentals like canvas rendering, CSS 3D transforms, and animation timing.

0
ProgrammingDEV Community ·

Tufts Researchers Embed Health-Monitoring Circuits Directly Into Clothing Thread

Scientists at Tufts University have developed a method to build fully functional analog circuits onto single strands of coated thread, enabling health monitoring without wearable devices. The thread incorporates transistors, resistors, sensors, and amplifiers, allowing it to bend, stretch, and twist while remaining operational. In demonstrations, thread placed near the temple detected eye blinking, while thread near the diaphragm accurately tracked breathing patterns and respiration rate. A key material called eutectogel serves as the transistor's gate dielectric and, unlike conventional hydrogels, resists drying out and can partially self-heal when rejoined with gentle heat. The technology could pave the way for everyday garments that passively monitor health metrics without any rigid electronics or external charging.