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

GPS and GSM signals can be easily jammed, and such devices don't cost much in China.

comment 9y ago · link · parent

Why add apps content into web search results? Using a website is much more comfortable than installing an app, checking its permissions, registering an account etc.

comment 9y ago · link · parent

If a product is rented for a long term then maybe a consumer should be able to pass a right to use it to someone else. Otherwise this can be used to circumvent the law.

comment 9y ago · link · parent

If a seller wants to impose some conditions of course he should do so before selling his product rather than try to deceive a customer after purchase. Only a dishonest seller would do such a thing.

comment 9y ago · link · parent

The contract should be signed before buying the software, not when a consumer has already paid for it or wasted his time and Internet traffic to download it.

Imagine if you bought something and then learned that you have to pay again to be able to use the item.

A contract should be beneficial for both parties. But EULA only limits consumer's rights without giving everything in exchange.

comment 9y ago · link · parent

Would not it be easier to make a law forbidding transferring personal information without a person's consent? Not opt-out, but rather opt-in scheme. Companies like Google just exploit a lack of regulation.

comment 9y ago · link · parent

Maybe abandoning Windows is not easy. Cannot the problem be solved by blocking all Microsoft's networks with a firewall? Except for skype there is nothing useful anyway.

comment 9y ago · link · parent

This penalty also can have negative consequences on image quality on websites.

I had to worsen JPEG image quality to get good score for a website in Google's PageSpeed tools [1] because our management believes it affects search rankings.

That tool is awful. I would never follow Google's recommendations on my own site. The compressed versions of images it suggests one should use have visible artifacts.

[1] https://developers.google.com/speed/pagespeed/insights/

comment 9y ago · link · parent

> However, outside of the news ecosystem, that would end up penalizing a much larger base of content creators who don't have the means and infrastructure to handle this.

AMP does the same thing. Many sites don't have resources to convert their content to AMP pages and they will get worse positions in search results.

comment 9y ago · link · parent

I doubt that CDN is really that important. Maybe if your site serves content overseas then there is a difference but what about a website in a relatively small country that is visited mostly by locals? The CDN doesn't make big difference here.

If your server supports HTTP/2 and has a connection with a good bandwith then static resources can be loaded really fast without any CDN because all the resources can be loaded in parallel without waiting in a queue.

The real motivation for publishers to implement AMP is that they hope to get better position in search results.

comment 9y ago · link · parent

You can make light web pages with current technologies but nobody wants a page without advertisement, popups, analytics and notifications.

comment 9y ago · link · parent

What prevents Google and Facebook from sharing data with the government? Especially if nobody would know about it?

comment 9y ago · link · parent

Why WhatsApp? It is closed source (Telegram has open source clients). It belongs to Facebook. And Zuckerberg doesn't look like a person who can stand against government, while Durov has been saying several times that he is not going to cooperate with any government.

The disadvantage of Telegram is that it requires you to provide a phone number (and this is much more important than some rare cases when encryption could fail). It means you cannot stay anonymous while using it. If there is an error in Telegram server code then your phone number can be leaked.

A messenger that cares about privacy should never require a phone number and should not have history enabled by default (because your history will be used against you as an evidence). As I understand WhatsApp doesn't match these requirements.

comment 9y ago · link · parent

There were many cases when USA kidnapped citizens of other countries and put them to jail.

comment 9y ago · link · parent

While you are right, there is a difference that you can drive a 20-30-year old (if repaired) car on modern roads but you once you connect a PC with 20-year old OS to the internet, it will get infected. And 20-year old browser will not be able to display modern websites.

Maybe when cars will become more computerized(?) and connected, they will become unusable faster.

comment 9y ago · link · parent

I think C++ is very compicated, it is difficult to write memory-, thread- and exception-safe program in it and it is easy to make a mistake that can be exploited.

comment 9y ago · link · parent

SMB server doesn't need to run at ring 0. It doesn't need direct access to hardware or physical memory. The most safe option would be to run a copy of SMB server under user's account (but it still would allow to encrypt all of the files).

comment 9y ago · link · parent

Or analysis by antiviruses that have can run programs in sandboxes too.

comment 9y ago · link · parent

Maybe newer OS do not have any useful features for those customers? Maybe they are even worse for them because work slower, are not compatible with old drivers, contain spyware (telemetry)?

comment 9y ago · link · parent

Maybe they should not have connected all of the computers across the country into a single network.

comment 9y ago · link · parent

Are you sure this is enough? At least on WinXp, port 445 is opened by a kernel driver and is still opened after stopping the SMB service.

comment 9y ago · link · parent

New versions of Windows also work slower (especially on old hardware), require more disk storage, contain spyware (telemetry) and advertisement that user cannot disable. And contain no new useful features. No wonder people don't want to upgrade. I think Microsoft should have stopped developing new OS with Windows 7 and release only security and bug fixes.

comment 9y ago · link · parent

One of the reasons why such attack was possible is poor security in Windows. Port 445 that was used in an attack is opened by a kernel driver (at least that is what netstat says on WinXP) that runs in ring 0. This driver is enabled by default even if the user doesn't need SMB server and it cannot be easily disabled.

Most of services in Windows are run under two privileged user accounts (LocalService or NetworkService). Many of them are enabled by default and are listening on ports on external interface so the potential attack surface is large.

Microsoft uses programming languages like C++ that is very complicated and a little mistake can lead to vulnerabilities like stack overflow, use-after-free, etc.

Microsoft (and most companies) prefers to patch vulnerabilities with updates rather than take measures that would reduce attack surface.

Oh, and by the way Linux has similar problems. In a typical Linux distribution a program run with user privileges is able to encrypt all of the user's files, access user's cookies and saved passwords on all websites, listen to microphone and intercept kestrokes.

comment 9y ago · link · parent

There is always less unskilled jobs than people willing to get them therefore the salary will go down to some minimal value if not regulated.

For example there are people who don't have to pay for an apartment and they can agree to work for $500/month and people who have to rent won't be able to compete with them.

comment 9y ago · link · parent

So in the end if there were no migrants in Sweden then there would be no problem with low wages.

comment 9y ago · link · parent

In case with Android things like drivers or builtin software are often closed source and it prevents community from fixing them or migrating them to newer Android versions.

comment 9y ago · link · parent

Upgrading from XP gives no benefits (for me), the PC would only work slower (and will get telemetry spyware). I wish Microsoft stopped developing new OS with useless (for me) features and instead fixed bugs in older systems.

The only good thing that was added in Windows 7 was a search field in start menu. And builtin firewall became able to filter outgoing connections. But it is not worth bothering with upgrading the system.

comment 9y ago · link · parent

> Iterating over such a large set will likely cause a ban of your WhatsApp account, which means you need to spent another 10 bucks on a SIM card which will make it unfeasable to exploit.

Such limitations can be bypassed. For example one can use botnet of hacked Android phones or buy thousands of SIM cards in bulk or maybe even some virtual phone numbers.

comment 9y ago · link · parent

But the rule seem to only protect movie theaters (not local film makers) from competing with streaming services. Would not it be better to impose a tax on importing foreign movies?

comment 9y ago · link · parent

They are evaluating the code in a sandbox to see what it is going to do - for example, is it going to download and run some payload or maybe add itself to autorun registry section. Many antiviruses do the same to discover obfuscated malicious programs.
1
170171172
185