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

No. I don't live there. But I know that US and France invaded those countries and are fighting again IS. What was the true reason to do that I don't know. And what were the objectives of attackers I don't know too. They declared it was a revenge for Syria.

You are right, the United Nations was founded after the war to prevent conflicts to give a chance for other ways to resolve them. People who saw what war is didn't want to see it again. But people today are other generation. Was a decision to invade Lybia, Syria, or Iraq approved by UN? Was there any dialog? Were all diplomatic and economic measures avaiable used? Was it really necessary?

I didn't mean to be rude but I still think words about peaceful living from western countries won't reach people in Middle Asia.

comment 11y ago · link · parent

> nothing would be more crushing to ISIS than people of all faiths living peacefully, happily side-by-side, as friends, neighbors, and families.

People living in Syria and Iraq have their cities bombed by western armies. People in Lybia saw it earlier. Maybe they lost their friends or relatives in a war. Sorry but your naive words about peaceful living would sound like a bullshit to them.

comment 11y ago · link · parent

> This is jihad, blind violence

This might be a war operation. It is very effective to sacrifice eight soldiers to make the whole army retreat. And other countries might be scared too and withdraw their troops.

> If you ask the ones who sent them to bomb, i bet you will find a mixture of vague anti-westernism , anti-semitism etc.

France is in a war against IS. So they fight with their enemy.

> it's hard to come up with solutions to fix the broken arab world

What about restraining from using force? Using diplomatic and economic measures?

comment 11y ago · link · parent

So did western invasion into Iraq stop genocide and make things better there? It just made everything more complicated.

comment 11y ago · link · parent

West is a enemy against which they can unite all other arabs. If west is not an enemy, they cannot unite and will fight each other, e.g. sunnite vs shiite like they have been doing last thousand years.

> They want all non-Muslims who don't want Sharia Law dead

This is a good example of a western propaganda. Sure, there are radical people who say so but they do not have mass support to realise this plan and not everyone thinks so.

> Leaving the Muslim lands and making reparations is not going to help the situation at all

Why don't we try? In the meantime we can take other measures to protect ourselves too.

comment 11y ago · link · parent

You say like terrorists are some evil beings that just hate all the living people. But what if they are just ISIS soldiers whose objective is to force a country withdraw the army from their territory using all possible means? What if terrorists' friends or relatives died from US and european bombs? In their eyes you a just a liar bombing their cities while taking how you cannot hurt anyone else.

I cannot believe there are people who don't understand such a simple thing. You are probably brainwashed by western media.

comment 11y ago · link · parent

Surveillance and extended police privileges are acceptable measure in the time of war.

comment 11y ago · link · parent

Maybe I shouldn't write this but the prime cause is european war against ISIS. These people are the victims of war. So the best solution is to stop it, withdraw european armies from arabian countries, and stop welcoming refugees. Let them fight among themselves.

comment 11y ago · link · parent

What is wrong with firing people to cut the costs?

comment 11y ago · link · parent

CSP can be useful on HTTP-only sites to prevent and log XSS attacks (e.g. somebody trying to insert a script on a page via vulnerable server script). That is SCP primary purpose IIRC.

comment 11y ago · link · parent

It would be easier to disallow http-only CSP though.

comment 11y ago · link · parent

You still can insert external image into a page and poll its size either directly or detect it via layout changes.

Maybe the root problem lies in HSTS and browsers using HTTP by default (because that is why we need HSTS)?

comment 11y ago · link · parent

U2F looks very promising. The prices will probably go down as the standard will get adopted and there will be more competition.

comment 11y ago · link · parent

If there is an open source protocol you can use any device you like.

But using bank application on a phone is totally unsecure. A modern phone is a computer with complicated software that can be exploited.

comment 11y ago · link · parent

I don't think so. Stealing passwords from password manager with a trojan software is much easier (and safer) than breaking into somebody's house. In some countries you can even get shot for that.

You can say the same about credit cards: they can easily be lost, stolen etc. But generally they are better protected than internet bank account with just a password.

And the most appealing point is ease of use. Inserting a key and pressing a button is much easier for a common person than dealing with complicated matters like login, email or password.

comment 11y ago · link · parent

