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 SQL, C, Java, Linux, Shell 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.
-
Best Speech-to-Speech Models in 2027: Paid and Open Source
The best speech-to-speech models in 2027, paid and open source: GPT-Live-1, Gemini 3.8 Live, Qwen3.8-Omni-Realtime, VoiceChat 11B and MoshiRAG, with prices.
-
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.
-
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.
-
Converting physical and virtual machines to incus instances
Including same-host VM to container conversion
-
Court and Jail Records at the Command Line: Is He Still Locked Up?
This is a Just the Facts (JTF) post: generated by AI from my own raw material (voice memos, session notes) and a short outline I wrote, then checked by me.
-
Tell Someone You Appreciate Them
'Tis always the season.
-
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.
-
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.
-
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.
-
Worth Wandering: Musicmap
A remarkably ambitious genealogy of popular music genres that turns the history of modern music into something you can wander through, zoom into and get delightfully lost inside.
-
O is for Oooops!
Mind yourselves over there, this one is backing-up a bit!
-
Forgejo Packages: Docker and npm Registry
Forgejo already ships a Docker registry and a private npm registry.
-
Do You Need a Forward Deployed Engineer at Your Startup?
Probably not yet. Product engineers should do integrations until they repeat, then hire someone to run them.
-
Claudine
Don’t hate me because I’m beautiful.
-
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 […]
-
Claude Ship Explained: Should You Let an AI Agent Auto-Approve Your PRs?
Claude Ship can now approve your pull requests.
-
Stay not so informed
The local school uses, like most schools in Germany, the dreaded “Stay Informed” app.
-
Installing OpenWrt On The Banana Pi BPI-R4 Pro 8X
Well, here we are at the end of 2026, and it looks like the last major blocker (an update to the switch firmware) has been sorted, so it's time to grab a development snapshot
-
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…
-
OpenBot Review: Run AI Agents on the Plans You Already Pay For
OpenBot review after more than a month on an M4 Pro Mac: is it good and safe, how to install it, and how it compares with Hermes, Grok Bot and Rakazo.
-
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.
-
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
RSS for this view · OPML of the feeds with posts in this view (up to 1,162 feeds)