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, C++, Kotlin, Java, Node.js, Git, GraphQL, 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.
-
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.
-
mise, Alone
I previously wrote about using asdf and direnv together to manage my project dependencies and a per-project postgres version.
-
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.
-
Temporary Relationships – Speed Dating for Programmers
Have you ever been on a speed date?
-
O is for Oooops!
Mind yourselves over there, this one is backing-up a bit!
-
Claudine
Don’t hate me because I’m beautiful.
-
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
-
Skills, Slash Commands, Subagents: When I Use Which in Claude Code
I used to cram everything into custom slash commands.
-
M is for More Model Marquees!
Bit of a Picasa-clearer, and although most of them are from the stash, some aren't, and some got forgotten while blogging previously.
-
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.
-
https://markjgsmith.com/notes/2026/11/27/152428/index.html
Pretty sure worldo is about to go on a large scale mutilation rampage.
-
RustVPN
RustVPN
-
DBus -> Varlink
DBus -> Varlink
-
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).
-
https://markjgsmith.com/notes/2026/11/27/130740/index.html
Insanity levels of worldo blocking today.
-
Pre-Turkey Scripps. Thankful for family and love and care and survival. One day at a time.
Sign my Guestbook | Contact Me
-
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,
RSS for this view · OPML of the feeds with posts in this view (up to 708 feeds)