5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 4y ago · link · parent
Very telling: "common c++ use cases" https://docs.bazel.build/versions/4.2.2/cpp-use-cases.html includes pulling googletest source from the web and linking a random shared object blob. Zero mentions of pkg-config.
comment 4y ago · link · parent
For most projects the winning build system is not the most conceptually interesting one, nor the most flexible one. It's the most "convention over configuration" one. This is why Meson has taken the freedesktop/gnome/etc world by storm.
comment 4y ago · link · parent
Of course, independent of the desktop environment, you could just tell supporting applications to just manually render bigger UI (exactly how you would on X11 with some TOOLKIT_DPI variable thing per UI toolkit) and keep the monitor scale in the compositor at 1x. That's probably what you've been doing. That doesn't support multiple monitors with varying scale.
comment 4y ago · link · parent
comment 4y ago · link · parent
And the "good" scale depends mostly on PPI of the monitor, as well as user preference. On a 27" 4K monitor, 1x scale is near unusable: the UI elements would be microscopic. Windows defaults to 150%, but 175% and 200% are fine as well (here's the user preference aspect).
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
And you DO NOT have to use the Nordic SDK, there are lots of better and fully FOSS options — Apache Mynewt, libopencm3, Rust nrf-rs…
comment 4y ago · link · parent
Google's https://abseil.io and Facebook's https://github.com/facebook/folly come to mind.
comment 4y ago · link · parent
Since the at() functions exist, these environments can just not have a global filesystem namespace – there is no open(), only openat() under the descriptors you have. No escaping up from the sandbox!
comment 4y ago · link · parent
because it's just that good: https://horizon-eda.org
comment 4y ago · link · parent
Well, there is a wlroots impl, so I've just added a couple lines to wlroots to invoke this support from an env variable without having to modify the actual compositor :D
https://github.com/unrelentingtech/wlroots/commit/5b8308651c...
but the wlroots impl isn't merged either, so I think there's kind of a mutual dependency here. Either your MR or the wlroots MR should go in first!
comment 4y ago · link · parent
No, the system is perfectly capable, it's just hard to get all compositor authors to agree on a common protocol (and to agree that it's necessary in the first place). Big DEs especially prioritize regular-user usability features (e.g. currently lots of work on IMEs) rather than fancy nerd customizations that don't always need to be a common external program that works with all compositors (is it really a problem to write a plugin for your DE specifically? No!).
comment 4y ago · link · parent
You don't have to write your own HAL when the community maintains really excellent ones, written by people who actually want to fucking use it rather than vendor employees who just have to get it out of the door.
comment 4y ago · link · parent
I'm learning PCB design with https://github.com/horizon-eda/horizon instead — and here library (pool) management comes first. You actually place full "parts" (that associate symbols and footprints and other metadata) onto schematics — and if you don't want to decide on a particular model number, you can still place a "base" part (e.g. "generic 5k resistor") and change it later. Oh, and the schematic editor actually edits nets, rather than what KiCad does (seemingly just a basic CAD drawing that gets analyzed into a netlist as a very separate explicit step).
comment 4y ago · link · parent