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

Also the image from the retina is higher quality compared to primitive cameras.

comment 1y ago · link · parent

Their hardware has more memory, compute capability and throughput.

comment 1y ago · link · parent

> As another example, if Tesla sells Model 3s for $50,000 and BYD comes in with a similar spec car priced at $25,000, then putting a 100% tariff on it will drive BYD's effective price up to $50,000 allowing Tesla to compete without undercutting or outright selling at a loss.

Doesn't that mean that American will have to pay $50 000 for a car that is worth $25 000? While people in other countries will be able to buy cars cheaper, buy more of them and maybe it somehow improves their life quality.

comment 1y ago · link · parent

Liberal governments also implement unpleasant decisions, for example: paying subsidies for solar panels, electric vehicles, banning good old cheap lightbulbs, banning cheap plastic bags, cheap cars etc.

comment 2y ago · link · parent

It means in your country people trust companies more than in mine. We use pre-paid system and optionally you can connect a card account for automatic billing (but the company cannot charge a card if there is no money left).

comment 2y ago · link · parent

Yes it is not ethical to check for updates if the user didn't agree for that.

comment 2y ago · link · parent

I can run a package manager command for update manually when I need it. Or I can enable periodic update checks. Computer should do what I order, so sending telemetry without my permission is not ok.

In Linux you (or package manager) typically don't send requests for an update; you download a package list, see which packages are updated and download and install them. The request should not include any identifiers like installation id or software version. You can also download from a mirror in a selected country or even self-hosted mirror (which is useful for some companies).

This is what distinguishes open software from commercial software: you can choose a provider for network-based services or become a provider yourself.

> By painting telemetry as bad

Bad is doing things with user's computer or data without explicit permission/request to do it.

comment 2y ago · link · parent

You shut down their instances and keep the data for a week and delete it if they don't pay promptly. It's not very profitable though.

comment 2y ago · link · parent

It seems that automatic billing is something that cloud providers invented. For example, home Internet providers or mobile providers usually use prepaid plans, where they simply stop the service once you ran out of money (but you can connect your card account if you trust them). So you cannot get charged arbitrary amount for home Internet, and for mobile unless you travel.

comment 2y ago · link · parent

Let's try another analogy, someone breaks into your computer and copies all of its content, including saved passwords in an unlikely case you save them, and installs a keylogger. It is not harmful by itself, right?

comment 2y ago · link · parent

> If you think you are harmed by this, please explain how.

I expect my computer to do what I order to do and not to do shady things behind my back. Imagine if you were a business owner and your new hire would sell your commercial secrets to competitors. Would you like it?

As for improving software, users should contribute voluntarily, not mandatory otherwise it looks like a form of non-monetary tax.

comment 2y ago · link · parent

I use Linux exactly because the bar is higher. If it will start behaving like commercial systems then it will be easier just to install Windows and move on.

comment 2y ago · link · parent

That is why ethical distributions do not check for updates without user's permission.

comment 2y ago · link · parent

All telemetry that is enabled by default and requires action/configuration to disable is equally evil, no matter if it is collected by a commercial company or by non-commercial company.

Telemetry must be opt-in only.

comment 2y ago · link · parent

Look from the good side: you will be much healthier without those potato chips.

Also, from my experience, prices never go down.

comment 2y ago · link · parent

> but there are plenty of reasons this data could help them make Majaro better

Then they should ask for a permission first.

> Telemetry could help find performance issues though

You don't need to have telemetry enabled for everyone, just find volunteers who are interested in contributing data, or make a performance test app and let users submit the report.

Also, as I understand, they don't collect framerate in current version.

comment 2y ago · link · parent

> we need at least some data about how Manjaro is being used

No, you don't. It is my computer, not yours.

comment 2y ago · link · parent

This is so user-hostile. I do not want a spyware in an OS. All telemetry should be opt-in and voluntary.

Also, what would be the use of the telemetry? Find a reason to close a bug report with WONTFIX?

comment 2y ago · link · parent

It seems to use hand-written code for SIMD. Cannot one use normal C code using loops so that compiler optimizes it into SIMD? I know that gcc can convert some loops into SIMD code.

comment 2y ago · link · parent

The voice sounds a little bit distorted, and there is often a noise in the background (especially noticeable when this noise disappears when the voice pauses). I wonder, is it model limitations or is it the problem with quality of training data?

comment 2y ago · link · parent

Both WebGL and WebGPU should be locked behind permission because they allow fingerprinting user's hardware (also they provide the name of user's graphic card). And because they expose your GPU drivers to the whole world.

comment 2y ago · link · parent

Sorry if it is a stupid idea, but cannot you log all messages to a separate file for each test (or attach test id to the messages)? Then if the test fails, you can see where the error occured.

comment 2y ago · link · parent

Python might be not great on using CPU time, but is saves a lot of human time for writing the code compared to "fast" languages.

comment 2y ago · link · parent

In my experience, memory profilers that show line or function which allocated memory, are not very useful. What I usually want instead is to get a graph of all objects in memory with their size and path from root, to see who is using most memory. To see for example, that there is some cache or log that is never cleared.

For PHP and for browser's developer tools there is such kind of profiler. But judging by screenshots, this profiler cannot produce such a graph. So its usability to solve memory leak/high consumption issues is limited.

To summarize, what I usually need is not a line number, but a path to objects using/holding most memory.

comment 2y ago · link · parent

By chance, don't you know why we cannot have electric wheelchair for everyone who needs it? Manual wheelchair seems to be not very convenient and to require lot of effort to use it.

comment 2y ago · link · parent

As I understand, it doesn't even have a motor? Why cannot we have an electric wheelchair for everyone today? How do you climb uphill (or from an underground passage) without a motor?

Also, I don't know anything bout wheelchairs but googling shows that there are Chinese electric wheelchairs below $1000 (don't know anything about their quality).

comment 2y ago · link · parent

It would be better if the software could just scan the receipt. And if you live in the country with electronic receipts (like Russia) then you can get them to your email in electronic form or find online by identifiers on a paper receipt.

comment 2y ago · link · parent

And with numbers you don't need to remember anything, especially if they are release years.

comment 2y ago · link · parent

Regarding emojis: I believe they should be monochrome in console. The problem is that when you have text with emojis they stand out too much and distract you. So they should be monochrome, not so large and not so standing out.
1
656667
185