Tag: documentation
Public whispers tagged documentation
Text Highlight2026-08-11 12:23:48
Original Highlight Excerpt
"the output of any sorting algorithm must satisfy two conditions"
Whisper Note
So that's why my custom sort broke — missed condition two.
Text Highlight2026-08-11 03:09:57
Original Highlight Excerpt
"List comprehensions provide a concise way to create lists."
Whisper Note
List comprehensions are such a game changer, way cleaner than loops.
Text Highlight2026-08-09 21:09:57
Original Highlight Excerpt
"error handling is intuitive"
Whisper Note
Error handling being intuitive is a huge win, honestly.
Text Highlight2026-08-06 03:09:18
Original Highlight Excerpt
"this is the correct code."
Whisper Note
lol that else always trips me up, good catch.
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-07-29 15:09:18
Original Highlight Excerpt
"the actual result is [1, NaN, NaN]"
Whisper Note
classic gotcha, always forget the radix
Text Highlight2026-07-28 16:33:53
Original Highlight Excerpt
"There is built-in syntax to compute a depth- or breadth-first sort column."
Whisper Note
Finally, no more hand-rolling recursive CTE sorting!
Text Highlight2026-07-28 16:11:42
Original Highlight Excerpt
"Move semantics enable the transfer of resources and ownership between objects"
Whisper Note
This is exactly why modern C++ feels so much safer than the old pointer juggling days.
Text Highlight2026-07-28 16:10:34
Original Highlight Excerpt
"The toString() method on the URL object returns the serialized URL."
Whisper Note
Ah yes, the classic 'just call toString' — why does every JS API have three ways to do the same thing?
Text Highlight2026-07-28 13:08:42
Original Highlight Excerpt
"the destructor releases the resource and never throws exceptions"
Whisper Note
Makes sense, but what if cleanup itself can fail? Then you're stuck.
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 13:06:18
Original Highlight Excerpt
"Every time your component renders, React will update the screen and then run the code inside useEffect."
Whisper Note
Unless you pass deps, right? Then it only runs when those change, not every render.
Text Highlight2026-07-28 13:02:55
Original Highlight Excerpt
"arXiv-issued DOI via DataCite"
Whisper Note
Huh, I always thought DOIs were just for journals, cool that arXiv does it too.
Text Highlight2026-07-28 12:59:42
Original Highlight Excerpt
"the destructor releases the resource and never throws exceptions"
Whisper Note
If it throws in a destructor, you're basically asking for std::terminate.
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 12:57:18
Original Highlight Excerpt
"Every time your component renders, React will update the screen and then run the code inside useEffect."
Whisper Note
So the effect always runs after paint, not before? That's good to know for layout stuff.
Text Highlight2026-07-28 12:38:53
Original Highlight Excerpt
"Setting it does not change the state variable you already have, but instead triggers a re-render."
Whisper Note
So it's like a photo, not a live video? Kinda makes sense but still weird.
Text Highlight2026-07-28 12:29:53
Original Highlight Excerpt
"Setting it does not change the state variable you already have, but instead triggers a re-render."
Whisper Note
That's why my console.log always shows the old value right after setState, took me a while to get it.
Text Highlight2026-07-28 10:27:53
Original Highlight Excerpt
"WITH provides a way to write auxiliary statements for use in a larger query."
Whisper Note
I've been using CTEs for years and never thought of them this simply.
Text Highlight2026-07-28 10:18:53
Original Highlight Excerpt
"WITH provides a way to write auxiliary statements for use in a larger query."
Whisper Note
So it's like a subquery but you can reuse it multiple times? Nice.