For ACS health insurance, only show demographic groups we have data for

Same fix as Josh recently made for BRFSS data in #613. We'll have to do the same thing for ACS poverty once the pct_share calculations are added there (Seth has a PR for this in-progress).

Also, I was testing the numbers out from this vs what we have in the tracker currently, and they all look pretty similar except for "Some other race" which has a higher value after this change than in the tracker today. IMO we should just move to joining ACS health insurance (and poverty) with ACS population, as we do for other data sources, rather than taking the total values in those datasets as equal to the population. It seems like that is true for most groups, but not all.

Also, I was testing the numbers out from this vs what we have in the tracker currently, and they all look pretty similar except for "Some other race" which has a higher value after this change than in the tracker today. IMO we should just move to joining ACS health insurance (and poverty) with ACS population, as we do for other data sources, rather than taking the total values in those datasets as equal to the population. It seems like that is true for most groups, but not all.

Yeah I noticed that total numbers are slightly lower for ACS variables like health insurance and poverty than for population - maybe they exclude some results there where the answers were unknown? Agreed that using ACS population is more accurate

Also, I was testing the numbers out from this vs what we have in the tracker currently, and they all look pretty similar except for "Some other race" which has a higher value after this change than in the tracker today. IMO we should just move to joining ACS health insurance (and poverty) with ACS population, as we do for other data sources, rather than taking the total values in those datasets as equal to the population. It seems like that is true for most groups, but not all.

Yeah I noticed that total numbers are slightly lower for ACS variables like health insurance and poverty than for population - maybe they exclude some results there where the answers were unknown? Agreed that using ACS population is more accurate

Actually I realized that the differences were smaller than what I had originally thought (mixed up two rows).. but still we should move to ACS population for these so that all of the numbers across the site are consistent


feat: add operationId method info

Description
Adds support for the operationId field in the OpenAPI spec.
Closes #105
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Added unit test for new parameter
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
[x] I have updated the CHANGELOG and bumped the version
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Very nice, thanks for the PR! The code LGTM but can you bump the project version in the Gradle.properties to 1.10.0 and add a quick blurb to the CHANGEME.md explaining the updates?

Done :)


Updated the distributionManagement to the correct values.

@shuangzhou

Coverage remained the same at 31.712% when pulling 724a0edbd8327f618d2d14b0fc4a3bfcae657a46 on fix-pom into e54dd1f47088c9e64eb97c11e1ce76220f2bda65 on master.

👍

Build finished.

Looks great!


Allow using default bootstrap steps in 3rd party projects

Usually copy and paste would be good enough, but since this sets the explicit
projen version, it's probably the easiest to make the DEFAULT_WORKFLOW_BOOTSTRAP
accessible in other contexts as well.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@skorfmann Want to peruse this or should we close for now?

Already supported


🐛 [firebase_ui_auth] Null check operator used on a null value at EmailVerificationController.user(email_verification.dart:68)

Bug report
Describe the bug
Getting a null check operator error when user registers for the first time and is then sent to email verification screen, waiting to verify their email. When the error occurs I get a varied response from the UI sometimes a blank screen, pressing back brings them back to login screen.
Steps to reproduce
Steps to reproduce the behavior:

Register new account using Firebase UI
Email verification screen shown

Expected behavior
Continue waiting for user to verify email
Sample project
This is what I use for my registration screen:
class LoginScreen extends StatelessWidget {
  const LoginScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Material(
      child: SignInScreen(
        providers: providers,
        actions: [
          ForgotPasswordAction(
            (context, email) {
              Navigator.push(
                context,
                forgotPass(email),
              );
            },
          ),
          AuthStateChangeAction<SignedIn>((context, state) {
            if (state.user!.emailVerified) {
              Navigator.pushReplacementNamed(context, '/admin');
            } else {
              Navigator.push(context, verifyEmail());
            }
          }),
          AuthStateChangeAction<UserCreated>((context, state) {
            Navigator.push(context, verifyEmail());
          })
        ],
      ),
    );
    // );; //signScreen();
  }

    MaterialPageRoute<dynamic> verifyEmail() {
    return MaterialPageRoute(
      builder: (context) => EmailVerificationScreen(
        headerBuilder: headerIcon(Icons.mark_email_unread),
        sideBuilder: sideIcon(Icons.mark_email_unread),
        actions: [
          EmailVerifiedAction(() {
            Navigator.pushReplacementNamed(context, '/login');
          }),
          AuthCancelledAction((context) {
            FirebaseUIAuth.signOut(context: context);
            Navigator.pop(context);
          }),
        ],
      ),
    );
  }

  MaterialPageRoute<dynamic> forgotPass(String? email) {
    return MaterialPageRoute(
      builder: (context) => ForgotPasswordScreen(
        headerBuilder: headerIcon(Icons.lock),
        sideBuilder: sideIcon(Icons.lock),
        email: email,
      ),
    );
  }
}

Additional context
Error Details:
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value
       at EmailVerificationController.user(email_verification.dart:68)
       at EmailVerificationController.reload(email_verification.dart:82)
       at EmailVerificationController.didChangeAppLifecycleState(email_verification.dart:63)
       at WidgetsBinding.handleAppLifecycleStateChanged(binding.dart:713)
       at ServicesBinding._handleLifecycleMessage(binding.dart:261)
       at BasicMessageChannel.setMessageHandler.<fn>(platform_channel.dart:212)
       at _DefaultBinaryMessenger.setMessageHandler.<fn>(binding.dart:479)

ReferenceQueueDaemon:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.Object.wait(Object.java:568)
       at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:232)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

OkHttp ConnectionPool:
       at java.lang.Object.wait(Object.java)
       at com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:106)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

pool-7-thread-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at java.lang.Thread.run(Thread.java:1012)

Firebase Background Thread #2:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.b.b(:12)
       at com.google.firebase.concurrent.b.a()
       at com.google.firebase.concurrent.a.run(:4)
       at java.lang.Thread.run(Thread.java:1012)

awaitEvenIfOnMainThread task continuation executor1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at g1.x$a$a.a(:2)
       at g1.d.run(:5)
       at java.lang.Thread.run(Thread.java:1012)

queued-work-looper:
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:186)
       at android.os.Looper.loop(Looper.java:313)
       at android.os.HandlerThread.run(HandlerThread.java:67)

main:
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:186)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8757)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Firebase Background Thread #3:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.b.b(:12)
       at com.google.firebase.concurrent.b.a()
       at com.google.firebase.concurrent.a.run(:4)
       at java.lang.Thread.run(Thread.java:1012)

DefaultDispatcher-worker-3:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:357)
       at kotlinx.coroutines.scheduling.a$c.l(:23)
       at kotlinx.coroutines.scheduling.a$c.r(:48)
       at kotlinx.coroutines.scheduling.a$c.n(:60)
       at kotlinx.coroutines.scheduling.a$c.run()

com.google.firebase.crashlytics.startup1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at g1.x$a$a.a(:2)
       at g1.d.run(:5)
       at java.lang.Thread.run(Thread.java:1012)

FinalizerWatchdogDaemon:
       at java.lang.Thread.sleep(Thread.java)
       at java.lang.Thread.sleep(Thread.java:450)
       at java.lang.Thread.sleep(Thread.java:355)
       at java.lang.Daemons$FinalizerWatchdogDaemon.sleepForNanos(Daemons.java:438)
       at java.lang.Daemons$FinalizerWatchdogDaemon.waitForProgress(Daemons.java:480)
       at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:369)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

DefaultDispatcher-worker-2:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:357)
       at kotlinx.coroutines.scheduling.a$c.l(:23)
       at kotlinx.coroutines.scheduling.a$c.r(:48)
       at kotlinx.coroutines.scheduling.a$c.n(:60)
       at kotlinx.coroutines.scheduling.a$c.run()

Firebase Background Thread #1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.b.b(:12)
       at com.google.firebase.concurrent.b.a()
       at com.google.firebase.concurrent.a.run(:4)
       at java.lang.Thread.run(Thread.java:1012)

Crashlytics Exception Handler1:
       at dalvik.system.VMStack.getThreadStackTrace(VMStack.java)
       at java.lang.Thread.getStackTrace(Thread.java:1841)
       at java.lang.Thread.getAllStackTraces(Thread.java:1909)
       at g1.r.y(:16)
       at g1.r.o(:4)
       at g1.r.j(:45)
       at g1.r.d(:44)
       at g1.h0.r(:19)
       at g1.h0.s(:32)
       at g1.n$b.a(:49)
       at g1.n$b.call()
       at g1.k$c.then(:2)
       at com.google.android.gms.tasks.zze.run(:8)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at g1.x$a$a.a(:2)
       at g1.d.run(:5)
       at java.lang.Thread.run(Thread.java:1012)

FinalizerDaemon:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:203)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:224)
       at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:300)
       at java.lang.Daemons$Daemon.run(Daemons.java:140)
       at java.lang.Thread.run(Thread.java:1012)

TokenRefresher:
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:186)
       at android.os.Looper.loop(Looper.java:313)
       at android.os.HandlerThread.run(HandlerThread.java:67)

DefaultDispatcher-worker-1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:357)
       at kotlinx.coroutines.scheduling.a$c.l(:23)
       at kotlinx.coroutines.scheduling.a$c.r(:48)
       at kotlinx.coroutines.scheduling.a$c.n(:60)
       at kotlinx.coroutines.scheduling.a$c.run()

Firebase Background Thread #0:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1063)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.b.b(:12)
       at com.google.firebase.concurrent.b.a()
       at com.google.firebase.concurrent.a.run(:4)
       at java.lang.Thread.run(Thread.java:1012)

