F#

A place to learn and teach. Also consider F# Slack - fsharp.or...
Dec 15, 2023 14:41
tough week :(
Dec 15, 2023 14:41
*
Dec 1, 2023 20:25
my laptop can't be repaired
Nov 13, 2023 20:07
..
Oct 28, 2023 08:14
@ntohl not bad
Oct 12, 2023 10:15
@ntohl sorry was busy over the last weekend. I need some time to put all my thoughts together
Oct 8, 2023 19:21
*
Sep 25, 2023 18:25
congrats! I doubt you'd ever like to return to the office
Sep 25, 2023 11:15
@ntohl why wouldn't you find remote position?
Sep 25, 2023 10:23
@ntohl happy to see anyone else here. Probably next time I'll write some political thoughts instead of music/*. Sadly can't say much about fsharp/dotnet lately
Sep 19, 2023 08:19
*
Sep 5, 2023 21:02
*
Aug 10, 2023 21:20
*
Jul 3, 2023 18:23
^ one of my favorite bands. Their first "Life // Lost" EP opened Progressive Metalcore for me. They shifted to Alternative Metal lately but nevertheless "The Death We Seek" is masterpiece. Dunno what can beat it this year.
Jun 13, 2023 09:30
my tiny PR was finally merged to SkiaSharp, lol, XF is near the end of its support
Jun 6, 2023 16:30
yeah, but 99% of code are F#
Jun 5, 2023 12:53
converting an android app to .net 7.0 such a pain...
May 30, 2023 07:40
now I finally can write something about TV shows
May 30, 2023 07:39
@s952163 indeed. Happy to see you! New pic, didn't recognize at first :)
May 29, 2023 13:17
@s952163 hi
 

XAML

A friendly room for discussing XAML based technologies. Our Co...
Sep 20, 2023 19:37
@LynnCrumbling any binding errors in logs? possible to create MCVE and share?
Aug 11, 2023 18:43
@FoggyFinder didn't find anything better than simplifying project step by step. Was able to create something close to MCVE after all: github.com/dotnet/runtime/issues/90382
Jul 28, 2023 06:47
@LynnCrumbling can you try "dotnet build -c Release -f net7.0-android "?
Jul 27, 2023 18:59
has anyone tried to use NativeAot with .net 7.0 / 8.0? Any tips how investigate scanner failure issues?
Jul 27, 2023 18:55
Mav: 100%. "be nice" change was the first time I noticed that something is obviously wrong. But I don't believe significant amount of folks had left / will leave or pause their activity for long time. SO just doesn't have any alternatives at all.
Jul 27, 2023 08:20
@Petəíŕd I've left that place long time ago as well as SO in general
Jul 25, 2023 18:16
@LynnCrumbling what was the reason?
Jul 25, 2023 18:13
@LynnCrumbling sorry, no, I don't have one. I would reply before if I had something. I saw the ping but have a little of free time last week :(
Jul 7, 2023 22:07
hm? except odd errors with "IsVisible" in logs I had no issues with bindings in Avalonia
Jul 1, 2023 15:17
or just write custom control if it's not enough
Jul 1, 2023 15:17
@Mr.Squirrel.Downy maybe you could use AutoCompleteBox?
Jun 13, 2023 14:59
wait, wait, I know, I forgot to specify TaskCreationOptions.RunContinuationsAsynchronously
Jun 13, 2023 14:50
will it work in all cases? is there is better way?
Jun 13, 2023 14:50
member _.InvokeOnUiThread(func: Func<Task<'a>>): Task<'a> =
    if Application.Current.Dispatcher.CheckAccess() then
        func.Invoke()
    else
        let tcs = new TaskCompletionSource<'a>()
        let d =
            Action(fun () ->
                async {
                    let! result = func.Invoke() |> Async.AwaitTask |> Async.Catch
                    match result with
                    | Choice1Of2 r -> tcs.TrySetResult(r) |> ignore
                    | Choice2Of2 ex -> tcs.TrySetException(ex) |> ignore
Jun 13, 2023 14:49
Q2, finally WPF-related :) I'd like to execute some Task, this time on UI thread, and return some result. Current implementation:
Jun 13, 2023 14:30
So unlike other platforms SKGLView on Android draws on its own thread. I figured it's easier to execute everything ui-related there instead of trying to force execution on the main thread
Jun 13, 2023 08:16
Jun 13, 2023 08:15
Q: What is the best way to execute Task on specific Thread (not main one)
Jun 12, 2023 14:07
@CausingUnderflowsEverywhere yes, only preview and be ready it's buggy
Jun 8, 2023 08:27
this place is magic! I wanted to ask Q but while I formulated it I get an idea
Jun 8, 2023 08:22
sorry that was inactive here for quite a long time :(