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

I think Alacritty was first. At least it became popular first.

comment 6y ago · link · parent

You absolutely can do secure attention key with just another program. If your account does not have /dev/input permissions, only your display server has keyboard access (unless you run stuff as root lol), and handle key combos that force some secure thing to happen.

comment 6y ago · link · parent

Polymer used to do the HTML Imports thing. Now LitElement does everything in JS files and it's.. better? Works great with bundlers like rollup, fits the npm module resolution thing much better.

comment 6y ago · link · parent

No, all GPUs released in the last 10 years have a unified shader architecture. Vertex, fragment, and compute shaders all run on the same units, and they are the big part of the GPU.

"Compute units" is AMD terminology for a grouping of ALUs and stuff. Nvidia calls them "stream multiprocessors".

Example: Vega 64 has 64 CUs, each CU has 64 "shader processors", so there's 64*64 == 4096 "shader processors" total. This is the big part.

comment 6y ago · link · parent

> Out of the two-dozen-or-so NetHack variants, the most notable are probably SLASH'EM/SLASH'EM Extended and UnNetHack

Congratulations Amy, slex has been noted by Ars Technica now :D

comment 6y ago · link · parent

Don't pretty much all "active record" ORMs now have query builders and encourage their use? The pure pattern seems pretty dead to me..

comment 6y ago · link · parent

(That's not the new generations, which are not released yet, and there's no price info yet)

comment 6y ago · link · parent

Trusted just fine by Mozilla

comment 6y ago · link · parent

They're also great for blogs too.

Remember how everyone was adding stuff like lightboxes to their pages with jQuery Plugins? Well now that kind of thing is much cleaner and doesn't require writing a line of JS.

comment 6y ago · link · parent

Both, anything, everything. They're an ancient outdated (==insecure) fork of Firefox and they can't implement any new feature themselves.

comment 6y ago · link · parent

There's been a lot of ridiculous FUD about "DRM will be used even for text!!1" (wrt. EME especially) and nothing of that sort has materialized.

(also, wasm changes nothing here, you could always obfuscate js just as much)

comment 6y ago · link · parent

Freenode has netsplits relatively often :D

comment 6y ago · link · parent

No, you can run thousands of gen_servers in one VM instance.

This is like calling unix processes that listen on ports "servers", which is pretty common.

comment 6y ago · link · parent

The kernel part is tiny. AFAIK, this is just like Netflix's KTLS — configuration stuff and handshakes are in userspace, only the bulk transport crypto is in kernel.

comment 6y ago · link · parent

> cheap phones that don't support AES-NI

Which are those mythical cheap phones? All the Qualcomm chips from the last N years have AES instructions, right?

comment 6y ago · link · parent

The blobs you have to include in Coreboot for modern CPUs don't have much to do with technical restrictions. A pwnage of the ME does not do the reverse-engineering-and-rewriting effort on the FSP for you.

comment 6y ago · link · parent

As already mentioned the coreboot bit is false, but also:

the TPM is a PASSIVE component. It only responds to your requests and you can do cool things with it.

https://media.ccc.de/v/36c3-10564-hacking_with_a_tpm

comment 6y ago · link · parent

Yeah, mutter/gnome-shell was pretty awful. Weston and wlroots (Sway/Wayfire/etc) never had the issues Gnome had.

In fact Weston since 2015 has had a clever delay algorithm that allows clients to hit the very next frame if they sync to presentation-time feedback:

https://ppaalanen.blogspot.com/2015/02/weston-repaint-schedu...

(And Sway has a configurable delay; since Sway is so simple to render, the recommended max_frame_time value is 1ms — i.e. the compositor has the very last millisecond before vblank to composite, and everything before that is for the apps.)

Not really fair to compare with non-vsync systems — tearing is completely unacceptable ;)

comment 6y ago · link · parent

https://gitlab.freedesktop.org/mstoeckl/waypipe

comment 6y ago · link · parent

Whoever has access to your wayland socket can display applications. Root already has access to all the things so for running apps as root (e.g. wireshark) you just need to configure sudo/doas/whatever-you-use to keep XDG_RUNTIME_DIR and WAYLAND_DISPLAY. e.g. in my doas.conf:

permit setenv { HOME LC_ALL TERM XDG_RUNTIME_DIR WAYLAND_DISPLAY } greg as root

and I can just run 'doas wireshark'.