Okio Watchdog:
       at java.lang.Object.wait(Object.java)
       at java.lang.Object.wait(Object.java:442)
       at java.lang.Object.wait(Object.java:568)
       at com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:313)
       at com.android.okhttp.okio.AsyncTimeout.access$000(AsyncTimeout.java:42)
       at com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:288)

Firebase Blocking Thread #1:
       at jdk.internal.misc.Unsafe.park(Unsafe.java)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
       at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:463)
       at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
       at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:939)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
       at com.google.firebase.concurrent.b.b(:12)
       at com.google.firebase.concurrent.b.a()
       at com.google.firebase.concurrent.a.run(:4)
       at java.lang.Thread.run(Thread.java:1012)

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.10.6, on Microsoft Windows [Version 10.0.22621.1992], locale en-GB)
    • Flutter version 3.10.6 on channel stable at C:\Development\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (3 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Development
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = C:\Development
    • ANDROID_SDK_ROOT = C:\Development\tools
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

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

[√] Android Studio (version 2022.2)
    • 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 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.80.0)
    • VS Code at ~\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.68.0

[√] Connected device (3 available)
    • VOG L09 (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 10 (API 29)
    • Chrome (web)     • chrome             • web-javascript • Google Chrome 115.0.5790.110
    • Edge (web)       • edge               • web-javascript • Microsoft Edge 115.0.1901.188

[√] Network resources
    • All expected network resources are available.

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

@mfizz1
Thanks for the report. Can you provide your flutter doctor -v and plugin version you are using that is throwing the reported error ?
There was a similar issue fixed earlier this year that you can check and see if it helps in your case or not.

Updated the flutter doctor and plugin is as follows:
firebase_ui_auth:
    dependency: "direct main"
    description:
      name: firebase_ui_auth
      sha256: e439571fcad7ed48450eed8d64c70b93765526b876327055469806a51101eff0
      url: "https://pub.dev"
    source: hosted
    version: "1.6.2"

I have looked at the UserCreated state, but I am not sure how it would help in this case. The user is waiting for the email to be verified to move on the the "profile" page. This example is straight from the the docs. I saw last month, someone else raised this as an issue as well but it was closed without a fix #11052

Thanks for the update. I tried with the plugin example running on latest master version, registered new user, received email, verified but when clicked continue, I got dynamic link error, but while waiting to confirm, I didn't the reported error:

Are there any exact steps or if you could provide a short video when the error triggers would be good to make this issue actionable.

I suppose the question is, what is the expected behaviour here? Once the user verifies email, should it automatically proceed to the next screen? Or does the user have to sign in again or change resume state?
When you verified email, what happened on screen?
I will try producing the error locally.

Hi @mfizz1, have you been able to reproduce this locally? I used the plugin example app to do a registration and I was able to register without any issues.
As to what is supposed to happen when you verify your email, it depends on how you've setup your Auth States but with the plugin example app, you will be redirected to the profile page (and based on what I see in your code sample, the same thing should happen)

This is where it seems to be an issue. Whilst I am able to replicate the issue, in terms of the behaviour, it's not flagging up any issues.
The only way I am able to proceed to the screen after email verification, is to cycle to another app and back into this one. Which triggers something to go to profile page. Otherwise I'm waiting with the circular progress indicator.
I will try again today.

I have managed to produce locally! And noticed a lot more things. It is something to do with resuming from a paused state / cycling back the app. One of the other errors produced was:
════════ Exception caught by foundation library ════════════════════════════════
The following assertion was thrown while dispatching notifications for EmailVerificationController:
setState() called after dispose(): __EmailVerificationScreenContentState#a7daf(lifecycle state: defunct, not mounted)

This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.

The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().

When the exception was thrown, this was the stack
#0      State.setState.<anonymous closure>
#1      State.setState
#2      __EmailVerificationScreenContentState._sendEmailVerification.<anonymous closure>
#3      ChangeNotifier.notifyListeners
#4      ValueNotifier.value=
#5      EmailVerificationController.reload
<asynchronous suspension>
The EmailVerificationController sending notification was: EmailVerificationController#72e1b(EmailVerificationState.verified)
════════════════════════════════════════════════════════════════════════════════

@mfizz1
I tried again, this time, using the email client and app from same device and switched back and forth while email was being verified, but didn't get the above reported and originally reported error. Upon email verification, the user is taken to profile page as below:

Based on the error report, I am going ahead and labeling for team's attention and input.
/cc @lesnitsky


League\Flysystem\FileNotFoundException for existing files

Laravel Version: 8.83.23
PHP Version: 7.4.3
Database Driver & Version: mysql 8

Description:
Sometimes I get said exception regardless of the files being accessible.
The only thing that helps is to clear the cache php artisan cache:clear.
This is extremely annoying for my customers, since they need to notice it and to inform me to get access to their files.
Is there anything I can do to avoid this?
Original ticket at thephpleague/flysystem-aws-s3-v3
Steps To Reproduce:
This issue can not be reproduced at will

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


Robot is oscillating back and forth after passing v-shaped turning.

I set the global path in waypoin planner in v-shape:

When the robot is already 1.5 m past the corner point the new plan that shows up is pointing backwards and the robot starts to move back

After moving back a little ii gets a new plan, which correctly points towards the goal.

In this place robot swings back and forth until the plan gets aborted:
Aborting because the robot appears to be oscillating over and over. Even after executing all recovery behaviors
Video showing the problem:
https://user-images.githubusercontent.com/23712573/145777186-eea04ec3-b14b-4ff4-a0c3-8a32c696eeb5.mp4
Configuration
ROS version: melodic
Global planner: WaypointGlobalPlanner
The robot has a differential drive.
Teb planner configuration:
teb_local_planner_params.yaml.txt

The problem is caused be the following lines in funciton TebLocalPlannerROS::transformGlobalPlan:
      if (new_sq_dist > sq_dist_threshold)
        break;  // force stop if we have reached the costmap border

The assumption here is that: if the plan goes out of local costmap, than there is no point in iterating the plan any further. This assumption is wrong because the path can leave and reenter local costmap (see image below).

We can workaround this problem by decreasing global_plan_prune_distance parameter, but the correct solution would be to remove the above mentioned lines, as they are based on a wrong assumption.
Video before fix:
https://user-images.githubusercontent.com/23712573/145777186-eea04ec3-b14b-4ff4-a0c3-8a32c696eeb5.mp4
Video after fix:
https://user-images.githubusercontent.com/23712573/147055974-0373f5e5-7485-435c-b7de-12acf3d3d382.mov

Superbly reported issue!  thanks for the thorough analyses. The fix you propose looks correct; indeed, seems to me that the lines you are removing are a relic from the base_local_planner version, not needed here because on TEB we try to find the path's closest point to the robot. @croesmann , can you confirm this?
But I can only reproduce the issue by disabling path pruning (I just commented the line, but I suppose setting global_plan_prune_distance to inf will do the same)
Unless you have set global_plan_prune_distance to something very big, I guess your path has only 3 or four poses (the purple dots), and the pruning "fails" upon reaching this condition. Would you mind to check if that's the case? If pruning where working, the path starts 1m behind your robot, and the issue shouldn't happen.


Ability to 'auto' create groups based on a regex search. ( Create 'Roles' as groups )

I wasn't sure if you guys wanted to expand this module to include a feature to grant the ability to auto create groups in the PE console from a regex search for classes.
I plan to use this for auto creating a group for each Role class that is created.  This would require a custom fact called 'role' that is placed on each node to assist in the auto configuration.
I have two gist a function and an example class that could be used to accomplish this.  If this is something that you would be interested in I would submit a formal PR with the changes.
Fetch Function: https://gist.github.com/smbambling/4bb393aa509236c419ec
Example Class: https://gist.github.com/smbambling/2f7c4bd92e3519fe4a00

Hey Steven, terrific idea. I went ahead and wrote up a function that implements this concept using Puppet internals instead of the API. Feel free to weigh in on the conversation on PR #19. Thanks!


fix(webpack): Skip image optimisation in development

Coverage remained the same at 98.953% when pulling 99adac4fa80409342278793116c4636aaadfdf4b on MozMorris:image-webpack into 0f88f55ed905f8432c3dd7b452d713df5fb76d8e on mxstbr:dev.

I'm not 100% convinced this is a positive change. Image optimization is a tricky thing, and can, under certain circumstances, mess up your images.
Having different behaviour for that in prod and dev could lead to confusion when things are messed up in prod that aren't in dev.
I see where you're coming from, but I'm not convinced this is something we want to merge/do by default…

Max, thanks for your response. I shall make my case...
A reduction of ~60s in the initial boot time was enough to convince me. This is based on a project currently using only 9 pngs & 2 jpgs. We of course use a lot of SVGs and the pngs form part of our fallback.
As our project started to grow I found the slow down when booting the dev environment was mainly through image-loader optimising images. In my experience, image optimisation has always been part of the build process. Seems weird to optimise the images on every boot, even more so that these optimisations aren't persisted. I also can't recall when I've ever had a problem with imagemin messing up the optimisation, perhaps I've just been lucky.
You mentioned confusion. Isn't it just as confusing to see a difference (during development) between the browser and the image file on disk? At least in production I can quickly point to the image optimisation at build time and find the offending file on disk.
If you're still not convinced, then I'm happy to keep this timesaver for myself! 😉


Document optimization for LOCALFILE connector

Search before asking

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

What happened
When I use the localfile, I need to filter some files, but the current documentation does not provide detailed instructions on how to configure the file_filter_mattern property of the connector, which has caused me to continuously fail to filter files
SeaTunnel Version
V2.3.7
SeaTunnel Config
env {
  parallelism = 1
  job.mode = "BATCH"
}

source {
  LocalFile {
    path = "/seatunnel/read/"
    file_format_type = "csv"
    skip_header_row_number = 1
    // file example abcD2024.csv
    file_filter_pattern = "abc*"
  }
}
sink {
  Console {
  }
}

Running Command
./bin/seatunnel.sh --config job/test.config -e local

Error Exception
Unable to filter out files

Zeta or Flink or Spark Version
Zeta
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

assign to me


 My scans usually complete in a minute but now they’ve been running for hours.

@int3rlop3r If you'll pull the latest code on main, #871 should fix your issue!

I'm going to re-open this since @huxcrux saw this in #903, I'll take a look and see if it's similar.

I haven't seen this in my testing and I'm wondering that this isn't correlated with the root cause identified in #903. In that Issue, due to a bug in logic the delay that adjusts how fast packets are sent was set to zero. This could feasibly lead to packets being dropped if we can't handle sending packets that fast. I'm going to close this unless someone else sees it and we can re-investigate at that time.


Unit tests

fix

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


Add model

Codecov Report

Merging #1 (7a7d42b) into main (e21fe90) will increase coverage by 46.63%.
The diff coverage is 93.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@              Coverage Diff              @@
##               main       #1       +/-   ##
=============================================
+ Coverage     13.55%   60.19%   +46.63%
- Complexity       23       45       +22
=============================================
  Files             5        9        +4
  Lines            59      103       +44
=============================================
+ Hits              8       62       +54
+ Misses           51       41       -10

Impacted Files
Coverage Δ

.../Infrastructure/Security/Provider/UserProvider.php
11.76% <0.00%> (ø)

src/Infrastructure/Security/SymfonyUser.php
0.00% <0.00%> (ø)

src/Domain/Shopping/ShoppingCategory.php
100.00% <100.00%> (ø)

src/Domain/Shopping/ShoppingItem.php
100.00% <100.00%> (ø)

src/Domain/Shopping/ShoppingList.php
100.00% <100.00%> (ø)

src/Domain/User/Group.php
100.00% <100.00%> (ø)

src/Domain/User/User.php
100.00% <100.00%> (+100.00%)
:arrow_up:

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


"ERROR parsing time" when trying to log in

When I'm trying to log in using login and password I get error ERROR parsing time "2315230765" as "2006-01-02": cannot parse "230765" as "-"
my log id: bb4658ace2a28d261aa70a1c

This is likely an output from gpg -K --with-colons -a that we didn't expect...

@maxtaco  I was able to login using paper key.


Why The

Nice library, it will solve many problems!
So, attempting to render a string "<script>" block in a react component used for server side rendering is way more ugly than it should be, needing to completely take control of a containing element.
So sure, no problem yeh, we can:
<script
  dangerouslySetInnerHTML={{
    __html: `window.__ASYNC_PROPS__ = '${JSON.stringify(asyncProps.propsArray)}';`,
  }}
/>

But, why have the script string... an object is far more composable, it's a primitive structure. The script string seems to just overcomplicate things?
Why the generated script string?
Also, why should __ASYNC_PROPS__ contain a serialised JSON instead of just a normal JS object?

+1. I'm having trouble understanding the hydration currently.
The script tag returned by loadPropsOnServer has the following shape:
<script>__ASYNC_PROPS__ = [
  { /* ... */ }
]</script>

Ergo, an actual array is inserted. However, on the client side, it does a JSON.parse(__ASYNC_PROPS__), which basically ends up as JSON.parse([object Object]), which obviously fails.
Surely this can't be how it was intended?

@rexxars, the server hydrates to a script tag where the array is actually inside a string... it's very obscure! Note the '${JSON.stringify(asyncProps.propsArray)}'; in my snippet.

The code you posted does, but the script tag returned by loadPropsOnServer doesn't seem to.
loadPropsOnServer(renderProps, (loadErr, asyncProps, scriptTag) => {
    console.log(scriptTag);
}

Results in:
<script>__ASYNC_PROPS__ = [
  {
    "blogPosts": []
  }
]</script>

I had to use your method of manually JSON.stringifying the propsArray to get it to work.

You're right!
https://github.com/rackt/async-props/blob/master/modules/AsyncProps.js#L120-L130
Should definitely drop the JSON.parse

The tests are passing because the beforeEach step sets the JSON.stringify return value directly to a variable which ends up as a string , while the actual code that creates the script tag simply generates HTML, so it ends up as an array. Creating a pull request.

I agree, this is weird. I just removed the JSON.parse from the hydrate function for now

+1 I just hit this issue, came here to see if a pull request already existed.

I'm about to fork this project, I really need this stuff merged :/
On Fri, Dec 11, 2015 at 19:15 Alastair Taft<EMAIL_ADDRESS>wrote:

+1 I just hit this issue, came here to see if a pull request already
existed.
—
Reply to this email directly or view it on GitHub
https://github.com/rackt/async-props/issues/4#issuecomment-164086281.

Merged that stuff. the reason its a string is so that you don't have to care about that part and so AsyncProps can hydrate automatically, no user-land code at all.
The stringifying stuff was just a mistake, it happens :) I merged #7

@ryanflorence awesome! Thanks


Fix explorer view direct access

When scheme explorer view is visited in following order, it breaks:

Homepage
Select any state and constituency and go the constituency page
Select Explorer section
Select scheme

It breaks after the scheme is selected and it only breaks for schemes that don't have any data.

It should be disabled to to select schemes that don't have any data.
Thoughts @arunsud @samwhocodes @gggodhwani

This is fixed! Can you please recheck @tauseefsshah


[Bug]: Website footer bullet points

What happened?
It appears that after Docusaurus was updated to v20, the styling on the footer was affected.
What should have happened?
There should be no bullet points in the footer.
Steps to reproduce the bug

Go to taqueria.io
Scroll to the bottom of the page

Relevant log output
No response
Screenshots and images
Screenshot and images

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I spent quite a bit of time yesterday trying to add a list-style: none to the stylesheet for the docusaurus config but couldn't get it to remove the bullet points. Not sure if the style is overloaded by another stylesheet or something else
@HamidGoudarzi1988, do you have any idea as to where we would set this style?

Hi @hu3man , exactly true just need to select the items which are ".footer-items", could you please take a look at this pr:

and let me know if it needs more tweaks
thanks

Works great, thanks so much for hopping on this right away @HamidGoudarzi1988!


CenterCrop is incompatible with torch.jit.trace

CenterCrop is not traceable
from torchvision.transforms import CenterCrop

c = CenterCrop(size=(112, 112))
torch.jit.trace(c, example_inputs=torch.ones((200, 200)))

TypeError: type Tensor doesn't define __round__ method

The reason being these 2 lines in torchvision.transforms.functional.py (line 590)
crop_top = int(round((image_height - crop_height) / 2.0))
crop_left = int(round((image_width - crop_width) / 2.0))

rewriting this with the val // 2 operator instead of int(round(val / 2.0)) will have exactly the same output, be simpler and traceable.
crop_top = (image_height - crop_height) // 2
crop_left = (image_width - crop_width) // 2

proof:
There are 2 situations:

val is even
val is odd

if even the result will be the same because val / 2.0 == something.0 and if odd  val / 2.0 == something.5, round rounds down in that case so it will be the same too.
>>> round(2.5)
2

I'm not sure it's going to work in general @JBarmentlo . For example round(3.5) rounds up to 4, not down to 3.
[ins] In [13]: for x in range(20):
          ...:     a = int(round(x / 2))
          ...:     b = x // 2
          ...:     if a != b:
          ...:         print(f"Oops {x, a, b}")
          ...:
Oops (3, 2, 1)
Oops (7, 4, 3)
Oops (11, 6, 5)
Oops (15, 8, 7)
Oops (19, 10, 9)

All those transforms are torchscriptable though. Some may not be traceable, but we have prioritized scripting support over traceability.


Jahidchetti/#325 building images

Images of buildings can now be added and editted.

also includes fixes for the following issues that emerged after a previous pr merge

add pdf guide was gone from building insert form, put it back
region selector in building insert form was broken, is fixed now


Connection reset by peer (again)

Hello,
Telepot is great, it is working perfectly (over longtime) with version 7.1 and python 2.7.
After installing version 12.0 I get from time to time an error message when trying to send a textmessage. When catching this error (and logging it), a later attempt after some seconds to send another message works perfectly. It seems to me to be this problem with urllib again discussed for version 8 but obviously not fixed in version 12. The problem seems to appear after an idle time (no messages sent) of some hours.
What can I do?
Error log:
ERROR | Textnachricht konnte nicht gesendet werden. Traceback (most recent call last):   File "/home/pi/Projekte/Mybot/telegram.py", line 483, in telegram_text     bot.sendMessage(shared.telegram_users_authentified[i][1], message, reply_markup=show_individual_keyboard)   File "/usr/local/lib/python2.7/dist-packages/telepot/__init__.py", line 445, in sendMessage     return self._api_request('sendMessage', _rectify(p))   File "/usr/local/lib/python2.7/dist-packages/telepot/__init__.py", line 434, in _api_request     return api.request((self._token, method, params, files), **kwargs)   File "/usr/local/lib/python2.7/dist-packages/telepot/api.py", line 130, in request     r = fn(*args, **kwargs)  # fn must be thread-safe   File "/usr/local/lib/python2.7/dist-packages/urllib3/request.py", line 148, in request_encode_body     return self.urlopen(method, url, **extra_kw)   File "/usr/local/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 321, in urlopen     response = conn.urlopen(method, u.request_uri, **kw)   File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 649, in urlopen     _stacktrace=sys.exc_info()[2])   File "/usr/local/lib/python2.7/dist-packages/urllib3/util/retry.py", line 357, in increment     raise six.reraise(type(error), error, _stacktrace)   File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 600, in urlopen     chunked=chunked)   File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 379, in _make_request     httplib_response = conn.getresponse(buffering=True)   File "/usr/lib/python2.7/httplib.py", line 1073, in getresponse     response.begin()   File "/usr/lib/python2.7/httplib.py", line 415, in begin     version, status, reason = self._read_status()   File "/usr/lib/python2.7/httplib.py", line 371, in _read_status     line = self.fp.readline(_MAXLINE + 1)   File "/usr/lib/python2.7/socket.py", line 476, in readline     data = self._sock.recv(self._rbufsize)   File "/usr/lib/python2.7/ssl.py", line 714, in recv     return self.read(buflen)   File "/usr/lib/python2.7/ssl.py", line 608, in read     v = self._sslobj.read(len or 1024) ProtocolError: ('Connection aborted.', error(104, 'Connection reset by peer'))
Simplified python function used to send the messages.
# Text per Telegram senden
def telegram_text(message,anwen_ID):
	global bot

	# Custom Keyboard
	show_individual_keyboard = {'keyboard': [['/scharf', '/teilscharf'],['/unscharf', '/status']], 'resize_keyboard': True}

	try:
		bot.sendMessage(str(anwen_ID), message, reply_markup=show_individual_keyboard)
		log.info("Textnachricht an ID " + str(anwen_ID) + " geschickt")
	except:
		log.exception("Textnachricht an ID " + str(anwen_ID) + " konnte nicht gesendet werden.")

That problem that you mentioned ( #87 ) was supposedly fixed by introducing a retry parameter in the connection pool (see my comment on Jul 26, 2016). Maybe your situation, due to whatever reason, demands a higher number of retries. Can you put this section at the beginning of your program and see if it makes any difference?
import telepot.api

telepot.api._pools = {
    'default': urllib3.PoolManager(num_pools=3, maxsize=10, retries=6, timeout=30),
}

Thanks for the quick answer!
What I don't understand: If you don't have reduced the number of retries between version 7.1 and the new version with the urllib: Increasing the number now seems to be a kind of a workaround repairing a hidden problem introduced after 7.1 and there might be situation where increasing the number of retries do not cover the original problem. So I am a little sceptic how reliable (important for me) will be a solution based on an increased number of retries found by testing. Or am I wrong?
So you mean import telepot and telepot.api (which I have not seen before)? This then would like this - correct?
def telegram_initialize():
	global bot
	import telepot
	import telepot.api

	try:
		telepot.api._pools = {
		'default': urllib3.PoolManager(num_pools=3, maxsize=10, retries=6, timeout=30),
		}
		bot = telepot.Bot(my_telegram_token)

	except:
		log.error("Telepot konnte nicht initialisiert werden.")

I forgot which version it was, but somewhere between 7.1 and now, I introduced connection pooling, which is implemented in the module telepot.api. #87 happened right after connection pooling was introduced. Version 7.1 (the one you were using) did not have connection pooling, meaning every time it contacts Telegram servers, a brand new HTTP connection is used.
So, it seems:

Connection pooling: need retries
Individual connections: no retries needed

Why the difference? I have no idea. I can't think of any changes after 7.1 which may cause such a problem. If I really want to know, I would look more deeply into urllib3. But I have no such motivation.
If you want as much stability as before, you may try to override the function _which_pool() to make it use an individual connection every time:
def always_use_new(req, **user_kw):
    return None

telepot.api._which_pool = always_use_new

I haven't tried this code, but it should not be far off. The point is, you can use the function _which_pool() to dictate which pool to use or to use a new connection.
Another way to achieve more stability is to catch the exception yourself and retry. I understand that's troublesome and is basically shifting the responsibility from the library to the user. That's why I don't expect you to do that, although it is one way out.
Good luck.

One more thing. Before version 8.0 and connection pooling, I was using Requests. I didn't remember why I chose urllib3 over Requests for connection pooling ..... Maybe Requests did not have proper connection pool then .....
Today I look again, Requests does have it now. Maybe I should give it a try?

I would really appreciate if I could use the newest features of Telegram with your new Telepot versions, because I really like your library. But to be honest, I have a couple of bugs in my own code I have to fix first before digging into your codes. And to be honest I don't really know the concepts of pooling, retries, requests etc. what you explained above.
So I would be very happy if you could find out what reduced the stability after 7.1. If that would end in a bugfix that would of course be the best solution. A tested configuration tutorial could be a solution that would also help.
In any case: Thanks a lot.

I am actually considering making the underlying HTTP library configurable. That is, it allows you to switch between urllib3 and Requests. As I said, I did not see anything that may cause the instability after 7.1, except the changeover to urllib3 and connection pooling. If Requests proves to be stable, I may actually ditch urllib3 and use Requests solely.
I can't promise when that will be done (and can't guarantee things will be more stable under Requests). For now at least, the easiest path to stability seems to be to revert back to 7.1.
In any case, thanks for using telepot. Since this is all voluntary work, sorry I can't provide much prompt assistance in this respect.

Hello Nick! Great lib, thanx!
Got ProtocolError: ('Connection aborted.', error(104, 'Connection reset by peer'))

I get this error for many times but only after script is idle for some time. Maybe for 1-2 hours.

In ont certain script it comes really often, but maybe i updated smth accidentally(. Error occurs maybe in 50% cases, when the script runs this part of code:
for ... in ... : # here are 3 pics
send_photo(chat_id, open(filename1, 'rb'))
for ... in ... : # 1 pic
send_photo(chat_id, open(filename2, 'rb'))
send_photo(chat_id, open(pic1, 'rb'))
send_photo(chat_id, open(pic2, 'rb'))
send_message(chat_id, 'some text here')   # only this line often leads to error. Not others
send_video(chat_id, open(vid1, 'rb'))
send_video(chat_id, open(vid2, 'rb'))

So the solution is install telepot 7.1, right?

For me reverting to v7.1 solve urllib3 "idle issue"/connection reset.
As I saw two independent TCP connections are established after resposne for first command - I bet one is open for getUpdates and the other one for sending responses. This TCP for sending responses got frozen after a certaing time (like 10+ minutes) and throw an exception mentioned above (e.g. Connection reset by peer or connection timeout) and then establish new tcp pipe but the response (in my case) was never delivered as it was discarded on terminated tcp pipe. My guess would be to add some kind of keep alive/pings for this "sending pipe" between script and Telegram API. I'm not sure how and if configurable in urllib3.
The other solution is to keep the "sending pipe" busy by sending "dummy" message every minute but this is an ugly hack for me.
Again  - in opinion: "old Requests" >>>>> "urllib3" within connection pooling. As for now I'm staying on v7.1 and looking forward for an option to choose Requests in future releases of your great libs @nickoala!

Thanks for the info, @D0m3L. Just to let you know, I really can't say when the option to choose between Requests and urllib3 will be done (or at all), because telepot is not a priority in my life right now. In any case, thanks for the support.


Send VIQE inspection report to Orion

Summary
Make VIQE send quality inspection reports to Orion.
Intended outcome
After a quality inspection session, VIQE sends an inspection report to the Orion service deployed at: http://kitt4sme.collab-cloud.eu/orion. Orion successfully stores inspection reports and makes them available to other KITT4SME services as NGSI entities.
How will it work?
VIQE assembles inspection data into an NGSI entity and then POSTs that entity to Orion (/v2/entities endpoint). The HTTP request should include a FIWARE service header with the KITT4SME tenant who owns that data---e.g. I-TEK. Have a look at the I-TEK field test to see how this task fits in the broader context of pilot deployments and for the data model specification. Notice communication for now will happen over plain HTTP and KITT4SME won't enforce security policies. Later on, we'll secure communication and enforce security policies.

@innovacion-rovi, have a look at the curl POST request in:

https://github.com/c0c0n3/kitt4sme.live/blob/main/docs/ngsi-persistence.md

for an example of how VIQE can send data to Orion.

just copy-pasting here an example of inspection report entity @innovacion-rovi emailed me
{
  "id": "001",
  "type": "Raw_Material",
  "Inspection_Result": {
    "type": "Boolean",
    "value": true
  },
  "Area": {
    "type": "Number",
    "value": 36.1
  }
}

Done as part of the work for the Apr 2022 GA demo.


CSS files of examples : question

Hi,
nice api:) Where can I finde the css files of the examples like
https://xieziyu.github.io/angular2-draggable/#/usage/boundary
This are some classes...
Best regards,
Chris

@chris938626 Source codes are shared in this repo (src folder).


Luck Perms MySQL Database Issue

Hello,
So I am trying to connect to a MySQL database that my permissions are all saved on. All my other servers are connected to this database and work, but this one server does not appear to be connecting. I tried updating the plugin, I tired re-installing it completely, and I am not quite sure what else I can do. Recently my server was terminated by the host by mistake, but they recovered it onto a different server with a new IP address. In essence, it is the same server with a new ip and port. I am not sure if this is the problem because before the server was terminated it was using this database. Here is the error code I keep getting: https://pastebin.com/EXXetZwe.
Thank you!

Hi Korra2,
See if you can fix the issue with some of the things mentioned on this page.
https://github.com/lucko/LuckPerms/wiki/Storage-system-errors#luckperms-cannot-connect-to-my-mysql-server

I found the issue. It had to do with the host.
Thanks


A11y_SQLAzureDataStudio_ImportBacpac_Import Bacpac Settings_ScreenReader:Heading level is announced for the labels of the edit box.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#Win32;#MAS1.3.1;#JAWS;#NVDA;
Environment Details:
Application Name: Azure Data Studio
Version: 1.16.0-insider
OS: Windows_NT x64 10.0.18363
Additional Details:
Screen reader: NVDA, JAWS
MAS References:MAS1.3.1
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Extensions from left menu.
Search & install Dacpac extension.
Navigate to Connections from left menu.
Expand the server connected in step 2.
Right click an on prem database and select Data-tier application wizard from Context menu.
Select third radio button.
Navigate till next button & hit enter.
Launch screen reader as NVDA.
Navigate to the labels of each edit box using insert+numpad keys(7,4,1)

Actual:
On navigating to the labels "file location, target server, target database" of the respective edit box using insert +numpad keys they are announced with a heading level "2".
Same issue found with JAWS.
Same issue in the following page:

Export Bacpac Settings
Add new controller

Expected:
Heading levels for the labels should not be announced.The names of the labels itself should be announced.
User Impact:
Screen reader users will receive wrong information about the heading structure.
Attachment link for Reference :
A11y_SQLAzureDataStudio_ImportBacpac_Import Bacpac Settings_ScreenReader9172.zip

@fsteffi why is it not acceptable to announce heading level 2? In this previous issue announcing heading level 2 was added for labels and the issue was closed as fixed.

@kisantia the previous bug the issue was logged for the heading of the page and the header of the table .Here the issue is logged for the labels of the edit box , these labels are not headings hence they should not be announced as headings.

should be using the same component as #9230

GithubTags:#Closed;Version 1.42.0 insider

GitHubTags:#SQLADS-Win32-Feb2020;


chore(deps): update cargo-mobile2 to 0.15

waiting on https://github.com/tauri-apps/cargo-mobile2/pull/375 and a new release for cargo-mobile2


Installing fme from GH url not successful

This repo's docs recommend installing fme via pip from this repo's GH url.
pip install git+https://github.com/ai2cm/ace#subdirectory=fme
However this results in failure to import fme:
(ace) brianh@brian-vm:~/dev$ python -c "import fme"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/__init__.py", line 5, in <module>
    from . import ace
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/ace/__init__.py", line 3, in <module>
    from fme.ace.inference.data_writer.time_coarsen import TimeCoarsenConfig
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/ace/inference/__init__.py", line 1, in <module>
    from .loop import run_inference_evaluator
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/ace/inference/loop.py", line 9, in <module>
    from fme.core import SingleModuleStepper
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/core/__init__.py", line 1, in <module>
    from .climate_data import ClimateData
  File "/home/brianh/miniconda3/envs/my_env/lib/python3.10/site-packages/fme/core/climate_data.py", line 15, in <module>
    from fme.core.data_loading.data_typing import SigmaCoordinates
ModuleNotFoundError: No module named 'fme.core.data_loading'

FYI current workaround is to clone repository and install from sources (e.g. call make create_environment).

This might be because of a missing __init__.py in fme.core.data_loading.


Is there an upgrade guide?

I revisited my old GitPitch presentations and they don't work as they used to anymore. For example <!-- .element: class="fragment" --> doesn't work anymore. Is there any upgrade guide? Or at least a changelog?

There is no upgrade guide. But the Markdown Fragments Guide provides details on how best to activate fragments for content on your slides.
If that does not address your problem share a link to your deck and I will take a look. If you share a link, please point out which slide or slides demonstrate whatever problems you encountered.

Thinking further, the syntax you indicated should work, it has not been deprecated. So can you please share a link to your deck so I can investigate. It would be helpful if you could point out which slide or slides demonstrate whatever problems you encountered.Thanks.

@gitpitch
Broken slide: https://gitpitch.com/EvgenyOrekhov/talks?p=can-we-live-without-this#/5/1
Source: https://github.com/EvgenyOrekhov/talks/blob/master/can-we-live-without-this/PITCHME.md#with
I don't know if it's related, but you can see that code indentation is also broken on the slide.

I've just looked over your PITCHME.md for your deck and I'm seeing some unexpected syntax. Specifically, your use of the following comment syntax on a line all of it's own with no connection to any slide element:
<!-- .element: class="fragment" -->

What do you expect this to do? I don't expect it to do anything.
Per the Reveal README:

Special syntax (through HTML comments) is available for adding attributes to Markdown elements. This is useful for fragments, amongst other things.

The example they use is as follows:
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->

Obviously GitPitch  has a much simpler ways to achieve the same result for list items:

---

- Item 1 |
- Item 2 |

---

@ul
- Item 1
- Item 2
@ulend

These snippets show the old way for plain-text list item fragments and the recommended way for all lists fragments using the List Markdown Widget.
But back to your original issue, the key thing about the HTML comment feature is that the syntax is used on an element. In the example from the Reveal README, on list item elements.
In your deck, you are using this comment syntax but it is not directly connected with any element on your slide. And as such it does nothing. If this once did something for you it was coincidental. This feature has never been intended to support nor documented to be used as you are currently using it.
Here are some concrete suggestions for you:

![Edsger W. Dijkstra](img/dijkstra.jpg)

Edsger W. Dijkstra

<!-- .element: class="fragment" -->

---

![Edsger W. Dijkstra](img/dijkstra.jpg)

Edsger W. Dijkstra <!-- .element: class="fragment" -->

---

![Edsger W. Dijkstra](img/dijkstra.jpg)

@css[fragment](Edsger W. Dijkstra)

---

![Edsger W. Dijkstra](img/dijkstra.jpg)

@div[fragment]
Edsger W. Dijkstra
@divend

Each of these slide snippets are explained as follows:

The first slide shows your original markdown
The second slide shows how you can fix your original markdown using comment syntax
The third slide shows how you can use a GitPitch shortcut syntax
The fourth slide shows how you can keep your content and styling separate

Slides 2, 3, and 4 will all render the same. Which approach you take is really up to personal preference.
Whatever approach you take, you will need to update your deck. And I refer you again to the Markdown Fragments Guide for best practices. If you can't find the answer you need for a specific slide in that guide, let me know and I can advise further.

@gitpitch I was using the <!-- .element: class="fragment" --> syntax to reveal code blocks one by one. In this example only the first code block used to appear, and I had to press the down arrow to reveal the next code block:
```js
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bing = true;
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bang = true;
```

```js
with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) {
    bing = true;
    bang = true;
}
```

<!-- .element: class="fragment" -->

What is the proper way to achieve this?

Ok. So if you are a GitPitch subscriber on a paid-plan you can take advantage of the advanced fenced-code blocks syntax:
```js
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bing = true;
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bang = true;
```

```js fragment
with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) {
    bing = true;
    bang = true;
}
```

And if you are on the free plan the simplest approach is to wrap the second code block on your slide in div or snap tags, like this:
```js
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bing = true;
ooo.eee.oo.ah_ah.ting.tang.walla.walla.bang = true;
```

@div[fragment]
```js
with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) {
    bing = true;
    bang = true;
}
```
@divend

Either approach should give you what you need.

@gitpitch Thank you for quick replies! Great support!


"s-join: Wrong type argument: sequencep, 47" followed by "s-join: Wrong type argument: listp, ..."

This may be related to a few other recent issues (#32, #36, #15, #19), but I wasn't sure.
When I run conda-env-activate, I first get the following error:
s-join: Wrong type argument: sequencep, 47
If I run it again, I get:
s-join: Wrong type argument: listp, "/Users/sfp/miniconda3/bin/:/Users/sfp/miniconda3/condabin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/sbin/:/sbin/:/Library/TeX/texbin/:/opt/X11/bin/:/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10/:/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10/:/Applications/Emacs.app/Contents/MacOS/libexec/"
Output of M-x version:
GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-30
Using version 20190531.1807 installed from melpa.
Please let me know if there's anything I can do to help out with debugging this.

@sampotter thank you for reporting this! I'm hoping these will be fixed by #34, which should be built and on melpa in the next few hours -- I'll close it for now, optimistically, but please reopen if you update and are still seeing the issue.

This worked for me. Thank you!


[BUG] Wrong game repack

Describe the bug
the game i was going to download has the wrong repack in it
Steps to Reproduce

go to the Oneshot page
click on the download button

Expected behavior
it was supposed to have the right game re-pack in it, but it has a re-pack from a different game.
Screenshots

Operating System
Windows 10
Hydra Version
1.2.4
Additional Information
No response

side effect to how hydra index the games, we will improve in the future.


Error while executing command

[18:09:06] [Server thread/ERROR] [Sponge/]: Error occurred while executing command 'warp chateau' for source EntityPlayerMP['DeathChain01'/0, l='world', x=-891.30, y=74.00, z=-479.59]: org.spongepowered.api.Game.getSyncScheduler()Lorg/spongepowered/api/service/scheduler/SynchronousScheduler;
java.lang.NoSuchMethodError: org.spongepowered.api.Game.getSyncScheduler()Lorg/spongepowered/api/service/scheduler/SynchronousScheduler;
at com.blocklaunch.blwarps.managers.WarpManager.scheduleWarp(WarpManager.java:150) ~[WarpManager.class:?]
at com.blocklaunch.blwarps.commands.executors.WarpExecutor.execute(WarpExecutor.java:53) ~[WarpExecutor.class:?]
at org.spongepowered.api.util.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:173) ~[ChildCommandElementExecutor.class:1.8-1446-2.1DEV-500+unknown-b500.git-unknown]
at org.spongepowered.api.util.command.spec.CommandSpec.process(CommandSpec.java:333) ~[CommandSpec.class:1.8-1446-2.1DEV-500+unknown-b500.git-unknown]
at org.spongepowered.api.util.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:342) ~[SimpleDispatcher.class:1.8-1446-2.1DEV-500+unknown-b500.git-unknown]
at org.spongepowered.api.service.command.SimpleCommandService.process(SimpleCommandService.java:243) [SimpleCommandService.class:1.8-1446-2.1DEV-500+unknown-b500.git-unknown]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:85) [cl.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:812) [rj.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:791) [rj.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_180757_a(SourceFile:37) [lu.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(SourceFile:9) [lu.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [ih.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_67]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_67]
at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:656) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364) [po.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]

