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

When sites collect phone numbers to "find friends", there is always a chance that they will be leaked. And even worse, someone having enough resources will check all existing phone numbers and get a mapping between numbers and accounts.

This reminds me of a story posted on Russian site [1], where researchers managed to bypass Instagram's protection and find accounts by phone number. Sadly, I cannot confirm described method because their site requires a Google Account to find Instagram account by phone number. But if it's true it shows that even Facebook and thousands of its engineers cannot protect their users' data.

[1] https://translate.google.com/translate?sl=ru&tl=en&u=https%3...

comment 6y ago · link · parent

As I understood, when viewed from Ukraine, Western maps show Crimea as a part of Ukraine.

comment 6y ago · link · parent

The good things in Chinese smartphones are their price and that they sometimes have clean Android version without bloatware. Why do vendors like Samsung make their ugly buggy shells and pre-install software I don't need? Do they think they have better designers and developers that Google has? They are horribly wrong. Stop pretending that you are making something unique and maybe I will consider buying a non-chinese phone next time.

comment 6y ago · link · parent

That means that American companies like Apple have admitted that Crimea is a part of Russia, not just an occupied territory of a foreign country? Despite the fact that there are no international treaties that would confirm transferring this territory to Russia?

comment 6y ago · link · parent

iPhones are very expensive (new one costs more that average monthly salary), but very popular in Russia.

comment 6y ago · link · parent

Unlike US court, Russian government or courts cannot order Apple or Google to disclose or remove information (ok, they can, but Google simply ignores their lawful requests). So the situation is non-symmetric.

Although I am against this law because probably it is there to allow spying for Russian citizens and prevent them from using secure messengers like Telegram or Tox.

comment 6y ago · link · parent

That's right. Apple and Android firmware is already written by US companies complying with US laws and US court orders. They will do everything court orders so there is no need for an additional law.

And, by coincidence, companies that sell equipment with non-US firmware, are not very welcome in the country.

comment 6y ago · link · parent

State attackers can produce as many valid identification documents as they need.

comment 6y ago · link · parent

Windows 3.1 apps are somewhat cross-platform because they can be run with Wine on Linux.

comment 6y ago · link · parent

Docker was not made for security, and this is explicitly documented in its manual.

Also, you don't need VM, just playing with namespaces, chroots and syscall filters should be enough. VMs are very ineffective and complicated.

comment 6y ago · link · parent

But it disables per-site zoom which is inconvenient.

comment 6y ago · link · parent

Cookies are isolated in private mode. Fingerprint and IP address remain the same.

comment 6y ago · link · parent

> If BMW sells a car in the US

Aren't there import tariffs and sales tax in US?

comment 6y ago · link · parent

She doesn't live in the city because according to Google Maps Durham, NC is 15 km across and you can walk to almost any part of the city in less than 2 hours.

comment 6y ago · link · parent

But if she and her boyfriend work full time even for $9.50/hr, they still earn 9.50 x 320 = $3040/month and that's not a little sum. With such income, do they really have to live in some rural area with poor public transit and job choice? Something doesn't add up here.

comment 6y ago · link · parent

Why do you think that people without skills will have better life in developing countries? The salaries there are even lower, for example, in Russia hourly rate in McDonalds is $2-4 depending on the city. The only kind of housing the employee can afford is a room in a shared apartment or sharing a room with a friend or living with parents for free.

comment 6y ago · link · parent

Poor cross-browser compatibility. You don't need flexbox and new CSS units to display a page with a single button. Javascript code doesn't handle connection errors and disconnects. The app by itself is completely useless and doesn't use a database or something to persist state, and cannot be used as a base for writing a real app. Node is a poor choice because it forces you to write asynchronous code and it is very inconvenient. Also, it is easy to leak memory in Node and I am not sure whether there are memory profilers for Node with GUI.

Also the article doesn't give any explanations, so the only thing it teaches is how to copy the code into the editor.

comment 6y ago · link · parent

> The bus stops running at 10 p.m. on Sunday, but McDonald's asked me to stay until close at 1 a.m. They asked me to stay because they need my help. I know it’s going to be rough to find a way home, but I need the money so I said yes.

Cannot she ask them to pay for a taxi then? Also I didn't understand why she lives so far away from work.

comment 6y ago · link · parent

Yes, but if we will run every application under different user (which is a sane idea, Android does it and I use it for several apps) then we come back to the problem of not allowing program X to reconfigure a printer. So I think that we still need a confirmation dialog, but without a password.

comment 6y ago · link · parent

Selinux cannot show a popup asking whether you allow program X to do Y or whether you want to deceive it and provide fake data. So it is completely useless by itself.

comment 6y ago · link · parent

Yes because otherwise one user could configure a fake printer and see what others are printing. Although for one-user system this doesn't make much sense.

comment 6y ago · link · parent

Why should Python program have access to SSH keys? Popular Linux distributions, unlike proprietary systems like Android or iOs, cannot protect user's data from malicious programs run by the user.

Also, in popular Linux distributions programs can read unique hardware identifiers like MAC address or HDD serial number, read browser's history and cookies. These valuable data are not protected by Linux.

comment 6y ago · link · parent

Those who were for keeping USSR - were they mostly from Russia or from Republics? Because it might look like metropoly citizens voting for keeping colonies.

comment 6y ago · link · parent

But people might be deceived into publishing their information. For example, social networks motivate them to do it by saying things like "make it easier for your friends to find you" or "share photos with your friends" and not saying the truth that the information will be accessible to criminals, marketing companies, corrupt governments, and weird mentally ill people from anonymous Internet forums.

comment 6y ago · link · parent

Whom are you calling "an enemy" here? Is there a war between US and that "enemy" now?

comment 6y ago · link · parent

Maybe pitch in rap is for intonation rather than for melody?

comment 6y ago · link · parent

Yes, but this connection will be restricted to connect only to Google's cloud.

comment 6y ago · link · parent

You are discussing here how to isolate the TV into a separate firewalled network, but for an average consumer this is too difficult. What an average consumer wants is to watch Youtube and Netflix and not bother about settings. If I was a TV manufacturer I would install a video camera and microphone and record everything and people would still buy my TVs.

comment 7y ago · link · parent

They are advertrising use of Web technologies as something good, but it's the opposite. That Python web server will be a bottleneck because it's throughtput cannot even be compared to that of a hardware chip.

It doesn't make sense to rent a "cloud" FPGA because it is ineffective. You get a vendor-locked solution with poor performance written in slow Python and Javascript. The code is on Github which means it will be buggy and always in "under construction" state (try using desktop Linux to understand what it means). As the chip is in the cloud, cloud operator can see and steal your secrets. The latency to send data to the cloud is very high. You cannot debug the chip and cannot connect a logic analyzer to it. You cannot make a hardware product with "cloud" chip. You cannot connect sensors to it.

This is only usable as a toy to play with FPGA from browser. You cannot use it to control a CNC machine or video surveillance system, for example. You cannot make a guitar pedal (that someone have mentioned in comments below) with this.

What developers need is cheap powerful FPGAs that they can buy and connect directly into an USB port, not a toy in the cloud.

comment 7y ago · link · parent

So if these companies shut down, where will their underpaid workers go?
1
120121122
185