Sign in

Amin Khansari

@akhansari.tech
238 followers 186 following 386 posts

Gardening where people, tech, product, and AIs meet. Passionate about the terminal, sustainable software, and product thinking. akhansari.tech 🇪🇺🇫🇷

PostsRepliesMedia
Amin Khansari @akhansari.tech · 28/09/2026
Dift 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/2026
Love 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 · 30/08/2026
Working from home is a premium perk.
010
Amin Khansari @akhansari.tech · 29/07/2026
000
Amin Khansari @akhansari.tech · 22/07/2026
Linux & Terminal = 🧡
121
Amin Khansari @akhansari.tech · 19/06/2026
No Comment
000
Amin Khansari @akhansari.tech · 31/05/2026
The fresh face, Grizzly 🐱
Persian Cat
010
Amin Khansari @akhansari.tech · 07/02/2026
LLM: You're absolutely correct!
011
Amin Khansari @akhansari.tech · 11/12/2025
#Rust #AdventOfCode day 11 spoiler. Part two in 415µs.
130
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 · 05/12/2025
#Rust #AdventOfCode day 05 spoiler
210
Amin Khansari @akhansari.tech · 04/12/2025
#Rust #AdventOfCode day 04
010
Amin Khansari @akhansari.tech · 03/12/2025
#Rust #AdventOfCode day 03 spoiler
020
Amin Khansari @akhansari.tech · 02/12/2025
This year I'm experimenting with #Rust. #AdventOfCode day 01 and 02.
020
Amin Khansari @akhansari.tech · 30/11/2025
Oh with the latest version of nushell.sh, I no longer need regex101.com ✨
010
Amin Khansari @akhansari.tech · 31/10/2025
I 🦖 my new neovim mascot
130
Amin Khansari @akhansari.tech · 20/10/2025
All 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 · 30/09/2025
+ #Svelte - #React
020
Amin Khansari @akhansari.tech · 18/07/2025
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:
110
Amin Khansari @akhansari.tech · 23/04/2025
Oh, I had no idea how easy it was to use Roslyn.
010
Amin Khansari @akhansari.tech · 11/04/2025
010
Amin Khansari @akhansari.tech · 28/02/2025
Slava Ukraini 🇺🇦
040
Amin Khansari @akhansari.tech · 14/02/2025
040
Amin Khansari @akhansari.tech · 08/01/2025
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.
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
If #AWS were an image
Black hole
020
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/2024
OK, 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/2024
I'm totally in love with #nushell 🫶
000
Amin Khansari @akhansari.tech · 27/11/2024
Same thing for me. In my previous job we have a large app based on this approach:
110