Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: js Clear Filter

Lexy: A parser combinator library for C++17

Why should I use lexy over XYZ? lexy is closest to other PEG parsers. However, they usually do more implicit backtracking, which can hurt performance and you need to be very careful with rules that have side-effects. This is not the case for lexy, where backtracking is controlled using branch conditions. lexy also gives you a lot of control over error reporting, supports error recovery, special support for operator precedence parsing, and other advanced features. Boost.Spirit The main differenc

We all dodged a bullet

Loading... Why am I seeing this? You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone. Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the addit

A new experimental Go API for JSON

Joe Tsai, Daniel Martí, Johan Brandhorst-Satzkorn, Roger Peppe, Chris Hines, and Damien Neil 9 September 2025 Introduction JavaScript Object Notation (JSON) is a simple data interchange format. Almost 15 years ago, we wrote about support for JSON in Go, which introduced the ability to serialize and deserialize Go types to and from JSON data. Since then, JSON has become the most popular data format used on the Internet. It is widely read and written by Go programs, and encoding/json now ranks

Topics: encoding error json v1 v2

We All Dodged a Bullet

Loading... Why am I seeing this? You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone. Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the addit

The easy way to make a website with Markdown

Next.js 15 Markdown Boilerplate A minimal Next.js 15 application that renders content from Markdown files. Features Render Markdown files as dynamic pages Add React components anywhere in your Markdown The folder structure becomes the URL path Global styles using Tailwind CSS and DaisyUI See a live example at nextjs-markdown-boilerplate.vercel.app/ How to use it I'm lazy, so I made this extremely simple. Pages Just write some markdown in a .mdx file, and it will automatically become a

Topics: add content js mdx page

Intuitive find and replace CLI (sed alternative)

sd - s earch & d isplace sd is an intuitive find & replace CLI. The Pitch Why use it over any existing tools? Painless regular expressions. sd uses regex syntax that you already know from JavaScript and Python. Forget about dealing with quirks of sed or awk - get productive immediately. String-literal mode. Non-regex find & replace. No more backslashes or remembering which characters are special and need to be escaped. Easy to read, easy to write. Find & replace expressions are split up, w

Topics: echo json null sd sed

Show HN: Simple modenized .NET NuGet server reached RC

Simple modenized NuGet server implementation. (日本語はこちら) What is this? A simple NuGet server implementation built on Node.js that provides essential NuGet v3 API endpoints. Compatible with dotnet restore and standard NuGet clients for package publishing, querying, and manually downloading. A modern browser-based UI is also provided: You can refer to registered packages. You can check various package attributes. You can download packages by version. You can also publish (upload) packages.

Anything can be a message queue if you use it wrongly enough (2023)

Loading... Why am I seeing this? You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone. Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the addit

Mosyle identifies new Mac malware that evades detection through fake PDF conversion tool

Mosyle, a leader in Apple device management and security, has exclusively revealed to 9to5Mac details on a new Mac malware strain, dubbed “JSCoreRunner”. The zero-day threat evaded all detections on VirusTotal at the time of discovery, spreading through a malicious PDF conversion site called fileripple[.]com to trick users into downloading what appears to be a harmless utility. Free tools that promise quick file conversions for HEIC and WebP files, PDFs, and Word docs have become prolific onlin

SmallJS: Smalltalk-80 that compiles to JavaScript

SmallJS is a free and open source implementation of the elegant and powerful Smalltalk-80 (ST) language. It compiles to JavaScript (JS) that runs in modern browsers or in Node.js. SmallJS is file based, not image based, so you can develop in your favorite IDE. The default setup is for Visual Studio Code, with ST syntax coloring and step debugging! You code separately from the SmallJS base libraries (image) and only the parts you use are imported automatically when running your app. SmallJS is

Making games in Go: 3 months without LLMs vs. 3 days with LLMs

Introduction After 15 years as a software engineer, I realized I had never actually built and published a game. Since I grew up in 🇦🇷 Argentina playing card games with my friends, I figured I’d choose one of those. I asked myself: Truco: 3 Months Without LLMs On June 18th of 2024 I started building Truco in my free time. As a longtime Go backend developer, the backend was obvious. The challenge was the UI and long-term hosting without a paid server. Problem Solution UI Bit the bullet and le

Making Games in Go: 3 Months Without LLMs vs. 3 Days with LLMs

