jex's avatar
jex
npub1ru9h...35qe
jex's avatar
jex 1 year ago
simple example showcasing stack vs heap behavior let w = 5; let x = w; // two copies of value w now on the stack let y = Box::new(w); // copy value w on the heap (y points to it from stack) let z = y // ownership change. y goes out of scope and now z points to that value on the heap.
jex's avatar
jex 1 year ago
Bitcoin gives me so much to look forward to. Can’t image how it must feel to be a normie.
jex's avatar
jex 1 year ago
Happy birthday Albert Einstein. He would have been a legendary bitcoiner.
jex's avatar
jex 1 year ago
I like 1 Peter 3:15 because it makes me think of Bitcoin. “… and if someone asks you about your hope as a believer, always be ready to explain.” It’s our duty as bitcoiners to educate ourselves as well as we can and be able to articulate our convictions if asked (sincerely).
jex's avatar
jex 1 year ago
documentation comments in Rust are pretty cool because you can write test examples in markdown and then Doc-tests will be run when you execute `cargo test`. Good way to have documentation of your API and be sure that it stays up-to-date with your code.
jex's avatar
jex 1 year ago
Just enrolled in "ECON103: Principles of Austrian Economics I" @Michael Saylor Academy. sounds pretty interesting
jex's avatar
jex 1 year ago
Zero-cost abstraction with iterators - how neat is that?
jex's avatar
jex 1 year ago
Preimage attack (find same input) Second preimage attack (find alt input) Collision attack (bday paradox)
jex's avatar
jex 1 year ago
Beef tongue burritos
jex's avatar
jex 1 year ago
Notes with my Ticonderoga
jex's avatar
jex 1 year ago
$ cargo run ... Compiling bdk_test v0.1.0 Finished dev [unoptimized + debuginfo] target(s) in 0.80s Running `target/debug/bdk_test ₿DK rocks! mnemonic: release repeat vendor code finish discover put error mean stock display doll recv desc (pub key): "wpkh([c09eb2be/84'/1'/0']tpubDDFa8ZzFYsqSnHwdfF7UhY8ELvxrMJQ2eJir1BKscjADuGqHkM3NrmtcMFT7CcturXArLUTvY8htddVxiEJaeyFwbjzBqKFm6AAmZ1WCdZr/0/*)#wqkg3sas" chng desc (pub key): "wpkh([c09eb2be/84'/1'/0']tpubDDFa8ZzFYsqSnHwdfF7UhY8ELvxrMJQ2eJir1BKscjADuGqHkM3NrmtcMFT7CcturXArLUTvY8htddVxiEJaeyFwbjzBqKFm6AAmZ1WCdZr/1/*)#l5nfv9dg" @Bitcoin Dev Kit
jex's avatar
jex 1 year ago
finished the book (Rust) section 13.2 this evening on iterators. iterators are so lazy
jex's avatar
jex 1 year ago
if I didn't have to work - I'd work on bitcoin
jex's avatar
jex 1 year ago
Pr( A⋂B ) = Pr(A) × Pr(B)
jex's avatar
jex 1 year ago
Guy on a buffalo
jex's avatar
jex 1 year ago
Broken Money by Lyn Alden
jex's avatar
jex 1 year ago
I think a Rust implementation of the WabiSabi protocol for coinjoin would be cool
jex's avatar
jex 1 year ago
No one is bullish enough