Activity Log
hackers.town: 2022-06-18 Sat 07:46
Oh hey. https://regolith-linux.org redirects to https://regolith-desktop.com, and I see nothing about Regolith Desktop being in beta anymore.
Guess I can update now!
hackers.town: 2022-06-18 Sat 22:11
I was confused about JavaScript promises so I read “Understanding JavaScript Promises” by Nicholas C. Zakas. Now I’m slightly less confused and I took notes so any lingering confusion should eventually resolve itself.
https://leanpub.com/understanding-javascript-promises
hackers.town: 2022-06-18 Sat 22:26
@ocdtrekkie well I know they aren’t monads. ‘Cause I just looked that up.
But I just read a book so I better try.
They’re objects representing an operation. They know whether they’ve done the operation yet, and if they did they know whether they should be considered fulfilled (yay) or rejected (boo, fail code)
hackers.town: 2022-06-18 Sat 22:28
@ocdtrekkie oh and of course the useful part. They hold the value from attempting the operation, either the resolved fulfillment value or the reason for rejection.