pickr.destroyAndRemove() crashes due to typo in destroy method's name

pickr.destroyAndRemove() and pickr.destroy() both crash because they try to delete a Selectable component that has a typo in its destroy method.
The bug can be seen in pickr/src/js/helper/selectable.js at row 19
https://github.com/Simonwep/pickr/blob/master/src/js/helper/selectable.js#L19
The method is called destory instead of destroy
Thanks!

Oh damn, fixed in ad2bd78763853d0b0e521bd916c9a33a87b37f62 ... Sorry must have happened when I was refactoring the selectable module :/


[docs] Update the Debugging in VS Code recipe

\cc @DevExpress/testcafe-docs
Made it clearer that you need to select the desired launch configuration before hitting F5.
Added an attribute to print the report in the integrated terminal.

\cc @MargaritaLoseva


docfx.json | update customer feedback settings

Aligning with Azure PowerShell, GitHub issues on autogenerated reference content should route directly to the engineering source code repos

@bebound / @sdwheeler / @mikefrobbins , The new reference template in Azure/azure-cli has been merged, and I've updated the link in this PR.
Azure/azure-cli new reference template: https://github.com/Azure/azure-cli/issues/new?template=docs_feedback.yml
Unless this group of reviewers has additional comments, I'll merge this PR by Thursday afternoon, December 5th.


[PT] add 7 and 7.1

#51

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@lewtun solved 🚀🚀🚀

Hey @LincolnVS sorry to be a bother - there's one final set of merge conflicts to be resolved. Would you mind fixing them?

no problem @lewtun, solved 😄

Thanks a lot!


Thanks

Being honest i just wanted to say Thanks! because your tool saved me a lot of time downloading shows for my Kids.

Glad to hear that! You are welcome. :)


make entries more generic

Codecov Report
Base: 90.48% // Head: 85.35% // Decreases project coverage by -5.13% :warning:

Coverage data is based on head (174045d) compared to base (87df692).
Patch coverage: 93.75% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #464      +/-   ##
==========================================
- Coverage   90.48%   85.35%   -5.13%
==========================================
  Files          10       10
  Lines        2847     2752      -95
==========================================
- Hits         2576     2349     -227
- Misses        271      403     +132

Impacted Files
Coverage Δ

src/abstractinterpret/abstractanalyzer.jl
84.33% <ø> (-3.52%)
:arrow_down:

src/JET.jl
71.98% <88.37%> (-8.28%)
:arrow_down:

src/analyzers/jetanalyzer.jl
79.45% <100.00%> (-11.42%)
:arrow_down:

src/analyzers/optanalyzer.jl
93.13% <100.00%> (+0.13%)
:arrow_up:

src/abstractinterpret/typeinfer.jl
89.38% <0.00%> (-5.23%)
:arrow_down:

src/abstractinterpret/inferenceerrorreport.jl
89.32% <0.00%> (-1.59%)
:arrow_down:

src/ui/print.jl
91.15% <0.00%> (-0.69%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Set HSTS to 1 year

I haven't seen any issues with HTTP traffic. Resolves #642
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security

Scary. What data do we have to confirm this is safe?

Network tab in devtools


An infinite number of Flux in chunks

It may be flowing in from other outside chunks. With a 9x9 area, you have 36 directly neighboring chunks for flux to flow from. Are you sure that there isn't flux generated or present in those chunks?

I many times the clean up The Flux from atmosphere.
Clean up The Flux 10 minute.

Yeah, flux is flowing in from surrounding chunks


[minizip] Make BZip2 an optional feature

If the BZip2 package has not been found, ensure that the library does
not assume it is. This would stop any build on targets where bzip2 is
not installed. This can either be the bzip2 package provided by vcpkg
or locally on the system.
Feature:

Allow optionally to enable bzip2 supprt

I apologize for resubmitting this patch. Had some fun with the git rebase

This can produce inconsistencies. What if you install bzip2 on your own and then minizip? Minizip would catch bzip2 and enable the feature without your knowledge (and vcpkg’s). Then you could remove easily bzip2, leaving a broken minizip behind you.
This feature requires a different approach imho

Thank you for the PR!  You are off to a good start.  Rather than making the find_package optional, add a new CMake option that can be passed in from the vcpkg_configure_cmake call in the portfile and is only set to off when the bzip feature is not used.  That will make the behavior in the CI system more robust (we sometimes install everything and don't guarantee an order for ports without dependencies, so bzip2 may or may not be installed before).  That should also resolve @cenit's concern.  I can find you an example of another port that does that if it would be helpful, just let me know.
Also bump the version in the control file to 1.2.11-5, it helps with the vcpkg update command.

Thank you for the comments. Just as a background, we have included minizip in our Wireshark distribution (as of yesterday), but would prefer going the vcpkg route instead of building it ourselves. I do share the concerns of making a now required feature optional, and already also found a few corners where this breaks compatibility. I will try to make the required changes as stated by cenit and resubmit

To ensure backwards compatibility, I have added the bzip2 feature to both libkml and collada-dom. Not sure if they need it though, but this way they will be built as before.

You can make an optional feature on by default by adding Default-Features: bzip2 to the CONTROL file.  It would gives this behavior on install:
has default bzip2 feature
vcpkg install minzip
disables bzip2 feature and only installs the core
vcpkg install minzip[core]
I am willing to let it be an op-in feature for now, but if it causes issues then it will be turned into a default-feature in the future.


Latest released version 0.0.3 on PyPI is older than latest master 0.0.2.

Would you mind sending up the latest version to PyPI? I would love to use the str type, but it doesn't work with the 0.0.3 version that's up on PyPI.
Thanks for this great library, you've really nailed it!

I won't get to it before the weekend. Hopefully Monday.

So not Monday, Tuesday it is. On PyPI we now have 0.0.4. Not satisfied about the PKG-INFO that was uploaded though, need to investigate.

Thanks!


train-classifier data

Pre-trained dumps are greatly helpful, but which NIF dataset has been used to train the classifier that is running on the online demo?
The paper clarifies this, but it's not entirely clear where one could download this dataset from to train the classifier locally.
Thanks for all the work!

I think it is merged_RSS-500_and_istex_train.ttl, in the data directory of this repository.

Thanks, it's much appreciated.


update props of subcomponent doesn't update all the related items

render(){
var borderStyle=this.props.isSelected?
{ borderBottomWidth:2, borderColor:'#333'}:
{ borderBottomWidth:0, borderColor:'#333'};

var displayImage=this.props.isSelected?
this.props.selectedImg:
this.props.unSelectedImg;

return (
  <TouchableHighlight
    underlayColor='#999'
    onPress={()=>this.onPressHandler()}
    style={styles.container}>
    <View style={[styles.content,borderStyle]}>
      <Image style={styles.image}
             source={displayImage}/>
    </View>
  </TouchableHighlight>
);
}

the above code is used to update the border style and display image,when the button was selected
but only the border style changed and the image doesn't change.
but if i remove the following code,the image will change. Seems that it only updated one component not all the related items.
  var borderStyle=this.props.isSelected?
    { borderBottomWidth:2, borderColor:'#333'}:
    { borderBottomWidth:0, borderColor:'#333'};

Is there anybody know this issue?
Thanks in advance

@facebook-github-bot stack-overflow


luci-base: LuCI is not detecting properly sysauth.htm in 3rd party theme and uses default sysauth.ut.

Steps to reproduce:

On a fresh snapshot (it works in the last official release, but not in the snapshots), install 3rd party luci-theme-argon package by downloading the packages from that repo or using CLI:

opkg update
opkg install luci-compat
opkg install luci-lib-ipkg
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v<IP_ADDRESS>/luci-theme-argon-master_<IP_ADDRESS>_all.ipk
opkg install luci-theme-argon*.ipk
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.2.9/luci-app-argon-config_0.9-20210309_all.ipk
opkg install luci-app-argon-config*.ipk

In OpenWrt, go to System > System > Language and Style and select the Argon design.
Logout OpenWrt to return to the login page

Actual behavior:
For some reason, LuCI is executing /usr/share/ucode/luci/template/sysauth.ut instead of /usr/lib/lua/luci/view/themes/argon/sysauth.htm. However, it renders properly the htm headers and the footers provided in the theme, so it seems that the issue only affects the sysauth detection.

Expected behavior:
LuCI should render the provided sysauth.htm file  /usr/lib/lua/luci/view/themes/argon/sysauth.htm. This is the current behavior in the official release (only fails in the snapshot):

Additional Information:
OpenWrt version information from system /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r21314-1996d600bd'
DISTRIB_TARGET='mediatek/mt7622'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r21314-1996d600bd'
DISTRIB_TAINTS='no-all busybox'

This actually is a kind of bug in the Argon theme itself. The shipped sysauth.htm is rendered but throws a runtime exception, which causes LuCI to fall back to it's builtin sysauth.htm.
The issue is within this line:
https://github.com/jerrykuku/luci-theme-argon/blob/master/luasrc/view/themes/argon/sysauth.htm#L132
On 22.03, the global node variable is not defined which causes the ( (node and node.title) and ' - ' .. translate(node.title) or '')) part to be skipped. On master, node is defined and referring to the dispatcher's node() function, leading to a Lua attempt to index a function value exception due to the node.title expression. After removing the extraneous code which has never been rendered anyway, the theme appears to function normally.

Thank you @jow- for tracking the problem. The same code in the theme was working fine until 22.03. I think that now it junps by default upon any error that previously was rendered the "best possible way".
Thanks

No, the behavior is the same. 22.03 just happens to not trigger the bug/undefined variable access in Argon.
I will push a fix for this later

Thanks!

@jow-
I flashed the new snapshot build r21335-e410833bdd, using the same Argon theme. Now, the login page loads properly, but it can't access the rest of the site. it returns the following error:

Runtime error
Unhandled exception during request dispatching
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:158: Failed to load template 'admin_status/index'.
Error while parsing template '/usr/lib/lua/luci/view/admin_status/index.htm':
No such file or directory

In error(), file [C]
called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23)
called from function ((tail call))
In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 138, byte 45:
  called from function [arrow function] (/usr/share/ucode/luci/dispatcher.uc:778:70)
  called from function render ([C])
  called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24)
  called from function run_action (/usr/share/ucode/luci/dispatcher.uc:779:4)
  called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:993:48)
  called from anonymous function (/www/cgi-bin/luci:39:12)

 `        return lcall.call(modname, method, ...args);`
  Near here ----------------------------------------^

