MacMini M1 - keeps crashing

Tart keeps crashing on mac mini m1.

.gitlab-ci.yml
# You can use any remote Tart image.
# Tart Executor will pull it from the registry
# and use it for creating ephemeral VMs.
image: ghcr.io/cirruslabs/macos-sonoma-base:latest

test:
  # In case you tagged runners that have
  # GitLab Tart Executor configured on them
  tags:
    - macos-m1-1

  script:
    - uname -a

Gitlab output
Running with gitlab-runner 16.9.1 (782c6ecb)
  on macos-m1 YunSgmyJz, system ID: s_aa659e[2](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218279#L2)8ec80
Resolving secrets
00:00
Preparing the "custom" executor
01:01
Using Custom executor...
2024/0[3](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218279#L3)/12 18:03:10 Pulling the latest version of ghcr.io/cirruslabs/macos-sonoma-base:latest...
202[4](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218279#L4)/03/12 1[8](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218279#L8):03:11 Cloning and configuring a new VM...
2024/03/12 18:03:11 Waiting for the VM to boot and be SSH-able...
2024/03/12 18:04:11 tart command returned non-zero exit code: "no IP address found, is your VM running?"
ERROR: Job failed: exit status 1

Full error:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               tart [3859]
Path:                  /opt/homebrew/*/tart.app/Contents/MacOS/tart
Identifier:            tart
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        gitlab-tart-executor [3856]
Responsible:           gitlab-runner [3854]
User ID:               501

Date/Time:             2024-03-12 18:15:52.8319 -0300
OS Version:            macOS 14.4 (23E214)
Report Version:        12
Anonymous UUID:        9849F718-33B6-6341-7C01-2020ABE3E362

Sleep/Wake UUID:       3293EFDD-DAFF-4E6E-8057-A4FCF5D11F45

Time Awake Since Boot: 7700 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x0000000100ec5904

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [3859]

Thread 0 Crashed:
0   tart                          	       0x100ec5904 Run.run() + 6660
1   tart                          	       0x100ecc30d protocol witness for AsyncParsableCommand.run() in conformance Run + 1
2   tart                          	       0x100f1d175 static Root.main() + 1
3   tart                          	       0x100f1dff5 specialized thunk for @escaping @convention(thin) @async () -> () + 1
4   libswift_Concurrency.dylib    	       0x2524fb149 completeTaskAndRelease(swift::AsyncContext*, swift::SwiftError*) + 1

Thread 1:
0   libsystem_pthread.dylib       	       0x18be01d20 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x18be01d20 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x18be01d20 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x000000016f2cdba0   x1: 0x000000016f2cda70   x2: 0x00000001f5a69fc8   x3: 0x0000000000000000
    x4: 0x0000000100fab9b0   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000023
    x8: 0x00000001f3b66bc0   x9: 0x0000000000000000  x10: 0x00000000fffffffe  x11: 0x0000000000000002
   x12: 0x0000000000000001  x13: 0x0000000000000001  x14: 0x00000001f5a69fc8  x15: 0x00000001f5a69fc8
   x16: 0x000000019be672fc  x17: 0x000000019be672f0  x18: 0x0000000000000000  x19: 0x0000000128009a30
   x20: 0x0000000000000000  x21: 0x00006000028b5110  x22: 0x0000000128009c90  x23: 0x0000000128009cb0
   x24: 0x0000000128009b40  x25: 0x00000001f3bbd7f8  x26: 0x0000000128009d30  x27: 0x0000000100f34998
   x28: 0x00000001f4187558   fp: 0x000000016f2cdc30   lr: 0x0000000100ec5680
    sp: 0x000000016f2cdad0   pc: 0x0000000100ec5904 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x100b2c000 -        0x101003fff tart (*) <67cac1cf-5130-3c59-b0a0-7a661e5c6dd3> /opt/homebrew/*/tart.app/Contents/MacOS/tart
       0x2524a5000 -        0x252510ff7 libswift_Concurrency.dylib (*) <d6c9a750-a3e9-3aa3-9d68-e0d6b1469648> /usr/lib/swift/libswift_Concurrency.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x19babf000 -        0x19c01cfff libswiftCore.dylib (*) <05650d36-bbc5-3760-aec7-4d2751b5d729> /usr/lib/swift/libswiftCore.dylib
       0x18be00000 -        0x18be0cfff libsystem_pthread.dylib (*) <45239f06-cc53-36d0-9933-7776ac7ea2fa> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=944.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=944.8M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
ColorSync                          432K       22
CoreGraphics                        16K        1
CoreServices                       224K        1
Kernel Alloc Once                   32K        1
MALLOC                           934.3M       27
MALLOC guard page                  192K       12
STACK GUARD                       56.1M        4
Stack                             9808K        4
VM_ALLOCATE                         32K        2
__AUTH                            1396K      259
__AUTH_CONST                      23.2M      439
__CTF                               824        1
__DATA                             9.9M      426
__DATA_CONST                      21.4M      444
__DATA_DIRTY                      1283K      135
__FONT_DATA                          4K        1
__LINKEDIT                       531.4M        2
__OBJC_RO                         71.7M        1
__OBJC_RW                         2195K        1
__TEXT                           533.2M      460
dyld private memory                272K        2
mapped file                       39.6M        6
shared memory                      848K       13
===========                     =======  =======
TOTAL                              2.2G     2265

-----------
Full Report
-----------

{"app_name":"tart","timestamp":"2024-03-12 18:15:52.00 -0300","app_version":"","slice_uuid":"67cac1cf-5130-3c59-b0a0-7a661e5c6dd3","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.4 (23E214)","roots_installed":0,"incident_id":"A2F98E7F-0285-434F-883E-54777B9620BD","name":"tart"}
{
  "uptime" : 7700,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "coalitionID" : 1913,
  "osVersion" : {
    "train" : "macOS 14.4",
    "build" : "23E214",
    "releaseType" : "User"
  },
  "captureTime" : "2024-03-12 18:15:52.8319 -0300",
  "codeSigningMonitor" : 1,
  "incident" : "A2F98E7F-0285-434F-883E-54777B9620BD",
  "pid" : 3859,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-03-12 18:15:52.7799 -0300",
  "procStartAbsTime" :<PHONE_NUMBER>84,
  "procExitAbsTime" :<PHONE_NUMBER>17,
  "procName" : "tart",
  "procPath" : "\/opt\/homebrew\/*\/tart.app\/Contents\/MacOS\/tart",
  "parentProc" : "gitlab-tart-executor",
  "parentPid" : 3856,
  "coalitionName" : "gitlab-runner",
  "crashReporterKey" : "9849F718-33B6-6341-7C01-2020ABE3E362",
  "responsiblePid" : 3854,
  "responsibleProc" : "gitlab-runner",
  "codeSigningID" : "tart",
  "codeSigningTeamID" : "9M2P8L4D89",
  "codeSigningFlags" : 570522385,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" :<PHONE_NUMBER>,
  "instructionByteStream" : {"beforePC":"GPEBlOBTQPkW8QGU4AMaqhTxAZTABkD5FACA0pT6\/xcgACDUIAAg1A==","atPC":"IAAg1PwPGvj7awGp+WMCqfdbA6n0TwSp\/XsFqf1DAZH\/wwTRqEMB0Q=="},
  "sleepWakeUUID" : "3293EFDD-DAFF-4E6E-8057-A4FCF5D11F45",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001, 0x0000000100ec5904","rawCodes":[1,4310456580],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":3859},
  "os_fault" : {"process":"tart"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":62157,"threadState":{"x":[{"value":6160178080},{"value":6160177776},{"value":8416305096,"symbolLocation":0,"symbol":"type metadata for Bool"},{"value":0},{"value":4311398832,"symbolLocation":0,"symbol":"nominal type descriptor for Parsed"},{"value":0},{"value":0},{"value":35},{"value":8383785920,"symbolLocation":0,"symbol":"NSApp"},{"value":0},{"value":4294967294},{"value":2},{"value":1},{"value":1},{"value":8416305096,"symbolLocation":0,"symbol":"type metadata for Bool"},{"value":8416305096,"symbolLocation":0,"symbol":"type metadata for Bool"},{"value":6910538492,"symbolLocation":368,"symbol":"swift_getEnumCaseMultiPayload"},{"value":6910538480,"symbolLocation":356,"symbol":"swift_getEnumCaseMultiPayload"},{"value":0},{"value":4966095408},{"value":0},{"value":105553158951184},{"value":4966096016},{"value":4966096048},{"value":4966095680},{"value":8384141304,"symbolLocation":6088,"symbol":"InitialAllocationPool"},{"value":4966096176},{"value":4310911384,"symbolLocation":0,"symbol":"type metadata accessor for VMDirectory"},{"value":8390210904,"symbolLocation":0,"symbol":"_swiftEmptyArrayStorage"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4310455936},"cpsr":{"value":1610616832},"fp":{"value":6160178224},"sp":{"value":6160177872},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4310456580,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":3774724,"symbol":"Run.run()","symbolLocation":6660,"imageIndex":0},{"imageOffset":3801869,"symbol":"protocol witness for AsyncParsableCommand.run() in conformance Run","symbolLocation":1,"imageIndex":0},{"imageOffset":4133237,"symbol":"static Root.main()","symbolLocation":1,"imageIndex":0},{"imageOffset":4136949,"symbol":"specialized thunk for @escaping @convention(thin) @async () -> ()","symbolLocation":1,"imageIndex":0},{"imageOffset":352585,"symbol":"completeTaskAndRelease(swift::AsyncContext*, swift::SwiftError*)","symbolLocation":1,"imageIndex":1}]},{"id":62161,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}],"threadState":{"x":[{"value":6160756736},{"value":5891},{"value":6160220160},{"value":0},{"value":409603},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6160756736},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6641687840},"far":{"value":0}}},{"id":62164,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}],"threadState":{"x":[{"value":6161330176},{"value":9987},{"value":6160793600},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6161330176},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6641687840},"far":{"value":0}}},{"id":62176,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}],"threadState":{"x":[{"value":6161903616},{"value":16899},{"value":6161367040},{"value":0},{"value":409603},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6161903616},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6641687840},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" :<PHONE_NUMBER>,
    "size" : 5079040,
    "uuid" : "67cac1cf-5130-3c59-b0a0-7a661e5c6dd3",
    "path" : "\/opt\/homebrew\/*\/tart.app\/Contents\/MacOS\/tart",
    "name" : "tart"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" :<PHONE_NUMBER>,
    "size" : 442360,
    "uuid" : "d6c9a750-a3e9-3aa3-9d68-e0d6b1469648",
    "path" : "\/usr\/lib\/swift\/libswift_Concurrency.dylib",
    "name" : "libswift_Concurrency.dylib"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" :<PHONE_NUMBER>,
    "size" : 5627904,
    "uuid" : "05650d36-bbc5-3760-aec7-4d2751b5d729",
    "path" : "\/usr\/lib\/swift\/libswiftCore.dylib",
    "name" : "libswiftCore.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" :<PHONE_NUMBER>,
    "size" : 53248,
    "uuid" : "45239f06-cc53-36d0-9933-7776ac7ea2fa",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" :<PHONE_NUMBER>,
  "size" :<PHONE_NUMBER>,
  "uuid" : "664c17e3-f7ed-3226-8594-589aa9bf8fd2"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=944.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=944.8M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                          432K       22 \nCoreGraphics                        16K        1 \nCoreServices                       224K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           934.3M       27 \nMALLOC guard page                  192K       12 \nSTACK GUARD                       56.1M        4 \nStack                             9808K        4 \nVM_ALLOCATE                         32K        2 \n__AUTH                            1396K      259 \n__AUTH_CONST                      23.2M      439 \n__CTF                               824        1 \n__DATA                             9.9M      426 \n__DATA_CONST                      21.4M      444 \n__DATA_DIRTY                      1283K      135 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       531.4M        2 \n__OBJC_RO                         71.7M        1 \n__OBJC_RW                         2195K        1 \n__TEXT                           533.2M      460 \ndyld private memory                272K        2 \nmapped file                       39.6M        6 \nshared memory                      848K       13 \n===========                     =======  ======= \nTOTAL                              2.2G     2265 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "3a14963f0175673822938167e52ccd42041e94ee",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000364
    },
    {
      "rolloutId" : "63a0a6cfd1cdb67d083006d0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000003
    }
  ],
  "experiments" : [

  ]
}
}

