FSC hard crash, every line in file underlined; just after: Internal error: not an assembly reference (4x)

I was experimenting to basically try to resolve an issue that I didn't fully understand (and itself reported here, #3508), and then suddenly, BOOM, everything got red and the system showed a messagebox that the FSC.exe compiler crashed:

Repro steps
Repro is simple, just copy and paste the code (it's contrived and simplified to showcase this scenario) and run it from with VS2017 (for FSI, see below):
namespace CrashFSC

open System

// debatable code, but it was the minimalist example I could come up
// with after analysis in the original project
module OhOh =

    type MyByte = MyByte of byte with
        static member inline op_Explicit (MyByte x): int64 = int64 x
        static member inline op_Explicit (MyByte x): double = double x

        static member inline op_Explicit (x: int64): MyByte = MyByte (byte x)
        static member inline op_Explicit (x: float): MyByte = MyByte (byte x)
        static member inline op_Explicit (MyByte x): 'a = failwith "cannot convert"

    /// testing testing
    let inline ( !>>> ) (a: ^a) min: ^b option =
        if a < (^b : (static member op_Explicit: ^b -> ^a) min)
            then None
        else
            Some (^b : (static member op_Explicit: ^a -> ^b) a)

    let inline crashMe (a: ^a) min =
        let (result: MyByte option) = !>>> a min
        result

Expected behavior
FSC should never crash, and "internal error"  errors should not show.
Actual behavior
See video: a crash of FSC after at least four repeated errors of "not an assembly reference". The output log shows this:
1>D:\Experiments\CrashFSC.fs(22,5): error FS0073: internal error: not an assembly reference (Failure)
1>D:\Experiments\CrashFSC.fs(5,1): error FS0073: internal error: not an assembly reference (Failure)
1>D:\Experiments\CrashFSC.fs(3,1): error FS0073: internal error: not an assembly reference (Failure)
1>typecheck error FS0192: error : not an assembly reference
1>typecheck error FS0073: error : not an assembly reference (Failure)
1>parameter error FS0192: error : not an assembly reference

Note that:

You can basically remove any line from the MyByte augmentation, or comment out something else, and the error does not surface.
Putting back any of those offending lines shows the crash again (you can do it repeatedly, VS itself is not harmed)
It takes a few seconds before the crash happens (as seen in the screengrab)
The FSC crashes in the editor, as a result of type-checking / parsing / coloring
The FSC also crashes when you select Build, or Clean > Build
Run this in FSI and the FSI prompt never comes back. If you start typing again, it reappears, however, the code you just pasted in was not compiled.
When I click Debug, there is no useful stacktrace left, which makes sense as it is an unhandled exception:

Known workarounds
None that I know of, except that: be careful with this type of code. However, I have another instance that has similar code (meaning: that uses statically resolved type constraints) that compiles just fine.
Related information
I tested this on several environments:

VS 2017 <IP_ADDRESS> Preview 1, nightlies version 17082202: crash
VS 2017 <IP_ADDRESS> Preview 1, nightlies version 17082202: crash
VS 2017 <IP_ADDRESS> Preview 1, current nightlies version <IP_ADDRESS>82301: crash
VS 2015 latest: no crash, which makes this a regression bug
Crashes with either F# 4.1 and F# 4.0, Release and Debug, x64 (didn't test x86)

@dsyme This looks rather serious

The console build will also fail with .NET Core 2.0 on Ubuntu 16.04 x64:
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

/tmp/crash/Program.fs(17,16): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code. [/tmp/crash/crash.fsproj]
/tmp/crash/Program.fs(20,18): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code. [/tmp/crash/crash.fsproj]
/tmp/crash/Program.fs(22,5): error FS0073: internal error: not an assembly reference (Failure) [/tmp/crash/crash.fsproj]

Build FAILED.

The Mono build fail too (```fsharpc --optimize+ Program.fs) with the following exception stack trace:
 fsharpc --optimize+ Program.fs
F# Compiler for F# 4.1
Freely distributed under the Apache 2.0 Open Source License

/tmp/crash/Program.fs(17,16): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code.

/tmp/crash/Program.fs(20,18): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code.

/tmp/crash/Program.fs(22,5): error FS0073: internal error: not an assembly reference (Failure)

/tmp/crash/Program.fs(5,1): error FS0073: internal error: not an assembly reference (Failure)

/tmp/crash/Program.fs(1,1): error FS0073: internal error: not an assembly reference (Failure)

/tmp/crash/Program.fs(1,1): error FS0073: internal error: not an assembly reference (Failure)

error FS0192: internal error: not an assembly reference

error FS0073: internal error: not an assembly reference (Failure)

error FS0192: internal error: not an assembly reference

Unhandled Exception:
System.Exception: not an assembly reference
  at Microsoft.FSharp.Compiler.AbstractIL.IL+ILScopeRef.get_AssemblyRef () [0x00015] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Tast+TType.GetAssemblyName () [0x00053] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.NicePrint.makeName@2033 (Microsoft.FSharp.Compiler.Tast+TType t1, Microsoft.FSharp.Compiler.Tastops+DisplayEnv denv, Microsoft.FSharp.Compiler.Tast+TType t) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.NicePrint.minimalStringsOfTwoTypes$cont@2019-1 (Microsoft.FSharp.Compiler.Tastops+DisplayEnv denv, Microsoft.FSharp.Collections.FSharpList`1[T] tpcs, Microsoft.FSharp.Compiler.Tast+TType t2, Microsoft.FSharp.Compiler.Tast+TType t1, Microsoft.FSharp.Core.Unit unitVar) [0x0019a] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.NicePrint.minimalStringsOfTwoTypes$cont@2003 (Microsoft.FSharp.Compiler.Tastops+DisplayEnv denv, Microsoft.FSharp.Collections.FSharpList`1[T] tpcs, Microsoft.FSharp.Compiler.Tast+TType t2, Microsoft.FSharp.Compiler.Tast+TType t1, Microsoft.FSharp.Core.Unit unitVar) [0x0014d] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.NicePrint.minimalStringsOfTwoTypes (Microsoft.FSharp.Compiler.Tastops+DisplayEnv denv, Microsoft.FSharp.Compiler.Tast+TType t1, Microsoft.FSharp.Compiler.Tast+TType t2) [0x00112] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.OutputExceptionR@613 (Microsoft.FSharp.Compiler.ErrorLogger+ErrorStyle errorStyle, System.Text.StringBuilder os, System.Exception error) [0x00c5d] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.OutputPhasedDiagnostic (Microsoft.FSharp.Compiler.ErrorLogger+ErrorStyle errorStyle, System.Text.StringBuilder os, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic err, System.Boolean isError) [0x00007] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.report@1535 (System.Boolean showFullPaths, System.Boolean isError, System.String implicitIncludeDir, System.Boolean flattenErrors, Microsoft.FSharp.Compiler.ErrorLogger+ErrorStyle errorStyle, System.Collections.Generic.List`1[T] errors, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic err) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.CollectDiagnostic (System.String implicitIncludeDir, System.Boolean showFullPaths, System.Boolean flattenErrors, Microsoft.FSharp.Compiler.ErrorLogger+ErrorStyle errorStyle, System.Boolean warning, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic err) [0x00066] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.OutputDiagnostic (System.String implicitIncludeDir, System.Boolean showFullPaths, System.Boolean flattenErrors, Microsoft.FSharp.Compiler.ErrorLogger+ErrorStyle errorStyle, System.Boolean isError, System.Text.StringBuilder os, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic err) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Text.StringBuilder arg10@, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic arg20@) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Core.FSharpFunc`2[T,TResult].InvokeFast[V] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] func, T arg1, TResult arg2) [0x0000d] in <595cf004dff9fae1a745038304f05c59>:0
  at Microsoft.FSharp.Compiler.Lib.writeViaBufferWithEnvironmentNewLines[a] (System.IO.TextWriter os, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] f, a x) [0x00009] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit unitVar0) [0x00045] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOptions.DoWithColor[a] (System.ConsoleColor newColor, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] f) [0x0003b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOptions.DoWithErrorColor[a] (System.Boolean isError, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] f) [0x00026] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.CompileOps+TcConfigBuilder tcConfigB, Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic error, System.Boolean isError) [0x0000a] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver+ErrorLoggerUpToMaxErrors.DiagnosticSink (Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic err, System.Boolean isError) [0x00086] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic phasedError, System.Boolean isError) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps+ErrorLoggerFilteringByScopedPragmas.DiagnosticSink (Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic phasedError, System.Boolean isError) [0x00004] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.ErrorLogger+PhasedDiagnostic phasedError, System.Boolean isError) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorR (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn) [0x00025] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.Error[b] (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger.CommitOperationResult[a] (Microsoft.FSharp.Compiler.ErrorLogger+OperationResult`1[T] res) [0x0002a] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.TypeChecker+GeneralizationHelpers.CanonicalizePartialInferenceProblem (Microsoft.FSharp.Compiler.TypeChecker+cenv cenv, Microsoft.FSharp.Compiler.Tastops+DisplayEnv denv, Microsoft.FSharp.Compiler.Range+range m, Microsoft.FSharp.Collections.FSharpList`1[T] tps) [0x00027] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.TypeChecker.TcLetBinding (Microsoft.FSharp.Compiler.TypeChecker+cenv cenv, System.Boolean isUse, Microsoft.FSharp.Compiler.TypeChecker+TcEnv env, Microsoft.FSharp.Compiler.TypeChecker+ContainerInfo containerInfo, Microsoft.FSharp.Compiler.TypeChecker+DeclKind declKind, Microsoft.FSharp.Compiler.TypeChecker+SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1[T] binds, Microsoft.FSharp.Compiler.Range+range bindsm, Microsoft.FSharp.Compiler.Range+range scopem) [0x00047] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.TypeChecker.TcLetBindings (Microsoft.FSharp.Compiler.TypeChecker+cenv cenv, Microsoft.FSharp.Compiler.TypeChecker+TcEnv env, Microsoft.FSharp.Compiler.TypeChecker+ContainerInfo containerInfo, Microsoft.FSharp.Compiler.TypeChecker+DeclKind declKind, Microsoft.FSharp.Compiler.TypeChecker+SyntacticUnscopedTyparEnv tpenv, Microsoft.FSharp.Collections.FSharpList`1[T] binds, Microsoft.FSharp.Compiler.Range+range bindsm, Microsoft.FSharp.Compiler.Range+range scopem) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Core.Unit unitVar) [0x00345] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken _ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00002] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Exception _arg3) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+ResultOrException`1[TResult] _arg1) [0x00010] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.bind[a,b] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] k, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x0002b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00013] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00002] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Exception _arg3) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+ResultOrException`1[TResult] _arg1) [0x00010] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.bind[a,b] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] k, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x0002b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00013] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00002] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Exception _arg3) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+ResultOrException`1[TResult] _arg1) [0x00010] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.bind[a,b] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] k, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x0002b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00013] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00002] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Exception _arg3) [0x00012] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+ResultOrException`1[TResult] _arg1) [0x00010] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.bind[a,b] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] k, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x0002b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00013] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00002] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(System.Exception _arg5) [0x0000c] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+ResultOrException`1[TResult] _arg1) [0x00010] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.bind[a,b] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] k, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x0002b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule+bind@891-1[b,a].Invoke (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok) [0x00013] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.forceWhile[a] (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] check, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x00022] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+EventuallyModule.force[a] (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+Eventually`1[T] e) [0x00007] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.TypeCheckOneInput (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] checkForErrors, Microsoft.FSharp.Compiler.CompileOps+TcConfig tcConfig, Microsoft.FSharp.Compiler.CompileOps+TcImports tcImports, Microsoft.FSharp.Compiler.TcGlobals+TcGlobals tcGlobals, Microsoft.FSharp.Core.FSharpOption`1[T] prefixPathOpt, Microsoft.FSharp.Compiler.CompileOps+TcState tcState, Microsoft.FSharp.Compiler.Ast+ParsedInput inp) [0x00030] in <595cf0767f81fe20a745038376f05c59>:0
  at<EMAIL_ADDRESS>(Microsoft.FSharp.Compiler.CompileOps+TcState tcState, Microsoft.FSharp.Compiler.Ast+ParsedInput inp) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+List.mapFold[a,b,c] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] f, a s, Microsoft.FSharp.Collections.FSharpList`1[T] l) [0x00026] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.TypeCheckMultipleInputs (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] checkForErrors, Microsoft.FSharp.Compiler.CompileOps+TcConfig tcConfig, Microsoft.FSharp.Compiler.CompileOps+TcImports tcImports, Microsoft.FSharp.Compiler.TcGlobals+TcGlobals tcGlobals, Microsoft.FSharp.Core.FSharpOption`1[T] prefixPathOpt, Microsoft.FSharp.Compiler.CompileOps+TcState tcState, Microsoft.FSharp.Collections.FSharpList`1[T] inputs) [0x0000e] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CompileOps.TypeCheckClosedInputSet (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] checkForErrors, Microsoft.FSharp.Compiler.CompileOps+TcConfig tcConfig, Microsoft.FSharp.Compiler.CompileOps+TcImports tcImports, Microsoft.FSharp.Compiler.TcGlobals+TcGlobals tcGlobals, Microsoft.FSharp.Core.FSharpOption`1[T] prefixPathOpt, Microsoft.FSharp.Compiler.CompileOps+TcState tcState, Microsoft.FSharp.Collections.FSharpList`1[T] inputs) [0x00001] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver.TypeCheck (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Compiler.CompileOps+TcConfig tcConfig, Microsoft.FSharp.Compiler.CompileOps+TcImports tcImports, Microsoft.FSharp.Compiler.TcGlobals+TcGlobals tcGlobals, Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger errorLogger, System.String assemblyName, Microsoft.FSharp.Compiler.Ast+NiceNameGenerator niceNameGen, Microsoft.FSharp.Compiler.TypeChecker+TcEnv tcEnv0, Microsoft.FSharp.Collections.FSharpList`1[T] inputs, Microsoft.FSharp.Compiler.ErrorLogger+Exiter exiter) [0x0004b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver.TypeCheck (Microsoft.FSharp.Compiler.AbstractIL.Internal.Library+CompilationThreadToken ctok, Microsoft.FSharp.Compiler.CompileOps+TcConfig tcConfig, Microsoft.FSharp.Compiler.CompileOps+TcImports tcImports, Microsoft.FSharp.Compiler.TcGlobals+TcGlobals tcGlobals, Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger errorLogger, System.String assemblyName, Microsoft.FSharp.Compiler.Ast+NiceNameGenerator niceNameGen, Microsoft.FSharp.Compiler.TypeChecker+TcEnv tcEnv0, Microsoft.FSharp.Collections.FSharpList`1[T] inputs, Microsoft.FSharp.Compiler.ErrorLogger+Exiter exiter) [0x0006b] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver.main0[a] (a ctok, System.String[] argv, Microsoft.FSharp.Compiler.ReferenceResolver+Resolver referenceResolver, System.Boolean bannerAlreadyPrinted, Microsoft.FSharp.Compiler.ErrorLogger+Exiter exiter, Microsoft.FSharp.Compiler.Driver+ErrorLoggerProvider errorLoggerProvider, Microsoft.FSharp.Compiler.Driver+DisposablesTracker disposables) [0x0049c] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver.typecheckAndCompile (System.String[] argv, Microsoft.FSharp.Compiler.ReferenceResolver+Resolver referenceResolver, System.Boolean bannerAlreadyPrinted, Microsoft.FSharp.Compiler.ErrorLogger+Exiter exiter, Microsoft.FSharp.Compiler.Driver+ErrorLoggerProvider loggerProvider) [0x0000f] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.Driver.mainCompile (System.String[] argv, Microsoft.FSharp.Compiler.ReferenceResolver+Resolver referenceResolver, System.Boolean bannerAlreadyPrinted, Microsoft.FSharp.Compiler.ErrorLogger+Exiter exiter) [0x0000a] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CommandLineMain+Driver.main (System.String[] argv) [0x0002e] in <595cf089c960099ba745038389f05c59>:0
  at Microsoft.FSharp.Compiler.CommandLineMain.main (System.String[] argv) [0x00042] in <595cf089c960099ba745038389f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ReraiseIfWatsonable (System.Exception exn) [0x00040] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger+ErrorLoggerExtensions.ErrorLogger.ErrorRecovery (Microsoft.FSharp.Compiler.ErrorLogger+ErrorLogger x, System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x000d2] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.ErrorLogger.errorRecovery (System.Exception exn, Microsoft.FSharp.Compiler.Range+range m) [0x00006] in <595cf0767f81fe20a745038376f05c59>:0
  at Microsoft.FSharp.Compiler.CommandLineMain.main (System.String[] argv) [0x00056] in <595cf089c960099ba745038389f05c59>:0

