yabs.io

Yet Another Bookmarks Service

Viewing mzimmerm's Bookmarks

good delete ,

[https://stackoverflow.com/questions/42883033/service-worker-check-cached-resources-are-up-to-date-or-latest] - - public:mzimmerm
cache, good, pwa, service-worker - 4 | id:1488881 -

You have two options: Switch from your current cache-first strategy in your fetch handler to a strategy like stale-while-revalidate. Use a build-time tool to generate a service worker that changes each time one of your local resources changes, which will trigger the install and activate handlers, giving them a chance to update your users' caches with the latest copies of your assets. These tools work by generating hashes of each local file and inlining those hashes into the generated service worker script.

[https://stackoverflow.com/questions/49739438/when-and-how-does-a-pwa-update-itself] - - public:mzimmerm
cache, good, pwa, service-worker - 4 | id:1488877 -

Only two events… In essence, there are only two events that will automatically trigger a PWA update: A change in the linked manifest.json; e.g. a changed icon file or a changed scope or start_url. A one-character change in the controlling service-worker.js. E.g., if you store the version number in a const in this file and change it, an update of the PWA will be triggered.

[https://www.darttutorial.org/dart-tutorial/dart-future/] - - public:mzimmerm
async, dart, future, good - 4 | id:1485371 -

a) add the async keyword to the main() function. b) add the await keyword in front of the future object. Result: Once Dart encounters the await keyword, it sends all the code starting from that line to the event queue and waits for the future to complete. That’s why you see the number 2 before 3.

[https://en.wikipedia.org/wiki/Coroutine] - - public:mzimmerm
computer, coroutine, generate, good, multi, program, science, software, thread, yield - 10 | id:1485369 -

Coroutine is a routine which can yield. Coroutines are typically scheduled cooperatively (=non-preemptively). Coroutines are similar to threads, although threads are typically scheduled preemptively (scheduler pre-empts=forces execution to pause and yield, even without yield in the language)

[https://en.m.wikipedia.org/wiki/Continuation] - - public:mzimmerm
continuation, good, smalltalk, software, todo - 5 | id:1484905 -

continuation is an abstract representation of the control state of a computer program. A continuation implements (reifies) the program control state, i.e. the continuation is a data structure that represents the computational process at a given point in the process's execution; the created data structure can be accessed by the programming language, instead of being hidden in the runtime environment.

[https://en.m.wikipedia.org/wiki/Coroutine] - - public:mzimmerm
async, concurrent, coroutine, good, iterate, parallel, software, thread, todo - 9 | id:1484904 -

Asynchronous operations are not the same as parallel or concurrent. Asynchronous simply means that we do not want to block our flow of execution(Thread) or wait for the response until certain work is done in full. But the way we implement Asynchronous operations decides whether they are (running) as parallel or concurrent. So parallel and concurrent are two implementations of asynchronicity of tasks.

[https://docs.streamlit.io/library/api-reference] - - public:mzimmerm
api, app, good, python, streamlit, web - 6 | id:1461553 -

Streamlit makes it easy for you to visualize, mutate, and share data. The API reference is organized by activity type, like displaying data or optimizing performance. Each section includes methods associated with the activity type, including examples.

[https://en.wikipedia.org/wiki/Isomorphism] - - public:mzimmerm
category, good, isomorphism, math - 4 | id:1420400 -

The logarithm function log(x.y) = log(x) + log(y) so it is a group homomorphism R+->R. The exponential function e^(x+y) = e^x . e^y so it too is a homomorphism R->R+ Another note: Formalizing intuition (of existence of natural isomorphism between vector space V and its 'dual dual') is a motivation for the development of category theory.

With marked bookmarks
| (+) | |

Viewing 51 - 100, 50 links out of 164 links, page: 2

Follow Tags

Manage

Export:

JSONXMLRSS