Model: Macmini9,1, BootROM 10151.101.3, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: LS34A650U, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online
Memory Module: LPDDR4, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 13 2024 03:06:59 version 18.20.4<IP_ADDRESS>.167 FWID 01-7be24857
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB 10/100/1000 LAN
USB Device: USB2.0 Hub
USB Device: USB-C multiport device
USB Device: USB30Bus
USB Device: Dell KB216 Wired Keyboard
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.

Which version of Tart are you using? Please make sure it's not 2.7.0 which had a regression. 2.7.1 includes a fix.

ohh!! it was indeed 2.7.0. Let me try upgrading it to 2.7.1

After upgrading to 2.7.1 It no longer crashes!
However, strangely I got a new error this time any idea? - tart command returned non-zero exit code: "failed to parse remote name: token recognition error at: ' ' (character 46)"
Gitlab-ci error log
Running with gitlab-runner 16.9.1 (782c6ecb)
  on macos-m1-digitalplatformservices YunSgmyJz, system ID: s_aa659e8ec80
Resolving secrets
00:00
Preparing the "custom" executor
00:00
Using Custom executor...
2024/03/12 19:07:36 Pulling the latest version of ghcr.io/cirruslabs/macos-ventura-xcode:latest ventura-xcode...
2024/03/12 19:07:36 tart command returned non-zero exit code: "failed to parse remote name: token recognition error at: ' ' (character 46)"
WARNING: Cleanup script failed: exit status 1
ERROR: Job failed: exit status 1

It seems you set image to ghcr.io/cirruslabs/macos-ventura-xcode:latest ventura-xcode and it should be just ghcr.io/cirruslabs/macos-ventura-xcode:latest

