Warn on unsupported hot reload configurations for fuchsia

Steps to Reproduce

Run flutter application on fuchsia
2 use fx flutter-attach successfully
change a dart file
press "r"

Expected behavior: build finishes, application reloads
Observed behavior: build never completes.
Logs
[...]
[        ] Compiling dart to kernel with 1 updated files
cc @jonahwilliams

Can you provide more log output?

[  +12 ms] executing: [/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/dart-pkg/git/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +34 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] fatal: HEAD does not point to a branch
[        ] executing: [/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/dart-pkg/git/flutter/] git rev-parse
--abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] HEAD
[        ] executing: [/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/dart-pkg/git/flutter/] git log -n 1
--pretty=format:%H
[   +9 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 28b63a25a1ba56a628a02fe891b724cf298530bc
[        ] executing: [/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/dart-pkg/git/flutter/] git log -n 1
--pretty=format:%ar
[   +6 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 3 weeks ago
[        ] executing: [/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/dart-pkg/git/flutter/] git describe --match
v*.*.* --first-parent --long --tags
[   +8 ms] Exit code 128 from: git describe --match v*.*.* --first-parent --long --tags
[        ] fatal: No names found, cannot describe anything.
[   +3 ms] Could not interpret results of "git describe":
[  +42 ms] executing: /usr/local/foo/home/maxbittker/Android/Sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /usr/local/foo/home/maxbittker/Android/Sdk/platform-tools/adb devices -l
[        ] List of devices attached
[   +4 ms] executing: /usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/dev_finder list -full
[+2019 ms] 192.168.XX.XX paper-ranch-bush-hazel
[  +27 ms] Waiting for a connection from foo on paper-ranch-bush-hazel...
[+10006 ms] executing: ssh -F /usr/local/foo/home/maxbittker/fuchsia/out/x64/ssh-keys/ssh_config 192.168.XX.XX find /hub -name
vmservice-port
[ +259 ms] /hub/r/user-2949393614/9073818/c/flutter_jit_runner.cmx/9076877/out/debug/vmservice-port
                    /hub/c/flutter_jit_runner.cmx/12096/out/debug/vmservice-port

                    find: failed to stat /hub/r/user-2949393614/9073818/c/flutter_jit_runner.cmx/9076877/c/foo.cmx/1/out/object: Broken
                    pipe
                    find: failed to stat /hub/r/user-2949393614/9073818/c/flutter_jit_runner.cmx/9076877/out/debug/vmservice-port/37497: No
                    such file or directory
                    find: failed to stat
                    /hub/r/user-2949393614/9073818/c/dart_jit_product_runner.cmx/9087014/c/experiment_agent.cmx/1/out/public/fuchsia.modular.A
                    gent: Not supported
                    find: failed to stat
                    /hub/r/user-2949393614/9073818/c/dart_jit_product_runner.cmx/9087014/c/experiment_agent.cmx/1/out/public/fuchsia.modular.L
                    ifecycle: Not supported
                    find: failed to stat /hub/c/flutter_jit_runner.cmx/12096/out/debug/vmservice-port/26913: No such file or directory
[   +5 ms] executing: ssh -F /usr/local/foo/home/maxbittker/fuchsia/out/x64/ssh-keys/ssh_config 192.168.XX.XX ls
/hub/r/user-2949393614/9073818/c/flutter_jit_runner.cmx/9076877/out/debug/vmservice-port
[  +36 ms] 37497
[   +1 ms] executing: ssh -F /usr/local/foo/home/maxbittker/fuchsia/out/x64/ssh-keys/ssh_config 192.168.XX.XX ls
/hub/c/flutter_jit_runner.cmx/12096/out/debug/vmservice-port
[  +41 ms] 26913
[  +83 ms] Sending to VM service: getVM({})
[  +11 ms] Result: {type: VM, name: vm, architectureBits: 64, targetCPU: x64, hostCPU: Intel(R) Core(TM) i5-7Y57 CPU @ 1.20GHz, version:
2.2.0-edge.71bee8f05eb40e2f3b49ed57b8f46421f4432179 (Wed Jan 30 08:44:05 2019 +0000) on "fuchsia_x64", _profilerMode: Dart, _nati...
[   +6 ms] Sending to VM service: getIsolate({isolateId: isolates/772033388})
[   +3 ms] Sending to VM service: _flutter.listViews({})
[   +8 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x5349816d8428, isolate: {type: @Isolate, fixedId:
true, id: isolates/772033388, name: foo.cmx$main-772033388, number: 772033388}}]}
[   +7 ms] Waiting for a connection from foo on paper-ranch-bush-hazel... (completed in 10.5s)
[        ] Done.
[  +10 ms] Connecting to service protocol: http://<IP_ADDRESS>:46027/
[  +29 ms] Result: {type: Isolate, fixedId: true, id: isolates/772033388, name: foo.cmx:main(), number: 772033388, _originNumber:
772033388, startTime:<PHONE_NUMBER>990, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 8, avgCollectionPer...
[  +49 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:46027/
[   +1 ms] Sending to VM service: getVM({})
[  +13 ms] Result: {type: VM, name: vm, architectureBits: 64, targetCPU: x64, hostCPU: Intel(R) Core(TM) i5-7Y57 CPU @ 1.20GHz, version:
2.2.0-edge.71bee8f05eb40e2f3b49ed57b8f46421f4432179 (Wed Jan 30 08:44:05 2019 +0000) on "fuchsia_x64", _profilerMode: Dart, _nati...
[        ] Sending to VM service: getIsolate({isolateId: isolates/772033388})
[   +1 ms] Sending to VM service: _flutter.listViews({})
[   +4 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x5349816d8428, isolate: {type: @Isolate, fixedId:
true, id: isolates/772033388, name: foo.cmx$main-772033388, number: 772033388}}]}
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: foo})
[  +12 ms] Result: {type: Isolate, fixedId: true, id: isolates/772033388, name: foo.cmx:main(), number: 772033388, _originNumber:
772033388, startTime:<PHONE_NUMBER>991, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 8, avgCollectionPer...
[   +7 ms] Result: {type: FileSystem, name: foo, uri: file:///tmp/fooCSOMKH/foo/}
[        ] DevFS: Created new filesystem on the device (file:///tmp/fooCSOMKH/foo/)
[   +2 ms] Updating assets
[ +187 ms] Syncing files to device paper-ranch-bush-hazel...
[   +1 ms] DevFS: Starting sync from LocalDirectory: '/usr/local/foo/home/maxbittker/fuchsia/vendor/foo/app/foo'
[        ] Scanning project files
[  +17 ms] Scanning package files
[ +184 ms] Scanning asset files
[   +1 ms] Scanning for deleted files
[  +14 ms] Unable to get status of file

"/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf":
           file not found.
[   +2 ms] Unable to get status of file

"/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf":
           file not found.
[        ] Unable to get status of file

"/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf":
           file not found.
[  +11 ms] Compiling dart to kernel with 1489 updated files
[   +5 ms] /usr/local/foo/home/maxbittker/fuchsia/scripts/devshell/../../topaz/tools/prebuilt-dart-sdk/linux-x64/bin/dart
/usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/flutter/frontend_server/frontend_server_tool.snapshot --sdk-root
/usr/local/foo/home/maxbittker/fuchsia/out/x64/flutter_runner_patched_sdk/ --incremental --strong --target=flutter --output-dill
/usr/local/foo/home/maxbittker/fuchsia/out/x64/foo_tmp.dill --packages
/usr/local/foo/home/maxbittker/fuchsia/out/x64/dartlang/gen/vendor/foo/app/foo/foo_dart_library.packages --filesystem-scheme
org-dartlang-root
[ +169 ms] Error: Error when reading

'file:///usr/local/foo/home/maxbittker/fuchsia/out/x64/host_x64/gen/third_party/flutter/frontend_server/frontend_server_tool.snapshot': No
                    such file or directory
[  +24 ms] Updating files
[ +868 ms] Retrying writing "build/flutter_assets/fonts/MaterialIcons-Regular.ttf" to DevFS due to error: FileSystemException: Cannot open
file, path =
'/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf' (OS
Error: No such file or directory, errno = 2)
[   +2 ms] Retrying writing "build/flutter_assets/fonts/MaterialIcons-Regular.ttf" to DevFS due to error: FileSystemException: Cannot open
file, path =
'/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf' (OS
Error: No such file or directory, errno = 2)
[   +1 ms] Retrying writing "build/flutter_assets/fonts/MaterialIcons-Regular.ttf" to DevFS due to error: FileSystemException: Cannot open
file, path =
'/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf' (OS
Error: No such file or directory, errno = 2)
[   +1 ms] Error writing "build/flutter_assets/fonts/MaterialIcons-Regular.ttf" to DevFS: FileSystemException: Cannot open file, path =

'/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf' (OS
           Error: No such file or directory, errno = 2)
[ +240 ms] DevFS: Sync finished
[   +5 ms] Syncing files to device paper-ranch-bush-hazel... (completed in 1,550ms)
[        ] Synced 2.9MB.
[   +1 ms] Sending to VM service: _flutter.listViews({})
[  +63 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x5349816d8428, isolate: {type: @Isolate, fixedId:
true, id: isolates/772033388, name: foo.cmx$main-772033388, number: 772033388}}]}
[   +2 ms] Connected to _flutterView/0x5349816d8428.
[   +1 ms] 🔥  To hot reload changes while running, press "r".
[   +2 ms] An Observatory debugger and profiler on paper-ranch-bush-hazel is available at: http://<IP_ADDRESS>:46027/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[+9008 ms] Initializing hot reload...
[   +4 ms] Refreshing active FlutterViews before reloading.
[        ] Sending to VM service: _flutter.listViews({})
[   +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x5349816d8428, isolate: {type: @Isolate, fixedId:
true, id: isolates/772033388, name: foo.cmx$main-772033388, number: 772033388}}]}
[   +1 ms] Syncing files to device paper-ranch-bush-hazel...
[        ] DevFS: Starting sync from LocalDirectory: '/usr/local/foo/home/maxbittker/fuchsia/vendor/foo/app/foo'
[        ] Scanning project files
[   +5 ms] Scanning package files
[ +128 ms] Scanning asset files
[   +1 ms] Scanning for deleted files
[  +10 ms] Unable to get status of file

