kedare, to dotnet
@kedare@g33ks.coffee avatar

Is there anyone using other languages than C# and F# on .NET ?
I remember back then there was the language but looks like it's not much used now.
Other alternative languages like and are either lagging a lot on supported version or abandoned apparently.

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

If @xunit were a human, it would be able to drive today. 😂 Happy 16th birthday!

sergey_tihon, to random
xunit, to dotnet

We just shipped new prerelease versions of the core framework, the Visual Studio adapter, and analyzers.

Note: This v2 2.5.1 release is targeted primarily at fixing issues with the new assertion library.

This is also the first prerelease build that fixes the issues with package signature verification (NU3003 errors) that affected the 2.5.0 release.

Release notes:

https://xunit.net/releases/v2/2.5.1-pre.11
https://xunit.net/releases/analyzers/1.3.0-pre.6
https://xunit.net/releases/visualstudio/2.5.1-pre.4

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

"Oh no, I typed 'dotnet new web' with F#!"

If you are peeking into the F# language?
You might stumble with the default dotnet web templates, is that bad? I don't think so 😋


https://dev.to/tunaxor/oh-no-i-typed-dotnet-new-web-with-f-4bin

angelmunoz, to random
@angelmunoz@misskey.cloud avatar

I'm going the dramatic route on my next post
"Oh no I typed 'dotnet new web' with F#"

but just with the title and the intro, the rest of the post will be about just going with raw aspnet, specially for those folks who are getting told "try out F#" without a clear path

khalidabuhakmeh, to AWS
@khalidabuhakmeh@mastodon.social avatar

If you’re interested in and seeing some demos, head over to Twitch to watch a demo by Matt Ellis. I’ll be hanging out in the chat as well.

https://www.twitch.tv/aws

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

Looking to work with azure durable functions in F# ?
Take a look at Jordan's new package!

https://github.com/JordanMarr/FSharp.DurableExtensions

xunit, to dotnet

Due to the code signing problems caused by the .NET Foundation switchover to the Microsoft Time Stamping service, we were definitely going to want to ship a 2.5.1 release.

We also expected there to be issues with the overhauled assertion library changes in 2.5.0. We've already fixed a few:

https://github.com/xunit/xunit/issues/2743
https://github.com/xunit/xunit/issues/2749
https://github.com/xunit/xunit/issues/2750
https://github.com/xunit/xunit/issues/2755

There will be a 2.5.1 prerelease this coming week for people to test.

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

Today I don't have any F# bits as I was in a bunch of meetings so... Let's feature another F# library!
Today we have : Fsharp.Control.Reactive
https://github.com/fsprojects/FSharp.Control.Reactive
If you like rxjs/rxjava/rxnet then this is a library to look after!
It enables reactive functional programming over observables and subjects, I personally love this library quite a lot ☕

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

Today in F# bits:

Sometimes when you have a workflow in your system you know in advance that there are some validations and other business rules that may make it fail these are expected errors (not to confuse with exceptions) and are quite cumbersome to handle with exceptions or other error handling techniques, in F# and other languages like rust you have the ability to define that via the Result<value></value> type!
Here we have a simple simulated workflow that may fail or not which will be handled later!

In the second picture we have our Featured F# library from today (link below) which provides a set of helpers and computation expressions that allows us to express these flows in a very convenient way.

https://github.com/demystifyfp/FsToolkit.ErrorHandling

#fsharp #dotnet #rust #errorhandling #patternmatching

image/png

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

Are you looking to write your next CLI app?
Today in F# Bits:
FSharp.SystemCommandLine is a framework like library that help you setup commands and handlers!

Argu is a library for argument parsing, it requires a bit of manual work but you have full control to call your handlers!

Check the libraries out!

https://github.com/JordanMarr/FSharp.SystemCommandLine

https://github.com/fsprojects/Argu

image/png

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

Learn how essential IDE features like code completion, navigation, and syntax highlighting keep working when your code just doesn’t, all explained by Eugene Auduchinok from at .

https://www.youtube.com/watch?v=rtRH81a06bI

amplifyingfsharp, to random
@amplifyingfsharp@mastodon.social avatar

