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

This source is a "partner" of Yandex News [1]. Yandex has rules for "partners", and one of the requirements is "quality of headers" [2], although as we see, Yandex doesn't care much about it.

[1] https://yandex.ru/news/smi?name=%D0%9C%D0%BE%D1%81%D0%BA%D0%...

[2] https://yandex.ru/support/news/info-for-mass-media.html

comment 4y ago · link · parent

> So it would only count as a regime change if he stayed to get killed by an angry mob?

It doesn't count as "been overthrown". Also, there is no evidence that he would have been killed. He might go under a trial in a court though.

There is one important thing you don't mention: the "referendum" was held after occupation of Crimea Peninsula by Russian military. Specifically, the article you refer to says that Russian military occupied Crimea on February, 27 and the referendum was held on March, 16.

Therefore, parliament could not vote freely as its members were not protected from pressure by Russian military authorities. You cannot vote freely when surrounded by enemy soldiers. Also at that time the territory was controlled by Russia and the parliament had no real power anymore.

Also, I do not know if Ukranian law at that time allowed a region to declare independence. You cannot hold a referendum whose outcome would contradict the law. For example, you cannot hold such a referendum in Russia.

> You acting like that doesn't matter, so you can regurgitate "Russian annexation!"

Let's look at the definition of "annexation":

> Annexation in international law, is the forcible acquisition of one state's territory by another state and is generally held to be an illegal act.

Russian army has occupied the territory earlier that anything else happened. Therefore it is an annexation. There was no significant movement for independence of Crimea before occupation.

> it very casually denies the Crimean people, as represented by the state parliament, their own representation.

Do Crimean people or their Parliament now have a right to separate from Russia if they change their mind? They don't. Does it mean that Putin, as you say, "casually denies the Crimean people their own representation"?

I don't think there are many countries where a region has a right to declare an independence. There are things that you cannot change with a referendum.

comment 4y ago · link · parent

> Yet Ukraine had no intention at all to organize a "real" referenda under their laws

Why should they cede their land to someone? And why should referendum be held only in one region, and not in the whole country? No country will agree to this. Will Putin organize a referendum if I suggest that my city separate from Russia and join European Union? Did Putin or Eltsin organize such referendum in Chechnya?

It doesn't matter whether Ukraine should or should not have hold such referendum. It is Russian soldiers who crossed the border and pulled the trigger first in 2014, not Ukranian. The war (as almost every war) is there because Putin and many Russians want more land, more glorious victories and more political influence, not because someone didn't organize a referendum.

comment 4y ago · link · parent

Blocking Youtube is an awful idea. It is one of the sources where Russians can get information not from propaganda. If you block Youtube, they will have to turn to government-controlled sites like Vk or RuTube.

comment 4y ago · link · parent

No, I think that you are wrong.

That law that you mention requires only to publish news from officially registered media. At that moment there were officially registered not-pro-Putin media that could be used as a source (for example, covering anti-government protests, trial on Navalny and so on), but Yandex preferred to tune the algorithm so that it chooses news from pro-Putin media for the homepage that is seen by millions of people.

Yandex chose to become a propaganda outlet. Some of the news that they re-publish from propaganda media are very low quality and, I think, even violate Yandex's own rules. If you understand Russian, read this headline for example: [1]. For those, who don't understand Russian, the headline contains the word "shit" while describing (with rejoice) how Lyubov Sobol was denied to take part in Moscow State Duma elections. There was no law requiring Yandex to accept such publications for their news aggregator, but they accepted it.

[1] https://newssearch.yandex.ru/news/search?text=%D0%B1%D0%BB%D...

comment 4y ago · link · parent

That is unlikely because Yandex has a "Public Interest Fund" (which consists mostly of government-appointed people) that has significant power, including a right to temporarily replace the general director [1].

[1] https://www.reuters.com/article/russia-yandex-governance-idU...

comment 4y ago · link · parent

Yandex also paid to browser and smartphone vendors to be installed as a default search engine.

comment 4y ago · link · parent

Russian government has a long history of meddling with elections, non-admission of candidates, falsifying results, for example [1] or [2]. Therefore they cannot be trusted, especially in this case.

You cannot compare US war for independence with Crimea occupation because in US it was an internal movement to become idependent from a metropoly, but in Ukraine the events that occured were caused by Russian military intervention with purpose of annexation of Ukrainian territories. Before Russian intervention in 2014, there were no significant efforts to become independent, there were no war and nobody was dying.

The same with Catalonia.

> What's also not conform, with a whole slew of national laws, is violently overthrowing a democratically elected government

First, their president wasn't overthrown, because he has left the country himself. Second, that doesn't give Russia a right to annex territories.

[1] https://en.wikipedia.org/wiki/September_2018_Primorsky_Krai_...

[2] https://en.wikipedia.org/wiki/2019_Moscow_City_Duma_election

comment 4y ago · link · parent

These number are provided by Russian government. How can you be sure that they are true?

Also, those so called "referenda" did not conform to Ukrainian laws.

comment 4y ago · link · parent

This "TrustZone" looks like a user-hostile feature which was invented for convenience of placing difficult to detect backdoors.

comment 4y ago · link · parent

Is it so? I looked up those GPUs at Russian online stores, and they are available for order, although the prices start from $1230 for RTX 3060.

