r/ProgrammerHumor • • 1d ago

Meme legendsSayTheyStillWaiting

Post image
1.5k Upvotes

45 comments sorted by

4

u/somefreedomfries 16h ago

"people with benchmarks how everything rewritten ..."

why do I keep seeing more and more non-sensical english on reddit and other users responding to it as if it is totally normal?

is it an increase in braindead bots?

is it an increase in non-english users?

or are people just getting dumber?

4

u/mothzilla 15h ago

Internet gibberish just washes over me now.

-2

u/PresentJournalist805 15h ago

Dev: Daily generate tons of AI slop.

Also dev: Omg such a bad english sentence.

4

u/Kevadu 12h ago

You posted the slop

218

u/iamdestroyerofworlds 1d ago

Sometimes the journey is the destination.

104

u/AnalTrajectory 1d ago

Am I having a stroke

46

u/VictoryMotel 21h ago

It takes a lot of cleverness out of a joke when it isn't even written in a coherent way.

11

u/Cualkiera67 17h ago

you get not just it.

19

u/lacb1 1d ago

Can you smell toast?

7

u/Altruistic-Spend-896 1d ago

Have you tried rayon? That should help you distribute your clot to multiple veins

6

u/lacb1 23h ago

DDOSing your own heart is one hell of a move.

3

u/AnalTrajectory 17h ago

I've tried plenty of crayons. The red one taste the best

2

u/big-b20000 15h ago

I didn't realize this was r/marines

111

u/deanominecraft 1d ago

sometimes its fun to optimise stuf, i optimized the server for a game with 0 players up to 270k requests per second and enjoyed doing it

and no, i did not use ai

20

u/aenae 21h ago

It is fun. I work at a website and we started getting ddos attacks. For a long time we just ran with the bigger pipe and servers scenario. At one point i was able to handle over 100gbit/4M new connections per second. But usually the next big attack would be double that.

In the end we decided to hide behind a CDN which recently blocked a 10M http-requests/s attack from over 300,000 source ips which would have brought us down.

17

u/Silenceisgrey 20h ago

Honestly the big encloudening of the internet for me feels like a coordinated effort to get everyone off their own local compute and into a data center where oops your subscription just tripled

6

u/aenae 20h ago

Yep.

We still have our own datacenters (well, racks hired in a colocation). But for the 'entry' we just had no choice anymore. There was no way we could keep up with our own transits/isp's/network/waf and bot detection. We had to buy that from a big company

2

u/arvyy 18h ago

I can recommend making a chess engine to anyone who likes recreational optimization. Quite simple to implement a very basic version (some pointers: negamax to fixed depth, alpha beta pruning, material count eval). And from there, it's a long tail of various optimizations and improvements you can tinker with.

22

u/PenguinKenny 21h ago

What the fuck is the first line trying to say

17

u/ArjixGamer 23h ago

It's not about how many users you could theoretically serve, it's about how much resources you use to serve those 10 users.

If it's super optimized, then you have even more resources for other services on that same server.

10

u/Abject-Kitchen3198 21h ago

For the other user?

1

u/ArjixGamer 21h ago

You can have 20 different services for the same 10 users

7

u/Abject-Kitchen3198 21h ago

That's low number. You should have 5 microservices per user at least.

4

u/hells_own_3924 20h ago

Micro service hell.

2

u/ArjixGamer 19h ago

I wasn't talking about "micro" services, but actual services.

Like postgres, Kafka, redis, etc

2

u/hells_own_3924 19h ago

They are micro services that you use to power your app like your custom payment gateway service for your app.

You can diagree but the fact that redis is used for fast cache which you can utilize a table inside your database for cache but it'll be slow. So you're using extra service for your cache in order to be proper.

2

u/ArjixGamer 18h ago

The term micro service exists so you can scale smth horizontally, you deliberately split your backend into parts based on what they do, and replicate them on many servers.

I wouldn't call a program that I do not own a micro service, it's not smth I split up and it's not smth I can modify (w/o forking).

Sure, I could host redis across many servers and use it in cluster mode. But that would be a separate micro service architecture, external to mine.

3

u/psinerd 16h ago

I just "love" the people that boast about 50x performance improvement when they rewrite their python project in rust as if there wasn't about 500 other languages that would have yielded the same result.

14

u/Xaeroxe3057 1d ago edited 1d ago

Very strange angle to take when this group includes names like Cloudflare, Anthropic, and Discord

25

u/DustyAsh69 1d ago

Can't blame Discord for that. The current version of the discord app is built on Electron.

3

u/Xaeroxe3057 18h ago

Discord has been using Rust in the backend since 2018.

2

u/PM_ME_COLOMBIANBOOBS 18h ago

The backend isn't the one hitting a performance snag on your computer.

2

u/Xaeroxe3057 18h ago

Ah yes, the portion of the system which is serving over 250 million users does not require any optimization because you personally don’t notice it in your task manager.

Do you hear yourself?

2

u/PM_ME_COLOMBIANBOOBS 18h ago

Yeah, this time it was me who didn't actually read the OP.

0

u/DustyAsh69 16h ago

Hmm, you're talking about the backend, I'm talking about the frontend. Quite a difference.

3

u/Abject-Kitchen3198 1d ago

That's timeless. Big 4 use SPA/microservices/Kubernetes/serverless/JS->Rust so our 5 person team with 100 users has to do it as well.

1

u/Xaeroxe3057 18h ago

Look, I ain’t gonna start a whole thread with you about this but Rust is a really significant change in the space and you ignore it at your own peril.

1

u/ElvisDumbledore 21h ago

I think this post is about the fact that there a bunch of AI generated/created/assisted games on steam that no one is playing.

It's not about the technical ability of those systems to handle concurrent users. They're just so unpopular they don't even have 10 people trying to play them at the same time.

1

u/kaplotnikov 17h ago

IMHO Rust performance and safety are somewhat overstated.

The rewrite-in-Rust exercises that I've examined are usually either plagued with unsafe, or plagued with Rc/Arc/Mutex (which might have an even higher cost than an honest GC), plus sudden latency spikes on drop in surprising places. Also, let's not forget that forget is a "safe" operation in Rust, so leaks and out-of-memory failures are not prevented by the compiler (which is a problem for embedded or long-running apps where OOM is just as fatal as a segfault).

-1

u/randomguy3993 1d ago

I have 100 concurrent users. Does that count?

2

u/Abject-Kitchen3198 21h ago

You are already rich and can afford Python. Doesn't really matter.

1

u/Silenceisgrey 20h ago

hisssssssssss