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

Isn't Google and Microsoft doing the same? As far as I remember, Google Maps is almost secretly collecting user location data and sending it home.

A good solution would be to fix Android and don't let any app access phone number information, any hardware identifiers, location. But instead we see posts like this suggesting to ban TokTok instead. Why?

comment 6y ago · link · parent

What if you were logged into Facebook and checkout page contained a script that sent data to Facebook?

comment 6y ago · link · parent

A website cannot silently read a phone number and list of nearby WiFi access points for geolocation, scan local drive for interesting files, show annoying notifications every hour to return user back to the app.

comment 6y ago · link · parent

It is much more clever just to use a for .. in loop and write the actions sequentially rather than as a set of anonymous functions. Writing software should not be a competition about who knows more new features.

comment 6y ago · link · parent

I always forget the order of arguments and what they mean. For me it is an awful function that should not exist.

comment 6y ago · link · parent

What an awful idea:

- first, it is not obvious whether an attribute affects something or not. How are you supposed to know what this or that attribute does?

- second, if you made a typo, there is no error messages

- third, no there is no namespaces and attributes can conflict with attributes from other libraries

What's wrong with good old inline event handlers like onclick? With them you can just click a called function name and see its source.

comment 6y ago · link · parent

The hardware is fine but the price... Isn't that too much for a toy?

comment 6y ago · link · parent

But those apps were written for specific resolution and you (probably) cannot make them render themselves with higher resolution. And MacOS unlike Windows simply doesn't support running old apps.

comment 6y ago · link · parent

I think it doesn't make much sense to protect it because in popular Linux distributions an unprivileged user can access such identifiers as MAC addresses of network interfaces, HDD serial numbers etc.

> If a stable unique identifier that is tied to the machine is needed for some application,

Ideally there should be no stable identifiers accessible to untrusted applications.

comment 6y ago · link · parent

By the way, if you use Chrome and Google as a default search engine, Google gets a signal from your browser (with cookies) every time you open a new tab. You can check it with DevTools.

comment 6y ago · link · parent

Maybe you can upload lists several times from same account? Then you don't need 10M accounts.

comment 6y ago · link · parent

That's not the only way Twitter uses to collect phone numbers. It can arbitrarily block your account and require to confirm a phone number to unblock it (under excuse of "better security"). How disclosing your phone number helps being safer I don't understand.

Now those collected and leaked phone numbers will be available not only to Twitter and US government but to anyone wishing to buy them from hackers.

comment 6y ago · link · parent

Would not it be easier just to use 32-bit x86 arch instead of 64-bit? Pointer compression looks like a solution for a problem that should not exist in the first place. I saw the arguments against this in [1] but they look very weak ("We cannot use 32-bit arch because Chrome has switched to 64-bit and because there is an OS nobody is using that doesn't allow this").

Why not make 64-bit Chromium for those who has over 16 Gb of RAM and 32-bit for normal people?

[1] https://docs.google.com/document/d/10qh2-b4C5OtSg-xLwyZpEI5Z...

comment 6y ago · link · parent

You might not like China's internal policy but US foreign policy is not nice too.

comment 6y ago · link · parent

That's right. Almost every weapon, especially nuclear, works best against civilians rather than well trained and well hidden soldiers.

And as far as I remember, in previous war nuclear weapon was used against civilians. Targeting large cities with high population density would be the most effective usage.

comment 6y ago · link · parent

Signal is no better from Telegram because it doesn't allow anonymous usage without a phone number. And Telegram has relatively lightweight native non-Electron apps.

comment 6y ago · link · parent

It might be OK for one app to allow such content and it might be not OK for Telegram. Because Telegram earlier had issues with Apple [1] and if they violate Apple's rules again it would become a convenient excuse to remove Telegram from App Store.

You are trying to find a reasoning in Apple's decisions, but isn't it easier to assume that not all apps are equally welcome in a private app store?

[1] https://www.theverge.com/2018/5/31/17412396/telegram-apple-a...

comment 6y ago · link · parent

Because Telegram like many mobile apps, doesn't want anonymous users because you cannot sell them to advertisers.

comment 6y ago · link · parent

Telegram also has native, non-Electron apps, for many platforms, could it be an advantage? It also has convenient public chats and "channels" (microblogs). It has support for proxy servers, allows sharing proxy servers and has traffic obfuscation which Signal (I assume) doesn't have.

