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

A part-time job salary is about 850-1200 yen/hr [1]. So the rent is pretty high. And there are additional payments (like key money, deposit money, insurance money) one has to pay upfront.

[1] http://baito.mynavi.jp/kanto/area_13/kodawari_6/

comment 10y ago · link · parent

Is not it because the rent is very expensive in Japan?

comment 10y ago · link · parent

Then it is a serious problem for Telegram and any app that relies on SMS or some phone identity to restore access to an account.

comment 10y ago · link · parent

There could be two separate versions, one for paranoid users, one for those who don't care. The number of permissions Signal app requires is scary. It gets almost full control over your phone including reading SMS messages.

comment 10y ago · link · parent

Warning still does not fully prevent the attack. The attacker can still access the account and obtain the data stored at a server (like contact list if it is stored there).

comment 10y ago · link · parent

> Telegram has, according to Reuters, been actively compromised by people working for oppressive regimes (Iran, in particular).

I just wanted to add some details: someone checked the Iranian phone numbers range at Telegram servers and learned which of them are registred with Telegram. Message contents or contact lists were not obtained.

I guess this attack could be done with other apps that use phone numbers and phone contact lists for identification.

comment 10y ago · link · parent

Browsers are made by reputable organizations like Mozilla Foundation or (not so reputable) Google. And extensions are usually written by some anonymous person from Internet (or sold to anonymous person after gaining popularity).

comment 10y ago · link · parent

There will be ways to bypass those checks. The easiest is to wait a week after installation before doing anything bad. Or extension could download and execute code from remote server that would serve one version of code for users from Mountain View and another version to everyone else. Or the code could check whether it is run on a real device.

comment 10y ago · link · parent

I do not think collecting data on users is necessary. You still can show ads in search results even if you don't know anything about a user. And you don't need user's browsing history to sell him an airplane ticket.

comment 10y ago · link · parent

The line should be drawn in a court.

comment 10y ago · link · parent

You are probably over optimistic about what AI is. AI is not a human-like mind that sits inside a computer and solves any problem you give.

comment 10y ago · link · parent

There is nothing that can be done. Any moderation can be easily bypassed (for example, obfuscated code, code loaded from external servers etc.). You just should not install software that you don't trust.

For example I don't use any browser extensions because I don't have time to inspect their code after every update.

I wonder why both Google and Mozilla don't write this at the front page of their extension stores?

comment 10y ago · link · parent

You cannot make a technical solution to this. Now every company tries to collect as much information as they can. Only laws can help.

> Every data send by an extension should be user viewable.

You can start Wireshark and get that data. But it would be too complicated for an average Joe.

comment 10y ago · link · parent

What happens if the company that hosts a licensing server goes out of business?

comment 10y ago · link · parent

The difference between web fonts and HTML/CSS is that HTML loads progressively and markup doesn't weight more than all other resources. So I am ok with both plain text and HTML pages but not ok with fonts until browser vendors make a better implementation and make them optional.

comment 10y ago · link · parent

But the header files are still there, aren't they? One still has to write a method name and arguments twice.

comment 10y ago · link · parent

I think the easiest solution would be just not to use web fonts at all. Do you need fancy fonts on a website with technical documentation? I think you don't but sadly PHP developers added a whole megabyte of fonts to PHP manual. As a result one has to wait until the fonts are loaded to see the text.

And web fonts are often poorly rendered on Windows.

I want an option in Chromium that would allow disabling web fonts by default and enabling them on a per-site basis (like it has an option for disabling JS). And what surprises me most is that mobile browsers (which are often used on slow and metered connections) do not have such options at all.

I remember old Opera browser that is now long gone had a lot of options to make user experience better on poor connections (and a builtin domain block list). Well, at those times internet users had higher average IQ and now typical Internet user would not even understand what is the meaning of "disable JS".

comment 10y ago · link · parent

Git deployment requires you to make commits. I prefer having a find + rsync based script that finds modified files and uploads them via SSH.

comment 10y ago · link · parent

I use a rsync-based script to upload only changed files. In large projects rsync takes some time to find changed files so I wrote another script that finds them by modified time and passes a list to rsync.

comment 10y ago · link · parent

Regarding drivers, they are probably present as linux kernel modules in original phone firmware. Cannot they be reused in a custom open firmware? Of course you might need a userspace components to control hardware too which is a problem.

