553
tech (feddit.org)
top 50 comments
sorted by: hot top controversial new old
[-] donuts@lemmy.world 128 points 1 month ago
[-] danc4498@lemmy.world 93 points 1 month ago

Who needs editors anymore?

[-] gens@programming.dev 26 points 1 month ago

Isn't that like Amdahls law, where you don't ask a question but say something wrong on the internet?

[-] FlihpFlorp@piefed.zip 28 points 1 month ago

No you’re thinking of Murphys Law, where the number of transistors in a circuit doubles roughly every two years

[-] lime@feddit.nu 17 points 1 month ago

no you're thinking of Sturgeon's law, where you can replace all resistors and capacitors in a circuit with a big one of each of the same total value

[-] WhiskyTangoFoxtrot@lemmy.world 14 points 1 month ago

I think you're thinking of Betteridge's Law, which is a side dish consisting of thinly-sliced cabbage in dressing.

[-] djvinniev77@lemmy.ca 5 points 1 month ago

I think you’re thinking of Cole’s Law, where you are only allowed to include up to 5 citations in your report out of Cole’s Notes. Also word salad.

[-] Bytemeister@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Pretty sure this is about Cole Protocol, which specifies procedures to prevent UNSC Ships from leading the Covenant to Earth. It uses a random series of slip space jumps, along with removal or complete destruction of all data sources pertaining to the location of Earth.

[-] NigelFrobisher@aussie.zone 7 points 1 month ago

Murphy’s Law is:

  1. Serve the public trust
  2. Protect the innocent
  3. Uphold The Law
[-] Digestive_Biscuit@feddit.uk 3 points 1 month ago

Thank you for not smoking

No, you’re thinking of Moore’s Law, which is where without a clear indicator of the author's intent, any parody or sarcastic expression of extreme views can be mistaken by some readers for a sincere expression of those views. It’s why the “\s” thing exists.

[-] melsaskca@lemmy.ca 4 points 1 month ago

I toataly ahgree.

[-] mogoh@lemmy.ml 32 points 1 month ago

That is like 10 Years old. (I did not look it up) Can we not stomp on tiny mistakes from 10 years ago?

[-] SanctimoniousApe@lemmings.world 47 points 1 month ago

I'm sorry, but I disagree - sometimes things just qualify as classics, and also serve to act as warnings to future generations.

[-] onslaught545@lemmy.zip 15 points 1 month ago

"Can't we just ignore history?"

[-] glimse@lemmy.world 9 points 1 month ago

Any time there's a community with the same name as a subreddit, it gets filled with Reddit's Greatest Hits.

I know the whole "Lucky 1 in 10,000" thing but man, the Internet nowadays is mostly just buckets full of the same old memes other people made. Original content is so goddamn rare, especially memes.

This is not a complaint about OP, just a general observation

[-] kn0wmad1c@programming.dev 20 points 1 month ago
[-] martinb@lemmy.sdf.org 2 points 1 month ago
[-] jet@hackertalks.com 2 points 1 month ago
[-] Mniot@programming.dev 16 points 1 month ago

But this was arbitrary. It's not like "why are there only 16 colors on this video game" (because of space constraints). They could have made it 257 users and nothing would overflow. Given that, I think they should have made a human-comfortable number (multiple of 10) instead of a machine-comfortable number (power of 2).

[-] chonglibloodsport@lemmy.world 12 points 1 month ago

It’s only arbitrary if you ignore the history of computing and the eventual settling on a standard of 8-bit bytes as the smallest addressable value in most programming languages and operating system libraries (though not always addressable in hardware).

Unless you’re making the very meta claim that it was arbitrary for us to settle on 8 bits instead of 10 or something. I think there are a lot of technical merits to 8 bit bytes (being a power of 2 is nice and 4 bits is just too small).

[-] Tja@programming.dev 9 points 1 month ago

Yes, but this is not a historical piece of code, it is a 21 century app. I very much doubt they are using a uint8 to represent the array size, it's probably a 64 bit int. They might as well have used 300 or 250, or 1000.

[-] chonglibloodsport@lemmy.world 7 points 1 month ago

WhatsApp’s back-end is written in Erlang. Erlang is a very old language with weird limitations. For one thing, it doesn’t have different machine-sized (16, 32, 64 bit) integers the way C does. Arbitrary-precision integers are the only primitive integer type. This makes it quite a slow type to use for something like a group chat member ID.

However Erlang also has a type called a binary which is used for space-efficient storage of binary data (along with primitive operations on bits). These types are stored as sequences of bytes. I’m guessing this is how WhatsApp does group chat IDs, which would make the 256 user limit perfectly understandable (keep every ID contained within a byte).

