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, Redis, Shell, HTML and CSS
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.
-
Tinker Tailor Soldier Spy
Rating
-
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.
-
How to Authenticate a GitHub Copilot SDK Service as a GitHub App with the Copilot Requests Permission
Run the GitHub Copilot SDK from a backend service with no signed-in user: create a GitHub App with the read-only Copilot Requests organization permission, mint a one-hour ghs_ installation token, pass it through gitHubToken with useLoggedInUser false, and rotate it before it…
-
The Jenga Tower of Drivers
Your SSD still introduces itself as spinning rust.
-
Fix: CS0165 "Use of unassigned local variable" on .NET 10 but not on .NET Standard 2.1
The .NET 10 error is correct: netstandard sees ImmutableArray as an empty struct and hides it as warning CS8887.
-
Tensile by Horology
Tensile by Horology, a 64k intro for the PC by the three members of Horology, computer science students at ETH Zurich, released at Revision 2013 in Saarbrücken (29 March to 1 April 2013) and second of six in the PC 64k intro competition with 1,019 points, behind Turtles all the…
-
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.
-
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
-
Tell Someone You Appreciate Them
'Tis always the season.
-
mise, Alone
I previously wrote about using asdf and direnv together to manage my project dependencies and a per-project postgres version.
-
Forgejo Packages: Docker and npm Registry
Forgejo already ships a Docker registry and a private npm registry.
-
Claudine
Don’t hate me because I’m beautiful.
-
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
-
Browse Gopher with nothing but Unix
In the article a Gopher server in 9 lines of Python I was on the server side, building a simple implementation.
-
Cool Link: The web is losing its personality
Ahmad goes over the reasons why every commercial website looks the same now, and gives amazing tips on how to make them stand out in a sea of sameness.
-
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.
-
Comments in JSON: Can You Add Them? (Workarounds)
JSON has no comment syntax.
-
Hetzner's webhosting managed Postgres instances are nuts
Managed Postgres
-
Pre-Turkey Scripps. Thankful for family and love and care and survival. One day at a time.
Sign my Guestbook | Contact Me
-
All Your GUCs in a Row: segment_size
PostgreSQL divides large tables into 1GB segment files, but the server has no authoritative record of how many segments exist.
-
datasette-mcp 0.4
Release: datasette-mcp 0.4
-
Flip Panel Hanger
WIP POST
-
Gotta Love Self Sufficient Kids
What do you mean, we have no forks clean?
-
How to see the exception type at a breakpoint in a catch block in Visual Studio
Hovering ex in catch (Exception ex) shows the declared type, not the real one.
RSS for this view · OPML of the feeds with posts in this view (up to 469 feeds)