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

Well maybe then Slovaks should have fought for Slovakia independence and not Englishmen or Russians?

comment 3y ago · link · parent

Probably people were thinking that it was a bluff and there would be no invasion. If you look at the map, most of the territory was captured in first days, and then, after Russia has built trenches and minefields it takes lots of resources and time to take back even a single village.

So what we should learn from this is that if you want to take a land from some other country (for example: Finland, Sweden or any non-NATO country) then this "surprise attack" strategy is working. You advance 50-200 km into enemy's territory within several days while your enemy is unprepared and then entrench and now your enemy has to storm your well defended positions, go through the minefields, losing many times more soldiers and equipment than you. And you can just sit and wait until they exhaust and surrender.

If you don't want that happening to your country then you should fortify your borders and build minefields and trenches first.

comment 3y ago · link · parent

The following is true for many European countries:

1) citizens do not receive military training so they will be unable to defend the country in case of invasion

2) there is not enough weapon and ammunition

3) the border is not properly fortified and supervised, so it is possible to advance fast and capture large territory with a surprise attack, and it will be very difficult to take it back

> war in Ukraine showed the power of the European countries

No. The war showed that it is easy to capture large territory with a well planned surprise attack and it is difficult (or maybe even impossible) to take it back once there are trenches, minefields and other fortifications. Also the war showed that Europe is unable to provide necessary amount of ammunitions.

comment 3y ago · link · parent

Will you notice if the software will be signed by certificate for "imagemaqick.com" or "imagemagik.com" or "imagemagick-developers.com"?

comment 3y ago · link · parent

SQLite is not easy to use with migrations, because it doesn't support many ALTER TABLE options [1]: you need to create a new table instead of modifying a column, for example. Also, foreign keys are ignored by default and you need to explicitly enable them after connecting.

Also, column types are not checked and you can easily insert a string into numeric column.

Also it doesn't allow you to use multiple application servers.

So it can be used only with small, simple sites.

[1] https://www.sqlite.org/lang_altertable.html

comment 3y ago · link · parent

This still happens today. For example, city walls of Moscow were started to be dismantled in 19th century and whatever left was destroyed by the communists after revolution. To widen the roads in the center of the city the communists demolished 18th and 19th century historical buildings (luckily some other buildings were just moved away using rails).

Also new construction sometimes happens in the center and you cannot build something new without destroying a part of history first.

comment 3y ago · link · parent

> why do we trust them to turn a switch on or off?

Because many people do not want to compile a white list of allowed websites themselves. It is too much trouble. So they would rather delegate this to some organization.

> Also, I hope you can understand why I think "because parents are stupid/lazy" is the worst kind of reasoning you can give to enforce control over the entire internet.

This doesn't enforce control over Internet, this only adds a locked-down mode for children. For adults, there are no restrictions.

comment 3y ago · link · parent

> windows does have parental controls,

What I meant is that OS should have one simple option, not a complicated tree of settings made for sysadmins. And it should be reliable, and apply to all applications, so that you cannot insert a thumb drive with Firefox or Tor browser and enjoy uncensored Internet access.

comment 3y ago · link · parent

For options to be available, you need regulations. Today without regulations there is no OS that would provide a single checkbox like "show only content appropriate for N year old". It seems that there is no motivation for device and OS manufacturers to invest into implementing such options and filters.

comment 3y ago · link · parent

> I guess NordVPN is going to campaign hard for this.

Nobody in their sane mind will campaign for allowing children to access harmful content.

comment 3y ago · link · parent

This means that every site in the world must interpret the headers, while with my proposal sites need to opt-in (and pass certification) to be available on children's devices.

comment 3y ago · link · parent

> Do not tell me how to raise my kids.

The government is already doing it, depending on the country, you can get prosecuted if for example you buy alcohol for children or let them do something dangerous.

> Maybe a solution to the latter problem would be to use content descriptors instead of a blanket "safe for kids" flag. i.e. individual flags for pornography, graphic violence, naughty words, etc.

Maybe, but this increases possibility for fingerprinting.

comment 3y ago · link · parent

> This requires all states and all countries to agree what is and is not safe content

There could be an organization that reviews site content and moderation policies and assigns a rating, issuing a cryptographic signature to the website.

> Enforcement across national borders will be inefficient

The rating will not be assigned to foreign-owned websites. Also, the enforcement is pretty efficient, there are police raids on sites with illegal content, and people get arrested for it.

> Unless a site that hosts user-generated content reviews every single item of content before allowing it to be published, it can't guarantee that all content on its platform is safe.

