How to setup Jupyter with dotnet 5 on Arch Linux in 2021 Feb 26, 2021 Jupyter “Notebooks” are an interesting way of documenting / teaching code interactively. Jupyter has extended their plattform for other languages (it was originally conceived for Python). See this microsoft anouncement from 2020-06 for dotnet core integration. ...
TDD Money Step-by-Step in C# Feb 25, 2020 While preparing a TDD workshop, I ported Kent Beck’s Money example from the book “Test-Driven Development by Example” to C# using .NET Core I’ve tried to map each change described in the book to a dedicated git commit with a sensible commit message. ...
F# Smart Constructor Feb 10, 2020 The “Smart Constructor” pattern allows us to create a type with F#. With validation. TL/DR Here is the F# boiler plate needed to implement the Value Object pattern. let UserName = private UserName of string module UserName = let isValid s = // . ...
F#: Function Signature Feb 05, 2020 I always forget how to write Haskell-like function signatures in F#. type AddOne = int -> int let addOne : AddOne = fun i -> i + 1 You can think of AddOne as an interface in OO-languages, for functions. ...
Blog: Update to Hugo Jan 05, 2020 I’ve replaced the static blogging engine of this blog. The previous blogging engine (Octopress) hasn’t been updated in a while, so I switched to Hugo. Old links should still work. ...