comment 6y ago · link · parent

That is the whole point, one of the original use cases was passing around buffers between different GPUs on dual-graphics laptops (PRIME)

comment 6y ago · link · parent

You did make sure the AES instructions were used, right? I wouldn't be surprised the AES unit on the eMAG is relatively slow — other units seem to be as well, e.g. in my silly CRC32 benchmark, the Arm Cortex-A72 did 1kb in 79 ns at just 2.0 GHz while the eMAG did it in 103 ns at much faster clocks (3.0 or 3.3 GHz).

I suspect they might have reused these HW blocks from the old Applied Micro X-Gene :D

But now on the new product, it's all Arm Neoverse cores, it's gonna be great.

comment 6y ago · link · parent

No, no way the Neoverse N1 is tens of times smaller than Zen 2, maybe a little bit smaller. And both are on TSMC's latest process.

comment 6y ago · link · parent

Yes, seems like Ampere is the big public server player now.

Marvell bought Cavium which has the ThunderX line. (ThunderX2 being a rather HPC-oriented chip, I think there's a supercomputer already built with it.) Marvell also makes networking-gear-oriented smaller chips (e.g. Armada 8k), one of which is in my little ARM Desktop (MACCHIATObin) :)

NXP (Layerscape) and Mellanox (BlueField) also make network-oriented chips that have around 24 Cortex-A72 cores. NXP's is in SolidRun's newer workstation product.

Meanwhile Amazon bought Annapurna Labs and they make the Graviton (2) for the AWS cloud. This isn't something you can touch physically but it's going to have the biggest impact of all things. This is the real confirmation that Arm servers are legit and the x86/amd64 monopoly is over.

There's also Huawei HiSilicon's Taishan/Kunpeng stuff, which you apparently can buy if you're a serious business, but now it's available in the public Huawei Cloud, but only for the Chinese region it seems??

Oh and Fujitsu is making some epic chip with HBM2 memory and the new Scalable Vector Extensions. But that's only available if you're making supercomputers.

And Nuvia is going to be a thing eventually.. they have not announced anything yet, we have no idea which ISA they are even going to use (could be RISC-V or POWER or SPARC for all we know) but a prominent UEFI/ACPI-on-Arm person is now their VP of Software and is still referring to the Arm ecosystem as "we" https://twitter.com/jonmasters/status/1234734345350369281 :)

And yeah.. press F to pay respects for Qualcomm Centriq and AMD Seattle.

comment 6y ago · link · parent

Yes. There is no "porting" with new SBSA/SBBR systems — only fixing bugs and/or adding quirks :)

On FreeBSD for the eMAG, we've had to:

- ignore a wrong value for UART access width https://svnweb.freebsd.org/base?view=revision&revision=34622... (IIRC Ampere did fix the value in the newer FW revisions)

- restore another register after calling EFI runtime services https://svnweb.freebsd.org/base?view=revision&revision=34699...

- fix some PCIe things we were doing wrong https://svnweb.freebsd.org/base?view=revision&revision=34792... https://svnweb.freebsd.org/base?view=revision&revision=34793...

- fix some memory map things https://svnweb.freebsd.org/base?view=revision&revision=34958...

comment 6y ago · link · parent

ARMv8 AArch64 is actually a massive simplification, they got rid of all the crap that accumulated in 32-bit arch, it's very clean and nice. The presence of some very specific (but immensely popular) float rounding instructions does not make an ISA complex.

comment 6y ago · link · parent

POWER actually became a royalty-free ISA very very recently, way after the initial RISC-V hype. When the term OpenPOWER was introduced, it was mostly about the ecosystem – open standards for boot/ABI/etc, openness to board makers (hello Raptor), open firmware and so on.

BTW: RISC-V being a royalty-free ISA does not mean every implementation is gonna be open source. Though it seems like SiFive's implementation is.

comment 6y ago · link · parent

No, that one doesn't expose them as separate disks, that one is hardware raid 0

comment 6y ago · link · parent

> I'LL TELL YOU WHY NOT 4 MICROSD CARDS:

> BECAUSE YOU COULD FIT A FUCK TON MORE ON THERE!

LTT did a video with this product a couple years ago: https://www.youtube.com/watch?v=3frnBoqqI_Q

comment 6y ago · link · parent

Modern GPUs usually have most of their ports as full-size DisplayPort..
1
323334
97