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

As I understand, if Europe stopped buying Russian natural gas, it would have to buy it at much higher prices elsewhere, which would raise things like electricity cost, logistics cost, which in turn might make voters unhappy and vote out the current government. That's the weakness of EU, it's made of many countries which put their interests first and have a democratic system.

Furthermore, there are suspicious things happening, like appointing former German chancellor for a Gazprom directors board [1]. Was he appointed for his exceptional skills and expertise, or for some other reason?

For comparison, Russia has no such problems; due to centralization and localization of economy, the prices and rouble value are kept under control; due to more authoritarian style of governing, nobody complains when utility bill raises every year, and sometimes twice a year. Russia also had tax increases for couple years straight, and again, nobody complained, unlike Europeans which tend to change the government every time they become unhappy with something. And obviously, West has no means to bribe or corrupt Russian leadership or finance any political movements.

[1] https://www.dw.com/en/germanys-former-chancellor-gerhard-sch...

comment 11mo ago · link · parent

So if you save the SVG image, it won't display without Internet connection. Not great.

comment 11mo ago · link · parent

The idea was that you can embed only the glyphs used in a text. For example, instead of embedding thousands of existing Chinese characters, embed only 20 of them. Embedding is necessary anyway because otherwise you cannot guarantee that your image will be displayed correctly on the other machine.

Also, allowing CSS inside SVG is not a great idea because the SVG renderer needs to include full CSS parser, and for example, will Inkscape work correctly when there is embedded CSS with base64 fonts? Not sure.

comment 11mo ago · link · parent

Downsides of using SVG:

- cannot wrap text

- cannot embed font glyphs - your SVG might be unreadable if the user doesn't have the font installed. You can convert letters to curves, but then you won't be able to select and edit text. It's such an obvious problem, yet nobody thought of it, how? Photoshop solved this long time ago - it saves both text and its rendering, so the text can always be rendered.

- browsers do not publish, which version and features they support

- may contain Javascript and references to external resources, which makes it difficult to view in a secure, isolated environment

One of solutions is having two SVGs: author version, which you edit in Inkscape and which uses Inkscape-specific extensions, and published version, which is generated from the first, that uses only basic features and has text converted to curves.

comment 11mo ago · link · parent

Obviously, the laws were originally intended to protect children from malicious adults, but nowadays, when every child has a phone with a camera, they technically are one tap away from committing a crime even without realizing this. Maybe we should do surprise phone inspections at schools, or maybe we should restrict using camera app only to verified adults.

comment 11mo ago · link · parent

Slightly unrelated, but I wonder if a 17-year old child sends her dirty photo to a 18-year old guy she likes, who goes to jail? Just curious how the law works if there is no "abuse" element.

comment 11mo ago · link · parent

Then they should be paying for the encoder, and the decoder should be open-source and patent-free.

comment 11mo ago · link · parent

Did OpenAI observe any ToS when scraping content from the Internet? Sorry, but you cannot complain about stealing the stolen. OpenAI cannot even have the copyright on ChatGPT output, because it's a tool.

comment 11mo ago · link · parent

I don't know much about GPUs, but is there really any value in IP? I can learn to write HDL code all day long, but turning it into real transistors is the hard part. Code is worth nothing nowadays with AI.

comment 11mo ago · link · parent

Also, porcelain, paper and gunpowder. And maybe (don't remember exactly), magnetic compass.

comment 11mo ago · link · parent

Maybe criminal cartels should switch to GPU trafficking?

comment 11mo ago · link · parent

Increased costs might be a factor in a competing commercial market, but for military purposes, you buy the components no matter the price or search for an alternative (China is now making lot of components - for example, resistors, transistors, logic chips - I have several 74HC chips of Chinese origin, and they are very cheap). Also, there are thousands ships and no legal basis for "policing" them in open sea.

comment 11mo ago · link · parent

Sanctions just slightly increase the cost of obtaining an item, but don't make it impossible. Electronic components can be bought, oil can be sold, ChatGPT can be used via OpenRouter, sanctioned banks publish their apps under guise into App Store, etc. When there are 200 countries in the world, and money involved, you can get anything.

Sanctioned goods could be used to spread propaganda though, imagine, for example, if installing a NVIDIA GPU driver required answering questions about Tiananmen square incident.

comment 11mo ago · link · parent

I think compression ratio is not as important, as being open-source and patent-free. I would prefer an open codec even if it produces 20-50% larger videos. It's not a big difference between 1 and 1.5 Mbit/s. And if it matters that much for you, then you should be paying for the patents, not everyone else (for example, by using a codec which is free to decode, but encoding software is paid).

comment 11mo ago · link · parent

> How does making it harder for them to identify traffic for my app/service/whatever stop them from doing that?

You can masquerade your protocol as HTTPS with SNI of that company, for example. Filtering by IP is very inconvenient (they change all the time), so the telecom would probably look at SNI.

comment 11mo ago · link · parent

Isn't it easier to hang optic cable on the poles? It seems that burying the cable requires more work.

As for utility boxes along the track, it could be something railway-related, for example, some railway control or monitoring equipment.

comment 11mo ago · link · parent

This is a reminder why all the traffic should be encrypted and obfuscated (i.e. no SNI in clear text). Ideally, the traffic should be encrypted to resemble a random noise. If you are making an app, you can embed public keys and use those to completely encrypt traffic, without relying on CAs.

For example, Telegram does this, using a homemade encryption protocol that has no clear-text SNI like HTTPS. As I remember, WeChat also uses some home-grown form of obfuscation.

As a bonus, this makes it more difficult for telecoms to discriminate against certain sites or apps and helps enforce net neutrality no matter if they like it or not.

comment 11mo ago · link · parent

They have the kill switch, it is called a "cloud account". Nowadays you need a valid cloud (MS-controlled) account to log into your computer.

comment 11mo ago · link · parent

Aren't card chips supposed to not give away private keys? Or you can take anyone's card and copy it, put it back and walk away?

comment 11mo ago · link · parent

Good riddance, no more spying, no more ads in notifications (in my country you can use banks via browser. Also, instant transfers by phone number are free).

comment 11mo ago · link · parent

To be fair, Linux has always been like this, breaking things with updates. Linux was ahead of commercial companies, but they caught up with it.

comment 12mo ago · link · parent

Why do you need a message history? The only use I can think of, if someone uses it against you in court. I don't remember looking up anything in history.

comment 12mo ago · link · parent

For property to give you power, you need to concentrate lot of it, or own something expensive or exclusive. That's what capitalists do: a capitalist owns an expensive lathe, and you don't so you have no choice but to work for the capitalist on capitalist's terms (you can replace lathe with GPU farm for more modern analogy).

Owning a song, a book or a picture doesn't give you much power by itself.

comment 12mo ago · link · parent

Bad analogy, probably made up by capitalists to confuse people. ML models cannot and do not learn. "learning" is a name of a process, when model developer downloads pirated material and processes it with an algorithm (computes parameters from it).

Also, humans do not need to read million of pirated books to learn to talk. And a human artist doesn't need to steal million pictures to learn to draw.

comment 12mo ago · link · parent

Isn't methylation more like temporary variables?

comment 12mo ago · link · parent

But why do they send email addresses instead of anonymous identifiers? To link data with data from other sources?
1
272829
185