Should I report it as a new issue or just continue here?


Support 64-bit ARM (ARMv8) on Android

Supporting 64-bit ARM (aka. ARMv8) on Android (along with the creation of fat binaries, containing both ARMv7 and ARMv8) would be nice, since it could offer small performance improvements. Many devices from this year such as the OnePlus 3 support ARMv8.
@reduz said it should be relatively easy, it should be a matter of adding a new compilation target for the libgodot_android.so file.

https://github.com/godotengine/godot/pull/6724
It's really not tested, hope it help :+1:

Seems to be implemented as https://github.com/godotengine/godot/pull/9838 was merged.


jerry.jpg is missing

1.Go to Input image folder present in this repository.
2.Copy "jerry.jpg" image.
3.Paste into the workspace folder ( or folder where MATLAB files of this simulation are present) of MATLAB


Migrate from ReactiveCocoa to ReactiveSwift

This also moves the Nimble dependency over to the master branch because the swift-3.0 branch no longer exists.

This is awesome :tada:

Amazing 👊🏻

Happy to help!


qa_crowbarsetup: Detect useless tempest run

run_tempest.sh returns 0 even if not a single test was executed.
So after a successful tempest run, also run "testr last" which returns
"3" in case no tests were executed.

+1


MAINT: forward port SciPy 1.7.1 release notes

In addition to forward-porting the SciPy 1.7.1 release notes after the release this evening, this PR also forward ports gh-14272 at Ralf's request (we do need those fixes in master as well).

don't merge this just yet--I'm a little concerned about the doc changes from gh-14272 still not doing quite what we want..

If there's an obvious fix to make this work the way we want I'll include it, otherwise, we may want to pull out the forward port for now. This is what I did manually on top of the patch to prevent the broken links: https://github.com/scipy/scipy/issues/14267#issuecomment-890698718


Update Composer dependencies (2023-04-23-00-12)

Visual regression test passed!
View the visual regression test report


[Google Maps - Web] Maps does not act as being in mode: gestureHandling: "cooperative"

Steps to Reproduce