Thanks for posting this issue, but know that I am aware of this. This happened because the Scheduler was recently changed, and so I will need to update the plugin. I am currently waiting on SpongePowered/SpongeAPI#742 to be fixed so I can use the SpongeAPI Maven repo with said scheduler changes.

I figured you knew already, I just wanted to be sure.


Travel Anchor Shader support

Is there an existing issue for this?

[X] I did not find any existing issues.

Current Behavior
The rendering of the block appears under the floor, which is not expected, only with the shaders active.

Expected Behavior
No response
How to Test
No response
Local Environment
**Operating System**: Win11
- **Java version**: jdk-21
- **Minecraft Version**: 1.20.1
- **Version**: ATM9 to the skys modpack as 1.1.1
- **Other Mods**: Applied Energistics 2, Mekanism... ATM9 to the skys modpack.
- Oculos 1.7 - Complementary Shaders - Reimagined r5.2.2
- EnderIO - 6.1.8-beta

Any Additional Information?
No response

You need to specify which Shader mods and packs you are using

Operating System: Win11

Java version: jdk-21
Minecraft Version: 1.20.1
Version: ATM9 to the skys modpack as 1.1.1
Other Mods: Applied Energistics 2, Mekanism... ATM9 to the skys modpack.
Oculos 1.7 - Complementary Shaders - Reimagined r5.2.2
EnderIO - 6.1.8-beta

