<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://loominate.net/</id><title>Loominate</title><subtitle>The personal blog of Michael Welch. Rarely updated. It contains random exercises and thoughts I had mostly about programming.</subtitle> <updated>2024-10-05T20:01:19-05:00</updated> <author> <name>Michael Welch</name> <uri>https://loominate.net/</uri> </author><link rel="self" type="application/atom+xml" href="https://loominate.net/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://loominate.net/"/> <generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator> <rights> © 2024 Michael Welch </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Disabling Password Authentication with SSH on macOS Big Sur</title><link href="https://loominate.net/posts/disabling-ssh-password-authentication-macos/" rel="alternate" type="text/html" title="Disabling Password Authentication with SSH on macOS Big Sur" /><published>2023-02-14T09:02:00-06:00</published> <updated>2023-02-15T21:52:04-06:00</updated> <id>https://loominate.net/posts/disabling-ssh-password-authentication-macos/</id> <content src="https://loominate.net/posts/disabling-ssh-password-authentication-macos/" /> <author> <name>Michael Welch</name> </author> <category term="system administration" /> <category term="macOS" /> <summary> 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/sshd_config, locating the entry PasswordAuthentication, uncommenting it if it was commented out, and setting the value to no. Then restarting ssh via systemctl restart ssh.service Today, I wanted ... </summary> </entry> <entry><title>Fixing Git Commit Signing</title><link href="https://loominate.net/posts/fixing-git-commit-signing/" rel="alternate" type="text/html" title="Fixing Git Commit Signing" /><published>2020-10-15T00:00:00-05:00</published> <updated>2023-02-04T15:56:56-06:00</updated> <id>https://loominate.net/posts/fixing-git-commit-signing/</id> <content src="https://loominate.net/posts/fixing-git-commit-signing/" /> <author> <name>Michael Welch</name> </author> <category term="software development" /> <summary> 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 something yesterday and couldn’t think of any tooling changes since then. I attempted a few things without success: Changed the format of my signing key in my .gitconfig file per Troubleshooting gpg git ... </summary> </entry> <entry><title>Combinations Part 5 - (wrapping it up)</title><link href="https://loominate.net/2014/11/01/combinations-part-5-wrapping-it-up/" rel="alternate" type="text/html" title="Combinations Part 5 - (wrapping it up)" /><published>2014-11-01T00:00:00-05:00</published> <updated>2023-02-04T19:50:59-06:00</updated> <id>https://loominate.net/2014/11/01/combinations-part-5-wrapping-it-up/</id> <content src="https://loominate.net/2014/11/01/combinations-part-5-wrapping-it-up/" /> <author> <name>Michael Welch</name> </author> <category term="computer science" /> <summary> 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 combinations of k true booleans in a collection of n booleans where \(k &amp;lt;= n\). We can use the work we’ve done so far to solve the original problem. See Lippert Part 3 to follow along with his po... </summary> </entry> <entry><title>Combinations - Part 4 (combinations of booleans)</title><link href="https://loominate.net/2014/11/01/combinations-part-4-combinations-of-booleans/" rel="alternate" type="text/html" title="Combinations - Part 4 (combinations of booleans)" /><published>2014-11-01T00:00:00-05:00</published> <updated>2023-02-04T20:09:02-06:00</updated> <id>https://loominate.net/2014/11/01/combinations-part-4-combinations-of-booleans/</id> <content src="https://loominate.net/2014/11/01/combinations-part-4-combinations-of-booleans/" /> <author> <name>Michael Welch</name> </author> <category term="computer science" /> <summary> 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 part 3 of his series. Let’s implement in parts like Eric did, starting with some preliminaries and the signature typealias BoolStack = ImmutableStack&amp;lt;Bool&amp;gt;; let singletonEmptyBoolStack = Seque... </summary> </entry> <entry><title>Combinations - Part 3 (SequenceOf extensions)</title><link href="https://loominate.net/2014/11/01/combinations-part-3-sequenceof-extensions/" rel="alternate" type="text/html" title="Combinations - Part 3 (SequenceOf extensions)" /><published>2014-11-01T00:00:00-05:00</published> <updated>2023-02-04T20:34:02-06:00</updated> <id>https://loominate.net/2014/11/01/combinations-part-3-sequenceof-extensions/</id> <content src="https://loominate.net/2014/11/01/combinations-part-3-sequenceof-extensions/" /> <author> <name>Michael Welch</name> </author> <category term="Apple" /> <category term="computer science" /> <summary> 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 complicated but as my comfort level increased I figured out how to simplify some of them so much that they hardly provide any value anymore. Let’s take a look. First I wanted some way to create an empty ... </summary> </entry> </feed>
