google_maps_flutter FATAL EXCEPTION

Steps to Reproduce:
1 - Performed all the configuration of the package page: google_maps_flutter.
2 - I copied the sample code in the README tab
3 - replaces the code in the main.dart file with the copied code
4 - I run the app on my smartphone.
details:
Error Log
Launching lib\main.dart on LG M700 in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Debug service listening on ws://<IP_ADDRESS>:58642/BCjLxJ2DwvU=/ws
Syncing files to device LG M700...
I/zzbz    (11120): Making Creator dynamically
I/DynamiteModule(11120): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203112999
I/DynamiteModule(11120): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203112999
V/DynamiteModule(11120): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/ResourceType(11120): ResTable_typeSpec entry count inconsistent: given 67, previously 69
W/ResourceType(11120): ResTable_typeSpec entry count inconsistent: given 5411, previously 5412
W/System  (11120): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000274/n/armeabi-v7a
W/System  (11120): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000274/n/armeabi
I/Google Maps Android API(11120): Google Play services client version: 12451000
I/Google Maps Android API(11120): Google Play services package version: 204713018
W/Google Maps Android API(11120): Deprecation notice: In a future release, indoor will no longer be supported on satellite, hybrid or terrain type maps. Even where indoor is not supported, isIndoorEnabled() will continue to return the value that has been set via setIndoorEnabled(), as it does now. By default, setIndoorEnabled is 'true'. The API release notes (https://developers.google.com/maps/documentation/android-api/releases) will let you know when indoor support becomes unavailable on those map types.
E/AndroidRuntime(11120): FATAL EXCEPTION: main
E/AndroidRuntime(11120): Process: com.example.flutter_app, PID: 11120
E/AndroidRuntime(11120): java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"
E/AndroidRuntime(11120): 	at io.flutter.plugin.platform.VirtualDisplayController.onFlutterViewAttached(VirtualDisplayController.java:181)
E/AndroidRuntime(11120): 	at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:233)
E/AndroidRuntime(11120): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/AndroidRuntime(11120): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/AndroidRuntime(11120): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(11120): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime(11120): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
E/AndroidRuntime(11120): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(11120): 	at android.os.MessageQueue.next(MessageQueue.java:323)
E/AndroidRuntime(11120): 	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(11120): 	at android.app.ActivityThread.main(ActivityThread.java:6349)
E/AndroidRuntime(11120): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11120): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
E/AndroidRuntime(11120): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
W/DynamiteModule(11120): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule(11120): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:6
I/DynamiteModule(11120): Selected remote version of com.google.android.gms.googlecertificates, version >= 6
W/System  (11120): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000273/n/armeabi-v7a
W/System  (11120): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000273/n/armeabi
Flutter Analyze:
C:\Users\leona\OneDrive\MobileDeveloper\Flutter\flutter_app>flutter analyze
Analyzing flutter_app...
No issues found! (ran in 95.9s)
Flutter doctor:
C:\Users\leona\OneDrive\MobileDeveloper\Flutter\flutter_app>flutter doctor -v
[√] Flutter (Channel dev, 1.26.0-1.0.pre, on Microsoft Windows [versÃ£o 10.0.19042.685], locale pt-BR)
• Flutter version 1.26.0-1.0.pre at D:\Flutter
• Framework revision 63062a6443 (2 weeks ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at D:\Android\Sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = D:\Android\Sdk
• Java binary at: D:\Android-Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at D:\Android-Studio
• 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-b01)
[√] Connected device (3 available)
• LG M700 (mobile) • LGM70055b7d251 • android-arm    • Android 7.1.1 (API 25)
• Chrome (web)     • chrome         • web-javascript • Google Chrome 87.0.4280.88
• Edge (web)       • edge           • web-javascript • Microsoft Edge 87.0.664.66
• No issues found!
Att,

Hi @leonardompereira
Can you please provide a minimal complete reproducible code sample?
Thank you

Hi @leonardompereira
I cannot reproduce the issue on latest master channel running on Redmi 5 Plus (mobile). There is no crash after running the sample code.
Logs
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Debug service listening on ws://<IP_ADDRESS>:52369/I7RY_2TJ1Fw=/ws
Syncing files to device Redmi 5 Plus...
W/PlatformViewsController( 6510): Creating a virtual display of size: [1080, 2160] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2030].
W/ResourceType( 6510): No package identifier when getting name for resource number 0x00000000
I/zzbz    ( 6510): Making Creator dynamically
W/zygote64( 6510): Unsupported class loader
W/zygote64( 6510): Skipping duplicate class check due to unsupported classloader
W/zygote64( 6510): miui_dex2oat:　OatFile: /data/user_de/0/com.google.android.gms/app_chimera/m/00000187/oat/arm64/DynamiteLoader.odex Compiler-Filter = speed
I/DynamiteModule( 6510): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203112999
I/DynamiteModule( 6510): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203112999
V/DynamiteModule( 6510): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/ResourceType( 6510): No package identifier when getting name for resource number 0x00000000
W/ResourceType( 6510): ResTable_typeSpec entry count inconsistent: given 67, previously 69
W/ResourceType( 6510): ResTable_typeSpec entry count inconsistent: given 5411, previously 5412
I/DynamiteLoaderV2Impl( 6510): [71] Mapsdynamite
W/zygote64( 6510): Unsupported class loader
W/zygote64( 6510): miui_dex2oat: oat file of /data/user_de/0/com.google.android.gms/app_chimera/m/0000018b/MapsDynamite.apk is not exists
W/zygote64( 6510): miui_dex2oat: /data/user_de/0/com.google.android.gms/app_chimera/m/0000018b/MapsDynamite.apk: Fall back to running out of the original dex file.
W/ResourceType( 6510): No package identifier when getting name for resource number 0x00000000
I/Google Maps Android API( 6510): Google Play services client version: 12451000
I/Google Maps Android API( 6510): Google Play services package version: 204713021
I/zygote64( 6510): Do partial code cache collection, code=58KB, data=40KB
I/zygote64( 6510): After code cache collection, code=58KB, data=40KB
I/zygote64( 6510): Increasing code cache capacity to 256KB
W/Google Maps Android API( 6510): Deprecation notice: In a future release, indoor will no longer be supported on satellite, hybrid or terrain type maps. Even where indoor is not supported, isIndoorEnabled() will continue to return the value that has been set via setIndoorEnabled(), as it does now. By default, setIndoorEnabled is 'true'. The API release notes (https://developers.google.com/maps/documentation/android-api/releases) will let you know when indoor support becomes unavailable on those map types.
E/GoogleMapController( 6510): Cannot enable MyLocation layer as location permissions are not granted
W/DynamiteModule( 6510): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule( 6510): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:6
I/DynamiteModule( 6510): Selected remote version of com.google.android.gms.googlecertificates, version >= 6
I/DynamiteLoaderV2Impl( 6510): [71] Googlecertificates
W/zygote64( 6510): Unsupported class loader
W/zygote64( 6510): miui_dex2oat: oat file of /data/user_de/0/com.google.android.gms/app_chimera/m/0000018a/GoogleCertificates.apk is not exists
W/zygote64( 6510): miui_dex2oat: /data/user_de/0/com.google.android.gms/app_chimera/m/0000018a/GoogleCertificates.apk: Fall back to running out of the original dex file.
W/ResourceType( 6510): No package identifier when getting name for resource number 0x00000000

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.137, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.137 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 8f5d0371af (2 days ago), 2020-12-26 11:07:36 +0330
    • Engine revision f5364860ab
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/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 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

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

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)              • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0

@pedromassangocode
I'm running on the dev channel, because I'm using the web flutter.
Is that the problem?

Still not able to reproduce on latest dev or master channel.

flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-1.0.pre at /Users/pedromassango/dev/SDKs/flutter_dev
    • Framework revision 63062a6443 (2 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/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 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.5981.152

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

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)              • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • macOS (desktop)                    • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
Process finished with exit code 0