[-] Tja@programming.dev 2 points 1 month ago

I don't think every user would have an ID in the chat of 1 byte, that would be a nightmare when leaving and joining the group, reusing IDs, etc... each user needs to be identified with its uuid (or whatever else they chose).

Using a 32 at 64 bit size and limiting the value makes much more sense, any subsequent changes would be a config tweak instead of a major refactor. I would guess the limit was a fun "Easter egg" type of thing rathar than a hard technical limit.

[-] chonglibloodsport@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

WhatsApp has billions of users. Scaling to that level and maintaining perfect real-time chatting with arbitrary user-created groups is not trivial. Storing 64 bit UUIDs for every single message and other interaction in a group chat would be inefficient, not to mention unidiomatic in Erlang (due to previously-mentioned lack of machine-sized integers).

The use-case of a group having <256 current users but >256 historical users and the desire to scroll back and read very old messages of people who left the group is very uncommon. It makes perfect sense to put a situation like that on a slow path while optimizing for the common case of <256 chatting right now.

load more comments (9 replies)
[-] Flax_vert@feddit.uk 1 points 1 month ago

Some programming languages and data storage types have 8 bit limits. You'd be surprised.

load more comments (1 replies)
[-] chicken@lemmy.dbzer0.com 6 points 1 month ago

They could have made it 257 users and nothing would overflow

It might if the people writing the software are extremely old school about their approach to memory management

[-] JackbyDev@programming.dev 1 points 1 month ago

Dev here. Just because CPUs don't directly use 8 bit numbers anymore doesn't magically mean 257 wouldn't overflow. If you're storing the 8 bits in part of something else that's 32 or 64 bits (or whatever), like maybe the ID of the chat, then you only have 8 bits. A lot of time this comes down to making compact data representations of things to make uploads/downloads quicker. JSON is the most popular data format to transfer data in (probably), but other more compact binary formats like Avro, Protobuf, and even application specific custom formats exist.

[-] Zoomboingding@lemmy.world 14 points 1 month ago

Even if the number was chosen completely arbitrarily, why would it warrent a "yikes"?

[-] unmagical@lemmy.ml 37 points 1 month ago

Pretty sure the "Yikes" was because the number was obviously not arbitrary and the tech reporter didn't know that.

If it were truly an arbitrary number it likely wouldn't warrant a "yikes."

[-] MehBlah@lemmy.world 2 points 1 month ago

I get the impression this is the non tech crowd commenting here.

load more comments (7 replies)
[-] someguy3@lemmy.world 11 points 1 month ago

It's like the tech writer that didn't know what the shift key did.

[-] xep@discuss.online 8 points 1 month ago* (last edited 1 month ago)

256 = 200 + 56, initially they only wanted 200 people in a chatroom but decided 56 more was even better, so it's very oddly specific indeed.

[-] Carrolade@lemmy.world 6 points 1 month ago

I wonder why its so hard for journalism institutions to find someone with an appropriate background to cover certain high-volume beats.

It's particularly egregious with military and science stuff, where it becomes painfully obvious that whoever is doing the reporting just has no clue how any of the stuff they're reporting on actually works. Seems to be it'd be a worthwhile investment to hire someone with at least some sort of science degree or military training to cover beats that are that high volume.

It's not like they go with completely ignorant randos to do their sports reporting, the sports reporters usually know some stuff about the rules of the sport and how its played.

[-] SanctimoniousApe@lemmings.world 10 points 1 month ago

Because they won't pay what someone actually qualified for the task would require. They still get their clicks because people want to stay informed, and yet also do so for cheap. Late stage capitalism has everybody attempting to wring value out of every last penny in order just to keep afloat in a world where the absurdly wealthy see average people as just pawns in a game the one-percenters are driven to "win" no matter what.

[-] gens@programming.dev 0 points 1 month ago

You say military because that is what you know about.

load more comments
view more: next ›
this post was submitted on 12 Aug 2025
553 points (96.9% liked)

Murdered by Words

2220 readers
1 users here now

Responses that completely destroy the original argument in a way that leaves little to no room for reply - a targeted, well-placed response to another person, organization, or group of people.

The following things are not grounds for murder:

Rules:

  1. Be civil and remember the human. No name calling or insults. Swearing in general is fine, but not to insult someone else.
  2. Discussion is encouraged but arguments are not. Don’t be aggressive and don’t argue for arguments sake.
  3. No bigotry of any kind.
  4. Censor the person info of anyone not in the public eye.
  5. If you break the rules you’ll get one warning before you’re banned.
  6. Enjoy the community in the light hearted way it’s intended.

founded 2 years ago
MODERATORS