Better HN
topnewbestaskshowjobs
Log inSign up

kitkat_new

3,025 karma · joined Oct 20, 2020 (6y ago) · 696 submissions

Eco-Terrorist
Submissions

comment 2y ago · link · parent

how can I access IPV4 stuff over IPv6?

2.

A minimal protocol to write typst plugins(github.com ↗)

2 points · by kitkat_new · 2y ago · discuss

3.

Countries silence climate protest while preaching about rights elsewhere (study)(theguardian.com ↗)

7 points · by kitkat_new · 2y ago · discuss

comment 2y ago · link · parent

slint is more declarative, supports Rust and Python

comment 2y ago · link · parent

I probably don't want to know about the performance implications

comment 2y ago · link · parent

absolutely yes.

I even gave three different places where parenthesis can be used and have different meanings

comment 2y ago · link · parent

like parenthesis for functions, tuples and for denoting prioritized evaluation?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

why?

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

comment 2y ago · link · parent

> 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.

comment 2y ago · link · parent

I look forward to Verso

https://news.ycombinator.com/item?id=41215727

comment 2y ago · link · parent

> 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

comment 2y ago · link · parent

tips incentivize to be white, young and female - there is almost no correlation between service quality and tip size:

https://www.sciencedirect.com/science/article/pii/S036233199...

comment 2y ago · link · parent

tips should be banned

not only is it a shitty source of income, it also exposes you to sexism, racism and makes you tolerate shit things, because your income could be at risk standing up for yourself.

comment 2y ago · link · parent

*at the alter of economical growth

comment 2y ago · link · parent

> 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...

comment 2y ago · link · parent

well, when Matrix was founded, UK was still part of the EU

comment 2y ago · link · parent

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

comment 2y ago · link · parent

MLS scales best for large n, but WhatsApp/Signal or Matrix do pretty well for < 1k people

comment 2y ago · link · parent

even if you have a password in Telegram as a second factor, Telegram can bypass it anyways; and the user isn't even asked

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

The worst thing is that almost every non-techie who uses Telegram thinks Telegram in general is e2ee.

comment 2y ago · link · parent

this correlates with the telegram userbase

comment 2y ago · link · parent

telegram isn't e2ee

comment 2y ago · link · parent

who is talking about backdoors? the chats are public

26.

Pop _OS Cosmic Desktop: Alpha Release and in Depth Review [video](youtube.com ↗)

2 points · by kitkat_new · 2y ago · discuss

comment 2y ago · link · parent

> 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?

comment 2y ago · link · parent

you shouldn't project from react to vdom in general:

https://dioxuslabs.com/blog/templates-diffing

comment 2y ago · link · parent

Windows has winget

30.

Brazil's plan to tax global super-rich to tackle climate crisis(theguardian.com ↗)

17 points · by kitkat_new · 2y ago · 7 comments

12345
24