@zpodlovics: thanks for the stacktrace. So it looks like it tries to load a referenced assembly that either isn't referenced or simply doesn't exist.
I think the root cause might be in the way the compiler tries to resolve static member constraints that involve op_Explicit (and similarly perhaps op_Implicit or other ops). I found that, to make this code work as I wanted it to work, it needed to be rewritten as follows:
namespace CrashFSC
open System
module OhOh =

    type MyByte = MyByte of byte with
        static member inline op_Explicit (MyByte x): int64 = int64 x
        static member inline op_Explicit (MyByte x): double = double x

        static member inline op_Explicit (x: int64): MyByte = MyByte (byte x)
        static member inline op_Explicit (x: float): MyByte = MyByte (byte x)

    /// testing testing
    let inline ( !>>> ) (a: ^a) min: ^b option =
        if a < ((^a or ^b) : (static member op_Explicit: ^b -> ^a) min)
            then None
        else
            Some ((^a or ^b) : (static member op_Explicit: ^a -> ^b) a)

    let inline crashMe (a: ^a) min =
        let (result: MyByte option) = !>>> a min
        result

    let testMe() =
        crashMe 12L (MyByte 15uy), crashMe 12. (MyByte 0uy), crashMe 12L (MyByte 0uy)

Now, if you merely copy/paste this, it will work, and calling testMe() will execute as might be expected (testing agains a minimum value and returning Some/None):
> OhOh.testMe();;
val it : OhOh.MyByte option * OhOh.MyByte option * OhOh.MyByte option =
  (None, Some (MyByte 12uy), Some (MyByte 12uy))

