VisibleCheck in Aim

Did you manage to add the ''visible'' function to aimbot? so that the crosshair does not drag behind the wall. If anyone have this and can share the code I would be grateful.

"visible check will be added soon." - TKazer

If you mean SpottedByMask value it is bad idea. Big delay.

If you mean SpottedByMask value it is bad idea. Big delay.

no

i haven't developed an efficient visibility check external yet, so I won't be adding that feature temporarily.

If you mean SpottedByMask value it is bad idea. Big delay.

no

So  you can share it for others:).


Changed policy to AmazonDynamoDBFullAccess for delete and put

AmazonDynamoDBFullAccess is required for put or delete, and is consistent with AWS Labs example

Thanks!


add: CodecDescription

Current coverage is 11.12%

Merging #1 into master will decrease coverage by -0.24% as of 2661d3d

@@            master      #1   diff @@
======================================
  Files            4       4
  Stmts         2367    2419    +52
  Branches        31      31
  Methods          0       0
======================================
  Hit            269     269
  Partial          9       9
- Missed        2089    2141    +52

Review entire Coverage Diff as of 2661d3d

Powered by Codecov. Updated on successful CI builds.

Thanks!


The Module is not loading through swift package manager

I have used as you said.
let bundle = Bundle(for: TimelineTableViewCell.self)
let nibUrl = bundle.url(forResource: "TimelineTableViewCell", withExtension: "bundle")
let timelineTableViewCellNib = UINib(nibName: "TimelineTableViewCell",
bundle: Bundle(url: nibUrl!)!)
tableView.register(timelineTableViewCellNib, forCellReuseIdentifier: "TimelineTableViewCell")
But getting error
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Steps to reproduce

I have taken a new fresh project
Added a tableView in it.
And followed your usage.
Wrote the TableDataSource functions same as you written in the demo.

Please help me. / Please connect with me to fix this.

Hi @mhaashim ,
Please use CocoaPods first. I will investigate this SPM issue if I'm available.

Hi @mhaashim ,
Please use CocoaPods first. I will investigate this SPM issue if I'm available.

Yeah. I can use it through cocoapods. But I need it in SPM only.
Thanks for looking into it.


[DOC] Document the custom model config files

Could you please point to the files/ folder you'd like to document? I'd love a PR to open to fix this issue.
cc: @clefourrier

I don't think we have a lot of documentation on our model creation files (the yaml files you can use to load models) (though it's been improved since the creation of this issue) - you should look for the ModelConfig example files (here) and all the Config classes at the top of each model file in this folder.
It would make sense to open 2 PRs: one to update the docstrings of all config files, and one to add a "Create a model" guide page in the doc :)


[REQUEST] Origins base

I need these limited to 1 player per origin pls
https://www.curseforge.com/minecraft/mc-mods/origins/download/3488415

The base origins are already being limited by the datapack library.


flink from docker not from download

flink from docker not from download

example of multi version support
  streamx-server:
    build:
      context: ../..
      dockerfile: deploy/docker/compose/Dockerfile
      args:
        DB: database
    ports:
      - 10000:10000
    depends_on:
      - database
    volumes:
      - flink1.14.5:/streamx/flink/flink1.14.5           <- share volumes from flink1.14.5
      - flink1.13.6:/streamx/flink/flink1.13.6           <- share volumes from flink1.13.6
    restart: unless-stopped

// flink1.14.5
 jobmanager:
    image: flink:1.14.5-scala_2.12
    ports:
      - "8081:8081"
    command: jobmanager
    volumes:
      - flink1.14.5:/opt/flink    <- monut to volume flink1.14.5
    environment:
      - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: jobmanager
    restart: unless-stopped
// flink1.13.6
 jobmanager2:
    image: flink:1.13.6-scala_2.12
    ports:
      - "8081:8081"
    command: jobmanager
    volumes:
      - flink1.14.5:/opt/flink    <- monut to volume flink1.13.6
    environment:
      - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: jobmanager
    restart: unless-stopped

volumes:
  mysql-data:
  flink1.14.5:           <- volume from flink1.14.5 container
  flink1.13.6:           <- volume from flink1.13.6 container


Bug with keyboard, don't display characters

After migrate project to nosound null-safety when I try to input TextField, keyboard doesn't show characters on Android 11.0, API 30. On Android 9.0 keyboard works fine.

Hi @xarmatura
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Also be sure to step by steps to reproduce the issue
Thank you

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final appTitle = 'Form Styling Demo';
    return MaterialApp(
      title: appTitle,
      home: Scaffold(
        appBar: AppBar(
          title: Text(appTitle),
        ),
        body: CustomForm(),
      ),
    );
  }
}

class CustomForm extends StatefulWidget {
  @override
  CustomFormState createState() => CustomFormState();
}

class CustomFormState extends State<CustomForm> {
  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: <Widget>[
        Container(
          padding: EdgeInsets.symmetric(horizontal: 8, vertical: 16),
          child: TextField(
            decoration: InputDecoration(
              border: OutlineInputBorder(),
              hintText: 'Enter a search term',
            ),
          ),
        ),
      ],
    );
  }
}

I did all steps and nothing changes, on Pixel 4 API 30  Android 11.0(Google Play), CPU/ABI x86_64.

flutter doctor -v
[√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.19042.867], locale uk-UA)
    • Flutter version 2.0.2 at C:\Users\Oleksandr.Lyshchuk\Flutter\flutter
    • Framework revision 8962f6dc68 (3 weeks ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\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)

[√] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • 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