"/usr/local/foo/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf":
           file not found.
[        ] Compiling dart to kernel with 1 updated files```

From offline investigation:
When space dart is not disabled and profile mode is not enabled, the frontend_server isn't build. We need to add messaging to the fuchsia tools to warn about this case.
I've updated the internal documentation, so I'm downgrading this issue's severity.

I could have sworn that I had flutter_profile=true enabled, but now I'm getting a different result:
the flutter app and fx flutter-attach are both crashing after I press "r"
[        ] An Observatory debugger and profiler on paper-ranch-bush-hazel is available at: http://<IP_ADDRESS>:44491/
[        ] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[+11481 ms] Initializing hot reload...
[   +6 ms] Refreshing active FlutterViews before reloading.
[        ] Sending to VM service: _flutter.listViews({})
[   +4 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x6c4f0d08c28, isolate: {type: @Isolate, fixedId: true,
id: isolates/245330371, name: XXXX.cmx$main-245330371, number: 245330371}}]}
[   +1 ms] Syncing files to device paper-ranch-bush-hazel...
[        ] DevFS: Starting sync from LocalDirectory: '/usr/local/XXXXX/home/maxbittker/fuchsia/vendor/XXXXX/app/XXXX'
[        ] Scanning project files
[   +6 ms] Scanning package files
[ +138 ms] Scanning asset files
[   +2 ms] Scanning for deleted files
[  +10 ms] Unable to get status of file

"/usr/local/XXXXX/home/maxbittker/fuchsia/third_party/dart-pkg/git/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.ttf": file
           not found.
[        ] Compiling dart to kernel with 1 updated files
[  +60 ms] Updating files
[  +15 ms] DevFS: Sync finished
[        ] Syncing files to device paper-ranch-bush-hazel... (completed in 234ms)
[        ] Synced 0.0MB.
[   +1 ms] Sending to VM service: _flutter.setAssetBundlePath({isolateId: isolates/245330371, viewId: _flutterView/0x6c4f0d08c28,
assetDirectory: /tmp/XXXXGKRFNG/XXXX/build/flutter_assets})
[   +6 ms] Result: {type: Success, view: {type: FlutterView, id: _flutterView/0x6c4f0d08c28, isolate: {type: @Isolate, fixedId: true, id:
isolates/245330371, name: XXXX.cmx$main-245330371, number: 245330371}}}
[   +3 ms] Sending to VM service: _reloadSources({pause: false, rootLibUri: file:///tmp/XXXXGKRFNG/XXXX/lib/main.dart.incremental.dill,
packagesUri: file:///tmp/XXXXGKRFNG/XXXX/.packages, isolateId: isolates/245330371})
[  +97 ms] Result: {type: ReloadReport, success: true, details: {finalLibraryCount: 625, receivedLibraryCount: 4, receivedLibrariesBytes:
30264, receivedClassesCount: 10, receivedProceduresCount: 4, savedLibraryCount: 621, loadedLibraryCount: 4, shapeChangeMappings:...
[   +4 ms] reloaded 4 of 625 libraries
[        ] Sending reload events to paper-ranch-bush-hazel
[        ] Sending reload event to "XXXX.cmx$main-245330371"
[        ] Sending to VM service: getIsolate({isolateId: isolates/245330371})
[  +39 ms] Result: {type: Isolate, fixedId: true, id: isolates/245330371, name: XXXX.cmx:main(), number: 245330371, _originNumber:
245330371, startTime:<PHONE_NUMBER>050, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 3, avgCollectionPer...
[   +7 ms] Sending to VM service: _flutter.listViews({})
[   +5 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x6c4f0d08c28, isolate: {type: @Isolate, fixedId: true,
id: isolates/245330371, name: XXXX.cmx$main-245330371, number: 245330371}}]}
[        ] Evicting dirty assets
[   +1 ms] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId:
isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.jpg, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: assets/images/xxxxx.png, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: AssetManifest.json, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: FontManifest.json, isolateId: isolates/245330371})
[        ] Sending to VM service: ext.flutter.evict({value: LICENSE, isolateId: isolates/245330371})
[   +7 ms] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[   +5 ms] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[   +4 ms] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[   +3 ms] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Result: {value: , type: _extensionType, method: ext.flutter.evict}
[        ] Reassembling application
[   +1 ms] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/245330371})
[ +399 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +2 ms] DevFS: Deleting filesystem on the device (file:///tmp/XXXXGKRFNG/XXXX/)
[        ] Sending to VM service: _deleteDevFS({fsName: XXXX})
[ +252 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[  +30 ms] "flutter attach" took 28,393ms.
[        ] "flutter attach" took 28,393ms.

[   +1 ms] Sending to VM service: ext.flutter.reassemble({isolateId: isolates/245330371})
[ +399 ms] Service protocol connection closed.
[        ] Lost connection to device.

This could either happen because of bad/connection or cable or if the vm_service dies. Was the app you were attaching to responsive afterwards?

it crashed and restarted (was responsive after restart). Didn’t think to
take logs from the app, will do that tomorrow
On Wed, Feb 27, 2019 at 7:03 PM Jonah Williams<EMAIL_ADDRESS>wrote:

[ +1 ms] Sending to VM service: ext.flutter.reassemble({isolateId:
isolates/245330371})
[ +399 ms] Service protocol connection closed.
[ ] Lost connection to device.
This could either happen because of bad/connection or cable or if the
vm_service dies. Was the app you were attaching to responsive afterwards?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/27704#issuecomment-468118721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFpDmlAPvdFFSkx1edvrmGJlAIsbmz3vks5vR0cZgaJpZM4ayB_c
.

I think this is all I got?
INFO: [INFO:vulkan_application.cc(105)] Destroying Vulkan instance
INFO: [WARNING:garnet/bin/ui/view_manager/view_container_state.cc(177)] ViewState::OnScenicEvent: Unhandled GFX event (fuchsia.ui.gfx.ViewStateChanged).
INFO: [ERROR:garnet/bin/ui/root_presenter/presentation1.cc(792)] Root presenter: Content view terminated unexpectedly.
INFO: [WARNING:peridot/bin/ledger/app/ledger_repository_factory_impl.cc(340)] No cloud provider - Ledger will work locally but not sync. (running in Guest mode?)
INFO: setting string key: "Audio", val: "{\"1\":-12.0,\"2\":true}"
INFO: my_app.cmx(flutter): Error in proxy with interface name [DeviceSettingsManager] and service name [fuchsia.devicesettings.DeviceSettingsManager]: Message had unknown request id: 1
INFO: [INFO:vulkan_application.cc(105)] Destroying Vulkan instance
INFO: [INFO:runner.cc(113)] The remote end of the application runner tried to terminate an application that has already been terminated, possibly because we initiated the termination
INFO: [INFO:device_map_impl.cc(155)] Updated Device: Device/d1b94672-2692-419c-ae49-764dd760e028 value={"@version":3,"name":"fuchsia","device_id":"d1b94672-2692-419c-ae49-764dd760e028","profile":"{}","hostname":"fuchsia","last_cha
INFO: nge_timestamp":1551463509}
[00175.905421][3][168092348][my_app, setting_store_factory_legacy.dart] ERROR: Unable to connect to device settings service: ProxyError: Error in proxy with interface name [DeviceSettingsManager] and service name [fuchsia.devicesettings.DeviceSettingsManager]: Message had unknown request id: 1
INFO: control_server: could not get update for clipboard_agent/0: daemon: no update found for clipboard_agent/0/
INFO: [INFO:paragraph.cc(293)] Could not find font collection for families "".
INFO: [ERROR:garnet/lib/loader/package_loader.cc(55)] Could not open directory /pkgfs/packages/clipboard_agent/0 No such file or directory
INFO: control_server: could not get update for usage_log/0: daemon: no update found for usage_log/0/
INFO: [INFO:async_holder.cc(20)] Delete without teardown: fuchsia-pkg://fuchsia.com/clipboard_agent#meta/clipboard_agent.cmx
INFO: Could not open module package index directory: : No such file or directory
INFO: control_server: could not get update for XXXX/0: daemon: no update found for XXXX/0/
INFO: [ERROR:garnet/lib/loader/package_loader.cc(55)] Could not open directory /pkgfs/packages/usage_log/0 No such file or directory
INFO: [INFO:async_holder.cc(20)] Delete without teardown: fuchsia-pkg://fuchsia.com/usage_log#meta/usage_log.cmx
INFO: [ERROR:garnet/lib/loader/package_loader.cc(55)] Could not open directory /pkgfs/packages/XXXX/0 No such file or directory
INFO: [INFO:async_holder.cc(20)] Delete without teardown: fuchsia-pkg://fuchsia.com/XXXX#meta/XXXX.cmx
INFO: my_app.cmx(flutter): Error in proxy with interface name [ServiceProvider] and service name [null]: Peer unexpectedly closed

the second time it didn't crash (and app stayed responsive but didn't update) , and I got
           #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart)
           #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart)
           #2      _Timer._createTimerHandler (dart:isolate/runtime/libtimer_impl.dart)
           #3      _Timer._notifyZeroHandler (dart:isolate/runtime/libtimer_impl.dart)
           #4      _Timer._enqueue (dart:isolate/runtime/libtimer_impl.dart)
           #5      _Timer._createTimer (dart:isolate/runtime/libtimer_impl.dart)
           #6      new _Timer (dart:isolate/runtime/libtimer_impl.dart)
           #7      _Timer._factory (dart:isolate/runtime/libtimer_impl.dart)
           #8      Timer._createTimer (dart:async/runtime/libtimer_patch.dart)
           #9      _RootZone.createTimer (dart:async/zone.dart)
           #10     new Timer (dart:async/timer.dart)
           #11     new Future.delayed (dart:async/future.dart)
           #12     BindingBase.registerServiceExtension.<anonymous closure>.async_op.<anonymous closure>
           (package:flutter/src/foundation/binding.dart)
           #13     debugInstrumentAction (package:flutter/src/foundation/debug.dart)
           #14     BindingBase.registerServiceExtension.<anonymous closure>.async_op (package:flutter/src/foundation/binding.dart)
           #15     _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart)
           #16     BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart)
           #17     _runExtension (dart:developer/runtime/libdeveloper.dart)
           #18     _AsyncAwaitCompleter.completeError (dart:async/runtime/libasync_patch.dart)
           #19     BindingBase.registerServiceExtension.<anonymous closure>.async_op (package:flutter/src/foundation/binding.dart)
           #20     _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart)
           #21     BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart)
           #22     _runExtension (dart:developer/runtime/libdeveloper.dart)
           #23     _RawReceivePortImpl.sendPort (dart:isolate/runtime/libisolate_patch.dart)
           #24     _Timer._createTimerHandler (dart:isolate/runtime/libtimer_impl.dart)
           #25     _Timer._notifyZeroHandler (dart:isolate/runtime/libtimer_impl.dart)
           #26     _Timer._enqueue (dart:isolate/runtime/libtimer_impl.dart)
           #27     _Timer._createTimer (dart:isolate/runtime/libtimer_impl.dart)
           #28     new _Timer (dart:isolate/runtime/libtimer_impl.dart)
           #29     _Timer._factory (dart:isolate/runtime/libtimer_impl.dart)
           #30     Timer._createTimer (dart:async/runtime/libtimer_patch.dart)
           #31     _RootZone.createTimer (dart:async/zone.dart)
           #32     new Timer (dart:async/timer.dart)
           #33     new Future.delayed (dart:async/future.dart)
           #34     BindingBase.registerServiceExtension.<anonymous closure>.async_op.<anonymous closure>
           (package:flutter/src/foundation/binding.dart)
           #35     debugInstrumentAction (package:flutter/src/foundation/debug.dart)
           #36     BindingBase.registerServiceExtension.<anonymous closure>.async_op (package:flutter/src/foundation/binding.dart)
           #37     _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart)
           #38     BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart)
           #39     _runExtension (dart:developer/runtime/libdeveloper.dart)
           }```

