Duncan McArdle·Nov 21, 2022How to write beautiful, interactive Slack posts (Slack Block Kit)Have you ever wanted to convey information via Slack in a more visually appealing way? Slack makes it super simple to add emphasis to your…
Duncan McArdle·Mar 17, 2022Quantifying Happiness — by listing 3 positive things per daySeveral months back I read what quickly became one of my favourite books of all time, The Happiness Advantage, by Shawn Achor. The reason…
Duncan McArdle·Feb 23, 2022Migrating from GitLab to GitHubHaving recently undergone an acquisition, I was tasked with the fairly standard post-merger task of migrating our existing codebase over to…A response icon1A response icon1
Duncan McArdle·Feb 23, 2022Migrating from MediaWiki to ConfluenceOne of the most valuable assets a software company holds, is its documentation. Although not as important as the code itself, documentation…
Duncan McArdle·Jul 27, 2021The ONLY correct way to handle users changing their email addressLike many people who have been on the internet for more than 5 years, I have been burdened with an outdated email address for some time…A response icon3A response icon3
Duncan McArdle·Jan 25, 2021What is LeetCode, and why do I post solutions to it on Medium?A few months back, I entered the crazy world of LeetCode.A response icon2A response icon2
Duncan McArdle·Jan 16, 2021Sorting algorithms 101In the world of programming, there are many ways to sort data. For the average engineer, you might just use .sort(), perhaps with a…
Duncan McArdle·Jan 11, 2021LeetCode problem #39: Combination Sum (JavaScript)In this LeetCode problem, we’re given an array of numbers, and a target. Our job is to come up with every possible unique way to make that…A response icon1A response icon1
Duncan McArdle·Jan 7, 2021LeetCode problem #237: Delete node in a Linked List (JavaScript)In this LeetCode problem, we’re asked to delete a node from a Linked List. However, we aren’t given the Linked List’s head, and are instead…
Duncan McArdle·Jan 7, 2021LeetCode problem #234: Palindrome Linked List (JavaScript)In this LeetCode problem, we’re given a Linked List, and asked to determine whether or not it (or rather, its values) represents a…A response icon1A response icon1