SShortSingh.
Back to feed

Desk-screen project adds crash recorder that pinpointed a stack overflow

0
·3 views

The Altar desk display, built on an ESP32-S3-BOX-3 board driven by a Mac hub, now records a core dump of its state whenever firmware panics. The dump lives in a dedicated 128 KB flash partition, with the panic message kept in memory that survives reboots, and the hub decodes it against the matching firmware build. The recorder costs about 4.3 KB of internal RAM, far above the 512 bytes originally budgeted, which forced a rewrite of the memory plan and left free RAM at an estimated 9.2 KB. Within 45 minutes of first use, it reported a stack overflow in the climate task, and a static analysis of worst-case stack usage then revealed that the climate and presence tasks exceeded their budgets by 768 bytes each, with the face task over by 128.

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
ProgrammingHacker News ·

Delta Flights Through Atlanta Delayed as Automated System Falters

Delta Air Lines flights routed through Atlanta experienced widespread delays after an automated system malfunctioned. The disruption affected the airline's operations at its major Atlanta hub. Details about the exact duration and cause of the malfunction were not available in the source material. The New York Times reported on the incident, which was also discussed on Hacker News.

0
ProgrammingDEV Community ·

DarijaKit: open-source toolkit for Moroccan Darija on local LLMs

Researchers at Manadger Tech, a Moroccan company, released DarijaKit, an open-source Python toolkit to help developers work with Moroccan Darija on their own hardware. Local language models handle Darija unevenly because it is written in Arabic script and Arabizi, mixed with French, and spelled inconsistently. The stdlib-only tool offers spelling normalization, Arabizi-to-Arabic transliteration, script detection, and a 30-item evaluation set for benchmarking local models. It also includes a LoRA fine-tuning recipe sized for a single 12 GB GPU and works with Ollama, llama.cpp, LM Studio, and vLLM. The code is MIT licensed, and the developers invite native speakers to contribute evaluation items and spelling mappings.

0
ProgrammingDEV Community ·

Render Remotion Videos to MP4 Without AWS Lambda Using PennyCompute

This walkthrough explains how to produce an MP4 from a Remotion composition without deploying Remotion Lambda or maintaining an AWS account, S3 bucket, and functions. It uses PennyCompute's remotion.render.v1 job, which involves bundling the project, hosting the bundle, submitting the composition and props, and downloading the finished file. The guide covers prerequisites such as a Remotion 4.0.530 project, a PennyCompute API key, and Node.js 18 or later. Pricing is billed per render plus a per-minute charge for output, with failed, cancelled, and expired jobs not charged, and a new account includes $5 in prepaid balance. Live rates and cost estimates should be confirmed on the PennyCompute pricing page before budgeting a production run.

0
ProgrammingDEV Community ·

Developer builds free open-source Tauri eye-break app Yonder as LookAway alternative

The author, who spends most of their day on Windows, wanted a 20-20-20 eye-break reminder but found LookAway to be Mac-only and paid. They built Yonder, a free cross-platform app using Tauri and a Rust core, which keeps installers tiny at 1.3 MB for Windows and 3.6 MB for macOS. Yonder avoids interrupting users mid-sentence by waiting while they type, pausing during calls, fullscreen apps, or chosen applications, and counting time away from the computer as a break. Its breaks blur the user's actual desktop behind a calm countdown rather than showing a harsh overlay. The core logic is designed as a testable function that returns effects applied by a thin layer, a design the author invites others to contribute to.