News for hackers. Stuff that matters.
Re:Datasette’s new JSON write API: The first alpha of Datase... by etrepum on Friday December 02, 2022 @07:09PM (#33838719)
Just a small note on the shot-scraper post (very cool stuff!): You can use Array.from(xs, fn) instead of Array.from(xs).map(fn). Same semantics but it happens in one pass with less garbage.
Re:Datasette’s new JSON write API: The first alpha of Datase... by simonw on Friday December 02, 2022 @07:13PM (#33838755)
I keep on forgetting that shortcut, thanks!