I recently setup a Mastodon server on Digital Ocean. As part of the instructions you must disable password authentication via ssh on your server. On Ubuntu 20.04 this required editing /etc/ssh/s...
Today I went to commit something to a repo and this happened: $ git commit error: gpg failed to sign the data fatal: failed to write commit object I know that I successfully committed somethin...
The original problem as posed by Eric Lippert was to write a function to produce all the combinations of k elements from a collection of n elements. So far I’ve ported the code to product all the c...
In this article we’ll implement the combinations function from Eric Lippert’s post. Here he implements a function that returns all the combinations of n booleans with k of them set to true. See ...
I want to continue on with my implementation of Combinations. But first, when working on this problem I determined I really needed some helper methods on SequenceOf. Initially these were very comp...
Last time I started working on the combinations problem that Eric Lippert wrote about: Collections We’ll be working a lot with SequenceType, SequenceOf, GeneratorType and GeneratorOf. I’m more fam...
I’ve had a difficult time trying to understand the collections in the Swift programming language from Apple. In particular, I’ve been trying to identify the analog of the IEnumerable type from C#. ...
Last time I developed a representation of Natural numbers following Eric Lippert’s lead. In this post I’ll continue to follow him and implement addition. Eric did all the hard work of explai...
I’ve been following a set of posts written by where he is implementing arbitrary size naturals and the corresponding arithmetic in C#. As I follow along I’m writing an implementation in Haskell ...
Over the years I’ve accumulated some Subversion repositories. I used Subversion to control the source code I wrote for my masters courses. These repositories are sprinkled around a couple of comp...
A new version of content is available.