oops! my bad. Thank you so much for all the help.. It worked like a charm.
Running with gitlab-runner 16.9.1 (782c6ecb)
  on macos-m1 YunSgmyJz, system ID: s_aa659e[2](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218302#L2)8ec80
Resolving secrets
00:00
Preparing the "custom" executor
00:12
Using Custom executor...
2024/0[3](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218302#L3)/12 19:29:40 Pulling the latest version of ghcr.io/cirruslabs/macos-ventura-xcode:latest...
2024/03/12 19:29:40 Cloning and configuring a new VM...
2024/03/12 19:29:40 Waiting for the VM to boot and be SSH-able...
2024/03/12 19:29:52 Was able to SSH!
2024/03/12 19:29:52 VM is ready.
Preparing environment
00:02
Running on admins-Virtual-Machine.local...
Getting source from Git repository
00:05
Fetching changes with git depth set to 20...
Initialized empty Git repository in /Users/admin/builds/digitalplatformservices/test-macos-runner/.git/
Created fresh repository.
Checking out 8c5cf61c as detached HEAD (ref is main)...
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:00
WARNING: Starting with version 17.0 the 'build_script' stage will be replaced with 'step_script': https://gitlab.com/groups/gitlab-org/-/epics/6112
$ uname -a
Darwin admins-Virtual-Machine.local 22.6.0 Darwin Kernel Version 22.6.0: Fri Sep 15 13:39:33 PDT 2023; root:xnu-8796.1[4](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218302#L4)1.3.700.8~1/RELEASE_ARM[6](https://git.novascotia.ca/digitalplatformservices/test-macos-runner/-/jobs/218302#L6)4_VMAPPLE arm64
Cleaning up project directory and file based variables
00:01
Job succeeded


python310Packages.chex: 0.1.2 -> 0.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.chex is: "Chex is a library of utilities for helping to write reliable JAX code."
meta.homepage for python310Packages.chex is: "https://github.com/deepmind/chex"
meta.changelog for python310Packages.chex is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.1.3 with grep in /nix/store/sgpa9v66jfql0p684idnz2aph2l0g7vc-python3.10-chex-0.1.3

found 0.1.3 in filename of file in /nix/store/sgpa9v66jfql0p684idnz2aph2l0g7vc-python3.10-chex-0.1.3

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

8 package rebuild(s)

8 x86_64-linux rebuild(s)
8 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.chex
python310Packages.dm-haiku
python39Packages.chex
python39Packages.dm-haiku
python39Packages.elegy
python39Packages.flax
python39Packages.optax
python39Packages.treex

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sgpa9v66jfql0p684idnz2aph2l0g7vc-python3.10-chex-0.1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.chex https://github.com/r-ryantm/nixpkgs/archive/23e8ecc11475d99b643db53509e026f2d1e06fc1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sgpa9v66jfql0p684idnz2aph2l0g7vc-python3.10-chex-0.1.3
ls -la /nix/store/sgpa9v66jfql0p684idnz2aph2l0g7vc-python3.10-chex-0.1.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

python310Packages.dm-haiku
python39Packages.elegy
python39Packages.flax
python39Packages.treex

4 packages built:

python310Packages.chex
python39Packages.chex
python39Packages.dm-haiku
python39Packages.optax

Maintainer pings
cc @ndl for testing.

Done by 78bd5e627943e91eb6a84ceefcc50d3c9b1a9b09.


Added podspec

Please explain why you would like this to be a pod?
Also, the spec references your fork :)

Hi @erikpoort, I don't like cocoapod pods myself; prefer carthage.  Pod for me is just an ongoing maintenance burden.  Unfortunately, because of dependency issues with a few third party libraries we were forced to use cocoapod.  Any react-native libraries with native code that depends on core React must be also be installed through Cocoapod.  If not, it won't compile, so many "can't find RCT*.h module errors.  I believe, this is a known issue with that RN is trying to solve.  In RN 0.60.x, it got better and they also defaulted react-native init's to pods.  I also think there's an ongoing push on RN 0.61.x rc to make cocoapod behave better.
I'm not too familiar with with "spec references" of my fork.  What does it mean?
Hope that helps,
-Mark

I am not really doing any RN development anymore, could you verify if it works?
Assuming I don't need to push this to the pods repo and this will be installed as a development pod.

Thanks @erikpoort, it works.  For now, I just specify this in my package.json:
"react-native-wallet": "erikpoort/react-native-wallet#250a864",
You may eventually need to publish it to npmjs so that users can just specify npm install .....


GlobalLoggerGuard should implement Debug

All public types should implement Debug unless there's a good reason not to.
Since the guard removes the logger when it is dropped, it can be necessary to store the guard as part of a struct which may have Debug bounds.

PR, pls. Thx!


Restore creates 2 conversations for one contact

When restoring,  some contacts get 2 conversations on my phone. One for sent messages and one for received ones. I checked these contacts informations and conversations threads in Gmail compared to the ones with no problem but I can't see any difference.
Thanks in advance for your help.

Update. When I do "show original" on the emails, it shows that when I send the sms, it's written without the country code and when I receive it, it has the country code. Consequently, it shows to threads.
The strange thing it does that even for contact written with the country code in my contact list.

Can you post some examples? Maybe just the headers, can be obfuscated.

I'm experiencing this too. (Although it's not entirely sent vs. received.)
I agree that the two threads have different phone numbers.
One conversation has this header
X-smssync-address:<PHONE_NUMBER>9
and the other has
X-smssync-address: +447123456789

@iainnicol How is the number stored in your contacts? a quick workaround would be to store both numbers in your contacts.

@jberkel, that's a good suggestion, but surprisingly didn't help. I've tried all combinations in the contact:

+44 7
07
both

For my own purposes I'll just locally hack the code to normalise the number on restore.
But I wonder if we could attempt to force use of the country code format during backup?

Yes, I guess it's a matter of checking the different variants and making sure enough information is stored in the backup so that all conversations can be tied together. The address used is currently directly taken from Android, without any modification or additional lookups. Not sure why the country code is sometimes not in there. See MessageGenerator.java#L75-L75.
It is then used to generate an email message id HeaderGenerator.java#L102-L102 which is used by gmail for threading. So the normalization would need to take that into account.


⚠ Bofrost.at has degraded performance

In 849a220, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: Bofrost.at performance has improved in 516a6d3 after 6 minutes.


ARM64 - Clean up capstone build

Right now the cmake of funchook does a git clone of capstone and then builds it.
We should add capstone in our contrib directory rather than be dependent on a clone of it that isn't under our direct control.

@jrcheli the #483 (already merged) addresses this issue so can we close it?

Agreed!  Thanks @michalbiesek!  I'll close this now because no further action is needed.


[SP-6223]: Backport of PDI-18947 - Move files - Empty sub-directories are not moved with "Move Empty Folders" checked (9.3 Suite)

:white_check_mark: Build finished in 20m 4s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:exclamation: No tests found!
:information_source:  This is an automatic message


Dark theme switcher

Add a dark theme switcher that you can click and change the theme. We need this because some people don't see why background. We can set param to a local storage to remember the choice of the user.
The initial theme will be set based on what system theme user is using on his/her machine

It could be a great feature, it just requires a lot of work


Making home page responsive

@sidharth2829  can you share the updated part or issue related to this pr

https://github.com/sagnik3788/FlavorFleet/assets/111569459/fb99b5f5-fd8e-44a4-9872-74160fadf68e
@sagnik3788 , i have made the Home Page responsive for all screens

@sidharth2829 mention the issue number

#38


CustomObjects doesn't work as documented

With this code:
from imageai.Detection import VideoObjectDetection
import os
import cv2
import sys

def forFrame(frame_number, output_array, output_count):
    print("FOR FRAME " , frame_number)
    print("Output for each object : ", output_array)
    print("Output count for unique objects : ", output_count)
    print("------------END OF A FRAME --------------")

def forSeconds(second_number, output_arrays, count_arrays, average_output_count):
    print("SECOND : ", second_number)
    print("Array for the outputs of each frame ", output_arrays)
    print("Array for output count for unique objects in each frame : ", count_arrays)
    print("Output average count for unique objects in the last second: ", average_output_count)
    print("------------END OF A SECOND --------------")

def forMinute(minute_number, output_arrays, count_arrays, average_output_count):
    print("MINUTE : ", minute_number)
    print("Array for the outputs of each frame ", output_arrays)
    print("Array for output count for unique objects in each frame : ", count_arrays)
    print("Output average count for unique objects in the last minute: ", average_output_count)
    print("------------END OF A MINUTE --------------")

execution_path = os.getcwd()

video_detector = VideoObjectDetection()
video_detector.setModelTypeAsRetinaNet()
video_detector.setModelPath( os.path.join(execution_path , "retinanet_resnet50_fpn_coco-eeacb38b.pth"))
video_detector.loadModel()

filename=sys.argv[1]

custom_objects = video_detector.CustomObjects(person=True, bicycle=True, motorcycle=True)

video_detector.detectCustomObjectsFromVideo(
    input_file_path=os.path.join(execution_path, filename),
    output_file_path=os.path.join(execution_path, "traffic_detected"),
    frames_per_second=10,
    custom_objects=custom_objects,
    per_second_function=forSeconds,
    per_frame_function=forFrame,
    per_minute_function=forMinute,
    minimum_percentage_probability=30,
    log_progress=True
)

(which I built following: https://github.com/OlafenwaMoses/ImageAI/blob/master/imageai/Detection/VIDEO.md)
I get this error:
/home/reubenfirmin/imageai/env/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/home/reubenfirmin/imageai/env/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
  warnings.warn(msg)
/home/reubenfirmin/imageai/env/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained_backbone' is deprecated since 0.13 and may be removed in the future, please use 'weights_backbone' instead.
  warnings.warn(
/home/reubenfirmin/imageai/env/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights_backbone' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights_backbone=None`.
  warnings.warn(msg)
Traceback (most recent call last):
  File "/home/reubenfirmin/imageai/detect.py", line 36, in <module>
    custom_objects = video_detector.CustomObjects(person=True, bicycle=True, motorcycle=True)
  File "/home/reubenfirmin/imageai/env/lib/python3.10/site-packages/imageai/Detection/__init__.py", line 579, in CustomObjects
    return self.__detector.CustomObjects(kwargs)
TypeError: ObjectDetection.CustomObjects() takes 1 positional argument but 2 were given

Workaround until source fixed:
class FixedVideoObjectDetection(VideoObjectDetection):

    def __init__(self):
        super().__init__()

    def CustomObjects(self, **kwargs):
        self._VideoObjectDetection__detector.CustomObjects(**kwargs)

@reubenfirmin  Thanks for reporting this. The bug has been fixed in #787


Add SSL Support #76

Add native ssl support

@ffrank updated with all your suggestions. If you are happy, please merge it.
Accidentally closed the previous pr and I can not reopen it as I force pushed my branch after the rebase, sorry :(


[FIX] fixed union membership flags

FIX
Objective:

Fixed the union membership buttons as I realized that I had included the new values in our mock data already so the new ones were unstyled.

renamed


Analyze Groovy files in folder fails

If you select the option to Analyze Groovy files in folder from the command pallet it fails as there's no folder selected.
[Error - 2:14:30 AM] Request workspace/executeCommand failed.
  Message: Request workspace/executeCommand failed with message: Cannot read properties of undefined (reading 'map')
  Code: -32603

Working on getting passing cleanly to validate this fix.


Add saving and loading from URL hash

This addresses issue #8 in a slightly different way.
Instead of saving and loading JSON (just another type of markup along with TikZ), this adds a button that encodes the current diagram and puts it in the URL hash, copying the resulting URL to the clipboard at the same time. This allows the same diagram to be loaded by navigating to the copied URL.
The new button is next to the TikZ button:

and works essentially the same way.

So, I tried to do some dark git magic to rebase my branch so I could have your fix from master. But, I've never done that in conjunction with a fork and a pull request, so I wasn't sure how this would turn out. The only odd thing is that your commit on master is included in this branch -- but once the merge happens I think it'll just show up as one.

Thank you so much!

No problem - thanks for the extremely helpful tool!


solution of All missing number added

Issue Id you have worked upon -
#182
Briefly explain your program logic -
In this program we use cyclic sort to sort the array then we  find the missing number and add it into list
because we don`t know how many numbers are missing from the array
Screenshots(Attach 2 screenshots of your own input and output) -

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied I can be banned from the repository.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@SarthakKeshari
Kindly Check the solution and merge it


Link to new website

Pull Request Test Coverage Report for Build 141

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 136:
0.0%

Covered Lines:
114

Relevant Lines:
114

💛  - Coveralls

Woops, I had missed this one. Thanks!


Fix #6

...

[x] I have read the CONTRIBUTING document.

#6

This should be closed as https://github.com/owenvoke/blade-fontawesome/pull/9 provides the correct fix.


Feature/common io

Iot Assisted Test
Description

Add socket communication between dut and rpi to solve syncronization issue.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vjjunnut @cobusve @brianfr @dongh @satyaprk-amazon


Database

Q
A

New feature?
✔

Sure. I want even to hide Cycle under yiisoft/db abstraction. But I'll think about it later. Here is just working example with only two implementations that really work for now.


tutorial notebook issue

I want to learn how to use lida, so I ran the tutorial jupyter notebook, when I ran the command
i = 0
library = "seaborn"
textgen_config = TextGenerationConfig(n=1, temperature=0.2, use_cache=True)
charts = lida.visualize(summary=summary, goal=goals[i], textgen_config=textgen_config, library=library)
# plot raster image of chart
plot_raster(charts[0].raster)

I got the below issue:
Use the code template below

import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
<imports>
# solution plan
# i.  ..
def plot(data: pd.DataFrame):

    # ii. convert Retail_Price and Dealer_Cost to log scale
    data['Retail_Price_log'] = data['Retail_Price'].apply(lambda x: np.log(x))
    data['Dealer_Cost_log'] = data['Dealer_Cost'].apply(lambda x: np.log(x))

    # iii. plot the distribution of Retail_Price and Dealer_Cost
    plt.figure(figsize=(10, 6))
    sns.histplot(data=data, x='Retail_Price_log', color='red', alpha=0.5, label='Retail_Price')
    sns.histplot(data=data, x='Dealer_Cost_log', color='blue', alpha=0.5, label='Dealer_Cost')
    plt.xlabel('Log Scale')
    plt.ylabel('Frequency')
    plt.legend()
    plt.title('What is the distribution of Retail_Price and Dealer_Cost?', wrap=True)
    return plt;

chart = plot(data) # data already contains the data to be plotted. Always include this line. No additional code beyond this line.. DO NOT modify the rest of the code template.
****
 name 'np' is not defined
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/tmp/ipykernel_1490/2717688829.py in <module>
      4 charts = lida.visualize(summary=summary, goal=goals[i], textgen_config=textgen_config, library=library)
      5 # plot raster image of chart
----> 6 plot_raster(charts[0].raster)

IndexError: list index out of range

Hi,
What model are you using?
In general, gpt3.5/gpt4 models work best with lida.

I had the same error while using gpt 3.5 and it only occur when using `libary="seaborn"


:bug:  Apache 2 link leads to failed check

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:

[ ] squash commits
[ ] include documentation
[ ] add unit tests

Hi @chess-knight and @matofeder, could you quick have a look here? It looks like opensource.org denies requests, which leads to a failing check.
I just delete that now, what seems to work.
I also activated the pr-lint workflow for changes only on README.md like this PR.

Hi @jschoone, this is really strange behaviour, because from my localhost everything works(make lint-links). Check also the .lychee.toml file where "https://opensource.org/license/apache-2-0/" is excluded(you have to adapt that problematic link to make the exclusion work), so I think it has good reason to be excluded. We can try to upgrade lychee to the latest, but I don't think it will help here much. I found a similar issue here lycheeverse/lychee#733. And also CAPH had to ignore it in syself/cluster-api-provider-hetzner#621.

Hi @chess-knight, thanks for the reply. Looks like it was a dot vs. dash typo and a missing slash. Should work now.


Image resize is not saved in the editor (using HTML format)

Hi,
When I'm uploading an image from local (implementing uploadFn as in the docs), it uploads the image correctly. The thing is when I resize the image, I see the change made in the DOM (width attribute added to the img tag), but when saved to HTML and component re-mount (on page refresh), it's back to it's original size.
Is it the same issue as that? when using createEditorState() over HTML format it's ignoring some attributes? or it's something else?
https://github.com/margox/braft-editor/issues/333
Thanks.

Hi, the current version of the editor does not accept any resize-related events. The new size after the image resize will not be recorded,, but I will implement this in subsequent versions, but at least it will not be completed until March.

Sorry, I forgot to do this before :(, and I will take a try at this weekend.


GH actions: rename release drafter file

Summary
Release drafter requires file name exatly to be release-drafter.yml

Oh, this was not fixed with #983?

Both files should be named with yml :)

Both files should be named with yml :)

Ooooh, the trap card! Got It 😂


Stack manager should not set service account on deployment if there is no rbac

What happened?

When installing a stack with no rbac configuration but with a controller, the controller's Deployment could not initialize, with an error on the Deployment that looked something like:
    message: 'pods "crossplane-examples-hello-world-65d5c59976-" is forbidden: error
      looking up service account default/crossplane-examples-hello-world: serviceaccount
      "crossplane-examples-hello-world" not found'

How can we reproduce it?

Create a stack with an empty rbac.yaml, but with an install.yaml deployment
Install the stack
Look at the stack's deployment

What environment did it happen in?
Crossplane version:
d9783258f6538db78c9163e6860ee2100db9ca16

Is this issue still valid or should we close it considering rbac.yaml in stack will no longer be supported?

This should be closed. rbac.yaml is no longer consumed and is now auto-generated.
If there is a similar problem with the existence/contents of install.yaml, lets open a new issue for that.


ResourceAlreadyExistsException when creating lambda function using "lambda_function_existing_package_from_remote_url"

Description
I am trying to create my lambda function using the lambda_function_existing_package_from_remote_url module.
terraform init and terraform plan works completely fine.
However, when I perform terraform apply, I get the following error:
Error: Creating CloudWatch Log Group failed: ResourceAlreadyExistsException: The specified log group already exists:  The CloudWatch Log Group '/aws/lambda/lambda-test' already exists.
with module.lambda_function_existing_package_from_remote_url.aws_cloudwatch_log_group.lambda[0],
on .terraform/modules/lambda_function_existing_package_from_remote_url/main.tf line 149, in resource "aws_cloudwatch_log_group" "lambda":
149: resource "aws_cloudwatch_log_group" "lambda" {
Versions

Module version [Required]:
3.1.0
Terraform version:
1.0.8
Provider version(s):
4.8.0

My question is, is there any way I can configure in the lambda_function_existing_package_from_remote_url module to not create the cloudwatch group at all??

Try setting use_existing_cloudwatch_log_group = true. It will not create resource aws_cloudwatch_log_group but use the one you have already created in advance.
https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/master/main.tf#L150

@antonbabenko I tried using the above flag. I think it worked. But now I am getting a different error as below:
Error: error creating Lambda Function (1): ValidationException:
status code: 400, request id: 1d20392e-b376-4e8c-8669-8178d2054039
Do you have any pointers on this?

The code looks good but it all depends on the values you are specifying there.
I see that there were similar errors reported in Terraform AWS provider:
https://github.com/hashicorp/terraform-provider-aws/issues/23310
https://github.com/hashicorp/terraform-provider-aws/issues/13709
https://discuss.hashicorp.com/t/error-creating-lambda-function-validationexception/8192
Try running Terraform with debugging enabled.

These are the values I am trying to send in:
aws_region = "us-west-2"
lambda_file = "raven.py"
lambda_runtime = "python3.9"
lambda_name = "vulnmgmt-test"
memsize = "130"
handler= "raven.lambda_handler"
description = "Raven Lambda Function"
Do you think all these values are correct syntactically?

memsize = 130 looks wrong to me. It should be between 128 MB and 10,240 MB with 128 increments (if I remember now). Try 128 or 256.
https://docs.aws.amazon.com/lambda/latest/operatorguide/computing-power.html

Did not work. I still get ValidationException

Then try to run terraform CLI in debug mode to identify the cause for this error.

This is the request payload which is getting sent by lambda/CreateFunction {"Code":{"ZipFile":"ewogICJlcnJvcnMiIDogWyB7CiAgICAic3RhdHVzIiA6IDQwNCwKICAgICJtZXNzYWdlIiA6ICJGaWxlIG5vdCBmb3VuZC4iCiAgfSBdCn0="},"Description":"Raven Lambda Function","EphemeralStorage":{"Size":512},"FunctionName":"vulnmgmt-test","Handler":"raven.lambda_handler","MemorySize":128,"PackageType":"Zip","Publish":false,"Role":"","Runtime":"python3.9","Timeout":3}
So it is not able to find the zip file packaged as lambda deployment pacakge.
Where is the module checking for the local_existing_pacakge?
local_existing_package = data.null_data_source.downloaded_package.outputs["filename"]
I have these other resources defined in my main.tf
  triggers = {
    downloaded = local.downloaded
  }

  provisioner "local-exec" {
    command = "curl -L -o ${local.downloaded} ${local.package_url}"
  }
}

data "null_data_source" "downloaded_package" {
  inputs = {
    id       = null_resource.download_package.id
    filename = local.downloaded
  }
}```

For some reason, the provisioner command "curl ..." does not execute at all when running the code. @antonbabenko Do you know why this might be the case?
I get this error as debug output
evalApplyProvisioners: module.lambda_function_existing_package_from_remote_url.aws_lambda_function.this[0] is tainted, so skipping provisioning


Update 4.2. Storage - Azure Files.md

Fixed some grammatical errors on a couple of words

Thanks for fixing the mistakes @bersayder, looks great. Cheers 🍻


Using Request POST doesn't add parameter

(THIS IS NOT A QUESTION)
Actually I use serenity to do API Testing using rest assured. I have the code like this:
   HttpRequest request = new HttpRequest(
                "/something/cart/addToCart",
                "");

        Response response = given()
                .headers(HttpHeaderManager.getHeaders())
                .and()
                .params(DefaultParams.getAllParams())
                .and()
                .param("itemSku", "xxxxxx")
                .param("quantity", "2")
                .param("cartId", UserDefinedVariables.getData("username"))
                .when()
                .post(request.generateUrl())
                .then()
                .statusCode(200)
                .body("success", equalTo(true))
                .extract()
                .response();

I already add params before sending the request through method post(). But it doesn't append the url with the params. Bug???? the request only get: http://localhost:8080/something/cart/addToCart

I also encountered this problem，becase "Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1", You need to remove “charset=ISO-8859-1“，then i am back to normal

you can do like this : given().contentType(ContentType.URLENC)

@jiangyitao Thanks for your comment. You can remove the automatic adding of charset by using the EncoderConfig.
@Hendrione Does this help?


Added cdn.jsdelivr.net to csp style directive

CSP was blocking the katex css from loading from the CDN. I have added cdn.jsdelivr.net to the allowed list.
Alternatively, consider hosting the css file locally

CSP was blocking the katex css from loading from the CDN. I have added cdn.jsdelivr.net to the allowed list.
Alternatively, consider hosting the css file locally

Thank you so much!! Sorry I haven't checked the pull request on my repo. I have been waiting for the update on the mathlified issues section! Thank you again it worked like a charm!! Now I can write my blog posts with math!!


Fix TorchSharp package dependencies

Fixes https://github.com/dotnet/TorchSharp/issues/629

@NiklasGustafsson could you please have a look? I would recommend pushing an updated version of the TorchSharp package to NuGet after merging with this change. Otherwise, the dependencies of this package are currently broken.
CC @dayo05

@tarekgh -- thanks for the quick turnaround! I will push to NuGet tonight.


Kernel boot logo

Steps to reproduce issue
Connect to the HDMI connected to a monitor
Boot the device
Expected result
The tux (linux) logos should not be visible on the screen
Actual result
no activity on HDMI at all, screen doesn't appear to pick up any signal
Other information
Reported by: Shaun Mulligan
Test configuration: Odroid XU4
Test case number: TC08
Test run: https://resinio.testlodge.com/projects/16238/runs/230391?tab=2&run_section_id=253461&executed_case_id=10655806#executed_case_10655806

This issue was moved to resin-os/resinos#433


Do not post the entire package.json

For packages stored in a private registry, it would preferable that their entire package.json was not posted.   Would it be possible to only post name, version, dependencies, devDependencies?

Would you take a PR for this feature?  Otherwise, I will create a separate package to sanitize the package.json.

:+1:

@majgis - as a solution for the issue #95, I made a workaround that allows one to exclude package and also suppress the additional package.json details.
https://gist.github.com/shamasis/e2969a1b9505d450586c90689061918d

i'd be open to a PR that strips the package.json down to the name, version, engine, dependencies, devDependencies, optionalDependencies, peerDependencies, and bundle(d)Dependencies properties.
those are currently the only fields we have near-future plans for, and we can always make additions later

Thank you.  I'll submit a PR this weekend if nobody wants to beat me to it.

@evilpacket suggested putting this behind a --private flag.  I will plan on doing that.

Shouldn't it be private by default though?
I don't see much point in posting a bunch of npm scripts and configs and other junk stored in the package.json if NSP doesn't care about it or use it.

Agreed. We were sitting on the fence about getting some of those things because we may analyze them in the future, but chances are the cli won't do that but our hook services will.
Let's just make it the default. we may need to change that default in the future if we need some other piece of data.

On Apr 27, 2016, at 2:05 PM, Peter deHaan<EMAIL_ADDRESS>wrote:
Shouldn't it be private by default though?
I don't see much point in posting a bunch of npm scripts and configs and other junk stored in the package.json if NSP doesn't care about it or use it.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/nodesecurity/nsp/issues/94#issuecomment-215228953


It is still in progress, I know but maybe would be usable.
Spec: https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis
W3C Doc: https://w3c.github.io/speech-api/webspeechapi.html#tts-section

This is cool, but I believe we should prioritize stable APIs first


Group -> Mailbox

I see you can go from a mailbox to a group using gyb but I need to go the other way - I have a collaborative mailbox group that I need to migrate to a standard google apps account and mailbox. As far as I can see this isn't possible with gyb but thought I'd check.

There is no group export API so GYB has no way to support this.


[PE-D][Tester D] Quickstart UI not updated

The UI shown in the quickstart is drastically different from the actual UI of the application. That might be abit confusing to the readers.

Labels: type.DocumentationBug severity.Low
original: aexolate/ped#3

fixed in PR #148


Check for filter in style as well as attribute.

collapseGroups was not detecting a filter when it was in a style rather than an attribute.
This change resolves one regression mismatch (svgs/oxygen-icons-5.113.0/scalable/mimetypes/small/64x64/image-x-adobe-dng.svg) and reduces pixel mismatches by 67.
This type of problem seems like it is probably widespread (including in the same conditional in this plugin, where it is looking for a clip-path). I didn't see any tools to query the style attribute in a standard way. The solution in this PR is not going to scale well - it seems like it would be desirable to have a standardized, efficient way to query/change the style attribute - maybe it's there and I'm missing it?

Why do this instead of getComputedStyle?

Why do this instead of getComputedStyle?

Are you talking about computeStyle()? This seems like it has a huge overhead.

Are you talking about computeStyle()? This seems like it has a huge overhead.

I'd recommend using computeStyle too. It will also account for the stylesheet.


issue running sample

Hi, I am having some issue starting this sample. I followed the steps on the README to run it.
the fail part of the log happens when i go to https://localhost:7267/ via browser.

PS C:\Users\D\Desktop\blazorApps\PlaidQuickstartBlazor\Server> dotnet run
Building...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:7267
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:5027
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\D\Desktop\blazorApps\PlaidQuickstartBlazor\Server

fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      System.InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area:  }.
         at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointMatcherPolicy.ApplyAsync(HttpContext httpContext, CandidateSet candidates)
         at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet)
         at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
PS C:\Users\D\Desktop\blazorApps\PlaidQuickstartBlazor\Server>

@daskabe , thanks for trying it out, and reporting your outcome. I just tried this on a new machine, and everything worked fine. Must be something in your config?
Can you try dotnet --list-sdks and report the result? Also dotnet --list-runtimes?

hi, it could be my machine - I'm relatively new to blazor apps. Here is my config
In VS -  do you have exact steps on how to run the projects.
The first thing I did was right click the server project and do Debug>start.  it fails with the above error on the browser as well.

      System.InvalidOperationException: Cannot find the fallback endpoint specified by route values: { page: /_Host, area:  }.
         at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.DynamicPageEndpointMatcherPolicy.ApplyAsync(HttpContext httpContext, CandidateSet candidates)
         at Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet)
         at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|10_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

So please check to ensure that this file did not disappear off your system.


Optionally configure API endpoint/url via environ

I do not want to edit source to be able to send to a testing backend server. Environ variable is added.

@justinc1 thanks for your contribution!


Get rid of Form

S-expressions can be represented as either a Form, as part of the pretty printer, or as an Object, as part of the GOOS interpreter.  The GOOS Object can be read from a text file/string, can use a TextDB to find which file/line a part of a form came from, has more features, has equality checking, and is easier to use, but doesn't have pretty printing. These should merge into a single Object which can pretty print itself.
This will make it easier for the decompiler and its tests to read/write text files.

[x] Add pretty printing to GOOS Object
[ ] Add option for integers to print as hex/binary
[x] Fix pretty printing bug where there are more consecutive parenthesis than the maximum line length
[x] Add tests for pretty printer (print, read, verify its the same)
[x] Replace use of Form with Object.

Done in https://github.com/water111/jak-project/pull/64
Didn't add the hex/binary print because it seems like bad idea after thinking about it.


[BUG] Pagination appears broken for threat-intelligence-indicators/list (Sentinel)

API Spec link
https://learn.microsoft.com/en-us/rest/api/securityinsights/threat-intelligence-indicators/list?view=rest-securityinsights-2024-03-01&tabs=HTTP
API Spec version
2024-03-01
Describe the bug
The $top field is declared as optional, but nowhere does the document state the default value is 100.
When I query the REST endpoint with no $top only the first 100 indicators are returned, the subsequent nextLink
contains no indicators.
{"value": []}

This should be documented in the REST API specs or the behavior should be updated so pagination is not broken when
$top is not specified.
Expected behavior
When $top is not specified pagination should continue until all indicators are returned.
Actual behavior
Only the first 100 indicators are returned, the subsequent nextLink contains no indicators.
Reproduction Steps
// reproduce.py
import os

from typing import Iterator

from azure.identity import ClientSecretCredential
from requests import Session

def fetch(s: Session, *, top: int | None) -> Iterator[dict]:
    subscription_id = os.getenv("SENTINEL_SUBSCRIPTION_ID")
    resource_group_name = os.getenv("SENTINEL_RESOURCE_GROUP_NAME")
    workspace_name = os.getenv("SENTINEL_WORKSPACE_NAME")

    r = s.get(
        f"https://management.azure.com/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}"
        f"/providers/Microsoft.OperationalInsights/workspaces/{workspace_name}/providers/Microsoft.SecurityInsights"
        f"/threatIntelligence/main/indicators",
        params={"api-version": "2024-03-01", "$top": top},
    )
    r.raise_for_status()
    j = r.json()

    yield from j["value"]

    while next_link := j.get("nextLink", None):
        r = s.get(next_link)
        r.raise_for_status()
        j = r.json()
        yield from j["value"]

def ilen(iterable: Iterator[dict]) -> int:
    return sum(1 for _ in iterable)

def main():
    secret = ClientSecretCredential(
        tenant_id=os.getenv("SENTINEL_TENANT_ID"),
        client_id=os.getenv("SENTINEL_CLIENT_ID"),
        client_secret=os.getenv("SENTINEL_CLIENT_SECRET"),
    )
    token = secret.get_token("https://management.azure.com/.default").token

    s = Session()
    s.headers = {
        "Accept": "application/json",
        "Authorization": f"bearer {token}",
    }

    print(f"- {ilen(fetch(s, top=None))=}")
    print(f"- {ilen(fetch(s, top=100))=}")
    print(f"- {ilen(fetch(s, top=200))=}")
    print(f"- {ilen(fetch(s, top=1000))=}")

if __name__ == '__main__':
    main()

// shell commands
foo@bar:~$ pip install azure-identity requests
...
foo@bar:~$ python reproduce.py
- ilen(fetch(s, top=None))=100
- ilen(fetch(s, top=100))=100
- ilen(fetch(s, top=200))=200
- ilen(fetch(s, top=1000))=1000

Environment

Operating System: Linux arch 6.9.3-arch1-1
Python Version: Python 3.10.14 (venv)

Changes made to this endpoint may have also broken the Python Azure-SDK package downstream:

https://github.com/Azure/azure-sdk-for-python/issues/36021

@xuhumsft Please help take a look, thanks.

Today I found the time to test the /threatIntelligence/main/indicators endpoint further. From what I can tell
pagination is clearly broken.
Unless I am using the endpoint wrong it appears that every page appears to contain every single indicator. It also
appears the generated nextLink is incrementing the $skip value but this is being completely ignored. The paging
appears to be never ending with the $skip value even being incremented by the endpoint greater than the
defined $top.
Although this is manageable for small environments this becomes a very serious concern when the number of indicators
exceeds ~6000 (depending on indicator pattern length) as we are no longer able to paginate all the indicators in the
platform.
This is a significant problem for us as we are relying on this endpoint to protect our customers. Unfortunately, it
appears that the Threat Intelligence Data Connector + Graph API GET /security/tiIndicators is the
only reliable way to ingest indicators into customer environments. Yet somehow this approach is both beta (Graph) and
deprecated (Connector).
I'll show the behavior I'm experiencing below:
Script
For this example I have modified reproduce.py to help log duplicates. Let's name it reproduce_pages.py.
# reproduce_pages.py
import os
import sys
import urllib.parse
from collections import Counter

import requests
from azure.identity import ClientSecretCredential
from requests import Session

def pagination_example() -> None:
    secret = ClientSecretCredential(
        tenant_id=os.getenv("SENTINEL_TENANT_ID"),
        client_id=os.getenv("SENTINEL_CLIENT_ID"),
        client_secret=os.getenv("SENTINEL_CLIENT_SECRET"),
    )

    s = Session()
    s.headers = {
        "Accept": "application/json",
        "Authorization": "bearer " + secret.get_token("https://management.azure.com/.default").token,
    }

    subscription_id = os.getenv("SENTINEL_SUBSCRIPTION_ID")
    resource_group_name = os.getenv("SENTINEL_RESOURCE_GROUP_NAME")
    workspace_name = os.getenv("SENTINEL_WORKSPACE_NAME")

    params = {"api-version": "2024-03-01", "$top": 8_000}
    next_link = (
        f"https://management.azure.com/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}"
        f"/providers/Microsoft.OperationalInsights/workspaces/{workspace_name}/providers/Microsoft.SecurityInsights"
        f"/threatIntelligence/main/indicators?{urllib.parse.urlencode(params)}"
    )

    counter = Counter()
    page = 1

    while next_link:
        r = s.get(next_link)
        print(f"# PAGE {page} - [{r.status_code}] GET {next_link}")
        j = r.json()
        try:
            r.raise_for_status()
        except requests.HTTPError:
            print(j, file=sys.stderr)
            raise

        for i, indicator in enumerate(j["value"], start=1):
            indicator_id = indicator["name"]
            counter[indicator_id] += 1

            # Only log the first and last 2 indicators (for brevity)
            if indicator in j["value"][:2] + j["value"][-2:]:
                print(f"[{i}] {indicator_id} (count={counter[indicator_id]})")
            elif i == 3:
                print("...")

        page += 1
        next_link = j.get("nextLink", None)

if __name__ == "__main__":
    pagination_example()

Sentinel Instance (Small)
When I run it a Sentinel instance with 3262 indicators we can see that every page contains every single indicator. The
next link then appears to edit the $skip parameter but as shown by the responses this is clearly not respected.
foo@bar:~$ python reproduce_pages.py
# PAGE 1 - [200] GET https://management.azure.com/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&%24top=8000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=1)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=1)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=1)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=1)
# PAGE 2 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=1000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=2)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=2)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=2)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=2)
# PAGE 3 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=2000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=3)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=3)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=3)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=3)
# PAGE 4 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=3000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=4)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=4)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=4)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=4)
# PAGE 5 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=4000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=5)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=5)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=5)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=5)
# PAGE 6 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=5000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=6)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=6)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=6)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=6)
# PAGE 7 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=6000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=7)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=7)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=7)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=7)
# PAGE 8 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=7000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=8)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=8)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=8)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=8)
# PAGE 9 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=8000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=9)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=9)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=9)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=9)
# PAGE 10 - [200] GET https://management.azure.com:443/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&$top=8000&$skip=9000
[1] f313e338-7556-1044-b097-c24e2d2a9f9d (count=10)
[2] 228c1439-2ea6-0988-784d-108bed178331 (count=10)
...
[3261] 1780bb5e-6eb3-2fda-084a-7edd31f7e7cb (count=10)
[3262] 5d9bc8e3-060b-42c0-ecc6-2b04d02ed399 (count=10)
Traceback (most recent call last):
<SIGKILL> ... manually killed script because this script will run forever!

(note in page 10 that $skip is greater than $top)
Sentinel Instance (Medium)
The problem gets more damning when I attempt to run the same script in a Sentinel environment with 6919 indicators. As
the first response contains every indicator, we quickly encounter a hard limit where our responses 400 due to a memory
limit on the endpoint.
foo@bar:~$ python reproduce_pages.py
# PAGE 1 - [400] GET https://management.azure.com/subscriptions/{SENTINEL_SUBSCRIPTION_ID}/resourceGroups/{SENTINEL_RESOURCE_GROUP_NAME}/providers/Microsoft.OperationalInsights/workspaces/{SENTINEL_WORKSPACE_NAME}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators?api-version=2024-03-01&%24top=8000
{'error': {'code': 'BadRequest', 'message': 'Response too large. Please try a lower page size.'}}
Traceback (most recent call last):

This leaves us in a scenario where we are unable to paginate at all because the $skip is completely ignored by the
endpoint as shown by #sentinel-instance-small.
Any advice would be greatly appreciated.

@ityankel Can you help take a look?

Hi team, has there been any followup with this issue? Is there a better place I should escalate this instead?


Making it work, hooray!

First of all, I cleaned up the code, a comment for each print statement is kinda useless.
I removed pandas as it's a little too much for this, I choose pyperclip which is a nicer way of solving things, pandas wasn't even mentioned and as it does not come preinstalled with python, the code basicaly did not run, I had to troubleshoot the code to find this.
I updated the README to mention that you need to install pyperclip, also included a link to an error some Linux users may get.
I tested the code and it runs on:

GNU/Linux Fedora 31 (with a little tweak from the link mentioned in the README)
Windows 10

Unsure about macOS but it should work there as well

Thank you for fixing these issues - I was planning to release an update soon but haven't had chance to recently.


nginx-alpha Ingress Controller ProxyPass syntax issue

The ProxyPass URL must have a trailing forward-slash to properly proxy to the root of another http service. Furthermore, the Ingress points must be declared with trailing slashes to match.
Example: with the current setup, if I have a ingress /a pointing to a backend nginx service, the Ingress service will keep the /a subdirectory appended, forcing the backend service to try to access <service>/a, instead of the webroot.
Adding a trailing forward slash to the Ingress point and nginx config will properly forward HTTP requests.

@aLostEngineer the behavior you are describing is correct.
What you are proposing is a rewrite (which can break some apps). Please check this issues https://github.com/kubernetes/contrib/issues/679 and https://github.com/kubernetes/contrib/issues/860

@aledbf is the ingress rewrite directive ready for deployment? If so, I can close the issues/PRs. From what it looks like here, it is. If so, maybe I should add an example to the nginx-alpha README instead?

Closed PR #1267 and Issue #1268 until I am better informed on newer features.

is the ingress rewrite directive ready for deployment?

Yes.
@aLostEngineer nginx-alpha and nginx are different implementations of an Ingress controllers.

@aledbf Ok, thanks. I'll refactor our deploy to use the rewrite option in Ingress.
Closing.

Yeah this is one area that we compromise usability on one backend for cross platform compat. Annotations/config map is the way to expose such features. Please do add examples (but to the main nginx controller, since nginx-alpha is a toy example that is intentionally kept as simple as possible).


Set the website of this GitHub repo to the Atmopshere package

https://atmospherejs.com/copleykj/mesosphere
Example:

done


Oracle CDC-2.3.0 DML statement couldn't be parsed

Describe the bug(Please use English)
A clear and concise description of what the bug is.
Environment :

Flink version :  1.14.6
Flink CDC version: 2.3.0
Database and version: Oracle Database 11g Enterprise Edition Release <IP_ADDRESS>.0 - 64bit Production

To Reproduce
Steps to reproduce the behavior:

The test data :
Insert a piece of data
The test code :

CREATE TABLE purchasegoods_source (
    BIZNO	string,
    GOODS_NAME	string,
    SOURCE	string,
    CORPNAME	string,
    IDCARD	string,
    TAXNUM	string,
    CREATE_TIME	string,
    DEAL_TIME	timestamp,
    PROJNAME	string,
    TOTAL_AMOUNT	decimal(22,2),
    TOTAL_COUNT	decimal(22),
    TOTAL_AMOUNT_RATIO	decimal(22,4),
    TOTAL_COUNT_RATIO	decimal(22,4),
    GOODS_PRICE	decimal(22,2),
    GOODS_MODEL	string,
    GOODS_UNIT	string,
    PRIMARY KEY(BIZNO,GOODS_NAME,SOURCE) NOT ENFORCED
) WITH (
     'connector' = 'oracle-cdc',
     'hostname' = '<IP_ADDRESS>',
     'port' = '1521',
     'username' = 'xxxxx',
     'password' = 'xxxxxxx',
     'database-name' = 'db',
     'schema-name' = 'tpd',
     'table-name' = 'PURCHASEGOODS',
     'debezium.log.mining.continuous.mine'='true',
     'debezium.log.mining.strategy'='online_catalog',
     'debezium.database.tablename.case.insensitive'='false',
     'scan.startup.mode' = 'latest-offset'
)

The error :

Additional Description
If applicable, add screenshots to help explain your problem.
The task initialization is normal, and this exception only occurs when the data changes.
Error is still reported after adding parameters according to the prompts in the figure.use cdc-2.2.1 is normal.

Error is still reported after adding parameters according to the prompts in the figure

Duplicated with https://github.com/ververica/flink-cdc-connectors/issues/1965.


Class not found in recompiled apk

AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lo/ΐ;
I decompiled an app with
apktool d -f -r  app.apk
and then recompiled with
apktool b app
It seems to be an issue with the accent character.
I'm using 2.2.0
I did not make any changes to the app. Just decompiled and recompiled.

The template for the issue is there to help me help you. This is probably Dexguard and I need to examine these APKs on a case by case basis if you can upload/link it.

sorry!
here you go:
akp.zip
thanks for the help!

Didn't get any errors replicating your steps. I did get some warnings though
08-10 06:32:39.438  6512  6512 W System.err: java.lang.NullPointerException: Attempt to invoke interface method 'long com.designfuture.music.IMediaPlaybackService.getTimestamp()' on a null object reference
08-10 06:32:39.438  6512  6512 W System.err: 	at o.ˉ.ι(SourceFile:2575)
08-10 06:32:39.438  6512  6512 W System.err: 	at o.і.onStart(SourceFile:343)

and
08-10 06:32:39.586  6592  6600 W CursorWrapperInner: Cursor finalized without prior close()
08-10 06:32:39.594  6592  6592 W cr_AwBrowserProcess: Failed to create lock file /data/user/0/com.musixmatch.android.lyrify/app_webview/webview_data.lock
08-10 06:32:39.594  6592  6592 W cr_AwBrowserProcess: java.io.IOException: fcntl failed: EAGAIN (Try again)
08-10 06:32:39.594  6592  6592 W cr_AwBrowserProcess: 	at java.nio.FileChannelImpl.basicLock(FileChannelImpl.java:123)

Are you on Windows by chance? It sometimes has problems with charsets that might clobber class names and lead to that error.

No response from author in 4 years. Closing.

[git add file](url)


Typha, Apiserver and controller unstable after upgrading to calico 3.25.1

We are upgrading calico from 3.23.3 to 3.25.1
After the upgrade, we observed that the pods for typha, calico-kube-controller and apiserver are continuously terminating and replaced with new pods. However the same is not observed in 3.25.0.
Expected Behavior
It should stable like 3.25.0
Current Behavior
we observed that the pods for typha, calico-kube-controller and apiserver are continuously terminating and replaced with new pods in calico 3.25.1
Possible Solution
Don't know yet.
Steps to Reproduce (for bugs)

upgrade to calico 3.25.1 (inline or direct upgrade)

Context
We are upgrading  calico as a part of EKS upgrade to 1.26

Could be related to https://github.com/projectcalico/calico/issues/7748

@bbharat3 can you post more details, like logs and kubectl describe for the crashlooping pods?


refactor: rename default config

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 8.761%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
41

Relevant Lines:
468

💛  - Coveralls


Add Migrator Button and Badge to Dashboard

We need to add a badge under the Project name showing whether the Identities for the project are being read/written to the Edge API or the Core API.
Add the badge here:

We should also add a call to action next to the badge if the Project is still on the core API. The CTA should take people to a docs page that details migrating to the Edge API. URL to follow.

Should be based on use_edge_identities

This is live under the edge_identities flag

If we want to adjust the url just reopen


Different behavior for "functionTest" and functionTest

To illustrate what I mean:
Run test | Debug test
test "functionTest" {
    // tests go here....
}

test functionTest {
    // tests go here...
}

The action items for running and debugging tests don't show up for the kind of test which uses a name corresponding to the function being tested. It would be nice if it did!
If this is a config issue on my end, let me know and I'll close the issue.  Thanks for your time and effort.
Zig 0.13.0, VSCode on macOS 1.90.2, Zig Language v0.5.8.

This feature does not exist yet, see #57 and #72. Are you using a fork perhaps?

Oh! how interesting.
I compiled my own ZLS after installing Zig 0.13.0, there was some lag in feature support and it was the easy way forward.
Other than that, I'm running Zig Language v0.5.8, standard download from VSCode.
But the combination of those two thing definitely provides run and debug, here's a screenshot:

It's exceptionally useful, especially being able to set up a specific test and run the debugger directly on it.
It's possible that language server support for running and debugging tests means that the VSCode-specific plugin doesn't have to do anything extra here?
I'll leave this issue open long enough to check in with ZLS and figure out what's going on.  It's starting to sound like this feature request should be filed with them.

@mnemnion ZLS does not provide any execution support.
Are you sure you don't have something like https://marketplace.visualstudio.com/items?itemName=ianic.zig-language-extras installed?

That's where it is, thanks.

The issue is already tracked here, just in case someone runs across this same issue.


Locksmith cannot move stored data to from service “A” to service “B”

Hi,
I'm pretty sure this is not an issue, and that I am doing something wrong, but maybe you can still help me.
In version v1 of my app, I was writing some data in the keychain by using
Locksmith.saveData(data: data, forUserAccount:"A1", inService: "S1")
Now, in v2, I realized that I would like to migrate my data from "S1" to "S2", so I've set on to writing a small migration script to achieve this.
Essentially, what I am doing:
// read the old data
if let d = Locksmith.loadDataForUserAccount(userAccount: "A1", inService: "S1") {
// write it in a new location
Locksmith.saveData(data: d, forUserAccount: "A1", inService: "S2")
}
This is an oversimplification of my code.
The problem is that d = nil every time, although I know for sure it exists (when I am building the v1 of the app, I can see the data exists in that location).
Any ideas on this? Did somebody run into this problem before?
Some tech specs: Xcode 8.3 Swift 3.1 Locksmith 3.0 (via Carthage) iOS Simulator (iPhone 6s) running iOS 10.3
Didn't try on a real device.
Thanks!
SO Link: http://stackoverflow.com/questions/43350597/ios-locksmith-cannot-move-stored-data-to-from-service-a-to-service-b

Ok, figured it out! Somehow, in the process of developing v2, I changed the Target > Capabilities > Keychain Sharing > Keychain Group value. Therefore, I was trying to access a wrong keychain group. Everything working as expected now


Add tags to the EJson encoding for TypeStat

Resolves #2404.
Please tell me what hiedous goofs I've made :wink:.
I'm not sure if we want to call it tag, type seemed like a decent alternative too, but I thought that might be a bit odd when we have multiple things that can be considered "type" in the response.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@garyb Yeah, I think avoiding type is probably good. What about kind, it is a bit more descriptive than tag, though the lack of meaning in the latter might be considered a feature?

Also, thanks for the PR!

Updated to kind :+1:


MQ no longer available?

I searched and cannot find an MQ server image anywhere in our marketplace. Does this doc need to be updated to exclude MQ (and Websphere as near as I can tell)? Or am I missing something? Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f1b288d1-dcb0-8428-7479-40f3923dac13
Version Independent ID: 90dbf703-6167-8c14-ff9f-00cef2968f05
Content: IBM workloads on Azure
Content Source: articles/virtual-machines/workloads/mainframe-rehosting/ibm/get-started.md
Service: virtual-machines-linux
GitHub Login: @njray
Microsoft Alias: edprice

@brandonh-msft Thanks for the feedback. We are investigating into the issue and will update you shortly.

The doc says - "In addition, IBM software, including WebSphere and MQ, is now in the Azure Marketplace."
I think the doc is talking about these options on Azure marketplace :
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/midvision.websphere-mq
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/midvision.websphere-mq-90?tab=Overview

https://azuremarketplace.microsoft.com/en-us/marketplace/apps/midvision.websphere-application-server-be-and-mq?tab=Overview

Ah. I think we have a discoverability problem, then. If you search the marketplace for IBM - you don't see these offerings. I came by this revelation from our IBM page: https://azure.microsoft.com/en-us/campaigns/ibm/
If you scroll to the bottom you'll see "Create VM images" and if you click any of those icons, you won't see the result in the search that gets executed. This led me to believe that we no longer had MQ, WebSphere, etc available.
Any suggestion on how to proceed?

ah yes right you are; just wasn't the same title & icon as shown on that IBM page so my eyes didn't "see" it ;)
I'll leave resolution up to you folks as to how you want to handle this; was just a confusing experience for me.

Thanks @brandonh-msft
As this is more of an update on the Azure marketplace page, we will keep the doc as is. This issue will be available for anyone to refer. If we see more feedback coming up on this, will share with the right team for the updates.
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


[SP-2259][PDI-11374] Excel Writer - Write Header Fields

@mbatchelor  could you review its backport for https://github.com/pentaho/pentaho-kettle/pull/1471

@brosander, @hudak, mind reviewing it please?


Discover

Object reference not set to an instance of an object.
   at ITCC.HTTP.Server.Core.ResponseFactory.BuildResponse(HttpListenerContext context, HttpStatusCode code, Object body, IDictionary`2 additionalHeaders, Boolean alreadyEncoded) in C:\SpetsStroy\SpetsStroyDemo\ITCC.Library\ITCC.HTTP.Server\Core\ResponseFactory.cs:line 88
   at ITCC.HTTP.Server.Core.ResponseFactory.BuildResponse(HttpListenerContext context, HandlerResult handlerResult, Boolean alreadyEncoded) in C:\SpetsStroy\SpetsStroyDemo\ITCC.Library\ITCC.HTTP.Server\Core\ResponseFactory.cs:line 67
   at ITCC.HTTP.Server.Core.StaticServer`1.<OnMessage>d__36.MoveNext() in C:\SpetsStroy\SpetsStroyDemo\ITCC.Library\ITCC.HTTP.Server\Core\StaticServer.cs:line 389

Fixed


NotFoundError: Key D/d1/d0/biases not found in checkpoint

I'm trying to run the test with the pretrained checkpoint.
Unzipped pretrained.zip  to GazeCorrection/log3_25_1/checkpoints.
When I run bash scripts/test_log20_3_25_1.sh this error is thrown:
NotFoundError (see above for traceback): Key D/d1/d0/biases not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Hey @BernardoGO , this is happenning because of two below lines where the code tries to find latest checkpoints and start training on top of them, I guess pretrained which authores released is kind of buggy/incomplete and hence you need to retrain the model from scratch:
so comment lines 160-161 of GazeGAN.py and proceed training:
 if ckpt and ckpt.model_checkpoint_path:                 pass                 # start_step = int(ckpt.model_checkpoint_path.split('model_', 2)[1].split('.', 2)[0])                 # self.saver.restore(sess, ckpt.model_checkpoint_path)             else:                 print("")


Upgrade rules_jvm_external

This also increases the bazel version.
This also bumps the version of rules_nodejs. It is still very out of date, but I wanted to keep the scope of the changes small, and the previous version didn't work on current versions of bazel.

ugh, I finally got it to work on bazel 6, but now it is broken on bazel 5. What should I do here?

ok, after going down a rabbit hole of updlating other stuff too, this is finally passed the build.


Is SQL Timestamp supported?

I have a table that's got a timestamp column. Is there a way to read/write this? Should I use chrono for that?

MSSQLs timestamp data type is a synoym of the rowversion type,
which has no time semantics ("The rowversion data type is just an incrementing number and does not preserve a date or a time. [...] The Transact-SQL timestamp data type is different from the timestamp data type defined in the ISO standard.")
https://docs.microsoft.com/de-de/sql/t-sql/data-types/rowversion-transact-sql?view=sql-server-2017
So the only thing that makes sense is reading it into an u64, which probably currently won't work.
Maybe you can read it into a Vec<u8>, but not sure.
If your goal is to use it for time, please refer to microsofts advise: " To record a date or time, use a datetime2 data type.".

Thanks for the response, we're still developing, so I can to change to datetime2 as you suggest


Using trained PyTorch model

Hello,
Thank you for making the PyTorch implementation available. What are the steps to using a trained model for activity recognition on some videos in my folder?
I have downloaded the ECO Lite model using gd_download.py and have the model downloaded. I have a folder of videos in .avi format.
Thanks,

@sophia-wright-blue
To train the model you need to create the training and testing list of your dataset which each folder includes frames of a video.
If you're training on a dataset other than ones we used, then you need also update the code with information of your dataset, e.g. number of classes.


Why are you using "use_mel_posterior_encoder"?

Hi I'm sungwoo Moon.
First of all, thank you for your sharing your code.
I'm looking at your code and I'm wondering why you use 'use_mel_posterior_encoder'.
In the paper vits1, it says that we use spectrogram like vits1, but I wonder if there is a difference in TTS performance.
Thank you.

In paper they said they use Mel spec, while vits1 uses linear spec. Am I missing something? 🧐

In paper they said they use Mel spec, while vits1 uses linear spec. Am I missing something? 🧐

So is there a big difference between the effects of these two conditions?

I think better to use linear spectrogram. But it's not a big deal

@p0p4k Oh! i'm sorry. I read the paper wrong.
Thank you


Improve ArrowWriter memory usage: Buffer Pages in ArrowWriter instead of RecordBatch (#3871)

Which issue does this PR close?

Closes #3871
Rationale for this change

Buffering pages should be more memory efficient, and also allows for finer-grained control over row group sizing.
What changes are included in this PR?

Are there any user-facing changes?

Benchmarks show no discernible impact on performance

https://github.com/apache/arrow-rs/pull/4287 adds the necessary Send bounds, although I am also exploring an approach that doesn't need them

FYI @sundy-li


Update disclaimer

The driver is supported, but currently in beta. Let's make the
disclaimer reflect that.

@dorlaor Please approve.


Can I view my uni-directional links on the graph editor ?

I fully understand that you have made graph editor especially for the GRAPH model with the edges, but I cannot see the reason why it can't be used to show the uni-directional links that one make on the DOCUMENT model ?

hi @healiseu
it is not possible. It has been designed for Graph Model.
We could leave this open as enhancement but with low priority
Thanks

+1, it would be nice to extend our uni-directional links to the graph model in a better way.


Create iestphuanta

URL: https://iestphuanta.edu.pe/

@jctorreslozano lib/domains/pe/edu/iestphuanta: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@jctorreslozano Thank you for your patience while waiting for a review and processing your request. Pull request merged.


papirus-icon-theme: 20190302 -> 20190331

Motivation for this change
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/releases/tag/20190331
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Seems to already be on master, sorry for the delay!


UTF-8 doesnt work

I set both
htmlToPdf.setInputEncoding('UTF-8'); htmlToPdf.setOutputEncoding('UTF-8');
as utf-8 but it doesnt work at all it just omit the different language text part in pdf result file and doesnt show it

i  have same question too


flutter-winit fails to compile on MacOS

I get a whole string of "method not found in `flutter_engine::FlutterEngine" errors from flutter-winit when running cargo flutter run on the example file. I'm running MacOs 10.14.

I'm also getting a similar error on linux: error[E0599]: no method named add_pluginfound for structflutter_engine::FlutterEngine in the current scope.
➜ flutter --version
Flutter 1.17.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b041144f83 (3 days ago) • 2020-06-04 09:26:11 -0700
Engine • revision ee76268252
Tools • Dart 2.8.4
➜ dart --version
Dart VM version: 2.8.4 (stable) (Unknown timestamp) on "linux_x64"
➜ rustc --version
rustc 1.44.0 (49cae5576 2020-06-01)
➜ cargo --version
cargo 1.44.0 (05d080faa 2020-05-06)

Same here - on Linux

Same, any updates?

Can reproduce using
Flutter 1.22.0 (stable)
Dart 2.10.0
rustc 1.46.0
cargo 1.46.0

Still an issue with Flutter 2 on:
OS Ubuntu 21.04
Flutter 2.2.1 (stable)
Dart 2.13.1
rustc 1.52.1
cargo 1.52.0

Can reproduce on OS X (Catalina - 10.15.7)
❯ flutter --version
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (3 months ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4
❯ dart --version
Dart SDK version: 2.13.4 (stable) (Wed Jun 23 13:08:41 2021 +0200) on "macos_x64"
❯ rustc --version
rustc 1.53.0 (53cb7b09b 2021-06-17)
❯ cargo --version
cargo 1.53.0 (4369396ce 2021-04-27)


Character vibration in sprint mode with ping.

Hello, I am writing now because I have been looking for the problem for 2 weeks and I have not been able to solve it. I'm very frustrated and I'm already here to see if you can give me a hand. You don't know the favor you would do me and the headache you would take away from me.
Detailed description of issue
When I try to get into sprint mode either by changing it in runtime or the Desired Gait variable before starting the game, when there is ping involved, it is impossible to move with this configuration. It only happens with sprint mode. Sometime with walking. With Running everything works perfectly.
Steps To Reproduce:

Click on the 3 dots to the right of play.
Go to advanced settings and search for "Enable network emulation" to add simulated ping.
Put the character in "Desired gait sprint" and try to move.

Expected Results:
It should move normally even with ping as it happens when running mode.
Actual Results:
The character will begin to vibrate and move slowly from its place.

This is happening on my dedicated server with a normal ping but I use the network simulation so you can check it. Here is a video:
https://github.com/Cesio137/ALSReplicated/assets/36801628/b574ef39-ae5f-4916-91e4-24cfbaec6ee3

Found that Max Walk Speed, Acceleraiton variables are not been replicated. Server and client variables are not sync.

Where are these variables located? In the character's Blueprint (ALS_AnimMan_Character or ALS_Base_Character)?

Yes, sprint works weirdly in dedicated server, sometimes it works and sometimes it fails, most of the time it fails.
You can try dedicated server by:
UnrealEditor.exe ALSReplicated.uproject ALS_DemoLevel -server -log -nosteam
and clients by:
UnrealEditor.exe ALSReplicated.uproject <IP_ADDRESS> -game -WINDOWED -ResX=800 -ResY=600 -winX=100 -WinY=20 -log -nosteam

Where are these variables located? In the character's Blueprint (ALS_AnimMan_Character or ALS_Base_Character)?

ALS_Base_CharacterBP


BUG: song after the first song don't play on clicking.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When searching, only the first song played and the subsequent songs when clicked can't be played.
I'd like to work on this issue under GSSOC'24. Please assign it to me.
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sakshii00 where did you check this thing on your own machine or current demo web.

I checked on my machine, using the steps provided.

I just checked the demo, it is working there, I'm sorry for the trouble.