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

Instead of NFC, one can use Bluetooth that is present in most phones.

comment 7y ago · link · parent

> For some reason, my alarm clock requires that I install an app on my phone.

It is weird that a person working in IT pretends not to know why the clock reqiures an app. Of course to vacuum personal information, geolocation and hardware identifiers of all devices nearby.

comment 7y ago · link · parent

The prices in USA look exorbitant. If a worker works full year for minimum wage, they earn $7.25 * 8 * 253 = $14674. Such worker will have to work for 6 years and 9 months to pay tuition costs for 1 year, if we assume that they don't have to pay taxes, buy food, visit a doctor and pay the rent.

A house may cost several hundred thousands dollars or higher. If that worker has paid for a university, no way they will be able to buy a house in their remaining lifespan.

Who is going to study in this university? Billionaires' kids?

comment 7y ago · link · parent

It is partly written in Python, as well as plugins.

comment 7y ago · link · parent

I would rather use smem, that calculates PSS (Potential Set Size) that properly accounts for pages shared between processes and shows swap usage per process. 1 Gb seems realistic though.

comment 7y ago · link · parent

These numbers are too low. I assume that this task manager might show only private pages and not account shared pages with code (and the code size in Chrome is close to 100 Mb). Anyway, the number looks a bit unrealistic. Or maybe it doesn't count swap.

I used Electron apps on Linux and typically memory usage doesn't get below 250-500 Mb.

Here is an example for Skype: 220 Mb of swap + 388 Mb of PSS (Proportional set size).

comment 7y ago · link · parent

Why phone cameras? Credit cards. Mobile phones. Street cameras with face recognition. Security cameras. Do you know that many private-owned cameras are connected to a "cloud" (to save money on buying a video server) and cloud owners could see streams from all of them?

comment 7y ago · link · parent

You can get better fingerprints from WebGL because it provides information about your video card. Within a year I think I saw the site that really needed WebGL only once. It is almost useless feature that is suited only for fingerprinting. You better go to your Firefox settings and disable it right now to prevent tracking.

To prevent tracking using Canvas it would be good if there was a single drawing library for all browsers or at least they used only internal code and didn't rely on OS or hardware acceleration.

Regarding Audio API, it also would be nice if it provided less details about audio hardware or OS audio stack.

comment 7y ago · link · parent

I don't argue that it's a great technology, but some of the neighbour commenters wrote things like "perfect", and to me it doesn't sound like "perfect" yet.

For example, in the beginning, if you listen to the phrase "from the office ...", in original recording it sounds smooth, like a single phrase (and the voice is warm and pleasant), but in the separated track it sounds like it is synthesized from pieces that are not properly connected, like vocaloid songs. It sounds little harsher. Transitions sound unnatural. And the phrase "heya Tom" in the separated track is split into "heya" and "Tom" with some unnatural sound between (or maybe in the beginning of "Tom"). It is like transitions you can hear in vocaloid tracks. Or the kind of artifacts you get if you over-compress an MP3 file.

And "it's good to see you" part also sounds robotic.

Maybe it's losing some of harmonics, but in a different way for different syllables and they don't sound like a single phrase anymore.

comment 7y ago · link · parent

While it's a great technology, the result sounds somewhat robotic. On the original recording the voice sounds soft, but after separation it sounds like it is synthesized or passed through a vocoder, something is missing. The voice contains pieces of strumming sound. Guitar also sounds "blurred", as if someone cut an object from the picture and blurred the cut to make it less visible. Clap sound is distorted, on the original recording it sounds the same, but after separation it sounds different every time, as if it was filtered or compressed with low bitrate.

It is amazing how the ear manages to distinguish all the sounds without distortion.

comment 7y ago · link · parent

Strict laws can help to fix people who don't want to play by the rules.

comment 7y ago · link · parent

You don't like censorship but you want US government to decide what should a certain foreign app show to users?

comment 7y ago · link · parent

