HNHacker News
TopNewBestAskShowJobs

kitkat_new

3,025 karma · joined October 20, 2020

Eco-Terrorist
submissionscomments
kitkat_new··on Support for IPv6
how can I access IPV4 stuff over IPv6?
kitkat_new··on Rio: Web apps in pure Python
slint is more declarative, supports Rust and Python
kitkat_new··on Rio: Web apps in pure Python
I probably don't want to know about the performance implications
kitkat_new··on Rust's Ugly Syntax (2023)
absolutely yes.

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

kitkat_new··on Rust's Ugly Syntax (2023)
like parenthesis for functions, tuples and for denoting prioritized evaluation?
kitkat_new··on Rust's Ugly Syntax (2023)
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.

kitkat_new··on Rust's Ugly Syntax (2023)
why?

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

kitkat_new··on Rust's Ugly Syntax (2023)
> 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.

kitkat_new··on Chrome is entrenching third-party cookies that will mislead users
I look forward to Verso

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

kitkat_new··on Can solar costs keep shrinking?
> 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

kitkat_new··on Is 'No tax on tips' a distraction from the fight to end sub-minimum wages?
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...

kitkat_new··on Is 'No tax on tips' a distraction from the fight to end sub-minimum wages?
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.

kitkat_new··on 2023 state of the climate Entering uncharted territory
*at the alter of economical growth
kitkat_new··on Is Telegram really an encrypted messaging app?
> 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...

kitkat_new··on Telegram abides by EU laws, including the Digital Services Act
well, when Matrix was founded, UK was still part of the EU
kitkat_new··on Is Telegram really an encrypted messaging app?
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

kitkat_new··on Is Telegram really an encrypted messaging app?
MLS scales best for large n, but WhatsApp/Signal or Matrix do pretty well for < 1k people
kitkat_new··on Is Telegram really an encrypted messaging app?
even if you have a password in Telegram as a second factor, Telegram can bypass it anyways; and the user isn't even asked
kitkat_new··on Is Telegram really an encrypted messaging app?
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.

kitkat_new··on Is Telegram really an encrypted messaging app?
The worst thing is that almost every non-techie who uses Telegram thinks Telegram in general is e2ee.
kitkat_new··on Telegram founder Pavel Durov arrested at French airport
this correlates with the telegram userbase
kitkat_new··on Telegram founder Pavel Durov arrested at French airport
telegram isn't e2ee
kitkat_new··on Telegram founder Pavel Durov arrested at French airport
who is talking about backdoors? the chats are public
kitkat_new··on VanillaJSX.com
> 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?

kitkat_new··on VanillaJSX.com
you shouldn't project from react to vdom in general:

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

kitkat_new··on C Macro Reflection in Zig
Windows has winget
kitkat_new··on Data Fetching for Single-Page Apps
> 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

kitkat_new··on Data Fetching for Single-Page Apps
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?

kitkat_new··on Data Fetching for Single-Page Apps
sounds more like 20/20 solution ux-wise

better immediately hide user1 and show a loading button and use rxjs's switchmap

kitkat_new··on Follow the Crypto
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
Page 1 of 17Next →