5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 6y ago · link · parent
> good UNIX programmers know to use getopt(3C) libc function
Well, when writing in C. People don't really use this from other languages.
comment 6y ago · link · parent
I'm pretty sure it needs amdkfd, which is not really "specific" but doesn't have any other consumers.
> but OpenCL on my AMD GPU works fine
Well, if instead of ROCm (or proprietary "pro" stuff) you have Mesa's Clover… that's the opposite of fine. I mean, fine for simple things, but Darktable won't work (no image support), Blender won't work (just too complex lol)…
---
my casual user opinion: I HATE ALL the special compute-specific GPU APIs. I don't want a special fancy kernel driver that loads everything differently, I don't like OpenCL and other unusual special garbage. Please please please just use Vulkan compute shaders for everything.
(And thankfully, people are starting to do that https://github.com/nihui/waifu2x-ncnn-vulkan https://github.com/hanatos/vkdt …)
comment 6y ago · link · parent
Literally no one wants to "Get latest updates about Open Source Projects, Conferences and News", thank you very much. Why is there a giant banner dickbar (that got blocked by my DNS resolver so it's a USELESS STICKY GIANT WHITE STRIPE with a tiny gray "Advertisement" label) below the navigation bar? Why does the navigation lead to nested categories of "Business Software"? Why is the sidebar (which is 100% junk anyway) impossible to scroll fully as it sticks to the top all the way and then gets obscured by the footer? Who decided to make the breadcrumbs in 12px font next to a gigantic 3.42857rem (comes out to 48px!!) current thing title?
comment 6y ago · link · parent
https://www.psma.com/sites/default/files/uploads/tech-forums...
comment 6y ago · link · parent
Not really. The goal is to safely store an extra random value that's mixed with the password hash to derive the master key for the account, because they don't want to fully trust the password hash, because some passwords are too weak.
Could've just made password requirements stronger, but that doesn't provide an excuse to play with SGX I guess :)
comment 6y ago · link · parent
As a result, we finally have a desktop situation that's not a pile of workarounds on top of a decades old crusty mess that nobody wants to touch that is Xorg, finally there's no fucking screen tearing, finally there's proper multi-monitor HiDPI, finally it's possible to actually sandbox GUI apps (unlike X11, having a Wayland socket does not give you the power to mess with the desktop and overlay a fake password prompt or keylog), finally there are no weird lags (because the protocol is fully async and does not involve a silly middleman broker that xorg ended up as).
comment 6y ago · link · parent
I'm not sure what you're calling "an ACPI controller". (You seem to be thinking of MMUs and PICs??)
ACPI is a software interface. The tables are the ACPI. It's possible to implement ACPI on a system that originally shipped with U-Boot and Flattened Device Trees. Say, for the Raspberry Pi: https://github.com/tianocore/edk2-platforms/tree/8b72f720d53...
comment 6y ago · link · parent
As a normal person, you're mostly stuck with SolidRun's offerings if you want something that's affordable but serious (i.e. can run PCIe devices).
I run a MACCHIATObin as a desktop with FreeBSD, it's fine, great open source UEFI-ACPI firmware (upstream EDK2), generic ECAM PCIe works (with a quirk but still), but it's not a powerful system. Four A72 cores, single DDR4 channel. It's basically a rather-old-ultrabook level of performance.
Then there's their new thing with the NXP LX2160A 16-core dual-channel chip — there was a loooot of doubt about whether they could achieve good ACPI support on that SoC. But recently NXP have pushed a commit that introduces a generic description of the PCIe controller to the ACPI tables..
comment 6y ago · link · parent
The ARM equivalent to ACPI is ACPI.
ACPI is not "between the board and CPU", it's "between the OS and the computer". Which is actually much more important. Writing drivers for bespoke PCIe, USB and SATA controllers is not fun. ACPI standardizes configuration of these things.
comment 6y ago · link · parent
What they did with Nitro is develop custom PCIe devices to handle storage and networking, so these devices' virtual functions (SR-IOV) are directly passed through to the VMs and now the hypervisor basically has nothing to do other than switching contexts.
comment 7y ago · link · parent
If you look at https://lit-element.polymer-project.org — it's just a base class that integrates declarative DOM templates.
The platform APIs are not opinionated about templating, they just provide proper mechanisms for declaring elements and having isolated DOM subtrees. It makes sense to leave templating to libraries, because… well, good luck on getting even just two people to agree about how templating should be done :)
comment 7y ago · link · parent
> There are hard to debug complications with binding lifecycles in our UI, and very few people know how it works.
> It adds enormous complexity to our platform in the frame constructor, style system, and the DOM implementation.