Amin Khansari
banner
akhansari.tech
Amin Khansari
@akhansari.tech
🌳🦎 Passionate about socio-technical architecture, defensive design and simple boring sustainable λ code.

https://akhansari.tech/
https://github.com/akhansari
🇪🇺🇫🇷⚛️🗣️🇬🇧
I 🦖 my new neovim mascot
October 31, 2025 at 9:26 AM
All modern Linux Desktops have this option now.
(I tend not to use the mouse very often)
Mine which is Cosmic:
October 20, 2025 at 9:36 AM
September 30, 2025 at 6:55 AM
Once we get the concept of borrowing, it's pretty easy and straightforward to learn #Rust if we already know F# or OCaml.

Error propagation is also interesting:
July 18, 2025 at 10:29 AM
Oh, I had no idea how easy it was to use Roslyn.
April 23, 2025 at 6:05 PM
April 11, 2025 at 1:28 PM
Slava Ukraini 🇺🇦
February 28, 2025 at 11:53 PM
February 14, 2025 at 9:51 PM
I use lazyvim.org as distribution and all I did was install fsautocomplete with mason 💙

But I've never tried to debug. Usually I run dotnet watch test in a Zellij pane next to nvim pane.
January 8, 2025 at 2:32 PM
#AdventOfCode Day 11 #FSharp
Depth-first and caching is again the key
December 11, 2024 at 6:43 PM
#AdventOfCode Day 10 #FSharp
Standard depth-first search
December 10, 2024 at 9:02 PM
#AdventOfCode Day 9 - Part Two #FSharp
Pretty fun to play with Linked List. As I couldn't think functional, the code is very similar to C#.
December 10, 2024 at 1:07 PM
#AdventOfCode Day 9 - Part One #FSharp
I was faced with a lot of difficulties to think functional.
I tried to not create a big array, by going once from start to end and then from end to start, and merging free spaces.
December 10, 2024 at 12:49 PM
#AdventOfCode Day 8 #FSharp
I couldn't simplify as much as I wanted and not to use HashSet.
github.com/akhansari/ad...
December 8, 2024 at 4:00 PM
#AdventOfCode Day 7 #FSharp
Using recursive backtracking.
December 7, 2024 at 2:38 PM
If #AWS were an image
December 5, 2024 at 2:54 PM
#AdventOfCode Day 5 #FSharp
Why structural equality matters.
December 5, 2024 at 9:41 AM
#AdventOfCode Day 4 #FSharp
I think for day 4, no one has followed the same approach.
- Rotating a matrix clockwise, then search for XMAS
- Extracting a string by position and direction, then compare to XMAS
- Or just comparing chars in a 2D array by direction
- ...
December 4, 2024 at 12:22 PM
OK, in #Gleam it's better to take advantage of use expressions.
December 3, 2024 at 11:31 AM
#AdventOfCode day 3 in #FSharp
I'd love to learn FsLexYacc or FParsec instead of using Regex.
December 3, 2024 at 9:58 AM
#AdventOfCode day 2 in #FSharp
Too lazy not to do brute force.
But the idea is get the first irregularity index, remove it, and test the safety again.
December 2, 2024 at 10:37 PM
#AdventOfCode Day 1
#FSharp vs #TypeScript vs #Gleam
By trying to not loop multiple times
December 2, 2024 at 6:00 PM
I'm totally in love with #nushell 🫶
November 27, 2024 at 5:21 PM
Same thing for me. In my previous job we have a large app based on this approach:
November 27, 2024 at 9:13 AM