[√] Connected device (2 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

flutter run -v
[  +53 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +36 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[        ] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git tag --points-at 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[  +24 ms] Exit code 0 from: git tag --points-at 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[        ] 2.0.2
[  +27 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git ls-remote --get-url origin
[  +16 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +39 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git rev-parse --abbrev-ref HEAD
[  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +56 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.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +39 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +27 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_64 model:sdk_gphone_x86_64 device:generic_x86_64_arm64 transport_id:3
[   +5 ms] C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +28 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +53 ms] Skipping pub get: version match.
[  +88 ms] Generating C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +34 ms] ro.hardware = ranchu
[   +9 ms] Using hardware rendering with device sdk gphone x86 64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +17 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +3 ms] Launching lib/ui/pages/NewPage.dart on sdk gphone x86 64 in debug mode...
[   +3 ms] C:\Users\Oleksandr.Lyshchuk\Flutter\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\Oleksandr.Lyshchuk\Flutter\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\Users\Oleksandr.Lyshchuk\Flutter\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
C:\Users\OLEKSA~1.LYS\AppData\Local\Temp\flutter_tools.575c8939\flutter_tool.a2e506e5\app.dill --packages C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\cache.dill.track.dill
[   +8 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[   +7 ms] Exit code 0 from: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.flutter_demo_app" (Raw: "com.example.flutter_demo_app")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="flutter_demo_app" (Raw: "flutter_demo_app")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_demo_app.MainActivity" (Raw: "com.example.flutter_demo_app.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[   +9 ms] <- compile package:flutter_demo_app/ui/pages/NewPage.dart
[  +31 ms] --------- beginning of main
           04-01 07:54:45.118 W/Binder:204_2(  204): type=1400 audit(0.0:2514): avc: denied { read } for name="wakeup35" dev="sysfs" ino=18992 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[   +8 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +13 ms] Android Debug Bridge version 1.0.41
           Version 31.0.1-7187441
           Installed as C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +22 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] Using gradle from C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\android\gradlew.bat.
[   +1 ms] C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\android\gradlew.bat mode: 33279 rwxrwxrwx.
[   +4 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[  +55 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +1 ms] executing: [C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\android/] C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x64
-Ptarget=C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\lib/ui/pages/NewPage.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+2636 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [  +49 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +37 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[        ] [        ] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git tag --points-at 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[        ] [  +24 ms] Exit code 0 from: git tag --points-at 8962f6dc68ec8e2206ac2fa874da4a453856c7d3
[        ] [        ] 2.0.2
[        ] [  +25 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git ls-remote --get-url origin
[        ] [  +16 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +40 ms] executing: [C:\Users\Oleksandr.Lyshchuk\Flutter\flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +34 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.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [   +3 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +36 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +36 ms] Initializing file store
[        ] [  +14 ms] Done initializing file store
[        ] [  +36 ms] Skipping target: gen_localizations
[        ] [ +329 ms] Skipping target: kernel_snapshot
[        ] [ +212 ms] debug_android_application: Starting due to {InvalidatedReason.inputChanged}
[        ] [ +105 ms] debug_android_application: Complete
[        ] [ +205 ms] Persisting file store
[        ] [  +10 ms] Done persisting file store
[        ] [   +4 ms] build succeeded.
[        ] [  +11 ms] "flutter assemble" took 1 024ms.
[        ] [   +2 ms] ensureAnalyticsSent: 0ms
[        ] [        ] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +2 ms] exiting with code 0
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +169 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[  +92 ms] > Task :app:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[ +407 ms] > Task :app:compressDebugAssets
[ +394 ms] > Task :app:packageDebug
[  +37 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 3s
[        ] 32 actionable tasks: 7 executed, 25 up-to-date
[ +526 ms] Running Gradle task 'assembleDebug'... (completed in 4,4s)
[  +25 ms] calculateSha: LocalDirectory: 'C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk'/app.apk
[  +12 ms] calculateSha: reading file took 11us
[ +326 ms] calculateSha: computing sha took 325us
[   +7 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk.
[   +3 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +10 ms] Exit code 0 from: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\build-tools\30.0.3\aapt dump xmltree C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.flutter_demo_app" (Raw: "com.example.flutter_demo_app")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="flutter_demo_app" (Raw: "flutter_demo_app")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_demo_app.MainActivity" (Raw: "com.example.flutter_demo_app.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on sdk gphone x86 64.
[        ] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.flutter_demo_app
[  +65 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.flutter_demo_app
[ +106 ms] package:com.example.flutter_demo_app
[   +3 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.flutter_demo_app.sha1
[  +36 ms] c86e14958b5df6a5e96a838e08366cd72f84e957
[        ] Installing APK.
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk...
[        ] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 install -t -r C:\Users\Oleksandr.Lyshchuk\AndroidProjects\flutter_demo_app\build\app\outputs\flutter-apk\app.apk
[ +607 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 609ms)
[   +1 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n dc8b9f853ba396dbbe70dafde14a8ece00a4158a > /data/local/tmp/sky.com.example.flutter_demo_app.sha1
[  +36 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +41 ms] --------- beginning of main
           04-01 07:54:55.767 I/Finsky  (18014): [2] acbw.g(8): Invalidating cached PackageState for com.example.flutter_demo_app
[   +4 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez
enable-checked-mode true --ez verify-entry-points true com.example.flutter_demo_app/com.example.flutter_demo_app.MainActivity
[ +120 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_demo_app/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +888 ms] Observatory URL on device: http://<IP_ADDRESS>:40521/gLcu5erUmTw=/
[   +1 ms] executing: C:\Users\Oleksandr.Lyshchuk\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:40521
[  +15 ms] 60995
[        ] Forwarded host port 60995 to device port 40521 for Observatory
[   +4 ms] Caching compiled dill
[  +30 ms] Connecting to service protocol: http://<IP_ADDRESS>:60995/gLcu5erUmTw=/
[ +326 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:60995/gLcu5erUmTw=/.
[ +162 ms] DDS is listening at http://<IP_ADDRESS>:61000/XNnwNOuPGk8=/.
[  +67 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:60995/gLcu5erUmTw=/
[ +350 ms] DevFS: Creating new filesystem on the device (null)
[  +35 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_demo_app/code_cache/flutter_demo_appCMDQBN/flutter_demo_app/)
[   +3 ms] Updating assets
[  +65 ms] Syncing files to device sdk gphone x86 64...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +3 ms] <- recompile package:flutter_demo_app/ui/pages/NewPage.dart 89f7072b-d1b0-48c5-846c-f7077f7f5aa5
[        ] <- 89f7072b-d1b0-48c5-846c-f7077f7f5aa5
[ +107 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device sdk gphone x86 64... (completed in 114ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +6 ms] Connected to _flutterView/0x76f9ec333c20.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload.
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on sdk gphone x86 64 is available at: http://<IP_ADDRESS>:61000/XNnwNOuPGk8=/
[        ]
           Flutter DevTools, a Flutter debugger and profiler, on sdk gphone x86 64 is available at: http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A61000%2FXNnwNOuPGk8%3D%2F
[        ]  Running with sound null safety
[+3173 ms] W/IInputConnectionWrapper(18787): getTextBeforeCursor on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(18787): getSelectedText on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(18787): getTextAfterCursor on inactive InputConnection
[   +4 ms] W/IInputConnectionWrapper(18787): beginBatchEdit on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper(18787): endBatchEdit on inactive InputConnection

Hi @xarmatura
I just tried your code sample on the same emulator Pixel 4 API 30 (Google Play)
Preview

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.870], locale en-US)
    • Flutter version 2.0.3 at C:\Users\Taha\Code\flutter_stable
    • Framework revision 4d7946a68d (13 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31112.23
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\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)

[✓] VS Code (version 1.54.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.870]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 89.0.4389.90
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 89.0.774.63

• No issues found!

Can you please upgrade to the latest  stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
Also, I'm curious if it same the issue in a native on API 30 on your computer
Thank uoi

@TahaTesser , ok , I just delete old emulator and install the same new and all works fine, amazing. What could be the problem, maybe cache?

Hi @xarmatura
Glad you resolved the issue, It seems to be an issue Android emulator than Flutter
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


node-apn fails to load on node 5.6.0

With Node 5.6.0:
const apn = require('apn') throws the following:
[...]/node_modules/apn/lib/protocol/endpoint.js:17
const CLIENT_PRELUDE = Buffer.from("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n");
                              ^

TypeError: this is not a typed array.

Works fine with Node 6.9.2.
Should it be updated in the docs?

#467 It will.


<EMAIL_ADDRESS>

"Event Streaming using Spring Webflux"

wrote server app
wrote client app

<EMAIL_ADDRESS>"Event Streaming using Spring Webflux"


Design Command Manager Slice

TIKI app needs to handle multiple async commands.
As a developer I need to be able to add, remove, listen for updates, and control the commands with start/pause/stop methods.
Acceptance criteria:
1 - Documentation for the CommandManager slice.

add screenshot


Add link to github

Add link in help menu to this repo

Done in https://github.com/macterra/artx-market/commit/9f2239c3ad527d955926128536921e7671ea4020


fix(curriculum): clarify lesson explanation

The instructions on this lesson were confusing and not very beginner-friendly, so I've added some clarifying language.
From the JavaScript Basics curriculum:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/using-objects-for-lookups

Thank you for your pull request, you can open new pull requests with jeremy suggestion if you want.
But we are closing this pull request. Please suggest links and other details to add the challenge's corresponding guide post through a forum topic instead.
If you think we're wrong in closing this pull request, please request for it to be reopened. Thank you, and happy coding.


chore(router/atc): remove last dot in sni

Summary
Add the same logic in compat router: last dot in FQDNs must not be used for routing

Is it better to handle this logic in the rust code instead of patching in lua land?

@fffonion No, the Rust code has no concept between a path and a SNI, everything is treated as plain strings without any special meanings.


Decide for one json serializer package

Regarding the issue #2540 i found out that we often use two json serializers: Newtonsoft.Json and System.Text.Json.
Because of that we always need to add two attribute classes when defining custom property naming for serialization/deserialization. E.g.: [JsonProperty("sid"), JsonPropertyName("sid")]
@abarz722 & @tpurschke do you see any potential caveats im missing? The RestSharp Rest Client is using it's own namespace for the serializers...
I would go for System.Text.Json package because this is no extra package and directly maintained by MS. But System.Text.Json offers fewer flexibility that we might need. If yes, we go for Newtonsoft

@NilsPur says: class System.Text.Json.Serialization can be removed
best to auto-remove all JsonPropertyName occurances in our code using regular expressions

@NilsPur says: class System.Text.Json.Serialization can be removed best to auto-remove all JsonPropertyName occurances in our code using regular expressions

Alright. Should be no problem.


Need to add control software for new lick spouts

446 is planning on using the new MPE lick spout stages. We need to implement control software for the movement of these stages.
The ability to manually move the lick spout horizontally during a session to combat side biases
Long term.  Automatically move the lick spout horizontally during a session to combat side biases
Long term. Automatically retract the unchosen lick spout
The first two are required to run mice in 446, the others are not required.

In order to interact with the new stages, we either need to use Bonsai, or write our own python API to send messages to the harp boards. In order to use Bonsai, we need to upgrade bonsai (#317) since we are currently running a very old version.
We could quickly develop a fast patch in order to get the 446 rigs running. This could involve running a separate bonsai workflow/version.
After discussing with bruno, I think we should upgrade bonsai, and implement a more stable version. This is probably at least 4+ weeks away. So if we are pressured to run more mice, we should scrounge up some extra newscale stages to run in 447.
@hanhou @bruno-f-cruz

New stage widget is working well, but needs to be integrated into the GUI
sometimes doesnt open, separate issues already opened (not consistent)

SIPE ticket to track integration of the widget into the GUI: http://mpe-redirects/MPETracking/ItemID=3726


Camera Crashing

Fatal Exception: java.lang.RuntimeException Camera is being used after Camera.release() was called

More Info about this error
android.hardware.Camera.native_getParameters (Camera.java)
android.hardware.Camera.getParameters (Camera.java:2292)
com.trinity.camera.Camera1.getHeight (Camera1.kt:383)
com.trinity.record.TrinityRecord.getCameraHeight (TrinityRecord.kt:688)


REVERT version

Hi!
Can you please make a revert version ?
Now cant even install NetFramewrok 3.5 from Windows Features (0x800F0922).

The issue you’re experiencing might be related to Windows Update. Therefore, you should navigate to the Services and look for Windows Update. Make sure it’s turned on and set to Automatic. After doing this, you should be able to install it again. They merely disable unnecessary services and make minimal, safe changes to the registry. So it should be fine.


Pr 1

Hi everyone,
I worked on the below suggestion from Ivan:
"Also, i would suggest to print out available options for provider, arch and goal by interpolating an array into a string. That way, whatever is added to any of these options, it will be dynamically added to the Error messages"
Please take a look :)

I think it adds unneeded complexity. Maybe we can try something like this -> Wrong provider. Supported: ${Object.values(providers)}

Then if we want to display the output in lowercase we can use array mapping -> ${Object.values(providers).map(value => value.toLowerCase())}


Add MAINTAINERS.md file

Please duplicate the file in https://raw.githubusercontent.com/open-horizon-services/web-helloworld-cpp/ac403917069c896f685a317f4ca6b503694f5187/MAINTAINERS.md in this repo.

@joewxboy
Please assign this to me

@deepesh85b you got this one!  Please review the Contribution documentation before your first commit. The "Attestation" section is most often missed, causing re-work. :)


How to make tree graph like the mindmap

I would like to tree like the image below, but my issue is connecting to the root tree (yellow color) from the left to it, but only 1 node success. What essential if the graph allows adding from many sides: RTL, LTR, TTB, BTT in a configuration.

this is a design that I'm following

Have you found any solution to this?


add reference to DLL best practices

Lots of useful recommendations I didn't know about.

Yeah, it is worth noting that the normal suggestion for a D DllMain to call runtime.initialize is actually breaking those rules, since it runs module static constructors too, which may be not allowed in the locked context, since you don't know what those ctors too.


Broken links on user-guide page

While going through the user-guide for metal3 I came across some broken links,

Under 4.1 Install cluster-api metal3 provider TODO returns an error when clicked
Under 4.3.1 Remediation Remediation and CAPI MHC an error when clicked

@hroyrh and @elfosardo I would be happy to assist in fixing this

@elfosardo I am willing to accept this, should I ?

Yes please @Rozzii ...thanks

I guess the real question is why isn't the broken link checker alerting us about these? Not only the links need to be fixed, but also the link checker action is to be checked.

I believe there's something wrong with the checker, thanks @tuminoid for highlighting this.
I would be happy to help in anyway I can @Rozzii

/triage-accepted

/triage accepted

/kind bug

Hello @Rozzii  Please I would like to take this up, might need some help if you're available...thanks

@SafeEHA are you still working on this?

Yes I am still working on it, I have been having a few challenges while installing which is why I haven't submitted a PR yet

Hello, I would like to request the correct links to the broken links mentioned below
.
.
.

While going through the user guide for metal3 I came across some broken links,

Under 4.1 Install cluster-api metal3 provider TODO returns an error when clicked
Under 4.3.1 Remediation Remediation and CAPI MHC an error when clicked

@hroyrh and @elfosardo I would be happy to assist in fixing this

@SafeEHA
Have you fixed the issue ?

Hello @furkatgofurov7 @fmuyassarov
Please can you help with these broken links, for instance here,
4.1 Install cluster-api metal3 provider TODO
I need to know if you're referencing TODO or something else
cc @elfosardo @Rozzii

@SafeEHA hi. You can fix/replace any TODO linkn in the user-guide IF the page is available for the action that TODO mentions.
For example:
https://book.metal3.io/capm3/installation_guide.html mentions some TODOs:

Install Ironic, refer to TODO can be replaced with proper link available here

Thanks for your response @furkatgofurov7
Please I would also like to confirm if this CAPI MHC is the proper link instead of this

Hello @Rozzii
I just created a PR this and this , please can you review and give me feedback


command should be changed

command in the page: "kubectl get crd memberclusters.fleet.azure.com -o yaml"
should be changed to
kubectl get crd memberclusters.cluster.kubernetes-fleet.io -o yaml

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

ID: f456468e-b356-062b-5618-e6ce88ba26f4
Version Independent ID: 12e8898d-cb3d-345c-f36a-f58187a761e9
Content: Azure Kubernetes Fleet Manager architectural overview
Content Source: articles/kubernetes-fleet/architectural-overview.md
Service: kubernetes-fleet
GitHub Login: @shashankbarsin
Microsoft Alias: shasb

@raddaoui
Thanks for your feedback! We will investigate and update as appropriate.

@raddaoui
Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!


The source code of Style2Paints V4 and V4.5 work properly on Windows 10 with RTX2060. Thanks!

V4: https://www.youtube.com/watch?v=hpnvn60Ki7s
V4.5: https://www.youtube.com/watch?v=FktkmMUEr9o
They are much faster in initialization compared with the exe version.
https://www.youtube.com/watch?v=5L6JzcrW638

Would you happen to have an EXE bundle built of V4? I am unable to get it to do much on an RTX 3070 system, however, the V4.5 EXE works.

Sorry, I don't have an EXE bunble built of V4. I just run the source code of V4 in Anaconda.

Managed to package my own to work with V4, will try to put it in a github fork

Yup, and works on linux too

3070 and above need a patched tensorflow, 1.15 version at cuda 11.1 and python 3.8 support is floating around the tensorflow binary repo.


[AWS Block Support] Invalid Error message in the response for the failed operations

Issue/Feature Description:  AWS Block Creation is failing with inValid Error Response to the client.

Error Logs:
}%!(EXTRA *awserr.requestError=InvalidParameterValue: The volume size is invalid for gp2 volumes: 0 GiB. gp2 volumes must be at least 1 GiB in size. Please specify a volume size above the minimum limit.
        status code: 400, request id: c9b73815-3530-48af-8a26-5f53138a7049)
[2020-09-28T13:30:51+05:30] [ERROR] [/root/gopath/src/github.com/opensds/multi-cloud/contrib/datastore/block/aws/aws.go] [aws.(*AwsAdapter).CreateVolume():178] [PID:1] InvalidParameterValue: The volume size is invalid for gp2 volumes: 0 GiB. gp2 volumes must be at least 1 GiB in size. Please specify a volume size above the minimum limit.
        status code: 400, request id: c9b73815-3530-48af-8a26-5f53138a7049
[2020-09-28T13:30:51+05:30] [ERROR] [/root/gopath/src/github.com/opensds/multi-cloud/block/pkg/service/service.go] [service.(*blockService).CreateVolume():166] [PID:1] received error in creating volume at backend , error: Get object from backend failed.

Why this issue to fixed / feature is needed(give scenarios or use cases): To support AWS Block for Negative Scenarios
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Closing as fixed


Custom keybinding have different priority then default keybindings

VSCode Version: 1.9.1
OS Version: Windows 10

Steps to Reproduce:
Default scenario:
Default keybinding:
{ "key": "f11", "command": "workbench.action.toggleFullScreen" }

Using default keybindings, enter debug mode and stop on a breakpoint.
Press f11
Debugger steps into

Custom keybinding scenario
{ "key": "f11", "command": "workbench.action.toggleZenMode" }

Using custom keybindings, enter debug mode and stop on a breakpoint.
Press f11
Enter ZenMode (But I wanted to step into)

Workaround:
Add "when": "!inDebugMode" condition.
But the default keybinding doesn't have "when": "!inDebugMode" condition, so why does the custom keybinding need it?

The reason it doesn't need it is because of the order in which the standard keybindings were evaluated. toggleFullScreen probably should have the !inDebugMode context, just in case the keybindings order happens to change.

@bpasero created https://github.com/Microsoft/vscode/pull/20898 to fix this if it's desirable.
@CoenraadS as for your issue, adding the when context is the right way to do it.

@Tyriar no, the better fix is that the debug keybinding registers with higher priority.

@bpasero step into is already being registered with a stronger keybinding https://github.com/Microsoft/vscode/blame/master/src/vs/workbench/parts/debug/electron-browser/debug.contribution.ts#L114
Should I use some other number than 1 in KeybindingsRegistry.WEIGHT.workbenchContrib(1)

@isidorn no, that should work. I am using +10 e.g. in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/files/browser/fileActions.contribution.ts#L242 and that seems to work just fine.

Sounds like nothing needs to be changed then because the keybindings have different weights?

Yes, sounds like that to me


*: framework agnostic preprocessing

on the road to (closer by every PR) ONNX' land.
preprocessing revamp

simplifing preprocessing by using flat functions rather than classes

allows to change type with every function rather than using the way-too-generic tf.TensorContainer
for example, force the users to normalize the images before passing theses to a model by having the latter ingesting NormalizedImage

get rid of {Image,Tabular,Text}Data classes by replacing theses by correctly typed dataset

dataset improvements

add Dataset.cached to avoid recomputation when iterating multiple times

is memory sensitive so can work with any dataset size (but not very useful if dataset materialization is bigger than RAM)

add preprocessOnce option to Disco to avoid all recomputation by keeping a preprocessed version of memory (more hardcore version of Dataset.cached)

can crash the JS VM with OOM but yeah, let the user make the call
quite useful to get reproducable timing for tests

Dataset.batch constructs batch concurrently

type safety

make Model, Task, Trainer, … generic on their datatype ("image" | "tabular" | "text") to check soundness at compile time

ensure that when defining a Task<'tabular'>, is does have the required {input,output}Columns
ensure that a {Disco,Trainer,Validator}<'image'> doesn't get feed a Dataset<{Tabular,Text}> but only a Dataset<[Image, label: string]>

single TrainingInformation<'tabular'>.outputColumn instead of multiple colum

we in fact only supported single output but it was an array

clear separation between what is outside types ingested by Disco & Validator (Raw), and what is internal (ModelEncoded, after preprocessing and before postprocessing)

misc

change server/tests/status to not wait for changes on timeout but with promises in order to avoid slower computer timeouts
reduce discojs/validator/ to a single file
bump deps

sadly, there is a performance drawback to that: as the preprocessing computation is solely done in JS which is fundamentally monothread (as python is), processing is slower than the tfjs-node accelerated version we have. I tried a few ways to workaround it and push V8 to do magic but it didn't work. there is some way to make make all that work (#758) but that would require platform specific accelerators. and this PR was already a bit long so pushing it to another iteration.

Encountered this error on Mac M1 while reviewing:
Error: Cannot find module @rollup/rollup-darwin-arm64. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try 'npm i again after removing both package-lock.json and node_modules directory.
at requireWithFriendlyError (/Users/vignoud/Disco/review/node_modules/rollup
/dist/native.js: 59:9)
at Object. ‹anonymous> (/Users/vignoud/Disco/review/node_modules/rollup/dist/
native. js: 68:76)
•. 3 lines matching cause stack trace ...
at Module._load (node:internal/modules/cjs/loader:1023:12) at cjsLoader (node:internal/modules/esm/translators:356:17)
at ModuleWrap. ‹anonymous> (node:internal/modules/esm/translators:305:7) at ModuleJob. run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader. import (node:internal/modules/esm/loader:329:24) {
  [cause]: Error: Cannot find module '@rollup/rollup-darwin-arm64'
  Require stack:
    - /Users/vignoud/Disco/review/node_modules/rollup/dist/native.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27) at Module. require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at requireWithFriendlyError (/Users/vignoud/Disco/review/node_modules/roll up/dist/native.js:41:10)
    at Object. ‹anonymous> (/Users/vignoud/Disco/review/node_modules/rollup/dis
    t/native. js: 68:76)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node: internal/modules/cjs/Loader:1435:10) at Module. load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader: 1023:12) {
    code: 'MODULE_NOT_FOUND' requireStack: [
    '/Users/vignoud/Disco/review/node_modules/rollup/dist/native.js'
    ]
  }
｝

Fixed by re-cloning the repository.

You seem to be pushing typescript to its limits haha

héhé, yeah, it's what I do in pretty much any coding languages, pushing it to its limits then complaining about it (:

I couldn't review everything yet because of this but I already left a lot of questions

yeah,I think that the more we progress, the long the review will be, as we both know more of the code, what can get wrong, and are getting opiniated on various components. I feel quite good about it in fact, that means we care more for disco :mirror_ball:

If you can't solve the rollup error without having access to a Mac we can organize a call next week if you want

fwiw, it was indeed a mac specific issue, that gets only triggered there, and will probably happen again if there is an update of rollup that I do on my side. well, now we know

Mainly, I noticed that testing an image model always shows the images as red (while the accuracy is 100% in this case). That can be a simple UI mistake but maybe a deeper problem in the validation.

ouf, it was a simple UI mistake, I inversed red & green in #682

Not sure if this was introduced in this PR or the dark theme but when there is only one datapoint the chart now shows a bar instead of a dot
Also the x-axis labels are getting crowded

ha yes, good point, I reworked it to make it a bit nicer. the curve is now "cubic" instead of "smooth" which makes it less jittery at the expense of precision..

Testing with a language model shows a "Download CSV" button that doesn't work

right, it is not implemented. I wasn't sure of what to show in it so I prefered to throw a TODO. now, do we want to even have this feature? I feel that it is not really useful (for testing that is, for prediction it is useful). we need a way to present testing results but CSV is too technical.

images: we already have a nice way to show the results
tabular: yes, not really nice but at least it is somewhat readable (colors would be nicer)
text: I can think of way to present it: for every input line (styled as gray), show the next word in green/red

WDYT for a next iteration?


"Minimal" version of the docker-compose file fails with a missing dependency on "flagd"

Bug Report
Which version of the demo you are using?
I am using a82287db6d
Symptom
What is the expected behavior?
Running docker compose -f docker-compose.minimal.yml up -d should run the demo
What is the actual behavior?
The command fails with:
service "loadgenerator" depends on undefined service flagd: invalid compose project

Reproduce
git clone https://github.com/open-telemetry/opentelemetry-demo.git
cd opentelemetry-demo
git checkout a82287db6d
docker compose -f docker-compose.minimal.yml up -d

Additional Context
I tried to run this after I ran into #1582

Thanks for reporting this @exhuma ! The flagd service is missing to the minimal docker compose. In addition, the frondend proxy environment variables need to be updated.
This PR should fix it https://github.com/open-telemetry/opentelemetry-demo/pull/1585


Services: Let's Encrypt: Settings cannot Apply

Describe the bug
A clear and concise description of what the bug is, including last known working version (if any).
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Go to Services: Let's Encrypt: Settings
Click on Enable Plugin
Click on Auto Renewal
In Let's Encrypt Environment, select Staging Environment
Click button Apply

Expected behavior
A Let's Encrypt certificate to be issued in due course.
Screenshots
The Apply button stays dark until any portion of the pane is clicked whereupon the button reverts to original lighter color. No other visible change anywhere.
Relevant log files
Message on log file page:
File /var/log/acme.sh.log doesn't exist.
Additional context
Full help button is enabled.
Environment
OPNsense 20.7-amd64
FreeBSD 12.1-RELEASE-p7-HBSD
OpenSSL 1.1.1g 21 Apr 2020

Expected behavior
A Let's Encrypt certificate to be issued in due course.

I'm not sure that I understood this bug report correctly.... you expect that these steps would issue a Let's Encrypt certificate?

Hello @fraenki,
I logged this issue because after the upgrade to 20.7, I encountered the following message while attempting to browse the log file:
File /var/log/acme.sh.log doesn't exist.
Previously, I used to get consistently code invalid in the default log file. While I don't know what this earlier message meant since the acme client tested OK but nevertheless I assumed that the issue was an operator/user error after reporting it at the forum. At that time Fabian asked me to check the logs where I saw the code invalid message for the Let's Encrypt request.
I know that Let's Encrypt is fussy about port 80 being open and I can confirm that port 80 is open. I am very inexperienced in these matters. All I need is for the log file to work so that I can keep on trying to secure a Let's Encrypt cert for the OPNsense server. Thanks for looking into this report.
Kind regards.

The file /var/log/acme.sh.log is only created when acme.sh tried so register an account or issue a certificate.
The basic workflow of the Let's Encrypt plugin is as follows:

Enable the plugin in Services: Let's Encrypt: Settings (as you presumably did)
Setup an account in Services: Let's Encrypt: Accounts
Configure a validation method in Services: Let's Encrypt: Validation Methods (DNS-01 should be preferred over HTTP-01)
Add a certificate in Services: Let's Encrypt: Certificates
Finally click on the Issues/renew certificates now button

Now you should see at least something in Services: Let's Encrypt: Log File.

Thx again @fraenki.
There is a log file now! Appreciate the detailed instructions. I'll close the issue but please allow me to post the log just for the record in case there is further insight on where I went wrong:
Enabled Common Name Multi-Domain (SAN) Description Issue/Renewal Date Last Acme Status Last Acme Run Commands
	opnsense.parkcircus.org	opensense.parkcircus.org	Protectli box server certificate	pending	validation failed	8/2/2020, 9:50:08 AM

Date 	Message
[Sun Aug 2 09:50:07 CDT 2020] 	_CURL='curl -L --silent --dump-header /var/etc/acme-client/home/http.header --trace-ascii /tmp/tmp.P2MKLEtP -g '
[Sun Aug 2 09:50:06 CDT 2020] 	timeout=
[Sun Aug 2 09:50:06 CDT 2020] 	url='https://acme-staging-v02.api.letsencrypt.org/directory'
[Sun Aug 2 09:50:06 CDT 2020] 	GET
[Sun Aug 2 09:50:06 CDT 2020] 	_init api for server: https://acme-staging-v02.api.letsencrypt.org/directory
[Sun Aug 2 09:50:06 CDT 2020] 	Using ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory
[Sun Aug 2 09:50:06 CDT 2020] 	DOMAIN_PATH='/var/etc/acme-client/home/opnsense.parkcircus.org'
[Sun Aug 2 09:50:06 CDT 2020] 	ACME_DIRECTORY='https://acme-staging-v02.api.letsencrypt.org/directory'
[Sun Aug 2 09:50:06 CDT 2020] 	Using stage ACME_DIRECTORY: https://acme-staging-v02.api.letsencrypt.org/directory

Appreciate the step-by-step instructions and fast responses. Thanks.
Kind regards.

Your certificate could not be issued ("validation failed"). We would need to know your Let's Encrypt "validation method" configuration details and of course the whole acme.sh.log to get an idea what went wrong.

Hello @fraenki,
I've prepared a summary document (attached) for your review, if it helps. Please allow me to rationalize two things here although it may not be germane to the issue.
I couldn't get Let's Encrypt working initially. Then I read about using intermediate certs and I thought I should give it a try. So currently, I do have an intermediate ca. I don't know enough about this other than to let you know.
Also, I have a Synology NAS server that has an auto-renewal Let's Encrypt cert. I couldn't issue the cert myself. :) I contacted Synology tech support and provided them with screen shots of my steps. The tech support was granted temporary elevated priviledges (per their support protocol) and he successfully issued the cert. When I asked what he had done, his only remark was that he had done exactly what I had tried. This cert auto renews every 3 months to this day.
Your guidance and suggestions are always welcome. Thanks.
Kind regards.
Let's Encrypt settings.docx

I am getting the same error when trying to see the  Let's Encrypt plugin logs too.
I restored my configuration into a new installation of OpnSense 20.7.7.
I saw that the Let's Encrypt plugin did not work, so I reset the client, tried again, and still nothing.
When I try to view the logs, I get the 'File /var/log/acme.sh.log doesn't exist.' message.
So, I see not easy way to find out what is wrong here.
The log file does not exist indeed (I SSH-ed into the box).
Not sure if I should reinstall the plugin or something...

I am getting the same error when trying to see the  Let's Encrypt plugin logs too.
I restored my configuration into a new installation of OpnSense 20.7.7.
I saw that the Let's Encrypt plugin did not work, so I reset the client, tried again, and still nothing.
When I try to view the logs, I get the 'File /var/log/acme.sh.log doesn't exist.' message.
So, I see not easy way to find out what is wrong here.
The log file does not exist indeed (I SSH-ed into the box).
Not sure if I should reinstall the plugin or something...

@DumboJet,
Thanks for the observation. I still have not been able to make Let's Encrypt work in my OPNsense (v2.7.8) installation. I am not quite sure where I went wrong because the acme clients work fine with my Ubuntu server & desktop installations on RPi hardware.
Kind regards.

@DumboJet,
Thanks for the observation. I still have not been able to make Let's Encrypt work in my OPNsense (v2.7.8) installation. I am not quite sure where I went wrong because the acme clients work fine with my Ubuntu server & desktop installations on RPi hardware.
Kind regards.

When I try to view the logs, I get the 'File /var/log/acme.sh.log doesn't exist.' message.

@DumboJet
This log file is only created when acme.sh tries so register an account or issue a certificate. If it does not exist, then no attempt to issue a certificate was made.
Assuming that the Let's Encrypt is properly configured, there's a way to get more detailed log output:
First go to Services: Let's Encrypt: Settings and change Log Level to "debug". Then go to Services: Let's Encrypt: Certificates and click the button to forcefully reissue the certificate (it's the 3rd button).
Afterwards go to System: Log Files: General and search for AcmeClient, it should contain more detailed log messages.

I still have not been able to make Let's Encrypt work

@baqwas
Your initial configuration was set to HTTP-01 with "IP Auto-Discovery" enabled and interface set to "LAN". There are several requirements for this to work, some of which are mentioned in the inline help for these options:

The FQDN's used in your certificate must currently point to an official IP address. [...]
NOTE:This will ONLY work if the official IP addresses are LOCALLY configured on your OPNsense firewall.

In other words: if you try to issue a certificate for test.example.com, then this hostname must resolve to an IP address that is configured on your OPNsense firewall (or if you have another router than a port forward to your OPNsense firewall is required).
I doubt that this is a bug, it's more likely that it's a configuration error. I recommend the official forums to search for similar reports or discuss this in-depth.

Thanks @fraenki !
I have fixed my problem.
That Services: Let's Encrypt: Log File section is really misleading...
My certificate is updated now and it still shows no logs.
I will have to remember that the logs go elsewhere...

My certificate is updated now and it still shows no logs.

That should not happen and I've never seen this before. Could you check on the OPNsense commandline that the log file exists in /var/log/acme.sh.log or if it uses a different filename by searching in /var/log/?

My certificate is updated now and it still shows no logs.

That should not happen and I've never seen this before. Could you check on the OPNsense commandline that the log file exists in /var/log/acme.sh.log or if it uses a different filename by searching in /var/log/?

Nope!
The file does not exist and no similar file seems present:

The service is reported to be up in the web management interface, although I am not sure what its name is, in order to check in the process list:

But while installing OpnSense I had these issues:
https://forum.opnsense.org/index.php?topic=20957.msg97736#msg97736
So, I don't know what are the chances something is not installed correctly...

Nope!
The file does not exist and no similar file seems present:

The service is reported to be up in the web management interface, although I am not sure what its name is, in order to check in the process list:

But while installing OpnSense I had these issues:
https://forum.opnsense.org/index.php?topic=20957.msg97736#msg97736
So, I don't know what are the chances something is not installed correctly...

So, I don't know what are the chances something is not installed correctly...

Probably, but I can't tell for sure.
FYI, if you have /var RAM disk enabled in System: Settings: Miscellaneous, then acme.sh.log is lost on reboot.

So, I don't know what are the chances something is not installed correctly...

Probably, but I can't tell for sure.
FYI, if you have /var RAM disk enabled in System: Settings: Miscellaneous, then acme.sh.log is lost on reboot.

I do have RAM disks enabled, but I think that after the certificate update it only restarts HAProxy, so most likely I should have seen something in that log at some point.
But anyway... I have now upgraded to 20.7.8 and I will see if anything changes after many updates being applied to it.
If there was an issue at the installation, I have some hopes that it might be resolved like that automagically...

I do have RAM disks enabled, but I think that after the certificate update it only restarts HAProxy, so most likely I should have seen something in that log at some point.
But anyway... I have now upgraded to 20.7.8 and I will see if anything changes after many updates being applied to it.
If there was an issue at the installation, I have some hopes that it might be resolved like that automagically...

Hello @fraenki,
Thanks for taking the time to update me. Sorry for the belated response. I did try the OPNsense forum (General Discussion as well Production) but did not receive any resolvable solutions. That is why as a measure of last effort I resorted to using this site (unfortunately it is a bad habit of mine to use such channels inappropriately because I don't know where else to turn).
Sorry again for taking up bandwidth here but please allow to record the changes I performed after your initial feedback:

The Let's Encrypt CA server is unable to communicate with my OPNsense instance (which is the Edge device in my farm).
I have no such issue with a Synology server that has been renewing LE certs every 90 days per schedule (unfortunately it does not have the schedule finesse that I like in the OPNsense instance).
I applied a temporary rule to route all 80/443 traffic from WAN to OPNsense instance (destination using LAN address). Confirmed that WAN access to ports 80/443 is open.
Still no luck. (Obviously, my knowledge of OPNsense is at the novice level). I will keep on trying intermittently because the solution requires some improvement in my knowledge of OPNsense services.

Again, appreciate your feedback, @fraenki, and this reply is simply a comment and not a request to pursue it further here. The one bell/whistle about the Firewall Rule that appeals to me (LE cert renewal) is the schedule. This feature will help me to work with LE certs on multiple servers in an unattended mode, I presume. Thanks for your time.
Kind regards.

Hello @fraenki,
Thanks for taking the time to update me. Sorry for the belated response. I did try the OPNsense forum (General Discussion as well Production) but did not receive any resolvable solutions. That is why as a measure of last effort I resorted to using this site (unfortunately it is a bad habit of mine to use such channels inappropriately because I don't know where else to turn).
Sorry again for taking up bandwidth here but please allow to record the changes I performed after your initial feedback:

The Let's Encrypt CA server is unable to communicate with my OPNsense instance (which is the Edge device in my farm).
I have no such issue with a Synology server that has been renewing LE certs every 90 days per schedule (unfortunately it does not have the schedule finesse that I like in the OPNsense instance).
I applied a temporary rule to route all 80/443 traffic from WAN to OPNsense instance (destination using LAN address). Confirmed that WAN access to ports 80/443 is open.
Still no luck. (Obviously, my knowledge of OPNsense is at the novice level). I will keep on trying intermittently because the solution requires some improvement in my knowledge of OPNsense services.

Again, appreciate your feedback, @fraenki, and this reply is simply a comment and not a request to pursue it further here. The one bell/whistle about the Firewall Rule that appeals to me (LE cert renewal) is the schedule. This feature will help me to work with LE certs on multiple servers in an unattended mode, I presume. Thanks for your time.
Kind regards.


IfStatement: disallow newline after else without block

parseIfStatement:

Add parameter to enforce matching whiteblock syntax
Check for matching whiteblock syntax

Added test fixtures for IfStatements

Ignore npm-debug.log files

I believe this is fully correct as concerns IfStatements, and is therefore mergeable on its own.
It doesn't cover IfExpressions but as discussed, those need a little more work.

@rattrayalex
Updated this according to your suggestion. Might be the best effort so far, but still one outstanding issue. You said you wanted this to compile:
f = ->
  if (true) return 1 else return 2

It doesn't:
Unexpected token, expected ; (2:21)

FWIW, this also fails to compile in vanilla JS and currently-live LS, for the same reason.
I pulled on the thread a little bit, disabling the semicolon requirement in parseReturnStatement, and the result was 10 mainline test failures. None of them looked particularly serious, but I'm still not sure it's a can of worms I want to open.
This also fails to compile for the same reason:
f = ->
  if true: return 1 else: return 2

I've updated the PR with new test fixtures which resign themselves to the failure, but if you want that to compile you are probably going to have to open the can of worms yourself.
Other than that, though, everything seems to be working well re IfStatements.

Updated as requested.

Awesome, thanks! I think this looks good. Shall we merge in and I can separately add my branch with If-Expressions? I'll probably want to squash those commits together, FYI

(you'd be more than welcome to add the patch from my branch if you like)

I have another branch (Based on this one) that adds your patch as well. Let me merge it.

OK, both changes are on this branch now, and there are some matching test fixtures under the if-expressions as well.

Awesome work!


Co-write copy for the website on Autism

Summary
It would be useful to have more information on autism on the "about" page. This should ideally be written or co-written with an autistic person and checked with Autistica to make sure it is accurate, value-aligned and reflects the lived experience of autistic people.
What needs to be done?

[x] Ask an autistic person to support writing the copy for the platform
[ ] Co-write the copy with autistic collaborator
[x] If possible, find a way of "thanking" them for their time (potentially via. the SSI?)
[ ] Implement copy on platform
[ ] Test with users

Some main issues that emerged during the user testing regarding the copy or the way we introduce concepts:

The "triggering label" settings are provided in the profile creating, but it's not fully explained what that means
similarly, the "notify when moderated" setting hints at moderation but doesn't explain what the moderation means

Also worth to check for #566, @GeorgiaHCA maybe worth mentioning to AM? :-)

I'm closing this issue for now, as we've merged the copy into the platform. We have no concrete user testing plans for the copy itself, but will keep an eye on it post-launch


[FEATURE] Polygon centerlines

Currently the basemap profile uses lake centerlines from the unmaintained https://github.com/lukasmartinelli/osm-lakelines repo. It would be nice if flatmap could generate centerlines for polygons itself out of the box.  In most cases you would probably want to fall back to a point label if the polygon is not elongated. It might also make sense to limit minzoom based on the length of the line or area of the polygon if it's a point so the entire text fits into the polygon.

another possible approach: https://github.com/micycle1/JMedialAxis


Refactor events

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


Sorting pages with a parent_page_types restriction raises a MovePagePermissionError

Issue Summary
If you have a list of pages that are restricted to a certain parent page type and you toggle the sorting via "sort menu order", sorting raises a MovePagePermissionError.
Steps to Reproduce

Start a new project with wagtail start myproject
Edit home/models.py, and add another page type:

class AnotherPage(Page):
    parent_page_types = ["home.HomePage"]

run python manage.py makemigrations and python manage.py migrate
Go to the Wagtail Admin, and add a few child pages under the Home page
While viewing the contents of the Home page, toggle the page sorting option via More -> Sort Menu Order:

Try to reorder the pages. The order is not being saved. My local development server outputs the following:

raise MovePagePermissionError(
wagtail.core.actions.move_page.MovePagePermissionError: You do not have permission to move the page to the target specified.

If I remove the parent_page_types restriction from the model definition, everything works as expected.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes / ~no~)

Technical details

Python version: 3.9.7
Django version: 3.2.12 and 4.0.2
Wagtail version: 2.16.1
Browser version: Firefox 96.0.3

Stumpled on kind of the same issue here as well, have a site with a lot of translations and (parent) page types. In many cases I can't sort orders as well.
Needs some deaper investigation, will report it here.

Update: parent.specific_class is wrong (it's the same as the cls in this case. But it's definitely not the case.
The parent is wrong is this case. It's not the parent but the target page (left/right pos)...

But the fact that you are sorting proves that the moving page can exist under its parent, otherwise it wouldn't be possible to create it in the first place. So why is that method being called when sorting?

Looks like the PagePermissionTester is not setting the parent/target right (maybe with the pos in mind)... still don't have a clue why this is for certain page trees and not for all. Can't see any consistency over multiple sites (the same structure DOES work for another site here... very odd).

Found that when position_page is None it positions the page. But when a position/page is found, it does not:
In def set_page_position:
# Find page that's already in this position
position_page = None
if position is not None:
    try:
        position_page = parent_page.get_children()[int(position)]
    except IndexError:
        pass  # No page in this position

Not yet @thijskramer lacking time here this week. If you need something plz contact me!

@robmoorman could you please review my Draft PR? The implementation is done (I think) but the tests aren't finished yet, I might finish them later today if I find the time!

Quick review @thijskramer , important note here is that a setup with:
root_page
    SimplePage
        SimplePage
        SimplePage

does work currently.
We should cover that this page type hierarchy keeps working as well in the new fix (not only test the new business/child setup).

Is there anything I have to do that prevents this PR from being merged?

Merged fix onto main and 2.16.x


[WIP] fluentd exporter

@lalitb - Draft implementation of fluentd exporter.
What I'm still working on:

ability to rename "standard" fields, since semantics of the fields are different in Azure MDSD:
https://github.com/Azure/azure-linux-extensions/commit/5ab581bc336b701371a783a143768951fe8ed630
https://github.com/Azure/WALinuxAgent/issues/148
And I'd like to keep the code entirely vendor-agnostic, i.e. with ability to customize the "standard" field names. This will be done similar to how it's done in ETW exporter, by allowing custom header that provides a set of compile-time constants (macros) that define the field names.

need to rework the individual event storage model from json object to std::list or to std::map<std::string,AttributeValue>, that'll be better for performance than storing all events in intermediate JSON.

PR includes the test setup needed to run a test fluent agent: fluentd or fluentbit, both work. It also works with specific of MDSD custom protocol. MDSD itself is available in open Azure Container Registry. I can elaborate on that setup (how to use this exporter to send telemetry to Azure mdsd via fluent) in a separate document.

Thanks @maxgolov  will have a look.

I added async uploader with batching queue, configurable reconnection retries, and configurable wait time between batch uploads. Plus E2E tests. E2E test starts up "fluentd-alike" listener, that accepts MsgPack encoded fluentd forward protocol. And verifies that expected number of events have arrived. It also prints the JSON representation of MsgPack in console.
E2E tests depend on another PR in the main repo, that implements tests socket server for TCP, UDP and Unix Domain sockets. Test server included here is not intended to be used in production, for testing only, and fundamentally it's an improvement on top of HTTP server we use elsewhere. Now it supports not only HTTP, but raw TCP, UDP and Unix Domain cross-plat.

Closing this PR. Plan is to consolidate the changes in this PR along with the socket library introduced in https://github.com/open-telemetry/opentelemetry-cpp/pull/871 and raise common PR.


fix: References for for protobuf objects

Description
We were creating references without prefix them with #/components/schemas which was causing problems when trying to generate redoc.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Update and ran  tests locally.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have updated the CHANGELOG in the Unreleased section
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Looks great, thanks for the PR :pray: Will do a release, should hit maven central in around 10 minutes


Internal server error not user-friendly at all

Simply put, pyLODE should handle invalid input gracefully.
http://cor.esipfed.org/pylode?url=INVALID :

Along with any internal logging or stack traces, the exposed output should indicate what went wrong at least in general terms for the more casual visitor, for example, indicating the the URI could not be resolved, or that it was not resolved to a recognized format, etc.

Yes, it should. I will try and improve internal error surfacing.

Does the service on http://cor.esipfed.org/pylode still run? Doesn't load for me.

Sorry but that is a question you'll have to put to ESIP!
Since they implemented that live-loading version, there has been a major update to pyLODE (v3.x) that includes many breaking changes. If their system auto-pulls pyLODE from PyPI and tries to run with it, it will have broken.
I think this new version of pyLODE is better (duh!) but it will need to be catered for in some changes at their end.


update get_samples_scores function

I added the 6 parameters in the get_samples_and_scores function and change the seeding and conditioning order

hmm wait ^^'


UI layout / scaling improvements

Either need to fix the UI to be a set size so layout issues just disappear. Or adjust each part to resize fluidly to any size larger (probably setting a minimum size for the window).

Fixed by PR


Upgrade to Quarkus 2.16.0.Final

https://issues.redhat.com/browse/DBZ-6005

@Naros Looking at https://debezium.zulipchat.com/#narrow/stream/302529-users/topic/Debezium.20embedded.20error Does it make sense to align antlr too?

@Naros Looking at debezium.zulipchat.com/#narrow/stream/302529-users/topic/Debezium.20embedded.20error Does it make sense to align antlr too?

I amended the upgrade to 2.16.0.CR1 to include the ANTLR bump to 4.10.1.  I've also added a commit that explicitly bumps to the 2.16.0.Final artifacts of Quarkus; so if the CI passes, I think this is now good to go.

@Naros Applied, thanks!


network block exhausts available memory

I rebooted PothosGui today and my computer froze on the next bootup, eventually responding later with PothosUtil having over 18 GB of address space.  The process cmdline was /usr/local/bin/PothosUtil --require-active --proxy-server tcp://[::1].  I'm not aware of having enabled any network behavior in PothosGui.
In /proc//smap I found a 13 GB chunk of memory (7f128b3ef000-7f15cb3f4000).  This backtrace of thread 5 shows objects in that range:
#0  Pothos::ManagedBuffer::reset (this=0x7f150e2ec038) at /home/gentoo/src/radio/pothos/library/lib/Framework/ManagedBuffer.cpp:32
#1  0x00007f176dfdc05a in ~BufferChunk (this=0x7f150e2ebfe8, __in_chrg=<optimized out>) at /home/gentoo/src/radio/pothos/library/include/Pothos/Framework/BufferChunk.hpp:26
#2  ~pair (this=0x7f150e2ebfd8, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/stl_pair.h:96
#3  _Destroy<std::pair<Pothos::Object, Pothos::BufferChunk> > (__pointer=0x7f150e2ebfd8) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/stl_construct.h:93
#4  __destroy<std::pair<Pothos::Object, Pothos::BufferChunk>*> (__last=0x7f15633f2010, __first=0x7f150e2ebfd8) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/stl_construct.h:103
#5  _Destroy<std::pair<Pothos::Object, Pothos::BufferChunk>*> (__last=0x7f15633f2010, __first=0x7f14fb3f2010) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/stl_construct.h:126
#6  _Destroy<std::pair<Pothos::Object, Pothos::BufferChunk>*, std::pair<Pothos::Object, Pothos::BufferChunk> > (__last=0x7f15633f2010, __first=0x7f14fb3f2010)
    at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/stl_construct.h:151
#7  std::vector<std::pair<Pothos::Object, Pothos::BufferChunk>, std::allocator<std::pair<Pothos::Object, Pothos::BufferChunk> > >::operator= (this=this@entry=0x7f16d4017160,
    __x=std::vector of length 33554432, capacity 33554432 = {...}) at /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4/bits/vector.tcc:189
#8  0x00007f176dfdc8f4 in Pothos::Util::RingDeque<std::pair<Pothos::Object, Pothos::BufferChunk> >::set_capacity (this=this@entry=0x7f16d4017148, capacity=33554432)
    at /home/gentoo/src/radio/pothos/library/include/Pothos/Util/RingDeque.hpp:251
#9  0x00007f176dfd0f98 in Pothos::InputPort::asyncMessagesPush (this=0x7f16d4017060, message=..., token=...) at /home/gentoo/src/radio/pothos/library/lib/Framework/InputPort.cpp:61
#10 0x00007f176dfdd1f6 in Pothos::OutputPort::_postMessage (this=this@entry=0x7f16d401c570, async=...) at /home/gentoo/src/radio/pothos/library/lib/Framework/OutputPort.cpp:41
#11 0x00007f176dff6bd7 in postMessage<Pothos::Object> (message=<unknown type in /usr/local/lib/libPothos.so.0.3-0, CU 0xac2599, DIE 0xb9f0a7>, this=0x7f16d401c570)
    at /home/gentoo/src/radio/pothos/library/include/Pothos/Framework/OutputPortImpl.hpp:83
#12 Pothos::Block::opaqueCallMethod (this=this@entry=0x7f16d401b280, name="valueTriggered", inputArgs=inputArgs@entry=0x7f1732059920, numArgs=numArgs@entry=1)
    at /home/gentoo/src/radio/pothos/library/lib/Framework/Block.cpp:212
#13 0x00007f176dfe7e09 in Pothos::Connectable::opaqueCall (this=0x7f16d401b280, inputArgs=<optimized out>, numArgs=<optimized out>) at /home/gentoo/src/radio/pothos/library/lib/Framework/Connectable.cpp:48
#14 0x00007f176e014601 in Pothos::CallInterface::callObject<std::string const&, Pothos::Object&> (this=this@entry=0x7f16d401b288, a0="valueTriggered", a1=...)
    at /home/gentoo/src/radio/pothos/library/include/Pothos/Callable/CallInterfaceImpl.hpp:92
#15 0x00007f176dffa96d in callVoid<std::basic_string<char> const&, Pothos::Object&> (a1=..., a0="valueTriggered", this=0x7f16d401b288) at /home/gentoo/src/radio/pothos/library/include/Pothos/Callable/CallInterfaceImpl.hpp:98
#16 Pothos::Block::opaqueCallHandler (this=0x7f16d401b280, name="probeValue", inputArgs=0x0, numArgs=0) at /home/gentoo/src/radio/pothos/library/lib/Framework/Block.cpp:173
#17 0x00007f176e08e68b in Pothos::WorkerActor::handleSlotCalls (this=this@entry=0x7f16d401b570, port=...) at /home/gentoo/src/radio/pothos/library/lib/Framework/WorkerActor.cpp:256
#18 0x00007f176e0931d5 in Pothos::WorkerActor::preWorkTasks (this=this@entry=0x7f16d401b570) at /home/gentoo/src/radio/pothos/library/lib/Framework/WorkerActor.cpp:332
#19 0x00007f176e0935f8 in Pothos::WorkerActor::workTask (this=this@entry=0x7f16d401b570) at /home/gentoo/src/radio/pothos/library/lib/Framework/WorkerActor.cpp:222
#20 0x00007f176e00aca4 in Pothos::WorkerActor::processTask (this=0x7f16d401b570, waitEnabled=<optimized out>) at /home/gentoo/src/radio/pothos/library/lib/Framework/WorkerActor.hpp:40
#21 0x00007f176e0c173c in ThreadEnvironment::singleProcessLoop (this=0x7f16d401b050, handle=0x7f16d401b280) at /home/gentoo/src/radio/pothos/library/lib/Framework/ThreadEnvironment.cpp:218
#22 0x00007f176c1a8893 in execute_native_thread_routine () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/libstdc++.so.6
#23 0x00007f176c8154cc in start_thread (arg=0x7f173205a700) at pthread_create.c:310
#24 0x00007f176b9130ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

It seems the OutputPort of a SignalProbe is producing items which are not being consumed?  I do have a SignalProbe in my topology which is being triggered very frequently.
Maybe it would be good to have RingDeque<>::set_capacity() throw an error if the capacity is above a threshold.  It would have made my computer much more responsive.
I tried to check the input side of the guilty connection and think it is a NetworkSink:
(gdb) p this->_subscribers._M_impl._M_start[0]->_actor->block[0]
$19 = {<Pothos::Connectable> = {<Pothos::CallRegistry> = {_vptr.CallRegistry = 0x7f1768354590 <vtable for NetworkSink+16>}, <Pothos::CallInterface> = {
      _vptr.CallInterface = 0x7f1768354610 <vtable for NetworkSink+144>}, <Pothos::Util::UID> = {_uid = "pothos://livecd/10:fe:ed:12:b7:22/18470/2"}, <Pothos::Util::RefHolder> = {
      _vptr.RefHolder = 0x7f1768354638 <vtable for NetworkSink+184>, _refs = std::vector of length 1, capacity 1 = {{_vptr.Object = 0x7f176e6e0e70 <vtable for Pothos::Object+16>, _impl = 0x7f16d4014770}}},
    _name = "NetTo: SignalProbe0[valueTriggered]"}, _workInfo = {inputPointers = std::vector of length 1, capacity 1 = {0x7f16dc004e40}, outputPointers = std::vector of length 0, capacity 0, minElements = 0,
    minInElements = 0, minOutElements =<PHONE_NUMBER>, minAllElements = 0, minAllInElements = 0, minAllOutElements =<PHONE_NUMBER>, maxTimeoutNs = 1000000}, _inputPortNames = std::vector of length 1, capacity 1 = {"0"},
  _outputPortNames = std::vector of length 0, capacity 0, _indexedInputs = std::vector of length 1, capacity 1 = {0x7f16d4017060}, _indexedOutputs = std::vector of length 0, capacity 0,
  _namedInputs = std::map with 1 elements = {["0"] = 0x7f16d4017060}, _namedOutputs = std::map with 0 elements, _calls = std::multimap with 1 elements = {["getActualPort"] = {<Pothos::CallInterface> = {
        _vptr.CallInterface = 0x7f176e7008f0 <vtable for Pothos::Callable+16>}, _boundArgs = std::vector of length 1, capacity 1 = {{_vptr.Object = 0x7f176e6e0e70 <vtable for Pothos::Object+16>, _impl = 0x7f16d4010c30}},
      _impl = warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Pothos::Detail::CallableFunctionContainer1<std::string, NetworkSink const&>*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Pothos::Detail::CallableFunctionContainer1<std::string, NetworkSink const&>*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr (count 1, weak 0) 0x7f16d4016700}}, _probes = std::map with 0 elements, _threadPool = {_impl = std::shared_ptr (count 1, weak 0) 0x7f16d40169f0},
  _actor = std::shared_ptr (count 1, weak 0) 0x7f16d40164d0}

I've made a core dump, so I can investigate further or share it.

Thanks for the dump, this will be interesting. Theres supposed to be a backpressure mechanism for buffers and messages. So something like signal probe would no longer get its work function called if one of the downstream consumers was not consuming.
If you are using Pothos GUI, the execute -> show topology stats dump may be interesting. Its going to show total counts for all of the ports, including enqueued elements like messages and buffers. If you are using the API, the topology stats can be dumped to a json string as well with queryJSONStats().

Maybe it would be good to have RingDeque<>::set_capacity()

The RingDeque cant go beyond its capacity (asserts in debug mode). There's actually code in the port handler that checks and resizes this queue. It should probably log when the queue has been resized absurdly out of bounds.
https://github.com/pothosware/pothos/blob/master/library/lib/Framework/InputPort.cpp#L57

Yes, exactly.  The function you linked is in the backtrace.  It's continually doubling the size of the RingDeque without bounds.

I committed a change to help track down and avoid issues like this: https://github.com/pothosware/pothos/commit/6f2dd5d8d113404be1d05021d80ffce6f20078f9 So now we at least know what block isnt consuming. And dont take gigabytes of memory. ;-)

@xloem Do you still think there is bug here: Was the signal probe was connected to a consumer that wasn't interested in messages? If that was the case, at least the runtime now logs an error and tosses the data. On the other hand, if the producing but not consuming was unexpected, I would like to figure that one out.

It was not expected, but perhaps it should have been.
I had instructed a signal probe to fire for every single sample and connected it to a text box.  I imagine the gui couldn't handle the datarate.

Then that means you must have had something triggering the signal probe. If that was the case, we are talking about a lot of signal events being emitted -- as it turns out, these particular ports were not being back-pressured. This commit should fix that: https://github.com/pothosware/pothos/commit/4df18bafc6a026310231714fbd61917b8e149d9e

Thanks, closing!