Launching lib\main.dart on LG M700 in debug mode...
Running Gradle task 'assembleDebug'...
Checking the license for package Android SDK Build-Tools 29.0.2 in D:\Workspace\Android\SDK\licenses
Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.
Checking the license for package Android SDK Platform 29 in D:\Workspace\Android\SDK\licenses
Warning: License for package Android SDK Platform 29 not accepted.
FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;29.0.2 Android SDK Build-Tools 29.0.2
platforms;android-29 Android SDK Platform 29
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

Using Android SDK: D:\Workspace\Android\SDK

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 4m 31s
Exception: Gradle task assembleDebug failed with exit code 1

Failed to install the following Android SDK packages as some licences have not been accepted.

This seems unrelated to the first crash logs, please make sure you accept the License for Android SDK Build-Tools before using it. See https://stackoverflow.com/a/49759126.
Can you please provide your flutter doctor -v, your flutter run --verbose and provide the logs once the app crashes?
Thank you

@pedromassangocode
Thanks.


Built folder is empty

Hi, this issue has been brought up earlier but it has been closed and not re-opened for some reason, so I am creating a new one specifically for this issue:

My builds-folder is empty, thus no JS or CSS is loaded into the static site.

I've fixed this bug in my fork of ghost-static-site-generator! https://github.com/itsignacioportal/ghost-static-site-generator/

Same issue! Thanks for fixing @ItsIgnacioPortal, could we merge above ^ @Fried-Chicken ?


Search field autofocused on package pages

On package pages the search field is automatically focused (for example https://warehouse.python.org/project/simplejson/).  This means that once the page loads you must unfocus the search field before you can scroll via the keyboard.
Automatically focusing the search field is arguably reasonable for the front page, where the search field is front and center, but it's a misfeature for pages where search is just part of the site header.  Worse, the field is focused via JavaScript, so it doesn't obey the user's configured autofocus preferences.

I agree we should only autofocus on the main page. I also wonder if we should autofocus using the HTML5 attribute instead of javascript.

I guess a reason not to use the autofocus HTML5 attribute is there is no way to only use it on desktops and not on mobile clients.

It looks like this is done based on screen width right now: https://github.com/pypa/warehouse/blob/c4cce33720f2af493c13dd17b2fc291a43bc08d9/warehouse/static/js/main.js#L81-L91  That's probably available as the page loads—it's a bit retro, but you could document.write() out the <input autofocus> tag based on that.
(Doing this based on screen width seems weird to me. Windows can be narrow on desktop machines too.  And why width over height?  The input widget will probably consume vertical space, not horizontal.)

It is weird. Please see new comment on the original issue:
https://github.com/pypa/warehouse/issues/854#issuecomment-188606918


[ISSUE #5157]Optimize AutoSwitchHAConnection HandShake's data protocol

Make sure set the target branch to develop
What is the purpose of the change
close #5157
Brief changelog

Optimize AutoSwitchHAConnection HandShake's data protocol

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@RongtongJin  PTAL~~

@LGTM  cc @RongtongJin


Panic with unhelpful message when platform has a bad import

To reproduce, in 6c62f72489de68f92493eeda9584c3879dedbd84 run:
cargo run -- check examples/interactive/cli-platform/main.roc

It produces the following unhelpful panic:

'The Http.Response is not a type alias or ability known in Effect', crates/compiler/can/src/module.rs:345:13

The fix is 58d153293636f75e8f51ac190a326485f2fa4e43 (the problem is that the import should be HttpTypes, not Http; the other missing imports aren't necessary to introduce the problem)

Pretty sure this is obsolete now. Effect.roc, which is the file linked in the fix, is much simpler now (either this file or this file), and doesn't have the bad import anymore. Even if the panic still exists in the compiler 2 years later, the reproduction is gone, so I'm closing this issue.


Add jerry_port_get_time API and use it for Date.now()

JerryScript-DCO-1.0-Signed-off-by: François Baldassari<EMAIL_ADDRESS>

What is the motivation of this patch? If you want to move date related functions to jerry port, then you need to move ecma_date_local_tza and ecma_date_daylight_saving_ta too.

The system I am porting jerryscript to isnt POSIX and does not provide
gettimeofday, the port API seemed like the right place to hold such
platform dependent code.
You are correct on the second part and I do intend to move those those
other function as well (little by little).
I thought I'd start small so that we'd have this conversation before I went
too far down this road.
On Friday, March 18, 2016, László Langó<EMAIL_ADDRESS>wrote:

What is the motivation of this patch? If you want to move date related
functions to jerry port, then you need to move ecma_date_local_tza and
ecma_date_daylight_saving_ta too.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Samsung/jerryscript/pull/969#issuecomment-198237029

Superceded by #1018


Remove any unused content from repository

Any unused content (things not in the handbook, guide, overview, adids, or templates) in the SAFETAG repository should be purged from the repository to make it easier to navigate.

did a lot of this cleanup in the current test branch


As an author, I want to know the last time my work was saved so that I don't get anxious about possibly losing my progress.

Merging this ticket into #13  and then closing.


JIT compiler and dynamic template component issue after angular 13 upgrade

Which @angular/* package(s) are the source of the bug?
common, compiler, core
Is this a regression?
Yes
Description
Due to business reasons, we need to have the ability of loading and executing angular code dynamically in the application, the dynamic component template comes from an API call.
After upgrading from angular 12 to angular 13 our implemented solution for dynamic components is no longer working. Updating our codebase to avoid using the deprecated ViewEngine didn't help, we get the same errors.
Can't get my head around specially as to why things like the ngIf directive is not recognized anymore.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
NG0304: 'swiper' is not a known element:
1. If 'swiper' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.
core.mjs:10119 NG0303: Can't bind to 'autoplay' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'effect' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'grabCursor' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'loop' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'pagination' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'slidesPerView' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'spaceBetween' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'speed' since it isn't a known property of 'swiper'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'null'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'null'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'p'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'p'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'a'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'a'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'a'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'a'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.
core.mjs:10119 NG0303: Can't bind to 'ngIf' since it isn't a known property of 'div'.

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 13.1.4
Node: 12.22.5
Package Manager: npm 6.14.14
OS: win32 x64

Angular: 13.1.3
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1301.4
@angular-devkit/build-angular   13.1.4
@angular-devkit/core            13.1.4
@angular-devkit/schematics      12.0.4
@angular/cli                    13.1.4
@angular/google-maps            12.2.13
@nguniversal/builders           13.0.2
@nguniversal/express-engine     12.1.3
@schematics/angular             12.0.4
rxjs                            6.6.7
typescript                      4.5.5

Anything else?
This is esentially how we're doing the whole process after the ViewEngine deprecation:
  createDynamicComponent() {
      const component = this.createComponent();
      const module = this.createModule(component);
      this.componentRef = this.container.createComponent(component, { ngModuleRef: module });
  }

  createComponent(): Type<any> {
      const self = this;
      const metadata = new Component({
          selector: 'dynamic',
          template: this.template,
      });
      const componentClass = class DynamicComponent implements OnInit, OnDestroy {
          constructor() {
              SwiperCore.use([Autoplay, Pagination]);
          }

          ngOnInit() {}

          ngOnDestroy() {}
      };

      // Class constructor parameters
      (componentClass as any).ctorParameters = () => [];

      return Component(metadata)(componentClass);
  }

  createModule(decoratedComponent: Type<any>): NgModuleRef<any> {
      const moduleClass = class RuntimeComponentModule {};
      const decoratedNgModule = NgModule({
          imports: [CommonModule, RouterModule, SharedModule],
          jit: true,
          declarations: [decoratedComponent],
      })(moduleClass);

      return createNgModuleRef(decoratedNgModule, this.injector);
  }

Here the SharedModule exports common things like SwiperModule, Material modules and so on.

In the Angular CLI, we don't really have a support story that covers both JIT and AOT working interchangeably. This just happened to worked previously. The Angular CLI only supports JIT or AOT exclusively.
Somewhat related issues:

Ivy: Render HTML from String / dynamic rendering
Create dynamic component loading documentation

@alan-agius4 thanks, I was already aware of those issues and indeed it would also be necessary to have it working with optimization, but right now even without optimization doesn't work anymore.
Would it be technically feasible to have both compilers at the same time?
Could this be something realistically worth waiting for?
If not, is there any other/better approach we could take in order to accomplish having dynamic templates in components?

Does the dynamic template have Angular bindings/syntax?

Yes, that's the whole point

Would it be technically feasible to have both compilers at the same time?

Yes, although there are some considerations to take into consider. JIT mode is typically note recommended to be used on production environments mainly because of performance overhead.

Could this be something realistically worth waiting for?

Dynamic View Composition API is still in proposal phase, so it is not going to happen soon if it will happen.

If not, is there any other/better approach we could take in order to accomplish having dynamic templates in components?

At the moment I am not aware of any other alternative.
I'll mark this issue for further discussion, so that we can discuss this during our next team meeting.

Hi @manuelbve,
We have discussed this in depth over the past couple of days, in general we don't recommand using JIT in production in any form at all due to security concerns. Long term we also want to go in the opposite direction and remove JIT in Angular completely.  None-the-less, as it currently stands without the dynamic view composition API, the only way to create dynamic components during runtime is to use JIT.
While as mentioned in previous comments that using AOT+JIT interop worked in some cases, it was never a supported use-case by Angular CLI. Therefore we don't classify this as a regression in terms of functionality. Therefore our suggestion would be to go full JIT.

Closing as per above.
Please feel free to reply to this thread.


Feature Request: Interactive LLM Integration in Assemblyline via Configurable UI Button

In the detailed results page of Assemblyline, it would be beneficial to have a button that can be configured to connect with our instance of ChatGPT. As Large Language Models (LLMs) become increasingly prominent, integrating them into Assemblyline could greatly assist analysts in summarising the information the system extracts. This feature would also enable users to ask questions directly within the system. While the initial summarisation process could be done as a service using tags, incorporating an interactive UI element offers greater flexibility and is likely a more useful to analysts, and gives the LLM access to the entire results not just tags.
I would also be curious if these functionalities could be added dynamically through configurations and standalone Docker containers. This approach would allow for more customisation of Assemblyline while maintaining alignment with the main repository. This flexibility would allow us to expand Assemblyline without compromising the integrity of the core platform.

Looks like good timing to me! What I have planned so far is the following:

Button in the file viewer to sumarize code
Quick summary of the overall findings in the submission details
Quick summary of the results of a given file in the file details
Hybrid AI/predefined report where the AI would summarized the findings and explain the results of each service then the important IOC / Files would be listed at the bottom.

Right now, I have the code written in a way where you can define your own system prompts and your own parameters to pass to the AI. The code is written in a way that it should work with most AI API but its only been tested with OpenAI chat/completions API.
We have no plan just yet for the user to ask question to the AI but we're also not ruling this out. This will probably come as a future update.
Here are the PRs for this patch:
https://github.com/CybercentreCanada/assemblyline-base/pull/1522
https://github.com/CybercentreCanada/assemblyline-ui/pull/822
https://github.com/CybercentreCanada/assemblyline-ui-frontend/pull/914
Here's a sneak peak of what the code summarization output looks so far:

This is great! Our data science team is interested in collaborating on this! <3

The first pass for the AI integration is mostly done. I'd say this is in a good enough state to be usable right now and the limitations are mostly due to the kind of model you use, the number of token the model is able to analyse and the prompt use to query the model.
Our default implementation has decent result with the prompt that we've configured as default. At this point, we will probably need some help to fine tune the prompt to get better results. So on top of the code Analysis that we had before we now have:
The AI summarize and explain in detail the AL output in an AI generated report

The AI creating an executive summary for both the submission and the file details

So this covers all the of originally defined scenarios. You can play with this in the most recent Dev build (4.4.1.dev389+)

Thank you @cccs-sgaron can you help me with the values to enable it please?
  ui:
    ai:
      enabled: true
      chat_url: "http://ai:5000"

I'm working on the doc now will push it sometimes today


VPC security groups service controller

New ACK Service Controller
Support for VPC security groups.
(this could be particularly useful in combination with SGs for PODs and the SecurityGroupPolicy resource)
List of API resources
List the API resources in order of importance to you:

Security Group

Hi @dustnic! Please see issue #489 for the VPC service controller. I'm going to close this out as a duplicate of that issue and have added SecurityGroup to the list of resources to build out on that issue. Please let me know if you disagree with this.

Hi @dustnic! Please see issue #489 for the VPC service controller. I'm going to close this out as a duplicate of that issue and have added SecurityGroup to the list of resources to build out on that issue. Please let me know if you disagree with this.


Firebase crash in offline mode

I'm having exactly the same issue as here: https://github.com/firebase/firebase-ios-sdk/issues/1069
Xcode version: 10.0 (10A255)
Using Firebase (4.13.0)
Using FirebaseAnalytics (4.2.0)
Using FirebaseAuth (4.6.1)
Using FirebaseCore (4.0.20)
Using FirebaseFirestore (0.11.0)
Using FirebaseInstanceID (2.0.10)
Using FirebasePerformance (1.1.3)
Using FirebaseSwizzlingUtilities (1.0.1)
How to reproduce:

Go to offline mode (Turn off the internet connection)
Lauch app.
Kill the app.
Launch app again.

Stack trace:
Crashed: com.google.firebase.firestore
0  libsystem_kernel.dylib         0x180bf52ec __pthread_kill + 8
1  libsystem_pthread.dylib        0x180d96288 pthread_kill$VARIANT$mp + 376
2  libsystem_c.dylib              0x180b63d0c abort + 140
3  grpc                           0x103a6101c grpc_channel_create_pollset_set_call(grpc_channel*, grpc_call*, unsigned int, grpc_pollset_set*, grpc_slice, grpc_slice const*, long, void*) (channel.cc:290)
4  grpc                           0x103a60e34 grpc_channel_create_call (channel.cc:276)
5  GRPCClient                     0x10356211c -[GRPCChannel unmanagedCallWithPath:serverName:timeout:completionQueue:] (GRPCChannel.m:201)
6  GRPCClient                     0x103563570 -[GRPCHost unmanagedCallWithPath:serverName:timeout:completionQueue:] (GRPCHost.m:135)
7  GRPCClient                     0x103565194 -[GRPCWrappedCall initWithHost:serverName:path:timeout:] (GRPCWrappedCall.m:257)
8  GRPCClient                     0x1035610c8 -[GRPCCall startCallWithWriteable:] (GRPCCall.m:427)
9  GRPCClient                     0x103561530 -[GRPCCall startWithWriteable:] (GRPCCall.m:483)
10 Ava                            0x1031450f8 -[FSTStream resumeStartWithToken:] +<PHONE_NUMBER>
11 Ava                            0x10314a988 -[FSTDispatchQueue enterCheckedOperation:] +<PHONE_NUMBER>
12 libdispatch.dylib              0x180a60b24 _dispatch_call_block_and_release + 24
13 libdispatch.dylib              0x180a60ae4 _dispatch_client_callout + 16
14 libdispatch.dylib              0x180a6aa38 _dispatch_queue_serial_drain$VARIANT$mp + 608
15 libdispatch.dylib              0x180a6b380 _dispatch_queue_invoke$VARIANT$mp + 336
16 libdispatch.dylib              0x180a6bd4c _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340
17 libdispatch.dylib              0x180a7411c _dispatch_workloop_worker_thread$VARIANT$mp + 668
18 libsystem_pthread.dylib        0x180d93e70 _pthread_wqthread + 860
19 libsystem_pthread.dylib        0x180d93b08 start_wqthread + 4

As noted in #1069, this issue was fixed in April. Please pod update to a recent Firebase version.


feature from TonicArtos/SuperSLiM

Do we have adapted any of the engine into ultimate recycler view? TonicArtos/SuperSLiM

Not yet.I also think it is a wonderful idea to implement it.I tried to find a way to to combine it with the feature with UltimateRecyclerview has. It's great that we can think it together.


refactor(contracts): remove merkle root and signature checks on payment service contract

Changes
Remove the merkle root and signature checks to save on gas in the payment service contract.
Gas changes
Here is the gas diff between validating the merkle root and signature and not doing it:

Proofs
Without any checks
With merkle root and signature checks
Diff

10
149,711.00
251,792.00
+- 102,081.00

35
202,773.00
505,330.00
+- 302,557.00

100
340,879.00
1,153,964.00
+- 813,085.00

328
829,001.00
3,754,187.00
+- 2,925,186.00

For a more complete report see the google sheet here.
The report can be reproduced in the following way:

Replace the current code from here with the following code to log the gas report from that batch:

Ok(receipt) => {
    info!("Batch verification task created on Aligned contract");
    // putting an error for easier debugging!
    error!(
        "Batch statistics:\n\t- Proofs: {} \n\t- Gas used: {}",
        num_proofs_in_batch,
        receipt.gas_used.unwrap()
    );
    Ok(())
}

Run the following proofs from this pr to get the results without checks and from this commit 014bd4d7d64be442c24a8235fda4700bd225a69f to run with the checks:

BURST_SIZE=10 make batcher_send_sp1_burst
make batcher_send_burst_groth16: Here you'll have to wait as it sends proofs non-stop.
BURST_SIZE=100 make batcher_send_risc0_burst
BURST_SIZE=1000 make batcher_send_risc0_burst: Here the max proofs per batch will be around 300-380, but it is difficult to get the same number in both executions.

Results may vary between executions but should be around the same on average.
Closes #1119

We can still remove the usage of nonce and maxFee from the contracts to make it cheaper, ProofSubmitterData can be only the address

Updated!

@uri-99 I updated the docs in docs/2_architecture/components/2_payment_service_contract.md


Make kStatus_AccessDenied visible from objc device-manager.

Add translated error constant for nl::Weave::Profiles::Common::kStatus_AccessDenied to the objc device-manager.
This constant is needed for Nest app error routing.

I note that the parallel code does not exist in the parallel implementation for Java clients. Should it? Would it make the job of the integrator easier? It appears in Java, the equivalent code is packaged up in an exception that contains the error code; we do not provide the error codes in any consistent enumeration for Java clients.

I don't know the design reason for not passing the constants strait through for objc. Clang seems to handle the namespacing just fine.

I note that the parallel code does not exist in the parallel implementation for Java clients. Should it? Would it make the job of the integrator easier? It appears in Java, the equivalent code is packaged up in an exception that contains the error code; we do not provide the error codes in any consistent enumeration for Java clients.

I don't know the design reason for not passing the constants strait through for objc. Clang seems to handle the namespacing just fine. Perhaps that wasn't always true.

What would it take to unwind this practice and just pass them straight through in Objective C++?

I note that the parallel code does not exist in the parallel implementation for Java clients. Should it? Would it make the job of the integrator easier? It appears in Java, the equivalent code is packaged up in an exception that contains the error code; we do not provide the error codes in any consistent enumeration for Java clients.

I don't know the design reason for not passing the constants strait through for objc. Clang seems to handle the namespacing just fine. Perhaps that wasn't always true.

What would it take to unwind this practice and just pass them straight through in Objective C++?

@gerickson @lcniles -- I believe this decision may have been made for packaging reasons.  Once we have an objective C header, it can be freely included across the source base in the app, without regard to the source files being objective C, objective C++ etc.  I believe the packaging of Weave headers within the app development frameworks was a bit tricky, and the original author decided that packaging only the Cocoa headers would greatly simplify things.
It does seem like @lcniles is probably the best person to fix this, if he wants to take that on.
@gerickson -- are you also suggesting that if we take the step to align the status codes between the C++ and Objective C++, then we should also create appropriate enumerations in Java land? (right now status codes seem to be just magic numbers on the other side of the Java API)

It does seem like @lcniles is probably the best person to fix this, if he wants to take that on.

sgtm. We can probably start this kind of work in Q4. I'll reach out at that time and we can put together a plan.


Live sniffing via UART1 at different baud rate

I want to use live sniffing but it's unhandy to connect simultaneously 2 usb cables in the same time. Is there any way to get live output via DFU USB port? Maybe with some lag. For now I'm connecting to serial console, then press K3 button, sniff, and then press K4 to see captured data in terminal. Sort of live sniffing :)

I only have two TTL adapters: CP1201 and Prolific PL2303 which supports a 115200 max baud rate. When I try to use it with hydratool, I always get incorrect data frame size error resync data. Do I really need the TTL adapter that support 8.4M baud rate? Or I can change the UART1 baud rate on hydrabus?

What happen in your case is you try to output lot of data (too much for 115200 or even 2Mbauds serial port) with too slow Serial Port 115200 so you have some data loss at end with frame size error resync data.
It is not possible to do continuous NFC Sniffing at less than 2M bauds (for 106KHz NFC Tag).
Safe value is  8.4Mbauds in order it works even with 424KHz or 848KHz Tag.
It is the same for USB DFU it is too slow and too intrusive as it cost lot of CPU time to use USB with Sniffing in real-time (so some data will be lost) so the only solution so far is to use FTDI interface C232HM-DDHSL-0 interface which allow unique infinite & real-time continuous NFC sniffing
For more details all is explained here

https://github.com/hydrabus/hydrafw/wiki/HydraFW-HYDRANFC-guide#unique-nfc-sniffer-design
https://github.com/hydrabus/hydrafw/wiki/HydraFW-HYDRANFC-guide#sniffer-iso14443a-with-unique-hard-real-time-infinite-trace-mode

Okay, I get.
I would prefer to enable live sniffing mode by pressing some combination of hardware buttons. Maybe possible to bind user script execution to hardware button? For example user put list of command in file on SDcard, and this script runs when specific button pressed.

You are welcome to create such feature and provide a pull request


Add ruff to a pre-commit hook script to enhance CI / CD

I recently discovered a great tool named ruff  "An extremely fast Python linter and code formatter, written in Rust."
I think it could be a great thing to set up to enhance both the global cleaness of the package and the CI / CD
We could set it up using a pre-commit hook script.
What do you think @houssamzenati @bthirion @judithabk6 ?

I can see it's used for Nilearn. I'm OK with it.


Installation bug

Neat package! Thank you!
I'll try to help with bugs reporting and fixes.  Here is my first batch. During installation with git clone I got the following:

missing HISTORY.rst' file.

https://github.com/oscarmlage/django-cruds/blob/master/setup.py#L24

The django-cruds requires django-compressor package:

https://github.com/oscarmlage/django-cruds/blob/master/cruds/templates/cruds/base.html#L5
I guess this need to be added to the installation docs.

Using pip install django-cruds installs a different repo at https://github.com/bmihelac/django-cruds

Is there a way to change the name of this package to django-cruds2 for example?

Hey @sa9, welcome!
First of all thank you for the comment and for your time. You're totally right in all the spots. I'm working on it right now.

Agree, fixing
Not needed really, I'll remove the compress templatetag.
I've renamed the repo, the new one is django-cruds-adminlte. I'm going to publish the package in pypi too to make the installation more easy (and write something related to this in the docs).

Thank you :)


removes the redundant dependency, and the github button

Description

As per #641 , this pull request removes the button, and the related dependency.
Contribution Checklist:

[x] The pull request does not introduce any breaking changes - there are no tests checking for the button
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Won't Merge. See my response at https://github.com/usebruno/bruno/issues/641


[Feature][doc] Add a guide to nominate new committer

Purpose of the pull request
close #10006

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Seems there are dead links.

Seems there are dead links.

Waiting for me to confirm.

Seems there are dead links.

Waiting for me to confirm.

Seems there are dead links.

Waiting for me to confirm.

Seems there are dead links.

Waiting for me to confirm.

Seems there are dead links.

Waiting for me to confirm.

Fixed, thx for your review, let's waiting CI.

Seems there are dead links.

Waiting for me to confirm.

Fixed, thx for your review, let's waiting CI.

Thanks all


Support Tags on App Service Environments

Feature Request
Please support defining tags on the app service environments api

Hi @larsmaes thanks for this issue!
We already supported tags on the AppServiceEnvironment API: https://github.com/Azure/azure-sdk-for-go/blob/68917a8081b5b2362b75be7fd985d50004621fa1/services/web/mgmt/2021-02-01/web/appserviceenvironments.go#L263 (I cannot give you a link to the corresponding models since that file is too big for Github to render)

@ArcturusZhang this needs to be added to the Patch API too, the PUT endpoint can cause an outage iirc


Fix comprehensive tests

Description
the PR fix #3167 needs a slight tweak for the comprehensive tests... due to their usage of miniconda.  Fixing here

LGTM!

thanks for your vote of confidence! 😂  still some work to do here, but will merge when working


Wrong units generated with Cross product

When cartesian_representation is crossed with other types of representation wrong units are generated due to resultant units are generated from original units in the return statement.

This example explains the error more clearly:
auto point1 = make_cartesian_representation(1.0 * meters, 2.0 * meters, 3.0 * meters);
auto point2 = make_spherical_representation(45.0 * bud::degrees, 45.0 * bud::degrees, 1.0 * meters);

auto cross_result = cross(point1, point2);

Ideally, it should give cross_result with meter^2 as unit of each coordinate. But instead it produces compilation error:
error: static assertion failed: All components must have same dimensions

This example explains the error more clearly:
auto point1 = make_cartesian_representation(1.0 * meters, 2.0 * meters, 3.0 * meters);
auto point2 = make_spherical_representation(45.0 * bud::degrees, 45.0 * bud::degrees, 1.0 * meters);

auto cross_result = cross(point1, point2);

Ideally, it should give cross_result with meter^2 as unit of each coordinate. But instead it produces compilation error:
error: static assertion failed: All components must have same dimensions

Cross product of two vectors is a vector only.
Cross product between a=(3,−3,1) and b=(4,9,2)

So the unit will be meter only.

This example explains the error more clearly:
auto point1 = make_cartesian_representation(1.0 * meters, 2.0 * meters, 3.0 * meters);
auto point2 = make_spherical_representation(45.0 * bud::degrees, 45.0 * bud::degrees, 1.0 * meters);

auto cross_result = cross(point1, point2);

Ideally, it should give cross_result with meter^2 as unit of each coordinate. But instead it produces compilation error:
error: static assertion failed: All components must have same dimensions

Cross product of two vectors is another vector. Why will the unit be meter^2?

This example explains the error more clearly:
auto point1 = make_cartesian_representation(1.0 * meters, 2.0 * meters, 3.0 * meters);
auto point2 = make_spherical_representation(45.0 * bud::degrees, 45.0 * bud::degrees, 1.0 * meters);

auto cross_result = cross(point1, point2);

Ideally, it should give cross_result with meter^2 as unit of each coordinate. But instead it produces compilation error:
error: static assertion failed: All components must have same dimensions

Cross product of two vectors is another vector. Why will the unit be meter^2?

Because the cross product of two vectors is another vector whose length denotes the area of the parallelogram created by the original vectors and this vector will be perpendicular to that area.
Another way to think of it: when you do a cross product of two vectors you will have to multiply one component from each vector with some units and multiplying those components will produce a new unit. i.e if both the vectors and each component are in meter then the resultant component will be in meter^2.

So currently cross returns magnitude of cross product of two vectors. A constant like 50 meter^2. Then how does it matter if we take the cross with any other cartesian representation like spherical because we will convert that spherical representation to cartesian then take the cross.
What are we expecting when we take the cross of a spherical and cartesian representation (spherical as the first argument)?
Instead if cross returned a vector like a structure of 3 components of the representation like (x,y,z) or (theta, azimuthal angle, distance from the origin) we could easily calculate magnitude from that.


[WIP] Add Telemetry and Autoscaling adoption guide

recheck

Needs a rebase but it's looking good :+1:
It would be good to add testing as well but that may not be absolutely necessary for the initial PR.

:+1: Thanks, please follow up with a test suite PR to reflect the new services. I'm merging as we want to move from Markdown to AsciiDoc, so any bigger chunks of docs that are ready to land should land.


security: change dep rust-crypto -> sha2

rust-crypto is unmaintained:
https://rustsec.org/advisories/RUSTSEC-2016-0005.html
https://rustsec.org/advisories/RUSTSEC-2022-0011.html
it's risk describle in https://github.com/filecoin-project/merkletree/issues/110

@storojs72 please request review, thank you.

Thanks, @storojs72. Please help me to merge this pr into the master branch.


Improve the documentation for LVMOGP

Looks great, thanks Zhenwen. Ideally you could add types to the input parameters otherwise it's good to be merged as far as I'm concerned.
I don't suppose there is a simplified notebook from the paper that we could use to show off some of the models features and how to use it is there? I'm trying to tidy up the rest of them and it would be great to have something for all the major models inside GPy.

Codecov Report

Merging #579 into devel will decrease coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           devel     #579      +/-   ##
=========================================
- Coverage   52.9%   52.72%   -0.18%
=========================================
  Files        202      202
  Lines      20204    20202       -2
  Branches    2703     2702       -1
=========================================
- Hits       10689    10652      -37
- Misses      9027     9054      +27
- Partials     488      496       +8

I don't know whether we want to include the types for all the input arguments. Argument types do not contain much information, but make the documentation significantly longer, but let me know if you think we should include them.
It is a good idea to collect the notebooks for all the models. I plan to make a notebook demonstrating the usage of these two models. Where do we host them? I guess we will use the notebook repo?

I would say if the type is not obvious, or a class defined in GPy, the type should definitely be in the documentation, so the linking can be used and you can click through in the browser.
Otherwise, great work! I am glad GPy goes forward again :)
The notebooks will be the website, as discussed earlier. So that everything GPy is in one place.

On 23. Nov 2017, at 16:00, Zhenwen Dai<EMAIL_ADDRESS>wrote:
I don't know whether we want to include the types for all the input arguments. Argument types do not contain much information, but make the documentation significantly longer, but let me know if you think we should include them.
It is a good idea to collect the notebooks for all the models. I plan to make a notebook demonstrating the usage of these two models. Where do we host them? I guess we will use the notebook repo?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

I agree there is positives and negatives to having type of inputs included (larger proportion of code is doc strings, but each is more informative).
Personally I would prefer to have the types specified so that new-comers can understand the code more easily (note these are only public facing functions that are being doc-stringed) and that is what I have been doing whilst documenting the code. I prefer the consistency of everything being documented as well, and that in some cases they help a lot. I can remove them if there is strong feelings that they shouldn't included for brevity of the code though.
Perhaps when I've finished (I'm obviously doing other things in the doc strings so its not a huge issue adding the types as I go along) you can take a look and decide whether they are useful or a hinderance.
Feel free to miss them out for this model for now, we can always add them later. Of course if they are only simple types, there is a middle ground of just doing:
:param float X_row:

Which doesn't really increase the amount of documentation but gives some information about the type. Having said that, I have no idea whether X_row is supposed to be a float or a certain shaped ndarray - I'm guessing np.ndarray (num_inputs x input_dim) ? - and that is kind of why I think types could help.
Notebooks for now will be hosted in SheffieldML/notebook as before, I am arranging notebooks of different types of models into different folders to help Tania with her notebook hosting code. Don't worry about this for now though just shove it in I will sort it when the new website it ready, I'll document the folder structure in due course when it is rolled out.

Which doesn't really increase the amount of documentation but gives some information about the type. Having said that, I have no idea whether X_row is supposed to be a float or a certain shaped ndarray - I'm guessing np.ndarray (num_inputs x input_dim) ? - and that is kind of why I think types could help.

More information is definite helpful. I just wonder whether it is in the format of argument types, because it alone does not tell much. In this example, it contains not only a type but also a shape. It is not easy to specify a shape because it need contextual information such as what is num_inputs and what is input_dim, which is not explained at all. I think the best way is to give some examples, but it is time consuming to make and a bit overlapping with the role of notebooks.

I would like to put your attention to the old misunderstanding from #81, which was due to not specifying the proper input types. We decided back then, that the specification of types will reduce the amount of type checking immensly and relieve us of catching corner cases.
I think we should still hold on to these ideas, to reduce the load on us in the long run.
What do you think?

On 24 Nov 2017, at 12:04, Zhenwen Dai<EMAIL_ADDRESS>wrote:
Which doesn't really increase the amount of documentation but gives some information about the type. Having said that, I have no idea whether X_row is supposed to be a float or a certain shaped ndarray - I'm guessing np.ndarray (num_inputs x input_dim) ? - and that is kind of why I think types could help.
More information is definite helpful. I just wonder whether it is in the format of argument types, because it alone does not tell much. In this example, it contains not only a type but also a shape. It is not easy to specify a shape because it need contextual information such as what is num_inputs and what is input_dim, which is not explained at all. I think the best way is to give some examples, but it is time consuming to make and a bit overlapping with the role of notebooks.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub https://github.com/SheffieldML/GPy/pull/579#issuecomment-346813996, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfcKZPFJoJFXm0Mk-Imt71FOdtOpABdks5s5rC_gaJpZM4Qoe6v.

In this case, it makes sense to provide types. I will add types into the docstrings.

Hi @zhenwendai @alansaul @mzwiessele,
Thanks for the great software! I was wondering if there is notebook for the examples of LVMOGP?
Thanks,
Max


Follow up on https://github.com/leafac/caxa/issues/21

@leafac Could I ask you why you never add commit messages on your repos?

@robertsLando: In projects in which I’m one of the only developers I don’t consider it worth it to rebase and make the commit history neat. I do that when I’m contributing to bigger projects with lots of maintaners, in which the Git history is more useful.

@leafac I understand but I think this makes difficult for other users to help you, I personally always check commits messages when a new version comes to understand what changed and also what each commit specifically changed so I don't agree with your choice but I respect it 🙏🏼

Yeah, that’s a fair point 😅 You’re very diligent 👏
At some point, as the projects mature, I’ll start neating up the Git history. In the meanwhile, hopefully the CHANGELOG helps? 😬

@leafac sure, better then nothing :)


Enhancement nextra cascade layer

Adding a all styles from nextra-theme-blog and nextra-theme-docs into their own CSS cascade layer called nextra to remove the styles from the implicit outer layer.
This will allow end users of these themes to additionally use their own cascade layers without the default theme styles overriding everything.
Attached images showing both

Styling a div with a class from a custom cascade layer (@layer my-layer)
Overriding nextra <p> styles inside the same layer

See issue 2613

please use v3 as base branch and add a changeset


Doesn't work in Turkey.

Hello, it doesn't work with Turkish ISPs. I am currently using goodbyedpi with dnscrypt but even that doesn't work here. I contacted with the creator of goodbyedpi "ValdikSS" he told me that TurkTelekom ISP's DPI can detect obfuscated traffic, but he will work to implement a new setting for Turkish users. Then I saw your project, it looks good but not working in Turkey with blocked websites like  "wikipedia.org - imgur.com". I, personally, and people in Turkey will be very appreciated if you can make it work here. Thank you so much! Have a nice day.

green tunnel is working fine with turk.net.


Issue: Missing java file license headers / author / javadocs

like in title, many files have it missing, but it can be in hold until all main changes will be made.
Header like:

/*

MIT License

Copyright (c) 2020 Trevor Flynn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

Author like:
/**
* @author Name Surname <email>
*/

And [Class descriptions / method descriptions] as comments that will be able to pull into javadoc.

Yes, I need to go back and get the files cleaned up. I will add author, license, and javadocs.

A lot of cleanup was done on #11.
I will leave open for now in case I missed something.

Closing. After #21, and #23 this should be good for release 0.1.0 (#25 )

Closing. After #21, and #23 this should be good for release 0.1.0 (#25 )


Keep timing information when converting from one format into another

The converter currently discards the time information. With this merge request, we are recalculating the pts of every packet, starting with the pts of the first buffer.

Hey, I think that unfortunately my comment from the previous pr: applies here as well. However, we're about to merge the raw audio parser, which is capable of injecting timestamps: https://github.com/membraneframework-labs/membrane_raw_audio_parser_plugin/pull/1 Maybe you'd like to plug that after the resampler? That approach doesn't require timestamp computation in each element like this and it's (quite) clear that the timestamps are calculated based on the data ;)

Hi there, closing this as the raw audio parser is released and using it with overwrite_pts?: true option is the way to have PTS after an element that doesn't rewrite PTS. Keep in mind (pun intended) that these PTS may not reflect the original PTS of the stream, as explained above ;)


Image Registration

Hello @geekquad , I want to work on this issue "Image Registration" using homography.
It would be very nice if I am assigned with this issue and I would be glad to work on it.
Thank You ! :)

Hey @Saptar001, assigning you the same.


Install CAPI in the management cluster

We're installing CAPI in the management cluster using its client (there is no dependency on clusterctl).
This replicates the behaviour of clusterctl init without any additional arguments.
Currently we don't check whether CAPI is already installed or not, because clusterctl init does it.
Finally, since arlon install requires elevated privileges, we need the full path to the kubeconfig of the management cluster.
This PR fixes #145

With the new changes, the install command is reusable...
ubuntu@ip-172-31-25-241:~/arlon$ kind create cluster --config testing/kind_config.yaml --name kind-arlon-testbed
Creating cluster "kind-arlon-testbed" ...
 ✓ Ensuring node image (kindest/node:v1.24.0) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind-arlon-testbed"
You can now use your cluster with:

kubectl cluster-info --context kind-kind-arlon-testbed

Have a nice day! 👋

ubuntu@ip-172-31-25-241:~/arlon$ export AWS_REGION=us-west-2
ubuntu@ip-172-31-25-241:~/arlon$ export AWS_ACCESS_KEY_ID=xxxxxxxxx
ubuntu@ip-172-31-25-241:~/arlon$ export AWS_SECRET_ACCESS_KEY=xxxxxxxxx
ubuntu@ip-172-31-25-241:~/arlon$ clusterawsadm bootstrap iam create-cloudformation-stack
Attempting to create AWS CloudFormation stack cluster-api-provider-aws-sigs-k8s-io
I0916 07:29:07.394542 3917866 service.go:68] AWS Cloudformation stack "cluster-api-provider-aws-sigs-k8s-io" already exists, updating