To steal a physical key you need to find a person and make him give you the key (and tell a PIN code if it is protected). It is hard to do on a large scale and you probably get beaten or go to jail soon.

And passwords can be stolen remotely using trojan software. You won't even know whether your password was compromized.

I agree the recovery can be a problem but there probably are ways to solve it.

comment 11y ago · link · parent

If there were an open source protocol you could use software emulator and pay nothing (if you don't care about security).

comment 11y ago · link · parent

What we really need is to stop using passwords.

Passwords are awful UX design solution. The users have to think of and remember some meaningless phrase to get the service they really needed. If you use easy password, your account can be hacked. If you use difficult password, you won't remember it in a week.

For some people remembering a password or login might be especially difficult.

You can use software to generate and remember passwords but all of them will be lost if you reformat your drive. Some of password managers are proprietary, non cross-platform and some would upload your passwords to the so called cloud so NSA can look at them too.

In any case your passwords can be easily compromised when your PC is infected or you use somebody's else device.

What we need is to get rid of this obsolete system. We need hardware authorisation key (that could look like a real key) that can be used for both registration and logging in and would generate and securely store private keys for all used services. Such device should use strong crypto, should not allow exporting private keys, update firmware or operate without user confirmation.

I think such kind of keys will appear sooner or later, they are superior to passwords and password managers and easy to use but I am not sure that they will be open source, cross platform, and backdoor-free unless we do something in advance.

comment 11y ago · link · parent

Such violation would be extremely hard to prove if the data were exported to US via secure channels.

comment 11y ago · link · parent

List of friends probably is not personal data. Personal data are things like real name, photo, phone number, address, credit card number.

comment 11y ago · link · parent

Hosting data locally in EU doesn't solve privacy problem because the servers are still operated by USA companies that can (and obviously will) share the data with NSA. The solution is to create more local services so the data never leave the country. It is also better economy-wise so the money stay in the country too.

comment 11y ago · link · parent

> But surely this treaty goes both ways?

No it doesn't de facto because the biggest (by user count) internet services are based and operated from USA, e.g. Google, Apple, Microsoft, Ebay, Youtube, Twitter, Uber etc. And it probably will not change in the future. So keeping current situation is good for USA and bad for everyone else.

It is better to have local services so the money and personal data don't go overseas and help local economy. The current situation is obviously wrong. There are customs duties that protect local companies and there is nothing to protect them in the internet. So we have USA taking over this new market. This should be changed.

China is an example of a country that has their own search engine, blogging platforms, video sharing sites and most of people prefer them over USA based websites.

> just completely sold out their citizen's privacy to a whole bunch foreign nations including a communist dictatorship.

No they did not because nobody uses services from those countries.

comment 11y ago · link · parent

The fragmentation might be good when we talk about pricacy. It gives motivation to create more local services and not depend on foreign ones.

China is good example of how that works: they have their own search engine, blog platforms, website analytics software, video sharing sites, IM software. So Chinese users do not send their data (and money) to USA and goverment can protect personal data from NSA while EU cannot.

Of course I do not approve other things like censorship in China but having local services is a good thing both economy-wise and privacy-wise.

comment 11y ago · link · parent

So you would prefer living in China without DMCA over a Western country?

comment 11y ago · link · parent

Military conquest doesn't work in a long run because enslaved people are very unmotivated. Economical conquest works much better. Natural resources are limited and not very profitable except for oil and gas.

comment 11y ago · link · parent

When robots will be able to replace most of the jobs (which is not going to happen soon) the production of goods will increase and we will probably be able to afford a basic income or something like that. That would be a good times.

comment 11y ago · link · parent

You can just use HTTPS for that.

comment 11y ago · link · parent

You can send POST to any server using a JS-submitted form so it doesn't introduce new attack vector.

comment 11y ago · link · parent

Different sites might use different versions of a library. Also the cache gets polluted very quickly because many sites add caching headers for every request and cache size is limited.

If average page size is 500 Kb and jquery size is 30 Kb gzipped you do not save much by hosting is on a CDN. What you get is more DNS requests, more downtime when that server fails or stalls and give out data about your users.

I think it is easier just to host everything on your own server.

comment 11y ago · link · parent

If you use proxy server that terminates HTTPS connections you have to trust it. There is nothing you can do.
1
181182183184185