How to flatten arrays in JavaScript with flat() and flatMap(): the depth argument, Infinity, empty slots, arrays of objects and the map + filter trick.
Latest in PostgreSQL, SQLite, SQL, C++, Swift, C#, HTML and PHP
author · site-
JavaScript flat() and flatMap(): Flatten Arrays
-
AI answers link to the exact sentence. Your site can too
AI answers link straight to the sentence they quote.
-
RustyBox v0.4.0: Zero-Alloc O(log N) Dispatch, 8.24x HW SHA-2, 6.64x Grep & RFC 10008 Agent Search
Inside RustyBox v0.4.0: replacing 399 startup heap allocations with compile-time sorted dispatch tables, bypassing StdoutLock's LineWriter for 1,631 MB/s grep and 1,317 MB/s SHA-256, cutting rustybox-core release size by 6.4%, and serving RFC 10008 HTTP QUERY search.
-
All Your GUCs in a Row: send_abort_for_crash and send_abort_for_kill
PostgreSQL 16 added two parameters that intentionally make crashes worse—by writing core files from every dying process instead of just one.
-
Fix: TimeZoneNotFoundException: The time zone ID was not found on the local computer (.NET on Linux and Docker)
On Linux, FindSystemTimeZoneById reads /usr/share/zoneinfo.
-
pgembed: any Postgres version, side by side, no Docker
pgembed is a CLI and MCP server, from npm or NuGet, that runs real PostgreSQL servers of any version side by side, with no Docker and no system install.
-
Skimmers que pasan por debajo de la CSP con WebRTC
Puedes tener la valla del huerto perfecta, alta, sin huecos y con una puerta que sólo abres tú, y aun así un día encontrarte las zanahorias mordisqueadas.
-
Las skills de Convex y lo que le contaban al agente a tus espaldas
El cuco no hace nido: pone el huevo en el de otro pájaro, y el carricero, que no sospecha nada, lo empolla y alimenta a la cría como si fuera suya.
-
Composer 2.11 Cooldown Policy: Delay New Package Versions Safely
Composer 2.11 adds a cooldown policy that holds back freshly published package versions.
-
Agent Framework PyPI 1.26.1 and 1.26.2 Were Malicious, and the GitHub Repo Is Offline
Two unauthorized agent-framework releases on PyPI ran a credential stealer from a .pth file on every Python start.
-
datasette-charts 0.4a0
Release: datasette-charts 0.4a0
-
Closing and Reopening My Kinect
My Kinect streamed, then failed to close and reopen.
-
Review Metalio E-INK4 Plus e-reader
When Xteink brought out their original X4 device in late 2025, they effectively created the sub-4.5-inch, sub-$100 “microreader” category.
-
mise, Alone
I previously wrote about using asdf and direnv together to manage my project dependencies and a per-project postgres version.
-
Geospatial AI Has a Benchmark Problem. This Paper Finally Says the Quiet Part Out Loud.
The geospatial AI community has spent the past several years building increasingly sophisticated foundation models for Earth observation.
-
MacAdmins.news: Home for the Holidays
The MacAdmins.news Thanksgiving issue is packed with articles, security news, and updates.
-
Why My Local Dashboard Has a Publisher, a Frontend, and an API
I wanted a dashboard I could leave running on a big TV.
-
Temporary Relationships – Speed Dating for Programmers
Have you ever been on a speed date?
-
Forgejo Packages: Docker and npm Registry
Forgejo already ships a Docker registry and a private npm registry.
-
What Raw Data to Request Before Trusting an AI Visibility Dashboard
An AI visibility dashboard gives you a score for how often ChatGPT and other AI assistants mention your brand.
-
workstation with gaming igpu vs embedded PC: what is (currently) the fasted CPU integrated GPU? small AI datacenter at home for local llm experiments
for purely energy efficient gaming that can be upgraded again and again go for workstations 😀 are nice no doubt medium range: is a good start for a fast solid workstation/gaming rigsearch for Ryzen 7 8700G for faster iGPU this […]
-
Tokens, constraints, and Black+Decker
Sebastian De Deyne uses Black+Decker's move to computerized planning to show why new technology calls for rethinking old processes.
-
Linear Regression with Closed-Form Training via QR Decomposition and a Back-Substitution Solve Method with C#
Late one Saturday night, I decided to slightly refactor one of my C# language implementations of linear regression with closed-form training, specifically training with QR Householder decomposition and a back-substitution solve method.
-
T-SQL Analyzer: From getting started to deep dives - 2 new rules and a try-out web site
It has been six months since I blogged about SqlServer.Rules 5.0.0. Most of the work since then has been the less visible kind: fixing false positives that users reported, and bringing live analysis to VS Code.
-
Fixing NickelMenu's Generator error on a Kobo Aura HD
My Kobo Aura HD is over ten years old and still my only e-reader.
-
b0rk: Notes on using a single-person Mastodon server
On my reading list: [Wayback/Archive] Notes on using a single-person Mastodon server Via [Wayback/Archive] Julia Evans on Twitter: “some notes on running a single-person Mastodon server” –jeroen
-
Dale Mellorʼs Blog is rather good
Back at the start of the month, I got a bit opinionated and wrote “Mistakes to avoid with your personal website“.
-
T-SQL Snapshot Backups on Availability Group Secondary Replicas Continued
In a previous post I talked about how we can use T-SQL Snapshot Backups to take application consistent snapshots of secondary replica databases.
-
Designing Stable Pagination for Changing Datasets
When a service returns a large collection through an API, it sends the results in multiple responses.
-
Day 56: Headscale – Your Own Tailscale Control Plane in Docker – 7 Days of Docker
Tailscale solved peer-to-peer networking so well that most people stopped thinking about it.
RSS for this view · OPML of the feeds with posts in this view (up to 809 feeds)