Execute flutter run -d chrome on the code sample (here)
Scroll down/up with the wheel of the mouse to go hover the Google Maps Widget
The Google Maps Widget uses the scroll events to zoom in/out (= like it is in mode:  gestureHandling: "greedy" (greedy doc)
Resize the browser window
Scroll down/up with the wheel of the mouse to go hover the Google Maps Widget
The Google Maps Widget now acts as being in mode:  gestureHandling: "cooperative" (cooperative doc)

Expected results:
The Google Maps Widget should directly act as being in mode:  gestureHandling: "cooperative"
Actual results:
The Google Maps Widget acts as being in mode:  gestureHandling: "greedy"
https://user-images.githubusercontent.com/1877340/147347930-ad2cb421-b8e1-4f2d-a343-df570ae8753b.mov

Logs
flutter run --verbose -d chrome

[ +145 ms] executing: sysctl hw.optional.arm64
[  +35 ms] Exit code 0 from: sysctl hw.optional.arm64
[   +3 ms] hw.optional.arm64: 1
[  +10 ms] executing: [/Users/seb/dev/sdk/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +30 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] cf4400006550b70f28e4b4af815151d1e74846c6
[   +1 ms] executing: [/Users/seb/dev/sdk/flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[  +48 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[        ] 2.8.0
[  +13 ms] executing: [/Users/seb/dev/sdk/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +20 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/seb/dev/sdk/flutter/] git ls-remote --get-url origin
[  +19 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +140 ms] executing: [/Users/seb/dev/sdk/flutter/] git rev-parse --abbrev-ref HEAD
[  +25 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +9 ms] executing: sw_vers -productName
[  +19 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +22 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.0.1
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21A559
[  +65 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +62 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +38 ms] executing: sysctl hw.optional.arm64
[  +11 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[  +97 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[        ] Xcode 13.1
           Build version 13A1030d
[  +96 ms] Skipping pub get: version match.
[  +32 ms] Found plugin flutter_plugin_android_lifecycle at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +9 ms] Found plugin google_maps_flutter at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[   +5 ms] Found plugin google_maps_flutter_web at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_web-0.3.2/
[ +108 ms] Found plugin flutter_plugin_android_lifecycle at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +2 ms] Found plugin google_maps_flutter at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[   +1 ms] Found plugin google_maps_flutter_web at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_web-0.3.2/
[  +18 ms] Generating /Users/seb/dev/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +249 ms] Launching lib/main.dart on Chrome in debug mode...
[ +187 ms] Updating assets
[  +92 ms] Waiting for connection from debug service on Chrome...
[   +9 ms] Found plugin flutter_plugin_android_lifecycle at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +2 ms] Found plugin google_maps_flutter at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[   +1 ms] Found plugin google_maps_flutter_web at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_web-0.3.2/
[  +10 ms] Found plugin flutter_plugin_android_lifecycle at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +1 ms] Found plugin google_maps_flutter at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.1.1/
[   +1 ms] Found plugin google_maps_flutter_web at /Users/seb/dev/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_web-0.3.2/
[  +45 ms] <- reset
[   +8 ms] /Users/seb/dev/sdk/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/seb/dev/sdk/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/seb/dev/sdk/flutter/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
/var/folders/5d/w8_lchx95zv51vmj40cwqp_40000gn/T/flutter_tools.PLxVQv/flutter_tool.uKVjGn/app.dill --libraries-spec file:///Users/seb/dev/sdk/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
/Users/seb/dev/bug/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root
/var/folders/5d/w8_lchx95zv51vmj40cwqp_40000gn/T/flutter_tools.PLxVQv/flutter_tools.qZewil --filesystem-scheme org-dartlang-app --initialize-from-dill
build/b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill --platform file:///Users/seb/dev/sdk/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +25 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+14117 ms] Waiting for connection from debug service on Chrome... (completed in 14,2s)
[   +5 ms] Synced 30.9MB.
[        ] <- accept
[        ] Caching compiled dill
[  +71 ms] Using Google Chrome 96.0.4664.110
[  +76 ms] executing: sysctl hw.optional.arm64
[  +14 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[  +18 ms] Found ARM Chrome installation at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome, forcing native launch.
[ +257 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:62712/devtools/browser/37944184-e7f0-470f-ac78-072c76d9f45e
[ +576 ms] DwdsInjector: Received request for entrypoint at http://localhost:62631/main_module.bootstrap.js
[   +7 ms] MetadataProvider: Loading debug metadata...
[  +15 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +9 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:62631/main_module.bootstrap.js
[+1518 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +94 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:62749/x-HEok_3fOg=/ws
[  +28 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:62749/x-HEok_3fOg=/ws
[  +10 ms] Debug service listening on ws://<IP_ADDRESS>:62749/x-HEok_3fOg=/ws
[        ] 💪 Running with sound null safety 💪
[   +7 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[   +1 ms] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:62749/x-HEok_3fOg=
[+1052 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:62749/x-HEok_3fOg=

flutter analyze

Analyzing bug...
No issues found! (ran in 2.1s)

flutter doctor -v

[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-arm, locale fr-FR)
    • Flutter version 2.8.0 at /Users/seb/dev/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (2 weeks ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/seb/dev/sdk/android
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = /Users/seb/dev/sdk/android/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

@sperochon
I think the the gesture handling modes may not be yet supported by the plugin on web, see this open issue to request enabling gesture handling for same, https://github.com/flutter/flutter/issues/80322. I see that you've already commented in it too, so it'll be good to follow-up in it for further updates and reference.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.

@darshankawar Thanks for your reply but I disagree ;-) I made a wrong statement in the other issue (and just reply in it). So please reopen this one. As you can see in my video, without changing anything except resizing the browser window, the behavior of Google Maps is changing.

@sperochon
Thanks for the update. Is there a way to know the gesture handling mode, ie when is it greedy and cooperative ?

@darshankawar It is greedy when you can zoom in/out with scroll mouse and cooperative when you can't and a message is displayed "Use ⌘+scroll to zoom the map"
In fact, at this stage, this issue should just be renamed to "Behavior of Google Maps is changing after resizing the browser window" and all reference to greedy/cooperative mode should be removed. It is part of issue debugging.

Thanks for the update. I do see the message displaying Use ⌘+scroll to zoom the map" when trying to zoom in/out with scroll mouse.
Keeping it open for further input from the team.

 stable, master flutter doctor -v
[[✓] Flutter (Channel stable, 2.8.1, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.8.1 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (13 hours ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.209, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.209 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6054eda86b (2 hours ago), 2021-12-28 18:19:16 -0800
    • Engine revision 01d19ceef4
    • Dart version 2.16.0 (build 2.16.0-134.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

@darshankawar how to respond  to google map on hovering mouse events to get latitude and longitude placing every part of map


[DAPHNE-#31] Kernel for diagMatrix-operation

Add CSR specializations for the diagMatrix kernel.
Add sparsity inference for the diagMatrix() daphne op.

Closes https://github.com/daphne-eu/daphne/issues/31

Thanks, @psomas for reopening #333 in your own name.


Jayzelle Portfolio

Done pushing to our repository.

Isesend ko na lang via teams yung code ko ayaw eh.

May inedit lang for final.

Nalpas met laingen


WslRegisterDistribution failed with error: 0x80070424

Version
Microsoft Windows [Version 10.0.22621.1]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
The specified service does not exist as an installed service.
Distro Version
WslRegisterDistribution failed with error: 0x80070424
Other Software
No response
Repro Steps
Opening a cmd prompt and running wsl results in:
The specified service does not exist as an installed service.
Opening Windows Terminal results in:
The specified service does not exist as an installed service.

[process exited with code<PHONE_NUMBER> (0xffffffff)]

Opening Ubuntu from the Microsoft Store results in:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070424
Error: 0x80070424 The specified service does not exist as an installed service.

Press any key to continue...

Running Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux in a PowerShell with Admin Rights results in:
Path          :
Online        : True
RestartNeeded : False

More Windows Features has the checkbox CHECKED for:
Hyper-V (and its descendants)
Virtual Machine Platform
Windows Subsystem for Linux

I've tried to UNCHECK them, restart the computer, CHECK them again, restart. The problem continues.
Since I saw on other tickets requests to do share logs by performing
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

I've done it, what I attempted to do while collecting logs:

executing wsl from a cmd prompt
Opening Windows Terminal (linked to my Ubuntu)
Opening Ubuntu as the app

Expected Behavior
I would expect WSL to run, but I would also expect a clearer message on what service is exactly expected to be running.
I would also expect any service linked to WSL to be registered once I try to install WSL, and if there is any failure in the installation of WSL to be notified of such.
Actual Behavior
I am instead presented with error messages like this one when trying to open the Ubuntu APP:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070424
Error: 0x80070424 The specified service does not exist as an installed service.

Press any key to continue...

Diagnostic Logs
WslLogs-2022-05-26_02-07-51.zip

As I continued to try to resolve this problem, and I was going through my Apps on my Microsoft Store, I saw I add the app "Windows Subsytem for Linux Preview" installed. Trying to "open" it, would show the same error.
I went to Settings > Installed Apps > Windows Subsytem for Linux Preview
here, under "Reset" I clicked "Repair" which, well, seems to have repaired the issue, and now I am able to get into my Ubuntu Distro.
It would seem that if WSL is installed via the Store, then any interaction from the optional features does little to nothing in terms of reinstating the necessary configurations/services.

Thanks for reporting this @PMPP. It looks like something is weird with the way the WSL service is registered.
Can you share the output of Start-Service WslService in an elevated powershell ?

Hi @OneBlue , executing Start-Service WslService in an elevated powershell didn't produce any results:
PS C:\WINDOWS\system32> Start-Service WslService
PS C:\WINDOWS\system32>

But as a reminder, I was already able to solve the situation, so I wasn't able to run this command while I was having the problem.

Thanks @PMPP. It's interesting that you're getting this error given that it looks like the service is correctly installed.
Immediately after you start the service, what's the output of get-service wslservice ?

As I continued to try to resolve this problem, and I was going through my Apps on my Microsoft Store, I saw I add the app "Windows Subsytem for Linux Preview" installed. Trying to "open" it, would show the same error.
I went to Settings > Installed Apps > Windows Subsytem for Linux Preview here, under "Reset" I clicked "Repair" which, well, seems to have repaired the issue, and now I am able to get into my Ubuntu Distro.
It would seem that if WSL is installed via the Store, then any interaction from the optional features does little to nothing in terms of reinstating the necessary configurations/services.

I also encountered the same problem. This is the only one in a large number of search results that solved my problem, thanks a lot!

As I continued to try to resolve this problem, and I was going through my Apps on my Microsoft Store, I saw I add the app "Windows Subsytem for Linux Preview" installed. Trying to "open" it, would show the same error.
I went to Settings > Installed Apps > Windows Subsytem for Linux Preview here, under "Reset" I clicked "Repair" which, well, seems to have repaired the issue, and now I am able to get into my Ubuntu Distro.
It would seem that if WSL is installed via the Store, then any interaction from the optional features does little to nothing in terms of reinstating the necessary configurations/services.

Meet this problem and fixed it by pressed Repir button, tnx.

i tried every possible method i found on internet including the ones mentioned here, nothing seems to work for me.

That is probably because though wsl is updated, specific services hasn't been started and initialized. So, just start all the wsl services using this command:
Start-Service WslService
... on the PowerShell terminal and reopen Kali from the Store. It will start installing Kali shortly after that.

actually i solved it, it started working properly as soon as I uninstalled WSL from windows settings. It had two WSL installations, one named WSL and other as Updates for WSL

same for me. Resolved by uninstall WSL from win settings.
got this error while upd docker 4.26.1 (wsl 2 was installed before)

For me, the cause was Comodo Auto-Containment.
To explain . . .
I went through a process of deduction to find out what the cause was for my terminal not running as expected. I tried to stop/start the virtualization platform - negative. Tried netsh winsock reset - negative. I even went as far as checking my UEFI SVM setting, which was fine.
Then I thought back to what I had changed since I last ran the container. The only things I could think of were Malwarebytes, and Comodo Firewall (which comes with some fancy features).
I quit Malwarebytes - negative. I turned off all Comodo features - SUCCESS! Then narrowed it down to Auto-containment, so whilst it was off, I added the terminal process to an ignore rule, and now all is fine.

As I continued to try to resolve this problem, and I was going through my Apps on my Microsoft Store, I saw I add the app "Windows Subsytem for Linux Preview" installed. Trying to "open" it, would show the same error.
I went to Settings > Installed Apps > Windows Subsytem for Linux Preview here, under "Reset" I clicked "Repair" which, well, seems to have repaired the issue, and now I am able to get into my Ubuntu Distro.
It would seem that if WSL is installed via the Store, then any interaction from the optional features does little to nothing in terms of reinstating the necessary configurations/services.

So simple fix , it worked for me :)

wsl --update works for me.


Fix javadocs and improve javadoc CI

Description
Actually fixes the build, as my previous fix in #696 was incorrect.  You don't need to include params in a linked method but you should leave off the parentheses in that case.
Also updated our CI to fail fast on javadoc checks to prevent these errors from slipping in.
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 #697 (e7098ad) into main (2c09280) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##               main     #697   +/-   ##
=========================================
  Coverage     66.21%   66.21%
  Complexity      301      301
=========================================
  Files            55       55
  Lines          1243     1243
  Branches         41       41
=========================================
  Hits            823      823
  Misses          408      408
  Partials         12       12

Impacted Files
Coverage Δ

...ch/sdk/handlers/ExtensionActionRequestHandler.java
7.27% <ø> (ø)

...h/sdk/handlers/ExtensionActionResponseHandler.java
0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I'll do the backport.


Orchestrator HTTP/gRPC health checks and health readiness probe

Issue
https://github.com/foundation-model-stack/fms-guardrails-orchestrator/issues/163
Changes

Health checks supported by orchestrator for both gRPC and HTTP:

any client's health status can be READY, NOT_READY, or UNKNOWN
gRPC: Introduce health check service proto (using the v1 health check proto officially provided by gRPC: https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto, introduce corresponding health client for each grpc client.
HTTP: uses a minimal health contract

health endpoint: /health
empty 200 OK -> READY
non-empty 200 OK -> try parse health_status (e.g. { "health_status": "UNKNOWN" }), if HTTP response body is not empty this is required. Optionally a reason can also be provided { "health_status": "NOT_READY", "response_code": "HTTP 200 OK", "reason": "some reason" }. This was done in order to allow http endpoints to potentially use 200 OK for any successful response even if the response is to say NOT_READY or UNKNOWN, so if the client just wants to return READY, a body can/should be omitted. If a 200 OK response is to be considered READY and the response does contains a body, it must have "health_status": "READY", but if "reason": "..." is specified it will be ignored as this is meant as an additional field for unhealthy reporting
503 SERVICE UNAVAILABLE and all other 5xx HTTP codes are treated as NOT_READY because of the implication that a 5xx error is the fault of the server.
404 NOT FOUND and all other 4xx HTTP codes are treated as UNNKNOWN because of the implication that a 4xx error is the fault of the client, and so the most we know is that we do not know the health status and that this could likely be caused by misconfiguration/misuse rather than a server issue

Implement readiness probe for the actual client "handlers" (generation, detection, chunker) to collect the health check results of the clients
expose readiness probe through orchestrator and introduce a health status cache in orchestrator for clients

introduce /ready server endpoint (as separate from /health which is a superficial orchestrator server check)
/ready takes ?probe=true/false query param with default false, when true, a readiness probe and update of health status cache is triggered, otherwise just read cache.
returns a serialization of HealthStatusCache, showing status for each client in detectors, chunkers, generation.

READY clients' statuses are simplified "some_client_id": "READY", while NOT_READY and UNKNOWN statuses include more information (e.g. { "health_status": "UNKNOWN", "response_code": "HTTP 404 Not Found", "reason": "HTTP status client error (404 Not Found) for url (http://no.url.provided.local/): { \"message\": \"service not found\" }" })

readiness probe is triggered on orchestrator start up and (only at startup) NOT_READY or UNKNOWN statuses are considered fatal for the server.

added unit tests mocking responses from HTTP and gRPC clients, testing handling of the different successful and unsuccessful cases.
Included a commit that updates the OpenAPI spec, if this is wanted.

Left an explanation about one of the comments and resolved nits from all the others

Update to start up behaviour:
Based on discussion regarding requirements for start up validation, I've updated the PR so that the client health statuses are not considered part of a validation process on orchestrator start-up. The orchestrator still performs the client health probe on start-up, but only so that it can have the results ready in cache (TODO: do we want a flag for this?). The client health probe does not provide an overall status, as it now only relays the health/readiness of clients and makes no inference about the orchestrator itself. The client services are not dependencies of the orchestrator. Failing client health checks will not impede the orchestrator's liveliness during start-up or after any other re-probing. The client health probe is now exposed by /info instead of /ready, a ?probe=true can still be provided. Below is an example of the logging output on orchestrator startup for a config that contains clients that fail to pass health checks:

Issue arising from a conflict with the recently merged introduction of integration tests by @mdevino: https://github.com/foundation-model-stack/fms-guardrails-orchestrator/pull/188
Summary of problem and discussion so far:

Background info - a merge conflict for health probe PR caused by recent introductory integration test PR causes the questions about mocking w.r.t. integration tests to need addressing

Problematic detail - we already use some mocking for unit tests with e.g. #[cfg_attr(test, faux::create, derive(Default))] , however the built-in build configuration condition test is purposely not enabled by rust for integration tests (tests in tests/)
Why not? - Taking a step back, the point of integration tests is to test the integration of all modules of the code together, as they would actually be used. Mocking is generally a discouraged practice for integration tests as you can not test that all the parts of a system are working together when some of the parts are mocked. Rust adheres to this premise and thats why conditional build configurations for integration tests are not enabled by the test feature.

Short term fix - when I found this issue on Friday I made a temporary solution where a custom cargo feature "mock" acting in place of test is made required by the integration test instead, and the build configuration attributes in the code were modified to #[cfg_attr(any(test, feature = "mock"), faux::create, derive(Default))]. Building off the previous point though, perhaps we want to re-evaluate our approach to integration testing to avoid mocking parts of the system

Speculation about a real fix - IMO I think a more correct approach to integration testing should not mock any orchestrator code, instead it can mock the client services. Maybe something like an orchestrator config file for very simple localhost instances of client services (just simple scripts mocking the client service behaviour) that return dummy responses without any additional logic

What about functional tests? - The main difference in purpose I see between our functional tests and the proposal for integration tests is that functional tests are for validating the business logic while integration tests are testing that the components of the system interact as expected. As such, functional tests are black box tests that validate the response contains correct logic given a request, while an integration test is a (white box?) test that ensure a request is handled and responded to as expected without caring about the contents of the dummy request/responses used

As it stands, neither @mdevino or I have a clear direction about what the correct approach is and believe this should be discussed further with the team.

cc @declark1 I resolved the failing chunker health check issue (caikit expects an empty string to be passed for the service_id of a HealthCheckRequest and specifying the chunker service id was causing the failure) and addressed the other discovered integration test issue. This PR is now ready for final review


net/haproxy: support runtime certificate updates

This fixes: https://github.com/opnsense/plugins/issues/1882

@fichtner Please do not merge this to stable/21.1 just yet. @andeman is currently working on the GUI part and will submit a 2nd PR when it's ready.

No worries, being careful here as you requested.

Just dropping this here to let you know @fichtner
https://github.com/opnsense/plugins/pull/2253


RMariaDB fails to build

let
  pkgs = import <nixpkgs> {};
  inherit (pkgs) mkShell rstudioWrapper rPackages;

  myR = selector: rstudioWrapper.override { packages = selector rPackages; };
  rStuff = myR (p: with p; [
    RMariaDB
    DBI
    ]);
in
  mkShell {
    name = "woo-science";
    buildInputs = [
      rStuff
      ];
    }

$ nix-shell r.nix
these derivations will be built:
  /nix/store/apb31splragc1whl41vn8d9q9i12d63z-r-RMariaDB-1.0.6.drv
  /nix/store/xl7ws8sis4hdwmlqcsyhnybbgspwfc2r-RStudio-1.1.463-wrapper.drv
building '/nix/store/apb31splragc1whl41vn8d9q9i12d63z-r-RMariaDB-1.0.6.drv'...
unpacking sources
unpacking source archive /nix/store/17z2bvq52d8vif9n13rbjydbq22n7ii4-RMariaDB_1.0.6.tar.gz
source root is RMariaDB
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file RMariaDB/MD5
patching sources
configuring
building
running tests
installing
* installing *source* package 'RMariaDB' ...
** package 'RMariaDB' successfully unpacked and MD5 sums checked
sh: ./configure: not found
Warning in system(cmd) : error in running command
ERROR: configuration failed for package 'RMariaDB'
* removing '/nix/store/vm6rsq19idm4v0zwsplb2j7mdsqicp8n-r-RMariaDB-1.0.6/library/RMariaDB'
builder for '/nix/store/apb31splragc1whl41vn8d9q9i12d63z-r-RMariaDB-1.0.6.drv' failed with exit code 1
cannot build derivation '/nix/store/xl7ws8sis4hdwmlqcsyhnybbgspwfc2r-RStudio-1.1.463-wrapper.drv': 1 dependencies couldn't be built
error: build of '/nix/store/xl7ws8sis4hdwmlqcsyhnybbgspwfc2r-RStudio-1.1.463-wrapper.drv' failed

I had this issue as well on lib.version "19.09.976.c75de8bc12c".
I wasn't able to build either RMySQL or RMariaDB. In the latter case, it looks like RMariaDB needs to have patchShebangs configure in its preConfigure stage. It also seemed to me that it wasn't getting the correct libraries passed to it.
You can fix it with an overlay like this:
self: super:
{
  rPackages = (super.rPackages or {}) // {
    RMariaDB = super.rPackages.RMariaDB.overrideDerivation (attrs: {
      nativeBuildInputs = [ self.mariadb.connector-c.dev ] ++ attrs.nativeBuildInputs;
      preConfigure = "patchShebangs configure";
    });
    RMySQL = super.rPackages.RMySQL.overrideDerivation (attrs: {
      nativeBuildInputs = [ self.mysql.connector-c.dev ] ++ attrs.nativeBuildInputs;
    });
  };
}

In the meantime (20.09 at least), you have to use self.mariadb-connector-c.dev instead of self.mariadb.connector-c.dev.

RMariaDB probably still fails to build, as there's no fix in r-modules/default.nix. I just need to port my fix from 19.09 to master.

For the record on recent Nixpkgs versions, RMariaDB package correctly builds. I think we can close this issue now.


Enable CONFIG_BPF_STREAM_PARSER to support SOCKMAP, SOCKHASH used by eBPF programs

https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/include/linux/bpf_types.h#L106-L109
#if defined(CONFIG_BPF_STREAM_PARSER)
BPF_MAP_TYPE(BPF_MAP_TYPE_SOCKMAP, sock_map_ops)
BPF_MAP_TYPE(BPF_MAP_TYPE_SOCKHASH, sock_hash_ops)
#endif

https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/Microsoft/config-wsl#L1433
# CONFIG_BPF_STREAM_PARSER is not set

https://github.com/microsoft/WSL2-Linux-Kernel/blob/d489414/Microsoft/config-wsl-arm64#L1418
# CONFIG_BPF_STREAM_PARSER is not set

BPF_MAP_TYPE_SOCKMAP and BPF_MAP_TYPE_SOCKHASH are very important & useful to eBPF programs, let's make them work! :blush:

I'd like to request CONFIG_XDP_SOCKETS in addition to CONFIG_BPF_STREAM_PARSER. That'll allow (generic) AF_XDP usage and development using WSL2. I'm running a custom 5.10 kernel with these options enabled and it seems to be working just fine.

CONFIG_XDP_SOCKETS is ON in latest 6.6 release! CONFIG_BPF_STREAM_PARSER is still not, though.


Typos in English text (documentation, comments, ...)

Description / Beschreibung
The current code contains English typos which can be found and fixed using tools like codespell or typos.
Expected behaviour / Erwartetes Verhalten
Minimizing the number of typos helps users and developers, so known typos should get fixed.
Steps to reproduce / Schritte zum Reproduzieren

Run a spell checker (see suggested ones above).

Context / Kontext
Not relevant
References / Verweise

Will be releases in RDMO 2.2.


Grass and kerbs

Top left: grass with kerb on bottom edge
Bot left: grass with kerb all the way round
Right: grass and kerb as one object - but iD doesn't show the kerb's line (like the bottom edge of the top left image).
Can this be fixed ?

Good suggestion.. I've added a style for barrier=* now - it looks like this:

NICE !
I wonder if you could distinguish barrier types into 2? categories: permeable and impermeable ? Barrier=kerb is a permeable example and wall/hedge/fence impermeable.

I also wonder if iD can 'tidy up' data by finding areas and lines with 100% matched nodes and then combining the line tags with the area - hence deleting the separate line ?

I wonder if you could distinguish barrier types into 2? categories: permeable and impermeable ? Barrier=kerb is a permeable example and wall/hedge/fence impermeable.

We could give any of the barrier types own rendering styles, but I don't want to overdo it and make the map confusing.  The styles we use must support the task of editing, and not try to be a general cartography style that tries to render every possible thing.  Does knowing whether a barrier is permeable or not matter to a user editing - or do they just need to see that a barrier exists here?

I also wonder if iD can 'tidy up' data by finding areas and lines with 100% matched nodes and then combining the line tags with the area - hence deleting the separate line ?

I think a lot of people would complain if we automatically merged perimeter tags with an area, because it kind of violates the one feature, one element rule.  Lots of people prefer these things to be separate.

Is it not 'valuable' to be able to 'see' that the object depicted is correct in every aspect ? ID is the interface between mappers and the map and as such should indicate to mappers what the map contains. I'm kind of disappointed the OSM standard render doesn't show the whole content of the map. Only if errors are visible (it's taken me some magic to sort out Windermere - thanks to iD showing partially filled areas, it showed the outline had been drawn over more than once - and in faffing around with it it could well have been retraced twice more causing it to effectively have 3 outlines ('outers') yet there were only one inner per internal item. As the lake is quite complex, it is represented as a multipolygon. I spotted within that that it had 2 outers - one removed. The lake also had a separate line depicting the lake - so that in its entirety I deleted. Those 2 errors, iD could have 'eaten' itself automatically. For the purpose of editing, I think it is wrong to shy away from displaying the detail.
As for the one feature one element (thanks for the link) rule, automatically 'tidying up' would be doing exactly what that rule is about. An area surrounded by a fence is delineated by the presence of the fence - the fence is integral to the area. It is therefore correct to have the fence as part of the area rather than as a separate item as it is the fence that describes the area's boundary. This is only possible where the fence completely surrounds the area. An element may be a barrier. That barrier may comprise of a low wall, topped up with a fence above which is a hedge. This is not uncommon. It is one barrier so one element should describe the wall, fence and hedge aspects of the barrier - rather than describing three items in the same place.
Yesterday, I filled in quite a few farmers' fields. Generally, each field was independently mapped (one of them 'twice' as the field is split in two with 2 different crops!). There is also a strip of fields of a particular nature that aren't likely to be used any differently - so these I've combined into one area although there are fences and hedges making separate fields.
Is a fence part of a field ? In all honesty, there's no definitive answer; sometimes it is and sometimes it isn't. In the case where it completely goes around the field then I think it's fair to say that it is.
It's like we don't put walls around buildings as it is presumed the building has walls. However, one could argue that if a rectangular building had a wall missing, it would be reasonable to mark the other three walls as walls as well as having the building there?

think a lot of people would complain if we automatically merged perimeter tags with an area, because it kind of violates the one feature, one element rule. Lots of people prefer these things to be separate

Yes - line and area features should be separate objects.
@pmailkeey Perhaps you could edit your previous comment to be more concise and targeted at this specific issue, as it's not clear what you're proposing.

Paul, all areas are bordered by lines. Such objects usually have parameters: Fill, Fill colour, shading, line colour, line width, line style and perhaps corner type (square, round, mitre).
Power pole, telecoms pole and street light are three different objects - but where one pole served all three purposes, all the tags would be set on the one element. I see no reason for making an area bounded by a line two objects when the single feature can be described as one object.

Re walled garden: #319611760
I've removed the wall (in iD, I couldn't select the garden due to the wall) and added a wall tag to the garden. Now, I can chose the item in iD easily and select the tag (garden or wall) easily depending on which I want to edit. So that's a positive edit. The interesting thing is now that OSM Standard shows the single item as a garden and iD shows it as a wall ! P2 shows it as a wall too. OSM Query used to show the wall as a 'way' but now it's a garden.


clear() member function

Please add (even as an extension) a clear() member function [I've added an issue to the SG14 repo]. I assume it's clear (no pun intended) what it is supposed to do.

Seems one needs to construct a new ring_span.


SafeMath library was verified in a different contact address than ICO Wizard

If you are reporting a problem with ICO Wizard, please include the following information:
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Mainnet
If you were able to create it, what is the URL of your crowdsale?
https://wizard.oracles.org/crowdsale?addr=0xC6A446Ca27a1F3F80cFc1c0e14Fa12a943aa3974&networkID=1
Do you have screenshots showing the problem?
There are 2 verified contracts on Etherscan
https://etherscan.io/address/0xf54E5677B1BddF9B552290Be3bA79EAf5AdC53B3#code
https://etherscan.io/address/0xe500629969fecd448cd9b448367645f1ac3c6e06#code
Do you see errors in the dev console? If yes, please include a screenshot
(To open the dev console in Google Chrome, press F12, or go to View -> Developer -> Developer Tools, and open the Console tab)
No

SafeMath contract has no constructor parameters. Each version of SafeMathLib contract is common for all crowdsales built with ICO Wizard. This is why it has the same code and it is already verified by previous users of ICO Wizard.


Training Script

Thanks for your awesome work!
Could you provide some hints about how to training the EgoNet?
Thank you in advance.

Thanks for your awesome work!
Could you provide some hints about how to training the EgoNet?
Thank you in advance.

Hi, the training documentation is under preparation and will become available within 2 weeks. Will let you know once it's ready.

Thanks for your awesome work!
Could you provide some hints about how to training the EgoNet?
Thank you in advance.

The training docs are released and feel free to test them and submit potential issues.


Rename Create Cluster Templates global role to Create RKE Templates

We need to change the  Create Cluster Templates global role to Create RKE Templates - this is also displayed on the UI.

@mrajashree Still called "Create Cluster Templates" on master

@tfiduccia I just checked on latest master, I see the role renamed:
The change should be in the image built with coomit 2bd183e6141442e87beea1d0ea958c1d855e15cc


Remove newlines at end of syscall names

Currently additional newlines are included at the end of each syscall name. This causes empty lines in the output which makes the output a bit harder to parse. Therefore this PR removes these newlines.
Please let me know if you want me to also update the README with example output.

Thank you!!


ci: remove build artifacts in integration tests to prevent space issues

We have recently started observing disk space issues in CI when running integration tests. Let's execute "make clean" to remove the build artifacts created by the "make build" step executed to verify that all binaries build successfully, as not used in the subsequent steps. On my machine, that allows to free ~1GB of disk space.

/ci-integration

/test


[Request] add CLaunch

Package Request
Information
Name: CLaunch
Description: CLaunch is a quick launch management tool that is lightweight, compact, fast, convenient and feature-rich
Homepage: https://hp.vector.co.jp/authors/VA018351/en/claunch.html
Download link(s): https://hp.vector.co.jp/authors/VA018351/en/claunch.html
Some indication of popularity/repute: none

Done, you can test 2 manifests for the same CLAUNCH
One is named claunch and another is named claunch2
So the main one is claunch, you should go with that. The other one is just for testing purposes, but it should work too, although the latter (claunch2) doesn't have the autoupdate function.

Done, you can test 2 manifests for the same CLAUNCH
One is named claunch and another is named claunch2
So the main one is claunch, you should go with that. The other one is just for testing purposes, but it should work too, although the latter (claunch2) doesn't have the autoupdate function.

thanks a lot

You're welcome :)


Progress bar scales opposite the cap motion

Hello! I am 1000% unsure if this is a bug, or operator error.
I'm trying to create a bottom-to-top slider sheet, and I'm getting this unusual behavior from my Progress element:

The Progress element is a duplicate of the Track element - both rounded rectangles (though I tried swapping the Progress to a line with a stroke as well).
Any ideas about what might be going on?
(also, thanks for a supremely useful utility)

Hmm, looks like a bug to me. Will check what’s going on there

@hexbenjamin I've found the issue and have released a new version. Can you please validate the fix?

thanks so much for looking into it, and sorry i missed the first comment! I'll be able to test on about 20 minutes, I'll report back ASAP!

hello! sorry that took a little longer than planned! the range is good now, but unfortunately something does seem to be newly wrong with the caps. here's a more complete screenshot of the setup!

in case it helps, I was just able to approximate a "correct" output with a workaround
the cap object in this case is 48px wide. so i moved the top of the cap-range object +48px in Y (downward) and scaled the height to -48px from its original size, and that does seem close!

That's weird. I created an example file with a horizontal and a vertical slider (will add it to the plugin as well) https://www.figma.com/design/DJ1kvFlye2eH01HnDK194h/Slider-Creator-Example-File?m=auto&t=2GkXp6yNjl6FqZrw-6
Can you please check if these are working for you?
As far as I can tell from the screenshots, it looks lke an issue with the cap-range

I cannot reproduce your success with my design. Your version works in my editor, but I have not been able to get any closer than this in 30 minutes. What exactly do you think is wrong with my cap range?

Are you able to share this part of your file?

Sure! Sorry for the headaches with this!
https://www.figma.com/design/pulXFDojScLKNejuoezFaM/UI-Lab?node-id=67-11&t=tCyIDj9V53AiC2Zc-1

@hexbenjamin I found the issue. Not quite sure why, but it is at least fixable in the designs.
I changed the cap group into a frame and select Clip Content. Then it should work. It looks/feels like one of the (masked) layers is actually bigger then the group.
By clipping you at least know the exact boundaries

THANK you!!! its the grain overlay, i'm fairly new to Figma & didn't know that about clip groups! thank you so much again for taking the time on this!!

You're welcome

@hexbenjamin I've removed the link from your comment.


Add support for repos.git

Description of problem
Add support for including files from a git repository. Documentation is here - https://weldr.io/lorax/lorax-composer.html#repos-git
rawhide currently supports this, and the f29 and f30 packages are currently in updates-testing.

@bcl Is this still a desired feature?

I don't think so. osbuild-composer does not currently support it. @teg Please correct me if I'm wrong.


Upgrade to Vue 2.7

Summary
Fixes #8078

Occurred changes and/or fixed issues
Technical notes summary
Followed instruction as defined in the migration guide, adding them one commit at the time to ensure passing tests.

eslint-plugin-vue upgraded to 9.10.0
Pinned existing libraries which fail on automatic upgrade
Added linting rules to prevent the build to fail
Corrected some linting which cannot be overruled
Updated yarn.lock to ensure dependencies to work properly
Updated test app and package configuration
Added resolution to enforce use of Webpack 4

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

CI is generated since vue and vue-template-compiler libraries upgrade.

Analyzing the issue in the validate script, it has been narrowed down to the library @types/dompurify 3.0.1 to cause linting issues with his dependency @types/jsdom 21.1.1

Been able to reproduce issue after updating the scripts based on local requirements, such like:

typing credentials
adding --registry flag to publish
replace publish command for libraries from npm to yarn

@mantis-toboggan-md Could you please take a look to Harvester functionalities, please?

I imported a Harvester cluster and was not able to load the Harvester extension UI

@mantis-toboggan-md i saw that error with okta auth when disabling the auth provide and getting logged out - fixed in that PR, but that was a logout issue - worth digging into

@mantis-toboggan-md have you tried to remove the node_module folder and reinstall everything?
I am luckily able to navigate through. Could you please confirm it?
https://user-images.githubusercontent.com/5009481/234532234-84a20405-b00c-4188-ae3d-4d628c0d86ca.mp4


Standalone: PyOpengl plugins not included automatically

Nuitka version:
(venv) D:\sources\personal\python\apps\nuitka_tests\test5\main.dist>nuitka --version
0.5.31rc1
3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)]
D:\sources\personal\python\apps\nuitka_tests\venv\Scripts\python.exe

Steps:

git clone https://github.com/brupelo/nuitka_tests && cd nuitka_tests
venv.bat
cd test5
build.bat
cd main.dist && main.exe

Traceback:
Building time took me 488.884s, when trying to run main.dist\main.exe you'll get:
(venv) D:\sources\personal\python\apps\nuitka_tests\test5\main.dist>main.exe
Traceback (most recent call last):
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\main.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\OpenGL\arrays\__init__.py", line 19, in <module OpenGL.arrays>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\OpenGL\arrays\arraydatatype.py", line 4, in <module OpenGL.arrays.arraydatatype>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\OpenGL\raw\GL\_types.py", line 129, in <module OpenGL.raw.GL._types>
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\OpenGL\platform\__init__.py", line 35, in <module OpenGL.platform>
  File "D:\sources\personal\python\apps\nuitka_tests\test5\main.dist\OpenGL\platform\__init__.py", line 29, in _load
TypeError: 'NoneType' object is not callable

You can find the log available here.
Any idea about this one?

@brupelo Stop vandalizing the issue tracker, thank you.

@kayhayen Not vandalizing anything, closed this one as it's working to me as I'm not using nuitka builtin freezer anymore and using my own freezer. Just closed issues I won't be contributing anymore... how's that supossed to be vandalizing?

Because I don't care if it's working for you, but if it's working.

I just pushed a change to factory that makes it load the platform plugins automatically, depending on the OS.
I still would love a better example than "import OpenGL", one that that shows in a headless system things work, but this might be workable.


No newline at eol in formatted notebooks

We use the new black formatting in databricks notebooks which adds a newline at the end of each notebook. We also use blackbricks in our CI/CD pipeline to check for formatting issues. To make sure that our CI/CD passes we tend to checkout our changes locally just to run blackbricks locally before we run our pipeline, which is quite tedious.
A potential fix #36

Another way of handling this while keeping backwards compability would be to add a CLI option defaulting to current master, see #38


Billy f 2005 patch 1

Hey great job with the code please add some test cases some type comments and function comments (doc strings) these are not particularly necessary but will help u build good coding style, I'll merge this for now but keep them in mind

Thanks for the advice, im new to github and new to doing more than basic coding on my own project, I will probably do that next week to help learn.


EH Debugging: "Restart" does not work

The fix for https://github.com/Microsoft/vscode/issues/29884 broke the "Restart" action of EH Debugging.

Fixed via #30698 and 0f731a79df


Document the any() function

Yeah that's a good point. We probably should document all of them in the language spec. (I think the easiest way would be to simply generate the md from the internal metadata we have.)

Yeah that's a good point. We probably should document all of them in the language spec. (I think the easiest way would be to simply generate the md from the internal metadata we have.)

We should definitely document all functions. This particular issue was created to create a piece documentation specially geared towards how to resolve type errors with any(), which I think is going to be common enough to warrant an in-depth explanation.

https://github.com/Azure/bicep/blob/main/docs/the-any-function.md


Fixes #8: Stops calling flow start on an already running server

This is a fix for #8.

That's amazing, thank you @farneman!

You're welcome @diegodurli!
Can we get a new package version?

Absolutely!
Will work on that!


chore(main): release 1.258.0

When this PR is merged, a new tagged release will be created with the notes below.
1.258.0 (2024-04-25)
Features

Add harvestId to Session Replay payloads (#1002) (aea9ac4)
JSErrors timestamped per harvest (#997) (97ae128)
Maintain calculated NR server time for session (#980) (c487e04)

Bug Fixes

Clean up xhrWrappable (#1000) (5e28fb7)
Prevent null CLS (#993) (a518039)

This PR was generated with Release Please. See documentation.

Full suite test ran in #1003 last merge of this cut

:robot: Release is at https://github.com/newrelic/newrelic-browser-agent/releases/tag/v1.258.0 :sunflower:


play & pause not implemented in HomeAssistant

The media_player.media_play_pause function is implemented and works in HomeAssistant
However the media_player.media_play and media_player.media_pause are not implemented and do not work.
If I look in the code the play and pause functions do exist in the denonavr library on line 1546 and line 1564, but they use the same command....
from experimenting a bit I discovered that (at least if you are playing spotify)
this command always pauses the playback: <IP_ADDRESS>/goform/formiPhoneAppDirect.xml?NS9B
Unfortunatly there is no resume/play action, only a toggle_play action:
<IP_ADDRESS>/goform/formiPhoneAppDirect.xml?NS9A, which resumes if it is paused and pauses if it is playing.
We could possibly create a workaround by looking at the state of the media_player (playing or paused), from that you now if you schould sent the command or not.
Of course that is not ideal because the state could be old and not accurate anymore....
Shall I implement this workaround?

Thanks for researching 😄
I quickly implemented your proposal in the library

No problem, thank you for all the work and effort that you put into the denonavr library and component, it is truly great!
Always happy if I can help a tiny bit.

You're welcome. It's very nice that you are helping out with the sound modes that often 😄
These are the changes in home-assistant: https://github.com/home-assistant/home-assistant/pull/30421


Search and Filter for Templates

Hey, I just made a Pull Request!

Fixes 4209

Problem Statement
If your company has a wide range of templates, your backstage user would need to scroll through all templates looking for the one he needs. Or maybe, user just wants to know what type of components he can create using a specific technology. 😢
Solution 😎
By adding Search and Filter functionalities, user now can easily and quickly find templates.
Changes

Using same Filter functionality as Catalog Page:

Updated logic to list available categories instead of tags (as it works in catalog page)
Updated Filter Groups:

Removed "Personal > Owned"
Kept "My Company > All" and "Personal > Starred" group filters.  (we can later add star feature for templates)

I copied from catalog plugin:

scaffolder>src>filter>* - Renamed variables to align filtering behavior (Using categories instead of tags to filter)
scaffolder>src>components>ResultsFilter>* - Renamed variables to align filtering behavior
scaffolder>src>components>ScaffolderFilter>* - This is the same CatalogFilter from catalog plugin, it was just renamed to ScaffolderFilter
scaffolder>src>hooks>*

Implemented Search functionality:

Added Search Input - Looks and feel the same way as it does in catalog page table
Allows user to search templates by Entity metadata tags and title

Updated Layout to fit new controls as seen in screenshot:

Using same layout as Catalog Page, except that search input is located above the filter options so that the templates grid have more space to display cards.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

Wow great PR! 👏 well done.
Minor comments below, but an overall one: does this accidentally mix the concept of starring an ENTITY vs. starring a template? i don't see where I'd be able as a user to star a template, like "Create React", which is different than my starring my resulting entity in the catalog called "MyReactWebSite"? Apols I may not fully understand it so wanted to ask!

@adamdmharvey This is something my squad and I were wondering. We replicated the same filters from Catalog Page, we did remove the "Owned" filter, but regarding the "Star" we were not sure to remove it or not. We thought... "maybe later we can add a way to start templates" but that's something we wanted to discuss here with the Community 🤔   (And yes, we thought about it in the sam as starring an ENTITY). If there's no need/liking to have that "start template" feature, we can easily remove it from here 😎

I think it would also be helpful to be able to filter by tags as well, thoughts?

I think it would also be helpful to be able to filter by tags as well, thoughts?

Listing some pros/cons that I foresee:
Filtering by Categories:
Pros:

Small/Restricted list of checkboxes - Only the defined type of components a user can create.

Cons:

No Tag filtering

Filtering by Tags:
Cons:

Larger/(a bit)Unrestricted list of checkboxes - As they are added by people who create templates.
No Category filter

Both filers:
Pros:

All filter options!

Cons:

Larger list of checkboxes
Might add confusion to the user if both elements are mixed

Notes:

We could add another tab/panel/list to differentiate/split filters like one list for categories then on list for tags

I see where you are coming from on keeping it clean and taking the less is more approach, and excellent job on this by the way!
My thought was the same tags may be used across templates and feel it enforces us to really only use tags that are meaningful... it would be beneficial for a developer only interested in templates that offer logging-monitoring to be able to filter by that also nice to be able to filter by tech-stack. How about if we add tags but keep it minimized by default?
Another option is the do what Spotify did and add it as part of search?

I like the idea of having collapse/expand controls to shrink the Filters pane. I think I'll give it a try 👍
Also I'd like to see how the one from Spotify works 🤔 Probably we could work on that in a second iteration.

So - i've been thinking about this PR on the side for a day or so now, and there's a few things that spring to mind. I don't intend to block merging of this PR based on any of the below, just some food for thought I think, and i'd be interested to get everyones opinion on it.
But first, thank you so much for doing this and the hard work you've put in. It looks great, and thanks for the great PR body explaining what you'd done to duplicate parts like filtering logic and hooks, its super helpful when reviewing and lets us know what we can maybe extract out into something separate. I appreciate that some of the code from the catalog table and filtering isn't so optimised for use across plugins. I know, I wrote most of it 🤷  👍
So, To follow on from @regicsolutions point about how we do it internally at Spotify, things are a little different internally. These templates that you can select aren't part of a central catalog like they are in the Backstage Open Source. And the only way to see them is exactly that screenshot that @regicsolutions posted. The filtering at the top is purely text based too, it's client side I think, and just indexes the text that you can see on the React component, like owner, description, title, labels etc.
On our internal version, as you can see from the screenshot, they are ordered a little differently and grouped by their respective type I guess it would translate to in the OS world. That's something we don't do here, they're just coloured differently. Maybe grouping these templates in the frontend would remove the need for the category filter, as you can see it all grouped instead of it being unordered is a something that could help rather than category filters?
Also, for reference, internally we have around 30 templates, for different use cases and different reasons. Maybe what we have internally doesn't work for the open source side, as there's companies that have 100's of microtemplates and grouping them doesn't work at all 🤣
I've also been thinking about the idea of just adding a Templates tab to the catalog view, and then just inheriting the filtering logic from there, but then it's a bit strange to be taken to the Entity page of the template rather than using that in the /create app to create a template from, and then you've got two places to see the same thing, but with different actions and different journeys, which might not make sense. But maybe there's something here that could be explored in the future too?
Like I said at the beginning of this wall of text, this is awesome, and it's a great feature. Just wanted to give you a little background as to what we do internally, and what i've been thinking. Maybe it doesn't make sense to duplicate the functionality from the catalog plugin at all later on down the line, but maybe our internal screenshot isn't the way to go either 👍

Hey @benjdlambert had a read and I see a couple of points that I really like!
To give a bit of context, @OscarDHdz has been working on this because at Expedia we plan on having quite a few templates, possibly totalling hundreds.

Maybe grouping these templates in the frontend would remove the need for the category filter, as you can see it all grouped instead of it being unordered and a purely text driven quick search is all you need?

This is super interesting, I think it would simplify the logic here drastically and have less of an overhead. My only question is on what basis would you group? Would it be on a specific tag? I'm also interested to see what @regicsolutions thinks here.

I've also been thinking about the idea of just adding a Templates tab to the catalog view, and then just inheriting the filtering logic from there, but then it's a bit strange to be taken to the Entity page of the template rather than using that in the /create app to create a template from, and then you've got two places to see the same thing, but with different actions and different journeys, which might not make sense. But maybe there's something here that could be explored in the future too?

This was my first thought as well, especially since we are duplicating the logic quite a bit. We have a lot of services at Expedia though, I think creating from the entity view would be met with a bit of resistance by our adopters (even if I personally think it's a cleaner and more maintainable solution). From what I gather so far people have really grown accustomed to the different views. We could potentially add another action to it though? i.e just like services have View/Edit make it so that entities of kind template have a create action and re-direct to the form?
We can then leverage a more advanced search in the catalog (by filtering on tags, kinds, etc -- separate action can redirect to the create page) and keep a simpler text-based search and grouping for the actual plugin view.
We'd like to simplify this a bit if we can and offer a more consistent UX with the rest of the plugins. Oscar and I have been chatting and he has a few ideas. I was just spitballing here but yeah would love to hear what @regicsolutions has to say here since they have been involved in the whole process from issue creation to PR feedback :)
@OscarDHdz

Here's my view:
Been also thinking about this over the past few days... Here's where my head is at...
Taking a step back and simplifying things, Backstage is doing two things:

Acting as a Service Registry that keeps track of existing components that have were built before backstage existed
Acting as a Service Catalog that acts as a developers gateway to select from a list of approved enterprise templates

I agree with @benjdlambert view as this should be visible in one view in a new tab by adding Catalog this is the same approach kubeapps is taking and i think it makes sense. so it would be: Services | Websites | Libraries | Documentation | Catalog | Other
I think the create... + link in the sidebar is redundant and there should only be two journey paths to getting to the Service Catalog:

Simply clicking on the Catalog tab for those users who know there way around backstage
For new comers, Click on on + Create Component (adding a plus sign) where you are asked what you would like to do. @freben came up with this so i cant take any credit :), it was discussed as part of the recent catalog-import changes in PR and think it makes sense 4271

Grouping the templates makes alot of sense and this will eliminate the need for "Categories" as they would be driven by groups and the granular filtering can be done using tags that are already in place, OpenShift does this today here's a view:

When i change tabs the search thats already in place today should only search for that "type" so if i click on documentation it should only search for documentation

Sweet, I love the discussions that got going in here!
@regicsolutions Careful with the wording here with "catalog". The catalog basically is a product in and of itself and its naming and use is deeply ingrained across Backstage. And the wording re "catalog" vs "service catalog" vs "software catalog" is a discussion unto itself.
The way I look at the catalog - as in, the /catalog corner of things - is that it's technically inclined, management focused, dense "mechanical" tables, information rich, bird's eye view, special treatment of owned things - and should be modified to show ALL kinds - not just components - so its tabs at the top need to go away :)
Therefore, I do not at all feel worried about a duality between the catalog, and the /create corner of things. The latter is quite the opposite. It's fluffy, big friendly cards, show only the minimum of necessary information, no concept of ownership, specialised grouping and filtering - the user intent, visuals, mindset, and behaviour is radically different. Mixing them together would probably do more harm than good :)
@benjdlambert What do you think about avoiding the "component" wording? I think it is pretty certain that components will be the most common thing to create, but there's bound to be more stuff that it'll be used for! Why not for example a "create managed storage" template that adorns an existing component repo with the config files necessary to spin up a managed database for it to use (with the corresponding Resource kind catalog info data)?
@mateiidavid It's fascinating to think of hundreds of individual templates! May I ask how it came to be that they are so many? One of the primary benefits of the software templates feature is to drive unification, reduce variation, push towards a smaller set of standards. Do absolutely not take this as bashing the idea, I just want to learn and make sure the feature works well for your case too. Maybe there's a way we could make the system let you design just ten templates, but with a dynamic "aspect"/"variant" that's one of the parameters to the templates? Feel free to throw me a DM if you don't want to talk too much about specifics in public.

@adamdmharvey You had a blocker on this, good to go now from your point of view?

@freben Sure! I'll take care of your comments today 😄

Hi @OscarDHdz. I'm going to mention this PR in my Backstage newsletter tomorrow. If you'd like the PR attributed to your employer or another entity please shoot me an email at<EMAIL_ADDRESS>


[ports/keccak-tiny] New port

[x] Changes comply with the maintainer guide

[x] SHA512s are updated for each updated download

[ ] The "supports" clause reflects platforms that may be fixed by this new version

[x] Any fixed CI baseline entries are removed from that file.

[x] Any patches that are no longer applied are deleted from the port's directory.

[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.

[x] Only one version is added to each modified port's versions file.
-->

[x] Changes comply with the maintainer guide

[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.

[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx

[x] The versioning scheme in vcpkg.json matches what upstream says.

[x] The license declaration in vcpkg.json matches what upstream says.

[x] The installed as the "copyright" file matches what upstream says.

[x] The source code of the component installed comes from an authoritative source.

[x] The generated "usage text" is accurate. See adding-usage for context.

[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.

[x] Only one version is in the new port's versions file.

[x] Only one version is added to each modified port's versions file.

Same comments as just added for https://github.com/microsoft/vcpkg/pull/34335.

@dg0yt No worries; made the changes

Disclaimer: I'm a community member.

Is this port related to Team Keccak?

@FrankXie05 No not related to that; related to this: https://en.wikipedia.org/wiki/Keccak
I'm [voluntarily] porting a project that has 4 dependencies that vcpkg has no ports for. (I'm also porting this project from bazel to CMake; and from only supporting *BSD and Linux to MSVC).
@dg0yt Oh really? - Wow after all these years you're just like me 😶🌫
(nice work BTW)

The usage has been tested successfully locally.

FTR the port specifies C90, but the packages uses memset_s which normally is C11.
Build fails with NDK r26 due to absence of  memset_s, but probably its already not usable with previous NDK releases.
Given 9 years since the last modification, let's assume android is unsupported.


Add API for rotating video

guint rotation;

g_object_get(renderer, "rotation", &rotation, NULL);
g_object_set(renderer, "rotation", (rotation + 1) % 4, NULL);

Fixed in https://github.com/EricssonResearch/openwebrtc-ios-sdk/pull/35


Remove SilenceUsage:true from all commands

As we agreed in another PR...

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alenkacz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [alenkacz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alenkacz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test
cc81806ce06a6fba4641b0a2b14d4087875192cd
link
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alenkacz, zen-dog
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [alenkacz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


mimeType error

Parameters: only data
Issuess:
Access to XMLHttpRequest has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    download(data)

Parameters: (data, strFileName) or (data, strFileName, strMimeType)
Issuess:
It can be downloaded but cannot be opened
This file format does not appear to be supported
   download(data, strFileName)
   download(data, strFileName, strMimeType )

I have the same issue

You need to be able to reach the url from within js. I'm not sure what mime type you are having trouble with, some are blocked for security by the browser, some by the OS. I would be happy to take a closer look if you provide more details and especially a short code snip to reproduce the issue.


Metric Tracing Logging

Better trace logging to help debug performance and scalability issues.

Trace logging for list calls was added to norman. Additional metrics still need to be added.

Verified on 2.4-head commit id: f32f5d1d2

Deploy rancher server
Enable trace logging
Create some clusters
Rancher logs show

I0811 19:13:27.013543       6 trace.go:116] Trace[51146923]: "Proxy Store List" resource:clusters (started: 2020-08-11 19:13:26.770071348 +0000 UTC m=+9810.665178751) (total time: 243.415964ms):
Trace[51146923]: [214.650823ms] [214.650823ms] Completed List list-len:201
Trace[51146923]: [242.882003ms] [28.23118ms] Completed fromInternal
Trace[51146923]: [243.412754ms] [530.751µs] Completed FilterList
Trace[51146923]: [243.415964ms] [3.21µs] END

Closing this issue - tracking the fix for master in here - https://github.com/rancher/rancher/issues/28489


Create "info" command

We need a way to show the running service(s) for a package, as well as the dynamic mapped ports

The basic info command is being done here. The container details are split to #77 and #78


[DRAFT] Update chart to use docker-mailserver 14.0.0

If there is any process in place for this, please let me know.
I'm taking a look at the changes on the upgrade discussion and adding a commit for any configuration change.

[x] Remove env ONE_DIR
[x] spam: use Sieve for rewriting subject with Rspamd & SA/Amavis
[x] rspamd: add neural module config
[x] feat: Configurable number of rotated log files
[ ] docs(k8s): Advise externalTrafficPolicy: Local if no PROXY protocol configured
https://github.com/docker-mailserver/docker-mailserver/pull/4039/files

Great, thanks for doing this, was on my todo list.

@cfis I went through the list, and found only those changes, please let me know if anything else has to be done.

Thanks!


 Our hierarchy table contains 80+ million records causing these queries to take a long time.
The added additional queries avoid the performance issue by minimizing the record sets in the sub selects before the join with the outer table.

Thanks for the PR! Sorry for the latency.
I fixed the merge conflicts in my branch. If you want to check out my branch and verify my change to the hash_tree query is still performant, that'd be great—it's not quite the same, but it should still work.

Fantastic! I'll take a look.
Did you also pull in the changes to hierachy_maintenance.rb? https://github.com/mceachen/closure_tree/pull/178/files#diff-693c6ab46fe400dd004a79a24ab8d56bR97

If you want to check out where this PR stands, check out my branch https://github.com/mceachen/closure_tree/tree/magnusfiorepalm-master and take it from there. One test is failing, and, super-irritatingly, only on sqlite: https://travis-ci.org/mceachen/closure_tree/jobs/88727157

(also make sure you try out version 6.0.0 that I just released, there's a DELETE clause that should dramatically help mutation performance for your large trees!)


Feature/api bridge

@PFWhite I started tested it. When I create any project in approver, it shows up in the registry, not just approved projects.  Besides that, the unit tests have failed.


SIGABRT when starting adapter

Adapter dies directly with SIGABRT:
host.iot	2017-05-28 17:38:22.297	error	instance system.adapter.tradfri.0 terminated with code null ()
host.iot	2017-05-28 17:38:22.297	warn	instance system.adapter.tradfri.0 terminated due to SIGABRT
host.iot	2017-05-28 17:38:21.660	info	instance system.adapter.tradfri.0 started with pid 11695

Running main.js manually (obfuscated host and psk):
These are our DTLS client opts:   {"host":"172.x.y.z","port":5684,"psk":{"type":"Buffer","data":[]},"PSKIdent":{"type":"Buffer","data":[65,65,65,65,65,65,65,65,65,65,65,65,
65,65,65]},"key":null,"peerPublicKey":null}
send_safety_check()

step() beginning
step() beginning
io.tradfri.0: ../../nan/nan.h:695: Nan::MaybeLocal<v8::Object> Nan::CopyBuffer(const char*, uint32_t): Assertion `size <= imp::kMaxLength && "too large buffer"' failed.
Aborted

Same result both on raspberry pi 3 (ARM) and an amd64 virtual machine

Thanks for the report. The issue is known. One of the 3rd party libs seems to need additional setup/configuration/whatever, idk. I had it work on a raspi 2 but I can reproduce the above errors.
I'm going to implement COAP and DTLS myself but that will take some time, since I'm currently moving.

The problematic 3rd party libs have been rewritten and the adapter is ready to use again.