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

IMEI allows tracking the phone if the user changes SIM card, so it is harmful. It is also available to any application to identify the phone. That is why it should be randomly changed.

As for recovering stolen phones, nobody does this. Also, it is possible that criminals know the ways to modify it anyway. As I am aware, there are proprietary software for unlocking Android phones locked with theft prevention. This software can be rent on a pay-per-hour basis. Maybe they have software for IMEI editing as well. And even if changing IMEI is not possible, the criminals will rather sell the stolen phone for parts, than return to the owner.

In Russia there are plans to create an "IMEI database", so that when you buy a SIM card, you must specify the IMEI of the phone it will be used in.

> Much as I'd prefer otherwise, a given phone probably maps pretty closely with an individual or small group (family, household, business location / work crew, etc.).

If you buy a SIM card without a passport, pay with cash and use it for Internet access, it is mostly anonymous.

comment 3mo ago · link · parent

In C/C++ just adding two integers can lead to undefined behaviour. Your expectations are too high.

comment 3mo ago · link · parent

Is "defer" a good pattern? Aren't constructors/destructor pairs, like in C++/Rust, or "with" blocks in Python, better, because you cannot forget to call the destructor. I the first code example in the article, it is easy to omit "defer" and the compiler won't notice.

comment 3mo ago · link · parent

It has a "definition" for wheel in SVG inside <defs>, but did not use it in the picture.

comment 3mo ago · link · parent

This is why you should use open-source firmware where there is no registration and customer IDs. Also, the software should allow overwrite IMEI to a random value daily.

> Boardman believed the meeting would finally address both issues.

> Apple fired him the next day.

This is a reminder that being honest with a company doesn't benefit you.

comment 3mo ago · link · parent

It just needs some minor cleaning and renovation.

comment 3mo ago · link · parent

Don't you think that at the 1900s photo the city looks better? Look how wide were the sidewalks and how little cars were there.

Also, I initially thought that large store building was not historical, but a modern one because its style doesn't look classical and rather as a parody to the classical buildings. I was surprised that it is more than 100 years old.

Also, small buildings sandwitched between large ones like that look cute.

comment 3mo ago · link · parent

Then non-Chinese labs can reopen, or they could offer lower prices right now not waiting for this event.

But imagine if Chinese labs would lose. Then there will be no open models, and the prices for closed models would be raised to the maximum.

comment 3mo ago · link · parent

The problem that apps are not games. For example, a messaging app might not allow to add contacts or subscribe to channels (blogs) without parent permission in "child mode", and have no restrictions in "adult mode". And Youtube might hide some videos and topics in "child mode". Obviously, you could make several versions for the app, but that is code duplication and nobody likes it.

comment 3mo ago · link · parent

Probably parental control do not bring any profit (they actually add responsibilities, like restriction on ads, collection of data) so the large companies sabotage them by making them too complicated or broken?

comment 3mo ago · link · parent

There is nothing wrong if a teenager wants to know more about taxes. Although exposure to tax rates might cause a slight emotional trauma.

comment 3mo ago · link · parent

There should be a single checkbox (when setting up the phone), and "configure" button hidden deep in the settings for the minority. Most people do not like complicated UIs and unnecessary work.

comment 3mo ago · link · parent

No, you are handling the boring work to someone else. Most non-geek people, I assume, are not interesting in manually configuring the website white lists, so there should be a single "child mode" checkbox for 99% of population and "configure" for the rest of us.

comment 3mo ago · link · parent

The header must confirm that site is age-appropriate. No header should be interpreted as "adults only". This is the safest option, and it doesn't require 99% of webmasters to do anything which is in my opinion better than any other proposal.

comment 3mo ago · link · parent

1) When buying a device, store employee could program user's age range.

2) When configuring a device, parent may toggle "child mode" checkbox to switch the device into "child mode", protected with a password or fingerprint.

3) The tokens, containing a private key (same for all tokens) can be sold in liquor stores to adults only. This token could confirm the age without a passport.

It is interesting that is US (unless I am wrong) you can vote and change the government without a selfie and a passport, but you need them to use Reddit or Discord.

> but will require better/easier/free tools and education to help lock down different categories of harm.

There should be a single big "child mode" checkbox for normal people and "configure" button for 1% of geeks. Most people do not need tools and have no interest in configuring allowed categories.

> Everything I've seen is ineffective or can be compromised

Selfie/passport also can be compromised by asking a friend/older brother/parents to verify your account. Especially if you have a poor adult friend with alcoholic dependency in dire need of a new portion.

comment 3mo ago · link · parent

