Upgrade Google Play Developer API

The Google Play Store has started giving me this warning:

We’ve detected that your app is using an old version of the Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date.

It links to this page: https://android-developers.googleblog.com/2019/03/changes-to-google-play-developer-api.html
Does anyone have any idea where this might be coming from? I'm not using in-app purchases or anything. I'm not sure where in my app the Google Play Developer API is being used, or how I would update it.
❯ flutter doctor -v
[✓] Flutter (Channel beta, v1.6.3, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.6.3 at /Users/maxlapides/flutter
    • Framework revision bc7bc94083 (4 weeks ago), 2019-05-23 10:29:07 -0700
    • Engine revision 8dc3a4cde2
    • Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/maxlapides/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/maxlapides/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.7.2

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (1 available)
    • iPhone X • A43FAF21-05EC-4D53-86C4-B63C319D5247 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

Would you be willing to share the dependencies list from your pubspec.yaml?  Thanks!

@eseidelGoogle Sure!
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  auto_size_text: ^2.0.1
  built_collection: ^4.2.2
  built_redux: ^7.5.3
  built_value: ^6.6.0
  cached_network_image: ^0.8.0
  convert: ^2.1.1
  cupertino_icons: ^0.1.2
  device_info: ^0.4.0
  firebase_core: ^0.4.0
  firebase_analytics: ^3.0.2
  flutter_built_redux: ^0.6.0
  flutter_launcher_icons: ^0.7.2
  flutter_secure_storage: ^3.2.1
  flutter_slidable: ^0.5.3
  flutter_statusbarcolor: ^0.2.0
  flutter_sticky_header: ^0.4.0
  flutter_svg: ^0.13.0
  http: ^0.12.0
  intl_translation: ^0.17.4
  intl: ^0.15.8
  launch_review: ^2.0.0
  memoize: ^2.0.0
  mockito: ^4.1.0
  package_info: ^0.4.0
  path_drawing: ^0.4.1
  path_provider: ^0.5.0+1
  pedantic: ^1.5.0
  pub_semver: ^1.4.2
  quiver: ^2.0.3
  reselect: ^0.4.0
  sentry: ^2.2.0
  stream_transform: ^0.0.19
  uri: ^0.11.3
  url_launcher: ^5.0.2

dev_dependencies:
  build_runner: ^1.3.1
  built_value_generator: ^6.5.0
  flutter_test:
    sdk: flutter

launch_review looks like the potential user of the API?

It also might be possible via gradle to figure out the dependencies?
https://stackoverflow.com/questions/21645071/using-gradle-to-find-dependency-tree
I'm not sure.  Another way we could test if this is "core flutter" is to see if this warning appears when we next publish the Flutter Gallery.

@RedBrogdon can you keep a look out for this next time you're pushing to the store?  If this is a general issue, we will need to take action.  If this is just due to a single plugin in @maxlapides's app, there may be action in our ecosystem to take as well (but likely less urgency).  Thanks!
FYI @tvolkert @Hixie.

Ah thanks @eseidelGoogle! I was able to get a tree of dependencies out of Gradle and it looks like it might actually be firebase_analytics but I'm not entirely sure I'm reading this thing right 🤔 Here's a chunk that seems relevant:
releaseCompileClasspath - Resolved configuration for compilation for variant: release
+--- project :flutter_secure_storage
+--- project :sqflite
+--- project :device_info
+--- project :package_info
+--- project :flutter_statusbarcolor
+--- project :url_launcher
+--- project :firebase_analytics
|    \--- com.google.firebase:firebase-analytics:16.5.0
|         +--- com.google.android.gms:play-services-measurement:16.5.0
|         |    +--- com.google.android.gms:play-services-basement:16.2.0
|         |    |    \--- com.android.support:support-v4:26.1.0
|         |    |         +--- com.android.support:support-compat:26.1.0
|         |    |         |    +--- com.android.support:support-annotations:26.1.0
|         |    |         |    \--- android.arch.lifecycle:runtime:1.0.0
|         |    |         |         +--- android.arch.lifecycle:common:1.0.0
|         |    |         |         \--- android.arch.core:common:1.0.0
|         |    |         +--- com.android.support:support-media-compat:26.1.0
|         |    |         |    +--- com.android.support:support-annotations:26.1.0
|         |    |         |    \--- com.android.support:support-compat:26.1.0 (*)
|         |    |         +--- com.android.support:support-core-utils:26.1.0
|         |    |         |    +--- com.android.support:support-annotations:26.1.0
|         |    |         |    \--- com.android.support:support-compat:26.1.0 (*)
|         |    |         +--- com.android.support:support-core-ui:26.1.0
|         |    |         |    +--- com.android.support:support-annotations:26.1.0
|         |    |         |    \--- com.android.support:support-compat:26.1.0 (*)
|         |    |         \--- com.android.support:support-fragment:26.1.0
|         |    |              +--- com.android.support:support-compat:26.1.0 (*)
|         |    |              +--- com.android.support:support-core-ui:26.1.0 (*)
|         |    |              \--- com.android.support:support-core-utils:26.1.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-base:[16.5.0] -> 16.5.0
|         |    |    \--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-impl:[16.5.0] -> 16.5.0
|         |    |    +--- com.google.android.gms:play-services-ads-identifier:16.0.0
|         |    |    |    \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-measurement-base:[16.5.0] -> 16.5.0 (*)
|         |    |    \--- com.google.android.gms:play-services-stats:16.0.1
|         |    |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    \--- com.google.android.gms:play-services-stats:16.0.1 (*)
|         +--- com.google.android.gms:play-services-measurement-api:16.5.0
|         |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-base:[16.5.0] -> 16.5.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-impl:[16.5.0] -> 16.5.0 (*)
|         |    +--- com.google.android.gms:play-services-measurement-sdk-api:[16.5.0] -> 16.5.0
|         |    |    +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|         |    |    \--- com.google.android.gms:play-services-measurement-base:[16.5.0] -> 16.5.0 (*)
|         |    +--- com.google.android.gms:play-services-tasks:16.0.1
|         |    |    \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    +--- com.google.firebase:firebase-common:16.0.3 -> 16.1.0
|         |    |    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    |    \--- com.google.auto.value:auto-value-annotations:1.6
|         |    +--- com.google.firebase:firebase-iid:17.1.2
|         |    |    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |    +--- com.google.android.gms:play-services-stats:16.0.1 (*)
|         |    |    +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    |    +--- com.google.firebase:firebase-common:16.1.0 (*)
|         |    |    \--- com.google.firebase:firebase-iid-interop:16.0.1
|         |    |         +--- com.google.android.gms:play-services-base:16.0.1
|         |    |         |    +--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    |         |    \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
|         |    |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         |    \--- com.google.firebase:firebase-measurement-connector:17.0.1
|         |         \--- com.google.android.gms:play-services-basement:16.0.1 -> 16.2.0 (*)
|         \--- com.google.android.gms:play-services-measurement-sdk:16.5.0
|              +--- com.google.android.gms:play-services-basement:16.2.0 (*)
|              +--- com.google.android.gms:play-services-measurement-base:[16.5.0] -> 16.5.0 (*)
|              +--- com.google.android.gms:play-services-measurement-impl:[16.5.0] -> 16.5.0 (*)
|              \--- com.google.android.gms:play-services-measurement-sdk-api:[16.5.0] -> 16.5.0 (*)
+--- project :path_provider
+--- project :launch_review
+--- project :firebase_core
|    \--- com.google.firebase:firebase-core:16.0.9
|         \--- com.google.firebase:firebase-analytics:16.5.0 (*)
+--- com.google.firebase:firebase-core:11.4.2 -> 16.0.9 (*)
+--- com.google.firebase:firebase-analytics:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-measurement:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-basement:{strictly 16.2.0} -> 16.2.0 (c)
+--- com.android.support:support-v4:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.android.support:support-compat:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.android.support:support-annotations:{strictly 26.1.0} -> 26.1.0 (c)
+--- android.arch.lifecycle:runtime:{strictly 1.0.0} -> 1.0.0 (c)
+--- android.arch.lifecycle:common:{strictly 1.0.0} -> 1.0.0 (c)
+--- android.arch.core:common:{strictly 1.0.0} -> 1.0.0 (c)
+--- com.android.support:support-media-compat:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.android.support:support-core-utils:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.android.support:support-core-ui:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.android.support:support-fragment:{strictly 26.1.0} -> 26.1.0 (c)
+--- com.google.android.gms:play-services-measurement-base:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-measurement-impl:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-ads-identifier:{strictly 16.0.0} -> 16.0.0 (c)
+--- com.google.android.gms:play-services-stats:{strictly 16.0.1} -> 16.0.1 (c)
+--- com.google.android.gms:play-services-measurement-api:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-measurement-sdk-api:{strictly 16.5.0} -> 16.5.0 (c)
+--- com.google.android.gms:play-services-tasks:{strictly 16.0.1} -> 16.0.1 (c)
+--- com.google.firebase:firebase-common:{strictly 16.1.0} -> 16.1.0 (c)
+--- com.google.auto.value:auto-value-annotations:{strictly 1.6} -> 1.6 (c)
+--- com.google.firebase:firebase-iid:{strictly 17.1.2} -> 17.1.2 (c)
+--- com.google.firebase:firebase-iid-interop:{strictly 16.0.1} -> 16.0.1 (c)
+--- com.google.android.gms:play-services-base:{strictly 16.0.1} -> 16.0.1 (c)
+--- com.google.firebase:firebase-measurement-connector:{strictly 17.0.1} -> 17.0.1 (c)
+--- com.google.android.gms:play-services-measurement-sdk:{strictly 16.5.0} -> 16.5.0 (c)
\--- com.google.firebase:firebase-core:{strictly 16.0.9} -> 16.0.9 (c)

It looks like there's some confusion around what's triggering this warning message in the Android community.  Here's an example of it being triggered by the use of the Jenkins Google Android Publisher plugin to upload the app to the Play Store.
/cc @collinjackson @bparrishMines for the firebase_analytics connection.

https://github.com/flutter/plugins/blob/410095a1bae31e888d0f9d668510190c9eda5102/packages/firebase_analytics/android/build.gradle#L48
I don't see any suspicious dependencies in firebase_analytics...
@RedBrogdon let me know if you're able to reproduce this next time you upload an app.

Looking through our entire plugins repo and the https://developers.google.com/android-publisher/libraries, I don't see any references to that API anywhere in our plugins (either in Gradle files or the Java code).

I noticed this same warning today. I am also using firebase_core and firebase_analytics.
@maxlapides Are you using Fastlane? I feel like the warning was not there before I made an alpha release using Fastlane.

i have same issue  today on play console dashboard

We’ve detected that your app is using an old version of the Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date.

plugin :
flare_flutter: ^1.5.0
rxdart: ^0.21.0
shimmer: ^0.0.6
flutter_swiper: ^1.1.4
flutter_cache_manager: ^0.3.2
cached_network_image: ^0.8.0
sqflite: ^1.1.5
flutter_html: ^0.8.2
intl: ^0.15.7
badges: ^0.0.6
flutter_staggered_grid_view: ^0.3.0
google_maps_flutter:  0.0.3+3
photo_view: ^0.4.0
rounded_modal: ^1.0.0
url_launcher: 4.1.0+1
cupertino_range_slider: ^1.0.1
modal_progress_hud: ^0.1.2
package_info: 0.3.2+1
easy_listview: ^0.1.3
flutrans: ^0.0.2
cupertino_icons: ^0.1.2

how to fix this ?

Same problem here.
  package_info: ^0.4.0+5
  scoped_model: ^1.0.1
  provider: ^3.0.0+1
  photo_view: any
  uuid: any
  share: ^0.6.1+1
  shared_preferences: ^0.5.3+2
  sqflite: ^1.0.0
  path_provider: any
  launch_review: ^1.0.1
  url_launcher: ^5.0.3
  audioplayers: ^0.12.1
  device_info: ^0.4.0+2
  sentry: any
  in_app_purchase: any
  firebase_core: any
  firebase_analytics: any

With warnings "...uses or overrides a deprecated API" from FirebaseAnalyticsPlugin.java and PackageInfoPlugin.java.
Not sure whether it's related, but also getting four "Pre-launch report" > "Android compatibility" warnings from Play Developer Console like this "StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/util/LongArray;->get(I)J"

Our in_app_purchase plugin is using PBL 1.2, which will trigger this warning, filed https://github.com/flutter/flutter/issues/37021 to track updating that plugin.
I'm not sure I see a dependency that triggers this warning in the Gradle dependencies posted by @maxlapides, any chance you're using the publishing API to upload the app as Todd suggested?

We've checked with the play team and PBL 1.2 isn't triggering this warning (so it's not the in_app_purchase) dependency.
The publishing API still sounds like a reasonable suspect, would love to get feedback on whether these apps were published using a tool or directly through the web console.

I'm not getting this warning anymore! I've been using Bitrise to build and push my app to Google Play. I'm not sure what changed, unfortunately. Could have been Bitrise or one of my app dependencies.

@maxlapides If you're not seeing this anymore, should we close this issue, or is there still something you would like us to do?

@Hixie from my standpoint, this is resolved! I don't know if others are experiencing the issue, but I'm good at this point.

Thanks.  I'm going to close this issue then, but feel free to re-open if needed.

same problem.
dev_dependencies:   http:   url_launcher: ^5.1.1   path_provider:   path_provider_ex: ^1.0.1   sqflite: ^1.1.1   intl: ^0.15.8   audioplayers: ^0.13.1   permission_handler: ^3.2.2   flutter_local_notifications: ^0.8.2+1   open_file: ^2.0.3   html_unescape: ^1.0.1+3   share:   firebase_admob: ^0.9.0+7   floating_bubble: ^0.0.4   font_awesome_flutter:   path: ^1.6.4

Don't close this! Still happening!
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  rxdart:
  provider: ^3.1.0
  path_provider: ^1.4.0
  cloud_firestore: ^0.12.9+4
  intl:
  permission_handler: ^3.3.0
  # carousel_slider: ^1.3.1
  shared_preferences: ^0.5.4+1
  dynamic_theme: ^1.0.1
  firebase_auth: ^0.14.0+5
  google_sign_in: ^4.0.7
  charts_flutter: ^0.8.1
  json_serializable: ^3.2.3
  camera:
  photo_view: ^0.6.0
  firebase_storage: ^3.0.6
  connectivity: ^0.4.5+1
  firebase_admob: ^0.9.0+7
  firebase_dynamic_links: ^0.5.0+1
  share: ^0.6.3+1
  firebase_analytics: ^5.0.2
  firebase_remote_config: ^0.2.0+7
  firebase_crashlytics: ^0.1.0+3
  firebase_messaging: ^5.1.6
  flutter_local_notifications: ^0.8.4
  firebase_performance: 0.3.0+5
  url_launcher: ^5.2.5
  shimmer: ^1.0.1
  flutter_speed_dial: ^1.2.3
  fluttertoast: ^3.1.3

is this related to https://github.com/fastlane/fastlane/issues/14573 ?
I'm using fastlane when uploading to playstore

i am not using fastlane, everthing manually...

Speculatively re-opening based on request.

If you are using cli like fastlane and the codemagic then you ay have used the api access update it to v3 or unlink the access to get the issue resolved

We're looking for an owner for this issue. If you'd like to help us fix it faster, I think that the next steps to troubleshoot would be to narrow it down to the specific plugin(s) that are causing the issue. Perhaps creating an empty app with all those dependencies and then upload it to the store, removing dependencies until the issue goes away.

The original issue was resolved to the original reporter's satisfaction. Please open new issues if you are still seeing this.


The code works by taking as input YAML files containing the projects to
delete

By design the code is pretty hacky/thrown together.

/assign @Bobgy

Thanks @jlewi !
From my understanding, these are more of a one-off clean up scripts.
We may use them later when we have similar requirements, but not in recent future.
Is that correct?

/lgtm
/approve


Version bump!

New release, hot off the presses: https://github.com/buildkite/test-collector-swift/releases/tag/v0.3.0
I've also got a note from the dev team that "it might be worth including the steps specifically for Xcode from the README" -- if anyone's got time to compare-contrast-update, that would be amaze 🤩 but also -- it is good to just get this version bump out!

Oh darn, this merged just as I submitted my review. I'll open a PR with my suggestions instead.


Backport: Fix CLI test - update file name path

Release Note
NONE

Changed to files from release-1.9.x branch as suggested.


RemovedInDjango50Warning: django.utils.baseconv

python3 -Wa ./manage.py test

two_factor/views/utils.py:11: RemovedInDjango50Warning: The django.utils.baseconv module is deprecated.
  from django.utils import baseconv

Source
Your Environment

Python version: 3.10
Django version: Django 4.0.1
django-two-factor-auth version: 1.14.0

See also https://github.com/django/django/commit/028f10fac651
Matt, would you like to suggest a patch?

Thanks for fixing this issue.  Is it possible we can have a release soon which includes the fix for this.


Strings are not automatically converted to StringNames

Godot version:

08d3d06
Issue description:

This doesn't work:
connect("body_entered", Callable(self, "entered"))

You need to use StringName explicitly:
connect("body_entered", Callable(self, StringName("entered")))

Strings used to be converted automatically.

Note that you should be able to use &"entered" as a shorthand for StringName("entered"). Still, I agree it should be converted implicitly.

Note that you should be able to use &"entered" (or was it ^"entered" or @"entered"?)

&"entered". I memorized as it looks like C references. And @ is for @-notations only. :smiley:

This is mostly a problem with Variant that now treats String and StringName as different entities. So you should get used to the shorthand &"entered" to create a StringName.
This could be converted automatically when applicable so I will add that. Just note that in many cases the parser cannot infer the type, so it's not always possible to do the conversion.
Also, you don't need strings for this anymore as this:
body_entered.connect(entered)

does the same thing.

Fixed in #41359


Lots of crashes reported when CardIOViewController is put onscreen

Hello,
We've integrated Card.IO into our application, and we've seen a significant number of crashes (almost 8,000 so far) occurring inside [CardIOLocalizer localizeString:adaptedForCountry:].
The crash is due to an NSRangeException with the message Range {0, 7} out of bounds; string length 6. (See stack trace below)
We've disabled Card.IO in production for now until this gets sorted out. Would you mind notifying me when the bug is fixed? We'll take a look at adding back Card.IO at that time.
Thanks a lot,
E.
Thread : Fatal Exception: NSRangeException
0  CoreFoundation                 0x181cad900 __exceptionPreprocess
1  libobjc.A.dylib                0x18131bf80 objc_exception_throw
2  CoreFoundation                 0x181cad848 -[NSException initWithCoder:]
3  CoreFoundation                 0x181c94e88 -[NSTaggedPointerString getCharacters:range:]
4  CoreFoundation                 0x181b9f994 CFStringCompareWithOptionsAndLocale
5  CoreFoundation                 0x181c95634 -[NSTaggedPointerString compare:options:range:locale:]
6  Gilt                           0x100255474 __52-[CardIOLocalizer localizeString:adaptedForCountry:]_block_invoke
7  CoreFoundation                 0x181be5a04 -[NSArray indexOfObject:inSortedRange:options:usingComparator:]
8  Gilt                           0x1002551c0 -[CardIOLocalizer localizeString:adaptedForCountry:]
9  Gilt                           0x100255d14 CardIOLocalizedStringWithAlert
10 Gilt                           0x100255ec0 CardIOLocalizedString
11 Gilt                           0x10022c23c -[CardIOViewController viewDidLoad]
12 UIKit                          0x1869a00c0 -[UIViewController loadViewIfRequired]
13 UIKit                          0x18699fcc4 -[UIViewController view]
14 UIKit                          0x186d40930 -[UINavigationController preferredContentSize]
15 UIKit                          0x186cfd930 -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:]
16 UIKit                          0x186cfa340 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke
17 UIKit                          0x186c50b70 _runAfterCACommitDeferredBlocks
18 UIKit                          0x186c5e030 _cleanUpAfterCAFlushAndRunDeferredBlocks
19 UIKit                          0x186991c24 _afterCACommitHandler
20 CoreFoundation                 0x181c64588 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
21 CoreFoundation                 0x181c6232c __CFRunLoopDoObservers
22 CoreFoundation                 0x181c6275c __CFRunLoopRun
23 CoreFoundation                 0x181b91680 CFRunLoopRunSpecific
24 GraphicsServices               0x1830a0088 GSEventRunModal
25 UIKit                          0x186a08d90 UIApplicationMain
26 Gilt                           0x1000c4a64 main (main.m:15)
27 libdyld.dylib                  0x1817328b8 (Missing)

Which version of card.io are you using? Also, can you give the iOS version numbers and the iOS hardware that you are using?
This was fixed in version 5.1.0 with issue #120 . Several have reported it works for them with that version (and later) and at least one other person needed version 5.3.0 to get it to work (we're on version 5.3.1 right now). You can try printing out the library version if needed.

Closing due to inactivity. If you still have this issue with the latest version of card.io, please leave a comment. Thanks.


LNP-1099: Update to Node 22 LTS

Context

Does this issue have a Jira ticket?

Yes

If this is an issue, do we have steps to reproduce?

Intent

What changes are introduced by this PR that correspond to the above ticket?

Update to Node 22 LTS and latest node modules.

Would this PR benefit from screenshots?

Considerations

Is there any additional information that would help when reviewing this PR?

Are there any steps required when merging/deploying this PR?

Checklist

[X] This PR contains only changes related to the above ticket
[ ] Tests have been added/updated to cover the change
[ ] Documentation has been updated where appropriate
[x] Tested in Development

I've taken the liberty of checking Tested in Development


Restore GetBasePath for UserSecrets

Not sure what the ideal long term fix is, but for now it looks like UserSecrets relies on these helpers, adding back to unblock build
cc @divega

I started reviewing this and I think there is a mix of things that fix other providers (e.g. extensions for the environment variables one) and things to un-break the build of user UserSecrets? Is that expected?
Re UserSecrets, I am ok with doing the minimal thing to un-break the build but we need to come up with the right solution ASAP. From what I remember discussing, we need to copy part of the previous implementation we had into it, since UserSecrets cannot be FileProvider based.

Its a bad PR sorry, just look at the commit, I only added back the two extension methods, basically we store the path in the builder still.
https://github.com/aspnet/Configuration/commit/d7da902a0aeca14c6b7ee7e6796214ce5bc7985b

I don't think the current fix is 'wrong' really, the issue where moving this behavior into UserSecrets is really weird, is if someone calls SetBasePath (which really is setting file providers now), before that affects the UserSecrets base path, but it wouldn't anymore)... which is why I fixed things the way I did

