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

They say but they could store photos by mistake. Especially if those are high-quality photos suitable for face recognition.

comment 7y ago · link · parent

It might be just a convenient way to collect photos for the database.

comment 7y ago · link · parent

I am not sure if passport photo is good enough for this. The mimimum requirement for face recognition is about 50 pixels between the eyes, and for reliable recognition it probably should be more. So the photo must come from somewhere else. For example, it could be taken when she passed the gates previous time.

comment 7y ago · link · parent

Here is a trick: change UA to Edge 15 on Windows (or something that's supported) and Skype will magically work (tested on Debian, audio call also works). I also recommend running this under a separate profile or user account so that Microsoft is unable to track you on other sites.

comment 7y ago · link · parent

To anyone thinking it was a good deed: please remember that later Google used similar techiniques against other browsers, like Opera. They showed a warning about an "unsupported browser" but if the user changed user-agent to Firefox or Chrome, everything worked. Another example is Web version of Skype which is very picky and doesn't work in many browsers, like mobile browsers, or slightly outdated Firefox.

For example, tomorrow Google can implement a DRM that would require a plugin that works on Windows, Android (with Google Play Services) or Mac, but not on Linux. After all, Linux is not a DRM-friendly system (allowing the user to hack anything is not what copyright holders want), and almost nobody uses it on desktop, so why bother supporting it? Or Google can use it against new, not yet very popular browser, to slow its adoption.

comment 7y ago · link · parent

And use a name and SSID of some well-known public WiFi network. Then make a captive portal to force the user open an attacker-controlled page in a browser.

comment 7y ago · link · parent

Cannot this vulnerability be exploited by creating a free wi-fi access point, opening a captive portal on user's device and attacking them from there? Another option is to wait until the victim requests something with HTTP (some ad networks still use it) and inject the payload into the traffic.

comment 7y ago · link · parent

Of course there are: user cannot block ads, cannot copy text, cannot change scale, robots cannot index the page, it will take more time to load and will work slower.

comment 7y ago · link · parent

By the way, why did Southern states import slaves from Africa instead of enslaving local people?

comment 7y ago · link · parent

I don't understand what is the problem. The victim didn't order those food and therefore should not pay for it.

comment 7y ago · link · parent

This can also indicate a problem in architecture: if the monitor can go away any time, you shouldn't store long time references to it and instead, for example, call a function to get current default monitor every time you want to do something. Or at least validate those references before usage.

comment 7y ago · link · parent

Wayland uses "objects" that can appear and disappear and graphic driver is unrelated here. For example, wayland has a "registry" and it sends notifications to clients when new objects appear there or disappear from it. I assume this unpredictability could become the problem for the author.

comment 7y ago · link · parent

In Russia polling stations staff are paid, though not much. Often they are picked from people working in public institutions like schools, hospitals, social aid centers. Theoretically they are appointed by political parties (so that each member represents different party) but this is mostly formal. For example, I saw a staff list where there were 3 people with same surname (probably relatives) at the same polling stations representing 3 different parties.

comment 7y ago · link · parent

800K polling places is a lot. In huge Russia, we have only about 90 000 of them. Indonesia has twice the population, but it is still a lot.

comment 7y ago · link · parent

> The vast majority of companies won't implement a security policy that strict

Maybe such policy should be the default; by default the employee should be able to run only applications installed (or approved) by their sysadmin, and applications are sandboxed like Android's ones.

In 80s when DOS was developed, there were no easy access to the Internet, no phishing letters and viruses, so there were no risk in running different executables. But today this outdated security model simply doesn't work. You allow employees to download and run executables and they open "yearly-report.doc.exe".

Maybe desktop system developers should look at iPhones and Androids. It is difficult to dowload and run a virus on an iPhone; and it doesn't require the user to deal with configuration settings - it works out of the box. Something similar could be done for desktop systems: a pre-approved catalog of known "good" software and a simple UI (that doesn't require special skills) to whitelist any other software.

Also, I think that applications and documents should look different; today you can assign an icon of Word document to an executable; running an executable is indistinguishable from opening a document; that's wrong. Maybe applications should be located only in special application directory and run from there.

comment 7y ago · link · parent

