833 karma · joined February 20, 2014
let lock = Promise.resolve()
return (...args) => {
const result = lock.then(() => f(...args))
lock = result.catch(() => {})
return result.then(v => v)
}
}It got me thinking though: what is a laptop? People probably count Chromebooks, and that seems fair. Is a SteamDeck a laptop? Is an iPad with a keyboard case a laptop? Is a Microsoft Surface Pro a laptop when it has its keyboard attached?
Sometimes people are unfairly ostracized for their past, but I think a policy of deleting records will do more harm than good.
-update- CNBC has fixed their headline.
> How do we know how things are intended to work? (Intended by whom?)
are very salient. Your reply talking about
> …a specific receptor in the body is not working properly.
just raises the same question again. What does it mean for something in our biology to be working "properly"? Who is deciding what is "proper"?
Genes and biology in general do not have "intended" purposes.
https://www.ruby-lang.org/en/news/2015/12/25/ruby-2-3-0-rele...
Most linting setups I've seen since then have required this line. I don’t expect many libraries to run afoul of this, and this warning setting will make finding them easy and safe. This will be nothing like the headache Python users faced transitioning to 3.
const lockify = f => {
let lock = Promise.resolve()
return (...args) => {
const result = lock.then(() => f(...args))
lock = result.catch(() => {})
return result.then(v => v)
}
}This requires effort, so it's not free, but I think it's a better way to engage with media.
1. show you more stuff automatically, and
2. optimize for engagement when choosing what to show you next
That optimization works, and they have little incentive to optimize for anything else (like minimizing harm to users). TikTok is not the only offender, but they are the best at it (read: worst for users).
It is an additional concern that they are ultimately controlled by a foreign country that is relatively hostile to us and has low transparency to our law enforcement apparatus and regulators. Facebook and YouTube have to at least be worried about breaking our existing laws or annoying our Congress. This reins them in at least a little bit. TikTok actually did annoy Congress enough to prompt bi-partisan action (a very high bar in today's climate), but successfully won a game of chicken, as the law they are violating is officially being ignored.
(I don't know how hard it is to push a different object to an existing SHA on GitHub—I'm guessing that you probably have to remove all references to the original object at that SHA?)
[1]: https://en.wikipedia.org/wiki/Employee_Stock_Ownership_Plan