Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

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

this website sucks
Submissions

comment 5y ago · link · parent

Why would anyone want pointers on the GPU?

comment 5y ago · link · parent

Vulkan! Compute! Shaders!

I hate compute-specific APIs so much. Use Vulkan!

comment 5y ago · link · parent

Back in the day™ web 3.0 referred to Semantic Web stuff. IoT rarely used "web" terms?

comment 5y ago · link · parent

> the validation layers are written by your GPU manufacturer

What? I mean they could write extra ones, anyone could, but The Main Official Pack Of Validation Layers™ is maintained by Khronos:

https://github.com/KhronosGroup/Vulkan-ValidationLayers

comment 5y ago · link · parent

or webgpu-native/wgpu :/

comment 5y ago · link · parent

These are different, and both are very important technical terms. It's not correct to exclude them. "Not based on trust" is the precise reason why proof-of-work mining exists.

comment 5y ago · link · parent

You can buy actual money on the exchanges, so you "can" "buy" anything. That's why the assholes who write ransomware accept bitcoin.

comment 5y ago · link · parent

Cavium ThunderX2 (RIP) had 4-way SMT

comment 5y ago · link · parent

Who cares?

The shitcoin economy can only be viewed as a whole.

Your new "green" shitcoin will be exchanged with Bitcoin and other dominant coins that use PoW mining. Your shitcoin's value will be based on that.

comment 5y ago · link · parent

It's all explained in https://youtu.be/xCHab0dNnj4 — the ONE and ONLY thing a public blockchain is useful for is censorship-resistant payments.

Which might include good things (donation to your favorite whistleblower or buying weed or whatever) but definitely WILL include bad things — for example it is uniquely well-suited for paying ransoms, hence the ransomware explosion!

Again, this is the ONLY thing. It is horrendously bad in every way, there's just no other choice for this kind of usage.

comment 5y ago · link · parent

Stablecoins like Tether imploding will destroy the whole shitcoin economy though. We just don't know when, but someday it will happen. They're all clearly criminal fraudulent operations printing fake dollars not backed by anything. You can't do that endlessly.

comment 5y ago · link · parent

"web3" is Ethereum's term for the API that lets web pages do things with your Ethereum client. It's also a vague marketing idea for some kind of a future web that also involves hosting pages on IPFS and registering domains with Ethereum, and still letting these pages do Ethereum things.

It's all pretty stupid.

comment 5y ago · link · parent

> "Blockchain" != cryptocurrency

Public blockchain basically means cryptocurrency-like things. It's all about transfers of value: whether it's coins, domain names or stupid cryptokitties — it's all about tradeable things, so it's all the same shit.

> Ethereum is quite public about their ultimate desire to move to PoS

Promises and desires do not matter. It could end up with them endlessly finding security issues with PoS and postponing the switch. And… surprise, the miners probably won't just stop mining! They'll switch to Ethereum Classic or fork again!

Most importantly, the shitcoin economy must be viewed as a whole. You cannot just view one coin in isolation and say "it's green because non-PoW". The value of that coin is all tied up in exchange with other coins!

comment 5y ago · link · parent

It does not matter that some don't. Most do, especially the biggest one, so the shitcoin economy as a whole does.

comment 5y ago · link · parent

It's so ridiculous that all these huge bosses of corporate America feel the need to not say anything negative. So far only Valve has responded relatively well to this bullshit.

comment 5y ago · link · parent

You don't need vendor specific tools. Especially not on the pi 4 but even before that. The RPi foundation stayed on a 32 bit distro with the proprietary graphics stack forever due to some silly fear of breaking.. something (?) or whatever but mainline linux has been able to manage everything about graphics and display with the vc4 drm/kms driver for ages. CPU frequency has of course been controlled by a mainline kernel driver for ages – heck that's supported in all of the BSD OSes as well.

comment 5y ago · link · parent

Both are about as bad. No matter how high you clock it and how good your RAM is, a Cortex-A53 is still an A53.

comment 5y ago · link · parent

Even without onboard processing it's a very obvious move to offload it to a tiny microcontroller. Apple actually started by using a physically separate NXP micro that they branded "M7". Now it is of course on the main chip, but still a separate Cortex-M core.

comment 5y ago · link · parent

Random CVV sounds fun, but that's kinda in the same "fun only" space as port knocking in networking. There are real auth methods that solve this, i.e. 3D Secure.

comment 5y ago · link · parent

> they also have different networks (not MC or Visa)

Is that also some weird American quirk? Everyone I know has a couple debit Visa/MCs..

comment 5y ago · link · parent

Thanks! Interesting result, baseline performance is impressive (pretty close to my R9 5950X which does 4853/5069 MB/s) but the CRC32 hardware is surprisingly mediocre (Cortex-A72 on Graviton1 does 14840/14483, Neoverse N1 on Graviton2 does 17066/19560)

comment 5y ago · link · parent

Relatively obscure fun thing: CRC32 checksum instructions.

https://github.com/srijs/rust-crc32fast/pull/6

(Get rust nightly via https://rustup.rs, pull the repo, run: cargo bench --features nightly)

comment 5y ago · link · parent

Ryzen is at a process disadvantage currently so Apple should be more efficient on average. When AMD gets on N5 (soon), it's going to be even more competitive.

comment 5y ago · link · parent

Laptops that have soldered RAM (including Apple) do not come with overclocked RAM though. I don't even know of any system with soldered RAM that would let you try pushing the speeds in practice, so this advantage is never leveraged.

But we do know how far DIMMs can go. Mainboard memory trace layouts have gotten ridiculously optimized. DDR4-5200 is a totally "normal" XMP spec now, there are even 5400 kits out there I think.

comment 5y ago · link · parent

Channel != DIMM. Many small channels is just how LPDDR works, as opposed to DDR which has one big chungus channel. Well DDR5 has now split it in two. The total number of traces is the same.

comment 5y ago · link · parent

> e.g. this bug on Linux

This is literally one of the big things changed by what's described in the article (for those still using X11; it's already been solved for quite some time on Wayland)

comment 5y ago · link · parent

Only as in using full software rendering, there's no other way to get GL (as there was GLX for X11).

comment 5y ago · link · parent

It didn't actually have bad performance. I never had performance problems on YouTube, and I even made my own apps with Polymer / Web Components v0 (before v1 became a thing) purely in Firefox (never even tested in Chromium), it all worked pretty well.

comment 5y ago · link · parent

EGL is primarily about windowing system integration, it's what lets you initialize an OpenGL context in the first place.

It doesn't really accomplish interop between different APIs on its own, though of course various interop methods are based on it — e.g. if you want to import a dmabuf, you'd use EGL_EXT_image_dma_buf_import. But, say, on the Vulkan side you'd use VK_EXT_external_memory_dma_buf — there is no EGL with Vulkan, Vulkan has its own WSI subsystem.

comment 5y ago · link · parent

Yes, nearly everything about "Linux" in Firefox applies to BSD.
1
101112
97