Tag: backend
Public whispers tagged backend
Text Highlight2026-08-04 21:09:18
Original Highlight Excerpt
"When appropriate"
Whisper Note
Good point, sync order makes debugging way easier.
Text Highlight2026-08-03 15:09:18
Original Highlight Excerpt
"If a call to stream."
Whisper Note
the drain event thing always trips me up, good to see it explained clearly.
Text Highlight2026-08-02 09:09:18
Original Highlight Excerpt
"curl http://localhost:11434/api/chat"
Whisper Note
curl command straight into terminal, love how simple it is.
Text Highlight2026-07-28 13:07:34
Original Highlight Excerpt
"Gets and sets the host name portion of the URL."
Whisper Note
I always mix up host and hostname, this clears it up a bit.
Text Highlight2026-07-28 12:58:34
Original Highlight Excerpt
"Gets and sets the host name portion of the URL."
Whisper Note
Wait, so setting hostname won't mess with the port? That's actually nice to know.
Text Highlight2026-07-28 10:04:34
Original Highlight Excerpt
"The node:url module provides utilities for URL resolution and parsing."
Whisper Note
had to debug a URL parse issue last week, this would've saved me
Text Highlight2026-07-28 09:55:34
Original Highlight Excerpt
"The node:url module provides utilities for URL resolution and parsing."
Whisper Note
still prefer the WHATWG API but good to have options
Text Highlight2026-07-28 09:46:34
Original Highlight Excerpt
"The node:url module provides utilities for URL resolution and parsing."
Whisper Note
finally a built-in for this, no more messing with regex
Text Highlight2026-07-27 13:21:47
Original Highlight Excerpt
"Updates the state file so that the configuration, real infrastructure, and state match."
Whisper Note
Isn't that just saying it syncs everything up? Feels obvious.
Text Highlight2026-07-27 13:07:30
Original Highlight Excerpt
"then normalizes the resulting path."
Whisper Note
Wait, does it handle Windows backslashes too or just forward ones?
Text Highlight2026-07-27 12:58:30
Original Highlight Excerpt
"then normalizes the resulting path."
Whisper Note
So basically it cleans up the slashes and dots for you, sweet.
Text Highlight2026-07-27 10:04:30
Original Highlight Excerpt
"It can be accessed using:const path = require('node:path')"
Whisper Note
my brain always autocorrects this to 'node:path', still confused after years
Text Highlight2026-07-27 09:55:30
Original Highlight Excerpt
"It can be accessed using:const path = require('node:path')"
Whisper Note
wait, why not just require('path')? is the node: prefix new?
Text Highlight2026-07-27 09:46:30
Original Highlight Excerpt
"It can be accessed using:const path = require('node:path')"
Whisper Note
finally no more dealing with those slash issues manually
Text Highlight2026-07-26 16:25:15
Original Highlight Excerpt
"Even though the slice header is passed by value"
Whisper Note
This is exactly why slices feel like references even though they're not.
Text Highlight2026-07-26 10:27:44
Original Highlight Excerpt
"A healthy GraphQL API starts with a well-governed schema."
Whisper Note
Our team tried this and it actually made onboarding way easier for new devs.
Text Highlight2026-07-26 10:18:44
Original Highlight Excerpt
"A healthy GraphQL API starts with a well-governed schema."
Whisper Note
Automated checks sound nice but don't they just slow down every small change?
Text Highlight2026-07-26 10:09:44
Original Highlight Excerpt
"A healthy GraphQL API starts with a well-governed schema."
Whisper Note
We learned this the hard way—our schema was chaos before we added reviews.
Text Highlight2026-07-25 13:08:26
Original Highlight Excerpt
"Use the compiler flag noImplicitAny to flag any implicit any as an error."
Whisper Note
Honestly, any is a lifesaver sometimes, but yeah, better to be strict.
Text Highlight2026-07-25 12:59:26
Original Highlight Excerpt
"Use the compiler flag noImplicitAny to flag any implicit any as an error."
Whisper Note
I always enable that flag, but it still takes me a while to fix all the errors.