32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 3y ago · link · parent
CVE-2022-23968: https://neosmart.net/blog/xerox-vulnerability-allows-unauthe...
comment 3y ago · link · parent
comment 3y ago · link · parent
They’re all over the state. Probably can’t walk far without tripping over one!
[0]: https://www.nola.com/news/environment/new-federal-office-wil...
comment 3y ago · link · parent
comment 3y ago · link · parent
It’s easy to separate that into pre- and post- hooks, but the most reliable method I found for counting fingers in a gesture is “the maximum number of fingers during the gesture at any point” as it allows for variations in timing, location, direction, etc of first, second, subsequent fingers for a multi-finger gesture (you can’t assume they’re all present from the very start or that one finger won’t accidentally be raised mid-gesture). I’d have to change that to “detect number of fingers within xx ms of start of gesture” but that is somewhat problematic because the cursor position actually changes in response to touch between when your fist finger touched the trackpad and the time when (in your example) the third finger was finally added to the gesture (even if that all takes place in “a split second”). So it can be done but you might need to be intentional about being more careful with your three-finger swipe-to-drag to ensure the cursor remains within the desired click area until your third finger has made contact with the trackpad and hover there a brief moment to allow the daemon to determine you’re not going to add a fourth finger to the mix (changing it to another gesture altogether).
It would be entirely possible to retroactively generate a mouse down event at the original gesture start (with the first finger) when the third finger is added and no fourth finger is added, but that might be jarring from a UX perspective (cursor moves out of the bounding rectangle then the drag starts some ms later).
comment 3y ago · link · parent
comment 3y ago · link · parent
(Also, syngestures separately recognizes and supports both taps and swipes, and it supports both/either with anywhere from 1 to 5 fingers.)
comment 3y ago · link · parent
comment 3y ago · link · parent
I've used that to convert configuration files from one language to the other, such as this json2toml and toml2json tool [0].
comment 3y ago · link · parent
More importantly, there is a solution for fixing this and I've done my part by open sourcing a multi-touch gesture solution (userland daemon) that's driver-agnostic and runs on top of the vendor-provided drivers w/ their correct acceleration curves [1].
(But TBH I don't know if this applies to Apple's trackpad because I don't know if there are any first-party drivers w/ proper acceleration curves for Linux or if they've all been – unfortunately poorly – reverse engineered.)
[0]: https://neosmart.net/blog/multi-touch-gestures-on-linux/
comment 3y ago · link · parent
My google fu is failing me right now but FreeBSD also has a shared library used for reading/parsing config files and providing either a common or universal dsl for all conf files using the same library. This is one of the benefits of using an OS instead of a distribution - all the tools are developed holistically and refactors such as providing a shared, universal input or output format, sandboxing everything with capsicum, etc across the board are much more possible.
EDIT
Remembered it. Surprised at how bad Google was at finding this, though!
UCL - Universal Configuration Language [0]. Introduced in a paper by Allan Jude in 2015 [1]. Man page: libucl(3) [2].
[0]: https://github.com/vstakhov/libucl/
[1]: https://papers.freebsd.org/2015/bsdcan/allanjude-ucl/
[2]: https://man.freebsd.org/cgi/man.cgi?query=libucl&sektion=3&f...
comment 3y ago · link · parent
It's also awesome how easy it is to use this to test out a plugin (or a theme) - you just need to add &plugin=plugin-slug-from-dir where the slug matches the plugin's WordPress.org url and it'll be automatically downloaded and added to the sandbox!
The full query api used to configure the sandbox (tech and loaded env) is documented here [0].
[0]: https://wordpress.github.io/wordpress-playground/query-api/
EDIT
I'm absolutely positive there has to be a way to open or show a debug log (if only because I wouldn't have been able to develop this without that)!
comment 3y ago · link · parent
Here, I found a corroborating link from 2013: https://www.litmus.com/blog/gmail-adds-image-caching-what-yo...
comment 3y ago · link · parent
No, the error is in automatically assuming that the GPU should be the one to get the x16 port. This is a tower server; the x16 and x8 ports are for the SAS cards, network cards, and NVMe drives. The GPU takes whatever is left.
comment 3y ago · link · parent
Of course, no one would realistically encounter a case/GPU/cable combo like that. Right?
comment 3y ago · link · parent
- - -
First thing I did on my Ubuntu install was remove the Firefox snap, add the Mozilla ppa, and install Firefox from there via apt.
If Mozilla maintains its own ppa and they do all the hard working of getting everything working, I don’t understand why Canonical has to push a snap option instead.
I did give it a try, but only to get obnoxious popups about being forced to restart Firefox every other day for snap to update, and these popups would even bring my monitor out of dpms (and maybe my machine out of sleep?) to inform me of this. But even heeding these prompts, Firefox would still update in the background leaving me unable to open a new tab because IPC broke since the master and slave processes were now running different Firefox versions..
comment 3y ago · link · parent
[0]: https://medium.com/@MStrehovsky/building-a-self-contained-ga...