RSSAmplifier

Blog

Hashset

Technical blogging mostly about functional programming. Hoping to write tutorials on how to accomplish various things.

RSS feed ↗23 posts

Latest posts

Reflecting on deserialization. Why you should explicitly decode your JSON.

Reflecting on deserialization. Why you should explicitly decode your JSON.JSON is everywhere. As developers, we will be required to work with it at some point or another. Maybe in the embedded space

Use Gleam to implement a Socket.IO server on Deno

Use Gleam to implement a Socket.IO server on DenoEvery now and then someone approaches you with a simple idea where you wonder how simple it would be to implement, but also lets your creative juices

WTF is "more expressive code"

Originally posted on https://iits-consulting.de/blog/what-is-more-expressive-codeWTF is "more expressive code"Throughout various discussions about differences between programming languages

Protect your ASP.NET site using FIDO2 Passkeys

This year's entry to Sergey Tihon's F# advent calendar. Thanks again :)Protect your ASP.NET site using FIDO2 PasskeysLast time we learned how to protect ASP.NET sites using Bitwarden's

Protect your ASP.NET site using Passkey's via the Passwordless service

Protect your ASP.NET site using Passkey's via the Passwordless serviceWebAuthn is a relatively new standard for authenticating users and is an incredibly secure way to authenticate users by being

Protect your ASP.NET site using Supabase authentication

Protect your ASP.NET site using Supabase authenticationNow that the pendulum is slowly swinging back towards classic plain HTML web servers, we can also simplify our authentication strategies.

HTMX, WebSockets, SignalR and you

This year's entry to Sergey Tihon's F# advent calendar. Thanks again :)HTMX, WebSockets, SignalR and youThis year was in interesting one in the web frontend space. The endless releases of

Derailing gracefully with Railway Oriented Programming

Derailing gracefully with Railway Oriented ProgrammingWhen learning F#, at some point you'll come across the concept of Railway Oriented Programming (ROP). It's primarily a technique used for

F# in strange places: Supabase edge functions

This is my entry for the F# Advent Calendar 2022. Thank you Sergey Tihon for organizing it.F# in strange places: Supabase edge functionsWe're all big fans of F#, otherwise you wouldn't be

Let's write Fable bindings for a JS library

Let's write Fable bindings for a JS libraryWriting fable bindings is easier than many people think it is, but still require a time investment depending on how much of the API of a

Using Sutil to develop a real world application

Using Sutil to develop a real world applicationThis is my entry for the F# Advent Calendar 2021. Thank you Sergey Tihon for organizing it. This post will explore building a small demo application

Managing your client connections in SignalR, including with authentication

Managing your client connections in SignalR, including with authenticationAlthough this post is written with a focus on using F# and Fable.SignalR, the concepts talked about are applicable to SignalR

Improving Real-time communication using Fable.SignalR

Improving Real-time communication using Fable.SignalRThis is a continuation of my previous blog post about real-time communication with Giraffe and Fabulous. Reading the other article is not required

Real-time communication with Giraffe and Fabulous

Real-time communication with Giraffe and FabulousReal-time communication can make any application that much more interactive. Whether it be a simple chat application, or other notifications that are

Test your UI by treating it as a state machine

Test your UI by treating it as a state machineI want to introduce a state machine testing library for .Net called Scrutiny. You can get it from NuGet here. It aims to allow random testing of state

My experience with the F# Mentorship program

My experience with the F# Mentorship programWhat is itThe Winter 2020 round of the F# mentorship program is now over. I participated as a mentor, and wanted to share my experience. The mentorship

Privacy respecting analytics using GoAccess

Privacy respecting analytics using GoAccessSince I bought my own domain, and rent a server to host this blog, I've been meaning to add some kind of analytics. But in the interest of user privacy,

Type safe SQL Queries using Rezoom.SQL

Type safe SQL Queries using Rezoom.SQLThis is my F# Advent Calendar 2019 entry. Last year I wrote about Fable React and Preact, but this year I want to write about data access, a topic that

Recursively replacing parts of a URL

Recursively replacing parts of a URLI’m slowly building a .Net Core global tool to do some REST API testing. One idea I had for this project was to be able to generate multiple URLs with different

Fable React is nice. But what about Fable Preact

Fable React is nice. But what about Fable PreactThis is my entry for the F# Advent Calendar 2018. I’ve been doing full-stack .Net web development for ~6 years now, and I learned F# ~3 years ago. In

User Defined Function (UDF) in SQLite and casting an F# function to a Func object

User Defined Function (UDF) in SQLite and casting an F# function to a Func objectI ran into an interesting problem recently. The task was to search for something within a SQLite database by comparing

Recursive Async

Recursive AsyncThere was recently a project I was working on that required a recursive call. The problem was, that the function returned an async workflow, and in my inexperience, I was running into

Power of Active Patterns

Power of Active PatternsI’ve been working on a dotnet core global tool. One of the things that such a tool has, is many command line options. I found Argu to parse these command line options. However