:shipit: for cf07d4ca75ec84a5d8778fe0a50e7ca0f7529ff5

5d6b9e547d27cd6d44dabec91059b1f029f50c17

merged and reverted


RSF-19; seeing same template more than one, generates huge number of …

…error messages

This seems to solve RSF-19. Once it's integrated, I can remove a hack from mailsender.

problem also occur in "add participants" in site info, and presumably every other RSF tool. I've fixed it locally in lessons and mail sender, but I don't think it makes sense to do that for every RSF tool. This needs to be merged.

This has now been resolved


Moved Template.MG, Examples need to be updated.

Hi all,
I moved Template.MG so you now need to update the imports on any files that referenced it to add
import Drasil.Template.MG.
The same goes for Template.DD
Please check off the boxes once you've finished:

[x] gamephys
[x] glassbr
[x] pcm
[x] ssp
[x] swhs
[ ] tiny

Multiple redundancy warnings pertaining to these imports are popping up.  I presume that this is only because they are not directly being called upon in file?

This is probably done? I think tiny has been updated.

I think so seeing as there are no warnings or crashes


No support for the Polish characters [and probably all other languages whose special characters are assigned to the keys of the alphabet ] when the Mouse Without borders module and  the shortcut option to double-press Ctrl + Alt + [key] are enabled