Also SOC manufacturer usually has the drivers reference code but he might not publish it.

comment 10y ago · link · parent

Actually I don't see much benefits from using Qt. C++ is pretty old language that doesn't have a GC and its syntax for me is worse than Java's.

comment 10y ago · link · parent

The project is about running KDE in a linux container on Cyanogenmod which is a modified build of open source Android OS.

But for some reason they use marketing language to make it look like they have invented some new mobile OS.

By the way, it doesn't look very secure:

- first, you have to unlock the bootloader. It means you can install custom firmware but anyone having physical access to your phone can do it too.

- Google did a lot to make Android more secure. For example, every application is run under a separate user account to protect it from other (potentially malicious) applications. Applications' privileges are restricted. KDE doesn't have such features.

So if you like KDE or want to run or maybe write KDE applications this project will help you. But you'll have to forget about security and I guess the project is in early development stage now so there can be bugs and something might not work.

comment 10y ago · link · parent

I think the title is misleading. This project is about installing KDE on a smartphone over Cyanogenmod (which is a modified build of Android).

I am totally against Google and its restrictions and tracking proprietary code in Android but this project looks more like an attempt to get user base to sell them some paid services later.

Do you really need KDE to make your phone "hackable"?

Google did a lot to polish Android code and released it under an open license. I doubt that project is able to invest a comparable amount of work.

Having the same interface on desktop and mobile devices is not going to work well.

UPD: their installer installs a firmware (like twrp) that makes your phone unprotected from reflashing and stealing your data or installing a backdoor if someone gets physical access to the phone. They do not warn about it.

comment 10y ago · link · parent

Agree. I think the consumer should have more rights:

- a right to freely inspect and disassemble the software before running it to make sure it doesn't have any malicious or tracking functions and disable the code one doesn't want to be run on his system - a right to make any modifications to one's legally obtained copy of software (but not redistribute it) - a right to distribute tools necessary for disassembling and modifying software - a right to decide what information can be collected and sent from his device. For example, many smartphones today have preinstalled software (like Google Play Services) that sends data to Google and to manufacturer. The consumer is unable to inspect or disable this unless he is a computer engineer having a lot of free time. Even if it is anonymised data they should not be sent without owner's consent. If you are unable to control this you are not the real owner.

The digital techologies are a new thing and are not yet covered fully with laws so large corporations (and their friends at NSA) try to make the rules beneficial to them. We have a laws like DMCA that restrict the rights of consumer to repair a tractor but we have no laws protecting consumer from spying on him by Google. Large companies just want to have as much authority over consumer as they can.

comment 10y ago · link · parent

They just could take the payment to view an article. Getting upset is not a valid reason to restrict consumers' rights.

comment 10y ago · link · parent

Was not copyright law intended to protect publishers from unauthorised redistribution of their work? How blocking an advertisement can be a redistribution? That is just restricting the rights of a consumer that has paid for content (either with money or with time).

Using AdBlock is more like turning off a TV on commercials break. But I won't be surprised if copyright and ad companies would push some kind of law against it after they have adopted DMCA. Unlike consumers they have money and lobbyists.

> With websites, you haven't paid a fair return for the content you're consuming so the case isn't relevant.

One pays with his attention: he could spend time browsing any other of millions of websites. If the publisher doesn't like users with adblock he might not serve pages to them. Or require a payment. Or he might not use the Web at all.

comment 10y ago · link · parent

I thought maybe its just an April's fool day somewhere in Australia so they upvoted the post.

comment 10y ago · link · parent

> If one app has a vulnerability that can be used to acquire root

To get root privileges you need to attack the kernel (or the application that has those privileges). Having a bug in an image viewer is not enough.

You can try to make obtaining root privileges more complicated only by reducing the attack surface with restricting system calls each application is allowed to make or with redesigning the kernel so that less code is executed in ring 0 (microkernel architecture).

But recent vulnerabilities like Dirty COW or rowhammer could work even in this case.

comment 10y ago · link · parent

By the way this american type of plug looks pretty dangerous as it must be easy to acidentally or intentionally touch the pins while inserting it into a socket.

comment 10y ago · link · parent

Read with JS disabled, heard no music.
1
177178179
185