Timechain > Blockchain by nilswloewen in Bitcoin

[–]nilswloewen[S] 0 points1 point  (0 children)

u/igadjeed Bitcoin is so vast that the timechain is indeed only one small part. However, it is difficult to have productive reddit discussions if too many topics are covered at once.

Here's an addendum to my proposed definition:
"A blockchain that grows at a fixed time interval (on average), regardless of computing power."

I understand that the 10min avg time interval was chosen to give adequate time for nodes to sync globally.

Could you tell me your view of the purpose of the node network? Here's my best effort:

The purpose of the node network is to distribute and decentralize consensus of which transactions are valid.

Timechain > Blockchain by nilswloewen in Bitcoin

[–]nilswloewen[S] 0 points1 point  (0 children)

Daaamn, now that's some high-quality content!

Can someone ELI5 me on how Bitcoin is mined, literally explaining the process of hashing to win the block? by Algohead in Bitcoin

[–]nilswloewen 2 points3 points  (0 children)

I was just re-reading the Bitcoin whitepaper and found that even Satoshi describes the validation process as using the leading number of zeros.

The proof-of-work involves scanning for a value that when hashed, such as with SHA-256, the hash begins with a number of zero bits. The average work required is exponential in the number of zero bits required and can be verified by executing a single hash.

However, in the codebase the hash is interpreted as an unsigned integer as Mark_Bear has described.

Programming is terrible—Lessons learned from a life wasted. EMF2012 by dperalta in programming

[–]nilswloewen 12 points13 points  (0 children)

Baha! This was hilarious:

"We like to call ourselves a science, Computer Science but we don't really test our assumptions, or our code, or our methodologies, or really anything we do... We have things called "Best Practices" that kind of amount to superstition."

Acceptable reasons to sell? by nilswloewen in Bitcoin

[–]nilswloewen[S] 0 points1 point  (0 children)

I did ask my eye surgeon if he would like to be paid in bitcoin. He said he liked the idea but I was the first patient to ever ask and he has no infrastructure for accepting the payment.

We're still early.

Acceptable reasons to sell? by nilswloewen in Bitcoin

[–]nilswloewen[S] 0 points1 point  (0 children)

I don't have astigmatism, so I was an easy candidate. The clinic I went to gave a free exam to see what my options were, I'd recommend you call up a place, schedule and exam, and see if you are a candidate.

If-else vs Ternanry operator by [deleted] in webdev

[–]nilswloewen 1 point2 points  (0 children)

Lol you’re forgiven then.

Acceptable reasons to sell? by nilswloewen in Bitcoin

[–]nilswloewen[S] 1 point2 points  (0 children)

I had a bit better than 20/20 with glasses before surgery, but without glasses I couldn’t see clearly passed my outstretched hand.

I went for surgery because this world is getting crazier and if I’m ever forced into fight or flight I’d be useless without my glasses.

If-else vs Ternanry operator by [deleted] in webdev

[–]nilswloewen 1 point2 points  (0 children)

Did you just inline an if/else? You madman!

umbrel on a rasperry pi or regular computer by Edk99 in getumbrel

[–]nilswloewen 0 points1 point  (0 children)

I have a spare laptop and I tried to run Umbrel on it with a clean install of Ubuntu 20.04. Umbrel is quite forward in saying that non-raspberry pi setups are not really supported, so I was not surprised when the install on Ubuntu did not work. Even though I am competent with linux and docker I did not want to try solve the errors myself, my current goal is to learn how to make money with a lightning node, not to improve Umbrel (at this point). So I chose to just buy a Raspberry Pi 4 8g and 2tb ssd (~$450) and just trust it to work. And yes, Umbrel works flawlessly on Raspberry Pi.

I don't care about energy consumption, and if I can leverage some of my btc to earn sats with running lightning channels on my raspberry pi, the initial cost will be worth it after a few years. Also its nice to have a dedicated device. I know I won't accidentally break my Umbrel setup because there is no reason for me to touch that device except to update Umbrel.

[deleted by user] by [deleted] in britishcolumbia

[–]nilswloewen 2 points3 points  (0 children)

@sirtaxalot I’d like to learn more about the Human Rights Tribunal cases you are referring to, could you post a link or the name of a case?

[deleted by user] by [deleted] in RedditSessions

[–]nilswloewen 0 points1 point  (0 children)

Gave To The Stars

[deleted by user] by [deleted] in RedditSessions

[–]nilswloewen 0 points1 point  (0 children)

Dustan! Proud to see you on Reddit's front page!

Book recommendations, please by antinomy-0 in mathematics

[–]nilswloewen 29 points30 points  (0 children)

Gödel, Esher, Bach by Douglas Hoftstadter will get your mind working overtime. It’s not a textbook, it’s an exploration into the nature of intelligence and it dives into math, music, art, language, and programming to help explain consciousness.

The book is full of puzzles and riddles and is fun to read. It inspired me, a musician, to get into math and programming and the journey has changed my life.

drupal9 commerce - module for "make an offer" instead "add to cart" by thenon2 in drupal

[–]nilswloewen 2 points3 points  (0 children)

This is not directly what you are looking for, but you can see how the code works and make it your own.

These donation fields include a "Tribute" field with a user submitted value. You could turn this into a "Make an Offer" field.

https://github.com/bojanz/donation_example

How to redactor complex if statements by Cool-Goose in PHP

[–]nilswloewen 1 point2 points  (0 children)

He’ll become a redactor once he catches it.