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

But Matrix does not. I wish they removed email requirement too though.

comment 1mo ago · link · parent

Purchase can be done only through Apple/Google Pay which require a phone number and a bank card on top of that. Do not be deceived by marketing people.

comment 1mo ago · link · parent

Requires Apple or Google Pay, linked to a phone number and a bank card, crypto not accepted.

comment 1mo ago · link · parent

Matrix clients do not allow to even select several messages to delete them at once. Matrix is a superior concept to proprietary Signal, Whatsapp, Telegram etc but the implementation needs some help yet and UI is far behind.

comment 1mo ago · link · parent

Is "firejail" a white list (only these things allowed) or black list solution (everything not explicitly disallowed is allowed)? I glanced through the issues and it seemed to me it is very hacky and feels amateur-ish and doesn't make me trust it, so I am starting writing my own, white-list based sandboxes. For example, No-net Sandbox will not allow a single packet out, including DNS query, unless allowed, Proc Sandbox will restrict access to /proc etc.

comment 1mo ago · link · parent

Automatic updates should be read as "automatic backdoors".

comment 1mo ago · link · parent

Theoretically you can download a single HTML file and open it in the browser. However many web features require HTTPS (including JS Modules, yes) so this would be poor developer experience. I want to write simple apps and prototypes in local HTML files but W3C does not let me.

comment 1mo ago · link · parent

Flatpak has "classic mode" which means no sandbox, which you will never guess if you did not read the docs, because why tell the users the truth when you can use marketing speak. Also, Flatpak allows reading identifiers from /proc and /sys.

comment 1mo ago · link · parent

Is not Signal inferior? In Telegram you can communicate with strangers without disclosing a phone number, in Western messengers until recently you had to disclose it so that your contacts can conveniently find you and punch you in the face if you are a man or just annoy you with indecent messages if you are a woman (probably not scary in a country where everyone has a gun and every home is a castle, but not all world is like this). What Western genius thought of such a feature, displaying a phone number in a group chat?

Telegram also allows to delete any chat in one click. Telegram has support for HTTP, SOCKS, MTPROTO and WEB proxies to evade censorship, Western messengers do not. Telegram is written in C++. Although it is a piece of proprietary garbage and might be connected to the government, at least it is well made piece.

Also it became difficult to register in Telegram, it often asks for 1 euro when trying to register with a fake number. And with a real number the OTP code simply doesn't get delivered to Russia.

comment 1mo ago · link · parent

Signal requires a phone number and does not want anonymous users, so I do not want it too.

comment 1mo ago · link · parent

> The primitive stays the same throughout: arbitrary file read. What changes is what you read: an SSH private key, a browser password store, a cloud credentials file, or a configuration holding an API token.

So in the hindsight it was a right thing for me to put it into a sandbox without any SSH keys and tokens. Also, I didn't bother registering tg:// scheme in the OS which also turned out to be good - clicking such a link in the browser does nothing for me, and as a side effect, websites cannot detect presence of Telegram or send command to it though registered scheme handler.

Also, I was surprised that Telegram uses passcode (an on-device password that is required to access the app) to encrypt user data. I thought they just keep the hash of a passcode and check it.

Also I assume Telegram can block this attack on the server, as groups are not E2EE and the server can find and delete files needed for successful exploitation. And links too. If someone has a spare account they can check if posting such type of files or links works.

comment 1mo ago · link · parent

Maybe one should compare the slope of the line in 2010-2020 period vs 2022-2026 for Germany?

comment 1mo ago · link · parent

Yes I meant Russian decision to ban export of diesel abroad. Technically it can be considered a part of the counter-sanctions applied to "unfriendly" (official term) Western countries (other measures: taking over assets in Russia, such as factories, belonging to foreign companies etc).

> How is Russia in a winning position?

Because US is asking Russia to lift restrictions and not vice versa. If US is in a winning position why do they even need to ask anything from a "losing" side? Winner sets conditions, not asks.

comment 1mo ago · link · parent

I read today that US President temporarily lifted sanctions on Russia regarding diesel export. I hope it is just a part of a secret plan to persuade everyone that peace and trade is more profitable than war, and not US economy crumbling due to Russian sanctions against West. By the way, diesel in Russia is cheaper than in US, which means at least in diesel production Russian economy is more efficient (it makes more diesel per dollar spent).

