HackerTrans
トップ新着トレンドコメント過去質問紹介求人

kaiuhl

no profile record

コメント

kaiuhl
·先月·議論
Not sure I’ve seen someone so openly hostile on HN in a while. Read the guidelines, and please share your thoughts in better faith.
kaiuhl
·7 か月前·議論
I don’t see it mentioned here yet in recommendations: Pentax 6x7 is an outstanding camera, especially paired with the 105mm f/2.4 lens. Some of my favorite photos ever have come from that pair.
kaiuhl
·9 か月前·議論
That’s just a performance optimization because blocks are typically only invoked, not passed or otherwise manipulated. If you want to do anything with the block, you pay a tiny tax and have a Proc instance.
kaiuhl
·9 か月前·議論
Blocks are actually instances of the Proc class. There are helper methods to handle blocks passed to methods in a lightweight manner but you can also accept the block as a method argument, e.g.,

  class Integer
    def times(&blk)
      i = 0
      while i < self
        blk.call(i)
        i += 1
      end
    end
  end
kaiuhl
·昨年·議論
But in general, ruby code only passes anonymous functions and, in those cases, the syntax is beautiful.
kaiuhl
·昨年·議論
We spend a large portion of the federal budget on human death prevention. It sounds like hyperbole, but anyone dying from administrative changes is literally “world ending” for them.

If a plan to cut bureaucracy was somehow analyzed to find that we could save 5% of the US budget in exchange for 10,000 lives, reasonable people might consider otherwise. To take these changes against life-saving organizations without first analysis of consequences is pretty reckless.
kaiuhl
·3 年前·議論
Yes, and only next day settlement. Because there’s no real time authorization, payments have two business days after settlement for the banks to report ordinary failures like insufficient funds.

How quickly a bank responds in that window depends greatly on the bank. In practice at decent scale, we see banks using every possible hour of that two day window to fail transactions.

An ACH debit made on Friday night technically has until open of business Wednesday to fail.
kaiuhl
·3 年前·議論
ACH has many of the same consumer protections as credit card networks. The window is 60 days instead of 90 days and the dispute outcome is always in your favor—merchants cannot respond to the dispute or win.