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

Is not war in Syria a war for controlling the country? Current government (Asad) for a long time had good relationship with Russia and allows them to have military bases there. If West-backed opposition wins, they will allow locating there american bases instead of russian.

I guess that is the primary reason why West supports syrian opposition and why Russia takes part in the conflict.

comment 9y ago · link · parent

As we saw one should not let users decide who can get access to their email account. Users are easily fooled. Google should review all applications wanting such access manually.

Though this is unrelated to the topic I think it would be good if Google reviewed apps permissions in Google Play too because users are bad at this.

comment 9y ago · link · parent

It would be difficult to run this set up on Windows for example.

comment 9y ago · link · parent

I think the problem is not that this technology exists but rather that the operation of this engine is not transparent, the user cannot examine or disable the software in this engine, cannot write his own software.

comment 9y ago · link · parent

If Intel released a firmware update, then anyone can compare this update to a previous version and see what has changed.

comment 9y ago · link · parent

9000 euros is a large sum for countries where an average monthly salary can be around 500 euro or less. Only wealthy families (whose kids don't really need German education) would afford that.

comment 9y ago · link · parent

I disagree. You are suggesting everyone should write error handling code manually rather than rely on compiler.

comment 9y ago · link · parent

There is no need to break SSL. Top Internet companies (Google, Facebook, Twitter, Microsoft, WhatsApp) are under US jurisdiction and they have to do whatever US government tells them.

That seems unfair. I am sure there are many governments that would like to get their share of data too.

comment 9y ago · link · parent

There actually is a russian phrase "на чужбине", "на чужой земле" (in a foreign land) where "на" is used when talking about another country. I guess using different prepositions is something historical, so "на" is not used anymore, but it is left in some set phrases.

comment 9y ago · link · parent

I don't understand why virtual keyboards (e.g. on Android) cannot have letters with diacritic along with normal letters (not hidden behind long tap popup). That should not be difficult to do.

comment 9y ago · link · parent

Maybe that's a good idea. Punycode could be used only for names ending with non-latin TLD.

But the problem would still remain, for example if one company uses a name with latin "i" character and another with ukrainian charater that looks the same.

comment 9y ago · link · parent

Maybe non-latin domains should use non-latin TLDs? Or at least registrar should reserve all alternative spellings when registering a domain.

comment 9y ago · link · parent

I think this is a problem with registrars. It is the same if they would arbitrarily share access to your domain setup to another person. They should not allow registering domain names that look identically or very similar.

And of course we should stop using passwords and switch to physical keys.

comment 9y ago · link · parent

I think it just means that the site is poorly designed. I think websites should work correctly everywhere where CSS2.1 and ES3 is supported. Otherwise some users won't be able to view those sites.

comment 9y ago · link · parent

Because JS syntax is copied from Java that uses semicolons. Omitting semicolons makes code more ambigious and one has to remember where they can and where they cannot break a line.

JS is not a language like Ruby or Python.

If someone doesn't like typing semicolons why don't they set up their editor so that it would insert them automatically?

comment 9y ago · link · parent

This is an awful project. Someone took his own preferences for code style and tries to make it look like some "standard".

The parts that I don't like the most are 2 spaces for indentation (why so small? who else is using such small indentation?) and "no semicolons" rule.

It would be better to adopt some style guide from Java, because JS has similar syntax and because Java has been in use in large projects for a long time.

comment 9y ago · link · parent

Maybe the real reason was that it is cheaper to ban a customer than investigate the issue?

comment 9y ago · link · parent

They could just put malware into one of popular node.js modules. Nobody would notice because Linux/Mac users don't use antivirus.

comment 9y ago · link · parent

That could also make employees more productive.

comment 9y ago · link · parent

Old Opera browser used to have a button to disable CSS that would return page to a readable state. Also it was helpful on websites with white-on-black color scheme.

comment 9y ago · link · parent

Scraping a website can be compared to only downloading mp3 file, not redistributing it to other people.

And I don't see how electronic ToS have any legal power. It is not a contract one has signed before visiting a site. I think ToS should only bind the website owner, not its visitors.

comment 9y ago · link · parent

I am not suggesting to break a law (I don't live in US so that law doesn't apply to me anyway). I just try to point out that it is wrong and serves only publishers' interests.

comment 9y ago · link · parent

The person who owns a server can restrict access by adding a login form and creating user accounts. Or taking other measures (for example, banning IP networks or countries or implementing a captcha).

I think that the only thing that has to be regulated is the load (number of request per unit of time) on the server. So that it doesn't prevent server from serving pages to other visitors.

Regarding robots.txt, I am not sure if ignoring it should have legal consequences. It is just a hint to robots, don't visit these pages or we will ban you.

If there is no harm done to the server I don't see any problem with scraping.

comment 9y ago · link · parent

If someone can afford owning a car they probably are not that poor.

comment 9y ago · link · parent

I think that is wrong too. I think that copyright laws should make a distinction between making and distriubuting a copy by a person (for example uploading copyrighted file to a website) and technical processes that happen inside a computer. Copying something from NIC buffers to memory should not be "copying" under copyright law.

comment 9y ago · link · parent

Doesn't publishing information on a public web server equals to granting authorization to download it? Why publish it otherwise?

And copyright laws are supposed to protect only creative works, not every page on the web.

comment 9y ago · link · parent

I think such laws are wrong. Scraping is what Google and Web Archive does and it serves good purposes. For example, one can make an application that compares prices for the same item at different internet shops and helps to find the cheapest offer.

I don't understand what's wrong with downloading the information that is published on a public web server. That is what that server was made for in the first place.

Of course there are people who scrape the website, add advertisement and optimize it to rank better than the original website. But this problem can solved with other measures.

And of course those who do the scraping must limit their request rate so the server doesn't get overloaded.

comment 9y ago · link · parent

Yes, there is some information that can be collected, for example, in server logs. But does the company need to keep those logs forever? And does it need to collect it all?

But the problem is not only in the IP addresses. Companies just want to save everything they can collect. Remember Amazon Echo that was storing everything said to the device on the server. And almost every mobile app now has Google Analytics or similar system inside.

It is obvious that companies do this for profit because the information could have some commercial value and could be sold later or used for marketing purposes. But the users want the device just to serve its purpose and not to be a modern implementation of a telescreen.

I think this problem can be only solved by government regulation too.

So for example a store owner that has a CCTV system would not be allowed to keep the records forever or recognize faces on the video and sell this information to marketers. A security system should serve just its purpose.

> It's difficult to have an internet-connected widget with an App that doesn't generate some kind of information in logs somewhere.

The server can be run on the phone or user's computer or router. Why should the data from the toaster travel across the world?

comment 9y ago · link · parent

This can be implemented in a browser extension. And I don't think everybody needs scrolling through paragraphs.
1
171172173
185