Publish to my blog (weekly)

Composables | Vue.js stateful logic involves managing state that changes over time. A simple example would be tracking the current position of the mouse on a page. // by convention, composable function names start with "use"   export function useMouse () { As we can see, the core logic remains identical - all we had to do was move it into an external function and return the state that should be exposed. Just like inside a component, you can use the full range of Composition API functions in composables. The same useMouse() functionality can now be used in any component. Each component instance calling useMouse() will create its own copies of x and y ...

Publish to my blog (weekly)

Errors • Docs • SvelteKit throw Error ): HttpError (+1 overload)
import error">error ( 404 , { Error .message: string">message : 'Not found' }); Hooks • Docs • SvelteKit making them useful for initializing database clients and so on. This function runs every time the SvelteKit server receives a request — whether that happens while the app is running, or during prerendering — and determines the response . HandleServerError 
import HandleServerError "> HandleServerError ...

Publish to my blog (weekly)

Running Spark on Kubernetes - Spark 3.3.0 Documentation If you run your driver inside a Kubernetes pod, you can use a  headless service to allow your driver pod to be routable from the executors by a stable hostname. When deploying your headless service, ensure that the service’s label selector will only match the driver pod and no other pods; it is recommended to assign your driver pod a sufficiently unique label and to use that label in the label selector of the headless service. Specify the driver’s hostname via spark.driver.host and your spark driver’s port to spark.driver.port . Posted from Diigo . The rest of my favorite links are here .

Publish to my blog (weekly)

Kubernetes Components | Kubernetes If your Kubernetes cluster uses etcd as its backing store, make sure you have a  back up plan for those data. Persistent Volumes | Kubernetes pvc Status: Terminating Finalizers: [ kubernetes.io/pvc-protection ] pv Finalizers: [ kubernetes.io/pv-protection ] Status: Terminating ...

Publish to my blog (weekly)

(7269) History - YouTube <ytd-reel-item-renderer class="style-scope yt-horizontal-list-renderer" is-dismissed="" lockup="true"><yt-interaction id="interaction" class="extended style-scope ytd-reel-item-renderer"><div class="fill style-scope yt-interaction"></div></yt-interaction><br/></ytd-reel-item-renderer><ytd-reel-item-renderer class="style-scope yt-horizontal-list-renderer" is-dismissed="" lockup="true">&lt;!--css-build:shady--><div id="dismissible" class="style-scope ytd-reel-item-renderer"><br/> <ytd-thumbnail use-hovered-property="" class="style-scope ytd-reel-item-renderer" width="210" computed-object-fit="COVER" is-original-aspect-rati...