So i've recently tracked down a number of cases where we crash when certain kernel or asset changes are made. That doesn't look like whats happening here, but I am still drilling into hot reload shell handling, so hopefully we can start to shake out some of the edges here

Also today @chingjun discovered an issue in the vmservice which I strongly suspect is the culprit here: https://github.com/dart-lang/sdk/issues/36202

Clpsong as obsolete


Please add that Option 1: Install with one command can take an hour or two to complete

Prerequisites

[X] Write a descriptive title.
[X] Search the existing issues.
[X] I am reporting the documentation problem for the current version of Azure CLI.

Azure CLI version being used
2.34.1
Link to affected document
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt
Description of the documentation error
This command takes way too long to execute.
Please add an info text in the script output to inform the user that this could take a couple of hours to complete.
Related:
https://github.com/microsoft/WSL/issues/2775
Suggested fix
This command takes way too long to execute.
Please add an info text in the script output to inform the user that this could take a couple of hours to complete.

@spacecat we'll review your feedback and get back to you shortly. Thanks.

Hey @spacecat, thanks for the feedback here.
@jiasli or @yonzhan, is this commopn behavior? Is this something we should document or is this not the normal behavior or something we should improve?

"Take an hour or two" is definitely unexpected. It should finish with in minutes. You may check you network connection.


Wrong version is printed when calling hawaii --version

When calling
hawaii --version
the version 0.59.0 is printed instead of version 0.62.0.
See Hawaii\Program.fs:2938.
Btw. thanks for this great tool! :)

Thanks a lot @vschep for pointing this out! Fixed as of v0.63.0 which should print out the correct version now 😄


Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm

Cherry pick of #9681 on release/3.7.
#9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm

Codecov Report

Merging #9682 (ebb29b2) into release/3.7 (56d583e) will increase coverage by 5.96%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7    #9682       +/-   ##
================================================
+ Coverage         6.00%   11.97%    +5.96%
================================================
  Files              845      231      -614
  Lines           131245    25747   -105498
================================================
- Hits              7879     3082     -4797
+ Misses          122665    22354   -100311
+ Partials           701      311      -390

Flag
Coverage Δ

