32,402 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions
comment 4y ago · link · parent
On my laptop and even w/ proprietary drivers installed, I cannot get eOS to hardware accelerate videos with either my embedded Intel graphics card or my discrete nVidia card in Firefox or Chromium.
The UI is full of really weird inconsistencies and is extremely opinionated without any way of changing some basic things (previously adjustable via `gsettings` but it seems that has been intentionally deprecated). For example, the elementary File Manager forces single-click-to-open ("web-style") behavior for any folders, but then switches to double-click-to-open for any files within those folders, so you can select a file but not open it but you cannot do the same with a folder. If it weren't for elementary tweaks (neutered as it has become for eOS 6), elementary would be completely unusable.
The decision to not even have an official upgrade path besides "nuke everything and reinstall" makes me question the clarity of vision of elementary OS developers/decision makers. You want to be the macOS of the Linux world but you have a worse upgrade experience than any other Linux distro bar none? You purposely advertise to "less techy" users that are exactly the kind of users that won't be able to handle a "back up your files, wipe everything, and clean install" upgrade path?
They added multitouch gesture support... but the only gestures available are for interacting with the desktop window manager (show all windows, move to prev/next virtual desktop)? Fortunately my `syngestures` that I wrote for elementary OS 5 works just fine alongside eOS 6's so-called "multitouch support" but for something that was going to be their killer feature, you'd think they would integrate some of the TouchEgg configuration into their touchpad gestures control panel UI, wouldn't you?
comment 4y ago · link · parent
As a hacker without a horse in this particular race (Macs and I parted ways a long time ago), it's definitely interesting to observe the interactions between the two groups in this thread!
IMHO the fundamental difference between the two sides is that when it's posited as a dogmatic matter, it's immediately clear whether or not your (perceived) rights have been violated (Can you do X? No => Violation, Yes => Keep chugging along) but for the latter group it becomes not just a question of whether or not X is possible but also whether or not each individual can agree that X should/shouldn't be determined by the vendor/manufacturer (c.f. the recent hullabaloo about on-device scanning).
I see similarities to the concept of "I may not agree with what you are saying, but I will fight to the death for your right to do so," which just makes it so much easier to agree on whether or not rights are being infringed, regardless of it's something you'd want to engage in yourself or otherwise.
comment 4y ago · link · parent
The obvious caveat is that a hacker w/ local access can do that themselves to hide their system foothold, which is just par-for-the-course when it comes to physically compromised machines... except I'm willing to bet they're more concerned with "jealous ex" than they are with professional hackers.
Apple is trying to add features to protect against the unprotectable instead of just acknowledging that at some point local access means game over; the only way to do that is to make it virtually unbearable to use the OS as a regular user (see UAC in Windows Vista).
comment 4y ago · link · parent
My email is mqudsi at neosmart dot net; I'd love if you could let me know what happens.
comment 4y ago · link · parent
I write embedded firmware, replacements for GNU coreutils, system services, and more in rust and I love it. But I write my web apps in C# and I wouldn’t change that.
comment 4y ago · link · parent
021-12-07T19:05:23.822-0600 I CONTROL [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27117, unixDomainSocket: { pathPrefix: "/usr/lib/unifi/run" } }, processManagement: { pidFilePath: "/usr/lib/unifi/run/mongod.pid" }, storage: { dbPath: "/usr/lib/unifi/data/db", wiredTiger: { engineConfig: { configString: "cache_size=256M" } } }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/usr/lib/unifi/logs/mongod.log" } }
2021-12-07T19:05:23.822-0600 I - [initandlisten] Detected data files in /usr/lib/unifi/data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2021-12-07T19:05:23.822-0600 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=256M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),cache_size=256M
2021-12-07T19:05:24.339-0600 E STORAGE [initandlisten] WiredTiger error (-31802) [1638925524:339440][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error Raw: [1638925524:339440][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 604: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
2021-12-07T19:05:24.339-0600 E STORAGE [initandlisten] WiredTiger error (0) [1638925524:339475][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata Raw: [1638925524:339475][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 611: WiredTiger has failed to open its metadata
2021-12-07T19:05:24.339-0600 E STORAGE [initandlisten] WiredTiger error (0) [1638925524:339483][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk Raw: [1638925524:339483][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 614: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
2021-12-07T19:05:24.339-0600 E STORAGE [initandlisten] WiredTiger error (0) [1638925524:339489][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options Raw: [1638925524:339489][1327:0x7f952058b400], file:WiredTiger.wt, connection: __wt_btree_tree_open, 617: You should confirm that you have opened the database with the correct options including all encryption and compression options
2021-12-07T19:05:24.340-0600 F STORAGE [initandlisten] WiredTiger metadata corruption detected
2021-12-07T19:05:24.340-0600 F STORAGE [initandlisten] This version of MongoDB is unable to repair this kind of corruption, but version 4.0.3+ may be able to repair it. See http://dochub.mongodb.org/core/repair for more information.
2021-12-07T19:05:24.340-0600 F - [initandlisten] Fatal Assertion 50944 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 71
2021-12-07T19:05:24.340-0600 F - [initandlisten] \n\n***aborting after fassert() failure\n\ncomment 4y ago · link · parent
comment 4y ago · link · parent
This is what monogd.log contains when started:
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] MongoDB starting : pid=7531 port=27117 dbpath=/usr/lib/unifi/data/db 64-bit host=unifi
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] db version v3.6.20
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] git version: 39c200878284912f19553901a6fea4b31531a899
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1d 10 Sep 2019
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] allocator: tcmalloc
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] modules: none
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] build environment:
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] distmod: debian92
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] distarch: x86_64
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] target_arch: x86_64
2020-09-24T21:18:54.231-0500 I CONTROL [initandlisten] options: { net: { bindIp: "127.0.0.1", port: 27117, unixDomainSocket: { pathPrefix: "/usr/lib/unifi/run" } }, processManagement: { pidFilePath: "/usr/lib/unifi/run/mongod.pid" }, storage: { dbPath: "/usr/lib/unifi/data/db" }, systemLog: { destination: "file", logAppend: true, logRotate: "reopen", path: "/usr/lib/unifi/logs/mongod.log" } }
2020-09-24T21:18:54.231-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=256M,cache_overflow=(file_max=0M),session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),compatibility=(release="3.0",require_max="3.0"),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),comment 4y ago · link · parent
The solution is simple but somewhat ugly, just like on Android and iOS: set a maximum time limit (up to 250ms) before going with the number of fingers detected.
Also, I’m not sure if macOS is distinguishing between tap and click? The online documentation says it’s with force click enabled.
comment 4y ago · link · parent
In all cases, that is easier to implement in code than a stateful transition like I described since there is no state persisting beyond the gesture itself, it just needs gesture_start and gesture_end support (with the difficulty being in determine if a three-finger gesture has started or if it’s actually a three-finger gesture on its way into becoming a four-finger gesture).
comment 4y ago · link · parent
That’s a very good question as I didn’t consider stateful gestures (where state doesn’t reset when all fingers are removed). It can be shimmed (without touching the code) in the configuration file by replacing the invocation of xdotool (or whatever) with a wrapper script that provides state enabling a “toggle mousedown” rather than just explicit, separate mouseup and mousedown events but I wonder if there’s a clean way to model that into the event loop as serialized to/from the configuration file directly. Feel free to open a GitHub issue if you like.
comment 4y ago · link · parent
I have zero faith in their supply chain.
comment 4y ago · link · parent
The linked project is only the userland daemon that uses the raw Linux Multitouch Protocol events to interpret gestures; to get the acceleration curves working again I recommend using this in conjunction with xf86-input-synaptics as your actual input driver (which provides the correct acceleration curves for compatible hardware - basically all touchpads since they all cloned synaptics’ hardware once upon a time - but doesn’t by itself have gesture support).
Side note: Syngesture (this project) isn’t dependent on X11 or Wayland, but I don’t know if anyone has ported or will port xf86-input-synaptics to Wayland, which is/was pretty much developed along the same lines as libinput: rewrite everything from scratch without taking into account that some things you’re throwing out actually work really well (regardless of the fact that they are built for X11 or not), get rid of all abstractions that made it possible to plug in better components/replacements at various points in the stack, and without a concern for actual feature parity for what they are purportedly replacing.
comment 4y ago · link · parent