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++, Android, Node.js, Kubernetes, Git, Machine Learning, C# 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.
-
I realized that An email, calendar, and contacts all-in-one engine is exciting, actually
Pimalaya, an open-source engine for mail, contacts and calendars, shipped its first stable release and it runs everywhere.
-
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.
-
QuePaxa vs. Raft: WAN Consensus, or Why "Slow but Never Stops" Beats "Fast but Dies at the Slightest Jitter"
Starting from two structural dependencies—leader dependence and timeout-based failure detection—this article breaks down Raft's failure paths in wide-area networks, and the resilience QuePaxa gains from optional proposers, random priorities, and hedging.
-
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.
-
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.
-
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.
-
Closing and Reopening My Kinect
My Kinect streamed, then failed to close and reopen.
-
Polar Winter Is Here
Polar winter is here.
-
mise, Alone
I previously wrote about using asdf and direnv together to manage my project dependencies and a per-project postgres version.
-
Unpatched Cacti Zero-Day (4HTTP2ROOT) Lets Guests Run Code: How to Protect Your Server
A Cacti zero-day lets anonymous guests run commands on Cacti 1.2.31, and there is no patch yet.
-
Researchers, Meet Timmy, Johnny, and Spike
There’s a big, AI-shaped conversation going on right now about why people do science and mathematics.
-
Beyond Keeping Calm
Rethinking Emotional Intelligence Through the Body and Environment
-
Why My Local Dashboard Has a Publisher, a Frontend, and an API
I wanted a dashboard I could leave running on a big TV.
-
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.
-
MobileSec #2: Recording your mic without permission, 8 ways into your iPhone, and 153 million stolen IDs
An iOS bug that recorded the mic with no permission and no orange dot, eight ways exploit kits reach iPhones, selfie sign-in at Google and TikTok, and why a real ID proves nothing.
-
From Books to Articles: the state of my Calibre library in Obsidian
For the past few days I've been having this incredible conversation with David about what he called "Rethinking the Boundaries of an Obsidian Vault".
-
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.
-
Claudine
Don’t hate me because I’m beautiful.
-
MeshCore and human presence sensors
MeshCore license-free radio seems to have taken hold in many parts of the world for general communications.
-
5 Home Lab Projects to Try This Weekend: November 27, 2026
Well, it is Black Friday week and if you are anything like me, you have probably been looking at things you could upgrade in your home lab.
-
Slimbook Executive report 16 - Pottering along
Let's have a look at my long-term usage review and report 16 of the Slimbook Executive laptop running Kubuntu 24.04 LTS, including continuous recurrence of the suspend and resume problem, resolution attempt using C states limitations in BIOS and kernel command-line options via…
-
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.
-
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
-
A 409 for the Zombie, a 200 for the Stranger: Auditing a Durable Workflow Engine's Failover Claims
A Go workflow engine on PostgreSQL and Kafka publishes evidence for its failover claims.
RSS for this view · OPML of the feeds with posts in this view (up to 1,078 feeds)