Following resources are in the stack:

Resource                  |Type                                                                                |Status
AWS::IAM::InstanceProfile |control-plane.cluster-api-provider-aws.sigs.k8s.io                                    |CREATE_COMPLETE
AWS::IAM::InstanceProfile |controllers.cluster-api-provider-aws.sigs.k8s.io                                      |CREATE_COMPLETE
AWS::IAM::InstanceProfile |nodes.cluster-api-provider-aws.sigs.k8s.io                                            |CREATE_COMPLETE
AWS::IAM::ManagedPolicy   |arn:aws:iam::110072563648:policy/control-plane.cluster-api-provider-aws.sigs.k8s.io   |CREATE_COMPLETE
AWS::IAM::ManagedPolicy   |arn:aws:iam::110072563648:policy/nodes.cluster-api-provider-aws.sigs.k8s.io           |CREATE_COMPLETE
AWS::IAM::ManagedPolicy   |arn:aws:iam::110072563648:policy/controllers.cluster-api-provider-aws.sigs.k8s.io     |CREATE_COMPLETE
AWS::IAM::ManagedPolicy   |arn:aws:iam::110072563648:policy/controllers-eks.cluster-api-provider-aws.sigs.k8s.io |CREATE_COMPLETE
AWS::IAM::Role            |control-plane.cluster-api-provider-aws.sigs.k8s.io                                    |CREATE_COMPLETE
AWS::IAM::Role            |controllers.cluster-api-provider-aws.sigs.k8s.io                                      |CREATE_COMPLETE
AWS::IAM::Role            |eks-controlplane.cluster-api-provider-aws.sigs.k8s.io                                 |CREATE_COMPLETE
AWS::IAM::Role            |nodes.cluster-api-provider-aws.sigs.k8s.io
ubuntu@ip-172-31-25-241:~/arlon$ export AWS_B64ENCODED_CREDENTIALS=$(clusterawsadm bootstrap credentials encode-as-profile)

