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

Can this problem be solved by having 2 independent projects: one emulator that doesn't deal with decryption, and a convertor that allows to remove encryption from a legally obtained game?

comment 2y ago · link · parent

Does this mean that Americans helped a criminal to escape justice?

comment 2y ago · link · parent

As I understand, Zync is a FPGA, it is not used in consumer devices like laptops and smartphones so nothing bad happens even if there is a vulnerability.

comment 2y ago · link · parent

I don't understand why video codecs must be in kernel and run with supervisor privileges. Why can't they run in a userspace?

comment 2y ago · link · parent

I hope Linux will never switch to cloud accounts.

comment 2y ago · link · parent

Today usually you are paying for the product while being the product at the same time (example: ads in smartphones, Windows).

comment 2y ago · link · parent

This won't work. Foreign nations have enough skill and resources to pass KYC as a citizen (steal someone's documents, pay a homeless for verification etc). And as I understand, US doesn't have a central citizen database so it is difficult to verify a document.

comment 2y ago · link · parent

Are ordinary citizens allowed to "start a small forest fire"?

comment 2y ago · link · parent

> You can't own a broadcast station in the US as a non-US citizen

Because freedom of speech doesn't work in practice?

comment 2y ago · link · parent

If Apple was willing to pay fair prices, they would do the work in a country with strong laws and strong unions not allowing such things to happen.

comment 2y ago · link · parent

Why does government use cloud for general public? Why don't they use government cloud with high security?

comment 2y ago · link · parent

But this is ugly, for example, if I have a square root function, I don't want it to accept Error.

comment 2y ago · link · parent

This means you will have to write an if after every method call which is annoying and makes code less readable (source: had to write lots of ifs several days ago while writing a C library. My code consists mostly of ifs with error handling, because almost every function - even encoding conversion - can fail. I think that if companies hired low-paid trainees just for the purpose of writing ifs they could save a lot).

comment 2y ago · link · parent

Maybe because phones allow to track people? It is a spy in your pocket.

comment 2y ago · link · parent

Interesting, but the word "containers" is scaring me. I wanted just a simple tool to download and install several libraries and not a full Docker/Kubernetes level system...

But it looks like a good choice for running tests in CI.

comment 2y ago · link · parent

> there have only ever been a tiny number of backdoored open source packages

First, these packages might contain vulnerabilities, second, I want to be able to run also third-party software including closed-source software, Windows software and random scripts from Github. If you restrict yourself to official repositories, then you cannot do much useful work.

> consider Fedora using SELinux.

Because SELinux is not what I want. I want a GUI with checkboxes like "Allow playing sound" or "Allow reading CPU model" rather than describing access to every individual file.

comment 2y ago · link · parent

By the way, is there some way to specify dependencies in C? Like requirements.txt in Python, where you put libraries names and versions and the user has to run a single command to install them (and without requiring root privileges)? Is this nix/tvix/guix an equivalent of pip?

comment 2y ago · link · parent

There are 8 billions people on Earth though.

comment 2y ago · link · parent

It surprises me that Linux has no proper and detailed sandboxing out of the box. Are Linux users running untrusted closed-source applications and potentially backdoored open-source programs with full privileges? Maybe they should just post their root password online, it won't get worse anyway.

comment 2y ago · link · parent

It is not that simple. Replacing a saw is a loss to the business owner, while an employee losing a finger by his own fault costs nothing to the company.

comment 2y ago · link · parent

In Linux there is a package manager for auto-updating.

comment 2y ago · link · parent

They suggest to verify a hash of downloaded script which means that after update the script will not be executed. So it just doesn't make sense.

Probably it is an experiment to see how many people will fall for this.

comment 2y ago · link · parent

Could it be that the user simply learns to press a key slightly earlier to compensate for the latency? There is key travel time you have to account for anyway.

comment 2y ago · link · parent

Sorry for being off-topic but what I dislike the most about Gnome Terminal is that it opens a small window by default (like 1/4 of my screen size) and even if you resize it, it doesn't remember the size after restart. It turns out you need to go to settings and manually specify how many columns and rows do you want.

comment 2y ago · link · parent

As I understand, the problem is that authentication used users from /etc/passwd and allowed to log in as any user, even as system user like "messagebus" which has no password. It is annoying that linux software uses system database for authorization, for example, Postgres and Samba do this and there is always a risk that you have some system user you don't know about which can be used to access your system.

comment 2y ago · link · parent

Then laptops should not be sold to anyone willing to pay as well.

comment 2y ago · link · parent

It seems that the problem is in Javascript itself, where almost every action can cause side-effects. This makes interpreter extremely complex and it is difficult to spot a mistake. Converting something to int shouldn't cause any side effects.
1
777879
185