Microsoft PowerToys version
0.70.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
Set Windows language to Polish and keyboard layout Polish (programmer)
Attempting to write the selected letter [Alt gr + E/O/A/L/Z/X/C/N (Ctrl + Alt + E/O/A/L/Z/X/C/N) key combination] when the shortcut option to double-press Ctrl + Alt + [key] is enabled to lock computers
✔ Expected Behavior
A single press of the key should insert the special character, a double press should activate the action assigned to the shortcut
❌ Actual Behavior
With a single press nothing happens, with a double press a shortcut is activated
Other Software
No response

It'd be good to be able to set up shortcuts in a more general way. Similar to what we're doing for other PowerToys. In the meanwhile, changing the keys to another one in Settings would be the preferred workaround.

This issue has been worked on during the 0.72 development cycle. Please update your PowerToys installation to the latest.
https://github.com/microsoft/PowerToys/releases
Thank you!


SEO Needs Fixing

When searching "crablang", all I get is reddit, the GitHub repo (which is good), and something else below.  crablang.org is not appearing.

seems to be showing up now. probably just needed some time and traffic.
SEO can surely still be improved (also not sure why it's showing the astro favicon), but going to close this for now.

it sure is!


Output variable

Hello, I want to ask you  what data is output in the code (specifically in which file) to determine whether epilepsy occurs.
Looking forward to your reply!

Hi and thank you for your interest on our algorithm. The output variables are described in the instructions_for_use.pdf. If you have any further questions, please let us know.


Configuration per process ?

I am not familiar with PM2 plugin architecture, but is it possible to somehow enable this plugin only for a particular process? On our server there are some processed which are not production related so we don't care about those much.

@kjhangiani mentioned he would also like this feature. PM2 does not have a built in way to enable this per app. This could be done in the code though since I know the name of the app for each alert. So we could so something like set a config option with an array of the app names you want it to be enabled on.
For a solution right now, you can run PM2 on separate Linux users. For example, you can create a Linux user for each app you have and then run PM2 for each user and only install pm2-slack on the users that you want it for. This will also allow you to have per app config options for which events to listen for. This method also has other benefits of securing an app to only a specific user so the app is contained with only that users permissions.
I will research implementing this feature, if you or @kjhangiani have any ideas for how best to do this please let me know.
Thanks for the suggestion!

Yes, I think that something simple like configuration option with list of enabled apps could be more enough. Perhaps provide both way like include & exclude any maybe with partial name matching so I can exclude all 'pm-' prefixed apps.
In case we would need a way different configuration (like a different slack url) than your solution with more users is definitely good way to go, but it should be mentioned in docs.

Definitely +1 to this suggestion

+1

+1

See the pull request https://github.com/mattpker/pm2-slack/pull/22 and test it, please.

Fixed by #22


How do I post content programmatically?

Maybe this is not the best place to ask such a question but I couldn't find any official one. So, feel free to redirect me ;)
How do I post content programmatically? I mean, is there any automatic way to publish an article on my blog?
Thanks,
Adriano

I'm newer to steemit, but that would be something you might post on steemit itself. You could add a couple tags like "how to" and "steem" ( some common tags can be found @ /tags ). You could also hit up more explicit Q/A sites like quora.
P.S. "programatically" is a smelly word to devs; avoid.

To publish a content on the blockchain you always need a posting key at the moment of posting for generate the signature, you can't generate a signature long time before the moment of posting. The key used to sign can be the author posting key or a key of an authorised account of the author. For example my account authorise @streamian and @busy.app to post on my behalf https://api.steemjs.com/getAccounts?names[]=fabien this way

@bonustrack , can u give a hint , how i do add an image in post while posting using steemjs

I can suppose you've got to add pure html code in you post text, steem blockchain handle only pure text content, all formatting and interpratations are being done on frontend side.


Clarification about CT values / density

Hey super interesting project, thanks for making the source available! I've been running the examples for the example CT and was wondering if you could clarify a couple of points / check if you agree with my logic.

pydicom doesn't by default apply rescale / intercept to the raw pixel data, so instead of the CT values ds.pixel_array contains raw values (i've plotted this below). This has the effect for the example data in the repo of keeping values positive which is presumably a requirement for sensible DRR generation. PyDICOM advises against using raw values though, see here.

Histogram of raw values (padding not corrected just for demonstration)

I believe you could load DICOM for which rescale/intercept are 1/0 i.e. the raw values are signed and therefore can be negative. I ran into this loading some other data, but you could simulate this scenario by applying the correction to get CT values as volume[:, :, idx] = apply_modality_lut(ds.pixel_array, ds). I've done this below, and as expected having negative values produces a different DRR.

Histogram of CT values (padding not corrected just for demonstration)

Resulting DRR not visually correct

If the above correct, is it sensible to a) use CT rather than raw values and b) then apply a consistent rescaling of to keep these CT values positive? In fact I think converting from CT to density is what is done in some contexts, e.g. https://github.com/arcadelab/deepdrr/blob/main/deepdrr/vol/volume.py#L211 (no affiliation with that project).

