HN user

kitkat_new

3,025 karma

Eco-Terrorist

Posts162
Comments506
View on HN
github.com 1y ago

A minimal protocol to write typst plugins

kitkat_new
2pts0
www.theguardian.com 1y ago

Countries silence climate protest while preaching about rights elsewhere (study)

kitkat_new
7pts0
www.youtube.com 1y ago

Pop _OS Cosmic Desktop: Alpha Release and in Depth Review [video]

kitkat_new
2pts0
www.theguardian.com 1y ago

Brazil's plan to tax global super-rich to tackle climate crisis

kitkat_new
17pts7
lore.kernel.org 2y ago

Google: Linux-Driver Rewritten in Rust

kitkat_new
25pts0
web.archive.org 2y ago

Shell boss set to cut jobs from low-carbon division

kitkat_new
3pts0
www.theguardian.com 2y ago

'Pervasive and relentless' racism on the rise in Europe, survey finds

kitkat_new
4pts1
www.wbur.org 2y ago

Many scientists don’t want to tell the truth about climate change. Here’s why

kitkat_new
100pts185
www.euronews.com 2y ago

Greta’s school strikes led a third of Swiss citizens to change their habits

kitkat_new
4pts0
www.science.org 2y ago

Earth beyond six of nine planetary boundaries

kitkat_new
2pts0
www.theguardian.com 2y ago

Environmental activists killed at a rate of one every other day in 2022 – report

kitkat_new
9pts0
www.motherjones.com 2y ago

We’re Thinking About Climate Risk All Wrong

kitkat_new
4pts1
www.theguardian.com 2y ago

US behind more than a third of global oil and gas expansion plans, report finds

kitkat_new
6pts0
www.bloomberg.com 2y ago

Solar and EV Booms Push China Toward Energy Tipping Point

kitkat_new
4pts1
chrome.google.com 2y ago

Block the Blue – Twitter Verified Blocker

kitkat_new
81pts74
electrek.co 2y ago

Norway rolls back EV incentives while boosting walking and cycling (2022)

kitkat_new
197pts129
twitter.com 2y ago

I'm grateful we tried. Man, oh, man, did we try

kitkat_new
2pts0
www.fastcompany.com 2y ago

Everyone Should Want More Walkable Streets

kitkat_new
3pts0
www.theage.com.au 2y ago

Climate activists let down this Toorak driver’s tyre. He sees their point

kitkat_new
1pts1
www.vox.com 2y ago

America has the world’s safest air travel but sucks at car safety

kitkat_new
34pts48
www.telegraph.co.uk 2y ago

Swedish government removes nuclear power promise from website

kitkat_new
5pts2
www.theguardian.com 2y ago

‘Gigantic’ power of meat industry blocking green alternatives, study finds

kitkat_new
2pts0
www.theguardian.com 3y ago

France bans Dutch bike TV ad for creating 'climate of fear' about cars

kitkat_new
1pts0
www.euronews.com 3y ago

France’s nuclear power stations to limit energy output due to high temperatures

kitkat_new
5pts2
www.theguardian.com 3y ago

Disruptive protest helps rather than hinders activists’ cause, experts say

kitkat_new
12pts9
www.theguardian.com 3y ago

Paris to charge SUV drivers higher parking fees to tackle ‘auto-besity’

kitkat_new
8pts0
www.nature.com 3y ago

Abrupt expansion of climate change risks for species globally

kitkat_new
54pts23
road.cc 3y ago

Cyclists wearing helmets seen as “less human” than those without

kitkat_new
25pts9
www.ig.com 3y ago

Arizona restricts Phoenix home construction amid water shortage

kitkat_new
3pts0
www.energylivenews.com 3y ago

France increases EDF stake to 97.69%

kitkat_new
2pts0

It is, but not a trade off many would make.

' itself (!) may not convey information, but it's existence does convey information.

While making it a keyword may help beginners to understand code and wish they could see the meaning directly, because they don't know the meaning of certain symbols yet, people who know the language and productively produce code are more concerned about content rather than syntax.

Content meaning the name of the life time, the name of the types, the name parameters, the structure of the types, the constraints on the types, etc.

Especially for Rust, there is a lot of the things mentioned above, and since the concepts in Rust aren't easy, it's important that these things get as much space as possible from the limited space on the screen, instead of wasting it by self explaining syntax elements, which are trivial to memorize.

Thus { instead of begin_function_body, *; instead of statement_end, ? instead of 'if err != nil then return err' and ' instead of lifetime.

why?

It makes type information unnecessarily longer without adding information, and feels like writing "end_stm" instead of ";" after every line

Because pretty much any other language has '...' for strings, or at least something to do with text.

The ' aren't used in places where strings occur (strings just don't make sense there anyways), don't take up to much space (i.e. give more space to the name).

I am not a Rust pro, but this has never been an issue for me, same for ! for macro expansions.

Cherry on top some powerful player blew up Nordstream forcing Germany to buy exorbitantly expensive LNG.

Germany was forced already before that, since Russia used the Gas to blackmail Germany

When creating a Megolm session in a room, clients must share the corresponding session key using Olm with the intended recipients, so that they can decrypt future messages encrypted using this session. An m.room_key event is used to do this. Clients must also handle m.room_key events sent by other devices in order to decrypt their messages.

https://spec.matrix.org/v1.11/client-server-api/#mmegolmv1ae...

OLM is the public key encryption scheme, similar to the Signal Protocol. It is used to exchange room_key messages, but not the room messages itself.

MEGOLM as linked in the specification: https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/me...

this is pretty much what Matrix does, if I understand correctly.

Additionally the key is regularly updated to provide some degree of perfect forward secrecy and avoid encrypting for people who left the group chat

I wonder if this is practically relevant at all.

Given that users can access their messages without interaction with people at Telegram, automatic aggregation of the cloud data for single end points is in place.

In consequence the data can be accessed from a single jurisdiction anyways.

VanillaJSX.com 2 years ago

I've never had an easier time building very complex UI functionality than with React.

How many frameworks did you have experience with?

Without a VDOM, one way data flow, and diffing

you wanted to write "or" not "and", didn't you?

If you're going to start adding logic to hide other elements conditionaly it's prone to become spaguetti. And how would that scale code-wise?

this is a trivial task, it's only going to spaghetti if you go out of your way to make that happen

you mean user1 button? It would throw away the previous http request and users 1 data wouldn't even show up

Hiding the elements/div would prevent the user from clicking that button.

I don't see how it is 20/80.

Switchmap is just a different way of doing things, and hiding the deiv instead of blocking doesn't add really add more effort as well. So I don't see how it's a lot of effort while also missing a lot of the desired features?

Follow the Crypto 2 years ago

it doesn't really maximize individual liberty, ultimately almost anyone would end up with less liberty in practice, except for people choosing to centralize power i.e. rejecting anarchism