If Firefox doesn't trust elements with position: fixed, one could use position: absolute or even position: static (the default value) instead and move element when scrolling.

comment 7y ago · link · parent

This fake bar reminds me of a fake address bar that Google displays in an AMP viewer and efforts it takes to be able to replace URLs in an address bar instead of just letting the user visit the target site.

comment 7y ago · link · parent

AMSI, as I understand, is a way for an interpreter to cooperate with an antivirus and send code for a check. This means that if you have non-Microsoft interpreter, for example, Java or Python, then AMSI won't work (memory scanning could help though).

But what I didn't understand is why Microsoft allows users to run random JS code from Internet with full privileges. Why would anyone need to do this? This looks like a usecase made specifically for malware. If they didn't allow this, there would be no need for AMSI in the first place.

If you look at Android, there is no need for techologies like AMSI, because users cannot download and run scripts. And all applications are sandboxed and are run with minimal pivileges. Windows architecture was made for airgapped corporate environments of 80s, where there were no malware and it doesn't work in the modern era.

I wanted to write that there is no need for an antivirus on Android, but this is not true. As there are many malicious apps in Google Play and on the Internet, and users don't really understand the permission system, an antivirus that can detect malicious applications, is useful.

comment 7y ago · link · parent

Their app has compicated and clumsy UI that looks like it was made by programmers rather than by a designer and very high memory usage. Here is an example of memory usage from a small team with little volume of messages, reported by smem on Linux:

- 5 processes

- over 850M in swap

- over 310M PSS (Proportional set size which is the only indicator showing true memory usage)

This is over 1 Gb total. Despite high memory usage, they don't provide 32-bit version for Linux. It is surprising how such product can become profitable.

comment 7y ago · link · parent

Cannot this be a method to take money out from company? I.e. Slack as a company pays $50M/year and Amazon pays back 20% of this as a "reward"?

At such scale it should be easier to have its own infrastructure rather than pay Amazon's overpriced bills.

comment 7y ago · link · parent

Shell script also has dependencies: specific version of shell and CLI utilities. Shell script is a good thing when you need to write something quickly with hacks but it is not a good foundation for init system or build system. They easily break if you redefine variables like IFS, add command aliases or use names with spaces or special characters.

comment 7y ago · link · parent

Isn't this how capitalism works? The riches buy out or grab all the valuable assets and everyone else has no choice but to work for them.

comment 7y ago · link · parent

Although this requirement has been in effect for 3 years, foreign services ingore it. For example, recently, Facebook was fined for an amount equivalent to about 50 dollars for not providing information about users' data localization and now has 9 more months to solve this problem [1]. In Facebook's case it is easier to pay the fine than transfer the data into Russia.

LinkedIn is blocked under the same law though.

Telegram is officially blocked in Russia (for not providing access to users' messages), but it works without any special setup.

> That way the data can be retrieved by the government and used to de-anonymize users.

That was probably the intention of lawmakers but there is no requirement to keep the data unencrypted.

[1] https://www.apnews.com/5db72dfa04e401ffec784c8a18ce9b7a

comment 7y ago · link · parent

Exactly. Nobody got hurt, so a fine is enough. To stop him from doing this again, there could be a harsher punishment for repeated offence.

comment 7y ago · link · parent

Because it has an USB socket.

comment 7y ago · link · parent

Actually there is theft, for example, I watched a TV program about shoplifting and they caught several people, like a company of school girls or an old woman.

The bicyles must be registered in Tokyo if I remember correctly.

Also, they have unmanned selling stalls, usually in the countryside, where farmers sell fruits and vegetables [1]

[1] http://abritishprofinjapan.blogspot.com/2017/07/unmanned-veg...

comment 7y ago · link · parent

Because radios in those days were made properly, without planned obsolescence!

comment 7y ago · link · parent

Because you might be a police agent trying to make them admit that they are knowingly selling something illegal.

comment 7y ago · link · parent

Maybe the student thought that it was a normal flash drive and tried to find a working computer that can open it?

Also, isn't ten years too much for just destroying a property? It's not like anyone got hurt.

comment 7y ago · link · parent

I think they won't comply because it puts them into an advantegeous position compared to local sites who will have to do all this paperwork.
1
136137138
185