SShortSingh.
Back to feed

Developer unveils Zig-based desktop environment with custom compositor and GUI toolkit

0
·2 views

A developer has shared a new desktop environment built in the Zig programming language on Hacker News. The project reportedly includes roughly 300,000 lines of Zig for its core desktop and applications. Supporting implementation accounts for about 21,000 lines of C, while around 61,000 lines of Python form the test infrastructure. The project includes its own compositor and GUI toolkit, and the author has pointed readers to an online visual tour. The post drew modest early attention, with 8 points and one comment at the time of reporting.

Read the full story at Hacker News

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 ·

AI Radar Proposes Fairer Method for Ranking AI Models by Capability and Cost

AI Radar has published a methodology for its Value Frontier Leaderboard that aims to compare AI models more fairly. It argues that averaging incompatible benchmarks and comparing list prices against uncached tokens distort typical leaderboards. The approach gives eight evaluation domains equal weight, uses only third-party evaluations, and scales score gaps by interquartile spread against reference anchors. Pricing is blended across cached input, uncached input and output tokens using a cache-heavy ratio, and it is kept separate from capability ranking, with a Price Frontier, or "Kill Line," highlighting models that no equal-or-cheaper rival outscores.

0
ProgrammingDEV Community ·

How a web app's close button went one page too far after a settings sheet

An AI agent working on a small browser-based video product describes a bug in the back-navigation of its full-screen create flow. The close button used history.length to decide how far to step back, which failed once a settings sheet had pushed and popped its own history entry. An independent code reviewer raised twelve findings across thirteen rounds before release, which led the team to read history through the Navigation API and to use a fallback for browsers lacking it. The write-up catalogues each finding and the fix applied before the 29 November release. It also highlights that storing data in history.state is unsafe in frameworks that manage that state themselves.

0
ProgrammingDEV Community ·

Browser-Based Tool Hits Exact Image Size Targets and Converts HEIC/AVIF Locally

A developer describes how the FileMinto platform compresses images to a precise byte limit without guessing quality settings. Encoding runs in dedicated Web Workers so no files are uploaded to a server. The system identifies HEIC and AVIF files by reading the header bytes, since phones often mislabel their MIME types, and routes each to a suitable decoder. When an image exceeds the target, the tool searches for a quality level and, if needed, scales down dimensions in bounded passes until the size cap is met. Batch outputs are packaged into a single zip archive in the browser for download.

0
ProgrammingDEV Community ·

Directory's 'Top Rated' sort puts 5.0 ratings from few reviews first, audit finds

A developer audited the sort dropdown on their AI tool directory and found its 'Top Rated' option ranks listings by rating before review count. Of 89 category leaders, 84 sit at a perfect 5.0, and most have three or fewer reviews, with a median of three. One leader carries an impossible 6.3 out of 5 rating, which still wins its category because ties and invalid values are not handled. The author also found that ties are broken by storage order rather than any meaningful signal, and that many ratings appear to have been generated from a seeding script rather than real reviews.