Hi! Yup, I ran into this issue early in development too.
The "box shadow artifact" you see in the produced DRR is not correct. It's a result of voxels of pure air being stored as negative numbers (looks like -2^10 or -2^11 in your histograms). Since a DRR is basically a line integral through the volume, every intersection of a ray with air causes a subtraction. Ultimately, this results in a box shape being subtracted out of the output DRR.
My solution was to take all negative air values and map them to zero:
https://github.com/eigenvivek/DiffDRR/blob/f375695a7cf0bc5633b8a011d2f65c33586a9d7d/diffdrr/data/load.py#L41-L42
Other corrections:

Never heard of modality_lut before, but the fact that it preserves negative values makes me not like it for this application. Could definitely just convert air values to zero after I've done this.
The density conversion seems interesting too, although I don't know why it's piecewise linear.

It could be useful to include all these corrections as options in the load function.
Does this help answer your question?

Thanks for the response, very useful. I certainly can see the effect of negative values on the DRR. However I don't think it's correct (in general) to stick to the raw values. They are all positive in the example DICOM, but not in general. From here, you can see the type can be signed or unsigned and I have come across many DICOM files that I've loaded where the raw values can be negative. So in summary using raw values doesn't guarantee positivity (needed for DRR generation).
However I concede you don't want to use the actual CT values though, and that you want air to not contribute to the line integral (i.e. be zero). So conversion to CT values can only be an intermediate step, further normalisation that makes air 0 and remaining values positive is needed. I'm not best to advise on that, but I have a suggestion below that is at least should reproduce your current results.
I did see the correct zero, however I don't agree that's it's completely doing as you say. The CT scan has padding (the outer circular halo) that can have large negative values (e.g. -2048). The correct_zero code currently reassigns padding regions to 0, which works specifically for the example DICOM but not in general. I agree that care is needed to avoid padding affecting the DRR. A tool like Slicer3D is useful to visualise this:

So in summary I think my advice would be:

standardize CT loading using modality_lut (to avoid the code only working on a subset of CT DICOM, i.e. signed only)
then apply a HU value -> density correction (I think something like 1024 + max(-1024, vol) would reproduce your current settings), but other mappings are possible

Does this make sense?


Confused by untrusted package source

So Microsoft's method for preparing Windows to run containers is to add a third party repository to pull software from and then to install software that is not trusted? I'm very confused by this and a little irritated as well.

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

ID: 03053de3-22f9-2320-42c4-4bfdcec11840
Version Independent ID: 70f19263-9c17-61a6-03eb-af0cf33ca932
Content: Deploy Windows Containers on Windows Server
Content Source: virtualization/windowscontainers/deploy-containers/deploy-containers-on-server.md
Service: windows-containers
Product: windows-containers
GitHub Login: @enderb-ms

Can you share more details about your concern?  mcr is the microsoft container registry.

Just stepped through this again and again was prompted that I'm installing from an untrusted source. This is fine, I've made up my mind to focus on Linux for containers and leave all Windows dependent apps on VMs while I find suitable alternatives.


Easy tool to download nwb file

@rachelstephlee and I imagine a workflow that we download a handful of NWB files to develop packages locally
We would like a programmatic way to do this, with flags for separating video, or other large attributes.

@irisstone fixed this, giving us this script
data_assets = generate_data_asset_params(data_asset_IDs, mount_point=None)
token = os.getenv('DATA_ASSETS_KEY')
client = CodeOcean(domain="https://codeocean.allenneuraldynamics.org", token=token)
capsule_id = "3f575b5f-5b29-4e09-b400-630a2a44b564"
results = client.capsules.attach_data_assets(    capsule_id=capsule_id,    attach_params=data_assets,)

and then everything attaches like this:

This needs to be made into a function, then put into a PR.

@ZhixiaoSu put your script here


can't write file

I have been trying to simply open a file and rewrite it with no success. The file reads fine and i can view it in my viewer however, when it comes to writing it back autocad shows a blank model page but I can see the content in the layout page.
Here is the code i am using and the file I am testing.
testDXF.zip
                        DxfFile dxfFileReader;
                        using (FileStream fs = new FileStream(inputFile, FileMode.Open))
                        {
                            dxfFileReader = DxfFile.Load(fs);
                        }

                        DxfFile dxfFileWriter = new DxfFile();

                        foreach (DxfEntity entity in dxfFileReader.Entities)
                        {
                                dxfFileWriter.Entities.Add(entity);
                        }

                        dxfFileWriter.Header.SetDefaults();
                        dxfFileWriter.ViewPorts.Clear();
                        using (FileStream fs = new FileStream(output, FileMode.Create))
                        {
                            dxfFileWriter.Save(fs);
                        }

We are having the same issues with reading and writing out to the same file, we are not even changing anything to the the entries all we get when opening the file in a viewer is a blank screen.
Apart from the unit tests is there a reference file that can be used to validate that the library can save and be opened in autocad. We have tried a number of different apps for viewing the output but all return a blank screen.

Do you have some sample drawings that you can share?  Even the act of opening and re-saving a file forces the re-computation of all item handles, so it's not a no-op like one might think.  Also, do you get a specific error message when trying to open the changed file?  It might make it easier to track down what's wrong.


Portuguese and Spanish translations

I saw that you were adding Russian translation recently. I would like to contribute with adding Spanish and Portuguese translations. If it's everything ok, I can begin soon and send you the pull request.

I saw that all ready done. Closing


Songs are not added to que from Soundcloud

Context: Soundcloud.com (webplayed)
Scenario:

Successfully set up Sonos speakers' IP Address. (notice the green checkbox)
Click the N* button under any selected track on Soundcloud (responsible for adding the )
The button is loading
The button color turns red (indicating that the song was not added to que)
Check Sonos que, nothing is added

Kindly note that I attempted to debug the extension files in order to try to fix the extension; Here's my findings:

Extension files are developed based on an earlier version of Google Chrome currently I am using Version 112.0.5615.138 (Official Build)
The extension's "Manifest" file is based on "Manifest V2" while current Chrome version requires "Manifest V3"
I attempted to upgrade the manifest version but failed in updating the code found in ""background.js" file.

Is this project still active?


Should GO:0004674 and GO:0050316 be splitted into four terms !!

Dear GO curators,
From a computational point of view, dividing the GO:0004674 into two terms (i.e one for serine and the other for threonine) would be preferable. Similarly the GO:0050316.

GO:0004674 - protein serine / threonine phosphorylation - at least in humans, as far as I know, enzymes that distinguish serine substrates from threonine ones are rare, if there are any at all. The downstream process consequences of threonine phosphorylation may differ from those of serine phosphorylation but no more that the differences between serine phosphorylation on different proteins (or different serine residues of the same protein. That sounds like something to deal with at the level of annotation. If I've missed something, PMIDs to set me straight and document the split would be great
GO:0050316 - deoxynucleotiode kinase. There is a large literature on the exact substrate specificities of these kinases, some of it captured here. Anything less than a split to create separate activity terms for each nucleotide mino- and di-phosphate substrate, noting also that some of the activities work on both ribo- and deoxyribonucleotides, would fail to capture some of the possible distinctions of substrate specificity. But is this much detail useful at the level of the ontology?

I think we have duplicate terms here: GO:0004674 GO:0004712

No.  GO:0004712 protein serine/threonine/tyrosine kinase activity versus  GO:0004674 protein serine/threonine kinase activity - the distinction between acting only or ser / thr hydroxyl residues and on ser / thr / tyr hydroxyls is functionally important. I'm not sure that further distinction between ser and thr is useful.

Thanks for the great clarification, however, my comments were from an ontology's developer point of view.

No. GO:0004712 protein serine/threonine/tyrosine kinase activity versus GO:0004674 protein serine/threonine kinase activity - the distinction between acting only or ser / thr hydroxyl residues and on ser / thr / tyr hydroxyls is functionally important. I'm not sure that further distinction between ser and thr is useful.

I'm confused. The two molecular functions GO:0004712 and GO:0004674 are different at the level of biology., so why does the formal logic of the ontology require them to be merged?

I'm confused. The two molecular functions GO:0004712 and GO:0004674 are different at the level of biology., so why does the formal logic of the ontology require them to be merged?

Not merged, but to be split (i.e two different GO IDs) and documented

An hour ago you labeled GO:0004712 and GO:0004674 as duplicates?

I agree with @deustp01  - it does not make sense biologically to split these term.
Kinases which can phosphorylate serine,  can always also phosphorylate threonine. That is the specificity of a serine/threonine protein kinase.
Nobody would use the terms "serine protein kinase" or "threonine protein kinase" in annotation. If a kinase phosphorylates sering (or threonine) it's a  "serine/threonine protein kinase"

My background is NOT biology, I am on ontology developer and I thought from an ontology's design view, to make each GO ID associated with one chemical reaction and add their annotations. For example, the GO:0050316 has two chemical reactions while in Rhea it is divided into two reactions RHEA:12698 and RHEA:13518.

A one to one mapping of GO terms and Rhea reactions is indeed the plan, and this example, one GO nucleotide kinase activity term pointing to two Rhea reactions, one for phosphorylation of dGMP and one for phosphorylation of dTMP does not fit the plan.
Indeed, @ukemi, @hdrabkin , split the one GO activity term to make two?
Except that, looking at the EC entry cross-referenced to GO:0050316 the GO term may have been constructed to accommodate an enzymatic activity with broad substrate specificity. There could be a GO term and a Rhea reaction for each specific substrate combination, and an enzyme's broad activity (and variation in breadth of activity from one member of the enzyme family to the next) could be handled at the annotation level. is clean and rigorous, but will cause a combinatorial explosion in GO and Rhea that will be difficult to manage, I expect.

I would really, really, really prefer that  we did not spit this for pragmatic  and biological reasons.
Consider pombe CDK1/cdc2
https://www.pombase.org/gene/SPBC11B10.09
over 200 targets on serine/threonine protein kinase.
We usually know when a kinase is a serine/threonine protein kinase.
For all of these targets   serines and threonines are phosphorylated (I can not spot one where this is not the case although I did not check thoroughly).
I would need to map all of these annotations to  both sering protein kinase and threonine protein kinase. This would increase the number of annotations for cdc2 from >250 to 500, but it would not benefit the users at all.
Multiply this by all the kinases, and it's a lot of extra work for no gain. if this was implemented I would move up to "protein kinase activity" and lose the  serine/threonine specificity.
I really think this is a special case and we should leave it as is.

I, too, would really, really, really prefer that we did not spit this for biological reasons.

Hi,
having separate Rhea reactions for P-Ser and P-Thr is useful for UniProt. This allows us to capture the phosphorylation of individual amino acids and ultimately link these to specific sequence features - we are mapping PTM annotations to ChEBI too.
We don't need a separate GO term for Ser kinase and Thr kinase though, it would be fine to have 1 GO term for Ser/Thr kinases mapped to two Rhea reactions.
All the best, Alan

A  possibly tangential issue here is the goal to have a 1:1 mapping of GO molecular function - catalyst activity terms and Rhea reactions. @ukemi

I think we should close this. One important principle in the development of GO is that it represents the biology, even if sometimes the logic is not completely rigid.


I have Xaero Plus, Minimap and world map installed but i still can’t figure out how to indicate already generated chunks

i put it all in the title

helped via discord already


Reduce allocations and heap size

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[X] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Minus another 100-150ms on my machine.

Execution time:
Execution time of reference implementation:

Hey, this one produces an incorrect output for the 10K keyset test (see create_measurements3.sh). While that's not the official challenge, I'd like to make sure that at least the top entries pass that, so as to make sure they don't cut any corners. This one runs out of heap space for that test, so it might bea simple fix. Could you take a look? Thx!

Hmm, seems to be working for me.
Just to confirm, it's measurements3.txt right? Maybe there's some difference in how I run it. Is there a script to do it or is it all manual?

I don't want to just increase the heap size more than needed, because doing so makes the result of the small dataset worse. Not sure why.

Just to confirm, it's measurements3.txt right?

No, I was referring to a 1B rows file with 10K keys. You can create one via ./create_measurements3.sh<PHONE_NUMBER>. This PR OOME's for that right now.

No, I was referring to a 1B rows file with 10K keys. You can create one via ./create_measurements3.sh<PHONE_NUMBER>. This PR OOME's for that right now.

I may be missing something but create_measurements3.sh calls CreateMeasurements3 which writes to measurements3.txt:
try (var out = new BufferedWriter(new FileWriter("measurements3.txt"))) {

Anyway, I've increased the heap size, could you try again pls.
I'll try to replicate it locally later today.

Ah, sorry, I thought you were referring to src/test/resources/samples/measurements-3.txt (which is just one of the test cases). So yes, that measurements3.txt file created by create_measurements3.sh was failing for me (after soft-linking it to measurements.txt).
Will run again as per your latest update.

00:04.551 now, also passing the 10K test (in ~20 sec).


Authentication Error

Hi,
Getting the error after saving some forms  "Authentication is required for this request" while pressed on save button for a user created from serenity user management. Please Help.

Double check the permissions set on the page. It could be that the user account you are testing has no permission to do changes on the page. Sometime sit also happens that the page times out needing you to re-enter credentials. This is because the page idled for too long.


No module named 'openai.error'

when deploy the both backend and frontend application, there's error of "no module named openai.error. then the application canot work.
the details is as the following:
ModuleNotFoundError: No module named 'openai.error'
Traceback:
File "/tmp/8dbe04b52defefa/antenv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/tmp/8dbe04b52defefa/pages/1_Search.py", line 8, in
from openai.error import OpenAIError

the issue was solved, because of the openai version


Update to rayon 1.0

When I try to use mozjpeg-sys = "0.5.11" in the same project as jpeg-decoder = "0.1.14" I get:
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to select a version for `rayon-core` (required by `rayon`):
all possible versions conflict with previously selected versions of `rayon-core`
  version 1.3.0 in use by rayon-core v1.3.0
  possible versions to select: 1.4.0

Because jpeg-decoder depends on rayon 1.0 but mozjpeg-sys's build.rs depends on nasm-rs which depends on rayon 0.9

I merged #18. Which should fix the problem


Fixed match test expression for temporaries

Closes #45293
Previously match copied the value to compare against from the expression but still used the expression variable (might be popped) in the comparisons. This caused the issue.
I renamed the variables to better indicate which to use and now the correct value is used later in code.

Thanks!


[CONN-3153] CloudQuery Azure plugin C2C source

Purpose of this pull request
This pull request adds CloudQuery Azure plugin C2C source.
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
https://sumologic.atlassian.net/browse/CONN-3153

@kimsauce, we’re removing the CloudQuery Azure Source beta article with PR #4209 at the request of @Arpit Jaiswal (see Slack).


MINOR: kafkatest - adding whitelist for interbroker sasl configs

forgot to include this line in https://github.com/apache/kafka/pull/7018
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rajinisivaram still need to do some validation on my end. let me run some tests before we merge

@rajinisivaram the tests seem fine to me ( http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2019-07-19--001.1563561379--brianbushree--interbroker-sasl-fix--4bfb6ff/report.html )
there was one failure but it seems unrelated:
[2019-07-19 17:43:07,405] WARN Client session timed out, have not heard from server in 30008ms for sessionid 0x0 (org.apache.zookeeper.ClientCnxn)
Exception in thread "main" kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING
	at kafka.zookeeper.ZooKeeperClient.$anonfun$waitUntilConnected$3(ZooKeeperClient.scala:259)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:253)
	at kafka.zookeeper.ZooKeeperClient.waitUntilConnected(ZooKeeperClient.scala:255)
	at kafka.zookeeper.ZooKeeperClient.<init>(ZooKeeperClient.scala:113)
	at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1833)
	at kafka.admin.TopicCommand$ZookeeperTopicService$.apply(TopicCommand.scala:288)
	at kafka.admin.TopicCommand$.main(TopicCommand.scala:54)
	at kafka.admin.TopicCommand.main(TopicCommand.scala)

@brianbushree Thanks for running the test, merging to trunk.


documentation: add sub-section for the nixpkgs manual Haskell section

Thanks for drawing attention to this, I didn't know about it.
We should mention that the root directory name has to be the same as the name of the haskell package.
One correction: I think buildInputs = attrs.buildInputs // buildInputs; is supposed to be buildInputs = attrs.buildInputs ++ buildInputs; ?
To conceptually explain what this feature is for, would it be fair to recommend putting the examples you've written into a default.nix file, and likening that file roughly to what you'd use a stack.yaml for if you were using stack instead of nix to set up the build environment?

Thanks @chris-martin for the notes and thanks for your patience on my reply.

