[-] farcaster@lemmy.world 6 points 3 days ago

According to the article this system also detects power outages and shuts off when they happen. Just like full-scale solar power systems. But yeah, no physical kill switch.

[-] farcaster@lemmy.world 15 points 1 week ago

I enjoy opamps. Texas Instruments LME49723 is one of my favorites :P

[-] farcaster@lemmy.world 22 points 2 weeks ago

By asking this question you're already ahead.

Be your genuine self. Share your wisdom. Love your child.

[-] farcaster@lemmy.world 18 points 2 weeks ago

I'm guessing regular non-LP DDR works fine socketed in desktops because power is nearly a non-issue. Need to burn a few watts to guarantee signal integrity? We've got a chonky PSU, so no problem. On mobile devices however every watt matters..

[-] farcaster@lemmy.world 1 points 2 weeks ago

I doubt doing it in software like that outperforms sqrtss/sqrtsd. Modern CPUs can do the conversions and the floating point sqrt in approximately 20-30 cycles total. That's comparable to one integer division. But I wouldn't mind being proven wrong.

[-] farcaster@lemmy.world 0 points 2 weeks ago* (last edited 2 weeks ago)

Well, yeah, but you asked why they didn't use integer sqrt. It's something many programming languages just don't have. Or if they do, it's internally implemented as a sqrt(f64) anyway, like C++ does.

Most CPUs AFAIK don't have integer sqrt instructions so you either do it manually in some kind of loop, or you use floating point...

[-] farcaster@lemmy.world 27 points 2 weeks ago

California somehow never fails to do the wrong thing when it comes to utilities.

The problem isn't people with a few solar panels on their houses, the problem is climate change and poorly maintained infrastructure leading to wildfires and massive liabilities. Perhaps if these liabilities would come out of PG&Es absurdly high profits they'll be motivated to rethink how maintenance and wildfire risk is mitigated.

[-] farcaster@lemmy.world 1 points 3 weeks ago* (last edited 2 weeks ago)

The builtin u64.isqrt seems to be available in nightly only, and additionally I guess the author didn't want to use any external crates as part of their self-imposed challenge. Though I think there may be an off-by-one result with f64.sqrt I don't think this functionally breaks their u64 code because they loop to root_n + 1.


[-] farcaster@lemmy.world 3 points 3 weeks ago

There isn't even any memory management in their code. And arguably the most interesting part of the article is implementing a bignum type from scratch.

[-] farcaster@lemmy.world 9 points 3 weeks ago

The author pointed out they also could've just called openssl prime -generate -bits 1024 if they weren't trying to learn anything. Rebuilding something from scratch and sharing the experience is valuable.

[-] farcaster@lemmy.world 89 points 4 weeks ago

As he alludes to, this is different on Teslas. Where in an attempt to save a few bucks on a simple sensor they're using "machine learning" to detect rain with the front-facing camera and it doesn't fucking work.

submitted 1 month ago by farcaster@lemmy.world to c/metal@lemmy.world

🚣‍♂️ 🤘

submitted 1 month ago by farcaster@lemmy.world to c/metal@lemmy.world
submitted 2 months ago by farcaster@lemmy.world to c/metal@lemmy.world
Faetooth - Echolalia (Fairy Doom) (faetooth.bandcamp.com)
view more: next ›


joined 7 months ago