Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
As noted in my last post, I recently released ppad-fixed, a high-performance fixed-width word library meant for use in cryptographic applications.
-
I’ve just released a new version of ppad-secp256k1 that supports dramatically faster Schnorr and ECDSA signature schemes, powered by faster elliptic curve arithmetic under the hood.
-
Taproot Assets endeavours to provide completely reproducible and verifiable build artifacts for all releases.
-
I wanted to make a quick addendum to my last post in that I did some further experimenting with Data.ByteString.Builder on both the base16 encoding and decoding tasks, comparing results with the impure direct-allocation-and-write-based implementations I m…
-
In this post I’m going to incrementally optimise a simple base16 (hexadecimal) encoding routine and illustrate what sort of performance boost each optimisation yields.
-
(UPDATE 2026/02/06: the nukes were redeployed; I rode the bomb down whooping, Major Kong style.)
-
In my last post I mentioned that both the Schnorr and ECDSA signature schemes on secp256k1 could be made faster via the so-called wNAF method for elliptic curve point multiplication (short for the cumbersome “w-ary non-adjacent form”).
-
I’ve released a library supporting BIP340 Schnorr signatures and deterministic ECDSA on the elliptic curve secp256k1.
-
Just FYI, I’ve dropped a few simple libraries supporting SHA-{256,512}, HMAC-SHA{256, 512}, and HMAC-DRBG.
-
I have a little library called sampling floating around for general-purpose sampling from arbitrary foldable collections.
-
Some years ago I wrote about using recursion schemes to encode stochastic processes in an embedded probabilistic programming setting.
-
Long ago, in the distant past, Curtis introduced the idea of kelvin versioning in an informal blog post about Urbit.
-
(UPDATE 2024/09/08: while hosting your own mailserver is not covered in this post, I recommend you check out Simple NixOS Mailserver for a borderline trivial way to do it.)
-
In my last post I first introduced hnock, a little interpreter for Nock, and then demonstrated it on a hand-rolled decrement function.
-
I wrote a little Nock interpreter called hnock some months ago and just yesterday updated it to support the latest version of Nock, 4K.
-
(UPDATE 2020/06/30: the good people at tweag.io have since published a Nix shell environment that appears to make testing arbitrary PRNGs much less of a pain.
-
I recently picked up Appel’s classic Compiling with Continuations and have been refreshing my continuation-fu more generally.
-
Why does my blog often feature its typical motley mix of probability, functional programming, and computer science anyway?
-
Take an iterated integral, e.g.
-
You can recognize truth by its beauty and simplicity. – Richard Feynman (attributed) In one of his early emails on the Cryptography mailing list, Satoshi claimed that the proof-of-work chain is a solution to the Byzantine Generals Problem (BGP).
-
Last week Dan Peebles asked me on Twitter if I knew of any writing on the use of recursion schemes for expressing stochastic processes or other probability distributions.
-
In my last two posts about the Giry monad I derived the thing from its categorical and measure-theoretic foundations.
-
In my last post I went over the categorical and measure-theoretic foundations of the Giry monad, the ‘canonical’ probability monad that operates on the level of probability measures.
-
The Giry monad is the canonical probability monad that operates on the level of measures, which are the abstract constructs that canonically represent probability distributions.
-
Here’s a short one.
-
To the.. uh, ‘layperson’, pre- and postpromorphisms are probably well into the WTF category of recursion schemes.
-
Some time ago I came across a way to in-principle perform inference on certain probabilistic programs using comonadic structures and operations.
-
What does a dead-simple probabilistic programming language look like?
-
Randomness is a constant nuisance point for Haskell beginners who may be coming from a language like Python or R.
-
.. this one is pretty dry, I’ll admit.
-
Suppose you’re in the derivatives business.
-
I’ve updated my old flat-mcmc library for ensemble sampling in Haskell and have pushed out a v1.0.0 release.
-
Applicative functors are useful for encoding context-free effects.
-
In Practical Recursion Schemes I talked about recursion schemes, describing them as elegant and useful patterns for expressing general computation.
-
I have another few posts that I’d like to write before cluing up the whole recursion schemes kick I’ve been on.
-
I previously wrote about implementing merge sort using recursion schemes.
-
I noticed this article by Tom Ellis today that provides an excellent ‘demystified’ introduction to automatic differentiation.
-
I’m presently at NIPS and so felt like writing about some appropriate machine learning topic, but along the way I wound up talking about parameterized recursive types, and here we are.
-
Merge sort is a famous comparison-based sorting algorithm that starts by first recursively dividing a collection of orderable elements into smaller subcollections, and then finishes by recursively sorting and merging the smaller subcollections together to…
-
I’ve released a number of libraries for doing Markov Chain Monte Carlo (MCMC) in Haskell.
-
Recursion schemes are elegant and useful patterns for expressing general computation.
-
Automatic differentiation is one of those things that’s famous for not being as famous as it should be (uh..).
-
Lately I’ve been trying to do some magic by way of nonstandard interpretations of abstract syntax.
-
(UPDATE 2016/08/15: Here be monsters.