@pGommes that not what he meant, version is for EnderIO not for modpack version, other mods shader that are affected and etc.

@pGommes that not what he meant, version is for EnderIO not for modpack version, other mods shader that are affected and etc.

EnderIO - 6.1.8-beta

arranging the version around, but it's fine anyways we can work with it, also not sure what chonky is saying tho, might be title tho that he changed, don't worry about changing anything


Keycloak docs

I'm going to merge this myself in the interests of everyone working off the same docs.
It now contains Keycloak info so is more correct than before!
But I see these docs as a work in progress still.


[ERB-866] Adapt for use package on lafourchette-bo

As it failed and seems related to BC issue on symfony. I will do on a different way.


Bluetooth "Driver Entry Point Not Found"

[x] I have searched open and closed issues for duplicates
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] I have read https://vigem.org/Community-Support/
[x] This isn't a feature request or a discussion topic

Bug description
Describe here the issue that you are experiencing.
Uninstalled this program yet my Bluetooth seems to be not working anymore. Searched and followed almost a dozen other solutions for similar issues (yet can't quite find the same exact one). I get the Bluetooth yellow triangle error symbol in Device Manager with Device Status as:
"Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)
{Driver Entry Point Not Found}
The %hs device driver could not locate the entry point %hs in driver %hs."
I've attempted uninstalling drivers, rebooting, manually installing drivers,etc. nothing works. This is a notebook running Windows 10, using built in Bluetooth. Really can't afford a factory reset right now all over this one program. Please help, thank you.
Steps to reproduce

using hyphens as bullet points
list the steps
that reproduce the bug

-Uninstall
-Attempt to use Bluetooth?
Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)
Bluetooth is gone, drivers can't be reinstalled correctly
Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)
Bluetooth should work as normal
Screenshots

