#FSharp
Blog post: using OxyPlot charts in an @avaloniaui app with funcUI. If I am going to write a desktop app, I'd much rather use an Elmish loop / MVU!
Shout out to @josua_jaeger @sleepyfrans @jmarr and @angelmunoz for the wonderful work on the library + docs, this was fun :)
https://brandewinder.com/2023/05/29/first-look-at-avalonia-elmish/
#fsharp #dotnet
The good folk at @CompositionalIT take a look at Mingine, a WIP game engine for the web, built with F#
https://twitter.com/compositionalit/status/1656973754474328068


I guess that redis #pipeline concept translates from python to #dotnet (#csharp and #fsharp) as IBatch db.CreateBatch, correct?
And that should optimize my hset hundreds operations...
https://github.com/StackExchange/StackExchange.Redis/issues/2472#issuecomment-1566003130
@alecui @keith maybe this book:
Proframming Langague concepts
https://www.amazon.fr/Programming-Language-Concepts-Peter-Sestoft/dp/331960788X
It is in #fsharp and details most aspects of writing a compiler.
RT @isaac_abraham@twitter.com Big milestone done for #fsharp in action (https://manning.com/books/f-sharp-in-action) - finished the last chapter and reviewed feedback from editors etc. - still a way to go before it's typeset etc. but hopefully not too long to go! https://twitter.com/isaac_abraham/status/1661504872200523776
F# Weekly #21, 2023 – Build 2023, F# in Action #fsharp https://sergeytihon.com/2023/05/27/f-weekly-21-2023-build-2023-f-in-action/

F# has superpowers - not only can F# compile to Javascript, you can host your F# code in the browser, PolyglotNotebooks, GitHub Blocks and Office.
Learn all about it in this thread from the amazing F# community contributor Pawel Stadnicki

