News for hackers. Stuff that matters.
Re:Bitcoin From Scratch – Part 1 by monokh on Friday July 03, 2020 @08:39PM (#23728978)
(author here) Absolutely. Thanks for pointing this out. If difficulty adjusted in factors of two, the ability of the network to accurately maintain its 10 mins blocktime become impaired.

I try to keep these concepts rather simplified to ease the reading and learning process. Perhaps there should be a note for these situations.

Re:Bitcoin From Scratch – Part 1 by sowbug on Friday July 03, 2020 @08:52PM (#23729051)
In defense of the explanation, sometimes it's asking for an unnecessary mental leap of the reader to think of a bit array as a number, especially if the reader is not accustomed to thinking in base-2 or base-16 number systems.
Re:Bitcoin From Scratch – Part 1 by nullc on Friday July 03, 2020 @09:52PM (#23729342)
The hash is just a number regardless-- surely no one has any problem understanding any other number in the protocol as a number! :)
Re:Bitcoin From Scratch – Part 1 by bouncycastle on Friday July 03, 2020 @10:30PM (#23729531)
Even this sentence is just a number.
Re:Bitcoin From Scratch – Part 1 by yaktubi on Saturday July 04, 2020 @07:13AM (#23731533)
Really it’s not because it’s a sequence of glyphs first and foremost. It can be mapped to a number though.
Re:Bitcoin From Scratch – Part 1 by bouncycastle on Saturday July 04, 2020 @10:10AM (#23732292)
Nope, no mapping necessary. 36 octets, so a single 288 bit number in base 2. (Big-endian, unsigned, I guess) Then convert to any base you want.

(I should have probably used 32 octets so that it fits neatly in 256 bits)

Re:Bitcoin From Scratch – Part 1 by yaktubi on Monday July 06, 2020 @12:23PM (#23749478)
Isn’t that a mapping? Because the primary purpose of the string of glyphs is readable by humans. Such representation is mapped to the numerical representation for storage in the computer. It may also be mapped to lines of ink written on a piece of paper for transmission
Re:Bitcoin From Scratch – Part 1 by bouncycastle on Friday July 10, 2020 @10:48PM (#23799036)
Oh, in my example, it's just a coincidence that the number was readable by humans! Other numbers may come out as complete gibberish.

The "mapping" you may be referring to is happening outside and subject to how your brain /your browser interpret it. (How do you know that when I posted the comment, that I didn't supply the raw bits of the number?! ;-))

Anyway, it was just a joke for low level-programmers I guess. Have a good day ;-)

Re:Bitcoin From Scratch – Part 1 by withinboredom on Saturday July 04, 2020 @06:35AM (#23731411)
You could easily explain the basic principles in human-sized numbers (ie, less than 1024).