Corona is killing me: Trying to help dad make a good Scanner work: Dad: it needs drivers. Me: No absolutely not. Is it turned on? Dad: yes, (15 minutes) but no.
Finally got my integer division code to accurately work without needing to long divide/ multiply.
While the the code is fundamentally counting the divisor up to the dividend, the way it does this is optimized so it's not naively slow. Now just to see if it's slower than actually doing long division... -_-
Now that I think about it, it probably is...
Hm. This reminds of a search algorithm I did not too long ago. I thought it was intelligent but nope, the overhead of setting it up made it stupid slow.
Did some testing and yea, it was slow. Terribly slow.. there was massive overhead at its end because it defaulted to incremental counting too early
But now I've got another idea to prevent it from having to switch to its last resort (incremental counting)..
Was about to give up and just plug in long division into the code instead, but the whole purpose of the project was for me to learn so I'll keep on experimenting..
This was the strategy I was using for division of arbitrary-precision unsigned integers.. but I think long division may be more optimal to implement (not necessarily for familiarity or readability's sake)
@traducerad The only legitimate way of making/maintaining ios apps is on a Mac. So I maintain my ios apps on Mac, Android apps on Windows and a server on Linux. I also do a bit development on Arduino and raspberry pi. All of those are pretty much for hobby so ...
Just saw a $2K mac that's similar to my $1k Mac + $200 upgrade.
AUD $200 upgrade contains a battery replacement and a 512GB SSD. I am still waiting for the SSD. $170 to be more exact, not $200
and takes away cores (because those useless garbage units take up space). Is this actually true, considering how much of the chip is dead silicon?
The conspiracy theory is that Torvalds is just trying to cover up the deficient implementation of floating points in the kernel, but a long term observer would note that they are deficient because of Linus's beliefs that nobody needs floating point computation...
Not to mention AMD's bullshit Bulldozer where they tried to get away with reducing the number of floating point units
I'm kinda worried if the Windows ecosystem gets migrated to the Linux kernel. The Linux kernel sucks, and the maintainers have been wrong about a lot of things.