There are only two hard problems in computer science:
- naming things,
- cache invalidation,
- off-by-one errors.
I'm afraid you've fell victim to the problem 2.
There are only two hard problems in computer science:
I'm afraid you've fell victim to the problem 2.
Well, no. They are not certainly using int
, they might be using a more efficient data type.
This might be for legacy reasons or it might be intentional because it might actually matter a lot. If I make up an example, chat_participant_id
is definitely stored with each message and probably also in some index, so you can search the messages. Multiply this over all chats on WhatsApp, even the ones with only two people in, and the difference between u8
and u16
might matter a lot.
But I understand how a TypeScript or Java dev could think that the difference between 1 and 4 bytes is negligible.
Maybe checkout Pixelfed, which is (from what I gather) similar to what instagram was 10 years ago
Have you erased the continuation of the message that is saying something about "similar names, but are actually two distinct types"?
It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.
All other languages either straight-up don't support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.
OpenWRT on a new router. The wifi works better, ethernet works up to 980Mbit/s and I don't have all my traffic routed trough a Huawei device.
And it allows you to configure everything.
This logic is not sound. Why couldn't be the case that only one religion is right?
Three people looking at a triangle might have different opinions about what shape it is. It is inconceivable that they are all right, but that does not imply that they are all wrong.
This is all hard to do because it is hard to determine people's race on lemmy. Some usernames give it away but most don't. And I don't go snooping trough their post history to find that out.
What i don't understand is how fuel efficiency does not seem to be a concern of an average buyer? It is a large factor for me, and I'm proud to have highly efficient car for its class. Are those large trucks somehow more efficient than older, smaller models? Or are average buyers just not concerned with efficiency?
Well not everyone has seen the light of factorio, so i might be over-fixating on efficiency.
Oh it would not be Polexit. There are way better names available than that. Polout, for example.
Please, dont joke with things like this. Someone might take you seriously...
This is the way.
Almost completely pure way of storing ideas. With this I mean that you don't store unnecessary data such as "background should be white" or "left page margin is 1.3cm". It's just text. What's important is what it says + minimal markup.
Presentation is left to the reader's client. Do you want dark mode? Get a markdown editor/reader that supports it. Do you want serif font? Again, that's client's choice and not part of the document.
I wish browsers would support markdown out of the box, so you could open https://example.com/some-post.md
Fun fact: in rust and python, they use "selfself" instead of "meme"