Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 3y ago · link · parent

That's correct, but if you are, for example, multiplying two 1024x1024 matrices (typical for ML loads) then you need to perform roughly 1B operations on 1M numbers. There is no need for loading lot of data. So we can do without fast memory in this case, can't we? Hopefully the cache and registers of GPU can handle this.

comment 3y ago · link · parent

A proper method is counting ALUs instead of vague "cores".

comment 3y ago · link · parent

Tubes also burn out regularly (literally every day) when you have thousands of them.

comment 3y ago · link · parent

And tubes glow like a lamp so it is natural to call them so.

comment 3y ago · link · parent

This style of displaying comments looks pretty funny.

comment 3y ago · link · parent

AMD has CPUs with built-in GPU with hundreds of ALUs and unified memory (GPU uses system memory). Cannot such CPU be used for ML tasks without purchasing expensive graphic cards? 64 Gb of ordinary RAM will be cheaper than 64 Gb of VRAM.

Currently such built-in GPUs seem to be optimized for games only.

comment 3y ago · link · parent

Knowledgable people, please explain. Vulkan allows executing code on GPU. Can it be used for typical ML tasks (e.g. large matrix multiplication)? Why do we need drivers like CUDA or ROCm then?

comment 3y ago · link · parent

> tools like pip-run already support running a script for which you have the deps described with such comments

> Packages are installed in a temporary virtual env and deleted after the run, like npx used to do for the JS world.

Is it efficient? Download packages, install them only to delete several seconds later. Wastes precious SSD cells.

comment 3y ago · link · parent

What you are suggesting is basically to write the code yourself. That's equivalent to "Linux distributions do not have proper security out of the box".

comment 3y ago · link · parent

What you suggest is to write a sandbox yourself and solve all the issues (e.g. fix all software to work inside sandbox). For example, software might need an access to a certain DBUS service, but you don't want to grant it an access for all other services. Out of the box DBUS doesn't provide means for that. Out of the box there is no way to prevent an app from getting information about a videocard (e.g. though Vulkan or OpenGL). And so on.

Regarding AppArmor, how do you write a policy that would allow a text editor to open only files that user has chosen in Open dialog?

In this case we can say that Windows is also absolutely secure - you can just write a kernel driver that would protect sensitive data from applications.

comment 3y ago · link · parent

And with AI developed by Western engineers it will finally be possible to listen to all phone calls, read all emails and watch video from all cameras. Fully automated people management.

comment 3y ago · link · parent

I meant fingerprinting by third-party applications like messengers, IDE etc.

comment 3y ago · link · parent

At the same time popular Linux distributions do almost nothing to prevent fingerprinting.

comment 3y ago · link · parent

Cannot a phone be used as a motivation then? E.g. take it away for bad grades.

comment 3y ago · link · parent

What you can do:

- stop using Chrome

- do not implement web DRM on your personal site

- do not use providers like Cloudflare if they will support web DRM

- maybe add a warning on your personal site for Chrome users

Maybe something else?

comment 3y ago · link · parent

I mean if root can do anything then such system is not "trusted" from corporations point of view. Therefore, it won't be able to pass the attestation or play DRM content.

comment 3y ago · link · parent

VPN is not only for geeks. VPNs (free ones) are popular in Russia because Instagram is blocked.

comment 3y ago · link · parent

This will also speed up separation of Internet into national networks. American websites won't trust attestation from Russian browsers, and vice versa, Russian sites won't trust American browsers.

comment 3y ago · link · parent

> I don't see why a signed bootloader starting a signed attestation engine wouldn't be trusted by third party websites.

Do you mean a kind of Linux where root cannot do anything he wants? Like Android?

comment 3y ago · link · parent

> You cannot "patch" important parts of your OS (outside any zero days)

So basically you just need to stop updating OS for 2 weeks and grab a fresh vulnerability to bypass attestation?

comment 3y ago · link · parent

A "massive security win" would be using physical non-copyable keys instead of software palliative.

comment 3y ago · link · parent

> web that is populated by identified humans

This is not going to work. The governments will create millions of fake identities to spread their propaganda, same way as they are making fake passports for spies.

comment 3y ago · link · parent

Cannot attestation in Chrome be "fixed" by patching an attestation function so that it always returns true (even if there is an adblocker)?

comment 3y ago · link · parent

> A deterministic but limited-entropy attestation would obviate the need for invasive fingerprinting here, and has the potential to usher in more privacy-positive practices in the long-term.

In reality: an attestation will be used along with fingerprinting.

comment 3y ago · link · parent

From the name I thought that they extended registers to 1024 bits, but it looks like instead they made 512-bit width support optional.

comment 3y ago · link · parent

Cloudflare will happily help Google with displaying captchas to everyone not using Chrome.

comment 3y ago · link · parent

> Google's plan is that, during a webpage transaction, the web server could require you to pass an "environment attestation" test before you get any data.

There is no value in this "attestation" for me as a user. I want to be able to do whatever I want with the browser (for example, remove ads or block access to canvas and webgl) and I want sites to be unable to know this. And probably this attestation will provide additional fingerprinting signals which is what I don't want.

comment 3y ago · link · parent

I don't understand how a microcode update could fix this. I assume microcode is used for slow operations like triginometric functions, and doesn't affect how registers are allocated or renamed. Or does the update simply disables some optimizations using "chicken bits"? And by the way, is there a list of such bits?

comment 3y ago · link · parent

Bribes don't work like a shop where you can come from the street and buy something. You need to have connections first.
1
929394
185