HN user

rpz

48 karma
Posts5
Comments98
View on HN

A number of replies are wondering if I am misunderstanding bitcoin’s UTXO model. Considering the amount of replies I’m going to assume that is the case :). Thanks to most of you for your kind replies!

With that being said I’m still confused about how blockchain.com is representing this data. Consider block 825075 on the bitcoin blockchain.

https://www.blockchain.com/explorer/blocks/btc/825075?page=1...

Not all of the transactions in this block show with multiple outputs where one output is the originating address. In fact if you sort by value ascending you’ll be able to see multiple transactions from the same address to the same address amount to $.13 with fees $2.86 transaction ids 78b1741ee0946380d9ee31d51d160a637394b24b5cfdc2871861d8e1db484d2f and 201a94087323d152911575ea029df9d1a0d46626a1b18211727be913d747e72f and so on.

Now, contrast those transactions with transaction f395de972c4ba3fea85a2c1621bfe9fa238950f6a2eb3d3b4932f7f620f63ce2

Why do they display differently on blockchain.com?

Has anybody else poked around in a bitcoin blockchain block explorer recently to look at the individual transactions of a block?

Honestly I find it kind of suspicious but I could easily be missing something. I see multiple transactions spend more on fees than the amount exchanged in the transaction. A number of transactions looked enormous but turned out to be some form of washing. E.g address X sends $100MM worth of bitcoin to two addresses, with ~$1k going to address Y and the rest going right back to address X.

What’s the point? Why not just send $1k to address Y.

I originally started looking around to get a sense for how much bitcoin is being transacted relative to the block reward. As the halvings continue I can’t imagine how miners can profit without exorbitant transaction fees. Many of the transaction fees in the block I looked at were comparable to wire transfer fees.

Why would anybody want to use bitcoin outside of speculation after nearly all 21mm bitcoin are mined? Why would anybody want to continue mining as well?

Origins of J 3 years ago

I’m in the same boat. Outside of a professional setting atw style is the only way I write code. I find code easier to manage when I can see more of it at once. I like to use this style in JavaScript as well.

Agreed I remember being faster than my friends who preferred the “abc” mode. Not sure if all phones did this but my phones would sort the words by frequency of use for each combination of button presses so T9 kept getting faster the more I used it.

I was messing around looking into the collatz conjecture in q/k4 and I realized that I could write the short cut collatz function without any conditionals as follows by taking advantage of the fact that you can use the result of x mod 2 to zero out some terms when x is even.

note: no operator precedence in q/k

  q)cc:{(x+(2*x*m)+m:x mod 2)div 2}
  q)cc til 20
 0 2 1 5 2 8 3 11 4 14 5 17 6 20 7 23 8 26 9 29
After some algebra I arrived at
  cc:{(x*1+x)-(x div 2)*1+2*x}
Figured I'd share what I found since I don't see this formula mentioned on https://en.wikipedia.org/wiki/Collatz_conjecture . Has anybody else encountered this formula?

I've linked a chart of the function with its definition in more familiar mathematical notation. It's extended onto the reals by utilizing the floor function.

PS: Notation is a tool of thought!

If the language has no operator precedence then

  1+x*2-3%x
is just as easy if not easier to decipher compared to both of your other examples imo. The above is equivalent to
  (1+(x*(2-(3%x)))) 
in APL/j/k. You get used to it pretty quickly.

Here is an example of the effect straight from the article:

The ion trap was then regularly "measured" by applying a sequence of ultraviolet pulses during the RF pulse. As expected, the ultraviolet pulses suppressed the evolution of the system into the excited state.

Not sure why this parent comment is bothering others so much.

If applying pulses of UV light is considered as an example of taking a measurement then I don’t see how I could be surprised when someone wonders whether or not the measurement itself is more than just an observation.

Atoms are sensitive to changes in electric and magnetic fields. Wine glasses are sensitive to being struck with a hammer. I can detect whether I just smashed glass with a hammer by listening for the sound the glass made when it was smashed to a billion pieces.