Introduction After 15 years as a software engineer, I realized I had never actually built and published a game. Since I grew up in 🇦🇷 Argentina playing card games with my friends, I figured I’d choose one of those. I asked myself: Truco: 3 Months Without LLMs On June 18th of 2024 I started building Truco in my free time. As a longtime Go backend developer, the backend was obvious. The challenge was the UI and long-term hosting without a paid server. Problem Solution UI Bit the bullet and le

Practical approach for streaming UI from LLMs

LLMs have enabled us to solve a new class of problems with more flexibility than ever, but as they are language models, they are inherently text powered, which has led to AI-based UI being incredibly text heavy. As someone who has been creating experiences with web technology my entire life, I’m not satisfied with so much UI being replaced with text. At Vetted, we have been building a shopping research assistant, and shopping is an inherently visual and UI heavy space. Products need to display

Static sites with Python, uv, Caddy, and Docker

Static Sites with Python, uv, Caddy, and Docker My preferred deployment stack for Python-built static sites. I’ve largely switched to uv at this point and it’s been pretty great. I use it for everything I can, from little scripts with uv run , to libraries, to applications. It’s so fast it does actually matter, the workflow side of things works well enough for me, and—perhaps most valuably—it manages Python executables for me beautifully. As we’re all familiar with by now, I’m a static site a

RFC 9839 and Bad Unicode

Unicode is good. If you’re designing a data structure or protocol that has text fields, they should contain Unicode characters encoded in UTF-8. There’s another question, though: “Which Unicode characters?” The answer is “Not all of them, please exclude some.” This issue keeps coming up, so Paul Hoffman and I put together an individual-submission draft to the IETF and now (where by “now” I mean “two years later”) it’s been published as RFC 9839. It explains which characters are bad, and why, th

Show HN: Using Common Lisp from Inside the Browser

Using Common Lisp from inside the Browser Tagged as lisp, webassembly Table of Contents Web Embeddable Common Lisp is a project that brings Common Lisp and the Web Browser environments together. In this post I'll outline the current progress of the project and provide some technical details, including current caveats and future plans. It is important to note that this is not a release and none of the described APIs and functionalities is considered to be stable. Things are still changing and

Rails Charts Using ECharts from Apache

Rails Charts One more gem to build nice charts for your Ruby on Rails application. With it you can build various types of charts Apache eCharts library (v. 5.4.0). This gem simplifies interface and adding few helpers to start adding charts in your app with just a few lines of code. What you can build with it: In most cases with one line of code you can have a nice chart. The idea of this gem was inspired by Chartkick gem which is great and allows you to build charts very quickly. It works be

MCP tools with dependent types

August 17, 2025 MCP tools with dependent types This summer, I’ve been playing a bit with writing an MCP server for Defold editor. The idea was to give Claude access to evaluating Lua code in the editor scripting context, so it can use the APIs available for querying and modifying game content. The best word to describe the experience is entertaining — it has a very vague idea of the available APIs, and prefers to experiment by evaluating code instead of browsing documentation, which results in

MCP Tools and Dependent Types

August 17, 2025 MCP tools with dependent types This summer, I’ve been playing a bit with writing an MCP server for Defold editor. The idea was to give Claude access to evaluating Lua code in the editor scripting context, so it can use the APIs available for querying and modifying game content. The best word to describe the experience is entertaining — it has a very vague idea of the available APIs, and prefers to experiment by evaluating code instead of browsing documentation, which results in

Eliminating JavaScript cold starts on AWS Lambda

How? Enter Porffor Porffor is my JS engine/runtime that compiles JavaScript ahead-of-time to WebAssembly and native binaries. What does that actually mean? You can compile JS files to tiny (<1MB), fast (millisecond-level) binaries: ~$ bat hi.js ─────┬────────────────────────────────────── 1 │ console.log ( "hello blog!" ) ─────┴────────────────────────────────────── ~$ porf native hi.js hi [ 271ms ] compiled hi.js -> hi ( 12.9KB ) ~$ du -h hi 16K hi ~$ ./hi hello blog! Node and Bun offer “com

Topics: hi js ms node porffor

Who does your assistant serve?

Loading... Why am I seeing this? You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites. This can and does cause downtime for the websites, which makes their resources inaccessible for everyone. Anubis is a compromise. Anubis uses a Proof-of-Work scheme in the vein of Hashcash, a proposed proof-of-work scheme for reducing email spam. The idea is that at individual scales the addit