Machine info
x64 Win 10
Any other helpful information

Searched and followed almost a dozen other solutions for similar issues (yet can't quite find the same exact one)

Except the official docs it seams...
Also run this.
Cheers

Thanks, but when I try to run the Legacinator I get a "Legacinator has stopped working" and it crashes before anything can happen


generator: Groq API

Add support for LLMs hosted via Groq's OpenAI-compatible API.

recheck

Thank you! Will take a look.


Upgrade Terraform Version Used from 0.12 to 0.13

🗣 Description
This PR updates the Terraform version that this project pins against from Terraform 0.12 to 0.13.

💭 Motivation and context

🧪 Testing

📷 Screenshots (if appropriate)

✅ Checklist

[x] This PR has an informative and human-readable title.
[ ] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

@mcdonnnj - is this PR ready for review?


Backend specific, custom request headers in K8s

What does this PR do?
Adds the ability to add custom request headers based on service.
https://github.com/containous/traefik/issues/4530
Motivation
Support Linkerd side car TLS when injected into a Traefik deployment. Specifically, this allows the addition of custom request headers distinct to a backend in a canary deployment ingress.
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes
This is a WIP PR in order to get feedback. Tests and documentation updates to follow.

Thanks for your contribution :+1:
Sorry for the late response.
We consider this change as an enhancement or we only accept bug fixes on the v1.7 branch.
The new architecture of the Traefik v2 is very different and the implementation is no longer compatible, so we will close this PR.
We would like to have a more detailed use-case in the issue so we can better assess the need.


Fhir response parsing error

Hi, I tried to use the library in parsing fhir response but I got "UnexpectedValueException: Unable parse provided input object of type "stdClass"  error. I checked the PHPFHIRResponseParser (DCarbone\PHPFHIRGenerated\R4\PHPFHIRResponseParser) class and found the exception in parseObjectInput function. Seems that the class is expecting an instance of PHPFHIRTypeInterface but the fhir response is in object/class type. I followed the sample response parsing in https://github.com/dcarbone/php-fhir. Did I miss some setup to make it work? Btw, we are using Azure Fhir Server vR4.
Sample fhir response:
   "resourceType": "Patient",   "id": "uuid-1234",   "meta": {     "versionId": "4",     "lastUpdated": "2020-08-17T02:49:33.943+00:00"   },   "active": true,   "name": [     {       "use": "official",       "family": "try",       "given": [         "Mike"       ]     }   ],

@chkm8: this should work if you feed it either the raw JSON string or an associative array via $decoded = json_decode($json, true).
Let me know if either of those approaches does not work.

Cool, its now working, I encoded the object and passed it in the parser. Big Thanks!
$object = $parser->parse(json_encode($fhir_respoonse));

sure thing.  question though: are you retrieving the data in the first place?  something must be unmarshalling the response from a raw json string into the stdClass object.  are you using Guzzle, or some other common PHP http client?

Yes I'm using guzzle. Seems that I did converted the response using json_decode before I passed it into the parser class. I removed it already and used the parse as it is.

Alright, great.  Let me know if you run into any other problems.

Another question btw, is there a way I could override or update the value of the class? I wanted to override the FHIRBundleEntry->fullUrl into our custom url instead of the azure fhir server url. I tried to update the code in FHIRBundleEntry and add str_replace before its being converted to FHIRUri object. I wanted to know if there's a way like passing a config key in PHPFHIRResponseParserConfig class or I'll have to copy all of the class inside vendor/dcarbone/php-fhir-generated/src/DCarbone/PHPFHIRGenerated/R4 and add them into may project?


APM Provisioning and Import via BIG-IQ Fails

Environment

Declarative Onboarding Version: 1.5.1-1
BIG-IP Version: <IP_ADDRESS>
BIG-IQ Version: <IP_ADDRESS>

Summary
Onboarding cluster via BIG-IQ with APM provisioned requires different declarations for each device, and specific order of operations to succeed.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declarations to onboard each device in the cluster:

{
    "class": "DO",
    "declaration": {
        "schemaVersion": "1.5.0",
        "class": "Device",
        "async": true,
        "Common": {
            "class": "Tenant",
            "hostname": "{{hostname}}.{{domain}}",
            "myLicense": {
                "class": "License",
                "licenseType": "licensePool",
                "unitOfMeasure": "yearly",
                "licensePool": "{{ltmLicensePool}}",
                "skuKeyword1": "{{ltmLicenseSku}}",
                "overwrite": true,
                "bigIpUsername": "{{user}}",
                "bigIpPassword": "{{password}}"
            },
            "myProvision": {
                "class": "Provision",
                "ltm": "nominal",
                "asm": "nominal",
                "avr": "nominal",
                "afm": "nominal",
                "apm": "nominal"
            },
            "myDbVariables": {
                "class": "DbVariables",
                "ui.advisory.enabled": "true",
                "ui.advisory.color": "red",
                "ui.advisory.text": "{{hostname}}.{{domain}}",
                "provision.extramb": "500",
                "restjavad.useextramb": "true"
            },
            "myDns": {
                "class": "DNS",
                "nameServers": [
                    "<IP_ADDRESS>"
                ],
                "search": [
                    "{{domain}}"
                ]
            },
            "myNtp": {
                "class": "NTP",
                "servers": [
                    "pool.ntp.org"
                ],
                "timezone": "America/Chicago"
            },
            "ext_vlan": {
                "class": "VLAN",
                "interfaces": [
                    {
                        "name": "1.1",
                        "tagged": false
                    }
                ]
            },
            "int_vlan": {
                "class": "VLAN",
                "interfaces": [
                    {
                        "name": "1.2",
                        "tagged": false
                    }
                ]
            },
            "ext_self": {
                "class": "SelfIp",
                "address": "{{extIp}}/24",
                "vlan": "ext_vlan",
                "allowService": "none"
            },
            "int_self": {
                "class": "SelfIp",
                "address": "{{intIp}}/24",
                "vlan": "int_vlan"
            },
            "defaultRoute": {
                "class": "Route",
                "gw": "<IP_ADDRESS>",
                "network": "default"
            },
            "myConfigSync": {
                "class": "ConfigSync",
                "configsyncIp": "{{intIp}}"
            },
            "myFailoverUnicast": {
                "class": "FailoverUnicast",
                "address": "{{intIp}}"
            },
            "myDeviceTrust": {
                "class": "DeviceTrust",
                "localUsername": "{{user}}",
                "localPassword": "{{password}}",
                "remoteHost": "{{intIp}}",
                "remoteUsername": "{{user}}",
                "remotePassword": "{{password}}"
            },
            "syncFailoverGroup": {
                "class": "DeviceGroup",
                "type": "sync-failover",
                "owner": "{{hostname}}.{{domain}}",
                "members": [
                    "{{hostname}}.{{domain}}",
                    "{{hostname2}}.{{domain}}"
                ],
                "autoSync": true,
                "asmSync": true,
                "networkFailover": true
            }
        }
    },
    "targetUsername": "{{user}}",
    "targetHost": "{{mgmtIp}}",
    "targetPassphrase": "{{tempPassword}}",
    "bigIqSettings": {
        "failImportOnConflict": false,
        "conflictPolicy": "USE_BIGIQ",
        "deviceConflictPolicy": "USE_BIGIP",
        "versionedConflictPolicy": "KEEP_VERSION",
        "clusterName": "{{clusterName}}",
        "useBigiqSync": true,
        "statsConfig": {
            "enabled": true,
            "zone": "default"
        },
        "accessModuleProperties": {
            "cm:access:access-group-name": "{{clusterName}}",
            "cm:access:import-shared": true
        }
    }
}

Observe the following error response:

{
    "code": 422,
    "status": "ERROR",
    "message": "failed",
    "errors": [
        "Failed to manage device for <IP_ADDRESS>. See log for details: Import for access ended in a FAILED status with: Device '<IP_ADDRESS>' can only be added to access group (v15-cluster). Shared import of access group from this device is not allowed."
    ]
}

Expected Behavior
The DO declaration should create the access cluster and import the standby device without forcing the user to send different declarations, or to send them in a specific order.  This is how the creation of deviceTrust and deviceGroups are handled, each device receives identical declarations for these objects, and DO completes the task without regard for the order of operations or user knowledge.
Actual Behavior
Attempts to onboard and import a cluster with APM provisioned fails with the error provided.

Closing for inactivity. If you are still encountering issue, please reopen this ticket for a file a new one.


Would it be possible to consider creating a group chat on an instant messaging platform?

What would you like to be added:
Why is this needed:

@abstractmj We've already got a channel  #clusternet on https://cloud-native.slack.com. Feel free to join in.

Join Page: https://communityinviter.com/apps/cloud-native/cncf


dsl: better fix for custom coefficients on staggered grids

Also fixes the issue where custom coefficients would not be applied to forward or backward timesteps

closing, as superseded by #1644


Query being 'unscoped' of all conditions if there is a paranoid model referenced in a subquery

On upgrading to Rails 5, we noticed that certain queries that were using the with_deleted method were transforming to a completely unscoped query like select * from <my table name with all the query conditions being mysteriously dropped...On inspecting the source a bit further, we noticed this line from this PR:
scope = scope.unscoped if scope.to_sql.include? paranoid_default_scope.to_sql

It appears that in the case that any paranoid default scopes are anywhere in the query after the first attempt to strip them out (with scope = scope.unscope(where: paranoid_default_scope)), the code is just calling a blanket unscoped resulting in the behavior described above. For us, this is mostly affecting any query where scope = scope.unscope(where: paranoid_default_scope) doesn't strip out all the 'nested' default scopes that you might find in something with a subquery.
Here is a test case to demonstrate the issue:
  def test_my_test
    ParanoidProduct.create!(name: 'test1')
    ParanoidProduct.create!(name: 'test2')
    puts ParanoidProduct.from("#{ParanoidProduct.where(name: 'test1').to_sql} as products").with_deleted.to_sql
    assert_equal 1, ParanoidProduct.from("#{ParanoidProduct.where(name: 'test1').to_sql} as products").with_deleted.count
  end

does this still happen in rails 6.1?

I think so.


CARDS-1759: Create a nightly data export task that will serialize all subjects that were modified that day and POST that data to a backup service webhook

This PR implements CARDS-1759 by providing a data export task that can either be manually triggered or periodically scheduled. This data export task begins by exporting a list of all Form nodes and a list of all Subject nodes that are present in the JCR at the time of execution of the data export task thus giving a snapshot of which Forms and Subjects are available in CARDS at a moment in time. The data export task then serializes to JSON all Form and Subject nodes that were last-modified within a given time window thus allowing for more efficient data backups where only modified data is exported as opposed to redundantly exporting already-exported data.
To restore data, a data restoration script is given a list of Subject nodes to create, a list of Form nodes to create, and a directory where the JSON serialized Subject and Form nodes can be found.
To test this Pull Request:

CARDS must be started with the BACKUP_WEBHOOK_URL environment variable set to http://localhost:8012.
Start the backup_recorder.js server by entering the Utilities/Administration/Backup-To-JSON directory and running the command nodejs backup_recorder.js /path/to/backup/directory.
Backups can be initiated by visiting http://localhost:8080/, logging in as admin, and then visiting http://localhost:8080/Subjects.webhookbackup?dateLowerBound=YYYY-MM-DDThh:mm:ss or http://localhost:8080/Subjects.webhookbackup?dateLowerBound=YYYY-MM-DDThh:mm:ss&dateUpperBound=YYYY-MM-DDThh:mm:ss, replacing YYYY-MM-DDThh:mm:ss with a date/time for a lower or upper date/time bound (eg. 2022-05-18T12:00:00 for 12:00:00 PM on May 18th 2022).
Restoring data to a fresh CARDS instance should be done with the CARDS instance started with the COMPUTED_ANSWERS_DISABLED environment variable set to true. To ensure that you are starting a fresh CARDS instance, run rm -rf .cards-data before starting the new instance.
To restore data, run the restore_json_backup.py script as python3 restore_json_backup.py /path/to/backup/directory /path/to/backup/directory/FormListBackup_TIMESTAMP.json /path/to/backup/directory/SubjectListBackup_TIMESTAMP.json.

With these steps in mind, please proceed into testing that the Forms/Subjects from the following CARDS projects can be successfully backed-up and restored:

Cards4Proms (DATA-PRO)
Cards4LFS
Cards4CaRe
Cards4Kids (WilliamsDB)

Also verify that:

Note sections are properly backed-up and restored.
Pedigree answers are properly backed-up and restored (create a Pedigree chart in the LFS Patient information Form)
File answers are properly backed-up and restored (you can use the LFS Somatic Variants Form for this)
Slack notifications for backup tasks are working properly. You can start the mock Slack server by entering the Utilities/Development directory and running the command nodejs mock_slack.js. CARDS should be started with the SLACK_BACKUP_NOTIFICATIONS_URL set to http://localhost:8000/.
Nightly backups can be scheduled to run automatically through the NIGHTLY_WEBHOOK_BACKUP_SCHEDULE environment variable.

To obtain estimates of how large the backups will be for Cards4Proms (DATA-PRO) backups:

Build the CARDS-1759_size-measurements branch
Start the Mock Torch server and instruct it to serve 100 randomly generated patients

cd Utilities/Development
nodejs mock_torch.js --appointment-time-hours-from-now=24 --nRandomPatients=100

Start CARDS in Cards4Proms mode with the BACKUP_WEBHOOK_URL environment variable set to http://localhost:8012.
Visit http://localhost:8080/system/console/configMgr and configure PROMs import as follows:

Name: LocalNodeJS
Import schedule: 0 0 0 * * ? *
days to query: 3
Endpoint URL: http://localhost:8011/
Authentication URL: (leave blank)
Vault token: (leave blank)
Clinic names: 6012-HC-Congenital Cardiac
Provider names: (leave blank)
Allowed provider roles: (leave blank)
Vault role name: (leave blank)
Dates to query: (leave blank)

Import the randomly generated patients/visits by pointing your browser to http://localhost:8080/Subjects.importTorch?config=LocalNodeJS
Visit the main dashboard at http://localhost:8080 and keep periodically refreshing the page until all 100 patients and visits have been loaded.
Load randomly generated survey responses:

cd Utilities/Development
python3 auto_answer_surveys.py Cards4Proms-SampleAnswers/AUDITC.csv Cards4Proms-SampleAnswers/EQ5D.csv Cards4Proms-SampleAnswers/GAD7.csv Cards4Proms-SampleAnswers/PHQ9.csv Cards4Proms-SampleAnswers/SC.csv

Follow the instructions in Utilities/Utilities/Administration/Backup-To-JSON/README.md to perform a complete backup to JSON of this data followed by a restore of this data into a blank Cards4Proms instance. Ensure that the restored data matches the backed up data.

Rebased on latest dev with the fix for exporting & importing resource questions (export fix in dev, import fix in 38eee4c).


will someone implement blueprint js with vue?

this is nice react web ui but there is no implement for vue
Blueprint.js

@alphaelf Not sure if this question is suitable for this repository


AKS-Azure PostgreSQL DB connection page doesn't explain how to connect

The page offers some best practices for improved performance in the connections, but doesn't actually explain how to connect to Azure PostgreSQL DBs from AKS.

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

ID: 702c42c6-2f4c-6f58-6f7e-09d5d1545705
Version Independent ID: 346b5b91-d9c0-4b13-0897-e8155f476fae
Content: Connect to Azure Kubernetes Service - Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/concepts-aks.md
Service: postgresql
GitHub Login: @mksuni
Microsoft Alias: sumuth

@bkgoksel Thank you for the feedback. We are actively investigating and will get back to you soon.

@bkgoksel This is being assigned to the content author to evaluate and update as appropriate.

This is completed please close
https://docs.microsoft.com/en-us/azure/mysql/flexible-server/tutorial-deploy-wordpress-on-aks

This is completed please close
https://docs.microsoft.com/en-us/azure/mysql/flexible-server/tutorial-deploy-wordpress-on-aks

Thank you @mksuni . @bkgoksel We are going ahead and closing this request.

Thank you @mksuni . @bkgoksel We are going ahead and closing this request.


[WIP] Instead of watching individual script infos, watch the node modules folder for script infos in node modules

Todo: to see how it performs in vscode and handles npm installs, module upgrades etc
Newer version of #23596

@sheetalkamat what's the status on this one?

Thanks to @andy-ms to see get this data for Linux. It is very minimal improvement and not much on Linux but helps a lot with windows when opening file from repro of #27039
With tsnext:
Info 952  [15:53:37.896] 	FileName: /home/andy/sample/DatingApp/DatingApp-SPA/src/main.ts ProjectRootPath: /home/andy/sample/DatingApp/DatingApp-SPA
Info 952  [15:53:37.896] 		Projects: /home/andy/sample/DatingApp/DatingApp-SPA/tsconfig.json
Perf 952  [15:53:37.896] 2::open: async elapsed time (in milliseconds) 4386.3848

With this PR:
Info 136  [15:56:17.95] Open files:
Info 136  [15:56:17.95] 	FileName: /home/andy/sample/DatingApp/DatingApp-SPA/src/main.ts ProjectRootPath: /home/andy/sample/DatingApp/DatingApp-SPA
Info 136  [15:56:17.95] 		Projects: /home/andy/sample/DatingApp/DatingApp-SPA/tsconfig.json
Perf 136  [15:56:17.95] 2::open: async elapsed time (in milliseconds) 4359.4610

On Windows::
With tsnext:
Info 977  [16:32:37.785] 	FileName: c:/temp/DatingApp/DatingApp-SPA/src/main.ts ProjectRootPath: c:/temp/DatingApp/DatingApp-SPA
Info 977  [16:32:37.785] 		Projects: c:/temp/DatingApp/DatingApp-SPA/tsconfig.json
Perf 977  [16:32:37.785] 2::open: async elapsed time (in milliseconds) 14705.2836

With this PR:
Info 161  [16:38:10.222] -----------------------------------------------
Info 161  [16:38:10.222] Open files:
Info 161  [16:38:10.222] 	FileName: c:/temp/DatingApp/DatingApp-SPA/src/main.ts ProjectRootPath: c:/temp/DatingApp/DatingApp-SPA
Info 161  [16:38:10.223] 		Projects: c:/temp/DatingApp/DatingApp-SPA/tsconfig.json
Perf 161  [16:38:10.223] 2::open: async elapsed time (in milliseconds) 9974.4252

@RyanCavanaugh It is ready to be reviewed and merged


[API] ensure CA certificate cannot be overwritten by mistake

Add validation to the certificate store to ensure, CA certificate cannot be overwritten by mistake using API.

fixed

fixed


Vulnerability: CVE-2017-5487

Can you please look in to this?  We recieved the email last week from an Anonymous person.  We don't know him however it might be interesting.  Can you please investigate?  Is this relevant for us?  How to fix?
I think this is the way attackers are getting our usernames and brute forcing the website.
Email Below
Hello Team
I Gaurang Maheta found a security issue in your system
TiTLE:
Exposure of Sensitive Information to an Unauthorized Actor CVE-2017-5487
Description
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.
Base Score:  5.3 MEDIUM
Vector:  CSVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Step To Reproduce :
https://www.asrg.io/?rest_route=/wp/v2/users/ ["name":"Editor","name":"Ikjot
Saini","name":"John","name":"Julian Brucker","name":"Sven Schran","name":"Don King"]
https://www.asrg.io/wp-json/wp/v2/users/ ["name":"John","name":"Julian Brucker","name":"Sven Schran","name":"Don King","name":"Editor","name":"Ikjot Saini"]
Impact
Authors : LTR , LTREditor can be created scenario of doing bruteforce attacks to this users.
Reference :
https://hackerone.com/reports/356047
https://shahjerry33.medium.com/information-disclosure-wordpress-cms-82133480b8b3?source=follow_footer---------3----------------------------
Best Regards,
Gaurang

Fixed with Disable WP REST API plugin
https://plugins.trac.wordpress.org/browser/disable-wp-rest-api/trunk/disable-wp-rest-api.php

@usman-asrg Can you please comment how this was fixed, and closed?  Always add screenshots, or proof that it is closed.  Thanks.

I checked everything and I think we are safe in terms of this issue:

@usman-asrg, ok thanks!


I want to learn with my data, but I found an error.

Traceback (most recent call last):
File "D:\3. Develop\2.AI\segmentation_anything_yaml\train.py", line 32, in
train_dataset = get_dataset(train_cfg.dataset)
File "D:\segmentation_anything_yaml\datasets_init_.py", line 28, in get_dataset
return segment_datasets[name](**cfg.params, transform=transform, target_transform=target_transform)
TypeError: init() got an unexpected keyword argument 'root'
How can I resolve TypeError?

I think it's a version issue. Can you tell me your version?
my cuda is 11.3, cudnn is v<IP_ADDRESS>

my cuda is 10.2, the error seems that tell you there is a unexcepted parameter named 'root'

I guess you might have specified your own dataset class and left some parameters unchanged. In the configuration yaml file, the key name referes to the name of the dataset class rather than that of the dataset itself. If you're not using the default VOC dataset (say, BaseSematicDataset) you'll need to remove the key root since in BaseSematicDataset class you don't need a root parameter.

How do you solve this problem?I met the same problem.

@HONG-DEOK @Caz-T @zsy7532 We've actually built out a platform that finetunes a research variant of SAM for labeling purposes at InstaLabel. All you need to do is upload your dataset, select and label a few samples you'd like to finetune the model on in our platform, and hit the 'Train annotator' button. You can then head over to the 'Annotate' tab, click 'Instant Annotation' and have the finetuned model label the rest of your dataset for you. We also offer crowdsourcing if you'd like to correct the AI predictions for verified ground truth labels. Should be useful if you're interested in learning from your data while labeling it to train your models!


PS 7.3.x is using a prerelease version of System.Security.AccessControl

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
This is causing problems when we try to build the .NET API docs because you can load a pre-release dependency in a release product. This is only affecting publishing for 7.3. We don't have this problem with 7.2.x or 7.4.x.
I talked with @adityapatwardhan about this. He said it was a backport regression in 7.3.
Expected behavior
See above.

Affected code is can be found here: https://github.com/search?q=repo%3APowerShell%2FPowerShell 6.0.2-mauipre.1.22102.15&type=code
Actual behavior
n/a

Error details
The error from Nuget.exe for is:
"Unable to find a version of 'System.Security.AccessControl' that is compatible with 'System.Management.Automation 7.3.5 constraint: System.Security.AccessControl (>= 6.0.2-mauipre.1.22102.15)'."

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.5
PSEdition                      Core
GitCommitId                    7.3.5
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Fixed by #19931

Hi,
the same issue leaked to the 7.4.0

Could I ask for a fix?
Thanks!


CASMTRIAGE-3767: Update kubeadm.cfg source file location

This has recently changed, use the new filename.
Description

Checklist Before Merging

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[ ] My commits or Pull-Request Title contain my JIRA information, or I don't have a JIRA.

I lack the authority to merge it appears.


fix the issue that Travis CI cannot resolve relative modules

No longer relevant after complete rework of the project.


The 30 seconds to Keras introduction is broken

Looks broken anyway, unless I've managed to install Keras incorrectly.
>>> from keras.models import Sequential
Using Theano backend.
Using gpu device 0: Tesla K20c
>>> model = Sequential()
>>> from keras.layers.core import Dense, Activation
>>> model.add(Dense(output_dim=64, input_dim=100, init="glorot_uniform"))
>>> model.add(Activation("relu"))
>>> model.add(Dense(output_dim=10, init="glorot_uniform"))
>>> model.add(Activation("softmax"))
>>> model.compile(loss='categorical_crossentropy', optimizer='sgd')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/keras/models.py", line 372, in compile
    self.y_train = self.get_output(train=True)
  File "/usr/lib/python2.7/site-packages/keras/layers/containers.py", line 73, in get_output
    return self.layers[-1].get_output(train)
  File "/usr/lib/python2.7/site-packages/keras/layers/core.py", line 512, in get_output
    X = self.get_input(train)
  File "/usr/lib/python2.7/site-packages/keras/layers/core.py", line 102, in get_input
    return self.previous.get_output(train=train)
  File "/usr/lib/python2.7/site-packages/keras/layers/core.py", line 681, in get_output
    X = self.get_input(train)
  File "/usr/lib/python2.7/site-packages/keras/layers/core.py", line 102, in get_input
    return self.previous.get_output(train=train)
  File "/usr/lib/python2.7/site-packages/keras/layers/core.py", line 513, in get_output
    return self.activation(X)
  File "/usr/lib/python2.7/site-packages/keras/activations.py", line 25, in relu
    return K.relu(x, alpha=alpha, max_value=max_value)
  File "/usr/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 458, in relu
    x = T.nnet.relu(x, alpha)
AttributeError: 'module' object has no attribute 'relu'
>>>

We do our best to post clear installation instructions, answer common questions in a FAQ, etc. The info is out there.