I added the note that developPackage could be used as a simplified stack.yaml replacement.
Yes, I made the correction, that is right (++ instead of //).
I tried to explain the rationale for when you would need to override the derivation returned from developPackage to add buildInputs (when your package directly depends on those buildInputs, not just transitively).


Java and kotlin mixed can not accept events

 //only dependencies
 implementation 'org.greenrobot:eventbus:3.1.1'

//Activity
 EventBus.getDefault().postSticky(new H5AlertEvent());
                new Handler().postDelayed(new Runnable() {
                    @Override
                    public void run() {
                Intent intent = new Intent(mActivity, H5AlertWebViewActivity.class);
                startActivity(intent);

                    }
                }, 5000);

//onCreate
 EventBus.getDefault().register(this)

//KT
@Subscribe(threadMode = ThreadMode.MAIN, sticky = true)
    public fun onEvent(event: H5AlertEvent) {
        println("实际并没有执行")
}

But can't accept the event. Is it not mixed?

This should work.
Note: if you are using a subscriber index (eventbus-annotation-processor), make sure to switch annotationProcessor to kapt.
http://greenrobot.org/eventbus/documentation/subscriber-index/

This should work.
Note: if you are using a subscriber index (eventbus-annotation-processor), make sure to switch annotationProcessor to kapt.
http://greenrobot.org/eventbus/documentation/subscriber-index/

I only dependency on implementation 'org.greenrobot:eventbus:3.1.1'

Can you provide a small example project that reproduces this? As said, we are not aware of any issues with Kotlin.

I'm really sorry, it is my own logical question, thanks for your reply.

Closing this then until someone can share a code example to reproduce an issue.


Unloading bundle with non-persistent topics may block the target broker.

In our production environment, the bundles with non-persistent topics may result in the target broker getting stuck, when they are unloaded and moved to the target broker.
Information from log
The producers on this bundle and all other bundles working on this broker, give Timeout error code, and the target broker's log shows information like

Error reading entries at AAA:BBB : Bookie operation timeout, Read Type Normal - Retrying to read in 15.0 seconds
Failed to write entry (CCC, DDD): Bookie operation timeout

When reading this broker's log more carefully, I found that the broker got stuck at producer creating. It prints information like
07:29:50.893 [pulsar-io-4-7] INFO  org.apache.pulsar.broker.service.ServerCnx - [/IP:PORT][DOMAIN://TENANT/NS/TOPIC-partition-XX] Creating producer. producerId=XX
but it doesn't print Created new producer xxx.
Information from monitor
From the monitor, which is periodically read from /admin/v2/broker-stats/topics interface, I found that all publishing rate on this broker dropped to zero, and there were no bundle splitting before or during the unloading. (Actually I turned off the auto-bundle-split).
The problem only happens on the namespace with non-persistent topics, and since we enabled ns-isolation-policy, I didn't know if it affects other namespaces when they work together on the same broker.
About the deployment and solution for now
The problem firstly appeared in Dec. 2021, when I just upgraded the broker from 2.7.1to 2.8.1 and started using non-persistent topic. A few days ago I upgraded the broker to 2.8.2 , the problem persists. We are using the official docker image to deploy the broker.
This problem happened for more than 20 times since Dec. 2021. And for now, the only solution to bring the cluster back to normal is restarting the target broker.
Information from jstack
I still didn't find the way to reproduce this problem, but restarting all brokers one by one did result in more appearance of this problem, and I did find some clue via jstack.
As you see, some producer creating and consumer subscribing are waiting for <0x000000065ef5aea0>, which is locked by ForkJoinPool.commonPool-worker-13, and it is waiting at BrokerService.java:1742:
checkTopicNsOwnershipAsync(topic).join();

After reading the code, I think this problem is related to ownership cache, like #4190 and #5919 . But I'm not familiar with the metadata and ownership cache, so I didn't find any piece of code that could cause this stuck. Could you please help me to locate the problem?
"pulsar-io-4-1" #83 prio=5 os_prio=0 cpu=221239.11ms elapsed=7428.85s allocated=761M defined_classes=55 tid=0x00007f7d9c0b9000 nid=0x106 waiting on condition  [0x00007f7dba20e000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065ef5aea0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(java.base@11.0.13/AbstractQueuedSynchronizer.java:885)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(java.base@11.0.13/AbstractQueuedSynchronizer.java:1009)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(java.base@11.0.13/AbstractQueuedSynchronizer.java:1324)
	at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(java.base@11.0.13/ReentrantReadWriteLock.java:738)
	at org.apache.pulsar.broker.service.nonpersistent.NonPersistentTopic.subscribe(NonPersistentTopic.java:261)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-5" #89 prio=5 os_prio=0 cpu=227741.54ms elapsed=7428.85s allocated=768M defined_classes=67 tid=0x00007f7d9c0e1000 nid=0x10c waiting on condition  [0x00007f7db9c08000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065c02def8> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-8" #95 prio=5 os_prio=0 cpu=216221.84ms elapsed=7428.84s allocated=784M defined_classes=44 tid=0x00007f7d9c0e7000 nid=0x112 waiting on condition  [0x00007f7db9602000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065f1b83d8> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-10" #98 prio=5 os_prio=0 cpu=208215.64ms elapsed=7428.84s allocated=788M defined_classes=45 tid=0x00007f7d9c0eb000 nid=0x114 waiting on condition  [0x00007f7db9400000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065ef5aea0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(java.base@11.0.13/AbstractQueuedSynchronizer.java:885)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(java.base@11.0.13/AbstractQueuedSynchronizer.java:917)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@11.0.13/AbstractQueuedSynchronizer.java:1240)
	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(java.base@11.0.13/ReentrantReadWriteLock.java:959)
	at org.apache.pulsar.broker.service.AbstractTopic.incrementTopicEpochIfNeeded(AbstractTopic.java:427)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-12" #100 prio=5 os_prio=0 cpu=171300.86ms elapsed=7428.84s allocated=676M defined_classes=32 tid=0x00007f7d9c0ef000 nid=0x117 waiting on condition  [0x00007f7db90fd000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x00000006642f0790> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-13" #101 prio=5 os_prio=0 cpu=178036.59ms elapsed=7428.84s allocated=767M defined_classes=15 tid=0x00007f7d9c0f1000 nid=0x118 waiting on condition  [0x00007f7db8ffc000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065d913920> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	at org.apache.pulsar.broker.service.nonpersistent.NonPersistentTopic.subscribe(NonPersistentTopic.java:236)
	...

   Locked ownable synchronizers:
	- None

"pulsar-io-4-14" #103 prio=5 os_prio=0 cpu=168610.81ms elapsed=7428.83s allocated=716M defined_classes=57 tid=0x00007f7d9c0f3000 nid=0x11a waiting on condition  [0x00007f7db8dfa000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000066125abe0> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	...

   Locked ownable synchronizers:
	- None

"pulsar-web-41-13" #159 prio=5 os_prio=0 cpu=464.22ms elapsed=7424.46s allocated=40941K defined_classes=139 tid=0x00007f7c64006000 nid=0x153 waiting on condition  [0x00007f7cdcfda000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065ef5aea0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(java.base@11.0.13/AbstractQueuedSynchronizer.java:885)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(java.base@11.0.13/AbstractQueuedSynchronizer.java:917)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@11.0.13/AbstractQueuedSynchronizer.java:1240)
	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(java.base@11.0.13/ReentrantReadWriteLock.java:959)
	at org.apache.pulsar.broker.service.nonpersistent.NonPersistentTopic.close(NonPersistentTopic.java:433)
	...

   Locked ownable synchronizers:
	- <0x00000005fc81e108> (a java.util.concurrent.ThreadPoolExecutor$Worker)

"ForkJoinPool.commonPool-worker-15" #183 daemon prio=5 os_prio=0 cpu=30.26ms elapsed=4043.24s allocated=1854K defined_classes=0 tid=0x00007f7c1800d000 nid=0x1d4 waiting on condition  [0x00007f7cdc4d3000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x000000065ef5aea0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(java.base@11.0.13/AbstractQueuedSynchronizer.java:885)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(java.base@11.0.13/AbstractQueuedSynchronizer.java:917)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@11.0.13/AbstractQueuedSynchronizer.java:1240)
	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(java.base@11.0.13/ReentrantReadWriteLock.java:959)
	at org.apache.pulsar.broker.service.AbstractTopic.incrementTopicEpochIfNeeded(AbstractTopic.java:427)
	...

   Locked ownable synchronizers:
	- None

"ForkJoinPool.commonPool-worker-13" #190 daemon prio=5 os_prio=0 cpu=15.71ms elapsed=2546.36s allocated=1173K defined_classes=6 tid=0x00007f7d3000a800 nid=0x20d waiting on condition  [0x00007f7f813af000]
   java.lang.Thread.State: WAITING (parking)
	at<EMAIL_ADDRESS>Method)
	- parking to wait for  <0x00000007d5d313a8> (a java.util.concurrent.CompletableFuture$Signaller)
	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
	at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
	at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3118)
	at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
	at java.util.concurrent.CompletableFuture.join(java.base@11.0.13/CompletableFuture.java:2043)
	at org.apache.pulsar.broker.service.BrokerService.checkTopicNsOwnership(BrokerService.java:1742)
	at org.apache.pulsar.broker.service.AbstractTopic.lambda$addProducer$6(AbstractTopic.java:397)
	at org.apache.pulsar.broker.service.AbstractTopic$$Lambda$845/0x0000000840639040.accept(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniAcceptNow(java.base@11.0.13/CompletableFuture.java:753)
	at java.util.concurrent.CompletableFuture.uniAcceptStage(java.base@11.0.13/CompletableFuture.java:731)
	at java.util.concurrent.CompletableFuture.thenAccept(java.base@11.0.13/CompletableFuture.java:2108)
	at org.apache.pulsar.broker.service.AbstractTopic.addProducer(AbstractTopic.java:394)
	at org.apache.pulsar.broker.service.ServerCnx.lambda$handleProducer$22(ServerCnx.java:1252)
	at org.apache.pulsar.broker.service.ServerCnx$$Lambda$815/0x000000084061a440.accept(Unknown Source)
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(java.base@11.0.13/CompletableFuture.java:714)
	at java.util.concurrent.CompletableFuture.postComplete(java.base@11.0.13/CompletableFuture.java:506)
	at java.util.concurrent.CompletableFuture.complete(java.base@11.0.13/CompletableFuture.java:2073)
	at org.apache.pulsar.broker.service.schema.BookkeeperSchemaStorage.lambda$getSchema$7(BookkeeperSchemaStorage.java:224)
	at org.apache.pulsar.broker.service.schema.BookkeeperSchemaStorage$$Lambda$804/0x000000084060c040.apply(Unknown Source)
	at java.util.concurrent.CompletableFuture.uniHandle(java.base@11.0.13/CompletableFuture.java:930)
	at java.util.concurrent.CompletableFuture$UniHandle.tryFire(java.base@11.0.13/CompletableFuture.java:907)
	at java.util.concurrent.CompletableFuture$Completion.exec(java.base@11.0.13/CompletableFuture.java:479)
	at java.util.concurrent.ForkJoinTask.doExec(java.base@11.0.13/ForkJoinTask.java:290)
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(java.base@11.0.13/ForkJoinPool.java:1020)
	at java.util.concurrent.ForkJoinPool.scan(java.base@11.0.13/ForkJoinPool.java:1656)
	at java.util.concurrent.ForkJoinPool.runWorker(java.base@11.0.13/ForkJoinPool.java:1594)
	at java.util.concurrent.ForkJoinWorkerThread.run(java.base@11.0.13/ForkJoinWorkerThread.java:183)

   Locked ownable synchronizers:
	- <0x000000065ef5aea0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync)

It seems to be fixed in 2.8.2.

Catch up
The problem still exists in 2.9.X. Finally I found it's related to C++ producers. I'll try to fix it in apache/pulsar-client-cpp#129.

It is a broker side problem or a client problem?
@tongsucn

It is a broker side problem or a client problem? @tongsucn

FYI this problem is solved in apache/pulsar-client-cpp#146


[Bug] inline render bug

Initial checklist

[X] I agree to follow the code of conduct
[X] I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
https://user-images.githubusercontent.com/1715916/187716473-eaa80a9e-fe1f-4c1b-8a79-5d65681b41e4.mov
https://user-images.githubusercontent.com/1715916/187716519-fdc90954-e879-48ad-8942-c5fb6d10882d.mov
Expected behavior
渲染有误
Actual behavior
渲染错误
Runtime
No response
OS
No response
Build and bundle tools
No response

That's by design of markdown. _You_1 in github will also generate _You_1


