and i already had to rewrite 2/3 of the notes that led to the blog post idea because i found a lower-friction way to do the thing

Show thread

Attention wandered for a bit, but I got code that does the thing and an only slightly sketchy story. Next I ponder how much to clean up the code and how much to fill out the story.

Show thread

hey wanna see an absolute travesty of a "one-liner" in #Nushell of course you do

Show thread

Got it loading plugin info including package.json and settings.json details, then writing summaries to disk. Thought maybe I'd see about optimizing the performance.

Nah.

Show thread
Follow

@randomgeek not sure if par-each will make this faster, did you try?

@petrisch 29ms is more than good enough for me. I only got so many brain cells.

I may look later though, with a larger data set.

@randomgeek sure, i didn't even lock at the number sorry.

@petrisch no worries at all! I am curious to try with bigger stuff later.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml