News for hackers. Stuff that matters.

peterbb_net

Re:Deriving Dependently-Typed OOP from First Principles on Monday June 24, 2024 @02:00PM (#40778934)
Nice paper on an interesting topic. I’ve not had a chance to read the paper thoroughly, but the judgmental equality ended up weaker than I anticipated. I’d hope we’d end up with alpha-equivalent codefs being judgmentally equal.

Which makes me wonder what the next steps for a proof assistant based on this is. Will the de-/refunctionalization play an active role in the proof assistant as well, thus solving it as described in section 4.1?

Re:Catala: A Programming Language for the Law on Thursday May 06, 2021 @05:23AM (#27060855)
I assume you refer to his results regarding axiomatic systems for arithmetic on natural numbers? If a law attempts to capture this, then, sure, it's problematic. But I don't that's very common.

From what I've seen, formal methods for legal systems would take the "facts" of a case as given (assumptions), and deduce legal consequences of those.

Re:Text-Only Websites on Thursday June 25, 2020 @09:36AM (#23640553)
I'm using what is probably the simplest static site generator: cat.

  for f in texts/*.html; do
    cat preamble.html "$f" postamble.html > out/$(basename "$f")
  done
The front-page is written manually.