Android Studio run application failed

I create a new flutter project by Android Studio's default template, then I run the application, but I got the error.
[   +4 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +6 ms] executing: /Users/venshine/Work/AndroidSdk/build-tools/29.0.2/aapt dump xmltree /Users/venshine/Work/WorkSpace/AndroidProjects/my/test_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +24 ms] Exit code 0 from: /Users/venshine/Work/AndroidSdk/build-tools/29.0.2/aapt dump xmltree /Users/venshine/Work/WorkSpace/AndroidProjects/my/test_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1d
               A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")
               A: package="com.venshine.test_flutter" (Raw: "com.venshine.test_flutter")
               A: platformBuildVersionCode=(type 0x10)0x1d
               A: platformBuildVersionName=(type 0x10)0xa
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="test_flutter" (Raw: "test_flutter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.venshine.test_flutter.MainActivity" (Raw: "com.venshine.test_flutter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +6 ms] Stopping app 'app.apk' on Mi 10.
[        ] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 shell am force-stop com.venshine.test_flutter
[  +59 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 shell pm list packages com.venshine.test_flutter
[  +78 ms] Installing APK.
[   +2 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb version
[   +8 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Users/venshine/Work/AndroidSdk/platform-tools/adb
[        ] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb start-server
Installing build/app/outputs/flutter-apk/app.apk...
[{"event":"app.progress","params":{"appId":"1d61f418-6e0a-45fe-8693-a52ca36d2a23","id":"1","progressId":null,"message":"Installing build/app/outputs/flutter-apk/app.apk..."}}]
[  +12 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 install -t -r /Users/venshine/Work/WorkSpace/AndroidProjects/my/test_flutter/build/app/outputs/flutter-apk/app.apk
[+1743 ms] Performing Streamed Install
           Success
[{"event":"app.progress","params":{"appId":"1d61f418-6e0a-45fe-8693-a52ca36d2a23","id":"1","progressId":null,"finished":true}}]
[   +5 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 shell echo -n c929c4d735a55a4606ac9f9f3c5b6e83d3c83d31 > /data/local/tmp/sky.com.venshine.test_flutter.sha1
[  +33 ms] Mi 10 startApp
[   +5 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true --ez start-paused true com.venshine.test_flutter/com.venshine.test_flutter.MainActivity
[  +78 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.venshine.test_flutter/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[   +9 ms] Error waiting for a debug connection: The log reader stopped unexpectedly
[   +2 ms] Error launching application on Mi 10.
[   +8 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:474:9)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:977:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
           #21     _rootRunUnary (dart:async/zone.dart:1198:47)
           #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #28     _rootRun (dart:async/zone.dart:1190:13)
           #29     _CustomZone.run (dart:async/zone.dart:1093:19)
           #30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[{"event":"app.stop","params":{"appId":"1d61f418-6e0a-45fe-8693-a52ca36d2a23"}}]
[   +5 ms] executing: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 forward --list
[   +8 ms] Exit code 0 from: /Users/venshine/Work/AndroidSdk/platform-tools/adb -s c9e14780 forward --list
[  +16 ms] "flutter run" took 56,611ms.
[{"id":0,"error":"app '1d61f418-6e0a-45fe-8693-a52ca36d2a23' not found","trace":"#0      AppDomain.stop

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.6 19G2021, locale
    zh-Hans-CN)
    • Flutter version 1.22.3 at /Users/venshine/Work/flutter
    • Framework revision 8874f21e79 (10 天前), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/venshine/Work/AndroidSdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.8.3

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547

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

[✓] Connected device (1 available)
    • Mi 10 (mobile) • c9e14780 • android-arm64 • Android 11 (API 30)

• No issues found!

Hi @venshine
Can you please provide your flutter run --verbose and your pubspec.yaml.
Thank you

@pedromassangocode
my pubspec.yamll
name: flutter_app
description: A new Flutter application.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

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: ^1.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

I already delete previous project, then reboot computer, and  I create a new flutter porject again, then It works, so I already cannot provider flutter run --verbose , What can I do for you.

Hi @venshine
Thanks for providing that. Since you solved the issue and you can't provide the logs I'm going to assume that the issue is gone. Please feel free to file a new issue if that happens again.
Thank you

adb uninstall com.venshine.test_flutter, it works well for me now.


Protect ForEachStackNestedFunc iteration with a trivial check on whether the current FunctionBody is blocked from having stack nested functions.

@curtisman

LGTM

Thanks.
--Paul
From: Curtis Man<EMAIL_ADDRESS>Sent: Monday, February 29, 2016 11:14 AM
To: Microsoft/ChakraCore<EMAIL_ADDRESS>Cc: Paul Leathers<EMAIL_ADDRESS>Subject: Re: [ChakraCore] Protect ForEachStackNestedFunc iteration with a trivial check on whether the current FunctionBody is blocked from having stack nested functions. (#404)
LGTM
—
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/ChakraCore/pull/404#issuecomment-190339491.


Kit: replace path monitor with KVO observer on defaultPath

This PR replaces path monitor with key value observer (KVO) for NEPacketTunnelProvider.defaultPath which is by far seems to be less noisy and reports changes as primary interface is fully changed skipping intermediate steps where interfaces shuffle.
For example connecting to Wi-Fi produces one KVO notification as opposed to a couple of them when using NWPathMonitor. defaultPath also reports the real status of primary interface connectivity, so no need to do any heuristics (one interface available or many, how many are physical etc..).
Note that NWPath.isEqual(to: NWPath) almost always returns false. I feel like the only time it returns true is when you give it exact same instance of NWPath. So that should work fine with LTE when roaming around.
We need to thoroughly test it though.

This change is

@pinkisemils I agree, although I'd like to test it thoroughly before we do that.


"sharing repos online" problems

remote origin already exists

I'm not sure just where this came from.  recovery box and not deleting?

Pushing: remote contains work that you don't have

I am not sure where this comes from, but it is common

At least one person might have tried linking yesterday already(?)

Second problem comes from people clicking on "add README" or "add license". Seen many times. We need a recovery there.

What do you think is better recovery to offer for problem 2?

force-push with an explanation what it does and why it is to be used with care?
delete the github repo and re-create it?
rename the github repo and create a new one and show later how to delete?

I'd say whatever is closest to real life.
Starting again from scratch (deleting and recreating) is maybe what any beginner could find out by themselves and what one would start with when in that situation by oneself?
But force-push is maybe better; to teach something they might not think of and get the possibility to talk about the "use with caution"?

I'd also vote for force-push.  It's most similar to what I would do, easiest, and all.  The warning probably isn't too hard: "if it's a brand new repo, it probably is always fine to do this.  For something with already work, don't do this unless you are very sure what is happening."
and yes, I do it semi-often on branches and stuff.
Perhaps another option is "git pull" and hope that these initialized files aren't overlapping.  It might not work if default upstream is set.

Going for force-push solution. Thanks!


Create death-shamer

Death shamer plugin - fork of https://github.com/ejedev/raidshamer which adds the following features
-ToB toggle (previously was always on)
-Toggle death shaming outside of raids
-Toggle death shaming for friends
-Toggle death shaming for strangers

Consider PR-ing to https://github.com/jack0lantern/raidshamer (appears to have more recent activity)

I will try that thanks for the tip


Fix sources.list entry so that "--force-yes" is no longer required

See https://github.com/docker-library/official-images/pull/1201#issuecomment-226623491 for the context.

@tianon Thank you! Such a sneaky issue, a single / character! Thank you for helping out!


Often see "Would you like to change VS Code's UI Language..." notification

I don't know exactly what triggers it, but I see these notifications randomly often:

It often happens when I open a remote window.

/duplicate https://github.com/microsoft/vscode/issues/139151


Drop the Provider message type from the internal API.

This is a vestige of an old attempt to unify auth/access for ModelProvider and DataProvider principals. It is inconsistent with newer code.

This change is


Make run_equivocator_network test simpler and less flaky.

This wraps the Participating reactor in a FilterReactor in the test, and delays the first few messages to and from one of the two nodes with the same key. That way, the nodes won't notice each other and will always equivocate in the first era.
Closes #1859

I wonder, if we can write a unit test now that asserts when the bid can be re-activated, what's the delay for that, that activating bid while you're evicted is a noop, etc.

Makes sense, but let's make that a separate ticket.

I created #1922 for extending the test.

bors merge


[apache-maven] Flag as a build-tool

#3955

A single PR or a small set of PR addressing #4156 would be nicer for the reviewers.

A single PR or a small set of PR addressing #3955 would be nicer for the reviewers.

Do you want me to drop/recreate them ? I did this As I thought they would be easier to reject/merge on each case :thought_balloon:

Do you want me to drop/recreate them ? I did this As I thought they would be easier to reject/merge on each case 💭

No need for this one, but for future one I would prefer. I don't think there will be much debate around whether or not a tool is a build tool (or so I hope).

Do you want me to drop/recreate them ? I did this As I thought they would be easier to reject/merge on each case 💭

No need for this one, but for future PRs I would prefer. I don't think there will be much debate around whether or not a tool is a build tool (or so I hope).

Makes sense : I'll try to make an overall pass over all build tools (whatever the stack : js, go, rust, python, ruby,...)


Module doesn't work

Once the plugin is installed and compiled, I received the error:

What's wrong?

New release coming in a few hours with fixes to UnrealCLR for 5.3

It was on UE 5.2, could it works?

Try now. I fixed everything

Are you interested in a job opportunity? All remotely

Nah but if you need something built by Bifrost Inc. Feel free to message me on X/Twitter if you want discuss a development contract

Hello, now it is opened but there isn't a demo map inside, is this an error? I can't see the map you are referring in the guide

enable plugin folders on the content browser. its inside the SolanaSDK plugin folder under maps in the content folder. It will not be visible in the projects content folder automatically. I will update the guide to match the new plugin setup


Feature/1444 resolve linked content blocks in assets enhance bt dependencies with it

PR details
What changes did you make? (Give an overview)

closes #1444

Further details (optional)
...
Checklist

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] test scripts updated
[ ] Wiki updated (if applicable)

resolving asset keys & improving caching done now.
todo:

look through the new r__asset_keys when finding dependencies


Add GitHub Actions schema

I'm not familiar with GitHub actions yet so any suggestions are welcome.
This works for the platforms specified, but could probably be better.
The version of Go used is pulled from the go.mod header which is used with actions/setup-go.
Not sure if using GITHUB_ENV is preferable to action outputs or even something else.
I think the directories being cached should probably be platform dependent so we're not storing and restoring everything.
But I don't know how to better split that up yet.
The non-Windows tests need root privileges to install and control the service. But sudo's $PATH doesn't see the Go installed from setup-go, (it calls the CI's preinstalled Go instead) even with -E it seems $PATH is protected.
As a workaround we find the path and call it manually.
If there's a better way, we should do that instead. This feels like the wrong way to do it.
It may also be worth separating tests that need privileges from those that don't.
Note that while the test schema should work, the service tests themselves on Linux are going to need an upstream patch to the "service" pkg they depend on.

Nobody should notice this but history was re-written.
https://github.com/djdv/go-filesystem-utils/commit/679dc6ea7fcc34d3ac974809f7fbc5cc8e508822 -> https://github.com/djdv/go-filesystem-utils/commit/1af1e26f3fd1b4e5045e69c8a267f660d50c2120
This should be the only time master gets a force push, and only because nobody is using this yet.
The old version didn't actually work the way it claimed to and I don't want someone to see it in history and copy it expecting it to work correctly.


Updates to HoodieRecord are missing during MergeHandle with ExternalSpillableMap

MergeHandle uses ExternalSpillableMap for storing all new inserts to a file. Today during merge handle if number of records which we are adding to a file are a lot then ExternalSpillableMap may end up writing it to disk and future updates done to in memory copy of HoodieRecord will not be reflected into on disk copy. This creates duplicate key issue if we are using HBaseIndex. Creating this issue to address this.
https://github.com/apache/incubator-hudi/blob/master/hoodie-client/src/main/java/com/uber/hoodie/io/HoodieMergeHandle.java#L211 Here we are updating HoodieRecord after adding to the map.
cc @vinothchandar @bvaradar @n3nash

@ovj will be submitting this PR shortly

closing in favor of https://issues.apache.org/jira/projects/HUDI/issues/HUDI-163


"Email Domain Discovery" configuration should be moved to different location

Describe the issue:
Email domain-based organization discovery feature was introduced with IS-7.0.0. The option to enable this feature is under Organization Management as follows.

Once it's enabled, the admin can define email domains for any organization in the subtree by clicking +Assign Email Domain

Suggestion to Improve:

Email domain-based organization discover feature enable/disable config should go under Login & Registration section.
Under Login & Registration user should be able to find Organization Discovery tile.
Under that category show Email domain based discovery enable/disable config

In order to claim an email domain for an organization, need to go to the edit view of a given organization. Claimed email domains also need to be shown in the same page.

NOTE: There is a limitation to implement the second suggestion. From the root tenant admin can see only the first level organization in the subtree. but the admin might want to configure an email domain for an organization below the first level

The entire email domain discovery view will be moved as a new tile under Login & Registration section (both enabling the config and mapping email domains to organizations will happen in this view).

During offline discussions, it was decided to:

Add a section for email domain discovery in the Login & Registration page where users will be allowed to:

Enable/disable email domain discovery for its immediate child organizations.
View organizations that have configured email domains along with their configured email domains.

Allow configuring email domains for a organization via a separate tab in the settings page of the organization.
Conditionally render the above mentioned tab only if the email domain discovery is enabled.


Port Forward command and endpoint

https://github.com/epinio/epinio/issues/1163

added port-forward command
updated some k8s apis
added portforward endpoint
fix for env command not showing usage

There are some wip and fix commits in this PR. I don't think we have any guidelines for that, but I prefer what's described under "Commit Guidelines"

Capitalized, short (50 chars or less) summary

Describes the change concisely, maybe using the imperative. If something isn't revertible on it's own, without breaking tests, I put it together with another commit. Anyhow, could just squash in the end :)


Timeout details never actually used

https://github.com/opentracing-contrib/java-web-servlet-filter/blob/master/opentracing-web-servlet-filter/src/main/java/io/opentracing/contrib/web/servlet/filter/ServletFilterSpanDecorator.java#L109-L112

good catch, the fix should also contain a test :)


index.php inside the examples folder throwing error while accessing '/error' route.

Error:

Fatal error: Uncaught TypeError: Dumbo\HTTPException::__construct(): Argument #3 ($errorCode) must be of type string, GuzzleHttp\Psr7\Response given, called in C:\Users\Prince\Desktop\dumbo\index.php on line 109 and defined in C:\Users\Prince\dumbo\src\HTTPException.php:14

PR is merged.


Add tox support

Use tox to support local testing with multiple versions of Python.

This is now done.


Handle package restrictions

🚀 Feature Requests
Currently the package parser cannot handle package restrictions e.g.
Skipping package 'Unity' with version range '[4.0.1, 5.0.0)' that is not a single version in file 'C:\Devel\Sample\Code\Sample\Sample.Unity.csproj'
This means that acquiring security patches etc still has to be done manually.
Contextualize the feature
Would allow all types of patching to occur automatically
Describe the feature

Parser should break out the range into low/high values
High value should be used as a restriction, on the allowable package change within the context of the requested update type i.e. Patch, Minor, Major
Changes need to be applied on a project rather than solution level so we keep the constraints, probably should wait on #912/913

Platforms affected (mark all that apply)

[x] :hammer_and_wrench: NuKeeper CLI
[x] :sparkles: GitHub
[x] :robot: AzureDevops
[x] :checkered_flag: Bitbucket
[x] :earth_americas: Gitlab
[x] :tv: Gitea
[x] :whale: Docker

Hi Phatcher, can you make a PR to support this?

Hi Phatcher, can you make a PR to support this?

@MarcBruins Sure, I'll have a go

@MarcBruins Sure, I'll have a go


CX Survey: Monitor and Track Distribution and Survey Completion

Problem: As the Experience Team, we would like to poll our current users so that we can find out the likelihood that they would recommend using ReportStream to their peers.
Background: Once survey is sent via email #3690 @Adrian-Brewster and @victorialb-usds will need to track inbox and surveys coming in respectively in order to maximize the number of responses and make improvements for future surveys.
@rachelhanster I broke out tasks below from the Send ticke 3690 because these are more about distribution and monitoring
To - Do

[ ] AB monitor inbox for any emails that bounce back and forward to Victoria, Berni and Rachel
[ ] BX log any bounces in the copy of the directory made
[ ] AB updates the directory and decides on who to send to as alternate communicates with BX VLB and RH so we can update our copy of the directory
[ ] Send to another contact at the organization can do in To field if it a single person; if doing multiple keep in BCC and BCC Victoria Berni and Rachel
Note: I am ok with multiple people responding per organization as we will aggregate by organization, in case people want to forward it on that will be fine.

Closing as it's a duplicate with #5182
cc @RakshindaAslam @HeatherRienks @victorialb-usds


Ideas for version 3

Replace "Fetcher" classes by HTTPlug
http://httplug.io/
Replace custom caching by PSR-6 implementation
http://www.php-fig.org/psr/psr-6/
Change ° C back to °C
The API should not be HTML aware.
Remove Examples and write a proper documentation instead
Remove deprecated methods and constructor arguments from the OpenWeatherMap class
Document all the OWM bugs this API fixes
?
You are welcome to propose further (backwards incompatible) changes.

Achieve 100% test code coverage?

Hi @aseriy , the code coverage is very closed to the 100%.
Please refer this PR. Thanks.

The official OpenWeather API service now supports the air pollution service.
Is it possible to add this feature in the next version?
Thanks.

Is it possible to add this feature in the next version?

It certainly is possible to add this feature. However, I currently do not have the time to do so. I'd gladly accept contributions though :)


no version found

hi!
I tried installing base45 by pip install base45 (or pip3 install base45), but I got this:
ERROR: Could not find a version that satisfies the requirement base45 (from versions: none)
ERROR: No matching distribution found for base45

any hint?
Alessandro

What version of Python do you have?

On 6/29/21 4:30 PM, Jakob Schlyter
  wrote:

  What version of Python do you have?
  —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub, or unsubscribe.
  [

{
@.": "http://schema.org",
@.": "EmailMessage",
"potentialAction": {
@.": "ViewAction",
"target": "https://github.com/kirei/python-base45/issues/5#issuecomment-870652320",
"url": "https://github.com/kirei/python-base45/issues/5#issuecomment-870652320",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
@.": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
Hi, thank you for your help!

# python -V
  Python 2.7.15
  # python3 -V
  Python 3.6.6

--

/  Dr.Alessandro Magni
\        Materials and Life Sciences
/        INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\        Email<EMAIL_ADDRESS>/        Tel +39<PHONE_NUMBER>  Fax +39<PHONE_NUMBER>
\ Our business in life is not to succeed but to continue to fail
/ in high spirits.  -- Robert Louis Stevenson

Only Python 3.7 and later is supported (see https://pypi.org/project/base45/)


Goals Page

this page will be activated after the next button on the client info page has been clicked. this page should include:
title: your goals

a drop down bar saying "select muscle group 1"
another drop down bar saying "select muscle group 2"
include a next button
include visuals


Execute save actions only when working in regular editor

First: Thanks for building and maintaining this plug-in!
I think, the save actions should not be executed when code got changed & saved via a diff viewer. I know this behavior from Eclipse and actually miss it a lot. When editing via a diff viewer I want only to change exactly that spot I am working on, nothing else. This behavior, of course, could be made configurable.
Thanks a lot.

OK I'll look into that. I'm not using the Intellij diff viewer so I never thought about that use case.


RectTransform

Would there be much work involved with getting RectTransform class to export properly? Right now it just exports as Transform.

I just checked it. RectTransform is exported as RectTransform. In which case is it exported as Transform?

Ah, I got what you mean. I will fix it in the next update

Fixed in 035086778fb7c0bd80ac99a5843246ee3c4b4f81


Update ipaddress.cpp

Summary
Fix misspelled value name.

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

Thank you, @nnpcYvIVl, for the additional updates, as well as for correcting the badly formatted Visual Basic comment. We'll merge your PR now.


callback function problem

Hi, this tool is awesome, thank you for your working on vue-fullpage. I found some problems while using it.
I start with the options from README:
export default {
  data() {
    return {
      opts: {
        start: 0,
        dir: 'v',
        duration: 500,
        beforeChange: function (prev, next) {
        },
        afterChange: function (prev, next) {
        }
      }
    }
  },
  method:{
    moveNext(){
      this.$refs.example.$fullpage.moveNext(); //Move to the next page
    }
  }
}

When I look into beforeChange function, prev is a DOM object, I think the parameters should be beforeChange: function (html, prev, next)

Thank you for your comments. "Before Change" and "After Change" mainly operate on slides rather than containers. If you need to operate on "el", you can use "this"

@river-lee I'm not trying to operate on "el". I think there is a mistake in the demo options in README.
The second parameter is previous index and third is next index.
source code:
https://github.com/river-lee/vue-fullpage/blob/master/src/libs/Fullpage.js#L276

Sorry, the README is wrong. Should be beforeChange


Don't try to install conda-forge xcube in AppVeyor build

Co-ordinated releases between xcube and xcube-cds (and other plugins) are complicated by the versioning: xcube-cds 0.x typically depends on xcube 0.x, but specifying xcube >= 0.x in the environment.yml breaks the build until the xcube 0.x conda-forge package becomes available -- meaning that xcube 0.x has to be both released and conda-packaged before xcube-cds 0.x can be tested.
The xcube-cds AppVeyor config already goes part of the way to resolving this problem: it actually installs xcube from the head of the master branch. However, before doing this, it also installs its own environment -- which includes the latest (and possibly as yet non-existent) xcube version -- then removes the conda-installed xcube. It would make more sense to do the following:

Clone the xcube repository, create an xcube conda environment (containing xcube's dependencies but not xcube itself), and install xcube directly from the repository.
Create a modified xcube-cds environment.yml which doesn't contain xcube as a dependency.
Update the xcube environment using this modified environment.yml.
Install xcube-cds from the repository.

This ensures that all xcube-cds's transitive dependencies through xcube are satisfied but avoids trying to install xcube itself through conda.

It would be good to implement Issue #43 before fixing this one, in order to decrease the AppVeyor build time -- CI config modifications usually require at least a few debugging cycles, so a quicker CI build will save time when fixing the present issue.

Another idea would be to come back to the use of maintenance and master branches. Changes that are incompatible with the last released xcube version would go into the master branch, others would go into both branches. The master branch could then hold a modified environment.yml permanently, until xcube is eventually released.
This procedure could/should also be extended to the xcube plugins.

I think we discussed using a maintenance/master release model at some point recently and concluded that it would be a good idea, but only once xcube development has slowed down and stabilized somewhat. If/when we do go ahead with that, it would certainly help with the version skew problems between xcube and plugins in CI builds. But for now, I think the slightly hacky solution described above should be enough.


Prefer language-markdown grammar over language-gfm

This patch changes the order of included grammar used for Weave/Pweave markdown files.
When an user activates both language packages, now the rules from language-gfm are prioritised because it's listed first, and but the rules from language-markdown seems more preferable for many reasons.
For example, commenting yaml options works fine with language-markdown but not in language-gfm, and so on.
When an user deactivated either of them, this patch has no effect.

Makes sense, thanks for the patch.


Merge pull request #51 from MicrosoftDocs/main

Merge changes in main to live

Docs Build status updates of commit aaedc38:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Feature/GitHub

Took me a few tries to get the formatting right - this is effectively just the HACKING file from the main part of the repository with some GH specific markdown

this is looking pretty good now but I want to add a small paragraph on reporting issues to bugzilla as well

Formatting looks good :+1: I also agree on the Bugzilla part. After all it is still the official Banshee bug tracker.


lvm2

lvm2 does not build with the following errors.
/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_get_udev_is_active'
/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_unref'
/usr/bin/ld: ../../libdm/libdevmapper.so: undefined reference to `udev_queue_new'

It may be user error any help would be appreciated.

According to https://www.freedesktop.org/software/systemd/man/libudev.html - udev_queue is deprecated
Furthermore, libudev also exports legacy APIs that should not be used by new software (and as such are not documented as part of this manual). This includes the hardware database known as udev_hwdb (please use the new sd-hwdb(3) API instead) and the udev_queue object to query the udev daemon (which should not be used by new software at all).
I did an exception only to udev_hwdb because many software has mandatory dependency on it. AFAIK only lvm2 has dependency on udev_queue, which means i'm not going to do an exception. As a workaround i suggest you to compile lvm2 without udev support(honestly, udev support in lvm2 is senseless)

Yes I forgot I opened this issue the community build for lvm2 used pkg config to detect udev. I disabled it thank you!


Mekanism Versioning

Issue description:
Mekanism versioning isn't good if somebody want to use it for dependencies because prefixing the Minecraft version is bad.
Forge allows to be define a minium version of a mod as requiring, for example:
@Mod(modid = SodiumCraft.MODID, version = SodiumCraft.VERSION, dependencies="required-after:mekanism@[9.4,);required-after:thermalexpansion@[5.3,)")

On Mekanism, we should now require defining something like
dependencies="required-after:mekanism@[1.12.2-9.4,)")

But If I support multiple Minecraft version like 1.11 and 1.12 or some minor versions, e.g. its nearly impossible to use a constant minimum-version.
Other Mods like ThermalExpansion do not use mc verson as prefix, too.
$ unzip -q -c Mekanism-1.12.2-<IP_ADDRESS>0.jar mcmod.info | grep '"version"'
  "version": "1.12.2-<IP_ADDRESS>0",

$ unzip -q -c ThermalExpansion-1.12.2-<IP_ADDRESS>-universal.jar mcmod.info | grep '"version"'
                "version": "<IP_ADDRESS>",

Well... I first thought it was a mistake in the mcmod.info file. It seems that since our last release the way the version is replaced has been changed and somehow incluses the mc version, which is certainly not the way it's supposed to work.
If you look at our previous version (build 327), that's the way it's supposed to be.

Fine. Okay thanks.
327 doesn't have the compability fixes for buildcraft so i'm locked on this version for now.

I can see how the change would have affected your dependency string, sorry that it slipped through.
Though it should not be a problem going forward if we leave it as is - the version numbers are different between the MC releases anyway so you'd still need to change it.
I also don't see how prefixing the mc version is "bad"

the version numbers are different between the MC releases anyway so you'd still need to change it.

Do you bump your version, if you move from 1.12.2 to 1.12.3?
I cant define a dependency like 1.12.*-9.4, can I?

Why would you need to? 1.12.2 < 1.12.3. If that does not hold true, that's a Forge bug

Fine.
Then its just my personal opinion.
At least it breaks the compability with other mods like SodoumCraft and shoud be only happen on major version changes.
Anyway, I want the new version schema, feel free to close this issue.


Allow theming and disabling of future dates

Hey,
is the separate theming and disabling of selection of the days after today possible?
I.e. I need to deny choosing of day after today and I want to make it look disabled.

You can disable future days, if you enter a maxDate prop. Those days larger than the maxDate will have the is-passive class and will not trigger a date change, when clicked on.


Update direct-routing-sbc-multiple-tenants.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/6247
Added note.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Global configured ruff does not use local configuration when having multiple projects open.

Describe the bug
I have multiple projects open in pycharm at the same time.
Each has its own ruff configuration in pyproject.toml.
Some use double some use single quotes.
To Reproduce
Open two python projects (attach to current workspace).
First one in pyproject.toml as:
[tool.ruff.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
docstring-quotes = "double"

Second one without:
[tool.ruff.flake8-quotes]

Check the second project in python code:

Expected behavior
I would expect ruff to respect individual project settings.
Screenshots
Using global or local ruff it is the same problem.

Environments (please complete the following information):

IDE: PyCharm 2023.3.2 Professional
OS: macOS 14.2.0
Ruff Version: 0.1.11
Plugin version: 0.0.28

Could be related to https://github.com/koxudaxi/ruff-pycharm-plugin/issues/345 but I actually open multiple projects at once (each in its own git repo)

@matejsp
Thank you for creating issue.
https://github.com/koxudaxi/ruff-pycharm-plugin/issues/345#issuecomment-1889668216
As mentioned here, this plugin only issues commands to the target file in project root unless a custom config path is set.
In other words, the plugin does not search for a default config.
Please run ruff without the plugin to see if it behaves as expected.
Also, please let me know the command.

Yes without the plugin in cmd line ruff works as expected in each of our projects with its own configuration.
At the begining I was using ruff from the first .venv that was in the first project.
So I installed pipx install ruff and changed to global ruff: /Users/matej.spiller-muys/.local/bin/ruff
But second project is still using pyproject.toml configuration from the first.
/projects/project1/pyproject.toml
/projects/project1/.venv/...
/projects/project2/pyproject.toml
/projects/project2/.venv/...

Running  /Users/matej.spiller-muys/.local/bin/ruff . from command line in project1 or project2 folder, it works without any problems. But not in pycharm.
I even tried running from project1 as current folder as:
/Users/matej.spiller-muys/.local/bin/ruff ../project2

and this is also working as expected.
Basically leaving everything to ruff ... it works.
Is there any default working folder or something else that is taken by default instead of local ruff configuration in pyproject.toml? As soon as I change the configuration in first project it changes also in second project.
Or anything that can be parsed from the logs.

I have recreated the pycharm project from zero ... Basically creating new empty python project in new folder and then attaching two projects.
all
project1
project2

on disk:
/projects/all
/projects/project1
/projects/project2

And I figured out that ruff was not run neither for project1 neither project2 (from previous commnet).
BUT as soon as I added pyproject to empty "all" project ... it started highlighting errors based on the configuration in first project. So something fishy is going on :D
I use attach functionality when opening multiple projects so I get them all in one window.

Is there any default working folder or something else that is taken by default instead of local ruff configuration in pyproject.toml?

I expected to choose the project root dir, but from what I hear from you, it seems buggy. I will confirm soon.

Or anything that can be parsed from the logs.

We don't have any method to get logs :(
We should implement the option.

BUT as soon as I added pyproject to empty "all" project ... it started highlighting errors based on the configuration in first project. So something fishy is going on :D

@matejsp
I debug your exmaple in my local.
your right ruff uses pyproject.toml in all project' root.

It works perfectly! Thank you very much!


[FEATURE] Switch theme depending on browser configuration without JS

I have checked all the prerequisites below and I don't see this is available

[x] Read the README.md
[x] Have the extended version of Hugo installed
[x] Used the exampleSite's config.toml as a reference

Describe the feature
My website has the light theme enabled by default but I use the dark theme. When disabling JS for unrelated testing, I realized I don't have access to the dark theme anymore.
My browser is configured to prefer dark themes and I know this preference is used in other websites.
This would allow degrading (no JS) to still permit theme switching.
 While I have applied simple fix for this, it will not help beyond the theme switching.
If javascript is disabled at the browser level, at least these other functions won't work 👇🏼

Mobile menu
Docs sidebar
Color mode switching
Search
Buttons' spacing.

Of these, only #1 & #5 I could see myself considering supporting where javascript is disabled  in future.


Make user32.dll P/Invoke functions are fully trusted for sake of the performance

Add [System.Security.SuppressUnmanagedCodeSecurity] as attribute.
Method execution will be faster 2.5x times than before.

closed with https://github.com/DynamicTranslator/DynamicTranslator/commit/a02865d6a6c6e71e2673c0a2fadc53075ac0f054


Incompatability with Rubidium (1.16.5)

Is it a mod compatibility issue?
Yes
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
https://www.curseforge.com/minecraft/mc-mods/rubidium
Minecraft version
Other (specify below)
Describe the issue
Apparently, running the mod with Rubidium (on 1.16.5 atleast] seems to break rendering; and no blocks are visible. Specifics on whether it is a setting issue are currently unknown.

1.16 is no longer support, update to a more modern version


GitHub Package Registry

Hello Alex,
Since you no longer use https://www.npmjs.com/ , is there any chance you could use GitHub Package Registry ?
https://github.com/features/package-registry
Cheers

I would love that too

I don't know what it is but I did apply for the beta. Still pending

I'ts a package registry just like NPM. With other tabs like Commits, Branches, etc you will have "Packages" and you can put releases of your project, manages versions, etc and allowing users to install from npm.
Some screens of mine:

You can even setup a GitHub Actions workflow to automatically generate a package release on a push event.
https://github.com/features/actions
Storing binaries in a branch like what you are doing is a bit of a hack ;-)

Okay so GitHub actions can replace AppVeyor and Travis, sure. But what is the minimal steps for installing from GitHub packages with npm?

Give me a day or two and I'll give you an example (too busy right now).

To avoid breaking projects that may depend on your packages, GitHub Package Registry does not support package deletion or deleting a version of a package. Under special circumstances, such as for legal reasons or to conform with GDPR standards, you can request deleting a package through GitHub Support. Contact GitHub Support using our contact form and the subject line "GitHub Package Registry."

I'm not interested in this

Why it's a problem for you?

There already is a dead simple way of installing, npm install uNetworking/uWebSockets.js#v15.11.0
I'm not interested in moving to something less liberal.

I had a fealing you would choke on the ToS for the same reason you fled npm.org...
As you know, they do this to garanty the users against braking builds due to disappearing dependencies. Package registries also enable you to automatically handle SemVer updates.
As I stated before, your solution is a hack but if it rocks your boat ;-)
It unfortunatly prevents many users to even consider your solution.
I guess there is no point in me showing you how to setup GitHub Actions to automatically generate your package to GitHub Package Registery.
Farewell!


Get first message

Is it possible to somehow get the first ever message of a chat?
I've tried getChatHistory with lastMessageId = 0 and getChatMessageByDate with date = 0. None work.
I saw that in the normal telegram api, getHistory has a dateOffset, which is used to get the first message after a certain date.

https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1get_message.html

Here everything can be. So just experiment as much as possible.
Perhaps this all again worth playing. But let's wait for the answers of professionals.

You should use getChatHistory with negative offset and a small from_message_id. For example, you can specify from_message_id == 9, offset = -1, limit = 2.

@levlam Thank You. Works great!!!

In this case, the programmer will try from_message_id == 9, offset = -1, limit = 2. On this he will calm down.
Leo I think it is necessary for people to experiment more.

hi i test it but result not first message
please help me

@Mohammadwh What TDLib version are you using and what exact request are you sending?


Merge Amd64 and Arm64 pax dockerfile

This limit the difference.
The file install-lingvo.sh doesn't work on x86.
There is an issue with auditwheel. So I don't use it on x86.

@terrykong shall we merge this PR or wait for you and @nouiz to figure out the deferred install issue?

I think it's fine to not fix the defer, but @nouiz , can you run the rosetta-pax image from this change thru https://github.com/NVIDIA/JAX-Toolbox/actions/workflows/nightly-rosetta-pax-build.yaml ? I'm worried about this breaking TE
@ashors1 Just added some TE tests (in #292 ), which can make sure this won't break the build (This isn't part of the pre-submit CI yet, so it needs to be dispatched manually thru the web UI)

How to run it manually?  I won't be able to do that today.

I rebased and tryed to add the recent change.

Testing build for 2.14: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6511142264

It looks like the build failed.


Binder button

Interested in a http://mybinder.org/ badge/button?
I think all it would take is a requirements.txt or environment.yml that is (automatically) kept in sync with one of your travis build slots. I could also add one of those files just like that but I suspect version drift will soon come and cause breakage. Any ideas on how to keep them synced without too much engineering?

Oh yeah, I think that'd be a great idea! Thanks for the suggestion. Regarding version drift, are you referring to the imported packages (scikit-learn, numpy, etc?)

environment.yml

could that simply be placed in the top dir of the master branch? Do you have an example of an environment.yml file for binder somewhere that I could use as a template?

environment.yml is the standard file you get from conda.
re: version drift, it seems you pin a few things in your travis build envs so I was thinking it would be cool to update environment.yml or requirements.txt when you update the build environment.


Improvements

Adjust code for the newer version of OpenAI
Add requirements
Support .env files
Add .gitignore

I'm on vacation i'll look at it on Monday! :)


Prepare for upgrade to 3.36.0

https://sqlite.org/releaselog/3_36_0.html
We can remove -DSQLITE_ENABLE_DESERIALIZE since that will be enabled by default now.

@warmwaffles here one helper script: https://github.com/elixir-sqlite/exqlite/pull/159

Excellent, thanks @kevinlang and @mindreframer for making this happen.


Stop Sound

How can I stop music?
Thanks!

In case you enqueue an AFSoundItem into a AFSoundQueue you simple call [myAFSoundQueue pause] (which is equivalent to stop). However there seems to be no method on AFSoundItem itself? @AlvaroFranco

Thanks Broich!!!


Unexpected error in Python project

I alt-selected a column of text and started typing to replace that column when this occurred.
[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
Build: 15.9.18254.1

System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.PythonTools.Intellisense.CompletionSessionExtensions.SetTriggerCharacter(IIntellisenseSession session, Char triggerChar)
   at Microsoft.PythonTools.Intellisense.IntellisenseController.<TriggerCompletionSession>d__43.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.PythonTools.Infrastructure.TaskExtensions.ReThrowTaskException(Object state)
   at Microsoft.PythonTools.Infrastructure.TaskExtensions.DoNotWait(Task task)
   at Microsoft.PythonTools.Intellisense.IntellisenseController.HandleChar(Char ch)
   at Microsoft.PythonTools.Intellisense.IntellisenseController.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.VisualStudio.Editor.PeekF1.CommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.PythonTools.Language.EditFilter.ExecWorker(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.PythonTools.Language.EditFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Duplicate of https://github.com/microsoft/PTVS/issues/4762
This has been fixed in VS 2019. Thanks.


Limiting generators not working as documented (--generators=), but --generator does work

Just a quick note, as the topic mentions, the new feature for using a specific generator, doesn't work as documented for this new release 0.8.1. It says to use the --generators= syntax, which doesn't match the official Prisma docs either btw. Using something like prisma generate --generator python does work. Awesome work btw, and awesome new feature as well.

Ah thank you for catching this! I've fixed the typo in the release notes.


feat(server): Add optional Prometheus metrics server

Add optional --metrics flag to enable metrics
Additional configuration with --metrics-address, --metrics-port, --metrics-path
Rgenerate options list in README

This calls for a discussion on what imagor specific metrics would be interesting.
IMO it is a no brainier that all the loader/storage/result storage operations have their own metrics so one can measure ratios between requests and result storages are performing directly from the imagor metrics.
I would maybe like to be able to monitor at what rates auto-webp and auto-avif results in those outputs.
Since there are so many inputs available for every request it is probably not feasible to be too detailed metrics wise.

This calls for a discussion on what imagor specific metrics would be interesting.
Yes! I am already working on instrumenting the http server and the storage packages, and plan to submit those as followup PR's after this (or similar) is merged.

I would maybe like to be able to monitor at what rates auto-webp and auto-avif results in those outputs.

This a good idea too!
On place that I am less familiar with is libvips, so adding instrumentation for that would be very helpful.

Hi I am on vacation right now. Will take a more in depth look afterwards.


Add link to node help in node edit dialog footer

[x] New feature (non-breaking change which adds functionality)

Adds a button to the footer of the node/config-node edit dialogs that will open the help for the node in the help sidebar.

Coverage: 68.583%. Remained the same when pulling 286c0b000ff5163ca0ca38684f2636aeaf815473 on node-help-link into c2772e5038e8d66e38c94282763f71886d24bb6c on dev.


Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS

Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS.
This arg configures the minimum time between successive ping frames without receiving any data/header frame, Int valued, milliseconds. This put unnecessary constraints on the configuration of keepalive pings, requiring users to set this channel arg along with GRPC_ARG_KEEPALIVE_TIME_MS.
This arg also limited the activity of the other source of pings in gRPC Core - BDP pings, but after https://github.com/grpc/grpc/pull/22997 BDP pings are only sent when there is receive-side data activity, making this arg unuseful for BDP pings too.
Sample discussion with user - https://groups.google.com/g/grpc-io/c/P35uOlzGdyA/m/OnGdQ1bJAgAJ
cc @ejona86

With this change, what behavior is being used to limit BDP pings to avoid GFE issues?

@ejona86 GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA (the maximum number of pings that can be sent when there is no data/header frame to be sent) is the arg that would be used for that. Note that this arg does blocks both keepalive and bdp pings currently.

Thanks for reviewing!


Update demo to use only single app namespace

Update demo to

Run app on one namespace.
Move the refresh metadata code into ReadMe
Remove 3 mins sleep before generating the recommendations.

Finally, able to run the demo without issues using quay.io/khansaad/autotune_operator:ds-auth and tested the same. Works as expected!


CANT CONTROL SCRCPY ON LANDSCAPING APPS

When I watch youtube on fullscreen which is landscape mouse cannot be detected  it tells me this in the command tab                   [server] WARN: Ignore touch event, it was generated for a different device size                                                                                similar to some other apps                                                                                Hope you see this n help                                                                                I'm using          Device: itel itel W6002E (Android 9)

https://github.com/Genymobile/scrcpy/issues/1645


Add enableGravatar option to module

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

@derekisbusy Do you want to update your PR or should I close it?


gqlObjectType cannot be defined outside resolvers

My goal is to add a @gqlField to an ent, for which the return type is a composed type / class. I'm trying to use @gqlObjectType to create a graphql definition for that type, but it seems that it's not picked up.
Example:

Ent Account has many transactions.
We want to add an accessor historicBalances. It returns a list of HistoricBalance objects, which compose of the date and balance.

In account.ts:
@gqlObjectType({name: "HistoricBalance"})
export class HistoricBalance {
  date: Date;
  balance: number;
}

export class Account extends AccountBase {
  @gqlField({name: "historicBalances", type: "[HistoricBalance]"})
  async historicBalances(): Promise<HistoricBalance[]> {
    return [];
  }
}

The codegen steps completes, but when running the server, it fails with this:
/Users/roemer/projects/fortunas-server/node_modules/graphql/jsutils/devAssert.js:12
    throw new Error(message);
    ^

Error: Expected undefined to be a GraphQL nullable type.
    at devAssert (/Users/roemer/projects/fortunas-server/node_modules/graphql/jsutils/devAssert.js:12:11)
    at new GraphQLNonNull (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/definition.js:395:32)
    at fields (/Users/roemer/projects/fortunas-server/dist/graphql/generated/resolvers/account_type.js:74:74)
    at resolveObjMapThunk (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/definition.js:504:40)
    at defineFieldMap (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/definition.js:766:20)
    at GraphQLObjectType._fields (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/definition.js:691:26)
    at GraphQLObjectType.getFields (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/definition.js:710:27)
    at collectReferencedTypes (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/schema.js:387:51)
    at new GraphQLSchema (/Users/roemer/projects/fortunas-server/node_modules/graphql/type/schema.js:174:9)
    at Object.<anonymous> (/Users/roemer/projects/fortunas-server/dist/graphql/generated/schema.js:24:19)

It seems that the @gqlObjectType isn't part of the generated code. Looking at the examples, it's so far only used in mutations and resolvers. In this case, a resolver isn't the right location, since this should be a field on an existing object.

will take a look at this and the other ones later today or tomorrow.
Thanks for diving into custom accessors and finding issues~

intentionally didn't support it but should probably have thrown.
Now support it in src/ent/*.ts

fixed in latest


Add InnoSetup tools

I would like to add the following two tools/packages:

IFPSTools

depends on the community package php
php has to be configured to use mbstring extension: remove the ; of the line ;extension=mbstring in the php.ini file (inside the php installation folder)
run it with php DisIFPS.php <your_compiled_script_file> <output file>

isdsetup.1.5.exe.zip which I found in https://github.com/dscharrer/innoextract/issues/106

We have already 2 InnoSetup tools (innoextract and innounp). With these two extra it is already 4. I propose creating a InnoSetup category. I think it makes sense as Utilities is getting bit. Moving the two existent packages may be a breaking change that may break updates. But we are not testing updates anyway and we recommend to do new installs vs updating packages.

The site says: Superseded by IFPSTools.NET.
Let's use that instead?

It seems to work also fine. We can use the zip in the releases. Do we want to create a shortcurt only for ifpsdasm or also for any of the other tools?


Update main.bicep

[x] Update OpenAI resource to use OpenAI location environment variable
  location: openAiResourceGroupLocation

[x] Remove gpt deployment AZURE_OPENAI_GPT_DEPLOYMENT / gptDeploymentName

[x] Update to 0613 version of the chat model

Fixed by #190


Some improvements

Correct typo ('ringtorn' to 'ringtone')
Improve MFi version notation

It needs to be easily distinguishable between MFi3.01 and MFi3.10
Here's a sample file of MFi3.01 and MFi3.10: MFi3_sample.zip

It seems MidRadio 7 uses Yamaha MA-5 sound source because it can play Technopolis ringtone from N900i correctly, which uses HV-Script (voice script for MA-5)

Thank you!


Add hyperparams to metagraph

This PR adds an info: SubnetInfo attribute to Metagraph and allows it to be saved and loaded from/to the metagraph file.

closing in-favour of #1121


@settings(max_examples=5) but it executed for 10 times

@settings(max_examples=5) cannot refrain the example times.
i fulfilled the max_examples = 5 but it execute 10 times.

Hello @balzaron !
Could you, please, provide information about your schemathesis, hypothesis and Python versions? Also some minimal reproducible example will be great to have if possible. Please note, that max_examples are applied per endpoint, e.g if you have 2 endpoints and max_examples=5, then you could have maximum 10 examples in total, however it could be fewer examples if some endpoint accepts nothing or some static data - there is not much to generate. Also, if tests are failing, then hypothesis tries to find some minimal example to reproduce the failure - these examples are not counted towards max_examples setting AFAIK

Hi @Stranger6667

my code is as below
@schema.parametrize()
@settings(deadline=900, max_examples=1)
def test_no_server_errors(case:Case):
    path = case.path
    print(path)
    assert False

----------------------------- Captured stdout call -----------------------------
/api/data-gate/get-security-by-asset-ids
/api/data-gate/get-security-by-asset-ids
/api/data-gate/get-security-by-asset-ids
---------------------------------- Hypothesis ----------------------------------
and you can see that this case executed at least for 3 times.
i am sure i only have 1 endpoint in my swagger yaml file because i comment other endpoints just for a test.
And your project is excellent! it is really helpful!

Hi @Stranger6667
thx for your reply

@schema.parametrize()
@settings(deadline=900, max_examples=1)
def test_no_server_errors(case:Case):
    path = case.path
    print(path)
    assert False

and it output
AssertionError
----------------------------- Captured stdout call -----------------------------
/api/data-gate/get-security-by-asset-ids
/api/data-gate/get-security-by-asset-ids
/api/data-gate/get-security-by-asset-ids
---------------------------------- Hypothesis ----------------------------------

you can see this case executed 3 times. and i am sure i have commented all the other endpoints in my swagger yaml file for this test.
appreciate for your project it is really helpful.

I am very pleased to hear that the library is helpful for you :)
Hypothesis re-runs failures to ensure, that they are reproducible and are not caused by some sort of randomness, here is the code for it - https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/src/hypothesis/core.py#L683
If an example failed on the first run and passed on the second, then Hypothesis will raise an error:
Unreliable assumption: An example which satisfied assumptions on the first run now fails it.

or:
Hypothesis found %d distinct failures, but %d of them exhibited some sort of flaky behaviour.

However, it might be not that straightforward and visible from the Schemathesis side, maybe we can categorize such runs in a separate group in the summary to make them more identifiable + update documentation on this topic. What do you think?

Yes, i got it. i will close this issue


Release latest code to rubygems

or at least 0.9.5, see also https://github.com/ageweke/fortitude/issues/44#issuecomment-190878679

Done!


Repo Preparation for MBO

The problem that you wish to solve
This repo has been marked as core tech and is part of initiative of repo preparation, part of this includes adding needed missing documentation.
Description
This repo in particular needs:
Include the Standard Code of Conduct
Identify the Core Maintainers
Implementation suggestions
This repo in particular needs:
Include the Standard Code of Conduct
Identify the Core Maintainers

Closing as no longer relevant. The repo has moved to the Cardano Foundation.


JS-SDK README cleanup/writeup/contribution

Overview
Verify that the content in the README.md is accurate by ensuring that everything included works as expected.
Acceptance Criteria
Go through each package and rewrite any sections that are missing a short description. If there's already a description, just make sure it’s clear.
Low hanging fruit: UMD/Vanilla JS is not currently supported so that section needs to be removed.

interested in this issue

assign this to me.

Hey @phoenixx11 @Chirag-S-Kotian  feel free to get started and open a PR when you're done! We will review and merge it if everything is ok! :)

my PR is ready for review

Overview
Verify that the content in the README.md is accurate by ensuring that everything included works as expected.
Acceptance Criteria
Go through each package and rewrite any sections that are missing a short description. If there's already a description, just make sure it’s clear.
Low hanging fruit: UMD/Vanilla JS is not currently supported so that section needs to be removed.


#3 Search repositories @dvilcode

There is a refactor to previous code and the new search module for repositories.
I'll follow your feedback about this PR.
Thanks for the chance!

Good job, Daniel! Cata will brief you on the next steps of the process. Please keep an eye on your phone/email.


Will need a way to delete the credentials in env.

I go to try and do an env search, but for some odd reason, it says i already have one in there. Stupidly i try using the already logged token, but i get hit with: Traceback (most recent call last):
File "/Users/jacobbender/Sucorn-Dj-DALLE-BOT/utilities/reverse_imagen3/imagen3.py", line 123, in
test_generator = ImageGen(authorization=get_access_token(cookie_str=token), debug_file=None, output_folder=args.folder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jacobbender/Sucorn-Dj-DALLE-BOT/utilities/reverse_imagen3/get_auth.py", line 19, in get_access_token
token = response.json()['access_token']
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'access_token'
WHICH is why i feel like it would be beneficial for if your token is expired that you should be able to delete it.

FIXED


MINOR: Rename AlterIsrManager to AlterPartitionManager

Since we have changed the AlterIsr API to AlterPartition, it makes sense to rename AlterIsrManager as well.
Committer Checklist (excluded from commit message)

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

@dajac @dengziming Thanks for reviews. Pushed an update.


Version 2.0.0

"getComponent/addComponent/etc. now return a pointer"
Arg... that would mean hundreds of changes in multiple dozens of files across C++ and script. Only so i could dereference all those pointers to references or whatever. Why not a getComponentPtr additionally?
Could you elaborate a bit on the topic? Also you wrote you might change it back - so i'm kind of hesitant to update anax.
Edit: By elaborate i mean, what do we get from that change? What's that wrapper, and what could we use it for?

I figured someone would be annoyed by this change. I might change it back to be quite honest. It was mainly there so I could make a ComponentPtr wrapper that would be used to store where the component is via an index. So that way, if I was to store them contiguously, the 'fake' pointers would never be invalidated if you were to move where they are located in memory. However, at the moment, I haven't even written the code for this.

I modified the master branch to use references.


fix: use node v12 for all binaries

node v10 runtime on binaries produces errors (affecting macos and win binaries). this change updates the macos and win binary target runtime to v12 to match the others and avoid these errors.

:tada: This PR is included in version 2.2.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


User creation status msg

After a new user is created, the user is given a green status message informing them that their account was creating successfully, and to check their mailbox for a verification email.

Codecov Report

Merging #2841 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2841   +/-   ##
=======================================
  Coverage   95.35%   95.35%
=======================================
  Files          73       73
  Lines       13771    13771
=======================================
  Hits        13131    13131
  Misses        640      640

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c7ca6eb...4bba192. Read the comment docs.


fix custom exporter

currently, custom exporters are failing to load due to capitalize, this
will add the same logic (avoid capitalize custom class name) to get_exporters used in get_backend.
ERROR - Exporter not found in shared config.
Traceback (most recent call last):
  File "/Users/pmishra/Data/failover_scheduler/slo/slo-generator/slo_generator/compute.py", line 127, in export
    raise ImportError('Exporter not found in shared config.')
ImportError: Exporter not found in shared config.

lint error was not related to my change it seems like failing on slo_generator.exporters.cloudevent

@lvaylet could you please review this MR, let me know if you have any concerns.

Hi @pradeepbbl, and thanks a lot for contributing to SLO Generator!
Just so I understand more what you are trying to fix here, can you provide us with an example of a custom exporter that fails to load due to capitalization?
Also, regarding the pylint comment you removed, I am struggling to understand how it is related to this issue.
Finally, @ocervell could you take a quick look when you are back from vacation early next week? I do not want to miss anything critical.

Hi @lvaylet, thanks for the reply :)
I'm trying to use a custom exporter to send metrics data for POC am using the below sample code
#!/usr/bin/env python3

"""
Custom Exporter
"""

import logging
from logging import Logger
from slo_generator.exporters.base import MetricsExporter

class SloExporter(MetricsExporter):
    """Custom exporter for metrics."""

    logger: Logger = logging.getLogger(__name__)

    def export_metric(self, data):
        """Export data to custom destination.
        Args:
            data (dict): Metric data.
        Returns:
            object: Custom destination response.
        """

        self.logger.info(f"[SloExporter.export_metric] exporting slo metrics: {data}")

        return {"status": "ok", "code": 200}

#!/usr/bin/env python3

"""
Custom SLO provider
"""

import logging
from logging import Logger

class SloProvider:
    logger: Logger = logging.getLogger(__name__)

    def __init__(self, client=None, **kwargs) -> None:
        pass

    def test_slo(self, timestamp, window, slo_config) -> tuple:
        """
        return sample data
        """
        self.logger.info(f"[SloProvider.test_slo] getting slo data for epoch: {timestamp}  window: {window}  config: {slo_config}")
        return (10, 1)

while running the slo-generator CLI am getting the below error (which is caused by  capitalization Src.exporter.sloExporter.SloExporterExporter)
(venv) pmishra@FVFFN0YEQ05Q sample_slo % slo-generator compute  -f config/sample_slo_config.yaml -c config/setup.yaml -e
INFO - [SloProvider.test_slo] getting slo data for epoch:<PHONE_NUMBER>  window: 3600  config: {'apiVersion': 'sre.google.com/v2', 'kind': 'ServiceLevelObjective', 'metadata': {'name': 'test_slo', 'labels': {'service_name': 'demo', 'slo_name': 'test_slo'}}, 'spec': {'description': 'Test custom provider and exporter', 'backend': 'src.provider.slo_provider.SloProvider', 'method': 'test_slo', 'service_level_indicator': {}, 'error_budget_policy': 'default', 'exporters': ['src.exporter.slo_exporter.SloExporter'], 'goal': 0.999}}
INFO - test_slo                         | 1 hour   | SLI: 90.9091 % | SLO: 99.9 % | Gap: -8.99 % | BR: 90.9 / 9.0 | Alert: 1 | Good: 10       | Bad: 1
ERROR - test_slo                         | 1 hour   | Src.exporter.sloExporter.SloExporterExporter "src.exporter.slo_exporter.SloExporter" failed. | ImportError: Exporter not found in shared config.
ERROR - Exporter not found in shared config.
Traceback (most recent call last):
  File "/Users/pmishra/Data/poc/sample_slo/venv/lib/python3.9/site-packages/slo_generator/compute.py", line 127, in export
    raise ImportError('Exporter not found in shared config.')
ImportError: Exporter not found in shared config.
INFO - Run finished successfully in 0.0s.

and regarding the pylint change as mentioned before it was not related to my change, but am trying to fix the CI check currently it's breaking due to the below error
Ref: https://github.com/google/slo-generator/runs/6982515317?check_suite_focus=true
slo_generator/exporters/cloudevent.py:39:0: R0022: Useless option value for 'disable', 'R0201' was moved to an optional

extension, see https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers. (useless-option-value)

Thanks a lot @pradeepbbl for these comprehensive details. Is it OK on your side to wait a few extra days for Olivier's return early next week? I just took over after him on the maintenance part and I do not feel comfortable approving this PR on my own. There might be side effects that I am not aware of. In the meantime, feel free to move forward with your development version.
Regarding the pylint warning, let me fix this in a separate PR. I'd rather keep small PRs that only do one thing, in case we ever need to revert any of them "surgically".

sure, no worries take your time and will push a revert of pylint change

Hi @pradeepbbl, sorry for the delay here ...
This looks good to me, maybe @lvaylet re-run the unit tests since the PR is old and check that nothing breaks.

Thanks @pradeepbbl and @ocervell.
I just rebased this branch with the latest changes from master. All checks have passed.
I also edited the name of the PR so it matches our semantic commit message policy.


pkg/repro: assorted improvements

Closes https://github.com/google/syzkaller/issues/3903

Refactor pkg/repro to facilitate testing and add a smoke test.
Repeat executions one more time in case of errors (we're getting a lot of failed to copy prog to VM that seem transient).
Wait for all pkg/repro routines to finish before returning.
Decrease the default number of VMs dedicated for bug reproduction from 4 to 3.

See individual commit messages.

pkg/repro/repro.go | 61.4% <36.1%> (+33.3%) |

👍


Add .git in .dockerignore

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "add_git_in_dockerignore" git@github.com:tobegit3hub/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so DO NOT open a new one.

Thanks for your detailed instruction @GordonTheTurtle :+1:
I have updated the commit message and will pay attention to this when I try to contribute docker later.

@tobegit3hub I'm not sure that it'll work. We using git for pretty many things (build naming, validation).

@tobegit3hub this won't work, as @LK4D4 mentioned; this was tried before but the build system requires this (see https://github.com/docker/docker/pull/12581#issuecomment-94630603)
I'm going to close this PR, because unfortunately we cannot implement this. Thanks for your contribution, though!

Reasonable :smiley:


⚠ GitLab Server has degraded performance

In 077ed52, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 2735 ms

Resolved: GitLab Server performance has improved in 2113dbb.


Add robot to Material design icon

Feature request type
Enhance component
Component name
Icons.Material
Is your feature request related to a problem?
No response
Describe the solution you'd like
Just add this icon
https://fonts.google.com/icons?selected=Material+Symbols+Outlined:robot:FILL@0;wght@400;GRAD<EMAIL_ADDRESS>Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Hi there. Unfortunately, we do not support Material Symbols. We only support Material Icons.

Mainly is that the Material symbols are basically a font https://developers.google.com/fonts/docs/material_symbols and you customize it via css by settings the color, font, background properties. We do not have support for this, we only support svg in the core. Well, technically you can get the svg versions I guess, but the whole point of the customization of fill, weight, grade and optical size will be gone.

Material Symbols are now added via separate package https://www.nuget.org/packages/MudBlazor.FontIcons.MaterialSymbols
Keep in mind that only MudBlazor v7 preview.4+ has the necessary support for it.


Questions about thread pool and shard

Thanks for sharing the paper and code of this project! I have a question about the code:
What is the purpose of setting shard when there is already a worker_pool? What is the basis for setting the number to 8?

The shard mechanism is designed to evenly distribute the user's RDMA requests among the different threads of the worker pool. In addition, if context_.cqCount() is greater than one, the shard mechanism also mitigates concurrent contention for some RDMA resources (QP and doorbell), which has more significant performance impact in small I/Os.
Setting the number to 8 is based on our experience.

Thank you for your answer.
If we want to avoid competition between QPs, shouldn't we consider assigning a CQ to each QP?

Yes, so Mooncake supports allocating multiple CQs per device, which are assigned to QPs in a round-robin manner.

Ok , thank you very much!


aws x ray entity does not exist in async local

While executing all tests at a time aws x-ray performing weird.
Its throwing exception as "Entity does not exist in async local". I'm not sure but it can be due to missing traceId at AWSXRayRecorder initialization, check the code below
`public static AWSXRayRecorder XrayRecorderInstance
{
get
{
if (xrayRecorder != null)
{
return xrayRecorder;
}
else
{
lock (threadLock)
{
if (xrayRecorder == null)
{
xrayRecorder = new AWSXRayRecorder
{
ContextMissingStrategy = Amazon.XRay.Recorder.Core.Strategies.ContextMissingStrategy.LOG_ERROR
                        };
                        Amazon.XRay.Recorder.Handlers.AwsSdk.AWSSDKHandler.RegisterXRayForAllServices();
                        return xrayRecorder;
                    }
                    else
                    {
                        return xrayRecorder;
                    }
                }
            }
        }
    }`

do I need to add segment here?How? Please help me to resolve this issue.

Hi @Akshayvb09 ,
Amazon.XRay.Recorder.Handlers.AwsSdk.AWSSDKHandler.RegisterXRayForAllServices(); registers all AWS SDK clients you create in the application with X-Ray SDK.
This middleware creates Subsegment for each AWS SDK call. When a Subsegment  is created, the SDK expects Segment is already created before this call and present in the TraceContext.
The above exception says that X-Ray SDK middleware was trying to create Subsegment, however could not find already started Segment.
You would need to wrap AWS SDK call around Segment in order to succeed.
Something similar to:
AWSXRayRecorder.Instance.BeginSegment("test");
ddb.PutItem(); // your AWS SDK call
AWSXRayRecorder.Instance.EndSegment();

Reference: https://github.com/aws/aws-xray-sdk-dotnet/blob/master/sdk/test/UnitTests/AWSSdkTracingHandlerTests.cs#L241
Please let me know if you have questions.
Thanks,
Yogi

Hi @Akshayvb09 ,
Feel free to reopen this issue if you have any questions.
Best,
Yogi


Pull Request for Frogger

Hey,
I redid some of the code to your frogger application. Let me know what you think.
Have a great day,
Adam Ruhl

Thank you!


Curl not working properly

The curl effect it's not working properly for me. When you start sliding, it always goes on the X axis,

Has someone else also experience this?
<ViewPager
      initialPage={page - offset}
      ref={vpRef}
      style={[props.style, StyleSheet.absoluteFillObject, {flex:1}]}
      onStartShouldSetResponder={() => props.onStartShouldSetResponder()}
      pageMargin={0}
      orientation={'horizontal'}
      scrollEnabled={true}
      transitionStyle={'curl'}
      onPageSelected={onPageSelected}>
      {props.data
        .slice(offset, offset + windowLength)
        .map((item, index) =>
          renderPage(
            props.renderItem,
            item,
            offset + index,
            page,
            buffer - internalBuffer,
          ),
        )}
    </ViewPager>

It's like, it doesn't lean like a page effect
Is someone else also experiencing this problem?

It's like, it doesn't blend..

Android currently does not support curl type

Hello @mqtik,
I'm experiencing the same issue. The curl mode worked properly until yesterday when I upgraded my project from Expo v36.0 to v39.0.
Now, the curl is shown, but locked on the X axis.
I don't know if Expo is the problem, or if when I upgraded Expo version it has updated some dependencies as well.
Do you use Expo as well or pure React Native?

another interesting point with curl.
If you set transition to curl, tap on the side of the screen start the transition to another page.
Without curl, tap do nothing

@batical, yes this is the native behavior of the Pager on iOS. The pain point of that is we cannot disable the tap from the lib react-native-viewpager for now. It means we can't add buttons in this area of the screen because the pager will change the page instead of firing onPress on the button.

is there a way to implement the curl effect on Android?

I noticed that the onPageScrollStateChanged event not fired when the transition == curl
Is it the expected behaviour?

I noticed that the onPageScrollStateChanged event not fired when the transition == curl
Is it the expected behaviour?

I was trying to fix this, but the native component does not have the ability to listening on scrolling.

is there a way to implement the curl effect on Android?

Probably there is a way to do it, but this kind of behavior is not supported by default. On android a custom solution should be used.

@troZee  what is the custome solution of creating curl effect on react native Android . Please give us Link to solution


Text coloring doesn't work

Whenever I want to test the coloring from documentation's example such as
cli_ui.info(   "This is",   cli_ui.red, "red", cli_ui.reset,   "and this is",   cli_ui.bold, "bold" )
it doesn't color it and just outputs a normal white string

Are you on Windows? If so, you have to opt-in using CLI_COLORS.
I should probably update the documentation about that ...

Yes, couldn't find anything about it in the documentation so I thought about posting an issue here. Anyway the problem is fixed. Thanks!

Yes, couldn't find anything about it in the documentation so I thought about posting an issue here

That's how one keeps documentation up-to-date and relevant :)
Could you please tell me what you think about the doc update in #71 ?


Verify if AzureAD Module is installed and creating a ServicePrincipal #479

Clarified how to use AzureAD Module and added some error handling.
Didn't understand the "Replace-Me" for the ServicePrincipal, because by default it is AZOps, unless the end-user changes this. Allow the end-user to change or keep it default.
#verify if AzureAD module is installed and running a minimum version, if not install with the latest version.
#sign in to Azure from Powershell, this will redirect you to a web browser for authentication, if required
#If ServicePrincipal is not AZOps or end-user name, then break the code.
This PR fixes = https://github.com/Azure/Enterprise-Scale/pull/479

This has been pushed to the main repo now.


Fix llvm-openmp dependency

This has similar issue to https://github.com/conda-forge/r-rcpparmadillo-feedstock/pull/56, which is blocking downstream R 4.3 migrations.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please rerender


[csrng/hjson] Change hw_exc_sts swaccess to rw0c

To fix CSR test fails, changing swaccess keyword to proper setting.
Fixes #7905
Signed-off-by: Mark Branstad<EMAIL_ADDRESS>

Merging right away.


[broker] Optimize TopicPolicies#messageTTLInSeconds with HierarchyTopicPolicies

Motivation
This is one of the serial topic policy optimization with HierarchyTopicPolicies.
Update topic policy with HierarchyTopicPolicies comes with these benefits:

All topic policy related settings will goes into AbstractTopic#topicPolicies, easier to understand, check, review, and modify.
Unify policy update to AbstractTopic. And easier to find which policy is not applied to non-persistent topic yet. And we can easily add support for it.
Unify policy value with 3 level settings (topic/namespace/broker), and priority with topic > namespace > broker.  And it's easier to find which level settings is missing.
All values are updated at creation or by trigger. We can save some resource to update it or recalculate each time we use it.
etc.

Modifications
Add new field messageTTLInSeconds in org.apache.pulsar.broker.service.AbstractTopic#topicPolicies.
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as

class org.apache.pulsar.broker.admin.TopicMessageTTLTest
org.apache.pulsar.client.api.KeySharedSubscriptionTest#testContinueDispatchMessagesWhenMessageTTL
org.apache.pulsar.broker.stats.PrometheusMetricsTest#testPerTopicExpiredStat
org.apache.pulsar.client.impl.TopicsConsumerImplTest#testDefaultBacklogTTL

Some checklist for updating topic policy with HierarchyTopicPolicies.

[x] Broker level value set. And if it's dynamic (no).
[x] Namespace level value updated.
[x] Topic level value updated.
[x] Pre-existing unit test covers this change and updated to verify this change.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] no-need-doc

Code optimization.

/pulsarbot run-failure-checks


Uncaught TypeError: fs.readdirSync is not a function

I'm building a Meteor 1.3 app and I'm getting this error when I add import the googleapis node package into my client side React component:
Uncaught TypeError: fs.readdirSync is not a function
It looks like it's coming from this code block in the package:
fs.readdirSync(path.join(__dirname, '../apis')).forEach(function (file) {
  apis[file] = requireAPI('../apis/' + file);
});

I'm importing the package using:
import google from 'googleapis';
Is this because fs is a server side package and doesn't work on the client?
Can I use this package on the client side in the browser?
Thanks!

This library (google-api-nodejs-client) will not work in the browser, only in Node.js.

Hey guys I'm getting the same error but on server. For example if I want to export a function then it would throw 'Uncaught TypeError: fs.readdirSync is not a function'. This is caused by 'import google from 'googleapis';'
for example
test1.js >
import google from 'googleapis';
export function hello(){}
test2.js
import {hello} from './test1.js'
this will throw the error.

This issue is still present - can this be merged?


Stop helpers from being able to mute people...

Rip helpers

Rip helpers

not funny

I didn't say it was funny


New releases of eICU-CRD will be announced here

New releases of eICU-CRD will be announced here. To keep up to date on the latest releases, click the 'subscribe' button to receive notifications.

Please do not use this thread to ask for updates on the status of data releases.

eICU-CRD v2.0 is now available on PhysioNetWorks. Changelog is available on the v2.0 branch and will soon be up on the website: https://eicu-crd.mit.edu/about/releasenotes/

Just tried to setup and ran into a little hitch. Looks like the Physionet site still has the old wget command:
wget --user YOURUSERNAME --ask-password -A csv.gz -m -p -E -k -K -np -nd https://physionet.org/works/eICUCollaborativeResearchDatabase/files/
I believe it should be this instead:
wget --user YOURUSERNAME --ask-password -A csv.gz -m -p -E -k -K -np -nd https://physionet.org/works/eICUCollaborativeResearchDatabase/files/version_2_0/

@cosgriffc after taking a look at this, it seems the suggested command is correct. There's no need to specify the directory, because the wget command is following the URLs from the index page (which have been updated to point to the current version).

Ahh okay, sorry for confusion then!

No problem, these things help to keep us on our toes!


.pyc files cause crash with repetitive calls

Another issue. When the final bundle is called several times within the same directory (i.e. with a BAT file), loading of modules fails with message "ImportError: invalid flags<PHONE_NUMBER> in 'src'".
But if I add some code to delete all .pyc files between python calls everything starts to work fine.

Actually I submitted a PR. This was rather unintentional. It includes code updates that I have in my forked version, addressing both issues #10 and #11.

So, as an update,
In my fork, I am now removing .pyc files in __del__ method of the importer, it looks much better than just deleting all .pyc in the folder no matter who created it.
https://github.com/The-city-not-present/pinliner/commit/52c5e42f19c9fc79b23ecef5b7fb9ccb27a3722b
As a reminder, deleting .pyc files is necessary - otherwise it causes "bad magic number" error.
And here we have a good question, do we have to save these .pyc files at all?


fixes for upgrade advisor

currently not loading build.txt and returning wrong mime type. this fixes those two issues

Can u update the release notes?