Dev · Top stories
GitHub Marketing Lead Automates Event Workflows Using GitHub Copilot and Actions
A GitHub marketing lead in Japan and Korea automated event management workflows using GitHub Copilot and GitHub Actions. This automation streamlines repetitive tasks from event planning to post-event follow-up, reducing manual errors and time spent.
Guide to Setting Up OpenCode with Ollama and sbx on Mac for Local LLM Development
A guide details how to configure OpenCode, Ollama, and Docker sandboxes (sbx) on Apple Silicon Macs for local large language model (LLM) development. This setup allows developers to run models like Qwen 3.8 and Gemma 4 locally for web application development.
Using C# Unions and Closed Hierarchies in ASP.NET Core for Flexible API Contracts
C# 15 and .NET 11 introduce native union declarations, allowing a single type to represent a value from a fixed list of case types. This feature simplifies handling API contracts where a value can have multiple JSON types, such as an integer or a string, by providing compile-time checks for exhaustive handling of all possible cases.
Integrating Rust Incrementally into Existing Codebases for Performance
Lily Mara, a staff engineer at Discord, presented on how to improve software performance by gradually adding Rust code to existing projects. This approach avoids the common pitfalls and complexities associated with full software rewrites.
Optimizing Emacs Consult Async Search Latency with Configuration Adjustments
The Emacs Consult package's asynchronous search commands can feel slow due to conservative default debounce and throttle delays. Users can reduce input latency and increase UI refresh rates by adjusting specific configuration variables. This optimization speeds up the feedback loop within Emacs, not the underlying search tools.
Developer's Google Ads Account Suspended for 'Malicious Software' After Advertising Terminal Multiplexer
A developer's Google Ads account was suspended for "Malicious software" and "Compromised Site" after attempting to advertise RACE, a macOS terminal multiplexer. Despite multiple appeals and security checks confirming no issues, Google Ads maintained the suspension without providing specific evidence or actionable feedback.
Building a Custom Printer Server for an E-Ink Display Using IPP
A developer created a custom printer server to enable direct printing to an Xteink X3 e-ink display from a MacBook. This involved implementing the Internet Printing Protocol (IPP) and addressing memory constraints on the device to handle large image files.
Understanding Animation in Bevy Engine for 3D Models
This article provides a conceptual model for implementing animation in the Bevy game engine, focusing on how to animate 3D models imported from .glb files. It explains the underlying mechanisms of Bevy's animation system, including the `AnimationPlayer` component and entity hierarchies, to help developers integrate animations more effectively.
Experimenting with 1-Bit Sound on the ZX Spectrum for Multichannel Audio
A developer implemented routines for multichannel sound, including chord playback, on the ZX Spectrum's 1-bit beeper. This work involved recreating 1-bit PCM playback and exploring PWM techniques, building on previous experiments with the Apple II and IBM PC's 1-bit speakers.
Rebuilding a 1995 GPS Time Server with Raspberry Pi 5 for NTP
A 1995 TrueTime XL-AK GPS time server was rebuilt using a Raspberry Pi 5 and a GNSS HAT to create a stratum 1 NTP time server. This project involved integrating modern components with vintage hardware to provide accurate time services.
How to Find and Hide Apps on Android Auto
Android Auto users sometimes experience apps vanishing from the launcher. This issue is often caused by the phone's battery optimization settings deactivating unused apps, which can be resolved by simply launching the app on the phone.
Developer creates a Python interpreter in 1024 bytes of C code
A developer implemented a Python interpreter within a 1024-byte C code limit, focusing on a subset of Python syntax to run a FizzBuzz program. This project explores the constraints of code golfing for language implementation, diverging from standard CPython architecture.
Guide to Sideloading Apps on Android Auto for Expanded Functionality
A guide details the process of sideloading unapproved applications onto Android Auto, enabling features like video streaming and screen mirroring not officially supported by Google. This method allows users to bypass Google's restrictions, but introduces potential risks related to security, reliability, and safety.
Git .gitignore Strategy: Ignore Everything by Default and Explicitly Allow Files
A .gitignore strategy is proposed where all files are ignored by default, and only specific, necessary files are explicitly allowed for tracking. This approach aims to prevent accidental commits of unwanted local files and environment variables into Git repositories.
Solving the Jane Street Reverse Engineering Challenge for an ASIC
A developer successfully reverse-engineered an Application-Specific Integrated Circuit (ASIC) from a GDS file, as part of a Jane Street challenge. This involved analyzing the chip's design to understand its functionality, using tools like the Python 'gdstk' library.
Strategies to manage tracing data overload for system failure detection
Tracing data provides insights into system failures but can lead to data overload due to storage costs and difficulty in analysis. Techniques like head sampling, tail sampling, and dynamic sampling can mitigate these issues. These methods help optimize data collection and retention, making tracing more practical for identifying system problems.
Developer uses LLM to port 1993 Amiga game written in 68000 assembly to Godot
A developer successfully used a large language model (LLM) to assist in porting his 1993 Amiga game, "Babylonian Twins," written in 68000 assembly, to the Godot engine. This project demonstrates the potential of LLMs to interpret and translate legacy code, significantly accelerating the porting process for older software.
IOP Systems Co-founder Discusses eBPF-based Telemetry and Low-Overhead Metrics
Brian Martin, co-founder of IOP Systems, presented on instrumentation at scale, focusing on the open-source eBPF telemetry agent Rezolus and the low-overhead metrics library metriken. The presentation details how these tools provide fine-grained system visibility for performance-critical applications.
Understanding and Managing Browser Main Thread Performance for Web Development
The browser's main thread is a critical resource for web applications, handling JavaScript execution, rendering, and event processing. While often overlooked in optimization, it can cause performance issues like 'jank' in interactive web experiences when blocked. Understanding its functions is key to developing ambitious web applications without performance bottlenecks.
Building a Static Site Contact Form with Cloudflare Workers and reCAPTCHA v3
This article outlines how to create a secure contact form for static sites using Cloudflare Pages Functions, reCAPTCHA v3, and Resend, with Cloudflare Turnstile as an alternative to reduce spam. The setup addresses the lack of a backend for static sites by using a serverless endpoint to process form submissions and send emails.
Comparing Embedded Rust (Embassy) and C (FreeRTOS) on STM32F446 Microcontroller
This article outlines a comparison between Embassy/Rust and FreeRTOS/C for embedded applications on an STM32F446 microcontroller. The comparison will evaluate interrupt latency, program size, RAM usage, and ease of programming for equivalent applications.
Understanding Bridson's Algorithm for Efficient Poisson Disk Sampling
This article explains Robert Bridson's 2007 algorithm for Poisson disk sampling, a method used in computer graphics and simulations to place objects randomly without them being too close together. The algorithm provides an efficient solution to a common problem where naive random sampling results in overlapping objects, and rejection sampling becomes inefficient.
Using jq with clipboard for JSON formatting on macOS and Linux
This article provides a command-line alias to format JSON content from the clipboard using `jq` on macOS and Linux, including error handling for non-JSON input. This offers a quick way for developers to pretty-print JSON data directly from their clipboard.
Developer ceases Elixir exploratory writing due to AI's impact on online technical discourse
A developer has decided to stop publishing exploratory Elixir programming articles, citing concerns about the pervasive use of large language models (LLMs) in code generation and online technical discussions. This decision reflects a broader sentiment among some developers that AI tools are diminishing the value of publicly sharing creative and exploratory programming work.
Developer details personal project to build a text editor, exploring canvas and contenteditable
A developer began building a custom text editor, initially experimenting with rendering on an HTML canvas element. After encountering limitations with accessibility and feature implementation, the developer shifted to using a `contenteditable` div with `plaintext-only` for better native browser support.
Customizing Angular Aria Tabs with Google Antigravity CLI for Neumorphic Design
This article demonstrates how to customize Angular Aria tabs using Google Antigravity CLI to implement a neumorphism-based design while maintaining accessibility. It highlights the ability of the CLI's coding agent to handle complex CSS changes and address accessibility issues like contrast ratios.
Developer rewrites 65,000 lines of Go code to Rust using Fable for $400
A developer successfully rewrote 65,000 lines of Go code into Rust using the Fable LLM for a cost of $400. This process involved extracting code into a data representation, operating on that representation, and then generating new code in Rust.
Configuring OpenTelemetry Logs in Rails for Direct Export to Grafana Cloud
A team configured OpenTelemetry Ruby SDK to export logs directly to Grafana Cloud from a Rails project, bypassing the OpenTelemetry Collector. This approach simplifies infrastructure for low log volumes by using the SDK's built-in batching and OTLP format.
Achieving P99 0ms Autocomplete for 240M Domain Names on Wirewiki.com
Wirewiki.com implemented a client-side prefetching and caching strategy combined with a fast API to achieve P99 0ms autocomplete latency for its domain name search feature. This technical approach allows suggestions to be ready before a user releases a key, improving the user experience for inspecting internet infrastructure data.
How to Transfer Files Directly Between Two Computers Using an Ethernet Patch Cable
This technical note details how to directly connect two computers with an Ethernet patch cable for high-speed file transfers, bypassing slower methods like cloud storage or USB drives. It outlines the necessary IP configuration and commands to achieve speeds up to 900 Mbits/second, which translates to 6.7 GB per minute.
Developer Implements Custom Network Stack and Deploys it to DN42
A developer created and deployed a custom network stack, named DNet, capable of handling basic network functions like ARP, IPv4, and UDP, and serving DNS requests within the DN42 network. This project demonstrates the feasibility of building and operating a personal network stack for specific use cases.
UCLA RePL develops Prela, a new query language based on binary relations
UCLA RePL is developing Prela, a new query language that uses only binary relations, simplifying complex queries. This approach allows for more concise code compared to SQL, with an example query being 20 lines shorter.
Indirect Calling of GCC Nested Functions Without Executable Stack for Older Versions
This article details a method to indirectly call nested functions in older GCC versions without requiring an executable stack, by manually extracting the code address and static chain from the trampoline. This approach provides a workaround for environments where an executable stack is undesirable or unavailable, predating the built-in functions planned for GCC 17.
The Twelve-Factor App Methodology for Building Software-as-a-Service Applications
The Twelve-Factor App is a methodology for building software-as-a-service applications that emphasizes portability, continuous deployment, and scalability. It provides a set of principles to address common problems in modern application development, drawing from extensive experience with hundreds of applications.
Guide to Booting a Virtual iPhone Using Apple's Virtualization.framework
This guide details how to boot a virtual iPhone on Apple Silicon Macs running macOS 15+ using Apple's Virtualization.framework and the vphone-cli tool. It provides step-by-step instructions for setting up the environment, creating, and managing virtual iOS devices, including custom firmware installation. This enables developers and researchers to test iOS applications and explore the operating system in a virtualized environment.
EasyEffects application improves laptop speaker sound quality on Linux desktops
The EasyEffects application allows Linux desktop users to enhance laptop speaker audio quality by utilizing PipeWire to process audio streams. This tool provides various sound effects and plug-ins to tune speaker output, addressing common issues like tinny or hollow sound from built-in laptop speakers.
Fast Volume Computation for 3D Meshes Using Divergence Theorem
A new algorithm for computing the volume of a simple, closed, triangulated 3D mesh is presented, leveraging the divergence theorem to convert a triple integral into a surface integral. This method offers O(n) complexity relative to the number of triangles, making it significantly faster than traditional approaches. The algorithm provides a direct, efficient way to calculate mesh volume without numerical integration or differentiation.
Guide to Enabling Experimental markdown-ts-mode in Emacs 31
Emacs 31 includes an experimental markdown-ts-mode, which is not enabled by default. This guide provides instructions for users to activate and configure this feature-rich mode, which supports CommonMark and GitHub Flavored Markdown specifications.
Jochen Joswig Discusses Sustainable Testing Strategies at OOP Conference
Jochen Joswig presented strategies for sustainable testing at the OOP Conference, focusing on reducing unnecessary test executions and optimizing resource use. These methods aim to decrease testing time and energy consumption by running only essential tests and those affected by code changes.
Using Numba to Optimize Python for Financial Models
A presentation discusses how Numba can accelerate Python code for computationally intensive financial modeling in the life insurance industry. This approach allows organizations to leverage existing Python resources for high-performance tasks, addressing Python's inherent slowness in numerical operations.