News for hackers. Stuff that matters.
Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @06:16AM (#26236010)
I did this in an apartment I lived in years ago, and do it now in my house.

My computer room in the house is the lowest point in the house, so naturally, it tends to be a couple degrees cooler than the upstairs. This means that if I set the thermostat so that the computer room is comfortable, the bedroom is too warm. If I run the house circulation fan constantly, it's not an issue, but that consumes a decent amount of power.

If I'm going to consume that much power, I might as well mine crypto and make a few dollars. Mining for NiceHash, a service that lets people rent hashing power from miners, I'll average $100-400/month worth of Bitcoin on my RTX 3080, depending on current hashing prices, and how much of my time I spend gaming, since mining is effectively paused while gaming. The mining happens while I use my computer with no noticeable loss in performance, and it puts a few watts of energy into the room to heat it up a bit, evening it out with the rest of the house.

Re:I heat my home by mining crypto currencies by gkfasdfasdf on Tuesday February 23, 2021 @02:29PM (#26241708)
I would really like to try NiceHash, but the fact that I have to add it as an exception to Windows Defender antivirus, and that one of the founders has previously been convicted [0] and served time for writing botnet malware, really gives me pause.

[0]: https://en.m.wikipedia.org/wiki/NiceHash

Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @04:05PM (#26242881)
Windows Defender flags all crypto miners. It is not unique to NiceHash. You don't have to add an exception for the whole NiceHash directory for it to work, but it makes it easier. NiceHash updates the miners occasionally, and if you don't add an exception for the whole directory, then every time a miner gets an update, it's disabled by Windows Defender until you manually allow it.
Re:I heat my home by mining crypto currencies by gkfasdfasdf on Tuesday February 23, 2021 @06:41PM (#26244599)
Seems like there should be a way to have NiceHash sign their binaries or otherwise vet with Microsoft so Defender can automatically allow it. Setting an exception seems like it makes it a target for other malware to hijack or piggyback on.
Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @07:33PM (#26245019)
A signed binary won't help.

Cryptominers fall into the "Potentially Unwanted Program" category, along with remote access software like a VNC server. They're not malware, but can be installed maliciously. If Windows Defender finds a cryptominer, it has no way to determine if it was deliberately installed, so it flags. Manually excepting the directory NiceHash installs the miners is the only way around it.

Re:I heat my home by mining crypto currencies by bigiain on Tuesday February 23, 2021 @08:22PM (#26245450)
I wonder if other actual malware now actively looks for that directory to opportunistically install itself into if available?
Re:I heat my home by mining crypto currencies by gkfasdfasdf on Tuesday February 23, 2021 @10:00PM (#26246123)
Yes this would be my concern!
Re:I heat my home by mining crypto currencies by kiddico on Tuesday February 23, 2021 @02:58PM (#26242110)
I'd bet that writing botnet software was pretty good training for writing distributed processing software like NiceHash, though I think your concern is still valid.
Re:I heat my home by mining crypto currencies by gkfasdfasdf on Tuesday February 23, 2021 @06:34PM (#26244529)
Yes absolutely, I'm sure writing a botnet is not trivial so I respect the technical ability!
Re:I heat my home by mining crypto currencies by mtone on Tuesday February 23, 2021 @04:24PM (#26243059)
Nicehash (the app) is a convenience tool to manage miner executables -- it's mostly those that are flagged by AVs. You can connect most miner executables to Nicehash (the service) or other pools directly, and some are open-source.

For instance I GPU mine with https://github.com/ethereum-mining/ethminer and CPU mine with https://github.com/xmrig/xmrig, both built from source and I don't use Nicehash (the app). But I haven't looked at the source, so at some point I'm still trusting someone.

Re:I heat my home by mining crypto currencies by gkfasdfasdf on Tuesday February 23, 2021 @06:43PM (#26244612)
This is interesting, so I could run the NiceHash app (which doesn't require an AV exception) and have it mine using open source miners which I have built myself?
Re:I heat my home by mining crypto currencies by mtone on Tuesday February 23, 2021 @09:55PM (#26246091)
Not really - each miner (and versions of them) may have different command line arguments or monitoring APIs Nicehash wouldn't know about, so it's going to be more trouble than it's worth. I meant just starting them from the command line:

ethminer.exe -P stratum2+tcp://<your nicehash wallet address>@daggerhashimoto.usa.nicehash.com:3353

Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @07:34PM (#26245027)
Possibly.

Depends on whether or not the heuristics scanning in Windows Defender would still flag the miners if you compiled it yourself.

Re:I heat my home by mining crypto currencies by lostmsu on Tuesday February 23, 2021 @04:26PM (#26243083)
Self-ad: check mine (which is also conveniently called Mine). https://losttech.software/Downloads/Mine/

I am considering to add a feature, that would pause when external sensor reports high temperature. But you can already hack around that by creating a background window titled "DON'T MINE" and setting the tool to stop when it sees it.

Re:I heat my home by mining crypto currencies by lunatuna on Tuesday February 23, 2021 @07:17PM (#26244885)
I'll take a bit of your NiceHash and add some water [0] to that and make you something tasty. A bit more turnkey and a middleman if you don't mind.

[0]: https://www.753.plus/

Re:I heat my home by mining crypto currencies by xienze on Tuesday February 23, 2021 @03:08PM (#26242230)
NiceHash is on GitHub and you could always build it yourself if you’re worried. I think the reason it flags as malware is because virus scanners flag anything crypto mining-related as malware by default.
Re:I heat my home by mining crypto currencies by bseidensticker on Tuesday February 23, 2021 @06:35PM (#26244542)
You're not actually mining Bitcoin with your GPU. I think nicehash automatically picks the most profitable coin to mine at the time and just pays out in bitcoin.

It hasn't been profitable to mine bitcoin with a GPU since 2013 or 2014.

Re:I heat my home by mining crypto currencies by randomhodler84 on Tuesday February 23, 2021 @06:40PM (#26244592)
No, nicehash pays you in bitcoin for the specific hash rate that you sell. It’s a hash marketplace denoted in BTC. Nicehash doesn’t mine, it’s customers do.
Re:I heat my home by mining crypto currencies by bseidensticker on Tuesday February 23, 2021 @06:59PM (#26244733)
Sure, but nobody is buying time on your GPU to mine Bitcoin. They are buying time on your GPU to mine some other cryptocurrency. One that uses a different hashing algorithm.
Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @07:36PM (#26245048)
I'm well aware of all this.
Re:I heat my home by mining crypto currencies by bseidensticker on Tuesday February 23, 2021 @07:37PM (#26245060)
Cool
Re:I heat my home by mining crypto currencies by qvrjuec on Tuesday February 23, 2021 @01:48PM (#26241148)
Aren't you concerned with hardware degradation with your GPU running at 100% most of the time?
Re:I heat my home by mining crypto currencies by barkingcat on Tuesday February 23, 2021 @02:11PM (#26241499)
This is usually a non-concern. It's likely that the GPU will become obsolete in the time that it fails due to being run at 100% of the time.

The other question to ask, if you compile programs, write webpages, and edit photoshop images: are you concerned with hardware degradation with your CPU if you run at 100% all time time, for example, compiling chrome that takes 3+ hours, applying photoshop filters to an image to get a production quality output, or for rendering a 3 hour long animated movie?

Do you worry about the GPU when you are retraining a GPT-2 or GPT-3 scale AI framework?

These questions are kind of ... dependent on each person. Presumably you buy a computer in order to perform computations. That is its purpose.

Just because it's crunching bitcoins/cryptocurrencies doesn't degrade it any more than ... say running an AI framework on a GPU for 3 months continuously to generate a self driving model ...

Re:I heat my home by mining crypto currencies by balls187 on Tuesday February 23, 2021 @02:27PM (#26241675)
The flipside, if you have a CPU and you can't keep it pegged 100% of the time, are you wasting resources?
Re:I heat my home by mining crypto currencies by danans on Tuesday February 23, 2021 @02:59PM (#26242121)
No, because a CPU isn't a consumable resource, like electricity or labor. You should occupy the CPU with all valuable work (for whatever definition of value) but keeping it pegged for no reason makes no sense, and just wastes electricity.
Re:I heat my home by mining crypto currencies by amackera on Tuesday February 23, 2021 @03:33PM (#26242515)
In a way, by not running useful work 100% of the time, you're wasting the resource of time.
Re:I heat my home by mining crypto currencies by imtringued on Wednesday February 24, 2021 @03:20AM (#26247817)
If my phone or laptopbattery dies on me I could lose a lot more time/money than by simply not wasting precious resources like battery charge. People buy devices for specific needs. If they can't meet those needs the purchase is a net negative.
Re:I heat my home by mining crypto currencies by danans on Tuesday February 23, 2021 @07:53PM (#26245211)
I would argue that there is a lot less useful work available to run per unit available CPU time than there is time.

Otherwise, there would be market for people to sell their spare CPU cycles.

The only entities selling CPU cycles are big cloud providers who have much higher utilization in general.

Re:I heat my home by mining crypto currencies by slaman on Tuesday February 23, 2021 @03:29PM (#26242478)
It's value deprecates over time though, as it's market efficiency drops relative to newer cards.

Your return on the opportunity cost is maximized if you can do work closest to the time the card was acquired.

If you buy a card and leave it in the box for 10 years you have not 'consumed' the card, but you have wasted a few hundred dollars.

From an electricity and financial perspective if you have valuable work to do, your costs are minimized if you do that work closest to the purchase date.

This is obvious if you have a significant workload, but maybe not as obvious if you are running CAD. Is the cost of a new card worth the time saved by the new card? Significantly more efficient if you can keep it busy.

Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @02:04PM (#26241405)
No.

My GPU hovers at around 55-60 C while mining with the fans at 77%.

Years ago, I was running an AMD R9 290. THAT ran HOT. Even with fans at 100%, it would hover around 95 C and constantly fight with thermal throttling.

EDIT: And as someone else said, at these mining rates, it will pay for itself in 3-4 months.

Re:I heat my home by mining crypto currencies by cwkoss on Tuesday February 23, 2021 @02:03PM (#26241387)
At those rates, the GPU will likely pay for itself before it fails.
Re:I heat my home by mining crypto currencies by coralreef on Tuesday February 23, 2021 @02:03PM (#26241385)
The only thing that really degrades is fans.

Running a GPU for ~3 years at 75-82c

Re:I heat my home by mining crypto currencies by Bayart on Tuesday February 23, 2021 @03:32PM (#26242509)
The main causes of degradation in electronics are usually material failure due to thermal stress (cycles of expansion and contractor weaken the electrical pathways, resistance goes up, that causes more stress etc.) and electromigration due to over-voltage (the flux of electrons induces a shift in the position of the atoms it goes through).

Considering mining is a constant load (not much thermal stress) and improving efficiency requires lowering the voltage those aren't really concerns. There's far less risk than overclocking a GPU for gaming. The only electrical part that may be of concern would be the voltage regulation, but that's still an outlier as long as cooling is adequate.

Fans are know to fail because they're ran at high speeds all the time, but they're a commodity.

Re:I heat my home by mining crypto currencies by tullianus on Tuesday February 23, 2021 @04:42PM (#26243279)
Electromigration can happen because of constant high temperatures as well!
Re:I heat my home by mining crypto currencies by xienze on Tuesday February 23, 2021 @03:11PM (#26242270)
I was quite surprised by this, but when running NiceHash on my 2070S with no overclocking etc. it stays at ~60C, fans aren’t even audible, etc. And it generates the equivalent of $5 of BTC every day. Can’t complain.
Re:I heat my home by mining crypto currencies by polyterative on Tuesday February 23, 2021 @01:59PM (#26241321)
just limit power to maximum efficiency. My card mines eth 52MH/s@100% and 49MH/s@55% power
Re:I heat my home by mining crypto currencies by alasdair_ on Tuesday February 23, 2021 @04:52PM (#26243388)
I have a 3090 and cheap-ish electricity. Is it actually worth doing GPU mining again? I thought that died out long ago.
Re:I heat my home by mining crypto currencies by deepakhj on Wednesday February 24, 2021 @12:06AM (#26246794)
The 3090 runs super hot. You probably want to look into a heatsink/fan for your vram.

https://www.reddit.com/r/EtherMining/comments/loxagu/improve...

https://www.tomshardware.com/how-to/optimize-your-gpu-for-et...

Re:I heat my home by mining crypto currencies by bigiain on Tuesday February 23, 2021 @08:33PM (#26245529)
Not for Bitcoin.

Other crypto currencies can work better though.

https://www.nicehash.com/profitability-calculator/nvidia-rtx...

Claims you can earn ~$17 per day if you can get electricity to 10c/kWhr running a single RTX3090 but that's all mining Etherium (DaggerHashimoto) not BTC.

Re:I heat my home by mining crypto currencies by abiogenesis on Tuesday February 23, 2021 @07:40PM (#26245090)
Nvidia even offers dedicated mining GPUs: https://www.nvidia.com/en-us/cmp/

In related news: https://news.ycombinator.com/item?id=26192201

Re:I heat my home by mining crypto currencies by bseidensticker on Tuesday February 23, 2021 @08:28PM (#26245495)
Mining bitcoin no, but other cryptocurrencies yes.

Sounds like with the run crypto is on right now, you can make some pretty decent money.

Re:I heat my home by mining crypto currencies by tablespoon on Tuesday February 23, 2021 @05:38PM (#26243920)
> If I'm going to consume that much power, I might as well mine crypto and make a few dollars. Mining for NiceHash, a service that lets people rent hashing power from miners

What's the benefit of this vs. just participating in a mining pool?

Re:I heat my home by mining crypto currencies by mschout on Thursday February 25, 2021 @03:55PM (#26268189)
I'm not sure I get it either. Maybe just simplicity / path of least resistance in that NiceHash provides a quick way to get up and running potentially without needing to install mining software and decide on a pool to participate in etc?
Re:I heat my home by mining crypto currencies by bolasanibk on Tuesday February 23, 2021 @02:11PM (#26241501)
https://www.nicehash.com/ got the HN hug of death!
Re:I heat my home by mining crypto currencies by lupire on Tuesday February 23, 2021 @07:10AM (#26236373)
What is the $ cost of the power?
Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @02:00PM (#26241334)
About $20-25/month.

But it's not as if the cost of power is wasted. It's generating heat which I desire. If my GPU is consuming 300W, then that's 300W of heat that my heater doesn't have to generate.

Re:I heat my home by mining crypto currencies by ericd on Tuesday February 23, 2021 @02:55PM (#26242068)
Electric resistive heating is the worst form of heating, though - heat pumps are something like 3-4x the heat per kwh used. So not totally wasted, but a much worse way to get heat into your house, if that's your goal.
Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @04:02PM (#26242846)
Fair enough, but my goal isn't to heat my whole house, just add a little bit to this one room.

My whole house is heated with gas anyways, which AFAIK is more efficient than a heat pump, or at least, is more cost-effective.

Re:I heat my home by mining crypto currencies by tialaramex on Tuesday February 23, 2021 @04:56PM (#26243421)
Cost effective yes, efficient no.
Re:I heat my home by mining crypto currencies by lotsofpulp on Tuesday February 23, 2021 @06:17PM (#26244369)
The efficiency of a heat pump heating a home depends on the temperature outside of the home. I imagine a gas furnace is far more reliable and efficient during times when the outside temperatures are near or below freezing.
Re:I heat my home by mining crypto currencies by ramraj07 on Tuesday February 23, 2021 @05:22PM (#26243739)
I'm stull struggling to understand this concept can someone explain further
Re:I heat my home by mining crypto currencies by prutschman on Tuesday February 23, 2021 @06:02PM (#26244190)
Think of an inside-out refrigerator.

A fridge moves a certain amount of heat energy from the inside to the outside, but that doesn't come for free. You have to put extra energy into the system to make that happen. The hot side of the fridge gets the "moved" heat plus the heat from the work you had to do to move the heat. The work heat is waste.

If what you're trying to do is make something hot, you're moving heat energy from the outside to where you want it to be hot. That makes it hotter, but it requires work. In this case, since you want to make things hot anyway, that work heat is extra bonus heat.

Re:I heat my home by mining crypto currencies by emllnd on Tuesday February 23, 2021 @06:03PM (#26244209)
Say you have a 1kWh budget of energy to spend to heat a room and access to a variety of heating methods such as an air pump and an electric resistor (space heater or computer). Which one should you choose to maximize increase in warmth? While the electric resistor will convert the energy it uses to heat with a very high efficiency, the air pump will usually heat the room even more because it doesn’t just locally convert electricity to heat, it moves heat from outside the room to inside the room. Further info in [1] and [2].

EDIT: great explanation/details in sibling comment by ’prutschman’.

[1] https://www.homecomfortexpertsinc.com/why-are-heat-pumps-mor...

[2] https://www.quora.com/Why-are-heat-pumps-more-efficient-than...

Re:I heat my home by mining crypto currencies by Cu3PO42 on Tuesday February 23, 2021 @05:43PM (#26243989)
Think of the way your fridge works, but your house is the outside of the fridge and the ground is the inside of the fridge. That is, the heat pump uses electrical energy to move heat from the ground (more specifically a deep hole that is drilled) into your house. It takes less than 1J of electric energy to move 1J of heat, therefore one can claim an efficiency >100%.
Re:I heat my home by mining crypto currencies by salawat on Tuesday February 23, 2021 @03:11PM (#26242274)
You're still maximizing power generation demand. That makes environmental issues worse even if it does make fiscal sense. You aren't "using power tgat would go to waste anyway".

All power is JIT. It makes a difference.

Re:I heat my home by mining crypto currencies by Sohcahtoa82 on Tuesday February 23, 2021 @04:00PM (#26242828)
> You aren't "using power tgat would go to waste anyway".

That's not what I said.

I'm not "using power that would go to waste anyways", I'm generating heat that I would have needed anyways.

In other words, I need to add a little bit of heat to this room. I can either run a small space heater on Low and consume about 300W and get nothing but 300W of heat, or I can mine crypto and consume around 300W, generate the heat I wanted, and earn about $200/month on top of it.

In either case, I'm consuming 300W. I might as well make money in the process.

Re:I heat my home by mining crypto currencies by srcmap on Tuesday February 23, 2021 @02:51PM (#26242009)
Is there any cost analyze for using solar panel power for Crypto?

I am installing Solar from Tesla, wonder if I should just use the external power generated for crypto than to send them back to PG&E.

Re:I heat my home by mining crypto currencies by sgc on Tuesday February 23, 2021 @03:38PM (#26242565)
Since you can make money mining crypto paying for power, and the power company pays you less than they charge, or course using it for crypto makes financial sense.
Re:I heat my home by mining crypto currencies by hnuser123456 on Tuesday February 23, 2021 @01:36PM (#26240942)
$0.10/kWh @ 300W = $0.1/kWh * 0.3 kW * 720 hrs/mo = $21.60/month