Advertisement ยท 728 ร— 90

Posts by

Turte files (.ttl)?

1 month ago 0 0 1 0

Yes, I was in Berlin, few years ago, which was great too!

3 months ago 1 0 0 0

Looks great!

4 months ago 0 0 0 0

#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!

4 months ago 2 1 0 0

That gold star was really earned and it relieved a bit of imposter syndrome. Now I can finally watch Jo van Eyck Day 3!

4 months ago 0 0 0 0

#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.

4 months ago 3 0 1 0

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?

4 months ago 2 0 1 0
Advertisement

Nice!

4 months ago 1 0 0 0

What do you use for the frontend?

5 months ago 0 0 2 0

Looks really great!

5 months ago 1 0 0 0

If the error is a script file then try making it into a console app.

5 months ago 0 0 0 0

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.

5 months ago 0 0 2 0

Maybe Avalonia FuncUI, looks like they have animations out of the box, all F#.

6 months ago 0 0 1 0

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.

6 months ago 1 0 0 0
Advertisement

Just started with Avalonia.FuncUI, nice to read a blog about it, thanks!

7 months ago 1 0 0 0

Great script!

10 months ago 0 0 0 0
Lots of sample queries A short summary of your project

fsprojects.github.io/FSharp.Linq....

1 year ago 0 0 0 0
Preview
Full ORMs and F# We're nearing the end of our SQL journey, having explored ADO.NET, ADO.NET extensions, Micro ORMs and by the end of this post we'll have covered Full ORMs. Just to remind us of the big picture: Having...

www.compositional-it.com/news-blog/fu...

1 year ago 0 0 0 0

In other languages coding feels like fighting, in F# it feels like sculpting.

1 year ago 1 0 0 0

Looks great!

1 year ago 2 0 0 0

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.

1 year ago 0 0 1 0

Can you just script things and output it easily to, i.e. a readable table on screen?

1 year ago 0 0 0 0

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#!

1 year ago 1 0 0 0
Advertisement

Yes, really nice, improves readability!

1 year ago 0 0 0 0

Looks like a fun domain to model, congratulations and thanks for sharing!

1 year ago 1 0 0 0

Was there too, had a great time!

1 year ago 1 0 1 0

Seq is lazy. Maybe Seq.toList and then List.iter will work.

1 year ago 0 0 1 0

Nice read, thanks!

1 year ago 1 0 1 0
Post image

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.

1 year ago 3 0 0 0

Part two was difficult but managed to get a star

UpdatePageNumbers.returnFailed orderRules pageUpdates
|> List.sumBy (fun (_, newUpdatePageNumbers) ->
newUpdatePageNumbers.MiddleNumber ())

1 year ago 0 0 0 0