aFlag
11.97% <0.00%> (+5.96%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/apsara.go
13.63% <0.00%> (-0.65%)
:arrow_down:

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/guestdrivers/utils.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/host.go
0.77% <ø> (+<0.01%)
:arrow_up:

pkg/multicloud/esxi/image.go
0.00% <ø> (ø)

pkg/multicloud/esxi/snapshot.go
0.00% <ø> (ø)

pkg/multicloud/esxi/storage.go
0.00% <ø> (ø)

pkg/multicloud/esxi/storagecache.go
0.00% <ø> (ø)

pkg/multicloud/esxi/template.go
0.00% <ø> (ø)

pkg/multicloud/esxi/vdisk.go
0.00% <ø> (ø)

... and 556 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 516892e...ebb29b2. Read the comment docs.


configure?

how do you have this setup to configure? I saw another issue and pull request related to this, but it doesn't take advantage of the client singleton object you have setup. Any guidance on how you intended to configure the API? Thanks!

Closed by<PHONE_NUMBER>aa544a6978cfa1ad51538d4b627f20


Percormance comparison with color2k

I’ve been trying out a lot of color libraries lately and nothing besides this project came close to the minimalistic approach of color2k. I would love to see some benchmark results for that library when compared to colord.

Thanks for your response, I really appreciate it!


docs: Update relations.md

This is a first cut at enhancing the Tutorial section. Features:

Uses invoices table for all examples. It's a more detailed dataset
I'm not sure whether I like the terminology that a transform "passes through" data...
I wanted to get these posted soon. I am still struggling with how to pull the new docs branch into my richb-hanover/prql repo so that I can continue to use my normal work flow. Patch 3 & 4 are the other two pages of the Tutorial

Feel free to critique (or criticize heavily)... Thanks.

This PR changes 250 files ... I guess that's a mistake since the PR title only mentions one?


regexp vs cmd/*

https://github.com/0intro/plan9-contrib/blob/master/sys/src/cmd/awk/re.c#L201
https://github.com/0intro/plan9-contrib/blob/master/sys/include/regexp.h#L12
Have you tested this code?

regexp.h needs 's' and 'e':
https://github.com/0intro/libregexp/blob/master/regexp9.h#L26
https://github.com/0intro/libregexp/blob/master/regexp9.h#L31

The compiler to compile awk is pcc(1) so regexp.h locates here:
https://github.com/0intro/plan9-contrib/blob/master/sys/include/ape/regexp.h#L22-L33

Plan 9's C compiler can embed some types in struct or union as anonymous fields, like Go.
https://9p.io/sys/doc/comp.html

@lufia is right. The code is correct. The plan9-contrib code is Plan 9 code meant to be build with the Plan 9 C compiler, which handles anonymous struct and union. The libregexp code is a Unix port of the previous code, meant to be built with GCC or Clang, which don't handle these extensions. A -fplan9-extensions parameter has been added to GCC a few years ago but there is no equivalent on Clang.

Thanks for explaining. This 's' and 'e' doesn't add anything, but it does result in code fragmentation and API incompatibility. It also doesn't make sense in the context of speed - access to memory will be slower.


[th2-2212] common with publish/consume connections and fixed recovery

Relates to:

https://github.com/th2-net/th2-common-j/pull/171
https://github.com/th2-net/th2-mstore/pull/27
https://github.com/th2-net/th2-codec-sailfish/pull/109
https://github.com/th2-net/th2-codec-generic/pull/57

Changes are updated and the https://github.com/th2-net/th2-estore/pull/99 PR is reopened


⚠ Turnos 24x7 has degraded performance

In 303924d, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 805 ms

Resolved: Turnos 24x7 performance has improved in 1a112a9.


Display logs in a Text box instead of a Table

Description
The launcher logs are currently shown in a TableView widget under the Log tab. This approach has many disadvantages like problems in adjusting column width according to content and the complexity of code related to the table widget. A much simpler solution should be provided by using a TextArea to display all the log messages.
Requirements

[ ] Use a non-editable TextArea to replace the TableView
[ ] Proper styling using CSS

Closes #466 #470


Fix Footer/index default export

Whoops! I can't believe I did this. Thank you so much!

@all-contributors please add @altruisticsoftware  for code


Update vagrant command for trying noobs-term out

Using the example vagrant command you had is not working on Windows 10.

Thanks, Brian.

@aaronkjones Can you add Hacktoberfest label to this too if you have a sec. Thanks!

👍


aquatone: Exec format error

aquatone: Exec format error
aquatone showing me this error, what should I do?

I  solved this problem - If you have same kind of issue . All you have to install latest aquatone version and make sure right  architecture according to your pc.


Editing your name causes the secret key does not appear when creating a data vault

When I select the option to create a data vault and go through the creation flow intermittently I see that the secret key box is empty.
I have run through the creation flow multiple times and it has worked but I have captured a video of the bug and also shares screen shots of console. This is caused by shortening or editing you account/ user name during the creation process.
Video of the issue
https://screencast-o-matic.com/watch/cYnhoqwDgf

This bug relates to the issue of username validation #70.
Currently, when an invalid username is entered, it silently fails and allows you through to the next step.

There is also the problem of the username registration API sometimes failing. I've seen it fail for unknown reasons periodically - maybe rate limiting, even on the test registrar.
We definitely need to address what to do if the username registration fails

I've created a separate issue to handle errors generated by the subdomain registrar: https://github.com/blockstack/connect/issues/46
And I'm moving this issue into QA alongside #70.


fix: ensures that operator pods always have the latest certificates

This patch mounts the secret containing the certificate in the operator deployment and marks it as optional to allow the first boot. The kubelet will now make sure to update the mounted files each time the secrets get updated.
This patch also reorganizes the cert package by unexporting some methods and by improving its logic encapsulation.
Closes #55
Signed-off-by: Armando Ruocco<EMAIL_ADDRESS>

/test

/ok-to-merge


During update, trim using new values of props

Resolves #20

Thanks! Latest master is working great.


Download a file

Merge after previous PR (#18) as this uses it.

Added downloads to .gitignore in files to push


[trantor] Bump version to v1.0.0-rc14

Hi! @an-tao I think the Version field in the CONTROL file should also be updated:
https://github.com/microsoft/vcpkg/blob/ffa7fd27cfa29f206d1fd2ccfc722cad4aaeef3d/ports/trantor/CONTROL#L2

Hi! @an-tao I think the Version field in the CONTROL file should also be updated:
https://github.com/microsoft/vcpkg/blob/ffa7fd27cfa29f206d1fd2ccfc722cad4aaeef3d/ports/trantor/CONTROL#L2

Thanks so much. I'll fixed it.

Thanks for the PR!


Boilierplate Terraform+Proxmox code crashes Terraform with terraform-provider-proxmox_v2.9.14

Description
[Provide a clear and concise description of the issue]
Steps to Reproduce

Using the code in boilerplates/terraform/proxmox
Replaced variables as needed
Code passed terraform fmt and  terraform validate commands.
Ran terraform apply

Expected Behavior
I expected the Terraform code to successfully and without error, deploy one new VM in my Proxmox host.
Actual Behavior
While the VM is created in Proxmox, however Terraform crashes before completion and State is not available.
│ Error: Plugin did not respond
│
│   with proxmox_vm_qemu.your-vm,
│   on full-clone.tf line 5, in resource "proxmox_vm_qemu" "your-vm":
│    5: resource "proxmox_vm_qemu" "your-vm" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange
│ call. The plugin logs may contain more details.
╵

Stack trace from the terraform-provider-proxmox_v2.9.14 plugin:

panic: interface conversion: interface {} is string, not float64

goroutine 86 [running]:
github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0x140003ce6e0, 0x101462ab6?)
	github.com/Telmate/proxmox-api-go@v0.0.0-20230319185744-e7cde7198cdf/proxmox/config_qemu.go:584 +0x3b34
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0x14000139380, {0x1015ddee0?, 0x14000047c20})
	github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:972 +0x21cc
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0x10171a9a0?, {0x10171a9a0?, 0x14000381770?}, 0xd?, {0x1015ddee0?, 0x14000047c20?})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:695 +0x134
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x140001f6ee0, {0x10171a9a0, 0x14000381770}, 0x14000119380, 0x14000139200, {0x1015ddee0, 0x14000047c20})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/resource.go:837 +0x86c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x1400047df50, {0x10171a9a0?, 0x14000381650?}, 0x140000948c0)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.25.0/helper/schema/grpc_provider.go:1021 +0xb70
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0x14000340320, {0x10171a9a0?, 0x14000380690?}, 0x140001f0070)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:818 +0x3b8
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x1016e3a60?, 0x14000340320}, {0x10171a9a0, 0x14000380690}, 0x140001f0000, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0x140002c41e0, {0x10171e540, 0x1400008a4e0}, 0x140005a4000, 0x1400048b860, 0x101bbb860, 0x0)
	google.golang.org/grpc@v1.53.0/server.go:1336 +0xb7c
google.golang.org/grpc.(*Server).handleStream(0x140002c41e0, {0x10171e540, 0x1400008a4e0}, 0x140005a4000, 0x0)
	google.golang.org/grpc@v1.53.0/server.go:1704 +0x82c
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	google.golang.org/grpc@v1.53.0/server.go:965 +0x84
created by google.golang.org/grpc.(*Server).serveStreams.func1
	google.golang.org/grpc@v1.53.0/server.go:963 +0x290

Error: The terraform-provider-proxmox_v2.9.14 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Screenshots
[If applicable, add screenshots to help explain the issue]
Additional Information
I have tested this with Terraform installed from Brew and the Terraform binary
Environment
macOS Sequoia 15.1.1
Terraform v1.9.8
on darwin_arm64

provider registry.terraform.io/telmate/proxmox v2.9.14

Will be fixed in #555


[Question] styled components or styled jsx

Hi,
I'v started to investigate around styling but I can't figure out which one to us.
Any recommendation is welcome!
Regards,
Marc

@MarcMagnin https://github.com/zeit/next.js#built-in-css-support obviously we recommend styled-jsx 😄  github.com/zeit/styled-jsx

@timneutkens styled-jsx doesn't seem to be maintained very actively. Do you know what are the plans behind? And what are the pros/cons between styled-jsx and styled-components v2?

Cheers guys, good question @sedubois cheers!

I use styled-jsx. It is very well integrated into Next. styled-components can be a good alternative too. More complexe. I like the styled-jsx simplicity. Good Code.

Styled Components can handle single element components such as img easy-peasy, but styled-jsx always needs a container that is capable of holding children for the style element. See https://github.com/zeit/styled-jsx/issues/169. If you are fine with that limitation, styled-jsx is easier to add to existing components, is much less complex and therefore easier on bundle size.

Closing this since this is not exactly a question. But feel free to discuss more :)

What do you think about that used both together? 🤔

@MarcMagnin For those of you deciding this today: I'm going to use styled-components. Here are my reasons:

Nesting isn't supported by styled-jsx:

The workaround would be to use the styled-jsx-plugin. However, as the description states:

And due to the fact that there are only 23 stars, it's likely that they are bugs. So I would not use this in production.
There's no PHPStorm/Webstorm syntax support. Either you'd have to say the editor that things inside <style> is CSS every time or add comments above: { /*language=CSS*/ } (ref).
Either you need to blow up your render function by the large <style> contents or you can separate it using this technique:

However, this also means you need to declare your styles somewhere and always create the element AND the styled in the JSX. With styled-components you just need to declare your styled and the component, not declare <style> once again

@julmot I've parked it a bit and I'll come back to it soon so I'm very grateful you gave your feedback!!
I've look around and heard about JSS, any thought on that one?

@MarcMagnin Yes I though about it but won't use it as it's basically JSON and not really for this use case.


4 pretty site

@bingles or @cyaneyedesigner I'd appreciate if you have a chance to look at this. The site was originally generated from jekyll, and was styled with mostly jekyll defaults until this PR. I tried to copy much of the style from what you've done on the new atsid.com, but also still give it it's own identity (hence the darker tones and reddish branding color lifted from the logo). Anyway, I suck at design and modern css, so any comments would be appreciated.
Very soon I'm planning to introduce the site engineering-wide so everyone knows it is available.

Oh, and you can see it deployed at: http://labs.atsid.com/engineering/
It's not actually supposed to deploy branch changes until they're merged to master, but since there's a bug in the build, I guess you can take a look at the running site without having to clone and run locally :smile:.

Hey Nathan,
Apologies for the late reply, I'll take a look and see if we can bring it
up to speed from a design perspective. When do you plan on introducing it?
I could try to spend some time on it this week, now that there is a lull in
the ATS corporate website stuff.
B
On Tue, Sep 1, 2015 at 6:10 PM, Nathan Evans<EMAIL_ADDRESS>wrote:

Oh, and you can see it deployed at: http://labs.atsid.com/engineering/
It's not actually supposed to deploy branch changes until they're merged
to master, but since there's a bug in the build, I guess you can take a
look at the running site without having to clone and run locally [image:
:smile:].
—
Reply to this email directly or view it on GitHub
https://github.com/atsid/engineering/pull/24#issuecomment-136878311.

--
.............................................
Brian Ingles
www.brianingles.com http://brianingles.com/
(C)<PHONE_NUMBER>

Thanks Brian! I don't have a firm timeline to introduce it yet - I'd like to put together a brown bag so I can go through some of the background and intent with the engineering teams, which would most likely be in October.


Naming discussion

I know I'm late to the party, but I wanted to raise this point as well since matchAll is highly unintuitive or even misleading to me.
matchAll suggests a variant of match that returns all matches, or possibly something related to global/nonglobal semantics. People seem to already fall into this kind of thinking as the discussions about the number of results produced by "ababa".matchAll(/aba/g) shows.
Correct me if I'm wrong, but the actual semantics are 'like match, but returns an iterator of result objects'. It's a pretty big mental leap to associate the 'all' in matchAll with 'complete result objects'.
I don't have suggestions for a better name myself. But FWIW I think both scan and matchIterator, as brought up at the September meeting, are both preferable to matchAll.
cc @mathiasbynens

