onMessage callback was reverted
… Promise support was reverted because devtools extensions using the polyfill unexpectedly broke because the devtools APIs do not support promises.
… Promise support was reverted because devtools extensions using the polyfill unexpectedly broke because the devtools APIs do not support promises.
Another thread I was following closely, is an open source alternative to Kindle’s whispersync. Combination of Audiobookshelf + Kobo reader can give you the same experience provided there is a sync service between them :)
And it was implemented recently, and is actively maintained still!
https://github.com/advplyr/audiobookshelf/issues/189#issuecomment-3575012992
I enjoy following threads on bug trackers, here is one that got fixed recently :)
this was possible in FF but not in Chrome until recently.
chrome.runtime.onMessage.addListener(async (msg) => {
const res = await someAsyncFunction();
return res;
});
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage
https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.EventLoop
An alias to the most efficient available subclass of
AbstractEventLoopfor the given platform.
Before 3.13 can be implemented with:
import asyncio
import selectors
loop = asyncio.SelectorEventLoop(selectors.SelectSelector())
EventLoop came with deprecation of the policy based event loop selection: https://docs.python.org/3/library/asyncio-policy.html#asyncio-policies
while True:
breakpoint()
await asyncio.sleep(1)
re-enter into debugger after giving asyncio time to execute tasks.
Other discussions:
We excel at things that bring us strong feedback - the innate feeling of quality, or a feeling of friction when the quality is not high enough. Therefore, ironically, it seems, that we excel at things that “irritate” us most.

Observation: the music we consider classics enters public domain at around the time we stop receiving student prices for streaming services .