WARNING: `encode-as-profile` should only be used for bootstrapping.
ubuntu@ip-172-31-25-241:~/arlon$ sudo AWS_B64ENCODED_CREDENTIALS=<the secret> arlon install --infrastructure aws --bootstrap kubeadm --kubeconfigPath /home/ubuntu/.kube/config
Note: SUDO access is required to install the required tools for Arlon

✓ kubectl is already present at default(/usr/local/bin/kubectl)location or user specifed location

✓ git is already present in the path

✓ argocd is already present at default(/usr/local/bin/argocd)location or user specifed location

Attempting to install cluster-api:v1.1.5 with infrastructure providers [aws] and bootstrap providers [kubeadm]
✓ CAPI is installed...
ubuntu@ip-172-31-25-241:~/arlon$ sudo AWS_B64ENCODED_CREDENTIALS=<the secret> arlon install --infrastructure aws --bootstrap kubeadm --kubeconfigPath /home/ubuntu/.kube/config
Note: SUDO access is required to install the required tools for Arlon

✓ kubectl is already present at default(/usr/local/bin/kubectl)location or user specifed location

✓ git is already present in the path

✓ argocd is already present at default(/usr/local/bin/argocd)location or user specifed location

Attempting to install cluster-api:v1.1.5 with infrastructure providers [aws] and bootstrap providers [kubeadm]
Error: installing provider "bootstrap-kubeadm" can lead to a non functioning management cluster: there is already an instance of the "bootstrap-kubeadm" provider installed in the "capi-kubeadm-bootstrap-system" namespace
ubuntu@ip-172-31-25-241:~/arlon$ sudo AWS_B64ENCODED_CREDENTIALS=<the secret> arlon install --bootstrap kubeadm,talos --kubeconfigPath /home/ubuntu/.kube/config
Note: SUDO access is required to install the required tools for Arlon

