Amin Khansari @akhansari.tech · 28/09/2026Dift has now commit history navigation. Open a commit to review its changes, or switch to the full file tree to see every file as it was at that point. You can also select two commits to compare. gitlab.com/akhansari/dift #git #diff #tui 000
Amin Khansari @akhansari.tech · 17/09/2026Love working with the coding agent (here OpenCode) and Dift (gitlab.com/akhansari/dift) side-by-side. Having both gives me fast feedback loop, control, and continuous learning. 000
Amin Khansari @akhansari.tech · 10/09/2026"I read code." Meet Dift: Git diffs, live. gitlab.com/akhansari/dift Built in Rust using @ratatui.rs, gix, notify, similar, and other excellent libraries. 010
Amin Khansari @akhansari.tech · 07/12/2025#Rust #AdventOfCode day 07 in 62µs. I first used BFS with VecDeque + Hashing, but just reusing fixed vectors is much simpler. 020
Amin Khansari @akhansari.tech · 06/12/2025#Rust #AdventOfCode day 06 spoiler. Part two in 95µs. I had some difficulties to implement the trait. 010
Amin Khansari @akhansari.tech · 02/12/2025This year I'm experimenting with #Rust. #AdventOfCode day 01 and 02. 020
Amin Khansari @akhansari.tech · 30/11/2025Oh with the latest version of nushell.sh, I no longer need regex101.com ✨ 010
Amin Khansari @akhansari.tech · 20/10/2025All modern Linux Desktops have this option now. (I tend not to use the mouse very often) Mine which is Cosmic: 130
Amin Khansari @akhansari.tech · 18/07/2025Once 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: 110
Amin Khansari @akhansari.tech · 08/01/2025I 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. 110
Amin Khansari @akhansari.tech · 11/12/2024#AdventOfCode Day 11 #FSharp Depth-first and caching is again the key 051
Amin Khansari @akhansari.tech · 10/12/2024#AdventOfCode Day 10 #FSharp Standard depth-first search 0102
Amin Khansari @akhansari.tech · 10/12/2024#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#. 151
Amin Khansari @akhansari.tech · 10/12/2024#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. 141
Amin Khansari @akhansari.tech · 08/12/2024#AdventOfCode Day 8 #FSharp I couldn't simplify as much as I wanted and not to use HashSet. github.com/akhansari/ad... 081
Amin Khansari @akhansari.tech · 07/12/2024#AdventOfCode Day 7 #FSharp Using recursive backtracking. 072
Amin Khansari @akhansari.tech · 05/12/2024#AdventOfCode Day 5 #FSharp Why structural equality matters. 140
Amin Khansari @akhansari.tech · 04/12/2024#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 - ... 230
Amin Khansari @akhansari.tech · 03/12/2024OK, in #Gleam it's better to take advantage of use expressions. 000
Amin Khansari @akhansari.tech · 03/12/2024#AdventOfCode day 3 in #FSharp I'd love to learn FsLexYacc or FParsec instead of using Regex. 380
Amin Khansari @akhansari.tech · 02/12/2024#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. 071
Amin Khansari @akhansari.tech · 02/12/2024#AdventOfCode Day 1 #FSharp vs #TypeScript vs #Gleam By trying to not loop multiple times 2113
Amin Khansari @akhansari.tech · 27/11/2024Same thing for me. In my previous job we have a large app based on this approach: 110