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 C++, Kotlin, Java, React, .NET, Shell and HTML
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.
-
A Million Rows and Live Excel Formulas, Inside Your Own App
DataGrid scrolls a million rows with frozen columns, grouping, aggregates, editing and a tree mode.
-
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.
-
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.
-
Tell Someone You Appreciate Them
'Tis always the season.
-
iOS 27.3: Face Unlock for iPhone Duo
Chance Miller: This isn’t Face ID.
-
Google Ties Search in Schools to Gemini
Victor Tangermann (Hacker News): But it’s a fraught relationship that’s now seriously being tested as teachers start to suspect that the AI use is wreaking havoc on the impressionable minds of their students.
-
Temporary Relationships – Speed Dating for Programmers
Have you ever been on a speed date?
-
StillPoint: Meditation for People Who Think They Can't
A meditation app that starts with one breath and adds a little each day.
-
Running tests on a Windows machine over SSH with an AI agent
The previous posts of this series gave the agent a dump, a debugger, or the telemetry of a running application.
-
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
-
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.
-
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.
-
Goodbye Mono
Mono was the first framework that allowed to run .NET Framework on Linux (well reimplemented and called it Mono, but you get the idea).
-
Python on the Backend is Dead
2026 likely marks the beginning of the end of Python (and other interpreted languages) for large scale production backends
-
Safe, automated bug discovery and fixing with Prospero
Fuzz testing remains an effective tool for discovering software defects,
-
Why My Kids are Learning to Program - The New Baseline
An AI agent can now build a Codename One app and submit it to the App Store and Google Play for someone who has never written a line of Java.
-
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?
-
Flite TTS GameMaker Prefab
Building a GameMaker Prefab
-
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.
-
Ping 97
Its been a double edged sword having to think about tokens on my home account.
RSS for this view · OPML of the feeds with posts in this view (up to 502 feeds)