If you think properly, it doesn't make sense to pay such a price just to kill some time playing games. A cheaper card would fit this purpose better.

Also I cannot blame the miners. If I am not missing something, currently a GPU mines cryptocurrency worth 50% of it cost per year (in countries with cheap electricity). I doubt you can get such percent in a bank deposit or other kind of investment.

comment 4y ago · link · parent

So basically you are surprised that people want to buy a higher value and better product instead of lower value?

Also, for "normal people" there are plenty of 1 and 2Gb videocards at reasonable prices, unusable for mining.

comment 4y ago · link · parent

I don't understand why gamers should have any priority over miners and programmers in access to video cards. Mining or computing is a serious business. Gaming is just a way to kill time and kids would get much more benefit if they read books or did sports instead.

Also, gamers don't need top video cards, 1 or 2Gb cards are fine for most games.

Therefore, all restrictions on hash rate should be removed.

comment 4y ago · link · parent

Could it be that your phone was backdoored, used to register fake accounts and banned as a result?

comment 4y ago · link · parent

I think that the author is wrong in trying to estimate military force by economy size. What matters in the war is not how many dollars you have but how many soldiers, bullets, tanks, bombs you have.

And the costs to produce them might be different. In the West its high wages and strict safety requirements inflate the cost of production, but if in your country people are motivated to work for food for the victory then you can produce much more with the same expenses.

comment 4y ago · link · parent

These marks could be set by ukrainian citizens wanting to return the glorious days of Soviet Union.

comment 4y ago · link · parent

> But as you've probably seen from all the 'prisoners of war' videos out of Ukraine, most soldiers don't want to fight this war.

You should not believe them. They might be just lying.

comment 4y ago · link · parent

Why is it impossible?

I tried to calculate how many molecules of water can fit into a sphere with radius of 500nm and I got 17 billions. Doesn't look like a big number for modern hardware.

And if modeling billions of atoms is impossible, cannot we model separate reactions? Put several virtual proteins and RNAs near each other and see how they interact?

comment 4y ago · link · parent

Isn't this a way to introduce bugs? For example:

- injected DLL can change some process-related settings and break main program

- injected DLL can call non-reenterable function from a system library simultaneously with main program

comment 4y ago · link · parent

> As a result, the find command containing undefined variables was executed

And this is why shell should not execute commands with "undefined" variables and give an error instead.

comment 4y ago · link · parent

Case insensitive filesystems usually preserve the case so you can use capital letters in filenames.

comment 4y ago · link · parent

I don't like using tabs in Makefile syntax. Tabs are in many cases (especially on print) indistinguishable from spaces.

Also, any "make" program for C should automatically detect dependencies between files because this information is present in the code and it doesn't make sense to duplicate it.

comment 4y ago · link · parent

What are the advantages of using a case-sensitive file system? I cannot imagine a situation when you need to create two files that differ only in letter case. This also would make program that create such files not portable.

comment 4y ago · link · parent

It is "simple" for a programmer who doesn't want to learn Unicode and prefers working with bytes instead of letters, but inconvenient for a user. More keypresses, easier to make a mistake when typing.

I cannot imagine a situation where you need two files whose names differ only in case.

comment 4y ago · link · parent

Docker (in my opinion) is a poor solution for distributing apps. It resembles a quick hack rather than a solid, scalable, future-proof solution. The problem is: you need to deploy an application with all required libraries with specific versions and build options. Obviously, a proper solution would be a package manager which would read the declarative, non-executable configuration file and install or build necessary dependencies.

Another problem is that you want to run an application on differen platforms, not only Linux. Again the proper solution would be to write a cross-paltform application and install it using a cross-platform package manager.

Docker doesn't offer a proper solution; instead it suggests that you create a virtual machine, install a whole operating system (without a kernel) there and then write a bash script that will download and build dependencies. As docker image configuration file is an executable script, it means that it cannot be processed with automated tools; it can only be read by a human.

Also, docker requires a daemon running as a root. This increases potential attack surface.

Docker is not good for desktop applications because it doesn't have portals which can restrict access to DBus, audio daemons, file system etc.

comment 4y ago · link · parent

Sbin and bin separation actually causes problems with portability. A certain bluetooth-related utility wants to run iptables command [1] which can usually be found in `/sbin`. But `/sbin` is not in the PATH so they have hardcoded `/sbin/iptables` into the source. Now distributions that have iptables in `/usr/sbin` have to patch the program.

So it would be better if either there were no `/sbin` or if it was always in the PATH.

[1] https://github.com/blueman-project/blueman/blob/fcef83a01c80...

comment 4y ago · link · parent

Because case insensitive filesystem doesn't require you to press Shift key when typing a command. Typing `ls /Program` requires one keypress more than `ls /program`. Also, it is easier to remember just a name rather than remember how exactly it is spelled.

comment 4y ago · link · parent

But I don't think that it is an unsolvable task. If you simply use Unicode-aware version of "to lowercase" function, it will be better than what we have today. But of course there is a place for improvement (dealing with accented letters in European languages, dealing with combining characters, different alphabets like Hiragana/Katakana etc).

comment 4y ago · link · parent

The problem is not with capitalisation, the problem is that Linux filesystems are case-sensitive and require you to type the name with exact case.

comment 4y ago · link · parent

They have separate directories for libraries under /Program, so I guess the library gets installed into a separate directory only once.
1
115116117
185