Cellular automaton algorithm

get functionality of 'Cellular automaton algorithm' Branch into this to add Propagationmodel

there is an extra function-call in the runner.js file for the propagation model


metric name for the grafana dashboard example is wrong

First of all, thanks for making this great library.
In the README, it says that this library export metrics like http_server* but I couldn't find grafana dashboard using those metrics. (Even in the example linked in dashboard, metric name is different).
Is it the matter of the outdated example?

This has been recently changed, will update the README today.


New README section and some API changes and additions

This is a mix of things. I've added a new section to the docs, put some initial imports in the core REPL, renamed undo to top (since I've always found the name kind of confusing), and added some methods to Json.

Current coverage is 51.56%

Merging topic/cursor-docs into master will decrease coverage by -1.59% as of d3a1ddc

Powered by Codecov


cmd/link: relocation target * not defined when importing a package

What version of Go are you using (go version)?

$ go version
go version devel +14c3692502 Sat Mar 16 14:16:39 2019 +0000 linux/amd64

(Also tested with go1.12 and go1.12.1).
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN="/home/pwaller/.local/bin"
GOCACHE="/home/pwaller/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/pwaller/go"
GOPROXY=""
GORACE=""
GOROOT="/home/pwaller/sdk/go1.12"
GOTMPDIR=""
GOTOOLDIR="/home/pwaller/sdk/go1.12/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/pwaller/.local/src/github.com/pwaller/bench-syso-broken/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build380714510=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Tried to use the toolchain trick described in "Use syso file to embed arbitrary self-contained C code".

Put code.go, code.s and code.syso in a package with the following described below.
Run go build.

code.syso
I generated a .syso file in the same directory as the package with the following command: gcc -x c -c -o code.syso - <<<'void nop1() {}'. Note, I'm aware of the limitations of syso files with respect to calling convention, I'm just using this as an easy way to get an object file for purposes of demonstrating that linking is not working as I'd expect.
code.go
package main

// Comment out this line, and the main binary compiles successfully(!?).
import _ "golang.org/x/sys/unix"

func main() {
	nop()
}

func nop()

code.s
TEXT ·nop(SB),$0-0
  JMP nop1(SB)

Then I ran go build.
What did you expect to see?
A successfully compiled binary.
What did you see instead?
# github.com/pwaller/syso-broken
main.nop: relocation target nop1 not defined

Additional notes

If I remove the otherwise unused import of golang.org/x/sys/unix, then the binary compiles.
I can reproduce with both old-style GOPATH or modules.

/cc @ianlancetaylor for the linker.
@gopherbot label needsinvestigation

By looking at the trace output† what seems to be going on is that the symbols in the syso file are not being considered when using an external linker. The LinkMode is being set to external when I import x/sys/unix.
I have discovered that if I set GO_EXTLINK_ENABLED=0, then the binary does build.
† go build -ldflags='-v -v' and supplementing the output by editing the linker code.


agent can't learn ip from arp

the last agent log
modified; please apply your changes to the latest version and try again
time="2021-11-23T10:04:42Z" level=info msg="New connection.."
time="2021-11-23T10:04:45Z" level=warning msg="Connection timed out."
time="2021-11-23T10:04:46Z" level=warning msg="InboundError EOF"
time="2021-11-23T10:04:46Z" level=info msg="Closing OpenFlow message stream."
time="2021-11-23T10:04:54Z" level=info msg="New connection.."
time="2021-11-23T10:04:54Z" level=warning msg="InboundError EOF"
time="2021-11-23T10:04:54Z" level=info msg="Closing OpenFlow message stream."
time="2021-11-23T10:04:54Z" level=info msg=EOF

The OpenFlow controller connection may be closed unexpectedly. We should deal with this case: monitor OpenFlow connection, and trigger bridge re-init after this case.


External Document No. on table 5990 Service Shipment Header

Please add the following field to table 5990 Service Shipment Header.
        field(10606; "External Document No."; Code[35])
        {
            Caption = 'External Document No.';
        }

Internally closed as "Won't Fix" by @ventselartur. Syncing state to GitHub.


kubeconfig_path requires a kubeconfig file to actually exist with the correct structure even if that file will come later

Hello, just to clarify I am pretty new to all this so I may have misunderstood a couple of concepts.
What I have is:

a terraform module creating an EKS cluster
a helm chart resource applying some charts
kustomize resources that apply several (custom I would guess) resources necessary for the aforementioned charts

My EKS module has a parameter with which it writes a kubeconfig file dynamically during the creation of the cluster on my designated local filesystem as such:
module "eks-cluster" {
  source                    = "terraform-aws-modules/eks/aws"
  cluster_name              = var.cluster_name
  cluster_version           = "1.19"
  subnets                   = var.subnets
  vpc_id                    = var.vpc_id
  enable_irsa               = true
  node_groups = {
    first = {
      desired_capacity = 2
      max_capacity     = 4
      min_capacity     = 1
      instance_type    = var.worker_instance_type
    }
  }
  write_kubeconfig   = true
  kubeconfig_output_path = "./kubeconfig"
}

I also have this configuration regarding kbst/kustomize:
terraform {
  required_providers {
    kustomization = {
      source = "kbst/kustomization"
      version = "0.5.0"
    }
  }
  required_version = ">= 0.12"
}

provider "kustomization" {
  kubeconfig_path = "./kubeconfig"
}