✓ kubectl is already present at default(/usr/local/bin/kubectl)location or user specifed location

✓ git is already present in the path

✓ argocd is already present at default(/usr/local/bin/argocd)location or user specifed location

Attempting to install cluster-api:v1.1.5 with infrastructure providers [] and bootstrap providers [kubeadm talos]
Error: installing provider "bootstrap-kubeadm" can lead to a non functioning management cluster: there is already an instance of the "bootstrap-kubeadm" provider installed in the "capi-kubeadm-bootstrap-system" namespace
ubuntu@ip-172-31-25-241:~/arlon$ sudo AWS_B64ENCODED_CREDENTIALS=<the secret> arlon install --bootstrap talos --kubeconfigPath /home/ubuntu/.kube/config
Note: SUDO access is required to install the required tools for Arlon

✓ kubectl is already present at default(/usr/local/bin/kubectl)location or user specifed location

✓ git is already present in the path

✓ argocd is already present at default(/usr/local/bin/argocd)location or user specifed location

Attempting to install cluster-api:v1.1.5 with infrastructure providers [] and bootstrap providers [talos]
Error: failed to get provider components for the "talos" provider: failed to read "bootstrap-components.yaml" from provider's repository "bootstrap-talos": failed to download files from GitHub release v0.5.5: rate limit for github api has been reached. Please wait one hour or get a personal API token and assign it to the GITHUB_TOKEN environment variable
ubuntu@ip-172-31-25-241:~/arlon$ sudo GITHUB_TOKEN=<gh token> AWS_B64ENCODED_CREDENTIALS=<the secret> arlon install --bootstrap talos --kubeconfigPath /home/ubuntu/.kube/config
Note: SUDO access is required to install the required tools for Arlon

