HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kaiuhl

no profile record

comments

kaiuhl
·الشهر الماضي·discuss
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 أشهر·discuss
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 أشهر·discuss
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 أشهر·discuss
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
·السنة الماضية·discuss
But in general, ruby code only passes anonymous functions and, in those cases, the syntax is beautiful.
kaiuhl
·السنة الماضية·discuss
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 سنوات·discuss
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 سنوات·discuss
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.