Turte files (.ttl)?
Posts by
Yes, I was in Berlin, few years ago, which was great too!
Looks great!
#AdventOfCode #FSharp Day 5, part 2
Arrange the ranges. Did allmost everthing right but got wrong answer. Didn't check in and deleted the code. Left it for a day. Started over only to find I had done this one thing wrong:
Ids = MaxValue - MinValue.
Only needs a +1. ๐ซข
Now I can watch Jo van Eyck!
That gold star was really earned and it relieved a bit of imposter syndrome. Now I can finally watch Jo van Eyck Day 3!
#AdventOfCode #fsharp day 3 part two
Part one was easy. After reading part two and couple of desperate tries I closed the laptop. But it stayed with me the whole [..] day. Late in the evening it hit me; I only had to find the first highest char(s) with enough remainder chars to create the number.
Solved day 1 #AdventOfCode in #fsharp. No AI. Got lucky thanks to modeling the Dial as a type with currentPosition and Points [0..99]. The points range made me see there'll be a problem at the edges which lead to the function MoveOne(Dir). The rest was easy.
Do you also turn off AI?
Nice!
What do you use for the frontend?
Looks really great!
If the error is a script file then try making it into a console app.
So, we all have take two? ;-) Kidding oc.
I will try the first few days, after that I get distracted and/or the problems become too complex.
Maybe Avalonia FuncUI, looks like they have animations out of the box, all F#.
I've run my loc.fsx and found 7 files > 3000 loc. The winner was 8341 loc followed by a file with 7793 loc. Still fine to work with in VS22. Number of loc in F# is for me no reason to refactor. Readability, new features and extracting business rules to pure functions are reasons for me to refactor.
Just started with Avalonia.FuncUI, nice to read a blog about it, thanks!
Great script!
In other languages coding feels like fighting, in F# it feels like sculpting.
Looks great!
Yes, everybody is going their own way with F#, so it lacks a consistent course. Would love to see a F# Blazor option from MS, or at least backed by MS. Now we use F# only at the back-end, which is awesome, refactoring becomes fun to do.
Can you just script things and output it easily to, i.e. a readable table on screen?
This is the normal heartrate. I suspect the 'is it dead?' people just want to justify to themselves why they are not learning a new language. And their right. Once learned, other languages seem cumbersome, love F#!
Yes, really nice, improves readability!
Looks like a fun domain to model, congratulations and thanks for sharing!
Was there too, had a great time!
Seq is lazy. Maybe Seq.toList and then List.iter will work.
Nice read, thanks!
Day 5 Advent of code.
Got the stars, great puzzle. No brute force used.
Thanks to #fsharp I can just type out all the bits I know, glue them together and get the answer. Although I am certain the answer is correct, it still is exciting submitting it.
Part two was difficult but managed to get a star
UpdatePageNumbers.returnFailed orderRules pageUpdates
|> List.sumBy (fun (_, newUpdatePageNumbers) ->
newUpdatePageNumbers.MiddleNumber ())