Traps to Developers

NaN. Floating point NaN is not equal to any number including itself. NaN == NaN is always false (even if the bits are same). NaN != NaN is always true. Computing on NaN usually gives NaN (it can "contaminate" computation). There are +Inf and -Inf. They are not NaN. There is a negative zero -0.0 which is different to normal zero. The negative zero equals zero when using floating point comparision. Normal zero is treated as "positive zero". JS use floating point for all numbers. The max accurat

Show HN: Understanding the Spatial Web Browser Engine

Understanding the Spatial Web Browser Engine ​ 1. What Is a Spatial Web Browser? ​ A Spatial Web Browser is a user agent that loads, interprets, and presents Web content (HTML, CSS, JS, WebGL/WebGPU, WebXR, media) directly inside a 3D coordinate space instead of flattening everything onto a 2D rectangular viewport. Every DOM element (text nodes, images, canvas, form controls, SVG, etc.) can be: Positioned, rotated, and scaled in world / XR reference spaces Layered with true depth ordering (n

Topics: 3d html jsar spatial web

Fixing a loud PSU fan without dying

Three months after I built my new computer, it started annoying me. There would occasionally be a noise that sounded like a fan was catching on a cable, but there weren’t any loose cables to be a problem. Over the course of a few weeks, the sound got progressively worse to the extent that I didn’t want to use the computer without headphones on. I measured the sound at 63 dB, which is about the sound of someone talking. That may not sound terrible, but it’s a constant, nasty noise coming from som

Go 1.25 Release Notes

Introduction to Go 1.25 The latest Go release, version 1.25, arrives in August 2025, six months after Go 1.24. Most of its changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. Changes to the language There are no languages changes that affect Go programs in Go 1.25. However, in the language specification the notion of core types

The Rise of the US Military’s Clandestine Foreign War Apparatus

The 2020s are shaping up to be one of the most violent decades in modern history, with American-sponsored proxy conflicts and shadow wars smoldering all over the world, from Ukraine to Yemen to Gaza. The United States enables and prolongs these wars not by sending troops to fight in them, but by trafficking arms to the belligerents, providing intelligence to its favored proxies, and using covert operations, especially assassinations, to shape geopolitical conditions. At the forefront of these cl

Json2dir: a JSON-to-directory converter, a fast alternative to home-manager

json2dir : a JSON-to-directory converter, a fast alternative to home-manager for managing dotfiles TL;DR: file.json : { "file" : " Hello, world! " , "dir" : { "subfile" : " Content. " , "subdir" : {} }, "symlink" : [ " link " , " target path " ], "script" : [ " script " , " #!/bin/sh echo Howdy! " ] } cat file.json | json2dir Here, four files will be added to the current directory: file , dir , symlink , and script . Using json2dir as a home-manager alternative. Input schema Objects re

Foundry (YC F24) is hiring staff-level product engineers

About Foundry We're building the foundational infrastructure to automate digital work. Today's browser-based workflows represent a potential trillion dollar opportunity—currently trapped behind inefficient manual tasks and repetitive actions. Current AI agents fail when facing complex real-world scenarios; they're brittle experiments, not scalable solutions. Foundry provides the critical, high-fidelity simulation environment necessary for training, testing, and deploying robust AI agents. Thin

Foundry (YC F24) Is Hiring Staff Level Product Engineers

About Foundry We're building the foundational infrastructure to automate digital work. Today's browser-based workflows represent a potential trillion dollar opportunity—currently trapped behind inefficient manual tasks and repetitive actions. Current AI agents fail when facing complex real-world scenarios; they're brittle experiments, not scalable solutions. Foundry provides the critical, high-fidelity simulation environment necessary for training, testing, and deploying robust AI agents. Thin

GoGoGrandparent (YC S16) Is Hiring Back End and Full-Stack Engineers

About Us We're a digital caregiving platform dedicated to helping older and disabled adults live independently and thrive in their own homes—avoiding the need for retirement communities. We adapt on-demand APIs from companies like Uber, Lyft, DoorDash, and Instacart to meet the unique needs of individuals with cognitive, visual, mobility, and dexterity challenges. We're a highly profitable and fast-growing startup. Our team is fully remote, with a total engineering headcount of 12 (including thi