Preferences

kitkat_new
Joined 3,025 karma
Eco-Terrorist

  1. how can I access IPV4 stuff over IPv6?
  2. slint is more declarative, supports Rust and Python
  3. I probably don't want to know about the performance implications
  4. absolutely yes.

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

  5. like parenthesis for functions, tuples and for denoting prioritized evaluation?
  6. 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.

  7. why?

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

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

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

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

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

  12. *at the alter of economical growth
  13. > 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...

  14. well, when Matrix was founded, UK was still part of the EU
  15. 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

  16. MLS scales best for large n, but WhatsApp/Signal or Matrix do pretty well for < 1k people
  17. even if you have a password in Telegram as a second factor, Telegram can bypass it anyways; and the user isn't even asked

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal