162
submitted 1 week ago* (last edited 1 week ago) by akunohana@piefed.blahaj.zone to c/linuxmemes@lemmy.world
dd if=/dev/urandom of=/dev/null  

Feel free to fork.

top 40 comments
sorted by: hot top new old
[-] JackbyDev@programming.dev 4 points 6 days ago

Any sufficiently advanced compiler would optimize this away.

beepThis is obviously a joke.

[-] akunohana@piefed.blahaj.zone 2 points 6 days ago

If we all work together, maybe, just maybe, we can dumb down the kernel not to handle excessive syscalls? But then again, the CPU itself is probably riddled with malware that throttles it when it senses overheating :((( stupid microcode or whatever.

[-] CallMeAl@piefed.world 105 points 1 week ago

You can also heat your place while doing science: https://foldingathome.org/

[-] akunohana@piefed.blahaj.zone 44 points 1 week ago

Well I'll be damned

XnGF9BdXJHVEJFj.png

Thanks for sharing!

[-] ImgurRefugee114@reddthat.com 34 points 1 week ago

Unironically. I did this with my 480 back in the day in an uninsulated apartment. Also crypto mining in the narrow slice of time where it was profitable-ish to do so with a consumer GPU. But then ASICs took off and I went back to folding / SETI

[-] juipeltje@lemmy.world 8 points 1 week ago

I remember trying this for a little bit too and did some crypto mining, but after leaving it on for days my room refused to warm up at all. I think the room was just too big for the heat output of the pc to handle. In the end i gave up and just turned on the heater again.

[-] ImgurRefugee114@reddthat.com 7 points 1 week ago* (last edited 1 week ago)

Yeah, it was basically like me running a ~400 watt heater. It's not a ton, but it's also not nothing. Even when I did use resistive electric heaters, I still kept it going because it still contributed. 15A 120v circuits, ~1500w heaters are the norm. At the time I did that I was also running Dual Xeons; so, full system draw was in the ballpark of ~600w. At the time, it was cheaper-than-free heat, so why not, even if just supplemental.

Of course, now that doesn't work at all; always a loss. But still: It's a heater that does some limited good while also heating. The electricity is the same anyways... May as well push it through some logic gates before warming my room.

100% efficient. (of course, heat pumps can go over 100%... But as far as resistive heating goes, it's not like a GPU is any worse then a space heater... Watts are watts)

[-] RandomHugs@lemmy.world 4 points 1 week ago

How much did someone make from that? With one ordinary PC I mean, to not turn my question into a "how long is a rope" type.

[-] ImgurRefugee114@reddthat.com 5 points 1 week ago* (last edited 1 week ago)

At the time I was running it, it was about enough to offset the cost of electricity and maybe turn a slight profit. Nothing substantial. But then it got way harder to mine btc and asics dominated the field.

Of course, had I started a few years earlier, I'd probably be a billionaire.

[-] irotsoma@piefed.blahaj.zone 3 points 1 week ago

I did this a long time ago but found that by the time my systems completed work, they were already completed and I never got any credit. Not that credit was the reason I did it, but also my results were just wasted. It's probably been well over a decade since even looked at it and longer still since I tried doing it. Has it gotten any better about assigning smaller units of work or any other mitigation of those kinds of issues?

[-] DmMacniel@feddit.org 46 points 1 week ago

Just enable Spacebar heating :)

https://xkcd.com/1172/

[-] crank0271@lemmy.world 28 points 1 week ago

Look at ol' Moneybags here, with their computer hooked up to their neighbor's electric meter.

[-] QuantumEraser@fedia.io 17 points 1 week ago

If the alternative is an electric heater, it's not gonna be any less efficient to use your PC... Saves you the cost of a heater too!

[-] crank0271@lemmy.world 2 points 6 days ago

Idea: what if we all move into the datacenters for winter?

[-] lfox02@lemmy.blahaj.zone 2 points 5 days ago

Sleepover in the hot aisle

[-] adarza@lemmy.ca 2 points 1 week ago

a space heater is cheaper to acquire than the pc is to fix.

[-] akunohana@piefed.blahaj.zone 8 points 1 week ago

What they don't know, ... Right? Right???

[-] AngryCommieKender@lemmy.world 14 points 1 week ago

So for a while I was the weed hookup of my D&D group. It was great because they all worked in education, except me and one other guy. The other guy worked as IT at a company that works with IBM on printers. Due to this he was more than happy to bring me a tower that they were going to throw away anyway, in exchange for an 1/8th or 1/4 depending on the specs.

Due to this, and a fairly strong EvE Online habit at the time, I ended up with 8 former servers that I had maxed out everything that their boards could handle. Going and setting up my accounts to mine in a belt was enough to heat my apartment all winter.

[-] dadarobot@lemmy.ml 13 points 1 week ago

i no joke heated my room with gentoo on ppc one winter.

[-] akunohana@piefed.blahaj.zone 6 points 1 week ago

PPC? Was your room incredibly small or was your hardware incredibly fancy? πŸ˜„ Glad it was enough thoβ˜ƒοΈ

[-] dadarobot@lemmy.ml 4 points 1 week ago

it was a bubble mac. and yeah small room and i live in the southern US

[-] HouseWolf@pawb.social 11 points 1 week ago

I just play an Unreal 5 game.

[-] akunohana@piefed.blahaj.zone 2 points 1 week ago

Same, but I'm taking a break from gaming atm.

[-] qwerty@discuss.tchncs.de 9 points 1 week ago

Great opportunity to get into mining monero, I've been using my gaming PC as a heater for years now, compute generated heat is almost 100% as power efficient as a regular electric heater.

[-] grue@lemmy.world 5 points 1 week ago

Regular electric heaters kinda suck, though. Heat pumps are 3-5x as efficient (they can go above 100% because they move heat rather than creating it) and natural gas is often cheaper per BTU.

I'm not saying that mining crypto in the winter is bad, just that it isn't necessarily completely "free" if your regular heater is something other than electric resistance.

[-] akunohana@piefed.blahaj.zone 2 points 1 week ago

I'll solder on a pipe onto my CPU air cooler and place the other end in my bed. That way, I'll get crypto warmth :) just need a way to insulate the pipe...

[-] akunohana@piefed.blahaj.zone 2 points 1 week ago

But my 3080 is LHR :(

Other than that, what wallet do you recommend? :)

[-] qwerty@discuss.tchncs.de 5 points 1 week ago

Monero is cpu mined. I think there are ways to mostly bypass lhr now if you wanna gpu mine. For monero I use feather wallet on pc but the official gui wallet is also pretty good. For android cake/monero.com wallet is often recommended, personally I use unstoppable wallet and monerujo.

Check out https://whattomine.com/ to figure out the most profitable coins for your system.

For monero have a look at https://www.getmonero.org/get-started/mining/ If you want the simplest solution you can just download xmrig, change the config to point it at your wallet address and a centralized pool like https://hashvault.pro/monero/getting-started , supportxmr.com or https://www2.aterx.com/ and run it with sudo. There is a slightly more profitable decentralized way called p2pool but you have to run your own node to use it, https://gupax.io/ is a tool that makes it very easy.

[-] possiblylinux127@lemmy.zip 7 points 1 week ago* (last edited 1 week ago)

Just have a LLMs commit some felonies

[-] akunohana@piefed.blahaj.zone 1 points 1 week ago

Never installing an LLM again πŸ˜‚ unless it's meant to work on things like: https://norecognition.org/about

[-] carrotfox@piefed.social 2 points 1 week ago

This LLM-speak on the site is unreadable

[-] akunohana@piefed.blahaj.zone 1 points 1 week ago

It is quite poorly written, not very accessible for the uninitiated. But to summarize, this hacker has developed a visual pattern that he prints onto clothes. These patterns confuse those AI-backed cameras with which the government spies on its population.

[-] raspberriesareyummy@lemmy.world 6 points 1 week ago

That's my kind of humour. Ace!

[-] _hovi_@lemmy.world 5 points 1 week ago

For research purposes, any way to parallelize across all cores?

[-] palordrolap@fedia.io 5 points 1 week ago

for((i=0;i<$(grep -c '^processor' /proc/cpuinfo);i++)); do dd if=/dev/urandom of=/dev/null & done

killall dd if you want to kill them

Caveats: Runs on my machine. Might not work on yours. If it does, you accept all responsibility for any system damage from running it or any version with typos.

Other notes: This doesn't actually lock each process to a specific processor, but the system ought to spread the load anyway. taskset --cpu-list $i before the dd if you absolutely have to have that.

[-] jdr@lemmy.ml 8 points 1 week ago* (last edited 1 week ago)

dude, for i in 1..$(nproc); do

[-] akunohana@piefed.blahaj.zone 2 points 1 week ago

Good question. I only know of the nice command, which only manipulates affinity and priority. I wonder how to target multiple cores from the CLI.

[-] _hovi_@lemmy.world 4 points 1 week ago

Gnu parallel would probably be the way to go but I'm not very familiar with it

[-] akunohana@piefed.blahaj.zone 3 points 1 week ago

Looks like a good place to start!

By default, parallel runs as many jobs in parallel as there are CPU cores.

Source: https://en.wikipedia.org/wiki/GNU_parallel

[-] thenextguy@lemmy.world 4 points 1 week ago

Time to drag out my G5 Power Mac.

this post was submitted on 13 Nov 2026
162 points (100.0% liked)

linuxmemes

33506 readers
1107 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community -- if that is a problem for you, you should leave.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 3 years ago
    MODERATORS