The committee seemed to be strongly against setting the *iterator naming precedent (and I agree). OTOH, I had the impression that everyone was okay with scan. I don’t have a strong opinion on this myself but it was definitely interesting to see @schuay come up with similar feedback independently of @waldemarhorwat.

The word "all" means "all matches you'd get if you looped over the string"; which is the only "all" anyone's ever really wanted or gotten in userland that I'm aware of.
What behavior would you expect "matchAll" to provide?

The word "all" means "all matches you'd get if you looped over the string"; which is the only "all" anyone's ever really wanted or gotten in userland that I'm aware of.

I have a different impression - what you're describing above sounds to me like @@match with a global regexp s.match(/./g).
The major differences between @@match and matchAll are the 1. iterator result, and 2. that the result contains complete RegExp match objects instead of just the matched substring. Those differences are not implied by the word "all", at least to me.

match with a global regex doesn't provide what I need; which is the capturing groups. The goal of matchAll is to provide nested capturing groups in the match object; as match does for non-global regexes - because otherwise there's no good way to get it for global regexes.
What name do you suggest? scan has the same meaning in the Ruby world, but I'm told it has a different meaning in the FP world - it's better than blocking the proposal, but it's not that great a name.

match with a global regex doesn't provide what I need; which is the capturing groups.

I realize that, I was just saying that your description above ("all matches you'd get if you looped over the string") sounds to me like a simple global @@match call, and not the semantics provided by matchAll :)

What name do you suggest?

I'm not advocating for a particular name, I just feel that matchAll is not the best choice. Sorry, not very helpful, I know :(

scan has the same meaning in the Ruby world, but I'm told it has a different meaning in the FP world - it's better than blocking the proposal, but it's not that great a name.

The overload between FP and the parsing world already exists so that seems ok to me. What I like about this one is the consistency with at least 1 other language. I agree that it's not a very descriptive name though.
Looking at other languages:
In C#, Regex.Matches seems very similar. I like this name, but it's very similar to @@match.
Likewise in Python, re.finditer.
And the link to Ruby's scan just for reference: scan.
It's worth noting that matchAll has different semantics elsewhere:
pcre: preg_match_all is a global version of preg_match.

"matches" also sounds like it's a predicate.
As for preg_*, those don't take flagged regexes, they take strings, so I'm not sure that's a relevant comparison.

Friendly ping, does anyone else have opinions?
I chatted about this with Brian (+cc @bterlson) and I think the gist was:

