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

I think maybe Mozilla developers should not waste their time to support poorly documented proprietary platform with very low market share.

comment 7y ago · link · parent

> The crucial limitation here is that flushBuffer gives you no way to indicate which parts of the OpenGL context have changed.

Partial window updates have been available in Windows since long ago (in non-accelerated GDI). Why don't others just copy Windows API instead of inventing their own poor API?

Maybe there is no partial updates because an application can write directly to GPU textures and GPU will redraw entire screen anyway?

Also I am not sure that browser needs OpenGL, because you cannot render text efficiently on GPU anyway and the main content of web pages is text.

> Whenever a layer is mutated in any way, the window manager will redraw an area that includes the bounds of that layer, rather than the bounds of the entire window.

Then the problem still isn't solved because a layer can be much larger than changed pixels.

comment 7y ago · link · parent

Maybe random values should not be necessary to boot the system? I remember reading somewhere that systemd needs cryptographically random numbers to start up and I don't understand why.

comment 7y ago · link · parent

But then the taxation service can find out that you have lowered your profit to pay less taxes. So what's good in immutability?

comment 7y ago · link · parent

What's good in immutability? If you have found that you have entered too much income and want to lower it, what do you do?

comment 7y ago · link · parent

So basically, it means that using Tencent's database Chinese Government can block access to unwanted sites in user's browser?

comment 7y ago · link · parent

Then ask the user before filling anything.

comment 7y ago · link · parent

This just shows how poorly software that captures the images and adds geolocation without user knowing is made.

comment 7y ago · link · parent

Why don't browsers do this? Firefox should implement this (warn about geolocation and suggest either remove it or fake it).

comment 7y ago · link · parent

In Russia when a bank sends a code via SMS, there usually is a comment like "don't tell this code to anyone, even to bank employees".

I have read about similar type of fraud. The scammers say that they are from the bank and they saw suspicious transaction and want to verify whether it was you, and try to get your card information and code from SMS.

comment 7y ago · link · parent

ADB is a CLI tool made by Google [1]. You download the tool and Windows driver from Google, then you edit USB VID/PID in driver's config so that it matches your device, then you install drivers, conenct device using USB and use adb command line tool.

[1] https://developer.android.com/studio/command-line/adb

comment 7y ago · link · parent

I found suspicious application (with name like ePlayService or eVideoService, don't remember exactly) in app list, then connected using ADB and examined the filesystem, and decompiled suspicious packages. Then I downloaded ROM from manufacturer's site to make sure that the backdoor was there too.

Also I checked signatures on applications to exclude unmodified third party apps like Youtube and check only those with unknown signatures. This is where I found that the manufacturer signed their system applications using publicly available Android test key (which means device is vulnerable because anyone can make an app signed with that test key and gain high privileges on device).

Also, some chipsets (like MediaTek) allow downloading storage contents to PC using proprietary Windows application.

comment 7y ago · link · parent

I don't think that cheap tablet had any certification, but it had Google Play.

comment 7y ago · link · parent

And in my case the backdoor (Cosiloon) wouldn't do anything if the tablet was in China (don't remember how it detected the country, maybe by IP address or language).

comment 7y ago · link · parent

It is often available for download at the manufacturer's site. In my case, I first connected to the tablet using ADB and examined files in the filesystem, found suspicious packages, decompiled them and later checked ROM dump to verify that the backdoor is pre-installed.

Some chipsets (like MediaTek) support "uploading" data from device storage to PC using a proprietary Windows utility and USB cable.

comment 7y ago · link · parent

The authors don't know much about cheap smartphones. I examined a cheap Android tablet's ROM dump and it had a backdoor that would allow manufacturer to install any application remotely and an adware that would activate about 2 weeks after turning the tablet on and show ads above browser window (so that the user thinks that it is an ad from a website).

If the user tried to delete adware, the backdoor would reinstall it. The backdoor would not activate if the phone is in China.

I downloaded ROM from the link at the manufacturer's website to make sure it is really built-in into the ROM and the tablet was not infected by virus. Either manufacturer or those who made the ROM pre-installed backdoor to earn money from clicking on the ads.

Also on a Russian forum about smartphones I saw similar reports about other cheap models.

UPD: I googled around and it seems that the backdoor (named Cosiloon) has been found and described by antivirus vendors:

- https://news.drweb.com/show/?i=10345&lng=en

- https://www.androidauthority.com/cosiloon-malware-android-de...

- https://blog.avast.com/android-devices-ship-with-pre-install...

When I found it, there was no information about it anywhere.

comment 7y ago · link · parent

Don't you think that main problem is that it is allowed to get the patent without implementing it? So you can patent things like "filter photos by person" without having working face recognition technology that someone else might be researching. Basically, you can patent what someone else is developing and then collect the fees for it.

comment 7y ago · link · parent

Aren't expenses for lawyers compensated by the losing party?

comment 7y ago · link · parent

Why is the occupation recorded in the list?

comment 7y ago · link · parent

We have similar system in Russia. The votes are counted after closing the polling stations, and the result table is signed by election commitee members and signed copies are given to candidates' representatives and observers. Later the results for every polling station are published on the Internet. Also we have cameras that stream the video on the Internet in real time.

Of course this system still allows falsifications. But it is still better than any electronic system because the violations are easily noticeable.

comment 7y ago · link · parent

> but also if there’s shadiness/hacking going on you can always recount the paper.

It depends on the country, but typically you need some valid reason to require recounting. And "my favourite candidate got less votes than I expected" doesn't sound like a valid reason.

comment 7y ago · link · parent

That's interesting. Here in Russia voter list is not publicly available. As a voter you can only check whether your own information is recorded correctly, and if you are an observer then you can examine (but cannot copy) voters list before election day.

comment 7y ago · link · parent

> The state will soon roll out a new, $100 million voting system which Raffensperger said will have a new iPad-based check-in system, which they can track and delete data remotely if they get stolen.

Will they be able to delete votes for a wrong candidate remotely too?

comment 7y ago · link · parent

Did you ask user's permission for fingerprinting?

comment 7y ago · link · parent

People have been civilized throughout thousand years of history?

comment 7y ago · link · parent

I don't understand why you should feel safe. Cameras won't prevent a crime and won't make you immune to a knife.

But they are very convenient to monitor daily life of political activists.

comment 7y ago · link · parent

It doesn't have to be a paint, it could be a film.

comment 7y ago · link · parent

> Private prisons had financial incentives for post-incarceration behavior. Eg: If their prisoner recidivism rate after 3 years was 10% lower than the average public prison, they would get a 20% bonus.

Then the best strategy would be to make sure that the prisoners die as soon as possible.

comment 7y ago · link · parent

Then it would be easier for an ISP to block encrypted DNS (by port number). It is better to masquerade everything as normal HTTPS to make blocking more difficult.

comment 7y ago · link · parent

Because it is easier to embed it into a browser rather than persuade vendors of all major OSes (Windows, Mac, Android and thousand of Linux distributions) to add it.

Also, even if a company like Microsoft adds it to Windows, they will add it only to they latest version and leave people on Windows XP, 7 and 8 without protection. Same with Google - they will add it only to the latest Android. Because commercial companies want you to buy new products, not to use the old one for a long time.

1
123124125
185