Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 6y ago · link · parent

If only http://docopt.org was invented and standardized and widely adopted in the 80s…

> 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 don't have any ROCm-specific kernel drivers loaded

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

> Cygwin allows for precisely this use case

Yeah, and WSL1 did not.

comment 6y ago · link · parent

I don't often go to bad sites, but when I do… it's usually SourceForge. It's not as bad as it used to be, and it's not nearly as bad as Mainstream News Type Stuff, but still.

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

Inductors are not the important part, it's all about the MOSFETs

comment 6y ago · link · parent

It's on die. On the Haswells with two dies, the second one was eDRAM.

https://www.psma.com/sites/default/files/uploads/tech-forums...

comment 6y ago · link · parent

Click the tweet itself, not the "conversation" icon button. That button is not "view replies", it's more like "write a reply".

comment 6y ago · link · parent

> storing your password hash

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

Why would it be the same? Can't they just burn a unique key per CPU, and issue certificates signed by them to these keys?

comment 6y ago · link · parent

That's very board specific I think, some boards from the first Zen generation also had that problem, but my MSI board boots very quickly

comment 6y ago · link · parent

WTF is your problem with Wayland? Wayland is good, it's a brilliant protocol that you can actually understand, which has attracted a community of new developers to hacking on the free desktop platform.

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

https://watchnebula.com

comment 6y ago · link · parent

> The machine could be set to play the incoming audio through a speaker, and if the call was from a familiar source, the phone handset could then be picked up

That's how voicemail still works on many DECT landline phones

comment 6y ago · link · parent

Server-class GPUs kinda showed up first, or at least at the same time: Radeon Instinct MI50 was the first PCIe 4 GPU ever. (The consumer Radeon VII is the same chip)

comment 6y ago · link · parent

No. But, privacy.resistFingerprinting does the opposite of randomization, you get the exact same canvas fingerprint all Tor Browser users have.

comment 6y ago · link · parent

Just enable privacy.resistFingerprinting in about:config, no addons needed

comment 6y ago · link · parent

We're not talking about embedded devices in a server thread :)

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

If your credit card is massive: https://store.avantek.co.uk/arm-servers.html — both Ampere and Marvell (Cavium) are available.

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

> no ARM equivalent to ACPI

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

Thumb-2 is for microcontrollers (and not all of them even). Anything unix-capable (Cortex-A series and custom cores) reads fixed width AArch64 instructions.

comment 6y ago · link · parent

Nitro doubles down on VMs instead of abandoning them, but it is indeed a good example of what integrated hardware and software can do.

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 6y ago · link · parent

> Joyent utterly failed to go anywhere

Joyent was acquired by Samsung, and it's not one of the bullshit acquisitions that destroys the projects/products — Samsung is now using Manta/Triton (and ZFS on illumos/SmartOS) at their massive, massive scale.

https://www.joyent.com/blog/samsung-acquires-joyent

comment 6y ago · link · parent

Well, this new company seems to be about building servers (probably with custom mainboards?) with existing chips and open firmware.

Would be fun if they used Ampere :) but my guess would be that the first products at least are gonna be Corebooted Intel platforms.

comment 6y ago · link · parent

Any of these fancy GaN chargers have USB-IF certification?

comment 6y ago · link · parent

Schuko/Europlug is a very good system.

comment 7y ago · link · parent

The current eMAG (Skylark), though it is current, is not very new either. It's a 16 nm design from last year. They wanted to launch Quicksilver in 2019, but there's like one month left..

comment 7y ago · link · parent

Yes. In fact, "Safari devtools" are really a part of upstream WebKit. You get them in e.g. Epiphany (GNOME Web) too.

comment 7y ago · link · parent

Actually, no. There's no need or possibility to make it "cleaner", but there's always the direction of making it more "high level". These are very different things.

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

The article talks about XBL (the binding part of XUL?):

> 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.

comment 7y ago · link · parent

I remember when it did — before the "Electrolysis" project, when everything ran in one process. This was quite a long time ago already.
1
343536
97