matches and allMatches are not verbs and thus break the current convention (I think they're the most descriptive names though).
Likewise matchIter. Not a verb, and contains iter.
Brian liked scan, I'd be ok with it even though it's a bit nondescriptive.


Typescript code review

added test-watch script so the tests may be run during development (it helps with checking if something got broken in PR).
renamed all types and interfaces in PascalCase: I think it's universally accepted codestyle.
made both properties in NounObject required. Although I am not sure if you actually need "single" since you return early on count === 1
fixed typo in tests
made isIregular a bit more type safe, typescript will throw error if NounObject key would ever change
typeof noun !== 'string' will already return true if noun === undefined, removed this check
let result!: string is a bit insecure, refactored the code to guarantee standardNoun is returned in the end and returns string
added a few flags in tsconfig for type safety

@kwaimind could you label this PR with hacktoberfest-accepted, please? 😊

Sure think @merelj
Added now 😀


#306 added file name to downloaded file

For #306

added file name to downloaded file. According RFC 2616 19.5.1
modified the unit test

@yegor256 good to merge?

@dmzaytsev Let me find a reviewer for this pull request, thanks for submitting it

@longtimeago review it

@longtimeago I removed the checkstyle suppression

@dmzaytsev thank you!

@rultor merge

@rultor merge

@longtimeago Thanks for your request. @yegor256 Please confirm this.

@yegor256 confirm?

@dmzaytsev looks good, but there is something wrong with indentation, see above

@yegor256 fixed, take another look please

@rultor merge pls

@rultor merge pls

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge pls

@yegor256 Done! FYI, the full log is here (took me 10min)

@longtimeago Thanks so much! Your account was topped up for 17 mins (transaction ID is 58609674, the task took 8 hours and 7 mins). review comments (c=2) added as a bonus. +17 added to your rating, at the moment it is: +3823

@rultor deploy pls

@rultor deploy pls

@karato OK, I'll try to deploy now. You can check the progress here

@rultor deploy pls

@karato Done! FYI, the full log is here (took me 4min)


Added powerline theme

Checkout if it feels like powerline
continuing #22
I think mirroring theme on left(A,B,C) and right(X,Y,Z) is limiting.
I kind of like the left and right structure in lightline.
can we have something like that in lualine ?
Also I feel like the colours in normal mode should be default . if a cirtain modes values aren't defined lualine should fallback to normal modes colors.

Checkout if it feels like powerline

Thank you for porting another theme!

I think mirroring theme on left(A,B,C) and right(X,Y,Z) is limiting.
I kind of like the left and right structure in lightline.
can we have something like that in lualine ?

I will open a new issue to discuss this.

Also I feel like the colours in normal mode should be default . if a cirtain modes values aren't defined lualine should fallback to normal modes colors.

This is something I am already aware of, I will try to implement this asap. https://github.com/hoob3rt/lualine.nvim/issues/13

Checkout if it feels like powerline

Thank you for porting another theme!

I think mirroring theme on left(A,B,C) and right(X,Y,Z) is limiting.
I kind of like the left and right structure in lightline.
can we have something like that in lualine ?

I will open a new issue to discuss this.

Also I feel like the colours in normal mode should be default . if a cirtain modes values aren't defined lualine should fallback to normal modes colors.

This is something I am already aware of, I will try to implement this asap. https://github.com/hoob3rt/lualine.nvim/issues/13

All good now, thanks.

All good now, thanks.


InvalidDuplicateRegistrationsException on Handler interface

Hello,
first of not sure if this expected or not,  I was moving across some CommandHandlers from another lib to MicroBus.
I intially had code such as this:
public interface IFooHandler : Enexure.MicroBus.ICommandHandler<FooCommand> {}
public class Foo : IFooHandler {}

which gives the InvalidDuplicateRegistrationsException in the Autofac buildup for FooCommand.
There is only one class that implements the interface.
Changing to below fixes it:
public class Foo : Enexure.MicroBus.ICommandHandler<FooCommand> {}

Should the duplicate registrationError occur for this?

Hey, glad you figured it out, you got me right as I left on holiday.


Fix typo (Betatable → Betable) in 2017-02.md

Hi Nathan!  Thank you for hosting the meeting last night!
Great meeting and great turnout!
Cheers!

thanks!


Salesforce not updating Lead Status

We came across this when we tried to set up an email alert.
If you look at the activity on the Hello World Foundation account https://eu2.salesforce.com/_ui/core/userprofile/UserProfilePage?tab=sfdc.ProfilePlatformFeed&u=005b0000000jOY6
There are a number of Dojos going from Step 4 to Step 7. Somehow we are not pinging Salesforce when the Dojo goes past 5. Dojo Listing Created.
This used to work, as if you scroll down that page you'll see a Dojo go from Step 5 to Step 7 on the 10th September.
Did we change something in the interim?

confirmed, the saving of the dojo listing is not being saved to salesforce.

fixed. will update labels when deployed.

CC @rosalanghammer

This is working now, but we seem to update some leads to step 5 a bit early. See some tests that @BenChapman created here https://eu2.salesforce.com/_ui/search/ui/UnifiedSearchResults?searchType=2&sen=00Q&sen=001&sen=005&str=sfdc
The Dojo listing is supposed to have a Lead Status of 5 after they create the listing. Before that it will be on the previous step.
Also... The Lead Record Type is now incorrect. Here is a Lead that was just created https://eu2.salesforce.com/00Qb000000I65Gt
It has the Lead Record Type of Donation rather than Champion.

i am unsure how the lead record type could be "donation", that value is assigned via a process environment variable which is set on users, dojos, and salesforce services. all three services have the correct (and same) lead type id.

Something has changed - all of the new Leads have the Donation record type - e.g. https://eu2.salesforce.com/00Qb000000IFLND
You can see it in this view I made here, if you sort by last modified date - https://eu2.salesforce.com/00Q?fcf=00Bb00000049zcd
Strangely it seems to have broken sometime in between 9th and 22nd of September - the last record to have the correct record type is this one (from the 9th) https://eu2.salesforce.com/00Qb000000HvY6t
The record type stopped working when the email field changed, so I think something was introduced there.

I am unsure as to how that is happening as there is only one line of code in the entire system (dojos.js: updateSalesForceLead function) that sets the status to be "5. Dojo Listing Created" and that is called when saving the dojo listing. are these tests automated? or manual?

@tangentfairy can you check the salesforce field level permissions for production account_record_type? new users are given a type of community instead of champion and it may be because some of the values are hidden. thanks

some odd behaviour observed here, looks like old behavior from previous bugs have returned somehow. will have to investigate further.

I'm not sure if this is related. We seem to have a number of duplicate applications for one particular Champion: https://eu2.salesforce.com/_ui/search/ui/UnifiedSearchResults?str=Renato+Tamilio&sen=00Q#!/fen=00Q&initialViewMode=detail&str=Renato Tamilio
There is only one entry in the cd_dojoleads table so I'm not sure how Salesforce got in to this state.

Both the above issues were down to a variable name change in the salesforce savelead method which wasnt merged. This means that every time the the lead is saved it was being saved as a new lead salesforce instead of updating the one lead. this is why the status updates would have seemed out of sequence. the lead record type is set in step 2 but after that it is not updated until the convert script and that is why the new lead was being created with the default record type, which happened to be "donation".


How to implement manual cache invalidation?

I am writing a tool that gets data from an API that always claims the responses are uncacheable, even though the data is mostly rather static. Using the code from https://github.com/karpetrosyan/hishel/issues/173#issuecomment-1923313628, I rewrite the headers to still cache all responses, and this provides a tremendous speedup.
As said in #173, I am using code generated from the OpenAPI spec, so I don't have easy access to the single requests but am switching between a caching and a non-caching client that is an input parameter to the generated Python functions.
Now, I'm looking into cache invalidation. The API provides a way to get a list of data IDs that have changed since a certain point in time.
My current thinking goes like this (I'm using FileStorage):

I read a timestamp file in hishel's cache directory.
I record the current timestamp in hishel's cache directory.
I query the API for changed data (using the timestamp from the first step) using the non-caching client.
I remove the cache of the API endpoints that point to changed data (#241 will help here).
I hit all those API endpoints again using the caching client.
My business logic will see fresh data.

Does that sound workable, or is there an easier way even?
Can I somehow say "ignore the cached data for this API endpoint but write out new cache data"?

We have introduced force_caching for the controller class, you can use it instead of writing a custom transport as suggested in https://github.com/karpetrosyan/hishel/issues/173#issuecomment-1923313628.
When force_caching is enabled, responses are invalidated only when the TTL of the storage expires. So yes, I think you can enable it and call some vacuum function that will invalidate all the stale responses and remove them using the API that will be introduced in #241.
Here is how it can look like for the filestorage
import hishel
import httpx

class AsyncVaccumFileStorage(hishel.AsyncFileStorage):

    async def vaccum(self):

        async with self._lock:
            # vaccum stuff here
            ...

storage = AsyncVaccumFileStorage()
cache_transport = hishel.CacheTransport(
    controller=hishel.Controller(force_cache=True),
    storage=storage,
)

await storage.vaccum()

Can I somehow say "ignore the cached data for this API endpoint but write out new cache data"?

Yes, you can write a custom controller to do that, like so:
from httpcore import Request, Response
import hishel
import httpx

from hishel._serializers import Metadata

class MyStorage(hishel.FileStorage):

    def store(self, key: str, response: Response, request: Request, metadata: Metadata | None = None) -> None:
        print('storing response', key, response)
        return super().store(key, response, request, metadata)

class IgnoreCacheController(hishel.Controller):
    def construct_response_from_cache(
        self, request: Request, response: Response, original_request: Request
    ) -> Response | Request | None:
        if request.extensions.get("ignore_cache"):
            return None

        return super().construct_response_from_cache(request, response, original_request)

client = httpx.Client(
    transport=hishel.CacheTransport(
        transport=httpx.HTTPTransport(),
        controller=IgnoreCacheController(),
        storage=MyStorage(),
    )
)

client.get("https://hishel.com")
response = client.get("https://hishel.com", extensions={"ignore_cache": True})
assert response.extensions["from_cache"] is False

Thank you very much for this detailed response. I have modernized my usage with the controller's force_cache now and am looking forward to the new remove method for storage.


Doesn't work on Firefox

The main script of the page doesn't work on Firefox (Tested on 37.0).

There you go :3

Thanks ♥


[Event Request] Codeunit 80 "Sales-Post" – New Event “OnCalcInvoiceOnAfterResetTempLines”

Could we please have a new publisher “OnCalcInvoiceOnAfterResetTempLines” in Function “CalcInvoice”, Codeunit 80 "Sales-Post”?
    local procedure CalcInvoice(SalesHeader: Record "Sales Header") NewInvoice: Boolean
    var
        TempSalesLine: Record "Sales Line" temporary;
    begin
        with SalesHeader do begin
            ResetTempLines(TempSalesLine);
*** start new code ***
            OnCalcInvoiceOnAfterResetTempLines(TempSalesLine);
*** stop new code ***
            TempSalesLine.SetFilter(Quantity, '<>0');
            if "Document Type" in ["Document Type"::Order, "Document Type"::"Return Order"] then
…
*** start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnCalcInvoiceOnAfterResetTempLines(var TempSalesLine: record "Sales Line" temporary)
    begin
    end;
*** stop new code ***

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Stats sobol types

Reference issue
Closes #14038
What does this implement/fix?
Type hints added to scipy.stats._sobol.pyx
Additional information

Hi, why did you open another PR? Can you close this one and continue on the other one?

Hi, why did you open another PR? Can you close this one and continue on the other one?

Sorry, didn't realize I could continue in this one.

No worries, you just need to push commits on the same branch.


Add coverage, gha, jenkins server, documentation and forum badges

Signed-off-by: Suraj Singh<EMAIL_ADDRESS>Description
Adds badges to readme for different jobs listed below

GHA gradle check
GHA precommit
GHA validate pull request
Public jenkins gradle check
Documentation
Forum

Issues Resolved
#1323
Related
#850
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3889 (3823227) into 2.1 (cd6493f) will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.1    #3889      +/-   ##
============================================
+ Coverage     70.63%   70.66%   +0.02%
+ Complexity    56382    56351      -31
============================================
  Files          4515     4515
  Lines        271418   271418
  Branches      39958    39958
============================================
+ Hits         191728   191804      +76
+ Misses        63585    63462     -123
- Partials      16105    16152      +47

Impacted Files
Coverage Δ

...ch/transport/ReceiveTimeoutTransportException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

...cluster/coordination/PendingClusterStateStats.java
20.00% <0.00%> (-48.00%)
:arrow_down:

...main/java/org/opensearch/ingest/ProcessorInfo.java
21.05% <0.00%> (-47.37%)
:arrow_down:

...pensearch/action/ingest/DeletePipelineRequest.java
31.25% <0.00%> (-37.50%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
51.21% <0.00%> (-31.71%)
:arrow_down:

...rc/main/java/org/opensearch/ingest/IngestInfo.java
51.72% <0.00%> (-27.59%)
:arrow_down:

...va/org/opensearch/monitor/process/ProcessInfo.java
68.00% <0.00%> (-24.00%)
:arrow_down:

...rg/opensearch/index/shard/ShardSplittingQuery.java
53.43% <0.00%> (-21.38%)
:arrow_down:

...ch/persistent/decider/EnableAssignmentDecider.java
59.09% <0.00%> (-18.19%)
:arrow_down:

...ter/coordination/CoordinationStateTestCluster.java
73.17% <0.00%> (-17.69%)
:arrow_down:

... and 469 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd6493f...3823227. Read the comment docs.

Moved badges after logo & change ordering of badges.

2.1 is for security patches only


Host a UI on the web for automated booking

First of all, great job @pallupz! This worked for me after a an hour of tinkering. beep wasn't beeping so I replaced it with a dog barking sound whenever slots opened. :P
This got me thinking about how its possible to setup a front end and host this so that even laymen can use this service quite easily. Libraries like streamlit allow to easily repurpose python scripts into GUI web apps. Your thoughts?

I haven't used streamlit before but setting this up as a website would be very useful and should be relatively easy. I went with Python because as a data engineer that's sort of where my primary skillsets are. A real game changer would be porting this to mobile where OTP can be automatically read from SMS and this can run pretty much forever with token expiring.

Would something on the lines of Pushbullet (on the mobile to forward the SMS to PC) and something like selenium to access this OTP on PC work? Was just wondering

Hey I have been trying to port your code to streamlit and it doesn't work. Thats because of the way streamlit library has ben built. The Streamlit API is very rigid so it is not currently possible to integrate it. Regardless your code is fantastic and very helpful. Thank you for creating this!

Please feel free to spread the word a bit, if you dont mind. Link: https://www.linkedin.com/feed/update/urn:li:activity:6794138228464193536/

@pallupz Thank you for creating this script! It's definitely possible to turn this into a web app using Streamlit. I'm not committing to it, but I will try working on the port over this weekend and the next.

@snehankekre I actually learnt streamlit from you on coursera. Thank you very much for those projects and for helping me learn. While it doesn't make any sense to port it now I have a question, the way i was trying to implement it was by creating 2 different input buttons one for Mobile number and one for OTP. One of the things i have noticed in streamlit is that whenever you update a widget the entire script gets re run. In my case it meant that the tokens generated were lost. Is there anything like storing a session in streamlit like we have in Flask? Or any other way to carry forward data from one page to another? I tried some techniques and unfortunately they didn't work

@pallupz Can you share the discord invite again?

https://discord.gg/acgNtmaW


Relationships getters and setters not working

in relation with the OrbitJS official documentation at  https://github.com/orbitjs/ember-orbit#updating-records I'm trying to access the attributes of a related record of a model retrieved with react-orbitjs but it looks like react-orbitjs doesn't expose the getter/setters functions the way ember-orbit does, as I get the error .get is not a function
is there any way to lazy load a relationship or otherwise access a given relationship attributes? the relationship identificator --> querying for the given id isn't applicable for my usecase...

I don't know much about ember-orbit, can you tell me more about your intended use case?

I don't know much about ember-orbit, can you tell me more about your intended use case?

Sure:
I got a component that uses withData and among other things it retrieves multiple instances of the model (let's say) user, the user model defines a hasOne relationship with the model (let's say) BestFriend
I generate a table of user where I want to print every retrieved User and in the same table i want to print 2 columns of the single User BestFriend.attributes.name
Logging every single user istance results in the relationship BestFriend to be present and working (meaning that it contains type & id) but I noticed the lack of helpers methods to acces the related data attributes.
What i would like to be able to do is invoking a getter function on the User instance where i define the relationship defined in my schema to populate the relationships fields.
Something like currentUserInstance.get('BestFriend').attributes.name.
The only way to achieve this right now (atleast in the indexedDb source) is to manually invoke queryStore(q=>q.findRecord({type:'type from the relationship descriptor',id:'id from relationship descriptor'})) manually on every single user instance, would be extra nice if the get method could syntactical sugar coat the process...

Got it.
It's however not really the goal for this project to provide a model/orm layer on top of Orbit, merely a reactive subscription/listener pattern to bind React and Orbit together.
Maybe https://github.com/exivity/orbit-client might be a better place for such functionality.
/cc @Michiel87


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 992 ms

Resolved: Bofrost.at performance has improved in 4004782 after 7 minutes.


Move FW versions and fingerprints into their own file

Make sure to remove the linter ignore in the values.py files for line length

Done in https://github.com/commaai/openpilot/pull/30790


Possible to update?

I'm not a go developer, and this fails to build.
Is there any chance you'd be willing to update this to get it to build?

@designermonkey so I can try to see what happens, if it's something simple I can correct it, if it's something longer I might delay it a little

Thank you :)
It's saying github.com/cespare/reflex is causing an issue, but I don't know enough about go to figure out how to fix it.


Questa support in Makefile for simulations

I tried running SweRV with Mentor Graphics's Questa simulator. I see testbench/flist.questa file-list, but Makefile didn't have targets for the same. I added the same and then found few minor issues in flist.questa, I have fixed and marked them with "// VW" for your kind review.
Please see if you can incorporate these changes and/o validate the same at your end.
Thanks
Srini
Makefile.txt
flist.questa.txt

You can have your own makefile/script/TB to run swerv with any simulator we provide just very basic way to show that design is alive. We checked that design can be compiled with questa, before release.

Please see updates in new release. Reopen if needed.


update reconciler.js

v.pop changed to isArr(v)

Codecov Report

Merging #142 into master will not change coverage by %.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   97.22%   97.22%
=======================================
  Files           7        7
  Lines         361      361
  Branches      111      111
=======================================
  Hits          351      351
  Misses          9        9
  Partials        1        1

Impacted Files
Coverage Δ

src/reconciler.js
97.76% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a40a536...95ed128. Read the comment docs.

这个是做什么的

没事就是个自动的脚本，我合了，谢谢你！


[8.x] Fixing doc for exceptions.

The following files in the cache package are also :

Illuminate\Cache\DatabaseLock.php
Illuminate\Cache\DatabaseStore.php
Illuminate\Cache\DynamoDbStore.php
Illuminate\Cache\FileStore.php

Some of these aren't fully qualified.

These methods also don't throw these exceptions.


fix: fathom

This fixes fathom to actually work. Something was up before where it wasn't registering correctly.

:tada: This PR is included in version 1.9.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Initialize logging should be the first thing to happen in the program

Rather than initializing logging in multiple areas depending on indexer mode, initialize only once at the first for the program.

Can't do, apparently, according to Trevor.


[Path|File|InputStream]Assert#hasDigest

Implement [Path|File|InputStream]Assert#hasDigest with 4 variants:

hasDigest(MessageDigest digest, byte[] expected)
hasDigest(MessageDigest digest, String expected)
hasDigest(String algorithm, byte[] expected)
hasDigest(String algorithm, String expected)

Progress:

[x] Core utils
[x] PathAssert
[x] FileAssert
[x] InputStreamAssert
[x] Javadoc with a code example (API only)

Fixes #1210

This is only first part of work: I want to receive early feedback for assertions in PathAssert before implement assertions in FileAssert and InputStreamAssert.

As I say in https://github.com/joel-costigliola/assertj-core/issues/1210#issuecomment-376845125 this PR was created from master branch, but I also have branch created from 2.x branch and I can make PR for branch 2.x too.

The 2.x branch is now in bugfix only mode (see: https://joel-costigliola.github.io/assertj/assertj-core-news.html#assertj-core-2.9.0), so there is need for a 2.x pull request.

Work completed, @joel-costigliola @PascalSchumacher please review.
Sorry for long delay.

looking at it, thanks @valery1707!

Integrated thanks @valery1707 !


[Feature] Better support for JSON data

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
We should support JSON inputs with schema evolution.
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Is it means to support JsonFileFormat? If not, could you provide a more detailed explanation of this ticket, thanks.

Is it means to support JsonFileFormat? If not, could you provide a more detailed explanation of this ticket, thanks.

No, I just mean how to write json records to Paimon, at the beginning, there is no schema definition, and as the json data changes, the columns should be automatically added to the paimon table.

related to #1392

@JingsongLi  please assign to me; thx。

Do you consider adding new data types for JSON formatted data?

我也需要一个json的输入，类似MongoDB

json数据输入字段是不定的，可增加
读取的时候才指定字段
读取的时候提供检索字段的能力

I need input format for JSON data , similar to MongoDB

JSON data fields are variable and can be added
Specify fields when reading
Provide the ability to retrieve fields during reading


Improve comment generation in templates

The existing comment generation was hard to read and was making a lot of string manipulation. However, ERB files are already designed to do string manipulation, so we can use that instead.
So, instead of doing a split and a map, I opted to use the #each_line method to iterate over the lines of the file.
Also, in order to add an optional space padding at the beginning of the line, I opted to pad it with a space and to then right trim it. This makes sure that no space is left behind if the line is empty, but a space is added if the line is not empty.

I think we can rely on node.comment always being there? If there isn't one we should error.
I wasn't sure if that was something we could assume. Since you say so, I've removed the redundant .to_s calls.

I think you accidentally broke Java by using # instead of //.
Sorry, copy/paste error. I fixed it and also changed Java to use Javadoc syntax instead.


Don't create User object for non-uProxy users

Currently we are creating a User object for all user profiles we receive other than our own (https://github.com/uProxy/uproxy/blob/dev/src/generic_core/social.ts#L359), but many of these users will not be uProxy users and never displayed in the UI.
We should delay creating User objects until we have a RemoteInstance for them (may require keeping a userId-to-name mapping for all users but I think thats better than having full User objects with a lot of state that are written to storage).

there's nothing written to storage if we don't have instances for it.

I'm not sure about this... I think you probably do want user objects (built only from a social provider's profile event) in memory while online because if someone just gets a new client with uProxy, then you don't have a guarantee of getting a new profile message for them. I don't think the memory overhead is bad.
 I'll file an issue about that separately: https://github.com/uProxy/uproxy/issues/947).


Is pip package broken ?

if you install the 4.4.6 version from pip, you can see that hlapi.v3arch module does not exist. The python module structure is changed.
If you look on github releases, with the same version, it has hlapi.v3arch.
Is this desired ?

The version I just pulled from pip seems to have pysnmp.hlapi subpackage in place:
$ python3 -m venv venv3
$ . venv3/bin/activate
(venv3) $ pip install pysnmp
Collecting pysnmp
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/99/1a/9e0cdf6a963998185eeebc2a3fa368aa448cac73126a98a4cbf7bdfe85c7/pysnmp-4.4.6-py2.py3-none-any.whl (291kB)
    100% |████████████████████████████████| 296kB 177kB/s
Collecting pysmi (from pysnmp)
  Using cached https://files.pythonhosted.org/packages/74/d6/92bf7c9f16d365a17e26a97e2340d194b62e46c7d27effa71682c081a17d/pysmi-0.3.1-py2.py3-none-any.whl
Collecting pycryptodomex (from pysnmp)
  Downloading https://files.pythonhosted.org/packages/d7/12/c45b6e7506b39bfd8ca661d9bf8cbd6ac9d20e9bb9108dfffcd11f202b46/pycryptodomex-3.6.6-cp35-cp35m-manylinux1_x86_64.whl (7.4MB)
    100% |████████████████████████████████| 7.4MB 105kB/s
Collecting pyasn1>=0.2.3 (from pysnmp)
  Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl
Collecting ply (from pysmi->pysnmp)
  Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
Installing collected packages: ply, pysmi, pycryptodomex, pyasn1, pysnmp
Successfully installed ply-3.11 pyasn1-0.4.4 pycryptodomex-3.6.6 pysmi-0.3.1 pysnmp-4.4.6
$ python -c 'import pysnmp.hlapi'
$
$ ls venv3/lib/python3.5/site-packages/pysnmp/hlapi/
asyncio  asyncore  auth.py  context.py  __init__.py  lcd.py  __pycache__  transport.py  twisted  varbinds.py
$ grep __version__  venv3/lib/python3.5/site-packages/pysnmp/__init__.py
__version__ = '4.4.6'

Could you please elaborate how could I reproduce the effect you experience?
The master branch at GitHub holds yet unreleased pysnmp 5 which has slightly different (though compatible) package layout. Could it be that you use GitHub master?

if you do
wget https://github.com/etingof/pysnmp/archive/v4.4.6.tar.gz
(directly from github releases)
tar -xvf  ...
I see a different folder structure:
init.py  transport.py  v1arch  v3arch  varbinds.py

Ah, so it's GitHub release that is broken, not PyPI one?
I've just re-released 4.4.6 on GitHub.  Please poke me if you find anything else.
The changed package structure is due to accidental release of pysnmp 5.

yes, actually I didn't know which one was broken,  one must be :)

I hope it's alright now. Thank you! ;-)


error on UseSqlServer method

when i copy and use this code below:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllersWithViews();
services.AddDbContext<MvcMovieContext>(options =>
        options.UseSqlServer(Configuration.GetConnectionString("MvcMovieContext")));   //UsseSqlServer  occur error

}
err occurs as :
'DbContextOptionsBuilder' does not contain a definition for 'UseSqlServer' and no accessible extension method 'UseSqlServer' accepting a first argument of type 'DbContextOptionsBuilder' could be found (are you missing a using directive or an assembly reference?)

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Part 4, add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

i forget to nuget entityframeworkcore.sqlserver, my fault


Sample App Does Not Compile

I followed the directions carefully at https://blazor.net/docs/get-started.html to create your first project. However, when I try to build the sample app created by the template I get this error:
Error	MSB3073	The command "dotnet "C:\Users\DevCharlesB.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets../tools/Microsoft.AspNetCore.Blazor.Build.dll" write-boot-json obj\Debug\netstandard2.0\Test Blazor2.dll --references "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/bootjson-references.txt" --embedded-resources "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/embedded.resources.txt" --linker-enabled --output "C:\Test\Test Blazor2\Test Blazor2\obj\Debug\netstandard2.0\blazor/blazor.boot.json"" exited with code -532462766.	Test Blazor2	C:\Users\DevCharlesB.nuget\packages\microsoft.aspnetcore.blazor.build\0.5.1\targets\Blazor.MonoRuntime.targets	635
Can't quite pick out what it's trying to tell me or where to go with it. Appreciate any suggestions.

I've never had that error myself, but searching for the error code brings up this StackOverflow post: https://stackoverflow.com/a/43237980 ... where multiple people claim they've had it when their NuGet packages directory is corrupt or inconsistent in some way, and their fix has been to clear the NuGet packages directory (e.g., dotnet nuget locals all --clear).
Since this doesn't appear to be Blazor-related I'll close it, but please let us know if you investigate further and have reason to think it's something in Blazor itself. Hope that's OK!


Enhancement: Create a ignore this for the diagnostic message

https://twitter.com/kevmcdonk/status/1407347855203966996?s=20 - Create an ignore this action. So that it does not propose certain terms for your markdown files.

This is now available in v0.0.4.


Can't download via .torrent file

When i add torrent file in http://instant.io/ it doesn't start it although CLI is working perfectly. What is the problem?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14520882-can-t-download-via-torrent-file?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github).

Is the torrent being seeded by a webrtc-capable client, i.e. webtorrent-hybrid or instant.io?
In the browser, WebTorrent can only download torrents that are explicitly seeded to the WebTorrent network. Desktop torrent clients need to support WebRTC to peer with web browsers.


Doc: easy way to run as any user (proposition)

Running as user 1001 (or other) is easy if the HOME variable is set to "/root"
I propose to add in the Dockerfile:
ENV HOME=/root
Ok for a PR?

Closing as a duplicate of #847, lets have this conversation over there.


fix(fe: FSADT1-1495): Add notification to all BC Registries cards in step 1

Description
Remove the condition to display the Read-only notification, so it gets always displayed, regardless of the selected Client's "BC Registries standing" value.
Fixes FSADT1-1495
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation update

How Has This Been Tested?

[ ] New unit tests
[ ] New integrated tests
[ ] New component tests
[ ] New end-to-end tests
[ ] New user flow tests
[ ] No new tests are required
[ ] Manual tests (description below)
[ ] Updated existing tests

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have already been accepted and merged

Further comments

Thanks for the PR!
Deployments, as required, will be available below:
Any successful deployments (not always required) will be available here
Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Please don't leave commented out code

The commented code has a comment above it to explain why it was kept there and a reference to a Jira ticket to deal with that in the future (FSADT1-1496). Given that, is it ok? Or should I remove it anyway?

MAMM: Yes, it is ok


Write script to filter '*' variants in family/project tables.

Resolved!  This came from a demo project which was straightforwards to find and fix.


Inference code and models for 'Unprocessing Images for Learned Raw Denoising'

Hi,
I was wondering if you could provide the pre-trained models for CVPR2019 paper title 'Unprocessing Images for Learned Raw Denoising'. I have looked into 'unprocessing' dir, no models or inference code, do you intend to release that or not?
Thanks you!
Touqeer

I can see that it has been committed to the project now.

Thank you!

@MortenHannemose  can you tell me where is the Inference code for other datasets and how can I use it on different datasets because I don't understand from readme?


feat: modern_footer

Hello @theashikagupta
I believe a dedicated Footer is required to make it a brand value . Further including some statements and copyright tag would make it more better . As well including some of your details like , LinkedIn might bring some more network opportunity.
I am a gssoc'24 extd contributor . Please assign this issue to me .
https://github.com/user-attachments/assets/4bfc409b-228c-42b2-9098-1323405865c1

Thanks @itznayan for raising this issue . Assigned to you!

@theashikagupta please provide gssoc'24 extd tag and level.

@theashikagupta  please approve PR .
https://github.com/user-attachments/assets/ee2a9b6e-b523-4cb0-b83b-fc701549d453


Warn users that runtime log filtering can be expensive

          I just want to note here that this kind of runtime log filtering can be quite expensive (see https://github.com/gfx-rs/wgpu/issues/6046#issuecomment-2309022590 for an explanation), and we should maybe include some docs warning about that?

Originally posted by @Elabajaba in https://github.com/bevyengine/bevy/issues/14958#issuecomment-2316405784

I think this probably makes most sense on LogPlugin, but I'm open to other arguments.


Android ZXing keeps crashing when its just displaying camera

Did anyone see this behavior or messages before?
I'm not scanning or focusing , etc.
(options are set to scan BarcodeFormat.CODE_128, BarcodeFormat.PDF_417)
Suddenly it gives (at random times, using latest ZXing for Xamarin on Android only)
07-05 16:56:28.155 D/Mono    ( 7859): GC_BRIDGE waiting for bridge processing to finish
07-05 16:56:28.214 I/art     ( 7859): Explicit concurrent mark sweep GC freed 5841(481KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 23MB/39MB, paused 854us total 56.976ms
07-05 16:56:28.216 D/Mono    ( 7859): GC_TAR_BRIDGE bridges 123 objects 8610 opaque 21292 colors 125 colors-bridged 123 colors-visible 123 xref 11 cache-hit 0 cache-semihit 0 cache-miss 2 setup 0.24ms tarjan 12.09ms scc-setup 0.34ms gather-xref 0.03ms xref-setup 0.00ms cleanup 0.43ms
07-05 16:56:28.216 D/Mono    ( 7859): GC_BRIDGE: Complete, was running for 60.76ms
07-05 16:56:28.216 D/Mono    ( 7859): GC_MINOR: (Nursery full) time 36.59ms, stw 37.41ms promoted 457K major size: 4144K in use: 3446K los size: 9216K in use: 7355K
07-05 16:56:30.296 E/mono-rt ( 7859): Stacktrace:
07-05 16:56:30.296 E/mono-rt ( 7859):
07-05 16:56:30.296 E/mono-rt ( 7859):   at  <0xffffffff>
07-05 16:56:30.296 E/mono-rt ( 7859):   at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) <0x0003f>
07-05 16:56:30.296 E/mono-rt ( 7859):   at (wrapper alloc) object.AllocVector (intptr,intptr) [0x0008a] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.296 E/mono-rt ( 7859):   at ZXing.Common.BitMatrix..ctor (int,int) [0x0003b] in :0
07-05 16:56:30.296 E/mono-rt ( 7859):   at ZXing.Common.HybridBinarizer.binarizeEntireImage () [0x00059] in :0
07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.Common.HybridBinarizer.get_BlackMatrix () [0x00001] in :0
07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.BinaryBitmap.get_BlackMatrix () [0x00011] in :0
07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.PDF417.Internal.Detector.detect (ZXing.BinaryBitmap,System.Collections.Generic.IDictionary2<ZXing.DecodeHintType, object>,bool) [0x00001] in <f555e0a951974e28bef029338a77fd54>:0 07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.PDF417.PDF417Reader.decode (ZXing.BinaryBitmap,System.Collections.Generic.IDictionary2<ZXing.DecodeHintType, object>,bool) [0x00009] in :0
07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.PDF417.PDF417Reader.decode (ZXing.BinaryBitmap,System.Collections.Generic.IDictionary2<ZXing.DecodeHintType, object>) [0x00003] in <f555e0a951974e28bef029338a77fd54>:0 07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.MultiFormatReader.decodeInternal (ZXing.BinaryBitmap) [0x00055] in <f555e0a951974e28bef029338a77fd54>:0 07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.MultiFormatReader.decodeWithState (ZXing.BinaryBitmap) [0x00011] in <f555e0a951974e28bef029338a77fd54>:0 07-05 16:56:30.297 E/mono-rt ( 7859):   at ZXing.BarcodeReaderGeneric1<T_REF>.Decode (ZXing.LuminanceSource) [0x00089] in :0
07-05 16:56:30.298 E/mono-rt ( 7859):   at ZXing.Mobile.CameraAccess.CameraAnalyzer.DecodeFrame (ApxLabs.FastAndroidCamera.FastJavaByteArray) [0x000ce] in <7c7c485bd9034360a95deed1c4c824b8>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at ZXing.Mobile.CameraAccess.CameraAnalyzer/<>c__DisplayClass27_0.b__0 () [0x0000e] in <7c7c485bd9034360a95deed1c4c824b8>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.InnerInvoke () [0x00010] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.Execute () [0x00011] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00006] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00073] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00004] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.298 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00054] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x0005e] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859):   at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00002] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859):   at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00075] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859):   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859):   at (wrapper runtime-invoke) .runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <3fe7570511ba4102b1280417244c7c4b>:0
07-05 16:56:30.299 E/mono-rt ( 7859): /proc/self/maps:

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Error log in console (Open Parties and Claim mod & MoreMobGrifiengOptions)

debug.log
latest.log
Mod: https://legacy.curseforge.com/minecraft/mc-mods/open-parties-and-claims
Mod: https://modrinth.com/mod/more-mobgriefing-options

dupe #15