1150
top 27 comments
sorted by: hot top new old
[-] KeenFlame@feddit.nu 3 points 1 day ago

Oh yes. I have rewritten other apps just to free more memory for my inefficient code

[-] ceenote@lemmy.world 114 points 2 days ago

When he said that my first thought was "Are you sure you wanna talk about efficiency?"

[-] xtr0n@sh.itjust.works 52 points 1 day ago

My 1st thought was “Are you sure you wanna talk about the optimal resource allocation for society?”

[-] 0ops@piefed.zip 29 points 1 day ago

Mine was more specific: "How many homes do you own and what percentage of the rooms are occupied right now?"

[-] runner_g@piefed.blahaj.zone 11 points 1 day ago

It'd be more efficient for his organs to be split up and distributed to those on waiting lists.

seriously. treating the rich like they're still human in any way that matters has to end. they must be harvested. give something back to the world. something we won't be coping with for centuries.

[-] a_jeering_serpent@sopuli.xyz 69 points 1 day ago

I once ran 3 electron apps at the same time which is basically the same thing

[-] droans@lemmy.world 15 points 1 day ago

I once had three windows of VSCode open. And two of them were Typescript.

Seriously, though. Why the fuck is the ESLint extension so horrible? Slow, bloated, misses changes outside the current file, and needs gigabytes of memory.

[-] kayohtie@pawb.social 2 points 1 day ago

Panicing as I'm typing a line like if MSWord said "antidep" was a spelling error before I finished "ressant". I uninstalled it. I'll just let Intellisense help me instead and ESLint can run when I build.

[-] peopleproblems@lemmy.world 11 points 1 day ago
[-] arrow74@lemmy.zip 10 points 1 day ago* (last edited 1 day ago)

Woah don't just point out he has RAM like that, don't want anybody coming to take it

[-] NovaVeles@lemmy.world 9 points 1 day ago

Yes, we know it was called the The South American Blackout of 2019.

[-] OctopusNemeses@lemmy.world 52 points 1 day ago

I've managed to convince investors that my brute force solution is worth trillions.

[-] DickFiasco@sh.itjust.works 34 points 1 day ago

The story of LLMs summed up in one sentence.

[-] Jankatarch@lemmy.world 34 points 1 day ago* (last edited 1 day ago)

Tbf opposite happened a couple of times too where I was like "if only a nuclear war sent our hardware 30 years back so people would appreciate this logic right here."

I still like efficiency. you are not unappreciated. only by people who matter.

[-] rounding_error@lemmy.today 24 points 2 days ago

I’ve had a problem like that once, but then I realized it made way more sense to allocate a big swap file instead and map that to memory.

[-] torturedllama 20 points 2 days ago

But what if you "needed" to access all of that memory every single time you produced an output character? And (only hypothetically of course) "all of that memory" was like dozens of gigs at a time.

Only truly visionary computer scientists could be capable of such genius.

monarchist mode of production is just this.

[-] myyass@lemmy.world 14 points 1 day ago

Imagine being roasted on every social platform.

[Nobody likes you.]

Even the cuckholders.

[-] mycodesucks@lemmy.world 15 points 1 day ago

Node developers sheepishly look away

[-] SubArcticTundra@lemmy.ml 14 points 1 day ago

malloc(999999999999999999999999999999999)

[-] VigorouSchematic@fedinsfw.app 8 points 1 day ago

malloc(18,446,744,073,709,551,615)

ULLONG_MAX from limits.h - so on a 64bit machine size_t = unsigned long long = uint64

[-] 0x0@lemmy.dbzer0.com 6 points 1 day ago

How about the equivalent malloc(-1)?

Also, it's cheap to allocate memory if you never write to it. You should follow it up with memset() if you really wanna max out your Resident Set Size 🐏

[-] BooBees@fedinsfw.app 14 points 2 days ago

Just once but my parents grounded me and took away my gameboy

[-] AeonFelis@lemmy.world 6 points 1 day ago

You think he wrote that code himself?

[-] csolisr@hub.azkware.net 3 points 2 days ago
this post was submitted on 02 Nov 2026
1150 points (99.7% liked)

Lemmy Shitpost

42720 readers
4336 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 3 years ago
MODERATORS