When I am executing terraform plan I get the following error:
│ Error: provider kustomization: kubeconfig_path: open ./kubeconfig: The system cannot find the file specified.
│
│   with module.eks-cluster.provider["registry.terraform.io/kbst/kustomization"],
│   on ..\modules\k8-eks-cluster\eks\providers.tf line 28, in provider "kustomization":
│   28: provider "kustomization" {
I tried to "trick" it by creating an empty kubeconfig file in the directory but apparently it also requires the structure of the file to be correct so I got the equivalent error which I am not going to paste here as it's out of scope.
Am I doing something wrong? Using this wrong? Is, what I'm trying to do, out of scope for this specific provider?
P.S. I would like to point out that when the code I am trying to maintain was given to me by another developer it was using
version = "0.2.0-beta.3"

which did accept the non-existing ./kubeconfig file during planning and applying.
Thank you for your time.

Try using kubeconfig_raw instead. Not knowing that EKS module, but when files are actually written to disk is often depending on what part of the lifecycle Terraform is in. E.g. local_file resources aren't written during plan to the best of my knowledge. The way how authentication is handled, changed in v0.5.0. https://github.com/kbst/terraform-provider-kustomization/pull/103


feat(notification/teams): add teams notification - server side

This PR adds support for Microsoft Teams in InfluxDB notification endpoints and notification rules to the server-side of InfluxDB.
It contains code changes that were reviewed in #18916 (which also contained UI part, which is not subject of this PR)
What is in this PR:

implementation and tests of teams endpoint and rule
swagger updated with teams notification rule and endpoint

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Feature flagged (if modified API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

I can't change swagger this PR, because UI-dependant automated tests then fail (ci/circleci: jlint, jstest, build fail). UI depends on (and even extends) types that are generated from the swagger file and such code cannot be then built against types that are generated from an updated swagger.
https://github.com/influxdata/influxdb/pull/18916/commits/52f99f3a2aca1464f8fca96d0cd0df011fa2ab70  is the swagger change, it is only additive.


stress testing

Now that we have the decommission system in place we should start doing some stress testing on the nodes of the dev lab.
My idea is we write a small script that send different reservations at random time with different duration.
During this time we monitor the systems (memory, cpu, networks, errors rate, ...)
So we start building some knowledge about how everything works together.

For the system monitoring we already have a node exporter in place on the node in the labs so that fine.
For the logs we don't have anything, so I proposer we quickly write a small tool that would read the logs from the zinit ring buffer and send them to a remote endpoint where we can aggregate/process them.

Idea is using tfuser to request provisioning:

Lot of request with small duration
Request with longer duration
Request with random delay between request
Sending invalid schema
Reserving the full capacity of one node
Do random reservation with random data ?

Branch used: https://github.com/threefoldtech/zosv2/tree/stresstest

fixed in https://github.com/threefoldtech/zosv2/pull/282


The code in Startup.cs isn't getting called

Hi Mohammad,
My ultimate aim is to achieve Auto Windows Login, and I have followed the steps you have mentioned in #6, but nothing happened. Upon investigating further, I realized that the original redirect to /Account/Login itself wan't happening and that the code inside Startup.cs isn't getting called at all.
I am using the Update 3 Branch code. (I originally tried this with the master branch code but with no luck there too)
Please help.

I have also tried this with the WindowsFirst branch code. But here too the code inside Startup.cs isn't getting called.
I really don't know how to proceed.
Please do help.

Have you tried running the WindowsFirst branch itself or you added it's code to an existing project? If its the later, can you share the code to be able to debug ?

I tried running the code from the windows branch itself.
It goes to the home page on start-up.
I'm using Visual Studio 2013, iis 8.5 and SQL express 2012 on a Windows 8.1
system.
Everything works fine, except for the windows first login.
On Fri, 5 Jun 2015 17:12 Mohammad Younes<EMAIL_ADDRESS>wrote:

Have you tried running the WindowsFirst branch itself or you added it's
code to an existing project? If its the later, can you share the code to be
able to debug ?
—
Reply to this email directly or view it on GitHub
https://github.com/MohammadYounes/MVC5-MixedAuth/issues/30#issuecomment-109266512
.

Are you running Windows 8.1 or Windows 8.1 Pro ?

I'm using Windows 8.1 Pro.

I tried this on a Windows 8.1 Pro and it works as expected! The home page is set to allow anonymous access and thus no registration is required, when you go to About or Contact pages, the current windows user will be automatically registered or signed in. If no credentials were passed, the app will redirect you to login page.

I understand that, but my issue is that by default the application does not ask for my Windows credentials.
Just for my understanding, what is changing the LoginPath in Startup.Auth.cs from "/Account/Login" to "/Windows/Login" supposed to do?
As per my understanding with the WindowsFirst approach is that when you navigate to the url "http://[server]/MixedAuth", the application should ask for my windows credentials and then do whatever it does. This isn't happening. It's taking me directly to the Home/Index page. Everything else in the application is working fine.
If my understanding is incorrect I guess I've misunderstood and I'm sorry.

Just add authorize attribute to the Home/Index action and you'll be asked for credentials.

The LoginPath is used to redirect the user when a request to a protected resource is made, the home page (Index Action) does not require authorization!
On the other hand About/Contact Actions are protected and do require authorization, accessing them will redirect you to /Windows/Login and if authentication fails! you'll be redirected to 401.html which contains a meta refresh that will send you to /MixedAuth/Account/Login.
If accessing About/Contact actions does not prompt you for username/password, then you might want to check your internet settings and the zone in which your application resides:

Aah!! Now everything is clear. Thank you SO SO much Mohammad.


Cluster Template Revision Select Bug

Proposed changes
When selecting a cluster template revision to use when launching a cluster via a template the revision would change the URL and subsequently would not reload the new model and values. This was because the select for this component was attached to the clusterTemplateRevisionId on the model being passed down from the launch route, we specifically pass down clusterTemplateRevisionId that is watched as a query param and is marked as mutable. I switched the select to use this param and all works as expected.

Types of changes
Bugfix

Linked Issues
rancher/rancher#22977

Further comments
N/A

Should the other references to model.cluster.clusterTemplateRevisionId be changed as well or are those safe?

Good catch. Technically they should be safe since they are only reading the value off the model not changing it but I will fix it for consistency. Thanks!


readme update, integration diagram

Update the README description of the service to reflect the sidecar approach (vs prev. middleware)
Added service integration diagram

Would it be possible to fill in the background on the diagram? It's quite difficult to read when in dark mode in the browser.

done


sshfsFuse: 2.5 -> 2.6

Things done:

[ ] Tested via nix.useChroot.
[x] Built on platform(s): linux
[ ] Tested compilation of all pkgs that depend on this change.
[x] Tested execution of binary products.
[x] Fits CONTRIBUTING.md.

Extra
cc @jgeerds

Ping @k0ral

Updated using 'autoreconfHook', sorry for the delay.

Looks like there's a new release (2.7) at https://github.com/libfuse/sshfs/releases

Upgraded to 2.7 .

The name and src.rev disagree. Also, is there a reason for building from git rather than using a release tarball? Otherwise, this builds & works for me.

Factored out a version attribute as suggested.
Unless I'm mistaken, fetchFromGitHub actually downloads a release tarball at https://github.com/${owner}/${repo}/archive/${rev}.tar.gz.

Ah, you're right. TIL. Thanks!


Fixes #2558 - If driver finishes with error, Marathon does not abdicate

The MarathonSchedulerService now performs abdication action if driver ends with error.
This change fixes #2558 where abdication action wasn't performed in case of driver failure.
Added new unit test to show issue.

Thanks!
What I would like also is to make it "obvious" that all these failure branches are handled the same. Maybe refactor it into common methods?

@kolloch does it look better now? If so, I'll squash my commits and push it to the pull request.

There are other things that are seriously wrong with the class at this moment but I think we can merge your code as an iterative improvement when you address the comments.

Let's address the last comment, squash and then ship it :) :ship:

Done :)

Thx! :ship: :rocket:


Problem about .Ds_Store

Hi, I wonder if you run your code on a Mac? I run this code on ubuntu16.04 according to your rule. But is suggests that OSError: [Errno 20] Not a directory: '../datas/omniglot_resized/Alphabet_of_the_Magi/.DS_Store'. Obviously, there are something hidden in the file system. How should I fix such problem? Do you test your code on ubuntu? Thanks for your kindly help.

I manually deleted all ".DS_Store" and the problems seemed to be solved.

Please use the following command find . -name .DS_Store | xargs rm in folder ```./datas/omniglot_resized/````


Quote integers correctly

%q quotes one character, use %d instead.

I am a Red Hat employee.

LGTM

@k8s-bot ok to test


Update MailTransport.php

escapeshellarg() disabled on some shared hostings

I don't think it's a good idea not to escape if the function's disabled?

I provided a polyfill for this but it was deemed unnecessary.
https://github.com/swiftmailer/swiftmailer/pull/753
I'll happily take suggestions to an alternative as we're unable to install the latest version of SwiftMailer at the moment.

Also https://github.com/swiftmailer/swiftmailer/pull/780


V3.0.0

Removed render props performance issues. I've removed state from render props, now if we want to listen to it's changes we need to use useTransformEffect hook
Created helper hooks for handling controls, transform state and context without performance issues with rerendering
Added KeepScale, MiniMap components
Added documentation about new hooks
New readme
Semantic release

The V3 will be done today?

The V3 will be done today?

Hopefully! It looks like it needs few checks around automation and we are ready! ⚡
The best thing is the semantic release which automate a lot of manual work around releasing. In this case I will be able to provide updates faster and better. I will make much more tests in the future so merging PRs will be safe for the project.
Hopefully it will work good and we will iterate actively on new features/fixes with this setup 🤘

I'm wainting to check the V3 and see what are the breaking changes.
useTransformEffect, MiniMap, KeepScale made me courios.
I was checking now the docs for KeepScale but to be honest I don't see much here https://prc5.github.io/react-zoom-pan-pinch/?path=/docs/examples-keep-scale--keep-scale

I'm wainting to check the V3 and see what are the breaking changes.
useTransformEffect, MiniMap, KeepScale made me courios.
I was checking now the docs for KeepScale but to be honest I don't see much here https://prc5.github.io/react-zoom-pan-pinch/?path=/docs/examples-keep-scale--keep-scale

Breaking changes are mostly around render props and rerendering in general - I made the hooks to allow developers to choose on how they want to rerender their components, this is related to tons of the performance issues which were happening because of bad design for interacting with context and data in the zoom pan pinch.
I hope it will close the performance topic once for good and I will be able to solve bugs and add some more features 👍🏻


How to bulid myself ,gri and .grm

When I try to bulid 3 groups from your file ,I meet some troubles. could you tell some tails to how to build  the two files ?
the .gri file

the .grm file

Thanks!

I think you have solved it. please close it.


feat(docs): new version of docs

@Ghislain89, can you take a look at the errors and see if this is something I can fix? Would love to merge next week.


Doc/restructuring general tutorial

Description
Restructured the main introductory tutorial by splitting it into four notebooks for easier consumption. I have also edited the notebooks.
If the issue is on Github, simply link to it using the '#' symbol; otherwise, provide a notion page link):

resolves #510

Type of change

refactor: A code change that neither fixes a bug nor adds a feature
docs: Documentation only changes

Remarks (Optional)

In each notebook, there are links to each other notebook. I'll need to check the links to make sure they are good.

Re-implemented with the latest AutoRA versions. However, the latest AutoRA is not yet stable, so this will need to be updated again once AutoRA is stable.


Support for JSON

If I have a to_json, can I have AP do this:
ap job.to_json
and it will pretty print the JSON for me.
{
   “job_id” : "JD12345",
   “title” : “Network Engineer”,
}

Just a thought.

I'm thinking the following might work:
ap string, :json => true

(i.e. treat the string as JSON blob).

Ya, can't do that :(
I am using this instead
ap job.as_json


Refactor API module

The current module that integrates with the API requires a small workaround to bypass Cloudflare protection, so I decided to make my internal API module that works faster and more stable.
This PR introduces breaking change as most codes are refactored entirely.

I would as well separate this module into an NPM package so that everyone else can use it.


typo: publically -> publicaly

:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/porting-guides.md
:warning:Warning
View
Details

mixed-reality-docs/porting-guides.md

Line 30: [Warning] Illegal link: install the tools -- missing bookmark. The file install-the-tools.md doesn't contain a bookmark named immersive-headset-development.
Line 41: [Warning] Illegal link: Install the tools -- missing bookmark. The file install-the-tools.md doesn't contain a bookmark named installation-checklist-for-immersive-headsets.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Opps, didn't drop the "a" should be "publicly"


Runtime Error when testing module that imports process

Hello, first of all congratulations for the awesome project.
Here's my conf:
Test in node v5.7 and v6.2 with same output.
// foo.js

import process from 'process';

export default function getNodeEnv () {
  return process.env.NODE_ENV;
}

// __tests__/foo-tests.js

jest.unmock('../foo');
import foo from '../foo';

describe('Foo', () => {
  it('bar', () => {
    expect(true).toBe(true);
  });
})

outputs
● Runtime Error
  - SyntaxError: Unexpected token [
        at createMockFunction (node_modules/jest-mock/src/index.js:163:10)
        at makeComponent (node_modules/jest-mock/src/index.js:254:9)
        at generateMock (node_modules/jest-mock/src/index.js:309:16)
        at getSlots.forEach.slot (node_modules/jest-mock/src/index.js:319:20)
        at Array.forEach (native)
        at generateMock (node_modules/jest-mock/src/index.js:314:30)
        at getSlots.forEach.slot (node_modules/jest-mock/src/index.js:319:20)
        at Array.forEach (native)
        at generateMock (node_modules/jest-mock/src/index.js:314:30)
        at getSlots.forEach.slot (node_modules/jest-mock/src/index.js:319:20)

Here's the whole test case: https://github.com/ken210/jest-babel-test
Thank you!

Why are you importing process? process is available as a global in node.
Your problem is probably fixed by doing jest.unmock('process') or just by removing the import statement.

Thank you, didn't know about that. It's perfect now.