However, it is impossible to type this code without getting the error!. See:

Some thoughts:

The compiler does not properly detect the op_Explicit to be available in one direction only on ^b, even though that's the only type where the op_Explicit is available. Considering there is a warning that this is treated specially, this may be expected. To make code like this working, even though the or is not relevant, is to change:
(^b : (static member op_Explicit: ^b -> ^a) min)

into
((^a or ^b) : (static member op_Explicit: ^b -> ^a) min)

Adding a generic cast expression seems to often lead to this crash. We should either disallow that, or compile it properly (the line static member inline op_Explicit (MyByte x): 'a = failwith "cannot convert")

I thought in my original post this crash only happens with invalid code (not invalid per se, but invalid because the compiler cannot handle it, see #3508 and the previous two points), that is not true anymore, it also happens with valid, compilable code (see video). I have noticed the screen turning red before, but I never managed to repro it (and didn't report). At least now we have a repro.

If you type fast enough, the red-underlining of the whole file will appear, but also disappear after you have typed enough characters. In that case, the FSC-crash is not shown (as seen in the first part of the video), if you wait long enough, the crash happens.

Yes, there is a warning that op_Explicit has special treatment:

/tmp/crash/Program.fs(17,16): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code. [/tmp/crash/crash.fsproj]
/tmp/crash/Program.fs(20,18): warning FS0077: Member constraints with the name 'op_Explicit' are given special status by the F# compiler as certain .NET types are implicitly augmented with this member. This may result in runtime failures if you attempt to invoke the member constraint from your own code. [/tmp/crash/crash.fsproj]

The compiler shouldn't crash.  But equally, this scenario is basically unsupported in any case

@dsyme, it also crashes when you use op_Implicit, which does not give that warning:
module OhOh =

    type MyByte = MyByte of byte with
        static member inline op_Implicit (MyByte x): int64 = int64 x
        static member inline op_Implicit (MyByte x): double = double x

        static member inline op_Implicit (x: int64): MyByte = MyByte (byte x)
        static member inline op_Implicit (x: float): MyByte = MyByte (byte x)
        static member inline op_Implicit (MyByte x): 'a = failwith "cannot convert"

    /// testing testing
    let inline ( !>>> ) (a: ^a) min: ^b option =
        if a < (^b : (static member op_Implicit: ^b -> ^a) min)
            then None
        else
            Some (^b : (static member op_Implicit: ^a -> ^b) a)

    let inline crashMe (a: ^a) min =
        let (result: MyByte option) = !>>> a min
        result

Crash:

Output from compiler before the crash:
1>D:\Projects\Exselt\Experiments\CrashFSC.fs(23,5): error FS0073: internal error: not an assembly reference (Failure)
1>D:\Projects\Exselt\Experiments\CrashFSC.fs(6,1): error FS0073: internal error: not an assembly reference (Failure)
1>D:\Projects\Exselt\Experiments\CrashFSC.fs(3,1): error FS0073: internal error: not an assembly reference (Failure)
1>typecheck error FS0192: error : not an assembly reference
1>typecheck error FS0073: error : not an assembly reference (Failure)
1>parameter error FS0192: error : not an assembly reference

It looks similar to the problem mentioned in #3508, as the hard crash goes away and it compiles just fine if you change the static member call syntax to use (^a or ^b) static member ... instead of just ^a static member .... This was shown in my previous comment.
However, even then, it still crashes when you just type the code. And that crash, too, happens with op_Implicit as well (so no warning to mark this "unsupported").

Compiler crash is fixed by linked PR

@dsyme, wow, that was quick! I'll check it as soon as the next nightly is deployed and available.

Fixed

@dsyme, in the most recent nightlies, it doesn't look so red anymore, but it still crashes the FSC. So it seems like something's fixed, but not everything. Perhaps reopen? Or am I testing too soon?

@abelbraaksma When you install a nightly, it sadly doesn't yet change the actual fsc.exe used when building from Visual Studio, see DEVGUIDE.md.  You have to set FscToolPath explicitly in your projct file to a whacky path under "c:\user\me\AppData..." where the extension is installed
@cartermp @KevinRansom @brettfo  We should fix this somehow.  I think someone said Roslyn has a hack in the targets file for this case?

Yes ... one of these days we will eliminate the Microsoft SDK installs of F#, it's not that it's hard.  It just takes effort.  And un-appetizing as it currently is, it works ... and there are still a lot of not-working things to get to first.

Yes ... one of these days we will eliminate the Microsoft SDK installs of F#

Is that the only way to get the nightly compiler used in preference to the SDK?

Yes ... one of these days we will eliminate the Microsoft SDK installs of F#

Also, what would that mean for the build tool installations (i.e. installations without Visual Studio). Where would the F# compiler actually be installed?
I assume we also have a similar issue with the .NET SDK install of the compiler

Well I assume they would use the BuildTools installer ... which installs msbuild and so installs much like VS just in a different named directory.
https://www.visualstudio.com/downloads/
go to the bottom of the page and click on Build tools for VS2017 ----
It installs msbuild and F#, and whatever you need ...

Select F#
https://www.visualstudio.com/downloads/

Installation will eventually ... not now because of Microsoft sdk ... we would install below build tools...
Make sense?

You have to set FscToolPath explicitly in your projct file to a whacky path under "c:\user\me\AppData..." where the extension is installed

@dsyme, wait, are you saying that all this time I have been testing against older versions of fsc.exe? We should then probably add a big warning to the https://blogs.msdn.microsoft.com/dotnet/2017/03/14/announcing-nightly-releases-for-the-visual-f-tools/ page, as I'm probably not the only one thinking "hurray, just install the VSIX and all my F#-related tools are now updated". Btw, I thought I had read the devguide.md, but must have skipped over this part.
Or do you mean to say that after installing a new VS Preview it overrides whatever the nightly has set? Cause in that case, I could just reinstall the nightly.
@KevinRansom, I don't fully understand your latest comment. That looks like standard installation of VS + F# to me. It is probably not insanely difficult to try to find the location where fsc.exe is set (guess it's some *.target file) and update it manually so that VS from then on uses the nightly instead.

Btw, I thought I had read the devguide.md, but must have skipped over this part.

Actually, I don't see any mention there about installing the nightly and having to set / change the location for fsc.exe. There's a section on "Clobber the F# SDK", but this seems to be related to using whatever you are currently building. But I used the VSIX from here: https://dotnet.myget.org/feed/fsharp/package/vsix/VisualFSharp

@abelbraaksma the nightly is a VSIX, it doesn't carry fsc.exe.
The initial goal for nightlies was to get eyes on the amazing amount of IDE work that Vasily, Saul, Don and a few others were doing earlier in the year.
We need to get around to adding the compiler to the VSIX deployment, and dropping the Microsoft SDK install location for the compiler.  Once we do that, then F5 deployment and the nightlies will safely replace the compiler.  But right now that is not what happens.

@KevinRansom, if that could be done, that would be awesome! I don't know how many people have made the same (wrong) assumptions I did, but even if we improve on informing them, it would make a big difference in early-adoption testing if the FSC.exe could become part of the VSIX. I have no idea what it would take to do so (sorry, never made a VSIX myself), but having it would be a big win in many ways.
Perhaps we should take this (new) thread into a new issue?

@abelbraaksma the nightly is a VSIX, it doesn't carry fsc.exe.

You're right, fsc.exe is not installed into the extension directory, e.g. C:\Users\dsyme\AppData\Local\Microsoft\VisualStudio\15.0_80d64992\Extensions\ao1tjmmj.34g on my machine right now.

We need to get around to adding the compiler to the VSIX deployment, and dropping the Microsoft SDK install location for the compiler. Once we do that, then F5 deployment and the nightlies will safely replace the compiler. But right now that is not what happens.

In this scenario, how will the targets entry in the project file be redirected to use the VSIX-installed deployment?
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>

In this scenario, how will the targets entry in the project file be redirected to use the VSIX-installed deployment?
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>

Can we update that definition? For instance, I believe this could work:
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>
<FSharpTargetsPath Condition=" '$(VisualFSharpNightly) == 'defined' ">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>

@dsyme ... we will have to make everything work ... there is the build task, the targets, and the compiler.  Actually doing it will be fairly easy.  The least appealing part is to make the multi-targeting properties work on the properties dialog.  That and the bug tail ...

@dsyme to ask your direct question ... we already drop shims to forward to the targets file ... they will need some manipulation ... possibly that will be slightly tricky because the deployment directories name is a random guid.

Compared, however, to getting loc done in the OSS build, getting the build off of project .json, getting dotnet sdk projects working in the ide.  Enabling FSI in coreclr, adding package management to FSI, Large project load performance ... this is kind of at the lower end of priorities right now.
However, it might well ... make an interesting weekend project.

possibly that will be slightly tricky because the deployment directories name is a random guid.

Yes, that's what I'm asking about - I don't know a solution to that?

@dsyme, @KevinRansom, since we are all developers here, would a temporary solution be to create a *.cmd file, or *.ps script that can download the latest FSC.exe and set the correct params? This could then be linked in the DEVGUIDE.md and TESTGUIDE.md so that people are going to actually use the correct versions when to try to test the resolution of a bug.
Or, on top of that, add a warning to the VSIX, something like:

To use this nightly with latest compiler, you will need to fix setting so and so, or download script so and so, otherwise the predefined compiler of the latest RTM or VS Preview will be used.

Just a heads up for posterity: this now works as expected and gives a compile-time error without crashing FSC. Tested in 15.8 P2.


Allow Bluetooth TX_POWER to be set via code block

Some applications involving Bluetooth require the micro:bit to be configured to set transmission power to the maximum available so as to achieve maximum range. For example, I have a teacher telling me (via @bittysoftware) that she wants to attach a micro:bit to a drone and capture sensor data in real time from it.
The tx_power property is available to C/C++ developers in the config.json file. See
https://lancaster-university.github.io/microbit-docs/advanced/#compile-time-options-with-yotta

tx_power takes a value of 0-7 where 0 is the minimum power and 7 the maximum.
Please add a block to the Bluetooth package which allows non-default tx_power values to be set.
Thank you

I see in fact there's already a block for this in the "overflow" part of the package. Hooray!


a questions about foreground rendering

Hello, First of all, thank you for your previous suggestion in the previous question #159 , I referred to your suggestion and used the latent in car-studio to reconstruct the foreground and used NeRFacto to reconstruct the background. It can be seen from the WANDB log that certain effects have been achieved on the foreground.
The following image shows the foreground rendering result:

However, for the rendering of the final RGB image (foreground+background), the foreground pixels are too sparse, the picture shows (The red box is the foreground of the current frame)：

especially when editing the foreground (moving left or right),It is almost impossible to see the foreground pixels after they move . the picture shows (Foreground moves 2m to the left):

Can you provide some suggestions?
Best !

Hi @xiao1874, our project does not support deformable objects (e.g. pedestrians, cyclists), but only models the rigid motion in driving scenes. To model deformable objects, I recommend OmniRe (https://ziyc.github.io/omnire) or other solutions for general dynamic scenes (e.g. K-Planes, Dynamic Gaussians, ...)

thx!
I'll try it


It's impossible to start New conversation if configuration config has incorrect recent model (even  if it is updated to correct one later - need to clear local store to fix the problem)

New user faced with problem while DIAL configuration:

Need to update config file to have recent models: only one and restricted for user or not existed
User logged in the DIAL for the first time  -> new conversation is not created, user sees DIAL without settings

Note: user fixed the issue by clearing local store
Expected result: ??? need to investigate and discuss
Do we need to update default variables ? Update documentation for new users?

It is not possible to create new conversation if in 'recentModelsIds' is id of the restricted or not existed model (see the screenshort below).

Way to reproduce localy:

In the Environment Variables set RECENT_MODELS_IDS to "not-existing-model".
Start an APP.
Clean the local storage.
Reload APP. New conversation is not created.
In the Environment Variables set RECENT_MODELS_IDS to existing model.
Reload APP. New conversation is not created - > bug


luisResult was not present in the dictionary

When trying to enumerate entities, getting the following error
"luisResult" was not present in the dictionary
I'm using a slightly modified version of the sample 14 (see below). The error happens when executing the second line
var result = await _botServices.Dispatch.RecognizeAsync(stepContext.Context, cancellationToken);
var luisResult = result.Properties["luisResult"] as LuisResult;

HI! Can you give more of your code then just those two lines? I'd like to repro this.

@jwiley84 - Here you go...
var result = await _botServices.Dispatch.RecognizeAsync(stepContext.Context, cancellationToken);
 var luisResult = result.Properties["luisResult"] as LuisResult;
 var entities = luisResult.Entities;
 foreach (var entity in entities)
 {
   if (Common.BugTypes.Any(s => s.Equals(entity.Entity,
   StringComparison.OrdinalIgnoreCase)))
   {
     await stepContext.Context.SendActivityAsync(
     MessageFactory.Text(String.Format("Yes! {0} is a Bug Type!",
     entity.Entity)), cancellationToken);
   }
   else
   {
     await stepContext.Context.SendActivityAsync(
     MessageFactory.Text(String.Format("No! {0} is not a Bug Type!", entity.Entity)), cancellationToken);
   }
 }

   return await stepContext.NextAsync(null, cancellationToken);

Let me see what I can find out for you.

I am unable to repro this as is.

Can I see the full code you're using for your waterfall? That's what's building your recognizerResult.

@jwiley84 - Here you go
MainDialog
public class MainDialog : ComponentDialog
    {
        private readonly BotStateService _botStateService;
        private readonly BotServices _botServices;

        public MainDialog(BotStateService botStateService, BotServices botServices) : base(nameof(MainDialog))
        {
            _botStateService = botStateService ?? throw new System.ArgumentNullException(nameof(botStateService));
            _botServices = botServices ?? throw new System.ArgumentNullException(nameof(botServices));

            InitializeWaterfallDialog();
        }

        private void InitializeWaterfallDialog()
        {
            var waterfallSteps = new WaterfallStep[]
            {
                InitialStepAsync,
                FinalStepAsync
            };

            AddDialog(new GreetingDialog($"{nameof(MainDialog)}.greeting", _botStateService));
            AddDialog(new BugReportDialog($"{nameof(MainDialog)}.bugReport", _botStateService));
            AddDialog(new BugTypeDialog($"{nameof(MainDialog)}.bugType", _botStateService, _botServices));
            AddDialog(new WaterfallDialog($"{nameof(MainDialog)}.mainFlow", waterfallSteps));

            InitialDialogId = $"{nameof(MainDialog)}.mainFlow";
        }

        private async Task<DialogTurnResult> FinalStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
        {
            return await stepContext.EndDialogAsync(null, cancellationToken);
        }

        private async Task<DialogTurnResult> InitialStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
        {
            var recognizerResult = await _botServices.Dispatch.RecognizeAsync(stepContext.Context, cancellationToken);

            var topIntent = recognizerResult.GetTopScoringIntent();

            switch (topIntent.intent)
            {
                case "GreetingIntent":
                    return await stepContext.BeginDialogAsync($"{nameof(MainDialog)}.greeting", null,
                        cancellationToken);
                case "NewBugReportIntent":
                    return await stepContext.BeginDialogAsync($"{nameof(MainDialog)}.bugReport", null,
                        cancellationToken);
                case "QueryBugTypeIntent":
                    return await stepContext.BeginDialogAsync($"{nameof(MainDialog)}.bugType", null, cancellationToken);
                default:
                    await stepContext.Context.SendActivityAsync(
                        MessageFactory.Text($"I'm sorry I don't know what you mean"), cancellationToken);
                break;
            }

            return await stepContext.NextAsync(null, cancellationToken);

BotServices
public BotServices(IConfiguration configuration)
        {
            var luisApplication = new LuisApplication(
                configuration["LuisAppId"],
                configuration["LuisAPIKey"],
                $"https://{configuration["LuisAPIHostName"]}.api.cognitive.microsoft.com"
                );
            var recognizerOptions = new LuisRecognizerOptionsV3(luisApplication)
            {
                PredictionOptions = new Microsoft.Bot.Builder.AI.LuisV3.LuisPredictionOptions()
                {
                    IncludeInstanceData = true,
                    IncludeAllIntents = true
                }
            };
            Dispatch=new LuisRecognizer(recognizerOptions);

@jwiley84 - Found something interesting. I kind of fixed this after adding the parameter in block in the following snippet. However found something interesting (bug?). luisResult was always null when
using LuisRecognizerOptionsV3. May you might want to take a look into it.
var luisApplication = new LuisApplication(
                configuration["LuisAppId"],
                configuration["LuisAPIKey"],
                $"https://{configuration["LuisAPIHostName"]}.api.cognitive.microsoft.com"
                );
            var recognizerOptions = new LuisRecognizerOptionsV2(luisApplication)
            {
                **IncludeAPIResults = true**,
                PredictionOptions = new Microsoft.Bot.Builder.AI.LuisV2.LuisPredictionOptions()
                {
                    IncludeInstanceData = true,
                    IncludeAllIntents = true
                }
            };
            Dispatch=new LuisRecognizer(recognizerOptions);

....

var result = await _botServices.Dispatch.RecognizeAsync(stepContext.Context, cancellationToken);
            var luisResult = result.Properties["luisResult"] as LuisResult;

@jwiley84 - Where can I report the issue about luisResult issue with V3 mentioned above?

@xieofxie - Could you pls guide me on filing a bug for this?

@csnarain  You could create issue here https://github.com/microsoft/botbuilder-dotnet

Thanks @csnarain for reporting this issue and opening https://github.com/microsoft/botbuilder-dotnet/issues/3520.


Nix flake

Hello,
This is the new PR with clean history after I messed up with the old one (#3). Sorry again for the inconvenience.

@ramiuslr thank you for the contribution!


PLT Loop on docker startup

Hi, i have the following problem when i try to startup a platformatic service with db. Any suggestion?

Thanks for reporting!
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.

Hi, i can't reproduce the problem because is on production machine. The strange thing is that in local environment and on Azure all is working without any problem

Seems like your app is not able to access the database.

I have more information. It's seems that the problem appear only on virtual machine hosted by VirtualBox or VMware


Fix Memory Leaks on iOS

This PR fixes a memory leak on iOS using Apple Maps where AIRMap didn't get deallocated if the component is unmounted during an regionChange animation.
Does any other open PR do the same thing?
No
What issue is this PR fixing?
Didn't file a issue for it and haven't found one.
How did you test this PR?
I did test it on the iOS iPhone 8 Simulator and on an real iPhone 7 device.
Steps to reproduce:

Create a simple Test App where you can mount and unmount the Map Component.
Mount the Map component
Change the region of the map animated, e.g. by calling: animateToRegion
Make sure that - (void)mapView:(AIRMap *)mapView regionWillChangeAnimated:(__unused BOOL)animated gets called. This method did cause the leak.
Unmount the Map component during the animation, this means before - (void)mapView:(AIRMap *)mapView regionDidChangeAnimated:(__unused BOOL)animated did get called.
Notice that dealloc didn't get called in AIRMap.m
If you Mount the Map component again, you will get a new instance of AIRMap, which causes a memory increase of ~30MB in my simulator

These are the PR we are missing. Thank you. LGTM


__get_auth     if len(api_key) > 0 and len(api_secret):

I have added my (testnet) APIKEY+ SECRET in .bash_profile
like so:
export BITMEX_APIKEY=xxxxxxxxxx
export BITMEX_SECRET=xxxxxxxxxxxxxxx
when i run python3 main.py --demo --strategy Doten →
2019-05-06 02:51:27,683 - INFO - Bot Mode : Trade
Traceback (most recent call last):
File "main.py", line 22, in
bot.run()
File "/Users/admin/marketmakers/bitmex/ebisu/src/bot.py", line 123, in run
self.exchange.on_update(self.bin_size, self.strategy)
File "/Users/admin/marketmakers/bitmex/ebisu/src/bitmex.py", line 616, in on_update
self.ws = BitMexWs(test=self.demo)
File "/Users/admin/marketmakers/bitmex/ebisu/src/bitmex_websocket.py", line 59, in init
header=self.__get_auth())
File "/Users/admin/marketmakers/bitmex/ebisu/src/bitmex_websocket.py", line 71, in __get_auth
if len(api_key) > 0 and len(api_secret):
TypeError: object of type 'NoneType' has no len()
any tips/suggestions?

I get the same error.

me too

set "BITMEX_TEST_API" rather then "BITMEX_API", and same for secret. Then run "source ~/.bash_profile" to actually use new variables

@l8nit3tr0ubl3 would we do the same process to run on main net and not test net just reverse?

what ive done is set both BITMEX_API, and BITMEX_TEST_API in the bash_profile file. Then be sure to run "source ~/.bash_profile" to set the new variables. This should bypass the "len > 0" issue for either testnet or mainnet.
however I have run into more issue after (likely user error)

fixed the error by running source ~/.bash_profile before running the main.py.

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @qiuanzhuijing, @ddhjy, @lcsouzamenezes, @Bittium1, @parinz1234, @freespiriter, @i5ting

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
eryk, @uwDavid, @cblh, @Pvakil, @GitHubEmploy, @utkutugrul, @zachhhhh, @ilhanu, @martinpavan, @chinyan, @stefanfluit, @Barralex, @jensdc92, @NightingaleV, @DeivyPereira, @bluebell136, @Pedroti12, @kfivap, @thehapax, @derorin


Feature request: Universal updater

I know, this might be a bit much to ask, but nonetheless something that you may want to think about.
By now, the number of relevant (for the common user!) ARM9 software has shrinked dramatically. We've only got Luma 3DS, GodMode9, SafeB9SInstaller left (and D9WIP / HG9 if you believe some users). With things moving as fast as they do, Luma 3DS may need an update when boot9strap updates, and GodMode9 may need an update when Luma 3DS or boot9strap update. This also goes in the other direction.
I also frequently have users asking how to update GodMode9.
Now, my proposal would be to include a small number of selected ARM9 software in Luma Updater, which would be downloaded and set up right inside the Luma 3DS payload folder.
Stable releases for GodMode9:
https://github.com/d0k3/GodMode9/releases
Stable releases for SafeB9SInstaller:
https://github.com/d0k3/SafeB9SInstaller/releases
Hourlies for both (and others):
http://d0k3.secretalgorithm.com/
If you decide to follow up on this, I'd be willing to help should any changes be required on my side.

Someone did already mention this. I told them that I would look into it. My summer classes start next Monday, and I can't guarantee that I will have time to properly look into it, but it is on my list of things to look into. :)

In thinking about it, as much as I would like to implement this in Luma Updater (calling it LU for short), I'm not sure if I can without royally messing something up. I'm still trying to study and learn LU's code. I may, however, attempt to make a separate app that can accomplish this? And if I succeed in that, I'll see what I can do about merging it in with LU.

Adding to this... see this pull request: https://github.com/SciresM/boot9strap/pull/11
Check my last comment there. I know, I am already several steps ahead, but using the bootonce.firm feature (if @SciresM takes it), you could also init the boot9strap update after the Luma 3DS update.

I'll see what I can do, however, I don't have a whole lot of time and I can't guarantee anything.

I just realized this: MultiUpdater by LiquidFenrir does what you're wanting in that it'll update GM9/H9/D9 and Luma. You could ask Fenrir to see about adding support for bootonce.firm and SafeB9SInstaller. Or I could look into it if Fenrir doesn't want to mess with it.


age and gender demo crash on multiple face detection

Hi Erik/Brandon,
After the spatial coordinates change in the master, the demo is working fine with single face but as soon as 2nd face pops in, after couple of frames, the demo crashes. below is the link to check the error;
https://www.infokliks.com/age-gender.png
what could be the problem and how do i fix it?
also on the age prediction, i am getting 7-10 years age difference. is the "age-gender-recognition-retail-0013" model not working well with Asian faces?
thanks
rex

@rexn8r thanks for reporting the issue, I'll give it a try and resolve (but have some tasks in progress, so will jump on it after these). The issue can be related to the Script node added recently (CC @Erol444), as the error doesn't seem to come from python.
 Taking a look at OV docs regarding the validation dataset used with this model there is a note about dataset

~20,000 unique subjects representing diverse ages, genders, and ethnicities.

Tried it now on my end (25 male caucasian, glasses and beard) it always indentified gender correctly but the age varied between 20 and 40:

With bad lighting, age was lower that it should be: 20-24
With correct lighting, it recognized correct age: 25-26
With intense lighting, age was higher than it should be: 26-32
When taken from an angle (camera looking bottom-up), age was even higher than before: 30-40

However, with my friend (32 male caucasian, beard) it detected his age also as 25-26, even though he was looking straight to the camera and there was a correct lighting - so I think the model accuracy is also something to improve. The dataset used for the training is internal though, so maybe there are other age estimation networks that should be used here, didn't dig into it, happy for any suggestions (CC @tersekmatija )

Hey,
Unfortunately I don't know of any good and fast models for age recognition, but if you know one feel free to suggest it. As @VanDavv said, the model is taken from OpenVINO model ZOO and was trained and evaluated on an internal data set, so we cannot do much here either. Is the age you are getting constantly too high, or just occasionally? If it's occasionally you could do some sort of smoothing over time to get a better value.

Hi guys,
Any update on this issue? I have tried modified age and gender sample on 2 pcs.
Pc1 (ubuntu 20.04) : When i run main.py, i get following warning;

DeprecationWarning: Use 'inputConfig.setWaitForMessage()' instead age_gender_manip.setWaitForConfigInput(False)

I replaced the code with age_gender_manip.setWaitForMessage() but it threw "'depthai.node.ImageManip' object has no attribute 'setWaitForMessage'" error

some times the program crash on following line of code as well even though i have this line inside try/except
det_in = face_q.tryGet()

when multiple faces are detected, the program crash after 10-15 seconds

Pc2 (ubuntu 18.04) : When I run main.py, there is no setWaitForMessage() warning but it does crash out on det_in = face_q.tryGet() occasionally

when multiple faces are detected, the program crash after 10-15 seconds

I have followed below installation steps to install DepthAI dependencies on both pcs;
Step 1 : sudo wget -qO- https://docs.luxonis.com/install_dependencies.sh | bash
Step 2 : python3 -m pip install depthai
Step 3 : git clone https://github.com/luxonis/depthai-python.git
Step 4 : cd depthai-python/examples
Step 5 : python3 install_requirements.py
Step 6:  Downloaded Age and gender demo zip file and ran the requirement.txt file to install the dependencies.
are these installation steps correct? How do I distribute depthai with my software?
looking forward to you assistance as we are seriously looking to use oak-d with our solution.
thanks

I'll be debugging today. but it might be that the fix is very similar to the PR below..
https://github.com/luxonis/depthai-experiments/pull/294

@rexn8r  It doesn't seem to crash for me on latest depthai (2.14.1), but the pipeline isn't designed for multiple faces - we would need to add object tracker to it, to remember the ID of the face.

hi erik
thanks for your response. I did check version on my pc and it is also 2.14.1
so the code sample provided in this demo isn't supposed to handle multiple faces at all? it show up multiple faces with age, gender and distance but after couple of minutes, it would crash on det_in = face_q.tryGet().
thanks
rex

Hey,
Unfortunately I don't know of any good and fast models for age recognition, but if you know one feel free to suggest it. As @VanDavv said, the model is taken from OpenVINO model ZOO and was trained and evaluated on an internal data set, so we cannot do much here either. Is the age you are getting constantly too high, or just occasionally? If it's occasionally you could do some sort of smoothing over time to get a better value.

Hi
the age and gender both fluctuate in terms of accuracy. the age is always below 7-10 years than actual. and the gender also sometimes wrong.
Is it possible to convert to convert age net caffemodel and gender net caffemodel into blob and use it with depthai?
I stumbled upon this link;
http://blobconverter.luxonis.com/
I have following files of caffemodels;
age_net.caffemodel
age_deploy.prototxt
gender_net.caffemodel
gender_deploy.prototxt
which i could convert on the above website link.
But in the age_gender depthai demo, single "age-gender-recognition-retail-0013" blob file is used. so how do i merge these 2 and use it with depthai? is this even possible?
thanks
rex

Hello @rexn8r , yes, it would be possible, you can find model compiling documentation here. You can just use the blobconverter link you posted above and upload both models. I would just convert both models (one by one) and have 2 models running separately - it would be possible to combine both models, but it wouldn't be easy (quite hacky).

thanks will check that out.


No offset-0, meaning the can't reset offset at larger sizes.

Issue description
Currently there is no way to specify offset 0. This means that if you choose to use an offset at a smaller size and then remove it at another breakpoint you can't. Modifying bootstrap classes not through React strap will get the desired results with offset-0
Steps to reproduce issue

Create a Col and give it an offset of one of greater at xs,sm or md
Try and reset using offset-lg-0

Reseting of offset is ignored.

Example of issue: https://www.webpackbin.com/bins/-KgVu7n8-_va3SdIrm93 (inspect and see call is not present)


v0.27 removed the config folder and docker-entrypoint.sh fails to start

docker-entrypont.sh fails with sed: can't read config/app.php: No such file or directory on v0.27

See: https://github.com/BookStackApp/BookStack/commit/97fdfa6ebe3741880b958b963a6e415ee50e5a59

https://github.com/solidnerd/docker-bookstack/pull/162

#165

https://github.com/solidnerd/docker-bookstack/pull/162 is merged and landed in 0.27.4-1


Update javascript-obfuscator to 0.11.1

Hi, I'm hitting a Illegal return statement which is fixed in 0.11.1 of javascript-obfuscator. I think updating will fix the problem.

latest version 0.14.3

I will try to update this weekend.

javascript-obfuscator is all the way up to 0.18.0 and there are a lots of bugs in the 0.10.0 version that have been fixed.   Any chance this can be updated?

Right now it's better to update to 0.17.3. because of 0.18.* is quite unstable and i'll fix bugs only next month.


fix kyverno clusrrole for mutate policy

Fix the clusterrole policy specifying * for resourceNames is invalid

cancel this one as we need to work with argocd


Use ordinal string comparison in string manipulation methods

Use overloads with StringComparison parameter where CurrentCulture would be used instead.

@dotnet-bot test Windows_NT Release_fcs Build please

@dsyme
assembly names are case insensitive, however guidance is that they should be treated as though they were case sensitive.  (Which is pretty scary to me.)
So  StringComparison.Ordinal conforms to best practice for assembly names.
https://docs.microsoft.com/en-us/dotnet/framework/app-domains/assembly-names
Note
The runtime treats assembly names as case-insensitive when binding to an assembly, but preserves whatever case is used in an assembly name. Several tools in the Windows Software Development Kit (SDK) handle assembly names as case-sensitive. For best results, manage assembly names as though they were case-sensitive.

ResourceManager is configurable:
if ignore case is false, then does Culture sensitiveComparison, if ignore case is true does InvariantCulture lookup.
https://docs.microsoft.com/en-us/dotnet/api/system.resources.resourcemanager.ignorecase?view=netframework-4.7.1#System_Resources_ResourceManager_IgnoreCase
Remarks
If the value of the IgnoreCase property is false, a resource with the name "Resource" is not equivalent to the resource with the name "resource". If IgnoreCase is true, a resource with the name "Resource" is equivalent to the resource with the name "resource". Note, however, that when IgnoreCase is true, the ResourceManager.GetString and ResourceManager.GetObject methods perform case-insensitive string comparisons by using the invariant culture. The advantage is that results of case-insensitive string comparisons performed by these methods are the same on all computers regardless of culture. The disadvantage is that the results are not consistent with the casing rules of all cultures.
For example, the Turkish alphabet has two versions of the character I: one with a dot and one without a dot. In Turkish, the character I (Unicode 0049) is considered the uppercase version of a different character ı (Unicode 0131). The character i (Unicode 0069) is considered the lowercase version of yet another character İ (Unicode 0130). According to these casing rules, a case-insensitive string comparison of the characters i (Unicode 0069) and I (Unicode 0049) should fail for the culture "tr-TR" (Turkish in Turkey). However, because the comparison is conducted by using the casing rules of the invariant culture if IgnoreCase is true, this comparison succeeds.

If the guidance in that page for resources is correct, then Culture Sensitive is the way to go for perf and working set.

What I mean is, if the look up is going to be CultureSensitive in the resource manager, which it is, I don't think we set ignoreCase.  I don't know whether A StringComparison.Ordinal check elsewhere can introduce bugs, my intuition is that it won't … but I truly don't know.

@dotnet-bot test Windows_NT Release_ci_part2 Build please.

@KevinRansom I think you meant CultureInsensitive? Because that's the only way resources are read the same way on all systems. And i think that's what the guidance you referenced suggests there.
Changing that default may lead to builds failing on one system and succeeding on another (for instance, my build servers are in Germany and I develop in The Netherlands, I use resources a lot, marking the default Sensitive would possibly introduce hard to diagnose errors)


TypeScript: Don't emit export {}; if there are no import/exports declarations in the input

Describe the bug
export {}; should only be inserted if the input file actually contained import/export declarations.
TSC only inserts it if there was a import or export in the input file. With swc's current behaviour, the file below is not using strict mode in the input but the output is parsed in strict mode.
(As an optimization, TSC furthermore only emits export {}; if the output contains no ESM imports/exports. This doesn't actually make a different though since export {}; is a noop and there are already other delcarations that force strict mode.)
(So one possible rule here would be to only add it if the input contains import type {} or there were import {} declarations that actually only imported types and were therefore also removed)
Related to https://github.com/swc-project/swc/issues/1698
Input code
https://github.com/swc-project/swc/blob/8a36435ee1897d40591b9fab77eae188d54a12dc/tests/fixture/pr-1524/comment-2/input/index.tsx#L1-L7
(= non-strict mode)
Current output
https://github.com/swc-project/swc/blob/8a36435ee1897d40591b9fab77eae188d54a12dc/tests/fixture/pr-1524/comment-2/output/index.tsx#L1-L8
(= strict mode)
Expected output
In that example, no export {}; is added.

You can pass Script instead of Module if you want such behavior.
The parser has an api to parse as a module or as a script, based on the content.
But I think some compatibility transforms require some patch to work with Scripts.

If it's insufficient, please feel free to tell me.

Thanks, so we should be using parse_program instead of parse_module. That does make sense
I did run into panicked at 'not implemented: automatic polyfill for scripts'. In our case, it's fine for a script to become a module.

Seems like changing typescript pass is much easier.
(All passes are written for modules, so I have to test lots of passes to support using Scripts)
As I have to check if it's a module (import/export exists) anyway, I'll modify the typescript pass.

Thanks!


no entity codes in .16.1

no item/entity codes show up in gui in version spelunky 1.16.1 and the enitites.txt file is empty

Having the same issue in the same version, i dont see an entities.txt and it wont let me search in game. When i visit the github link in the readme, it's 404d

We don't care about old game versions. Update your game or if you stole it tough luck.


Fix joint RID not being passed to _set in PhysicalBone

The joint RID was never passed to the _set() function of the joint_data, which meant the joints on the PhysicalServer's side wouldn't be updated.
Attached is a reproduction project (just the platformer demo but with ragdoll physics). Press tab to toggle between stiff and pudding mode.
I think it would be best to remove the default RID() value for the RID j parameter. It's probably better to be explicit to prevent similar bugs in the future.
@Favkis could you check if this patch fixes your issue please?
platformer.zip
platformer.zip (works just well enough for Godot 4)

Changes should be made for the master branch first - that's a general rule of our contributing pipeline. Could you please create a 4.0 version of this PR?

Changes should be made for the master branch first - that's a general rule of our contributing pipeline. Could you please create a 4.0 version of this PR?

I will once @Favkis confirms whether this change fixes his issue or not.

@Demindiro thank you! I'll check i na few hours as soon as I get home!

@Demindiro
It works now!

You've redirect it to master? Never do that again - it's not a common practice + this will confuse other contributors which maintain the bug tracker, you should open a new PR that targets it.

You've redirect it to master? Never do that again - it's not a common practice + this will confuse other contributors which maintain the bug tracker, you should open a new PR that targets it.

Okay, I'll keep it in mind for next time.

I've added the cherrypick label, because, although the change is not cherrypickable, the change is easy enough to backport and it was originally created as a 3.2 PR.

@Demindiro Thanks for the update. Please squash your commits into a single commit.

Thanks!

@Demindiro
Looks like that fixed only .set but not doing same throguh PhysicsServer:

@Favkis Can you check if print(rid.get_id()) returns 0? I'm fairly certain what the issue is but I'd like to confirm.

@Demindiro

Cherry-picked for 3.4.

Looks like that fixed only .set but not doing same through PhysicsServer:

Was there a follow-up for this? If not, it would be good to open a dedicated issue so that it's not forgotten.


Migration command - leveldb2postgres

Command line tool helper to perform a LevelDB to PostgreSQL migration.

Codecov Report

Merging #93 (ea1aecb) into main (e6fe782) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##             main      #93    +/-   ##
========================================
  Coverage   99.98%   99.98%
========================================
  Files          77       79     +2
  Lines        5004     5133   +129
========================================
+ Hits         5003     5132   +129
  Misses          1        1

Impacted Files
Coverage Δ

internal/persistence/persistence.go
100.00% <ø> (ø)

...ternal/persistence/dbmigration/leveldb2postgres.go
100.00% <100.00%> (ø)

internal/persistence/dbmigration/migration.go
100.00% <100.00%> (ø)

...nternal/persistence/leveldb/leveldb_persistence.go
100.00% <100.00%> (ø)

...nternal/persistence/postgres/transaction_writer.go
100.00% <100.00%> (ø)

internal/persistence/postgres/transactions.go
100.00% <100.00%> (ø)

@peterbroadhurst  I'm trying to verify the coverage issue reported above, but I'm actually unable to get the tests to pass locally at all. I've tried to Go 1.19 and Go 1.20, but get the following:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x10343a38c]

goroutine 39 [running]:
github.com/golang-migrate/migrate/v4.(*Migrate).lock.func3()
        /Users/nguyer/.gvm/pkgsets/go1.19/global/pkg/mod/github.com/golang-migrate/migrate/v4@v4.16.1/migrate.go:922 +0x2c
created by github.com/golang-migrate/migrate/v4.(*Migrate).lock
        /Users/nguyer/.gvm/pkgsets/go1.19/global/pkg/mod/github.com/golang-migrate/migrate/v4@v4.16.1/migrate.go:921 +0x1f0
FAIL    github.com/hyperledger/firefly-transaction-manager/internal/persistence/dbmigration     0.632s
ok      github.com/hyperledger/firefly-transaction-manager/internal/persistence/leveldb 3.287s  coverage: 100.0% of statements
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x104badd3c]

goroutine 52 [running]:
github.com/golang-migrate/migrate/v4.(*Migrate).lock.func3()
        /Users/nguyer/.gvm/pkgsets/go1.19/global/pkg/mod/github.com/golang-migrate/migrate/v4@v4.16.1/migrate.go:922 +0x2c
created by github.com/golang-migrate/migrate/v4.(*Migrate).lock

The SIGSEGV is actually saying that PostgreSQL is not running locally.
Need to fix the test so that it reports that situation more cleanly.


Question about emulator settings

Hello, congratulations for such a great project! I was wondering, how can I set the dithering and filtering mode? and how can enabled/disable the sound? I saw on other n64 emulators that are running in a low resolution (I guess for a better performance) is this possible with the n64wasm emulator?
Best regards,
Leonardo

Hi @lrusso currently the emulator does not support changing those settings however I think the sound and resolution are good suggestions so I will add that to my future list. I'm planning on adding a lot more settings to the remap buttons modal and putting all the options in there. Mainly the performance is affected by the cpu though and not the graphics since that is mostly offloaded to the gpu.

Thank you @nbarkhina for your fast reply and attention 👍


Add support for multiple json naming definition

It seems like play-swagger only supports camelCase (since it's the default scala naming convention). It'd be good to define another naming definition since not always people use camelCase, like:
build.sbt
//namingDefinition := iheartradio.naming.SnakeCase
//namingDefinition := iheartradio.naming.KebabCase
//namingDefinition := iheartradio.naming.UpperCase
//namingDefinition := iheartradio.naming.None
//no need for CamelCase since it's default in scala naming
namingDefinition := iheartradio.naming.SnakeCase

Fixed for Play 2.6.x and 2.7x in #285 and #286.

Thanks @gabfssilva , it's released in 0.9.0 and 0.9.0-PLAY2.7


Use enabled param for Elasticsearch reboot

We define this param already but we don't use it.

The govuk_unattended_reboot::elasticsearch::enabled parameter feels misleading. It defaults to false, meaning that the MongoDB check script won't be present, meaning that reboots are more likely to go ahead (because there's no check script to prevent that) if we forget to otherwise disable them.
In other words, setting enabled to false doesn't disable the unattended reboots for Elasticsearch machines, which is surprising behaviour.

I agree, but for now this is bugfix for provisioning the dev VM which maintains the existing behaviour :)

@alexmuller Agreed, merge when ready.


LFS-744: Questionnaire editor does not auto-create minAnswers and maxAnswer fields

Problem found. I created a new question and saved it.

When I opened it int the edit mode again, Data type was gone:

@sashaandjic did you mean max and min answers were gone?

[x]  We should allow 0 as a special value for maxPerSubject meaning no limit (LFS-1034)

Addressed in b97a410 .

[x]  In the questionnaire editor we currently show Unlimited if no value is set, but 0 if 0 is set. Should we treat 0 as a special value and also display it as unlimited in view mode?

Done in 9fdf8c4 .

retested and approved before the merge.


Try to enable bandit pre-commit check in Triton

Part of #2030

Rejected https://github.com/triton-lang/triton/pull/5267

Can we revert the changes locally then?


problem in running the project

hello,i am having a problem in running the project , could u get back to me regarding this , mail me on my email id<EMAIL_ADDRESS>

@prabhuti2906 Did you get this to work ?

Any one run that code..
Please inform me.
Inform me on<EMAIL_ADDRESS>

<EMAIL_ADDRESS>did you manage to run the code, how did you do it?

Yes I will run this code..
Contact on me
WhatsApp
On Thu, Dec 1, 2022 at 12:47 PM OlayinkaSoftware @.***>
wrote:

@@.***, did you manage to run the code, how did you do
it?
—
Reply to this email directly, view it on GitHub
https://github.com/vardanagarwal/Proctoring-AI/issues/61#issuecomment-1333314653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AND2ZTW2GQU2F2TVEBN6B3TWLBGH7ANCNFSM5CMFYQHQ
.
You are receiving this because you commented.Message ID:
@.***>

--
With Kind Regards,

Dhruvil Patel
(AWS Certified Solutions Architect – Associate)
Cell: +91-9913730945
E-Mail: @.*** & @.***
Website: www.dhruvilpatel.com

who manage to run it


SwitchMapSubscriber.eval [as project]

hi
thank you for this chat
i dont know if is the good way to ask some help but i trying
I have this error i tryed to update rxjs but had been worse
Uncaught TypeError: Object(...) is not a function
at SwitchMapSubscriber.eval [as project] (changes.js:7)
at SwitchMapSubscriber._next (switchMap.js:91)
at SwitchMapSubscriber.Subscriber.next (Subscriber.js:95)
at RefCountSubscriber.Subscriber._next (Subscriber.js:131)
at RefCountSubscriber.Subscriber.next (Subscriber.js:95)
at Subject.next (Subject.js:56)
at ConnectableSubscriber.Subscriber._next (Subscriber.js:131)
at ConnectableSubscriber.Subscriber.next (Subscriber.js:95)
at Notification.observe (Notification.js:32)
at AsyncAction.DelaySubscriber.dispatch (delay.js:91)
i think is somewhere here
 const topicsMap = {};           const topics = [];           let hasEntities = false;           messages.forEach((message) => {             if (message.entities) {console.log('message');               for (let entity of message.entities) {                 if (!topicsMap.hasOwnProperty(entity.name)) {                   topicsMap[entity.name] = 0;                 }                 topicsMap[entity.name] += entity.salience;                 hasEntities = true;               }             }           });           if (hasEntities) {             for (let name in topicsMap) {               topics.push({ name, score: topicsMap[name] });             }             topics.sort((a, b) => b.score - a.score);             this.topics = topics.map((topic) => topic.name).join(', ');           }
thank you

@jmdobry any idea?

@nicolasgarnier No idea. I tried the tutorial again, did not encounter this error.

@stann84 I'll close for now but please let us know if you are still experiencing the issue

@stann84 did you fix this? I have the same issue


Sending CTRL, SHIFT, ALT keys to Crashplan

Is there a way to send key combinations, for example like CTRL+SHIFT+C to open the Crashplan command line window?

Is it working when you press these keys on the keyboard?
It works for me under Firefox and Chrome.

I think I am going crazy.  I tried this before I wrote this and it didn't work.  Now it is working.  Maybe my browser was in a weird state.  Sorry for the noise.


No plot produced when xticks and xtick labels specified in hvplot

Hi, I notice that when I specify xticks as a list of tuples of (coordinate, label), no plot is produced.  See example below.
import pandas as pd
import hvplot.pandas

test = pd.DataFrame({'idx': [0, 1], 'value': [0.4, 0.5]})

(
    test
    .hvplot(
        x='idx',
        y='value',
        kind='bar'))

test = pd.DataFrame({'idx': [0, 1], 'value': [0.4, 0.5]})

(
    test
    .hvplot(
        x='idx',
        y='value',
        kind='bar',
        xticks=[(0, 'a'), (1, 'b')]))

I am using pandas version 0.25.1, hvplot version 0.4.0, inside Jupyter Lab version 1.1.4

I think this is a holoviews issue. Any time I try to set .opts on any hv object, I the plot is no longer rendered in the notebook.

xticks is for annotating a numerical axis, typically a continuous range where one can decide how often to put a marker.  A Bokeh bar chart uses a categorical axis, even if the labels on the bars are numerical as they are here, which doesn't support numerical options like xticks.  I'd like there to be a continuous numerical bar chart available, for things like histograms, but it's not yet supported.  So here the issue is presumably that there should be a helpful, visible error message returned to Python. My guess is that there is already such a message if you look at your browser's JavaScript console (for Chrome it's cmd-option-J on Mac, ctrl-shift-J on Windows).

This produces a plot now, but not correctly:
test = pd.DataFrame({'idx': [0, 1], 'value': [0.4, 0.5]})

(
    test
    .hvplot(
        x='idx',
        y='value',
        kind='bar',
        xticks=[(0.5, 'a'), (1.5, 'b')]))

This produces a plot now, but not correctly:
test = pd.DataFrame({'idx': [0, 1], 'value': [0.4, 0.5]})

(
    test
    .hvplot(
        x='idx',
        y='value',
        kind='bar',
        xticks=[(0.5, 'a'), (1.5, 'b')]))

This produces a plot now, but not correctly

Interestingly this is no longer true, the plot isn't displayed at all.

I also have noticed this issue. When the xticks option is set, the plot does not display at all. It returns an empty output. However, if I use yticks instead of xticks, the graph displays as expected.
sensor_data.hvplot.line(x='Timestamp', y='AIT402', xticks=5)

I am also experiencing this- if xticks is set, there is no plot at all.

I have also experienced this for kind='line'.
But, I notice that when transforming the index column of the DataFrame into true column

like this df = df.rename_axis('index1').reset_index())
and convert the dtype to int
like this df['index1'] = pd.to_numeric(df['index1']))
It is now possible to produce a plot when xticks are specified.
I think this is the best way at the moment.

:1  Also looking for a way to set number of xticks on categorical x-axis.


nginx: [emerg] the same path name "/data/hlskeys" used in /usr/local/nginx/conf/nginx.conf:178 and in /usr/local/nginx/conf/nginx.conf:178

In hls / ngx_rtmp_hls_module.c in the first 2346th line and 2421 lines should be removed twice the line or comment out the 2346 on a [I am here temporarily commented out] to prevent nginx dished out configuration error Nginx: [emerg] The same path is used in the following languages.

@Tinywan did you ever find a fix?


Send errors to the error port in DetectFiletype component

We are having some issues with groups in WirePattern when dealing with errors as data and using callback to return the error. Sending them directly to the error port is a workaround.

This should be reverted after https://github.com/noflo/noflo/issues/485 get fixed.


Add get_auto_port so NFS can work with auto

I was running into an issue in microshift where the port being "auto" gave the error Failed to get ip when hosting file {file} on nfs
I took the logic from clusterDeployer, put it in get_auto_port and called it from _validate_api_port & port_to_ip

This line used to call _validate_api_port, which would make sure the port set in the case where it is initially auto. We may want this change to be higher up in the code, for example in the != microshift
https://github.com/bn222/cluster-deployment-automation/blob/main/clusterDeployer.py#L531

LGTM


Option to add order record data

for WC 2 Sierra, where there is no order record, there should be an option to enter the information to insert into items for the whole batch
i.e.
loc=input("Enter LOC code:")
itype=input("Enter Item type:")

Very good idea.  I would even take it further and allow users to record an item template that is persisting and can be used on demand. An additional option combobox can be added to W2S gui to select an apply specific item template. The combobox would become active only when the source of data is different than Sierra export.


Meteor 1.3 Migration

All npmhack packages will be migrated.

Hence meteor 1.3  has a lot issues and it's really hard to migrate from 1.2.1 for Mongoclient, this is ON HOLD currently.


Preserve indentation when creating column box for next page in index

When an index term is written, it is done using a hanging indent. The way hanging indent is implemented is that it indents the whole term, then unindents the first line. If a page break happens during that call to render the index term (typeset_text), then it leaves an indentation on the bounds at the page break. When the new bounds is created for the next page, that indent is not being restored. When the call the render the text completes on the next page, it removes the indent that was never restored on the bounds. As a result, the margin progressively moves to the left.
The solution is to copy the total left and right indent from the current column box to the new column box when a page is advanced in the index.
Note that this issue only arises when media=prepress. That's because only the prepress media changes the page margins at a page break, which is when the column box must be recreated.

Verified. 4c418b5 works with https://github.com/meonkeys/print-this/commit/67c26ffc6a4e5ba39313fa3e894e0611f9ea06ef

Thanks for verifying!!


Compile Failure with Rust >=1.80

Component:

LSP (used with other editor)

LSP version: v0.13 (but also happens on latest master)
OS version and name: macOS 14.6.1

I am on the latest stable version of the LSP.
I have searched the issues of this repo and believe that this is not a duplicate.

Issue
Starting with Rust 1.80 the project fails to compile.
Logs
error[E0282]: type annotations needed for `Box<_>`
  --> /Users/titania/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error

This is a known issue, caused by an outdated version of time in the lockfile (see the (rust issue)[https://github.com/rust-lang/rust/issues/127343]). Running cargo update time seems to fix this and passes all tests (only checked on my machine). Could also open a pull request, if wanted.

Of course I see the pull request only after opening the issue...


Always build CUDA on CI.

Adds a special case to detect when the stripped down CUDA deps on our CI
images are available and uses that (i.e. a full SDK will not detect in
this case).
Fixes #8847

I believe there is at least one other script that could use this: https://github.com/google/iree/blob/main/build_tools/kokoro/gcp_ubuntu/cmake/linux/x86-swiftshader-asan/build.sh. Could introduce a build break and trigger the CI again to see which builds still pass.

I verified some outputs manually. I'm going to land this one if it turns green as it is a strict improvement. Then I'll followup with a deeper cut.

Yay! Thrilled to have this supported again