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

I started using duckduckgo when Google requires to solve a captcha for searching.

comment 1y ago · link · parent

If this gets implemented, the next thing the govt will do is require all websites to store DIDs of visitors for at least 10 years and not accept visitors without them.

comment 1y ago · link · parent

I hope people have some self-respect not to show their ID to use a website.

comment 1y ago · link · parent

Recently I started getting a captcha when trying to use Google, probably because of VPN or Linux. I decided to switch to bing and duckduckgo. Dear Google, go solve your captchas yourself.

comment 1y ago · link · parent

First, Linux has thousands of settings that could affect this, second the library probably works not only on Linux.

comment 1y ago · link · parent

The bug was about the case when malloc returns null, but the library doesn't check for it.

comment 1y ago · link · parent

The main problem is that there is no "STOP" protocol, where you can send a packet indicating that you do not want to receive traffic from given AS or IP. Or at least that you are not going to pay for it. I think we need to support blocking at least on /24 prefix level.

comment 1y ago · link · parent

I wouldn't bother to write PoC because it is a waste of time and it is faster to fix the potential bug rather than figure out what conditions are necessary to turn it into a vulnerability. I think that we all should stop writing PoCs for bugs and spend the lifetime for something more useful.

comment 1y ago · link · parent

Corporations are made of rich stock owners.

comment 1y ago · link · parent

Dereferencing a null pointer is an error. It is a valid bug.

The maintainer claims this is caused by allocator failure (malloc returning null), but it is still a valid bug. If you don't want to deal with malloc failures, just crash when malloc() returns null, instead of not checking malloc() result at all.

The maintainer could just write a wrapper around malloc that crashes on failure and replace all calls with the wrapper. It seems like an easy fix. Because almost no software can run where there is no heap memory so it makes no sense for the program to continue.

Another solution is to propagate every error back to the caller, but it is difficult and there is high probability that the caller won't bother checking the result because of laziness.

A quote from a bug report [1]:

> If xmlSchemaNewValue returns NULL (e.g., due to a failure of malloc), xmlSchemaDupVal checks for this and returns NULL.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/issues/905

comment 1y ago · link · parent

Because they have other things to do? Nobody pays them for fixing it too.

comment 1y ago · link · parent

What happens to 32-bit Wine?

comment 1y ago · link · parent

I noticed this a lot - when emojis stand out and distract from the text. They should be smaller and use less saturated colors.

comment 1y ago · link · parent

I only buy cheese without annatto.

comment 1y ago · link · parent

I cover the front camera (I don't do video calls anyway). "Trust" in people who live in the other country and cannot even be put in jail seems like a poor choice.

comment 1y ago · link · parent

PIN code is worthless, what will you use it for if you don't have my phone? While fingerprints and 3D face scan will always find a buyer, for example, the government.

comment 1y ago · link · parent

Wireless headphones use lossy compression, so the sound is of worse quality. Also some of them use low bitrate profiles like 256 kbit or even 128 kbit to get longer battery life. Also as I understand they are a pain to use because you need to charge them daily.

comment 1y ago · link · parent

And wired headphones have less latency if you want to play music (although touch screens usually have huge latency).

comment 1y ago · link · parent

How you can ensure that your fingerprints are not sent somewhere (and your face model when using Face ID)?

comment 1y ago · link · parent

The problem might be the replacement parts availability in the future. My 10 years old phone battery stopped working but it is impossible to find a new one and so otherwise perfectly working phone is unusable.

comment 1y ago · link · parent

Dye is not an essential component of food and therefore should be banned, at least for food that has natural color (like meat or cheese). Not only it might be harmful, it causes false expectation of quality and freshness and should not be allowed. Because otherwise for a manufacturer it is easier to color low-quality product rather than make high-quality product.

comment 1y ago · link · parent

Why would one color meat, fruit or vegetables? This can create false expectation of their freshness and quality and must be banned. This is much easier solution.

Also coloring cheese should be banned. I always choose cheese without dyes but many people might be not aware that many types of cheese are artificially colored.

comment 1y ago · link · parent

He promised to end a war but instead started another one.

comment 1y ago · link · parent

Please remind why France, England, Israel are allowed to have weapons and Iran is not?

comment 1y ago · link · parent

So every country which has facilities to enrich uranium, needs to be bombed, correct?

comment 1y ago · link · parent

I am a little confused. Is bombing a sovereign country under far-fetched excuse considered ok or not today?

comment 1y ago · link · parent

Good to learn this. Was considering buying Samsung because it seems to be the only non-Chinese [non-spyware ridden] smartphone under $150. But what choices I have left now. Maybe buy a phone that can be reflashed with something open source.

And of course I don't keep anything valuable on the phone, do not login anywhere, do not install apps etc. It is an untrusted device because it does not run Linux.

comment 1y ago · link · parent

So it means you won't get charged a ridiculous amount if someone DDOS'es your server. Cryptocurrency is definitely superior.
1
484950
185