comment 1mo ago · link · parent

Could not smart glasses with speech recognition help in such cases?

comment 1mo ago · link · parent

I am not an expert but it might be the problem with microphone or sound processing and not actual noise. For example, my smartphone mic picks up lot of noise from wind even if the wind is not strong, while human's ears somehow reduce or suppress the wind noise.

Also, modern smart speakers use arrays of microphones and medical devices might be using some outdated tech.

comment 1mo ago · link · parent

As I understand, the novelty is that they put external components, including a lithium battery, under the skin. Is that a good idea? You cannot easily replace them, and what if something happens to the battery?

comment 1mo ago · link · parent

Should not it sound like a vocoder (which makes robotic voices)? I doubt one can hear any music this way though. Why they do not use more electrodes then?

comment 1mo ago · link · parent

> they don't cost much to fix

I think power plants are expensive and not cheap to fix.

comment 1mo ago · link · parent

> instead its actions are often simply cruel, inhumane and vindictive

Every war is cruel and inhumane, so why single out Russia here?

comment 1mo ago · link · parent

But isn't West getting tired of war? For example, in Germany, an "Alternative for Germany" is winning which calls for making a deal with Russia to get the cheap energy and stop supporting the war. West thought that Russian economy would crumble under sanctions, but instead it seems that Western economies are not doing great, and the West has depleted its ammunition reserves due to the war in the Middle East.

comment 1mo ago · link · parent

It can be transported by a truck? No infrastructure needed.

comment 1mo ago · link · parent

I am not sure if solar panel are worth using in places where the sky is clear only several months a year. A desert (for example, in Africa or Emirates) would be a better place for them.

Wouldn't it be better to have thousands of traditional natural gas, coal or diesel-powered generators to replace large centralized plants? They are compact (easier to hide). A 2 MW generator is a size of a truck. And portable 24 MW generator is a size of several trucks. Before the war, they had ~44 GW of generation (~1 kW per person), so one needs thousands of mobile generators to replace the system, and I doubt anyone provided them.

I wish there was a comparison of installation costs and generation costs for traditional and renewable energy. Without comparison, it might be that renewables are simply not worth investing yet.

One company advertises solar panels [1] and claims that 1 MW scale array requires 3000 panels and costs over $1M. While used diesel-powered 2MW generator costs several hundreds thousands USD. Why would someone buy one array when for that price several diesel generators can be bought?

Traditional energy is cheap. For example, Russia has 240 GW of generation, almost no solar and wind, and electricity costs 8 cents per kWh and in the West the energy is super expensive despite using solar and wind power. Also, diesel costs 65 RUB/liter, or 2.94 USD/US gallon (if 1 US gallon = 3.78 L) and again in the West for some reason it is overpriced. Maybe the renewables are only profitable with overpriced natural resources and government subsidies, without a comparison it is difficult to say.

[1] https://solartechonline.com/blog/what-is-a-solar-array/

comment 1mo ago · link · parent

If you cannot determine the traffic type, you can block it and wait until someone appears with proper documentation and explains what they were sending.

comment 1mo ago · link · parent

Yes but isn't it suspicious that all your traffic goes to the friend's house and not to Facebook and Reddit? If you claim it is not a VPN does it mean your friend is providing illegal unlicensed hosting? That's even worse.

comment 1mo ago · link · parent

You do not need to know "reliably". You can block everything remotely suspicious, and in case someone is blocked by mistake, they can file an application with all necessary documentation proving the connection is not a VPN.

comment 1mo ago · link · parent

Doesn't it look like it self-destructed at the end of life to protect its secrets?

comment 1mo ago · link · parent

The house insurance in this case is a part of a mortgage contract or voluntary insurance? And if it is a part of a mortgage (as an extra payment), how does one predict how much they will have to pay for unexpected things like fixing the roof, and how does one estimate the full cost of a loan?

Also if it is a part of the mortgage why doesn't the lender pay for it? They need it, not the homeowner.

Is insurance company affiliated with companies doing the repairs?

1
678
185