But for me Telegram and Signal are equally insecure because they don't allow anonymous accounts without a phone number. Using phone number for authentication is insecure because it is very easy to intercept SMS messages, especially if you are a telecom or the government. You better avoid using such messengers and not support them unless you want to provide your ID in future for registration on any website.

comment 6y ago · link · parent

If Apple were privacy-oriented then they would at least add a big red warning about reversible encryption when turning on cloud backups.

comment 6y ago · link · parent

I think there might be misunderstanding about what exactly is "encrypted" and how. The comment 3 or 4 levels above says:

> The same "vulnerability" of being able to respond to legal requests for iCloud data that exists in China exists everywhere else in the world.

And an article on Apple's site [1] confirms that most data in the cloud are "encrypted", but without E2E encryption, possibly in a reversible way. That article also notes that while messages are E2E encrypted, a cloud backup might contain a key to decrypt them:

> Messages in iCloud also uses end-to-end encryption. If you have iCloud Backup turned on, your backup includes a copy of the key protecting your Messages. This ensures you can recover your Messages if you lose access to iCloud Keychain and your trusted devices.

So it is possible that the data on the phone are encrypted, the data in transit are encrypted, the data in the cloud are encrypted for every user in the world, but the cloud operator has the encryption keys for some of the encrypted data: Chinese operator for data of Chinese users and Apple for everyone else. This doesn't contradict neither with Apple's statement nor with the article nor with that comment above.

[1] https://support.apple.com/en-us/HT202303

comment 6y ago · link · parent

So it seems like the data are encrypted both in transit and on the server and it means that nobody is able to get unencrypted data even if they can intercept the traffic or access the server.

comment 6y ago · link · parent

Nice trick. The big table in the beginning has "Yes" almost everywhere but in fact the data are accessible by Apple. And they don't even have warnings like "Your data might be decrypted and given to law enforcement agencies". Absolutely deceiving article although Apple hasn't written a single untrue word.

comment 6y ago · link · parent

The description says:

> I built a programmable 8-bit computer from scratch on breadboards using only simple logic gates.

Sorry, but this is slightly incorrect. First, he is using ready-made adders in ALU which are not "simple logic gates", second he seems to use ROM in control logic which replaces tens or hundreds of logic gates one has to use of they don't have a ROM and a programmer.

If I was building a CPU, I would make 1-bit ALU and shift data bit-by-bit to save ICs because 1-bit ALU requires 4-5 simple ICs and 8-bit ALU would require 8 times more and that's too much.

Next, I would use 4-bit registers instead of 8-bit because 8-bit register requires 2 ICs and 4-bit register can be implemented with one IC. Also it allows to reduce the number of wires and amount of work to connect them. This makes CPU slower though because it has to access memory twice as often.

Also I was surprised to read in comments that in some universities students are designing CPUs as a practical project. Must be interesting.

comment 6y ago · link · parent

In case with Samsung, EU authorities can forbid selling their products in EU.

comment 6y ago · link · parent

When recording audio, it is necessary to filter our frequencies above Nyquist frequency to prevent aliasing. It is easier to make a good filter when you have Nyquist freq. at 48 kHz rather than try to implement a filter that can silence everything above 24 kHz and doesn't touch anything below 20 kHz. Or am I wrong here?

comment 6y ago · link · parent

Text looks normal in Reader View in Firefox.

comment 6y ago · link · parent

In Russia you can pay several roubles (which you can deposit using bitcoin) to a service providing phone numbers for registration. Such services are usually used by spammers (sorry, I mean marketers and SMM people) to create multiple accounts on social networks, but can be used to protect one's privacy too.

Sadly, not all services are good. Many of them block SMS from banks, loan firms and payment systems and I don't want to support them.

comment 6y ago · link · parent

When I had a Twitter account, I had to provide a fake number to continue using it, but I was active in different political discussions and that might be the reason. Twitter didn't explain why it required a phone number, except for saying it was necessary for security or something like this.

Also, Microsoft will require a phone number once you try to log into an Outlook email account from other IP address than you have signed up with. Again, it says the number is necessary to "secure an account from hackers" or something like this.

comment 6y ago · link · parent

Also, if Twitter considers your behaviour "suspicious" (or if someone has reported you), it will require a phone number, if I remember correctly.
1
119120121
185