News for hackers. Stuff that matters.
Re:Math.Round opens the browser print dialog by yellowapple on Wednesday June 19, 2019 @11:18PM (#20229539)
In the process of trying to reproduce this bug in some rather silly environments, I've instead discovered that try.dot.net is completely broken on multiple browsers:

- On Firefox for Android, it's impossible to type in a program, since when typing something as simple as "using System;" it'll garble the text like crazy

- On Android browsers in general, the Monaco editor on that page is too "smart" for its own good and presents a worthless context menu when I press and hold (i.e. to select all text or paste it in). Microsoft: could y'all not?

- On both the (presumably-Chromium-based) default browser on my Android phone and Firefox 52.9.0 ESR on a reasonably "recent" OpenIndiana, the Blazor runtime fails to run anything at all when I click "Run", complaining in the JS console (at least on OpenIndiana; didn't check on my phone, but the symptoms are the same) that "No .NET call dispatcher has been set".

- On a reasonably-recent nightly version of Haiku, loading try.dot.net at all causes WebPositive to outright crash within seconds.

Re:Math.Round opens the browser print dialog by zaroth on Thursday June 20, 2019 @12:34AM (#20229905)
But why exactly are so many people determined to try to reproduce this particular bug in every permutation of device/os/browser known to man?
Re:Math.Round opens the browser print dialog by acdha on Thursday June 20, 2019 @07:32AM (#20231752)
They’re joining a “LOL JavaScript” but refusing to use the easy tools available to understand what’s actually happening, so there’s lots of shooting in the dark – not unlike the thread here about strong type systems.
Re:Math.Round opens the browser print dialog by yellowapple on Thursday June 20, 2019 @03:16PM (#20236276)
Why not?
Re:Math.Round opens the browser print dialog by brianush1 on Thursday June 20, 2019 @08:17AM (#20232085)
Microsoft explicitly states[0] that they do not support Monaco on mobile browsers, since it's just too much hassle to maintain and, frankly, nobody codes on mobile.

[0]: https://microsoft.github.io/monaco-editor/

Re:Math.Round opens the browser print dialog by yellowapple on Thursday June 20, 2019 @03:20PM (#20236321)
My point is more that Microsoft's trying to do too much and make Monaco too fancy. Monaco breaks in amusing ways on desktop browsers, too (prime example: none of the sample editors on https://microsoft.github.io/monaco-editor/ are scrollable with the mouse wheel on Firefox on Linux; also, the context menu continues to lack either "select all" or "paste").

If Monaco wasn't so absurdly over-engineered it would be much easier to support on mobile browsers.