Hey #fsharp folks or people not familiar with F# what kind of content are you interested in these days?
I will be honest I'm the kind of person that goes:
"I already did that or very close to it let's move to the next thing"
That's why I haven't written any posts in quite a while, and I don't think I've done anything interesting at all or at least worth writing about
That being said, I tend to be very demanding for myself so perhaps I have discarded topics/blog ideas that other people might want to read about
#developer #blog #dotnet #interests #webdev
Thanks Baishampayan Ghose and Ankit Solanki for the insightful conversation. Also thanks to everyone who attended.
If you missed it, you can still catch the livestreamed session on YouTube at https://www.youtube.com/live/WtrrfAKJoVc
Continue the conversation by joining the #FPIndia Telegram group - https://t.me/fpncr.
See you at the next #FpWebConf event!
@UrsEnzler Maybe I should have included an #fsharp tag? 🤔 😅
Less than 4 hours to go before the second event in #FPWebConf - BG will be talking to Ankit Solanki about using #Fsharp in production at Clear!
Registration is free, register at the conf page (https://hasgeek.com/jsfoo/fp-webconf/) to get the participation zoom link for today's talk.

Well! I have to say, kudos to the #winrt projection team from microsoft and #dotnet using the winrt api from both #fsharp and #rust is nearly the same
In this case I'm just using the Windows.Security.Cryptography.DataProtection namespace to read a file using the winrt api (I could use bcl/std apis I know) convert it into a stream, use the DataProtection apis to encrypt the file, the encrypted file gets saved as a new file (so I can see it rather than just do it to the same file) and then decrypt that file into a new one which technically is just a copy of the first one but after encryption/decryption :)




When 5 people show up to volunteer as co-maintainers of @SchlenkR FsHttp project, something very good is going on, I think.
Just great to see the community in this healthy state.
#fsharp
Hi, first post on Mastodon. I'm a self taught software developer using #guix, #stumpwm, #emacs, and currently experimenting with #nyxt.
I'm fond of #foss, and do some drive-by contributions to various projects as I encounter issues.
By day, I'm working as a consultant mostly using #windows, #dotnet and #csharp, but I use #fsharp whenever I get the chance.
Looking forward to meeting likeminded people on Fosstodon!
Tomorrow, on #FPWebConf - Notes on F#: Doing functional programming in production at Clear with Baishampayan Ghose and Ankit Solanki.
RSVP at - https://has.gy/GFa4
#FunctionalProgramming #India #FSharp #WebDevelopment #Event
Level up your software skills and learn some F#!
"Introduction to the Beginner Series to F#"
https://www.youtube.com/watch?v=yGzu0iDuMNQ&list=PLdo4fOcmZ0oUFghYOp89baYFBTGxUkC7Z

Today's random F# code is about one-line unit tests: https://www.planetgeek.ch/2023/05/24/todays-random-f-code-one-line-unit-tests/
#fsharp #dotnet

Do you think using #fsharp is somewhat niche?
Well... I got you a real niche!
Recording with your camera using #WinRT APIs with
@avaloniaui@dotnet.social
as your window handle provider from F# 😅
I should technically be able to use MAUI or other windows desktop solution (WPF or WinForms) but I figured that If Avalonia (which works wonders with F#) could give me a window handle that's all I needed.
So yeah... any time you feel you think desktop and servers with F# is niche, remember there's a dude trying out WinRT APIs with F# and a cross-platform framework
If you ask me "Why not MAUI"? I'd answer:
I don't know, does it even support F#?
Feel free to poke me with a sample with it I'll happily try it out :)


hey @avaloniaui@dotnet.social and #dotnet folks is there a way to run avalonia as a CLI app (I think I saw something like that months/years ago)?
use case:
I'd like to have a window handle available to interop with some Windows APIs but I don't want to actually use the whole UI stuff (neither to meddle with WinUI/MAUI Stuff from F# that's a no-no🙄 I'd prefer to use something that already works 😄)
So far I've started with classic desktop lifecycle and just configure the window to hide and not show in the task bar. It works fine but I'd like to know if there's a better way
#dotnet #fsharp
#fsharp Oh, how I've missed thee!
Whew I gave a shot to the #windows crate for #rustlang and I'm quite happy
I managed to somewhat port 1-1 a small music player I actually wrote in #fsharp a while ago
Original F# Version: https://dev.to/tunaxor/hacking-windows-with-f-5-0-scripts-4k2o
I guess I will have fun and learn a little bit more rust after all 😄

Getting a null pointer exception in #fsharp ( from a library written in C#). Compiling the library to get a line number for the NULL. The library builds ..
11357 Warning(s)
0 Error(s)
@josua_jaeger nice work on @avaloniaui funcUi, started to play with it and enjoying the Elmish loop on the desktop :) Just managed to get OxyPlot charts working in the DSL, i am very excited. #fsharp #dotnet
Did you know, you can learn how Fable compiles F# to JavaScript, Python and Rust directly from the browser, and give it a try?
Learn more below, and give it a go!
best thing about writing #fsharp for web is that it means I don’t have to think about javascript
F# Weekly #20, 2023 – .NET 8 Preview 4 #fsharp https://sergeytihon.com/2023/05/20/f-weekly-20-2023-net-8-preview-4/
Join the functional programming community in the Indian subcontinent and learn about using F# in production at Clear (parent company of ClearTax)!
#Online on 26th of May. Attendance is #free.
An event in the #FPWebConf series
#fsharp #functional
https://twitter.com/FunctionalIndia/status/1656660243647188995

It is not the most crazy thing ever, but I just updated my node version manager written in #fsharp
https://github.com/AngelMunoz/NvmFs/releases/tag/v0.8.0
I also took the opportunity to use the cool #dotnet AOT bits, the final binaries are around ~8mb which is pretty cool! nothing seems to be broken yet (it is a simple cli app tbh) so if you want to try something simpler and without installing anything other than downloading a binary and putting it in the path I'd say check it out!
I am really starting to get the benefits of the #fsharp conciseness. I just had something change in the data I was ingesting. Basically parsing through some data.
It's a piece of code I had not touched in a long time, but it was super clear what it was expecting because there is very little in the way. No braces, parenthesis, etc in your way. Just instructions, parsing data through a pipeline.
Isolated tests, inspected new outcome, adjusted the pipeline, and it's done. Works.
More action in the F# compiler and tools repository - the community and Microsoft have been working on a bunch of improvements (both perf and feature).
Changes will probably make it to 17.7p2 or, 17.7p3.
If you're using #visualstudio for #fsharp, you'll like the changes.

@alexelcu i’ve only had great experiences with that model (#fsharp with #fablecompiler for compiling web side). Presentations on our experience in a #biotech setting here https://github.com/demetrixbio/presentations
The FrozenDictionary is coming in .NET 8. Is it faster than what we can do in F#? Will we finally fail to outpace the C# version? Is F# just slow garbage...?
Video: https://youtu.be/raQsYNR4GMk
Code: https://github.com/matthewcrews/FastDictionaryTest
Use Pulumi with F# !
"!Our Preview of .NET supports custom resource providers. This means you can build custom providers using your favorite .NET language...#Fsharp "
@dsyme
What would you think about #cloud native #microservices architecture: has it disrupted the isomorphic idea of #fsharp on both back and front ends? Is that now regarded as an old fashioned #monolith?
FuncUI reached 666 ⭐️’s Today!
Thanks for all the contributions. Can’t wait for FuncUI on @avaloniaui v11 😉
#fsharp #dotnet @dotnetbot @fsharp

@carltonupp love #fsharp. I hear you on adoption bits, but that feels slightly better with .net framework behind it.
What did you decide on?
FsExcel now supports generating Excel tables! https://github.com/misterspeedy/FsExcel/blob/main/ExcelTableTutorial.md
@prozacchiwawa @OneFluffyBoi @ZoDoneRightNow -
yes remiss of me to not mention the awesome
#fablecompiler which transpiles #Fsharp in to javascript, python, rust and dart.
@OneFluffyBoi @ZoDoneRightNow +1 for #fsharp. I used ML variants in college and loved the idea but the implementations back then were bumpy. The modern variants are stunning. Beautiful tooling, multiple well developed IDEs and a friendly community that is practical. Good learning experience and you can also build an entire production system in it. The underlying dotnet vm is shared with c# and Vb so has had a lot of investment too.
F# Weekly #19, 2023 – Microsoft Build 2023, May 23-24 #fsharp
https://sergeytihon.com/2023/05/13/f-weekly-19-2023-microsoft-build-2023-may-23-24/
We have static #programming languages that are both adequate for the server-side and can target the client-side (Javascript, WASM, native, etc), such as #Scala, #Kotlin, #Rust, #FSharp, #Typescript.
The biggest advantage of using the same language is that you can share code, starting with the data models, alongside serialization, and parsing/validation rules. The API can thus be easily kept in sync, and a server-side test is also relevant on the client-side.
Our app started 8 years ago. First, the backend was all C#. 3 years ago, we switched to F# for new features. F# is more concise than C#. The effect is that when code gets more concise, it's easier to overview more code, making it easier to see the interconnections of different parts. We were able to simplify a lot of code. Not just the F# code, but once we saw a simpler pattern in F#, we could also apply it in C# code. The "noise" in C# made it impossible to see the simpler solution.
#fsharp
This week's myth about F#: F#'s strict ordering is dumb! No, it's great for taming dependencies.
https://www.planetgeek.ch/2023/05/09/myths-about-f-fs-strict-ordering-is-dumb-no-its-great-for-taming-dependencies/
#dotnet #fsharp #myths
RT @vzarytovskii@twitter.com #fsharp folks, who use VisualStudio, we are working on a bunch of improvements (both perf and feature).
If you're using 17.6 or later, and want to try some, I will be publising a vsix in the following PR every time we make some improvements
One day I swear I will understand how to use FsCheck. But not sure when that day will come: https://fscheck.github.io/FsCheck/
I gained much appreciation for randomized tests when working on Lucene.NET, the stuff you can find when your input is random is really special. But what I see in Lucene, I can't mentally translate to FsCheck. FsCheck concepts feel so foreign.
I guess as with #fsharp itself, I will keep on banging my head against it until one day it will come through
F# Weekly #18, 2023 – The Business of #fsharp https://sergeytihon.com/2023/05/06/f-weekly-18-2023-the-business-of-f/
This week's myth about F#: F# is slow! No, F# can be really fast.
https://www.planetgeek.ch/2023/05/04/myths-about-f-f-is-slow-no-f-can-be-really-fast/
#fsharp #dotnet #myths
The Call for Speakers for #JetBrains .NET Day Online 2023 is open!
Looking forward to seeing your #dotnet talk submissions 👀
https://jb.gg/anxo4v #JbDotNetDay #cfp #csharp #fsharp #JetBrainsRider #ReSharper
F# Weekly #17, 2023 – Vide and F# Mentorship #fsharp
https://sergeytihon.com/2023/04/29/f-weekly-17-2023-vide-and-f-mentorship/
Whoooo! The online fsharpConf for the F# and Fable communities will be back in June this year!
Mark the date and head over to propose content and get involved! Be creative and let's make this the best fsharpConf ever!
I'm finding again working in #fsharp.
F# is a pure joy.
Again, I miss a better support from the IDE, but folks, the language is such a delight... I did not even realize it's 2 A.M.
RT Paweł Stadnicki
Blog post:
"Exploring job offers with Polyglot Notebooks"
https://www.buymeacoffee.com/florencedev/polyglot-notebooks-best-place-anything
If you know anyone who could be interested in providing real job offers, please send me DM.
#csharp #fsharp #dotnet #PolyglotNotebooks
:sys_twitter: https://twitter.com/florence_dev/status/1645792154420404233
Blog post: Quipu, a basic Nelder-Mead solver in F#. Nothing fancy, pretty rough still, but I needed it for my own purposes, and it does the job, so here it is:
https://brandewinder.com/2023/04/15/quipu-basic-nelder-mead-solver/
#fsharp
New Beta is out! pick it while.... well, whenever you want!
This release refines the setup and 1st run checks experiences as well as hide some of the commands in preview we were not able to do before
https://github.com/AngelMunoz/Perla/releases/tag/v1.0.0-beta-018
#dotnet #fsharp #perlaDevServer #webdev #importmaps
Et oui, ce sera en #fsharp, off course.
Recording of yesterday's livestream with @UrsEnzler and @khalidabuhakmeh is up!
📺 Object-Oriented vs. Functional Programming with #csharp and #fsharp
Covers the differences and similarities between functional and object-oriented using many examples 👍
This week's myth about F#: We can’t use F# because we can’t rewrite everything from C#!
You don’t have to, use Interop.
https://www.planetgeek.ch/2023/04/04/myths-about-f-we-cant-use-f-because-we-cant-rewrite-everything-from-c-you-dont-have-to-use-interop/
#fsharp #dotnet #myths
For #fsharp folks, #JetBrainsRider now has language injections for Regex instances. You get some nice color highlighting so you don't get lost in the rabbit hole that is #regularexpressions. You're welcome.
@khalidabuhakmeh i have been working through a book on using Keras. all the code examples are python but I’m doing the exercises in F# with a dotnet keras wrapper. Happy to share examples if that’s helpful. #fsharp #machinelearning
Today's random F# code from our app is about using Verify (snapshot testing) to make sure we don't accidentally change our events, which we store in our database): https://www.planetgeek.ch/2023/03/31/todays-random-f-code-using-verify-to-prevent-breaking-changes-in-stored-data/
#fsharp #dotnet
It's a stress-free life being an F# dev!
In this talk, Ian Russell - author of "Essential F#" shows why F# is a great choice for building scalable Web APIs and services.
it might be a stretch but has anyone tried the latest #perlaDevServer previews?
I'm wondering if I'm postponing v1 too much so I'd like to mark the testing commands as experimental and release the rest stuff which I know it is working
any feedback in that area would be appreciated
#fsharp #webdev #dotnet #devserver
RT Paweł Stadnicki
The notebook's superpower lies in ability to create data visually with a tool it shines (@reactjs),
trigger creating types behind the scenes with interactive engine (#dotnetinteractive)
and operate on the data with a language of choice.
#fsharp @code @Mapbox @FSQStudio https://t.co/hC1krgr7Dl
:sys_twitter: https://twitter.com/florence_dev/status/1637733707858468864