org.gradle.wrapper.Download.downloadInternal

flutter run
Exception in thread "main" java.net.ConnectException: Operation timed out (Connection timed out)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
据说是gradle的问题，但是修改了配置没有作用

@Homebrew1
can you provide your flutter doctor -v, your flutter run -v and a minimal reproducible code sample

@Homebrew1
can you provide your flutter doctor -v, your flutter run -v and a minimal reproducible code sample

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.120, on Mac OS X 10.13.6 17G65 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.26.0-13.0.pre.120 at /Users/mac/Flutter
• Framework revision 46b0797b58 (3 days ago), 2021-01-22 14:48:49 +0500
• Engine revision 90641fa923
• Dart version 2.12.0 (build 2.12.0-248.0.dev)
• Pub download mirror https://dart-pub.mirrors.sjtug.sjtu.edu.cn
• Flutter download mirror https://mirrors.sjtug.sjtu.edu.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/mac/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 88.0.4324.96
flutter run -v
/Users/mac/Flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/_s/jngzbhqx4pgf_n0t389c55hw0000gn/T/flutter_tools.WrMS4f/flutter_tool.KLagSC/app.dill --packages
/Users/mac/AndroidStudioProjects/flutter_app/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +48 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +30 ms] <- compile package:flutter_app/main.dart
[  +91 ms] --------- beginning of kernel
01-25 20:10:44.020 I/init    (    0): Untracked pid 9942 received signal 1
[  +74 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb version
[  +48 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as /Users/mac/Library/Android/sdk/platform-tools/adb
[   +6 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb start-server
[  +32 ms] Building APK
[  +53 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[  +29 ms] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[ +590 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +22 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/C
ontents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/trove4j.jar:$APP_PACKAGE/Contents/lib/jna.
jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE/Contents","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":
"AndroidStudio4.1","idea.vendor.name":"Google"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in
Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":[""],"CFBundleTypeOSTypes":["***"],"LSTypeIsPackage":false,"CFBundleTypeNa
me":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":t
rue,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's
location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdent
ifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFo
lderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio
requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An
application in Android Studio requests access to files on a removable volume."}
[  +50 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +127 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +3 ms] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[ +327 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
在这个位置卡住了，请问是gradle安装不上吗

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-13.0.pre.120, on Mac OS X 10.13.6 17G65 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.26.0-13.0.pre.120 at /Users/mac/Flutter
• Framework revision 46b0797b58 (3 days ago), 2021-01-22 14:48:49 +0500
• Engine revision 90641fa923
• Dart version 2.12.0 (build 2.12.0-248.0.dev)
• Pub download mirror https://dart-pub.mirrors.sjtug.sjtu.edu.cn
• Flutter download mirror https://mirrors.sjtug.sjtu.edu.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/mac/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 88.0.4324.96
flutter run -v
/Users/mac/Flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/_s/jngzbhqx4pgf_n0t389c55hw0000gn/T/flutter_tools.WrMS4f/flutter_tool.KLagSC/app.dill --packages
/Users/mac/AndroidStudioProjects/flutter_app/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +48 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +30 ms] <- compile package:flutter_app/main.dart
[  +91 ms] --------- beginning of kernel
01-25 20:10:44.020 I/init    (    0): Untracked pid 9942 received signal 1
[  +74 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb version
[  +48 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as /Users/mac/Library/Android/sdk/platform-tools/adb
[   +6 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb start-server
[  +32 ms] Building APK
[  +53 ms] Running Gradle task 'assembleDebug'...
[   +5 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[  +29 ms] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[ +590 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +22 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/C
ontents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/trove4j.jar:$APP_PACKAGE/Contents/lib/jna.
jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE/Contents","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":
"AndroidStudio4.1","idea.vendor.name":"Google"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in
Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":[""],"CFBundleTypeOSTypes":["***"],"LSTypeIsPackage":false,"CFBundleTypeNa
me":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":t
rue,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's
location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdent
ifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFo
lderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio
requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An
application in Android Studio requests access to files on a removable volume."}
[  +50 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +127 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +3 ms] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[ +327 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
在这个位置卡住了，请问是gradle安装不上吗

[  +41 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +39 ms] <- compile package:flutter_app/main.dart
[ +150 ms] --------- beginning of main
01-25 20:27:34.354 W/GAv4-SVC( 2071): Network compressed POST connection error: java.net.UnknownHostException: Unable to resolve host
"ssl.google-analytics.com": No address associated with hostname
[  +61 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb version
[  +34 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as /Users/mac/Library/Android/sdk/platform-tools/adb
[   +8 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb start-server
[  +61 ms] Building APK
[  +61 ms] Running Gradle task 'assembleDebug'...
[  +16 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[   +1 ms] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[ +624 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +27 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[   +1 ms] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/C
ontents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/trove4j.jar:$APP_PACKAGE/Contents/lib/jna.
jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE/Contents","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":
"AndroidStudio4.1","idea.vendor.name":"Google"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in
Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":[""],"CFBundleTypeOSTypes":["***"],"LSTypeIsPackage":false,"CFBundleTypeNa
me":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":t
rue,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's
location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdent
ifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFo
lderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio
requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An
application in Android Studio requests access to files on a removable volume."}
[  +30 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +152 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +6 ms] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[+120349 ms] Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file:
/Users/mac/.gradle/wrapper/dists/gradle-6.7-all/cuy9mc7upwgwgeb72wkcrupxe/gradle-6.7-all.zip
[   +3 ms]      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
[        ]      at org.gradle.wrapper.Install.createDist(Install.java:48)
[        ]      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
[        ]      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[  +45 ms] Running Gradle task 'assembleDebug'... (completed in 121.2s)
[   +8 ms] [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
[+1016 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[        ] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[        ] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[ +239 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
最后面几行是报错位置

[  +41 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +39 ms] <- compile package:flutter_app/main.dart
[ +150 ms] --------- beginning of main
01-25 20:27:34.354 W/GAv4-SVC( 2071): Network compressed POST connection error: java.net.UnknownHostException: Unable to resolve host
"ssl.google-analytics.com": No address associated with hostname
[  +61 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb version
[  +34 ms] Android Debug Bridge version 1.0.41
Version 30.0.5-6877874
Installed as /Users/mac/Library/Android/sdk/platform-tools/adb
[   +8 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb start-server
[  +61 ms] Building APK
[  +61 ms] Running Gradle task 'assembleDebug'...
[  +16 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[   +1 ms] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[ +624 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +27 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[   +1 ms] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE/Contents/lib/bootstrap.jar:$APP_PACKAGE/Contents/lib/extensions.jar:$APP_PACKAGE/C
ontents/lib/util.jar:$APP_PACKAGE/Contents/lib/jdom.jar:$APP_PACKAGE/Contents/lib/log4j.jar:$APP_PACKAGE/Contents/lib/trove4j.jar:$APP_PACKAGE/Contents/lib/jna.
jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE/Contents","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":
"AndroidStudio4.1","idea.vendor.name":"Google"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in
Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":[""],"CFBundleTypeOSTypes":["***"],"LSTypeIsPackage":false,"CFBundleTypeNa
me":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":t
rue,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's
location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor"}],"CFBundleIdent
ifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFo
lderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio
requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network
volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An
application in Android Studio requests access to files on a removable volume."}
[  +30 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +152 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +6 ms] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[+120349 ms] Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file:
/Users/mac/.gradle/wrapper/dists/gradle-6.7-all/cuy9mc7upwgwgeb72wkcrupxe/gradle-6.7-all.zip
[   +3 ms]      at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
[        ]      at org.gradle.wrapper.Install.createDist(Install.java:48)
[        ]      at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
[        ]      at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[  +45 ms] Running Gradle task 'assembleDebug'... (completed in 121.2s)
[   +8 ms] [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
[+1016 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] Using gradle from /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew.
[        ] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew mode: 33261 rwxr-xr-x.
[        ] executing: [/Users/mac/AndroidStudioProjects/flutter_app/android/] /Users/mac/AndroidStudioProjects/flutter_app/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/Users/mac/AndroidStudioProjects/flutter_app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[ +239 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
最后面几行是报错位置

Hi  @Homebrew1
This seems to be an internet connection issue.
Can you please run flutter run --verbose >> logs.txt? this command will generate a logs.txt file in the directory where you run this command, please provide that same file.
Thank you

Hi  @Homebrew1
This seems to be an internet connection issue.
Can you please run flutter run --verbose >> logs.txt? this command will generate a logs.txt file in the directory where you run this command, please provide that same file.
Thank you

logs.txt
English is difficult
Maybe it's a proxy problem. I can't get gradle's package
Thank you for your answer，But I really only know Chinese
谢谢

logs.txt
English is difficult
Maybe it's a proxy problem. I can't get gradle's package
Thank you for your answer，But I really only know Chinese
谢谢

@pedromassangocode I pay attention to you. I hope you can be my teacher

@pedromassangocode I pay attention to you. I hope you can be my teacher

Hi @Homebrew1
Looks like the download has completed successfully.
[ +773 ms] Welcome to Gradle 6.7!
[        ] Here are the highlights of this release:
[        ]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[        ] For more details see https://docs.gradle.org/6.7/release-notes.html
[ +297 ms] Starting a Gradle Daemon (subsequent builds will be faster)

Are you still facing this issue?
This definitely seems to be an internet connection issue.

Hi @Homebrew1
Looks like the download has completed successfully.
[ +773 ms] Welcome to Gradle 6.7!
[        ] Here are the highlights of this release:
[        ]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[        ] For more details see https://docs.gradle.org/6.7/release-notes.html
[ +297 ms] Starting a Gradle Daemon (subsequent builds will be faster)

Are you still facing this issue?
This definitely seems to be an internet connection issue.

@pedromassangocode There was a pause for many seconds, but there was no pause when downloading other packages

@pedromassangocode There was a pause for many seconds, but there was no pause when downloading other packages

Are you able to provide the full logs?

Are you able to provide the full logs?


artifact scanning is messing up

Current Behavior
the scanner just breaks all of a sudden and misses a whole page of artifacts
Expected Behavior
The scanner continues to scan
Reproducing a Behavior
I wouldn't know how to reproduce the issue. It came out of no where for me
Device OS
Windows 10
Genshin Impact Version
2.8.0
Inventory Kamera Version
1.2.8
Screen resolution, screen mode, and UI scale
1600x900
Additional notes and remarks
No response
Evidence
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at InventoryKamera.ArtifactScraper.ScanArtifacts(Int32 count)
at InventoryKamera.InventoryKamera.GatherData()
Preflight Checklist

[X] I have checked for similar issues in the issue page, and I have not found any similar to mine.
[X] I am using the latest version of the scanner.
[ ] I tried setting the scanning delay to maximum, and it still doesn't work.
[ ] I have attached the video recording to the bug report.
[X] I have attached the error log to the bug report.
[X] I am available to later explains the issue.
[X] I have disabled all screen filtering software or plugins (i.e. HDR, Image Sharpening) while scanning.
[X] I use default in-game keybindings or have configured keybindings for the scanner.

I had the same problem but once I deactivated the Geforce Experience settings, the scan worked again.

Artifact scanning has been improved in V1.3.0. Additionally, please try Goutak's suggestion of turning of image sharpening with your GPU software.


mcfly: 0.5.11 -> 0.5.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cantino/mcfly/releases.
meta.description for mcfly is: "An upgraded ctrl-r for Bash whose history results make sense for what you're working on right now"
meta.homepage for mcfly is: "https://github.com/cantino/mcfly"
meta.changelog for mcfly is: "https://github.com/cantino/mcfly/raw/v0.5.12/CHANGELOG.txt"
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12/bin/mcfly had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.5.12 with grep in /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12
found 0.5.12 in filename of file in /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
mcfly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mcfly https://github.com/r-ryantm/nixpkgs/archive/78561d2f6bbab7a20055eca717ccdf1bc67cc952.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12
ls -la /nix/store/isvif8a3si8xw3wwx2r04g1zwgimi81z-mcfly-0.5.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

mcfly

Maintainer pings
cc @melkor333 for testing.

Result of nixpkgs-review pr 156579 run on x86_64-linux 1

1 package built:

mcfly


Split out APIs into separately-installable distributions?

gcloud on PyPI would include "core" modules.
gcloud would (maybe) become a namespace package
Each API would have a separate PyPI "project"/releases

Cons (mostly for maintainers):

separate release cycles
More complicated CI
Might need to split repos?

Pros (mostly for users):

"Hard" dependencies for each API (gRPC, I'm looking at you)
Separately updateable distributions
"Pay only for what you eat"

Comments on cons:

separate release cycles: I think this is a good thing, but a tiny bit problematic if updates to core break the service-specific packages
More complicated CI: Yup, we'd need to kick off a run of Travis every time a downstream dependency is updated
Might need to split repos?: I see this is a positive (outside of the CI stuff)

Another potential con:

Building unified docs becomes harder

The one I'm concerned about is unified docs -- that's something that could actually be a show-stopper we'd have to sort out first...

Yeah this could be a lot of work.  The majority of people in UX studies want the whole house. The more advanced users eventually run into a problem and decide they only want the kitchen -- but only after trying out lots of things and using gcloud for a while...
So, we have a bit of an issue: do we optimize for the advanced folks? If we do, we might alienate and frustrate users, effectively reducing the number of people entering the funnel who could eventually become those advanced folks...
My thought here is still that we need to make both possible, but make the common case the simplest: pip install gcloud gives me the house. If I want just the kitchen, or just the light switch, this should be possible but not necessarily something we optimize for. Does that make sense?

Yeah that'd have to be supported by also have a gcloud-core PyPI package and then using each of the gcloud-SERVICENAME packages.

So we'd need (as of right now) the following PyPI packages:

gcloud
gcloud-core
gcloud-bigquery
gcloud-bigtable
gcloud-datastore
gcloud-dns
gcloud-pubsub
gcloud-resource-manager
gcloud-search
gcloud-storage

I have no objection to this layout. Sounds to me like...

gcloud depends on gcloud-* ("The whole house")
gcloud-* (except gcloud-core) all depend on gcloud-core ("The kitchen and the foundation")

This means that if I install any of the individual services, I get the service I want, and the core library. If I install gcloud I just get everything.
The trouble (just a wild guess here) will be in the namespace issues... That is...
$ pip install gcloud-pubsub
$ python
>>> from gcloud import pubsub  # Can we make this work?
$ pip install gcloud
$ python
>>> from gcloud import pubsub  # This should (still) work.

Yes, that pattern will work.  We will need to:

Move the code which is now directly in gcloud/*.py down into a gcloud/core/*.py, updating all the affected imports.
Declare gcloud as a namespace package in all the distributions (in their calls to setup() in setup.py),
Make gcloud/__init__.py contain only the following::

__import__('pkg_resources').declare_namespace(__name__)

If we don't split the repository, then we will need to update setup.py to call setup() once for gcloud-core, once for each API, and once for the omnibus metapackage.

:+1: modularization
FYI googleapis folks: @anthm, @vsubramani@, @rok987


Improve Test Coverage

I did already test the TFT commands for validity. Next focus will be testing the Twitch chat logic with a variety of simulated chat communication. I did add some mocks to fake a network connection such that specific traffic can be generated.
And I've also added mocks for validating where the TFT remote control is clicking at. Currently, it's not so urgent to test this, but now we could add the tests if we need to.

The TFT connection is now a lot more stable. I'll be adding a couple more tests to figure out some more edge cases.


build cancel with 60 minutes.

Hi given is my azure-pipelines.yml file content. Even though I have set timeoutInMinutes to 120 job fails within 60 minutes.
trigger:

master

jobs:

job: Package
timeoutInMinutes: 120
pool:
name: 'Hosted Ubuntu 1604'
steps:

task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: false
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'install'

#[Error 1]
The agent has received a shutdown signal. This can happen when the agent service is stopped, or a manually started agent is canceled.
##[Error 2]
The job exceeded the maximum allowed time of 01:00:00 and was stopped. Please visit parallel jobs for more information.

Did you read the documentation in the link which is provided with Error 2?

We provide a free tier of service by default in every organization: [...] Private project: One free parallel job that can run for up to 60 minutes each time, until you've used 1,800 minutes (30 hours) per month.

I have the same problem. The following job is run on a private agent but stops after 60 mins:
jobs:
  - deployment: Service
    timeoutInMinutes: 0
    pool:
      name: 'Private Agent'

How did you fix it?

I got the issue recently in Release pipeline. The interesting thing is that I have 2 release pipeline very similar. I think it is about the agent pool option update. Previously the VS2017 Host is a separated option under agent pool. But now all the agent option are under Azure Pipelines option.
I think you can try to verify/update agent specification/pool option under your build/release pipelines edit page. I solve this problem by updating the option selected under Azure Pipelines field.


This is Housekeeping for release 0.11.2

Coverage decreased (-0.2%) to 87.318% when pulling 02cb705536adedc27a7d015052141ec6ed7a3c4e on INM-6:release_0.11.2 into c5508b451df02254c24dd77f24f46235787cc9c0 on NeuralEnsemble:master.


Any hints on getting CAN bus "on_frame" to work?

I bought an MCP2515 chip, hooked it up to my ESP32 and used the following configuration (minus all the boilerplate):
spi:
  clk_pin: GPIO18
  mosi_pin: GPIO23
  miso_pin: GPIO19

canbus:
  - platform: mcp2515
    use_extended_id: true
    cs_pin: GPIO5
    can_id: 0x0607FF83
    bit_rate: 125kbps
    mode: NORMAL
    on_frame:
    - can_id: 0x0707F803
      use_extended_id: true
      then:
      - lambda: |-
          std::string b(x.begin(), x.end());
          ESP_LOGD(">>> canbus:", "%s", &b[0] );
    - can_id: 0x060F8007
      use_extended_id: true
      then:
      - lambda: |-
          std::string b(x.begin(), x.end());
          ESP_LOGD(">>> canbus:", "%s", &b[0] );

The setup looks okay in the logs, but it's like I'm not receiving any frames at all. Do you have any pointers? Do I need to add a jumper on the board to terminate the bus?

I should add that when I connect the same device to a Raspberry Pi with a CAN hat, communication works fine.

this is work in progress,
I have a new local version, I will update repo soon.

There is a bug in the esphome mcp2515 CAN initialisation, this is why the on_frame does not work.

Okay, good to know, maybe I've connected everything correctly after all! I'll gladly help with the code if you could get a working version that compiles published, I'm new to ESPHome development.

@Jalle19 check the working version that has been published now.


"command line" over "command-line"

This one falls under the heading of "Black Friday Silliness!" :smile:
I'm working on Pub IIS and fixing little things like "command line" (with a space) along the way. I became curious and did a quick search ... "command line" with a space is correctly used 16 times. However, "command-line" (with a dash) is used 9 times.
@Rick-Anderson When I'm done with Pub IIS, would you like me to submit a PR on getting the "command-line" (dashed) ones changed over?

command-line :-1:

aspnetcore/data/entity-framework-6.md

aspnetcore/hosting/apppool.md

aspnetcore/publishing/linuxproduction.md

aspnetcore/fundamentals/servers/kestrel.md

aspnetcore/client-side/bundling-and-minification.md

aspnetcore/data/ef-mvc/intro.md

aspnetcore/client-side/yeoman.md

aspnetcore/fundamentals/servers/weblistener.md

aspnetcore/fundamentals/configuration.md

command line :+1:

aspnetcore/fundamentals/servers/kestrel/sample/Program.cs

aspnetcore/fundamentals/servers/weblistener/sample/Program.cs

.gitattributes

aspnetcore/fundamentals/servers/aspnet-core-module/sample/Program.cs

aspnetcore/client-side/yeoman.md

aspnetcore/data/ef-mvc/migrations.md

aspnetcore/publishing/vsts-continuous-deployment.md

CONTRIBUTING.md

aspnetcore/fundamentals/hosting.md

aspnetcore/fundamentals/configuration.md

aspnetcore/fundamentals/servers/weblistener.md

aspnetcore/publishing/web-publishing-vs.md

aspnetcore/publishing/apache-proxy.md

aspnetcore/tutorials/publish-to-azure-webapp-using-vs.md

aspnetcore/mobile/native-mobile-backend.md

aspnetcore/fundamentals/configuration/sample/src/ConfigConsole/Program.cs

The usage should be two words as a noun, hyphenate as an adjective. Examples from the style guide:

command-line parameter
command-line tool
Developers enter commands at a command prompt, not on a command line.

The style guide also advises use of "command prompt" where we often use "command line".

Describe entering commands at a command prompt, not on a command line.
Example
At the command prompt, type certutil -setreg ca.

@tdykstra Thanks. I may have missed or lost "style guide" along the way. Is that public? Do you have a link?

Let me propose then that when I'm done with Pub IIS PR that I take a closer look at use in the docs that I list above. I can review and report if all is well or not.

Your proposal to review and fix sounds great.  Unfortunately the style guide that has all the detailed terminology and grammatical guidance is not public yet, though I've been told they're working on making it public or creating a public version.

:smile: I thought so. :smile: Well .... my "boss" @Rick-Anderson can hardly hold that one against me. :smile:
Yeah ... I'm greatly looking forward to seeing what the grammar police think at MS.
WRT to this issue: Yeah, let me at least take a peek along the lines of what you gave me. If I find anything, I can float the changes (if any) in the issue. If that looks PR-worthy, then I'll shoot one in. I'm about 90% there on Pub IIS, so I'll get back soon.

aspnetcore/hosting/apppool.md ...

You can also do this via the command-line by using ICACLS tool.

:point_up: noun
aspnetcore/client-side/bundling-and-minification.md ...

To run bundling and minification tasks from the command-line using gulp ...

:point_up: noun (and prob should be "... from a command prompt ...")
aspnetcore/client-side/yeoman.md ...

The Yeoman command line tool yo works ...

:point_up: adjective
@tdykstra I just checked the first few, and yes, there are probs here. Would you like to see a PR?

@GuardRex Yes that would be great, thanks!


Feat: Add a Style Guide to the project

Feature Request
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I have an issue when [...]
So currently the only way to know what style would be preferred for contributions is if you go into the code and look. Without that context, it's much harder for contributors to come in and make meaningful changes without having to throw away a lot of work.
An example of this is this discussion thread: https://github.com/TechIsHiring/techishiring-website/pull/72#discussion_r1114500318
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
Add a Style Guide to the project. This will likely need to be added in Contributing.md and possibly the README.
As I've personally never written an official Style Guide, any help would be very much appreciated in doing this. I'll also do some research on other projects to see how they handled this issue.
What I'd need help with is:

What are the important things to capture
Where should I mention these things
What can be automated vs. what will I need to look out for in PRs?

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Currently there are no alternatives but I'd like to leave this space for adding them as research is done and advice is potentially given.
Teachability, Documentation, Adoption, Migration Strategy
If you can, explain how users will be able to use this and possibly write out a version in the docs.
Maybe a screenshot or design?
When talking on contributors, try to find the intersection between making the process of making a contribution as painless as possible while also maintaining a project as painless as possible.

Hey @royanger @TAKANOME-DEV, any ideas?

Looking at Issue 72, my take isn't that we should worry about a style guide. Two general things are happening in that Issue:

At least one arbitrary addition of style changes (the breakpoints that were later removed) to the project.
The use of Chakra UI for some of the work.

For point 1, I don't think we need style guide. There was no need to add those breakpoints, and the correct approach was for those to be reverted to the very sensible Tailwind defaults. If someone submits that kind of stuff it should be called out and move on. Unfortunately a style guide won't stop this kind of stuff -- just limit some of the more obvious instances.
Point 2 is, I think, firmly addressed in Issue 60. The mixing of Tailwind and Chakra will cause issues like this and is, in general, probably a bad idea. Removing it and streamlining things it probably the far better approach. Once done there is no need for a style guide -- we're just using Tailwind and if someone adds Charka/MUI/Bootstrap/etc to a PR that PR should be rejected until that stuff is removed and replaced by Tailwind.
Generally I lean to the 'let's not make up rules/docs/tooling changes/etc' just because someone submitted something that they shouldn't have. This just makes it harder for for everyone. More things to write, update and maintain as a project maintainer and way more things to read, learn and keep in mind when making any changes.
More importantly, you already have Storybook installed and setup for this. That should be the style guide for the project. That's where I would look to see how things are done.

:100: agree with @royanger.
I never wrote or see a style guide in an open source project so far. As Roy said, addressing issue 60 should be enough to let contributors know which framework we're using for the styles.
For the PR 72, I would recommend avoiding as much as possible adding custom screen sizes and colors unless needed.

That makes sense. I still need to spend the time to explore the Tailwind UI libraries you suggested, I just haven't gotten around to that.
I'll close this issue and if another issue comes up that's similar to this one, we can reopen this or just reference it in another issue.


feat: add fxhash v1 marketplace

Add swap offer for the fxhash v1 marketplace

Hey @dz0nda, thank you very much for your PR.
Could you please also add tests, and the Kafka events for the FXHash V1 indexing ?
Tests are located here: https://github.com/dipdup-net/rarible-marketplace-indexer/tree/master/tests
Kafka event management is here: https://github.com/dipdup-net/rarible-marketplace-indexer/blob/master/rarible_marketplace_indexer/event/abstract_action.py


feat(env): Add the 'environment' property

Description
I would like to add a new property 'env' to the resource
STATE:
There is currently no way to set some environment variables, see the
ENVIRONEMENT section in 'git-config'.
PROPOSED SOLUTION:
Add the 'env' property, and merge 'cmd_env' to use during the
Mixlib::ShellOut.
Issues Resolved
Check List

[X] A summary of changes made is included in the CHANGELOG under ## Unreleased
[/] New functionality includes testing.
[/] New functionality has been documented in the README if applicable.

Hello,
I don't think the error message is related to my PR:
Run actionshub/chef-delivery@main
  with:
  env:
    CHEF_LICENSE: accept-no-persist
/usr/bin/docker run --name b317a13[2](https://github.com/sous-chefs/git/runs/6272277663?check_suite_focus=true#step:4:2)d2275d84c8c90c71e2f88977e[3](https://github.com/sous-chefs/git/runs/6272277663?check_suite_focus=true#step:4:3)0_50859[4](https://github.com/sous-chefs/git/runs/6272277663?check_suite_focus=true#step:4:4) --label 294b31 --workdir /github/workspace --rm -e CHEF_LICENSE -e INPUT_GEMS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/git/git":"/github/workspace" 294b31:7a132d227[5](https://github.com/sous-chefs/git/runs/6272277663?check_suite_focus=true#step:4:5)d84c8c90c[7](https://github.com/sous-chefs/git/runs/6272277663?check_suite_focus=true#step:4:7)1e2f88977e30

The Delivery CLI has been deprecated as part of the EOL of Chef Workflow (Delivery) on December 2020.

Could anyone help me on this one?
Kind regards,
JM

Hey @jmauro thanks for the PR. Let me copy to workflows from the Java cookbook. That should fix this error.


FAQs must be in center

Describe the bug
All faqs must be in center, @notsoocool please assign me this issue
Screenshots

@nishtha-902 I actually like the original design, if you have anything else in mind feel free to reach out.


majestic.log() improvements

Updated majestic.log() to accept an arbitrary number of arguments similar to console.log() instead of only one.
Fixed import error due to improper file casing on macOS.
Added myself to Contributors in README.

It looks like this is failing bc Travis is trying to run commands for linting / tests which aren't currently present in the alpha version.

I'm sorry for not responding to this earlier but Majestic went through a complete rewrite and currently logging is not implemented yet and I'm looking to work on it soon.
I appreciate your contribution and if you are keen on contributing, please raise an issue or reach out via https://spectrum.chat/majestic


fix(migrations): change useAnonymousExtChannel default value from true to false

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


[epic] MarkdownDB plugin system

We want a plugin system in MarkdownDB so people can easily extend the core functionality, for example to extract additional metadata, so that not all functionality has to be in core and people can rapidly add functionality
Sketch (April 2023)
https://link.excalidraw.com/l/9u8crB2ZmUo/9hkrQmVl9QX

Acceptance

[ ] Design of MarkdownDB and especially the plugin system. NB: i think the best approach is to orient this around use cases. See job stories on https://datahub.io/notes/markdowndb

[ ] extract first heading as title metadata
[ ] add a metadata field

Notes
MarkdownDB vs Contentlayer
Contentlayer supported:

document types with

frontmatter schema definition and validation
assigning document types based on glob patterns
computed fields, e.g. description auto-extracted from the document content

excluding/including some content folders we kinda already have this but it's not configurable
...

What we need:

probably config file similar to Contentlayer one, with:

custom document types,
content include/exclude option
plugins
...

...

Doing a bunch of research on remark and micromark

[ ] Should we just build on top of the remark ecosystem i.e. use remark plugins for doing the parsing? ✅2023-11-19 my sense is yes

[ ] Should we use remark plugins or micromark (what's the difference even?). 🚧2023-11-19  still confused on this one (as others are) but my sense is we just remark and its plugins

What remark plugins could we learn from?

For tasklists: https://github.com/micromark/micromark-extension-gfm-task-list-item
How would we extract tasks?

Can you pass "data" along the chain of a plugin
This example https://github.com/remarkjs/remark/issues/251 talks about word counts but it console logs the info ...
var unified = require('unified');
var parse = require('remark-parse');
var stringify = require('remark-stringify');
var english = require('retext-english');
var remark2retext = require('remark-retext');
var visit = require('unist-util-visit');

unified()
  .use(parse)
  .use(remark2retext, unified().use(english).use(count))
  .use(stringify)
  .processSync('*This* and _that_. \n> And some more stuff.\n\nAnd another thing.');

function count() {
  return counter;
  function counter(tree) {
    var counts = {};
    visit(tree, visitor);
    console.log(counts);
    function visitor(node) {
      counts[node.type] = (counts[node.type] || 0) + 1;
    }
  }
}

{ RootNode: 1,
  ParagraphNode: 3,
  SentenceNode: 3,
  WordNode: 10,
  TextNode: 10,
  WhiteSpaceNode: 10,
  PunctuationNode: 3 }

The immediate question that arises is how the output of running plugins can be stored. Let's consider a straightforward example using a simple plugin available at https://github.com/florianeckerstorfer/remark-a11y-emoji. This plugin wraps emojis in a <span> tag and sets the emoji name as the aria-label.
Assuming we successfully run the markdown files through such plugins, the next query is where the newly generated markdown should be stored. Currently, the library only generates SQL databases from metadata, lacking a method to load the content of a file.
Possible solutions include:

Add Content to Database/JSON:
Store each file's body content in the generated database or local JSON files. This approach consolidates the parsed content along with metadata.

Generate Separate Markdown Files:
Create a designated folder, say .markdown, and start generating markdown files there after parsing. This process involves removing metadata from the files.

Introduce a Loading Method:
Implement a method like loadFile(file_path) to retrieve the content of a given file after running the plugins. However, a drawback of this approach is that if users generate the database/JSON files using the library but employ another tool to load the markdown file content.

@mohamedsalem401 we aren't using plugins to transform markdown at all - we are using plugins to extract information from the markdown and then store that somewhere ...
See my last comment section about "Can you pass "data" along the chain of a plugin" ... because we just want to pass data along the chain. Or see the example above where it computes wordcount etc.
To repeat: we are not using remark plugins to transform the content but rather to extract information from it ...


How to save outlines as text for ImageJ from folder of npy files (in bulk)

Hi,
I have run many images on cellpose and have the corresponding npy files. Is there a way to load these npy files in bulk and save the outlines file (text for ImageJ) for each file? I have been doing this one file at a time but it is pretty time consuming. Please advise if it's possible to do this bulk saving.
Thanks!

sorry there is no option prebuilt, when you run cellpose please use the --save_outlines option in the future


Improve gRPC exception flow and trace readibility

Rethrow UnavailableException coming form auth-layer to avoid confusion.
Simplify channel traces by avoiding Optional field representation(Optional["value"])

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5767/
Test PASSed.

@calvinjia PTAL. Thanks!

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/5768/
Test FAILed.

alluxio-bot, merge this please.


Improve Position.Range.toString

I don't like the current Position.Range toString, it outputs the whole string of a file. I'm open to other ideas but the first one that came to my mind is to use ANSI colors to highlight the range and wrap it with some context (100 chars before and after). This is what it looks like:

To consider:
How to display Points such as Position.Range(x, y) x = y ?
What to do when Position.Range(x, y) y >>> x? Do we cut the text in the middle?
What to do when the range is the whole file?

Superseded by #1186


chore: built storefront foundation

I haven't had time to go through all changes within this PR yet. Looks like a lot of great work is done here. 👏 But should we be careful to not merge code that we might not need later on? Just thinking about avoiding technical debt? I'm not saying there is any within this pull request because I haven't had time to go through it. But from your point of view is there any files or code that could be reduced to ensure we do not create technical debt? :)

I forgot to remove @framitdavid from the PR as a reviewer. The code is not ready for review, we are just merging it into main so that @mimarz can perform some maintenance on the repo. I have cleared this up with @framitdavid in DMs.


QUESTION: Can I disable property injection?

I don't want property injections on object creation. How can I disable it?

Property injection doesn't happen automatically, you have to manually called "BuildUp" to do it, so it is "disabled" if you're just using ctor injection.

Thanks. I was confused by a phrase in wiki: "Any public read/write property that we can resolve, that isn't already set to a value, is resolved by the container".


I have tried many times, but I can't run through your TCN model. Please help me

That's my argument. I didn't know it wasn't correct
model = 'ST3000DM001'
years = ['2013','2014','2015','2016']
windowing = 1
min_days_HDD = 115
days_considered_as_failure = 7
test_train_perc = 0.3
oversample_undersample = 2
balancing_normal_failed = 20
history_signal = 32
classifier = 'TCN'
perform_features_extraction = False
CUDA_DEV = "0"
ranking = 'Ok'
num_features = 18
overlap = 1

Which error log do you have? the parameters seem correct.

Thank you first of all for your answer
Which technique should I use when I use TCN algorithm?
I set it to hdd ( technique='hdd' ) and the error at runtime is

The primary reason I found is because useless features are dropped in technique='random'

But this step is not performed in technique='hdd' ，So that led to the error

What can I do to avoid this error？
And  (random/hdd/temporal)
What are the specific differences between them?
Look forward to your reply. Thank you again

Ok.
First, I suggest to use "random" as a technique. It is the one used in the paper. In HDD, the data are divided per HDD.
Second, when you define the history of the signal, you have to be sure that this number divides exactly the dataset dimension X.shape[1].
For instance, with
model = 'ST3000DM001'
years = ['2014','2015','2016','2017','2018']
a history = 90, works.
The problem is found in the first error you reported since you cannot reshape data given that the division is not exact.
Hope this helps.
Alessio


Upload: fixed onExceed function type issue

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

fixed the issue about the upload onExceed


Can't find sysctl

Thank you for providing these great images. Somehow, TravisCI can't find sysctl in buster:
 fatal: [instance]: FAILED! => {"changed": false, "msg": "Failed to find required executable sysctl in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}

See https://travis-ci.org/systemli/ansible-role-dovecot/jobs/588931530#L469
It's fine in the older releases: https://travis-ci.org/systemli/ansible-role-dovecot/builds/588931529
Everything is also fine, when running the same in a Debian Buster Vagrant box.

Weird. I wonder if it was the update to Debian 10.1 recently; it might be an issue with the build in the upstream Debian 10 library image (see https://github.com/debuerreotype/docker-debian-artifacts/issues/new).

Upstream thinks it's a feature
https://github.com/debuerreotype/docker-debian-artifacts/issues/20


Gives Chaplain their Bible 🙏

About the PR
Chaplains spawn with a bible now. With combat mode off, they can heal people. Only Chaplains can do this (or anyone with the BibleUser component.) There is a 1/3 chance they will instead damage someone if they are not wearing a helmet.
Changelog

:cl: Rane

add: Chaplains' prayers have been answered, and they now spawn with a fully functional bible.

Shall we rename it holy book or happy with bible?
I propose we name it "God's Word", afaik it's correct and it's not as boring as "The Bible", etc.
But outside of that, yeaaa name it "Holy Book".

I mean, all of the Chapel related assets are overloaded with crosses already. Later on people can add more sprites and the ability to rename.

why do we need to rename it, is the pope going to DMCA us

why do we need to rename it, is the pope going to DMCA us

No... But it just feels like there's no reason for it to be any particular book. I am for generic "holy book."

IIRC in ss13 chaplains could choose a religion, and that would effect their choice of holy book, so it could be cool if it was in the character customization, dunno if character customization stuff supports per-job stuff like that, but it probably should.
Until then, it should be bible imo, people are probably just gonna call it that anyways, and holy book sounds dumb.

why do we need to rename it, is the pope going to DMCA us

No... But it just feels like there's no reason for it to be any particular book. I am for generic "holy book."

fair enough

why do we need to rename it, is the pope going to DMCA us

No... But it just feels like there's no reason for it to be any particular book. I am for generic "holy book."

What does this book look like to you
https://cdn.discordapp.com/attachments/702326069344337940/934403394553118730/icon.png

religion? in my codebase???

it's more likely than you think. FREE RELIGION CHECK!


⚠ Processors has degraded performance

In 497ef03, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 109 ms

Resolved: Processors performance has improved in ea3d36d.


chore(tests): bump qunit to latest

I'm going to submit a PR which will enable CI tests in Travis.
This one is the preparation for that.

👍

Thanks for merging @fabiospampinato! would you mind to enable TravisCI for this project so my upcoming PR will be tested in it?

I think it's enabled already. Anyway only the owner can change these things.

I see GitHub Services are going to be discontinued in January, they are transitioning to GitHub Apps and WebHooks, I'm not sure if that means our Travis CI integration will break or not 🤔

I see GitHub Services are going to be discontinued in January, they are transitioning to GitHub Apps and WebHooks, I'm not sure if that means our Travis CI integration will break or not 🤔

No, that's unrelated to TravisCI, everything will be fine :)


Spaxelhoes don't count as anything but a pick.

Because the spaxelhoe only inherits from the NCPickaxe class, which extends the vanilla pickaxe class, and nothing else, it can't harvest snowballs, till dirt, or break Random Things' Nature Core as it specifically requires an axe with a minimum harvest level of "obsidian" (as The One Probe puts it).

Quite the oversight - fixed!


bug(5.0.3): Images not showing

Images are downloaded but not updated on screen. Images seem to be cached but not shown.
I'll update as soon as I have more detail.

Image download start as usual.
Image's XHR calls finish with status code 200 (only 5)
I have two GIFs that keep loading even after the XHR call is finished
Component is not updated, keeps showing spinner

More details about this error:

Open app
App inits Image Loader configuration  this._image.setMaximumCacheSize(268435456);
  this._image.enableDebugMode();
  this._image.setCacheDirectoryName('custom-name');
  this._image.setFileNameCachedWithExtension(true);

App sets root to page
Page load calls API
API returns five items
Image Loader starts fetching image
Spinner stuck loading
Close app after a while
Open app again, ImageLoader fetch from cache but image is not available (although no error)
Move to another page
New page call API and gets 5 different results
ImageLoader load everything fine.

On first run, something is happening in processQueue function that it never resolves or rejects in this part:
_this.file.writeFile(localDir, fileName, data)
                    .then(function (file) {
                        if (_this.shouldIndex) {
                            _this.addFileToIndex(file).then(function () {
                                _this.getCachedImagePath(currentItem.imageUrl).then(function (localUrl) {
                                    currentItem.resolve(localUrl);
                                    resolve();
                                    done();
                                    _this.maintainCacheSize();
                                }).catch(err => {
                                    console.error('currentItem', err);
                                    currentItem.reject();
                                });
                            });
                        }
                    }).catch(function (e) {
                        //Could not write image
                        console.error(e);
                        reject();
                        error(e);
                    });

Hi, same issue over here. Any news?

What i'm seeing is that the files are created with 0 filesize.

@gmosornoza but it only happens the first time, if you close your app (fully close it) and then navigate to another page that has img-loader components, they'll load just fine.

@eduardoRoth Not for me.  In fact, first time only shows the fallback Image.  If i close and reopen the app, then it shows the image as broken image.
Checking the cache directory in the device i noticed the zero filesize.

First time opening the app:

Second time opening the app - confirms the zero byte files:

This happens both with @ionic-native 4.7.0 or 4.9.0

Did this worked before my changes were merged? Which platforms did you tested? I'm unable to reproduce such problems with my devices.

@felixbroehl I'm using the plugin as is. Android Oreo device,

window.resolveLocalFileSystemURL is rejecting with errorCode 1, in cordova-plugin-file.
I trace until this:
File.prototype.resolveLocalFilesystemUrl = function (fileUrl) {
var _this = this;
return new Promise(function (resolve, reject) {
try {
window.resolveLocalFileSystemURL(fileUrl, function (entry) {
resolve(entry);
}, function (err) {
_this.fillErrorMessage(err);
reject(err);
});
}
catch (xc) {
_this.fillErrorMessage(xc);
reject(xc);
}
});
};

@felixbroehl Samsung S8 - Oreo 8.0.0
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-plugin-proxy : 1.5.8
    @ionic/cli-utils        : 1.19.2
    ionic (Ionic CLI)       : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.10
    Cordova Platforms  : android 7.1.0 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    ios-sim    : 7.0.0
    Node       : v8.11.1
    npm        : 6.1.0
    OS         : macOS High Sierra
    Xcode      : Xcode 9.4.1 Build version 9F2000

Environment Variables:

    ANDROID_HOME     : not set
    HTTP_PROXY       : not set
    http_proxy       : not set
    HTTPS_PROXY      : not set
    https_proxy      : not set
    IONIC_HTTP_PROXY : not set
    PROXY            : not set
    proxy            : not set

Misc:

    backend : legacy

@gmosornoza @felixbroehl checked my app settings and found that it had the "Storage" permission off, so I turned it on and tried again with no result... So I disallowed it again and suddendly it started working... really strange
Will check on it further...

ok this is strange :D

seems more like a problem with cordova than with this plugin

Cleared cache again for my app and tried again... same problem 😢

this could be related to https://github.com/ionic-team/ionic-native/issues/806

could you try this hack described by joewoodhouse? https://github.com/ionic-team/ionic-native/issues/505

So, I've found a fix (I think) is to re-order the index.html of your app so that the polyfills.js (which includes zone.js and a few other things) is included before cordova.js. This seems to make it work reliably for me. Presumably this gives some clue as to what's going on, something to do with how zone.js patches things?

@felixbroehl was just trying this change, and it seems to partially fix this issue. I need to use setMaximumCacheSize() function to set a maximum cache.
Tried both ways, with and without setMaximumCacheSize() and only with it, the images were loaded.
setMaximumCacheSize https://github.com/zyra/ionic-image-loader/issues/27#issuecomment-401957582

Is there any drawback to have the polyfills.js loaded before cordova?

@gmosornoza could you try both fixes and see if it works for you know?

maybe this also is related to "if(this.shouldIndex)" and no else in your example

because this.shouldIndex is defined by the maximumCacheSize

Yeah, just removed that if(this.shouldIndex) and it worked without setting a maximumCacheSize.
Why is there this property? @ihadeed

also wtf is this:
(this.config.maxCacheAge > -1) || (this.config.maxCacheSize > -1)
this means that maximumCacheSize should be set. @ihadeed what was this intended for?

there should be something like this:
this.http.get(currentItem.imageUrl, {   responseType: 'blob',   headers: this.config.httpHeaders, }).subscribe(   (data: Blob) => {     if ((this.config.maxCacheSize > -1 && this.currentCacheSize > this.config.maxCacheSize) || this.config.maxCacheSize == -1) {       this.file.writeFile(localDir, fileName, data, {replace: true}).then((file: FileEntry) => {         this.addFileToIndex(file).then(() => {           this.getCachedImagePath(currentItem.imageUrl).then((localUrl) => {             currentItem.resolve(localUrl);             resolve();             done();             this.maintainCacheSize();           });         });       }).catch((e) => {         //Could not write image         error(e);       });     } else {       //if there is too less space       currentItem.resolve(currentItem.imageUrl);       resolve();       done();       this.maintainCacheSize();     }   },   (e) => {     //Could not get image via httpClient     error(e);   } );

@eduardoRoth can you test this?

It doesn't work for me.
The file is downloaded, but when its written to the filesystem, the filesize keeps 0.
I setup the maximum cache size, tried to move cordova.js after polifyll but no success.

@felixbroehl made the following change instead:
this is using your updated condition
private get shouldIndex(): boolean {
    return (this.config.maxCacheSize > -1 && this.currentCacheSize > this.config.maxCacheSize) || this.config.maxCacheSize == -1;
  }

Check if we have enough space in cache, if not, make some more removing the oldest one.
   this.file.writeFile(localDir, fileName, data, {replace: true}).then((file: FileEntry) => {
              if (!this.shouldIndex) {
                this.maintainCacheSize();
              }
              this.addFileToIndex(file).then(() => {
                this.getCachedImagePath(currentItem.imageUrl).then((localUrl) => {
                  currentItem.resolve(localUrl);
                  resolve();
                  done();
                  this.maintainCacheSize();
                });
              });
            }).catch((e) => {
              //Could not write image
              error(e);
            });

maybe we should rename shouldIndex to isCacheSpaceExceeded or something like that

Hi,
It worked changing the order of cordova.js and polifyll.js.
@eduardoRoth I was doing it wrong!  The file to be edited is under /src/index.html (i was editing www/index.html)
Thank you all, it's working fine now.

@felixbroehl same problem on Android 7.0.1

so maintainCacheSize already checking this. So I created a fork for this: https://github.com/felixbroehl/ionic-image-loader
Can somebody test this?
If its not working please also try to change the order of cordova.js and polyfill.js in your src/index.html

Also created a fork with this change, but removed shouldIndex property as it was only used just in that function and other with similar functionality.
Tested in device and emulator and works.
This does not fixes the polyfill.js workaround.
Pull request https://github.com/zyra/ionic-image-loader/pull/171

Your fork seems good. I think we should document the polyfill.js workaround in the README and also ask @ihadeed to evaluate if there are consequences.
To bring @ihadeed up to date: It seems like the @ionic-native/file or cordova-plugin-file is not working correctly (promise resolve of this.file.writeFile is not called). Therefor images are not loaded on the first time. changing the order of cordova.js and polyfill.js in the src/index.html seems to do the trick.

@ihadeed @felixbroehl
Created PR https://github.com/zyra/ionic-image-loader/pull/173 with suggested README.mdchanges.


new(CI): add registry.yaml validator

Before adding an entry to the registry.yaml file we check that the OCI artifact for that entry has been released.

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Before adding an entry to the registry.yaml file we check that the OCI artifact for that entry has been released.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: alacuku
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


684 account funding

Adds funding to registration again, Must be reviewed as I'm having trouble adding the funding to the transactions in the UI.

Coverage decreased (-0.3%) to 75.79% when pulling e5e7d2f80f0749b6c7e730e1317b81a76cec9d37 on 684-accountFunding into 07b4dc14323716fe4cecb7826a8ba2ddbabdf82d on master.

Coverage decreased (-0.1%) to 75.997% when pulling 0a7893366b9e9b867a8656fc31ba3993f1fce4d3 on 684-accountFunding into 07b4dc14323716fe4cecb7826a8ba2ddbabdf82d on master.

Fixed transactions. Found issue with funding. If you register your account but don't login then the funding will fail. it appears to be looking for the local geth node account since the error message is "account is locked." This may be an issue in the backend that needs to be changed to use the augur.web.account object instead.

Coverage increased (+0.2%) to 76.304% when pulling 7fa88f4c86f0dce2731c103c055d9119d3d73c18 on 684-accountFunding into 07b4dc14323716fe4cecb7826a8ba2ddbabdf82d on master.

Coverage increased (+0.2%) to 76.304% when pulling cb0ebbaab42b70f4d9e28342733fee7dc162b424 on 684-accountFunding into 07b4dc14323716fe4cecb7826a8ba2ddbabdf82d on master.


Was not able to run train.lua on GPU

I am having hard time making train.lua work using GPU. I am running the following command:
CUDA_VISIBLE_DEVICES=1 th train.lua -data ../wmt15-de-en/wmt15-all-en-de-train.t7 -save_model ../wmt15-de-en/wmt15-all-en-de -gpuid 0
It runs utilizing the CPU (htop displays 8 cores on 99% usage) and nvidia-smi displays zero GPU processes and no memory usage. I made sure that Torch GPU libraries are installed correctly using:
luajit -lcutorch
luajit -lcunn
What should I do to make it work using GPU?
Environment:
Cuda compilation tools, release 8.0, V8.0.44
Linux simo 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX TITAN Black]
cuDNN 5.1

As stated in the -gpuid option description, its value is 1-indexed. So you should run:
CUDA_VISIBLE_DEVICES=1 th train.lua -data ../wmt15-de-en/wmt15-all-en-de-train.t7 -save_model ../wmt15-de-en/wmt15-all-en-de -gpuid 1

or simply:
th train.lua -data ../wmt15-de-en/wmt15-all-en-de-train.t7 -save_model ../wmt15-de-en/wmt15-all-en-de -gpuid 1

Thanks! Now I am encountering another error:
If I run it without CUDA_VISIBLE_DEVICES=1 I get:
$ th train.lua -data ../wmt15-de-en/wmt15-all-en-de-train.t7 -save_model ../wmt15-de-en/wmt15-all-en-de -gpuid 1
[01/30/17 13:36:25 INFO] Using GPU(s): 1
Segmentation fault (core dumped)

Else I get:
$ CUDA_VISIBLE_DEVICES=1 th train.lua -data ../wmt15-de-en/wmt15-all-en-de-train.t7 -save_model ../wmt15-de-en/wmt15-all-en-de -gpuid 1
THCudaCheck FAIL file=/home/user/OpenNMT/torch/extra/cutorch/lib/THC/THCGeneral.c line=66 error=38 : no CUDA-capable device is detected
/home/user/OpenNMT/torch/install/bin/luajit: .../user/OpenNMT/torch/install/share/lua/5.1/trepl/init.lua:389: cuda runtime error (38) : no CUDA-capable device is detected at /home/user/OpenNMT/torch/extra/cutorch/lib/THC/THCGeneral.c:66

It is CUDA_VISIBLE_DEVICES=0 (sorry, I quickly edited my comment but not quick enough it seems) but you actually don't need this flag as you have only one GPU.
As for the error, you should certainly reinstall Torch from scratch or check your driver installation if it persists. It does not appear to be related to OpenNMT.

Sure will do that! Thanks mate!

Yes reinstalling Torch from scratch worked! Thanks again for your quick responses! Much appreciated!


Bug: main class with name sealed can be created with Java >=15

I have noticed that the app allows me to create a main class with the name sealed. However, this is not a valid class name in Java starting from version 15.
The project creation flow requests the Java version only after the main class name is set. Therefore, to avoid having to rewrite the entire flow, I propose banning this name, along with other reserved keywords like int, class, etc.
I created a PR that fixes that issue.

Linked issue

It's been merged, thanks!


first stab at bin/setup for ubuntu/debian

I don't have a macos machine for testing, so testing help would be appreciated. Thanks!

Looks alright to me. :+1:

Thanks, Mike!


feat: updated Solidity interface policy

Introduces a new proposal to update the Solidity interface policy such that source contracts do not use interfaces at all and interfaces live in an entirely separate folder. Proposal is intended to set us up to fully automate interface generation while still maintaining most of the compilation benefits.

Copying over some counter-arguments from discord:
re-compilation: it'd be better to maximize the efficiency of the most used path, which is modifying existing contracts, rather than creating new ones.
circular dependency: it is indeed a pain. But it seems to be an edge case that can be solved by writing an empty implementation first, or manually crafting a temporary interface.
security: it is a bit misleading to be pointed to a specific implementation rather than just seeing an external call that uses an interface, which forces you to double check "what the hell is being called on here"
bonus in-favor argument:
auto-gen: being able to automatically generate interfaces is awesome!

Alright it sounds like the latest consensus is to allow usage of interfaces within src/ but we would still do the move to interfaces/ at the root. Any objections?


consul uses consul dns address and other uses another dns address. feasible?

i buy pgsql server on aliyun , it address is domain name and dns_resolver is consul dns address, but an anomaly of 'dns server error: 3 name error' was found
currently, the solutions:

uses consul configuration options -recursor =  upstream DNS servers
DNS forwarding using 'bind'

Do you guys have a better solution?

Either one is appropriate, though in general I prefer the latter. This is because an unavailability in the Consul cluster would prevent all dns recursion. Best to point Kong’s DNS resolver at an intermediary proxy like bind or unbound, and forward traffic to a stub zone for consul records appropriately

Either one is appropriate, though in general I prefer the latter. This is because an unavailability in the Consul cluster would prevent all dns recursion. Best to point Kong’s DNS resolver at an intermediary proxy like bind or unbound, and forward traffic to a stub zone for consul records appropriately

tks


Remove a checkbox from the SQ post task as it is already present in t…

…he begin task

LGTM

LGTMT


No prepare at is_known_dunder_method

For exemple
class A(type):
    @classmethod
    def __prepare__(cls, name, bases): ...

returns the error "PLW3201 Bad or misspelled dunder method name __prepare__". It appears that this is missing in https://github.com/astral-sh/ruff/blob/e8d7a6dfce3251a76afc754899034fad48376d99/crates/ruff_linter/src/rules/pylint/helpers.rs#L202-L210
We can verify that this is the last dunder method missing by doing a regex \b__\w+__\b on https://docs.python.org/3/reference/datamodel.html and looking at what is missing in the file. We obtain

__annotations__
__bases__
__classcell__
__closure__
__code__
__defaults__
__file__
__func__
__future__
__globals__
__import__
__kwdefaults__
__match_args__
__mro__
__mro_entries__
__name__
__objclass__
__prepare__
__qualname__
__self__
__slots__
__traceback__
__type_params__

It appears __prepare__ is the only method here

Thanks! Not sure if this was excluded intentionally but I'm not sure why it would be.

Well prepare is a bit of a special case that very few people use, this is the only method that only makes sense if it's in a metaclass so I can understand.
Furthermore for the PLW3201 as we can add prepare in the bad-dunder-method-name setting it's not really a big problem in itself. But I find it a bit strange that by default the linter acts as if the method does not exist at all.

I'd like to work on this, please assign me :)


Reduce Rich import and initialisation time

Rich is currently the largest factor in startup time, which hurts when there is nothing to do or one just wants to check the help message.
Alternatives:

See if importing just specific parts of Rich reduces this time sufficiently.
Exchange for an alternative, e.g.:

https://pypi.org/project/termcolor/
https://pypi.org/project/colored/

Partially/mostly addressed by 0b484019e2f481d0eee6688cb912d7a186553676 and #44, but the code should ideally use a library for the ANSI codes.


Does it support distributing flutter app to testers?

Does this plugin support distributing flutter app after creating apk file for the app after creating the file using the instructions in the link below :
https://flutter.dev/docs/deployment/android

yes it does, we're using it this way with jenkins/fastlane to automatically deploy to crashlytics beta testing service or testFlight for public beta testing


HV-944 Update French translation for @(Decimal)[Min|Max]

HV-5-MASTER #642 SUCCESS
This pull request looks good

Merged. I take your word for it that my mom would understand this as well now :-)

@hferentschik moms are always better at understanding.

lol


Added NORDAKADEMIE University of Applied Sciences

Added NORDAKADEMIE University of Applied Sciences

@derp-herpson Pull request merged. Thank you!


Drop kserveTarget from ServiceConfig, explainers endpoints package refactoring

See #294
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[ ] Pull Request title is properly formatted: FAI-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.3.x] FAI-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

/retest


is it possible for you to release the retrain log file?

hi, @lyg95 , In paper and official code, retrain the searched model by the feature loss cost too much resource, the 1.2ms latency model is very difficult to train completely end to end. so whether the series model‘s log can be released?

latency12ms 83.6% or 83.466%

Hi @aptsunny， I found that the training results are lost in the original log searched_latency12ms_83.466_train_image_classification.log.
I provide a similar model training log  for your reference searched_latency12ms_train_image_classification.log


Router state should be an observable ref instead of observable object

Our currentState in the RouterModel is currently marked as @observable instead of @observable.ref, which can cause some strange issues/errors when putting arrays in state params due to how mobx sets up the proxies for deeply observable objects. I can't see any reason why we would want the router state to be an observable object, it is not something that an app would ever modify directly - we might consider locking it down even more with an internal prop and getter.
Also worth considering whether we should be cloning the state when we update it from router5.

Great catch, John -- I went ahead and fixed this.
Regarding cloning -- that seems like it could be a little riskier, in case any applications were using object equality here.


File and directory permission left as root user.

The script emr-presto-query-event-listener/eventlistenerbootstraptemplate.sh used the sudo command to create directories and copy files leaving them with root:root owner and group permissions.  For an EMR Presto installation these files and directories should really have presto:presto  owner and group permissions.  A simple "sudo chown presto:presto ...." after each operation should do the trick.

Greetings,
As the presto user does not exist when the bootstrap action runs. You can run a script in all the instances after the cluster is up. Another option is to create a bootstrap action that takes into consideration the time the user presto is created and changes the folder ownership of the plugin artifacts from root to presto.
Please let us know if you have any questions.
Regards,
Zafar.