✓ kubectl is already present at default(/usr/local/bin/kubectl)location or user specifed location

✓ git is already present in the path

✓ argocd is already present at default(/usr/local/bin/argocd)location or user specifed location

Attempting to install cluster-api:v1.1.5 with infrastructure providers [] and bootstrap providers [talos]
✓ CAPI is installed...


More styling options for area charts

If I haven't missed something, it seems that area charts are always translucent. I have need for a stacked area chart with solid colors.
Can I do this with Apex?
In other case this is a feature request.

Solved by trial and error.
It turns out that I can set type: 'solid' in the fill object.
Closing this.


Exception raised when using Gretel in multithreaded environment

We have a table with thousand cities for a city directory and for each of them we instantiate a crum in config/breadcrumbs.rb and also we have some other crumbs like this
crumb :help_cancel_tickets do
    link t("help.menu.help_cancel_tickets"), help_cancel_tickets_path
    parent :help
  end

Then we call it in the view:
<% breadcrumb :help_cancel_tickets %>

...
#in the layout
<%= breadcrumbs separator: " › " %>

We were using Puma with 4 workers and 4 threads and sometimes we had
ActionView::Template::Error: Breadcrumb :help_cancel_tickets not found. error
But now we increased to 16 threads and errors like this are much more common, why does this happen? I presume 2 possible things:

all crumbs are initialized in the first thread so when a request lands in another thread, they dont exist in the thread memory?
Each thread creates in memory their own set of crumbs configured in breadcrumbs.rb but because there are so many, sometimes a request can be processed before all crumbs are in memory?

any thoughts?

Original issue: #104

@silva96
I've pushed the fix to master.  The exception has no longer occurred in my minimal environment for reproduction the problem..
If you can, give it try in your environment.

released in 4.1.0


nRF52_PCA10040: Failing test_slice_reset

[2018-08-16 11:29:11.786] starting test - test_slice_reset
[2018-08-16 11:29:12.113]
[2018-08-16 11:29:12.113]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_sched_timeslice_reset.c:39: thread_tslice: t <= expected_slice[thread_idx] is false
[2018-08-16 11:29:12.125]
[2018-08-16 11:29:12.344] FAIL - test_slice_reset
[2018-08-16 11:29:12.345] ===================================================================
[2018-08-16 11:29:12.357] starting test - test_slice_scheduling
[2018-08-16 11:29:12.560] A
[2018-08-16 11:29:12.560]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.576]
[2018-08-16 11:29:12.581] B
[2018-08-16 11:29:12.581]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.604]
[2018-08-16 11:29:12.604] C
[2018-08-16 11:29:12.604]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.612]
[2018-08-16 11:29:12.612] D
[2018-08-16 11:29:12.612]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.628]
[2018-08-16 11:29:12.628] E
[2018-08-16 11:29:12.629]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.646]
[2018-08-16 11:29:12.646] F
[2018-08-16 11:29:12.646]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.663]
[2018-08-16 11:29:12.663] G
[2018-08-16 11:29:12.664]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.680]
[2018-08-16 11:29:12.681] H
[2018-08-16 11:29:12.681]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.698]
[2018-08-16 11:29:12.698] I
[2018-08-16 11:29:12.698]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.715]
[2018-08-16 11:29:12.716]
[2018-08-16 11:29:12.716]
[2018-08-16 11:29:12.716]     Assertion failed at /home/parker/workspace/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:48: thread_tslice: ((tdelta <= SLICE_SIZE) && ((int)p1 == thread_idx)) is false
[2018-08-16 11:29:12.733]
[2018-08-16 11:29:12.733] FAIL - test_slice_scheduling
[2018-08-16 11:29:12.736] ===================================================================
[2018-08-16 11:29:12.742] starting test - test_priority_scheduling
[2018-08-16 11:29:12.746] PASS - test_priority_scheduling
[2018-08-16 11:29:12.748] ===================================================================
[2018-08-16 11:29:12.754] ===================================================================
[2018-08-16 11:29:12.761] PROJECT EXECUTION FAILED

Assigning to @pizi-nordic since he's already looked into failing kernel tests

Should be already fixed by #9073. I will confirm that as soon as I finish #9275.

I confirmed that #9073 solves this problem.

This is already reported in #8896.

closing as duplicate


Naming an @export_group after built-in type causes godot to fail to recognize the type within the script.

Godot version
4.0.3.stable
System information
Windows 10 - Ryzen 7 2700 - GTX 1080ti - Vulkan (Forward+)
Issue description
Godot will fail to recognize a built-in type in a script if that script contains an @export_group with the same name as the built-in type; the type will be treated as null if you attempt to use it.
This may relate to #78252 but I decided to post the issue since they're slightly different.
Steps to reproduce

Attach the following script to a node:

extends Node

@export_group("Node")

func _ready():
   var node = Node.new()

Run the scene with this node and it should trigger an "Invalid call. Nonexistent function 'new' in base 'Nil'." error since the type Node is null.

Minimal reproduction project
N/A