Going live in ~4h. Learn from the best of the best.
@auduchinok from @jetbrains will champion today's session: https://amplifying-fsharp.github.io/sessions/2023/07/07/

angelmunoz, to dotnet
@angelmunoz@misskey.cloud avatar

I'll be trying to do a few snippets like these and see how it goes :)
Today in F# bits:
How does a web server in fsharp looks like?
It might be more familiar than you think!
Here we have two common F# web frameworks
https://www.falcoframework.com
https://saturnframework.org

In both cases most of what it takes is a function that can handle an http context from aspnet and return an http response!

image/png

xunit, to dotnet

It's release day! 🎉

We just shipped v2 Core Framework 2.5.0, Analyzers 1.2.0, and Visual Studio adapter 2.5.0. This release includes a bunch of quality of life improvements, bug fixes, and an overhauled assertion library that includes new assertions, new overloads, and much better (and most consistent) assertion failure messages.

Enjoy!

Release notes:

https://xunit.net/releases/2.5.0
https://xunit.net/releases/analyzers/1.2.0
https://xunit.net/releases/visualstudio/2.5.0

xunit, to dotnet

We just shipped new prerelease versions of the core framework, the Visual Studio adapter, and analyzers.

Note: This removes support for UWP from the core framework. UWP Users will need to stick with 2.4.x builds of core and VS runner.

There is no further planned work; these may be the RTW versions. Please test ASAP and let us know if you find any issues!

Release notes:

https://xunit.net/releases/2.5.0-pre.44
https://xunit.net/releases/analyzers/1.2.0-pre.48
https://xunit.net/releases/visualstudio/2.5.0-pre.27

mbrdev, to dotnet
@mbrdev@mastodon.social avatar

I'm looking for and friends, anyone around?

TimPurdum,

@mbrdev lots of dotnet folks around. Be sure to follow the hashtag so you can constantly discover more. Also (or if you prefer).

josua_jaeger, to random
@josua_jaeger@mastodon.social avatar

Sneak peek, I’ve been working on building a great sample app/template for FuncUI. It has custom animations and all 💅.

@fsharponline @dotnet @dotnetbot @avaloniaui

https://github.com/fsprojects/Avalonia.FuncUI

Neurotrace, to typescript

I didn't realize just how much I've come to lean on type-directed refactoring in languages like and until I had to make a change to a massive chunk of PHP at work. Running through every possible execution path just to make sure I didn't miss any function arguments is a massive waste of time

xunit, to dotnet

We just shipped new prerelease versions of the core framework, the Visual Studio adapter, and analyzers.

This is primarily a bug fix/performance release, but it does include a new overload for Assert.NotNull when passed Nullable&lt;T&gt; values, returns the unwrapped T value as a result.

Release notes:

https://xunit.net/releases/2.5.0-pre.37
https://xunit.net/releases/analyzers/1.2.0-pre.27
https://xunit.net/releases/visualstudio/2.5.0-pre.22

brandewinder, to dotnet

Blog post: attempting to implement the Game of Life in Avalonia with F#, MVU style. Shout-out to @khalidabuhakmeh for the original inspiration :)
https://brandewinder.com/2023/06/17/wip-game-of-life-avalonia-elmish/

arialdo, to emacs
@arialdo@mastodon.online avatar

With support of Protesilaos, I managed to have working with .

In the next weeks I'm trying to use Emacs as my main IDE. I'm very curious to see where this will take me.

I mean, using 2 of my most loved technologies together, so excited!

angelmunoz, to programming
@angelmunoz@misskey.cloud avatar

I'm not sure if I should be laughing like a maniac this early in the morning but I think I deserve it 😆

I think this might be elmish / mvu running in @avaloniaui for C# (which btw is powered by F# and also works for F#)

I'm sure there's quite a bit of work extra to do but I'm happy 😅

fsharponline, to javascript
@fsharponline@hachyderm.io avatar

Learn how to use conditionals, loops and pattern matching in F#, simple and easy

"Control flow & pattern matching" - "F# for Beginners"

https://www.youtube.com/watch?v=LsY2IXd4I08&list=PLdo4fOcmZ0oUFghYOp89baYFBTGxUkC7Z&index=10

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines