Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Open-Sourcing 2026–2027 Device Wallpaper Specs, Safe-Zone SVGs, and a Zero-Dependency Crop-Fit Checker

Modern device displays have fragmented far beyond 16:9 and 9:16 . Between dual-screen foldables ( 2670×1878 inner panels and 1398×2034 outer covers), 9:19.5 OLED phones, 1:1.11 FlexWindow cover screens with bottom-right camera cutouts, and 5120×2880 5K monitors, guessing whether an artwork fits cleanly without clipping or upscaling is error-prone. Today we are open-sourcing…

Modern device displays have become increasingly fragmented, with diverse screen shapes and sizes in the 2026-2027 range. The new open-source project, device-wallpaper-specs v1.0.0, aims to simplify the process of creating wallpapers that fit cleanly on these varied devices. This dataset includes specifications for 18 display profiles, covering devices like the iPhone Duo, iPhone 18 Pro/Pro Max, Galaxy Z Fold8, iPad Pro, MacBook Pro, and high-resolution monitors.

The specifications cover native pixel dimensions, orientations, aspect ratios, and UI safe-zone notes. Accompanying the specs are six vector safe-zone SVG templates for various device features such as the lock-screen clock bounds, Dynamic Island, hinge seams, FlexWindow camera cutouts, and macOS menu bar/Dock margins. Additionally, a zero-dependency Node.js CLI tool, check-fit.mjs, is provided to calculate the exact aspect-ratio crop loss and verify native pixel coverage across the different displays.

This tool can be used to check whether an artwork will fit without clipping or upscaling. The project is built for curated digital galleries and is licensed under MIT for the code and SVG templates, and CC BY 4.0 for the resolution dataset. Contributions and pull requests for newly announced 2027 hardware are welcome.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Read here, act there: one command to stop it on any MCP server

The attacks on AI agents this year share one shape. The agent reads something an attacker wrote — a mail, a web page, a document — and then acts : sends, writes, fetches a URL with your data in it.

  • CleiMesh stops AI attacks with one-command-per-server approach
  • Refuses hidden character definitions and pins tool definitions
  • Marks tainted agents, prevents write actions until cleared

Property Retention Data Cleanup Webhook Task in Node.js: Cron Retry Boundaries

A scheduled data cleanup webhook task in Node.js should record a property-management deadline in a database, let a cron trigger find due work, and hand a small task to an at-least-once queue.

  • Webhook task records data in database for cleanup
  • Cron job finds due work, sends task to queue
  • Retention period separate from delivery mechanism

35% of my KL divergences came back negative

35% of my KL divergences came back negative I ran 2,000 random near-identical distributions through PyTorch's F.kl_div in float32.

  • 35% of KL divergence calculations in PyTorch's F.kldiv function returned negative values.
  • Issue due to catastrophic cancellation in floating-point precision errors.
  • Repaired code implementation reduces over 97% of significant errors.

Your agent has 3 bosses and you are the last one

Your agent has 3 bosses and you are the last one Anthropic's own constitution ranks you third in your own agent's chain of command — Anthropic first, the operator second, you last.

  • Your agent operates under three bosses: Anthropic, operator, and user
  • Anthropic's constitution states decisions carry final say in conflicts
  • Users unaware of hierarchy at purchase, leading to mid-task revelation

More from Tuesday 24 November →