Duplicate of #73843.


[BUG] [web-test-runner-plugin] Test runner generates coverage only for the files that are being tested

Bug Report Quick Checklist

[x] I am on the latest version of Snowpack & all plugins.
[x] I use package manager npm
[x] I run Snowpack on OS Mac
[x] I run Snowpack on Node.js v12+

Describe the bug
For some reason web-test-runner places files like myComponent.css.proxy.js in the final coverage report. But when trying to open that file I get the following error:
Unable to lookup source: /frontend/dist/common/IconCommon.css.proxy.js (ENOENT: no such file or directory, open '/frontend/dist/common/IconCommon.css.proxy.js')
One way to "fix" it is to add it to exclude options, but why such files are in the coverage report in the first place?
To Reproduce
We can't fix bugs that we can't see for ourselves. Issues often need to be closed if this section is skipped.

npx create-snowpack-app snowpack-coverage --template @snowpack/app-template-react-typescript
add --coverage option to npm test in package.json
add arbitrary number of new components.
run npm test
open coverage html file and go to snowpack-coverage/coverage/lcov-report/
See error!

Expected behavior
Coverage should show all files, no matter whether there is a test for them or not.

Thanks for the report! I've reproduced here:
https://github.com/melissamcewen/snowpack-repros/tree/main/issue-2848
Related:
https://github.com/modernweb-dev/web/issues/1312


Why generating seqmap during data preprocessing?

Hi, Luo,
Thanks for sharing the code.
I notice that you produce a key named 'seqmap' for each entity. However, this 'seqmap' seemed not to be used any longer. This is a very tine issue, and I just wonder the significance of this value.

I am also curious. Did you find out why?

I am also curious. Did you find out why?

This seqmap is used to label CDRs.


Bug: Load Balancer Recreating

In an unusual sequence of events that oracle reclaim the preemptible nodes multiple times in a day, this Ingress bugged and created a new Load Balancer. If IP are dynamic the DNS going to send traffic to wrong IP, if IP are reserved the new LB are not to be created because of conflict.

Update: Even switching to OnDemand, the Load Balancer was recreated, leaving 2 LB with the same name, one unconfigured and the other configured.

The log on a real event
I0905 19:08:25.473783       1 routingpolicy.go:105] "Finished syncing routing policies for ingress class" ingressClass="test-ingress-class" duration="709.868µs
I0905 19:08:35.473190       1 routingpolicy.go:103] "Started syncing routing policies for ingress class" ingressClass="test-ingress-class" startTime="2023-09-05 19:08:35.473166461 +0000 UTC m=+275713.251299440
I0905 19:08:35.473287       1 util.go:97] Listener paths for routing policy: {...big json...}
I0905 19:08:35.473325       1 loadbalancer.go:143] Refreshing LB cache for lb ocid1.loadbalancer.oc1.sa-saopaulo-1.aaaaaaaapy5axf6sofjsgis3fjxdtda6caedrep526vrar6wknjsqszyteua
I0905 19:08:42.825880       1 backend.go:113] "Finished syncing backends for ingress class" ingressClass="test-ingress-class" duration="17.352789779s"
I0905 19:08:42.826243       1 backend.go:486] Error syncing backends for ingress class test-ingress-class: unable to fetch backendset health: Error returned by LoadBalancer Service.
                              Http Status Code: 404.
                              Error Code: NotAuthorizedOrNotFound.
                              Opc request id: d6c135b589e008048cd49474bea5d0df/B96EBC8AAD6A1B7A6F9AAB51573F7F01/A2704054B20A333C54A2E86B074E86E5.
                              Message: Authorization failed or requested resource not found.

                              Operation Name: GetBackendSetHealth
                              Timestamp: 2023-09-05 19:08:25 +0000 GMT
                              Client Version: Oracle-GoSDK/65.34.0
                              Request Endpoint: GET https://iaas.sa-saopaulo-1.oraclecloud.com/20170115/loadBalancers/ocid1.loadbalancer.oc1.sa-saopaulo-1.aaaaaaaapy5axf6sofjsgis3fjxdtda6caedrep526vrar6wknjsqszyteua/backendSets/bs_a784ef83523e5f6/health
                              Troubleshooting Tips: See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_404__404_notauthorizedornotfound for more information about resolving this error.
                              Also see https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/BackendSetHealth/GetBackendSetHealth for details on this operation's requirements.
                              To get more info on the failing request, you can set OCI_GO_SDK_DEBUG env var to info or higher level to log the request/response details.
                              If you are unable to resolve this LoadBalancer issue, please contact Oracle support and provide them this full error message.

I0905 19:08:42.826271       1 backend.go:111] "Started syncing backends for ingress class" ingressClass="test-ingress-class" startTime="2023-09-05 19:08:42.826262535 +0000 UTC m=+275720.604395515"
I0905 19:08:42.826314       1 loadbalancer.go:143] Refreshing LB cache for lb ocid1.loadbalancer.oc1.sa-saopaulo-1.aaaaaaaapy5axf6sofjsgis3fjxdtda6caedrep526vrar6wknjsqszyteua
I0905 19:08:50.724727       1 loadbalancer.go:143] Refreshing LB cache for lb ocid1.loadbalancer.oc1.sa-saopaulo-1.aaaaaaaapy5axf6sofjsgis3fjxdtda6caedrep526vrar6wknjsqszyteua
I0905 19:09:00.114667       1 webhook.go:59] "processing pod creation for pod readiness" pod="piperun/"
I0905 19:09:00.983975       1 reflector.go:559] /workspace/main.go:139: Watch close - *v1.Service total 10 items received
I0905 19:09:09.489571       1 reflector.go:281] /workspace/main.go:133: forcing resync
I0905 19:09:09.489974       1 ingressclass.go:108] "Updating ingress class" ingressClass="test-ingress-class"
I0905 19:09:09.489997       1 ingressclass.go:159] "Started syncing ingress class" ingressClass="test-ingress-class" startTime="2023-09-05 19:09:09.489987392 +0000 UTC m=+275747.268120372"
I0905 19:09:09.490037       1 loadbalancer.go:143] Refreshing LB cache for lb ocid1.loadbalancer.oc1.sa-saopaulo-1.aaaaaaaapy5axf6sofjsgis3fjxdtda6caedrep526vrar6wknjsqszyteua
I0905 19:09:09.513111       1 ingressclass.go:235] "Creating load balancer for ingress class" ingressClass="test-ingress-class"
I0905 19:09:09.513208       1 ingressclass.go:270] Create lb request: {...big json...}

Hi @tonybolzan
backendset not found is transient error, it should go away once LB gets created and work requests are successful. For the bugged LB, which is the Loadbalancer IP(bugged lb or configured LB) and id updated to the Ingress? Can you confirm on that.

same for here

These are the logs at the exact moment native-ingress-controller created a new load balancer when it shouldn't have.
The 404 of backendset can be, or cannot be related to the Bug of a new LB creation.
At this moment, the Native Ingress Load Balancer has been removed to create a new one using Nginx Ingress.
I tried to keep Native Ingress and Nginx Ingress together but the Deployment Rollout are getting stuck, and any new deployment are not completed successfully. Problably related to Namespace label     podreadiness.ingress.oraclecloud.com/pod-readiness-gate-inject
I filled a SR 3-34189913991 in de MOS with more information about the problem.

Looking the logs and the code:

ingressclass.go::ensureLoadBalancer()  are called and then call c.getLoadBalancer(ic) that returned lb == nil
The nil are from loadbalancer.go::getLoadBalancer() call lbc.getLoadBalancerBustCache(ctx, lbID)
In  loadbalancer.go::getLoadBalancerBustCache() every http error are treated the same, returning nil

This behavior means that a temporary unavailability or even a faulty request forces the creation of a new Load Balancer. Differentiating errors and treating them in a non-generic way should resolve the situation.
Raising the tool's reliability level with retrys and exponential backoff should help in a network failure.

I have a question about this. When the new load balancer is created, is there any way to assign the same IP as the previous one?

Will be taken care in upcoming release.

Fixed as part of https://github.com/oracle/oci-native-ingress-controller/releases/tag/v1.2.0