Then it doesn't get a "safe" rating.

comment 3y ago · link · parent

What you are describing are small issues. Of course there will be those who try to circumvent the regulations (like children who drink alcohol or smoke). Does it mean that we should sell alcohol without age verification?

Instead of one "safe mode" there could be several, for example "safe for all", "safe for teens" etc.

Regarding movie sites, there are paid sites where you can legally watch anime or cartoons, and I am sure they will pass the certification for safe content.

comment 3y ago · link · parent

Probably they are made to comply with some laws or regulations (or to avoid being regulated by laws), so the government has a say here anyway.

comment 3y ago · link · parent

Yes, this part wasn't thought out well enough. Let there be an organization that verifies site owners (to verify that they are not abroad and can be put in jail if needed), content and moderation policies and issues a cryptographic signature. The website displays the signature in HTTP headers.

comment 3y ago · link · parent

I doubt that. For example, look at iOS "parental controls". Judging by screenshots [1] here, it is a complicated system that requires a parent to be a system administrator not to get lost in hundreds of settings. For example, you might have to manually compile a white list of websites, white list of apps etc.

The system is so complicated that I think many parents simply get confused and do not want to use it.

Instead there should be a single checkbox: "allow safe content only on this device". That's all (and you can leave detailed settings for system administrators).

[1] https://www.internetmatters.org/parental-controls/smartphone...

comment 3y ago · link · parent

Today there is no legal requirement for laptop manufacturers to implement "safe content" setting and, as I am aware, there is no such OS-level settings in any OS.

iOS seems to have "parental controls", but they are implemented in the worst way possible. For example, to restrict access to websites, you have to manually enter the domains into black or white lists [1]. It seems like Apple tried to comply with some kind of regulations the cheapest way.

There should be just a single checkbox, because I don't think there are many people who are ready to manually compile white lists of websites and browse through those complicated settings.

[1] https://www.internetmatters.org/parental-controls/smartphone...

comment 3y ago · link · parent

Majority of websites are made with sole purpose to extract money.

comment 3y ago · link · parent

The point is that either there will be locked-down child devices or there will be total surveillance, ban of encryption and much worse things in the name of children safety.

Regarding foreign countries, they already block the content they don't like, but for everyone, so this plan won't change anything there.

comment 3y ago · link · parent

Yes but kids who do not want to see porn (or people cut in pieces) will not see it accidentally. Isn't that good?

comment 3y ago · link · parent

Do they provide a complete solution (you only need to tick a checkbox) or parents need to be power users and manually set up whitelist for websites and apps? Do they prevent children from using for example Telegram in locked mode?

comment 3y ago · link · parent

I cannot remember when I saw a defaced website last time. This is very rare nowadays.

comment 3y ago · link · parent

> Under your proposal, there's an inevitable lawsuit where a bunch of people get paid out for allowing their children to get goatse'd because 'kidpxrn.biz' falsely put on the safe-for-kidz header

There could be an organization that reviews site content and moderation policies, ensures that site operator and owner are not foreigners (so that they can be put to jail) and issues cryptographic proof of verification that the website would display in an HTTP header. As website owners are not anonymous they will not risk a jail term to put unsafe content on the site.

comment 3y ago · link · parent

> A site must be certified by some board in order to be accessible. At what level is a site certified? Root level? Page level? Individual content item.

There could be an organization that verifies that the owner and operator of the site are not foreign (so they can be taken to court if needed), reviews the content policy and moderation policy to ensure that no unsafe content can be published, and issues a cryptographic signature to the website. The website displays a signature in HTTP headers.

> How is the site certified? If each piece of content must be certified, who assumes responsibility for certification?

There should be moderation policy guaranteering safety, for example, all comments must be reviewed by moderators.

> The owner of the site then puts content that would have caused to to fail certification

Then they can get into jail if they do it intentionally.

> What incentive is for them to comply vs. not host a site that requires certification?

They can have paid content or show ads.

> by using a Linux live environment to boot into an OS that does not enforce the parental control header.

Requirement to install Linux will stop majority of children.

comment 3y ago · link · parent

You do not need to verify every single page. You verify that owner and operator are not foreign entities (so you can catch them and put in jail), review the moderation policies and get a written promise to follow the law.

comment 3y ago · link · parent

Having imperfect restrictions for children is better than having none.

comment 3y ago · link · parent

If you are a programmer.

comment 3y ago · link · parent

Let there be an government-assigned organization that verifies website owner, content and issues a cryptographic signature proving that the site has been verified. The browser shall not open any page without the signature.
1
848586
185