I am from Russia (sorry, not China) and I am sure that nothing bad happens to me if I write that Trump is a liar (although I don't think anything bad of him).

Also, we are allowed to post photos with breasts (and much more) on our social network Vkontakte.

Now try to acquire a popular social media app in USA.

comment 7y ago · link · parent

What about freedom of speech? Or it doesn't apply to Chinese mobile apps?

comment 7y ago · link · parent

> They said they were concerned ... whether China censors content seen by U.S. users. They also suggested TikTok could be targeted by foreign influence campaigns.

That reminds me of Soviet Union. Government choosing what kind of propaganda citizens should watch.

> He cited questions about why TikTok had “only had a few videos of the Hong Kong protests that have been dominating international headlines for months.”

Does politburo^W democratic government has a right to decide that a privately owned app must show Honkong protest videos? If yes, then what is the minimum quota of Honkong protest videos the app needs to meet? Should other apps, like dating or chess apps, show Honkong protest videos too?

> The company has said U.S. user data is stored in the United States

They should not. The data are better protected from such US senators if stored in China.

> Any platform owned by a company in China which collects massive amounts of data on Americans is a potential serious threat to our country

And what about US companies collecting data on foreign citizens?

> Chinese company may be censoring politically sensitive content

Some might call it moderation.

comment 7y ago · link · parent

It is still better than situation where everyone would use HTTP and naively believe that authorities will respect their right for privacy.

comment 7y ago · link · parent

Even with encryption, WhatsApp could provide users' contact lists, message send time and volume, IP addresses, phone numbers.

Having a phone number is almost same as having person's location and identity. That's why really secure messengers won't require a phone number.

comment 7y ago · link · parent

There are several solutions to the problem you have described. First, when the watchers appear, you can pretend that the machine got "broken" so they have to wait until it gets "fixed" (reflashed with original firmware). Of course, you can "fix" it once again after they leave. Second, you can make it return original firmware when cloning the disk for verification or store modifications in RAM only. Third option, you can have two disks, one with original firmware for verification and other that is actually used. Fourth option, you can install additional microcontroller and connect it to the printer so that it prints what you want instead of actual results.

comment 7y ago · link · parent

I don't understand why you need sophisticated technology like a worm when you can bribe or blackmail a developer and get whatever results you want. The weakest link here is the human that loads the firmware. Just offer him a promotion if candidate X wins and that could be enough.

comment 7y ago · link · parent

What a nice and opaque technology. Bribe (or blackmail if you are from NSA) a developer or sysadmin and ask them to make so that every second vote for candidate A goes to candidate B and candidate B wins. It doesn't matter how people will vote, it only matters whom sysadmin chooses.

comment 7y ago · link · parent

That might be not easy. Microsoft have failed to do this as I understand, though they had invested a lot of money into Windows Mobile.

comment 7y ago · link · parent

But Play Services and related libraries for analytics or ads have a documented API. Isn't it easier either to write an implementation of that API or put Play Services into a safe sandbox rather than find time to write or port thousands of apps (that would require millions of man-hours) you could take for free from Android ecosystem?

Also, there are open source apps like Calendar, Gallery, Camera or Music that don't have ads and don't need proprietary components that you could use for free.

comment 7y ago · link · parent

> I am concerned about the availability of a map app on Librem, but surely one of the existing libre OSM solutions could be ported over?

I think that you underestimate the amount of work required to port applications for a new OS. You cannot use existing desktop apps on mobile without remaking their UI and refactoring them. Who is going to do it? Who will pay for it? Will Linux users who got used to free software, pay for apps?

I know how many time it takes developing a single mobile app, and it is not less than hundreds or thousands of man-hours for one app.

Android has a working model for developers to earn money which attracts them and motivates to write new software, and the costs are distributed across millions of users which allows to keep the prices low.

Privacy-oriented phones are unlikely to become a mass product quickly so they won't create an attractive market in the nearest future, and even if someone writes or ports an app, they won't be able to keep the price low.

And as I understand, this small market of privacy/freedom-oriented phones is going to be divided between several vendors with incompatible OS distributions.

That means that there won't be many third-party applications. There will be a Firefox-based browser, Terminal (not very usable on the phone), several built-in apps and that's all. There will be no games, no popular messenger apps, no bank apps, no apps to play music, no manga selling apps, no photo editing apps, no apps to buy clothes or order a taxi.

Regarding memory usage, Android has a system that can start or stop background services, unload applications to free memory while preserving their state. Linux applications are not written with this in mind, and you cannot unload them and restore back. So they will use more memory.

comment 7y ago · link · parent

As far as I know, there are replacements for Play Services, and it might be easier to write and maintain them (the API is public, right?) than rewrite existing Linux apps for mobile screens.

For example, in China Google is blocked but they can use Android and applications from local stores.

comment 7y ago · link · parent

What I don't understand is why Purism and other vendors try to invent their own operating system instead of using Android or its parts which is:

- designed by smart engineers from Google

- well-tested and maintained

- well-documented

- has development tools and debuggers with GUI, not text-only GDB

- uses GPU

- has permissions and isolation for apps which Debian doesn't have

- has several app stores including FDroid and lots of apps made by independent developers

Why don't they want to use at least Dalvik and userspace software like Phone or Calendar? Nobody is going to rewrite thousands of applications like Youtube, Telegram, Maps or Happy Farm for Debian. Debian is nowhere near as polished as Android.

For example, I watched a video about Pine64 which uses Ubuntu and UI doesn't look well-designed, the icons are hidden away from desktop, the thing that pulls down from top of screen looks inconvenient to use etc. It would be better if they just ripped iPhone's UI.

Are there some technical or licensing issues or is it just because someone doesn't like Google and everything they do? Is writing in Java less productive than in C/C++/GTK or whatever they use in Ubuntu?

UPD: Also 3 Gb of RAM might be not enough for Debian/Ubuntu based OS.

comment 7y ago · link · parent

What about fingerprinting? Fingerprinting allows to track browser even in private mode or if you anonymize your IP address. You should disable WebGL right now because it is absolutely unnecessary, almost never used and its only purpose is to collect information about your video card.

comment 7y ago · link · parent

I am from Russia (sadly no GDPR here) and I get 451.

comment 7y ago · link · parent

> If a page has issues loading, they're just going to give up and move on to the next thing.

It means that they are fine with these issues and don't need to have them fixed.

1
122123124
185