HN user

rwosync

1,596 karma
Posts43
Comments14
View on HN
sdiehl.github.io 7mo ago

From Zero to QED: An informal introduction to formality with Lean 4

rwosync
145pts21
www.stephendiehl.com 1y ago

Program Synthesis: The λ in the Machine

rwosync
3pts0
www.stephendiehl.com 1y ago

The Future of AI Maths May Be Deeply Weird

rwosync
4pts0
www.stephendiehl.com 1y ago

Interfacing MCP with Combinatorial, Convex, and SMT Solvers

rwosync
5pts0
www.stephendiehl.com 1y ago

Remote MCP Servers

rwosync
2pts1
www.stephendiehl.com 1y ago

The Kardashev-Marx Scale

rwosync
3pts0
www.ft.com 1y ago

Bitcoin's Identity Crisis

rwosync
3pts0
extrasensoryai.github.io 1y ago

Synthetic Reasoning Traces from Knowledge Graphs

rwosync
5pts1
concerned.tech 4y ago

Letter in Support of Responsible Fintech Policy

rwosync
5pts0
www.stephendiehl.com 4y ago

The Tinkerbell Griftopia

rwosync
191pts237
www.ft.com 5y ago

Tether reserves backed by 2.9% cash

rwosync
209pts177
amycastor.com 5y ago

Tether’s First Breakdown of Reserves

rwosync
5pts1
www.cell.com 5y ago

Bitcoin boom: what rising prices mean for the network’s energy consumption

rwosync
3pts0
indi.ca 5y ago

How Bitcoin Is Indistinguishable from Malevolent AI

rwosync
6pts0
www.bloomberg.com 5y ago

Why Elon Musk’s Dogecoin Tweets Have Hit a Bitcoin Nerve

rwosync
4pts0
www.stephendiehl.com 5y ago

Exotic Programming Ideas: Module Systems

rwosync
157pts56
github.com 8y ago

Bulletproofs – Short zero-knowledge arguments of knowledge

rwosync
185pts60
purelyfunctional.org 8y ago

MonadFix and the Lazy and Strict State Monad

rwosync
2pts0
dev.stephendiehl.com 8y ago

Reasoning About Program Behavior Algebraically [pdf]

rwosync
113pts12
github.com 8y ago

Nanocoin: A Cryptocurrency in Haskell

rwosync
3pts0
publications.lib.chalmers.se 10y ago

Dependently Typed Ethereum Contracts in Idris [pdf]

rwosync
4pts0
lexi-lambda.github.io 10y ago

Four months with Haskell

rwosync
249pts117
www.stephendiehl.com 10y ago

Monads to Machine Code

rwosync
9pts0
github.com 10y ago

Shem: A Haskell-Derived Compile-to-JavaScript Lisp

rwosync
117pts36
www.youtube.com 10y ago

In Search of Tomorrow: On the Future of Eve IDE [video]

rwosync
113pts15
skillsmatter.com 11y ago

Strongly Typed Publish/Subscribe Over Websockets via Singleton Types

rwosync
6pts0
lucumr.pocoo.org 11y ago

Revenge of the Types

rwosync
193pts133
www.stephendiehl.com 12y ago

What I Wish I Knew When Learning Haskell 2.0

rwosync
11pts0
blog.sigfpe.com 12y ago

Reverse Engineering Machines with the Yoneda Lemma (2006)

rwosync
7pts0
ro-che.info 12y ago

JSON validation combinators

rwosync
3pts0

In a way that doesn't involve A16Z cynically mis-representing blockchain as some people's champion.

That's precisely the game for these funds to keep that illusion up. They buy up a bunch of tokens in a presale discount, pump the price, and then dump it to a bunch of foreign retail investors based on inside information before the inevitable failure of the "product". A16z's crypto fund has made a killing doing just this and it's entirely legal. The SEC is only going to go after the founders and a16z will have long exited their position by the time of the lawsuit.

There are likewise some inaccuracies in this post. Both OPs seems to agree on the fact that Libra has no transaction privacy and then pick nits about features not being there at this point in time:

Libra’s byzantine tolerance on a permissioned network is an incoherent design.

This post's argument rests on their being a unused flag in the configuration file for a feature which is not implemented. The Libra whitepaper indicates that a permissionless design is beyond their ability to implement at this time. There is no reason to believe a proof-of-stake model is what is intended. Even the whitepaper states:

The challenge is that as of today we do not believe that there is a proven solution that can deliver the scale, stability, and security needed to support billions of people and transactions across the globe through a permissionless network.

Libra HotStuff BFT is not capable of achieving the throughput necessary for a payment rail

This seems like some actual benchmarks that simulate real system load are needed before a conclusion can be made.

Libra’s Move language is unsound

It seems like the OP takes a more traditional view of type checkers as a Haskeller programmer. Pushing type-checking to the bytecode level is a very nontraditional approach to compiler design and contradicts the original Libra whitepaper claiming to implement linear types. Libra does not do this provide any linear typechecker or formal verification at this time.

Libra’s cryptography engineering is unsound

This section is subject to some debate. It seems there are some unpublished audits of the libraries that may lend credibility to the Rust libraries but are unpublished. The original post doesn't claim that they are insecure, just that the more audits and testing the libraries undergo the more trusted they should become trusted (i.e. libsodium).

It also seems that Libra implements a lot of extraneous next-gen crypto that is dead code and not used for any purpose in the core logic.

Libra has no capacity for consumer protection mechanisms

The section agrees with the OP that this does not exist.

Like most things, the kernel of tomorrow's ideas is already here. On the scale of the next five years, these ideas will give rise to what the future of programming will look like:

* Refinement types

Liquid Haskell: https://ucsd-progsys.github.io/liquidhaskell-tutorial/02-log...

* SMT Solver Language Integration

Cryptol: https://github.com/GaloisInc/cryptol

* Session Types

Scribble: http://www.scribble.org/

* Dependent Types

Agda: https://en.wikipedia.org/wiki/Agda_(programming_language)

Idris: http://www.idris-lang.org/

* Effect typing

Koka: https://research.microsoft.com/en-us/um/people/daan/madoko/d...

* Formal verification

Coq: https://www.cis.upenn.edu/~bcpierce/sf/current/index.html

TLA+: http://research.microsoft.com/en-us/um/people/lamport/tla/tl...

This is the general trend, generally making more composable abstractions and smarter compilers and languages that can reason about more of our programs for us.

Static typing is mostly orthogonal, Haskell is mostly blazing fast because of all the aggressive compiler optimizations and the last decade of hard work by Simon Marlow and others on the parallel runtime.

I think this really gets to the core strength of Haskell, which for me has always been having code that we can rapidly prototype but migrate into production and have living in the codebase for a long time. I've written code in good deal of languages and haven't found a language with the power/weight ratio that Haskell has.

The slight cost I have found though is that a lot of the tools he mentioned have a rather steep learning curve ( monads, parsec, repa, conduits, lens ) especially for those coming from an imperative background. But learning any of them is an investment in your programming skills that pays off ten-fold down the road.