Urgent.News

What's breaking now, across thousands of outlets.

Tech

NyxJ 2.0.0

NyxJ 2.0.0 marque un tournant : le projet passe d'un simple parseur à une plateforme complète pour le traitement JSON et les services web, écrite en C11 sans dépendance runtime. Cette release introduit un moteur de parsing thread-safe conforme RFC 8259, avec décodage complet des échappements, validation UTF-8 stricte et protection contre les attaques par déni de service JSON (profondeur maximale,…

NyxJ 2.0.0 represents a significant milestone in the project's evolution. This release transcends the role of a simple JSON parser to become a comprehensive platform for handling JSON and web services, all written in C11 without runtime dependencies. The core of the update introduces a thread-safe parsing engine that adheres to RFC 8259, featuring complete escape decoding, strict UTF-8 validation, and protection against JSON denial-of-service attacks (including depth limit, input size, and duplicate key rejection).

An arena allocator enables the release of entire trees in O(1) time, while a linear serializer ensures optimal round-trip serialization of numbers.

Beyond the core features, NyxJ 2.0.0 expands its capabilities with a dozen additional modules. These include a JSON-to-C struct mapping generator with code generation, JSON Schema validation, JSONPath queries (via NyxQuery), JSON Pointer/Patch/Merge Patch operations, MessagePack encoding/decoding, a zero-copy token view, SAX parsing in constant memory, and heuristically repairing almost valid JSON.

Runtime enhancements include a thread pool with backpressure management, an embedded key-value store with TTL, Prometheus metrics, Unix sockets, and a shared memory ring buffer.

The web framework component features a router with parameters and wildcards, middleware chaining, built-in HTTPS/TLS support, a native HTTP client, OpenAPI 3 generation with Swagger UI, /health and /ready probes, reverse proxy Safe-Gate mode, .so/.dll plugin system, and experimental gossip clustering. The accompanying toolset comprises a CLI (nyxj) with validation, formatting, querying, repairing, diffing, patching, MessagePack encoding, and struct generation commands, a configurable server, and a WebAssembly build with a browser demo.

Comprehensive testing covers over 500 checks, with continuous integration spanning Linux x64/ARM64, macOS, Windows, sanitizers, and WebAssembly environments. A full documentation suite (36 chapters) is provided with this release. NyxJ 2.0.0 is now available on GitHub at https://github.com/fomadev/nyxj/releases/tag/v2.0.0.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

CSS Pseudo-Classes & Pseudo-Elements: Features That Make Websites Feel Interactive

Have you ever hovered over a button on a website and watched it change colour? Maybe a navigation link suddenly became highlighted when your cursor moved over it.

  • Pseudo-classes define state-based styles (e.g., :hover, :focus)
  • Pseudo-elements target specific parts (e.g., ::before, ::after)
  • They enable interactive effects without JavaScript

How to Search Across Every Meeting Transcript You Own (Not Just the Last One)

"Someone mentioned pricing in a call last month. Which call? Who said it?" If your transcripts live as loose files from three different tools, that question takes twenty minutes.

  • Gather all meeting transcripts in a single folder and convert to plain text.
  • Use MeetScribe tool to index transcripts with metadata for targeted searches.
  • Import transcripts once to create local full-text index for efficient searching.

The agent loop is 32 lines. Stopping it is the product.

A working agent loop is almost embarrassingly short. In Python it was about 32 lines: call the model, if it asks for a tool you run the tool, append the result, loop.

  • The agent loop comprises approximately 32 lines of code.
  • Issues like temperature settings, tool errors, and budget limits can disrupt the loop.
  • Safeguards such as human intermediaries and exit point checks are crucial for reliability.

Amutable Foundations: A Technical Overview

Lennart Poettering, Michael Vogt, and Joaquim Rocha have put together a detailed overview of what the Amutable Operating System (AOS) and associated infrastructure will look like. The image-based OS approach enables us to enforce some very strict but powerful security properties, which elevate the security posture of the system…

  • AOS lacks UNIX shell and SSH access, reducing attack surface
  • AOS defaults to not installing Python and Perl interpreters
  • AOS only activates signed images with Verity data

Asahi Linux 7.3 progress report

The Asahi Linux developers have put out a new report on their progress toward a Linux distribution for Apple devices. Some time ago, we were made aware of multiple attempts to exploit our permissive licensing to hijack our work, with a direct view to replacing the project and aggressively monetising Linux on Apple Silicon.

  • Asahi Linux developers release progress report
  • Shift repositories to GNU GPL 2 or later
  • Code now licensed under strong copyleft

More from Saturday 7 November →