smilingthax

Results 20 comments of smilingthax

A partial implementation in JS: ``` function clmul32(a, b) { // 32 x 32 -> 32 (does not compute high part, JS bitops are only 32 bit!) let ret =...

Hi... I'm not sure why this Merge Request seems to have stalled... As I'm mostly interested in `SyphonIOSurfaceServer`, I could factor out that rather small change into a separate merge...

Well, the patch surrounding SyphonIOSurfaceServer seems to allow just that (AFAIUI): To reuse the same IOSurface, cf. change in SyphonServerConnectionManager.m line 334: only send new surfaceId if it is different....

> @smilingthax right, so it sounds like you could use SyphonServerBase and the methods in SyphonSubclassing.h to obtain a surface from the server, then fill it, then publish. Yes, directly...

> Yes, directly using SyphonSubclassing "just like" a SyphonIOServer works for me. One could say that only the documentation is missing? There is one pitfall: Syphon uses NSDistributedNotificationCenter e.g. to...

For example, when using the GLib/GTK+ cross-platform framework: `Glib::MainLoop` does not spin CFRunLoop, vs `Gtk::Main` / `Gtk::Application`, which does... (cf. https://github.com/Syphon/Syphon-Framework/pull/56#issuecomment-1227390622)

Well, 1. http://syphon.v002.info/FrameworkDocumentation/ does not mention it, 2. when trying to find a solution to use raw `IOSurfaces` with Syphon, I did not realise that `SyphonSubclassing` already provides this possibility...

Ok, I now believe https://github.com/evidence-dev/evidence/commit/90e152cbc088e16d2f1d9686b25ba023322dc156 should have fixed this, but `vite:afterUpdate` just never triggers... Version is `vite/4.3.9 linux-x64 node-v20.11.1`, coming from https://github.com/evidence-dev/template/blob/main/package-lock.json#L2142 Edit: `npm install [email protected]` does not seem to...

Well, `vite:afterUpdate` does actually trigger, but _reactivity_manager's `update()` function https://github.com/evidence-dev/evidence/blob/next/packages/lib/preprocess/src/process-queries.cjs#L99 is not run again after the hmr. **Fix:** Add `__has_hmr_run` as svelte dependency in https://github.com/evidence-dev/evidence/blob/next/packages/lib/preprocess/src/process-queries.cjs#L197 ``` // rerun if data...