Follow

I'd never seen anyone manage their dotfiles like this. It's kind of brilliant!

atlassian.com/git/tutorials/do

@PsychoLlama that's what I do, it's even better with dotbare which is a set of shellscripts together with fzf that makes finding or dealing with gitted dotfiles a breeze.

@sotolf you're living in the future, my friend. dotbare looks wicked cool.

@PsychoLlama it's really nice yeah :) I'm very happy with it :)

@PsychoLlama I've also replaced ls with exa, and grep with ripgrep and cat with bat, it feels really futuristic ;) maybe I'll slowly replace my whole userland with rust programs :p

@sotolf same lol. The Rust developer community has the best devtools.

@PsychoLlama Yeah, I'm currently doing in F#, but when I'm through with that I'll be giving rust a second try, it seems to have grown a lot since I last tried it out in 2017 :)

@sotolf right? The last couple of years have done wonders for stability. It's a really fun language. Kinda hoping we see it pop up in higher level programming.

What are your thoughts on F# so far?

@PsychoLlama F# is a great and fun language to work with with a great ecosystem and tooling (I use vim-ionide myself) but there is one thing that I don't like with it, the overhead of running on dotnet means that start up is kind of really slow.

The syntax though is wonderful and so nice looking and easy to keep in your head, I wish rust had gone the route of a more ocaml like syntax, it's just so much cleaner and better looking in my opinion.

@sotolf oh nice, describing F# syntax as OCaml-like has my attention. TBH I've avoided it mostly because of .NET even though I've heard a few good reviews.

IIRC Rust's original compiler was written in OCaml, so at least they knew what they were missing :(

@PsychoLlama hehe, ocaml syntax is literally valid F# syntax for the most part, it's very much ocaml, just that working with collections is way less of a hassle, and you have all dotnet libraries at your hand. It's probably great for longer running processes where the startup doesn't matter, but for my use cases of more unix-like things, the warmup is usually longer than the program running itself.

F# also has a repl which is great for testing and exploring the problem space

@sotolf I just got everything for F# working locally. I'm typing OCaml, using OCaml builtins, and it's all just working... in a command that starts with `dotnet`. This is weirding me out man.

@sotolf It's even got some tab completion and syntax highlighting! My new favorite OCaml repl is just F#. I can't go back now.

@PsychoLlama Yeah, in most cases it's a wonderful language :D it surprised me to, and now that you can install it with dotnet that is also cool, I've really come to enjoy it, in my git repo for AoC you can find some albeit noobcode things that you could probably just read as ocaml for most of the time:

github.com/sotolf2/aoc2020

@sotolf I'm reading through your code. It's beautiful. Makes me want to reorganize my side project priorities :)

@PsychoLlama it is, but some of them are really quite suboptimal, but I'm just going for something that works :) it's a really fun language to play with in all cases :)

@sotolf Yeah. I'm still an OCaml noob, but there's just something about the language that's so deeply satisfying.

@PsychoLlama
It's an advent calendar programming puzzle, so it only has 25 days, which is good, because I'm starting to struggle getting them all done in a day's worth of free time :p

adventofcode.com

@sotolf Oh, haha. I see it pop up every year, but I haven't tried it. Seems like a nice way to experiment with a new language.

@PsychoLlama It is yeah, as long as you're okay with being a bit frustrated as the difficulty increases.

@PsychoLlama Yeah the syntax is beautiful and nice to read ;)

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.