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 Rust, C++, Swift, React, 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.
-
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.
-
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…
-
AI Tools #9: An MCP Robot Bench, Where an LLM Agent Builds Circuits in Free Air
I’ve been attending a monthly Electronics meetup Zoom call, and I described a machine that could assemble 3D circuits “in the air” (in a harness with a set of grippers and manipulators).
-
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.
-
Adding Qwen-Audio 3.1 and realtime voice conversation to sayneat
I added Qwen-Audio 3.1 to sayneat for speech synthesis, transcription, streaming ASR, voice cloning, and full-duplex realtime voice conversations over QwenCloud.
-
Recently I found - 11
Introduction
-
MacAdmins.news: Home for the Holidays
The MacAdmins.news Thanksgiving issue is packed with articles, security news, and updates.
-
Adding OCRia-1 to looksneat
OCRia-1 shares a model architecture with Xiaomi.
-
Polars new Streaming Engine and Spill-To-Disk
Probably one of the biggest updates in the history of Polars happened recently, one that was long overdue.
-
LOG 026: Vacation
Cleaned up some build and publishing scripts.
-
Temporary Relationships – Speed Dating for Programmers
Have you ever been on a speed date?
-
Claudine
Don’t hate me because I’m beautiful.
-
StillPoint: Meditation for People Who Think They Can't
A meditation app that starts with one breath and adds a little each day.
-
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.
-
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.
-
Everybody Codes 2026 week 3
Everybody Codes is now in its
-
Comments in JSON: Can You Add Them? (Workarounds)
JSON has no comment syntax.
-
Array Languages #26: APL, J, K, BQN and X_eTaL, the Language Family
Episode 6 of my video series on array programming is a tour of the array-language family.
-
Deep Learning #1: Finding Circuits in GPT-2 Small with X_eTaL
I recently started attending a weekly Deep Learning meetup on Zoom, where each week one person goes through a paper and the others discuss it.
-
OmniLLL Part 2: 1.58-Bit Ternary RLVR Diffs Beat Dense FP16 GRPO (Walsh-Hadamard PTQ & Omnispherepop v1.1.0)
Empirical Colab T4 findings on Qwen2.5-1.5B-Instruct: why compressing a Dr. GRPO reasoning diff to 1.58-bit Omnispherepop trits doubles base accuracy and beats FP16 GRPO (25.0% vs 20.8%), how 1D/2D Walsh-Hadamard cuts KL by 13x, and what landed in ospop v1.1.0.
-
RustVPN
RustVPN
-
DBus -> Varlink
DBus -> Varlink
-
Pre-Turkey Scripps. Thankful for family and love and care and survival. One day at a time.
Sign my Guestbook | Contact Me
RSS for this view · OPML of the feeds with posts in this view (up to 601 feeds)