In my opinion, Google makes the UI too complicated and geeky which means parents are less likely to use it. Furthermore, they apply partial solution instead of complete architecture. In the article, the app must actively ask for age which means apps not asking the age, like Telegram still would allow access to inappropriate content.

There should be a single checkbox, "parent mode", which applies government-approved configuration, and the minority who bother, can manually edit it further. Many people are too lazy or not good with computers so the UI should be simple and not what is shown in the screenshots.

There is no need to ask the permission to get age information.

The parent mode should work on "white list" principle:

- only white-listed apps may be installed (list provided by government, parent may edit)

- in those apps ("age-aware apps"), only age-appropriate content is available. In a messenger, only parent- or school-approved contacts may be added.

- the browser refuses to open any web page not having a government-approved signature in HTTP headers (geek minority can add their signatures to the white list). Adult sites are not allowed to have such a signature.

- there should not be multiple age gradations, 3 is enough (adult, teenager, tiny child).

So all parents or store employee should do is to tick the checkbox and set a password or fingerprint for management.

It wouldn't solve the problem completely because there are many irresponsible parents.

comment 3mo ago · link · parent

Turing test passed, acts indistinguishable from a human, although the scale of loss is not human-like yet.

comment 3mo ago · link · parent

In the article you refer to, I see no mention of asking user's permission. However, I remember, when using an old version of Android, there indeed was a popup nagging me to allow sharing location data with Google every time I enabled GPS. Very annoying, makes you want to never enable GPS in the first place.

Regarding the government, the problem is that many people do not fully understand the mechanism of collecting the data. I remember the case when members of US military disclosed the location of secret objects through fitness tracker app. And they were probably smarter than average smartphone user. Obviously it would be better if enabling GPS required an approval from their commander.

comment 3mo ago · link · parent

In some areas GPS is spoofed and the displayed location is wrong. If, for example, a "smart" car gets a task from its manufacturer to film some secret object, it would fail if it relied only on GPS and did not use cell towers and WiFi points for determining its location. So knowing their location determines whether the mission would fail or succeed. So foreign devices should not be allowed to collect such information.

comment 3mo ago · link · parent

Good products do not need much advertising. For example, when buying DRAM, I compare the specification and prices and do not look at the advertisement.

comment 3mo ago · link · parent

They should ask the permission from device owner and local government before collecting the data.

comment 3mo ago · link · parent

Should Google ask permission from the device owner, and from the local government before collecting the data? I heard a certain foreign mobile app was banned in US for doing less than that.

comment 3mo ago · link · parent

I do not see problems with fake ad clicks and have no sympathy for ad companies.

Also pre-installed adware is not a surprise, I found adware in the official firmware image of a certain Chinese tablet.

What worries me much more is backdoors from the foreign companies and governments that can be pre-installed at the factory to collect intelligence information. For example, I became aware that a certain maker of a popular mobile OS was collecting the cell tower IDs and WiFi access point identifiers along with GPS coordinates of a device. Obviously they collect this information to be able to guide missiles and drones when GPS signal is jammed (GPS is very low power and easy to jam). This is not acceptable.

How can we prevent this? I think, for every imported device having a CPU and Internet connectivity:

- the user must be able to re-flash firmware with their own code.

- the local government must have access to the full source code and be able to search for vulnerabilities or backdoors, including using AI tools. Found vulnerabilities are considered a reward and may be used against countries not doing inspections. No access - no import permission.

- any telemetry or data collection, or updates must be opt-in only and disabled by default.

- any telemetry or updates must go through a server controlled by the local government, in unencrypted form, to detect attempts to collect intelligence information or install malicious update.

Sadly our government instead only demands that manufacturers pre-install their closed-source software on all imported devices and that's all.

comment 3mo ago · link · parent

With in-person voting you can see the voters and see that they are real people. With electronic voting, all you see is records in a blockchain, how can you be sure that they are cast by humans and not an AI-powered script? Or how can you be sure that when you click a button in a voting app, the vote is not changed in the process and your choice not reported to the government? Electronic voting systems are typically closed-source and server infrastructure not available for inspection.

Also one doesn't need to be a programmer to monitor paper voting.

Also, I do not see how blockchain can be used here. Are you suggesting that anyone, including foreign governments, can launch a node and "mine" votes? And whoever has more computing power, has more votes, like in Bitcoin?

comment 3mo ago · link · parent

The model probably deduced from reading articles on politics and business that fair play doesn't get you far.

comment 3mo ago · link · parent

They definitely YOLO'd when configured a sandbox and Kubernetes.

comment 3mo ago · link · parent

Jinja probably was not initially made with sandboxing in mind, and stuffing it after is complicated, so I would not rely on it.
1
131415
185