[cloud_firestore,firebase_auth] Gradle error on adding firebase to any flutter app

Describe the bug
Getting the following error on every version of plugins released since May 7, 2019.
cloud_firestore: ^0.11.0 and onwards
firebase_auth: ^0.10.0 and onwards
The changelog for these versions: Update Android dependencies to latest.
I haven't checked other flutterfire plugins, but they might have the same error.
AGPBI: {"kind":"error","text":"Type com.google.android.gms.common.internal.zzf is referenced as an interface from `com.google.android.gms.internal.zzcfb`.","sources":[{}],"tool":"D8"}

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform artifact 'firebase-analytics-impl.aar (com.google.firebase:firebase-analytics-impl:11.4.2)' to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21}.
      > Execution failed for DexingWithClasspathTransform: C:\Users\Shivam\.gradle\caches\transforms-2\files-2.1\a2d4051f99ffbe9ad8884d8a69091e22\jetified-firebase-analytics-impl-11.4.2\jars\classes.jar.
         > Error while dexing.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11sGradle task assembleDebug failed with exit code 1
Exited (sigterm)

To Reproduce
Steps to reproduce the behavior:

Create a new flutter app
Create and add firebase project to the app (https://codelabs.developers.google.com/codelabs/flutter-firebase)
Add plugins with versions dated May 7, 2019 and onwards.
Run the app on physical android device. (no error in flutter web)

Expected behavior
App should run in debug mode.
Additional context
Target Platform: Android
Target OS version/browser: Android P
Devices: Physical device - Nokia 6.1 plus
Error occurs on both latest dev and master branch.

Logs
PS D:\Shivam\Code\Flutter\new_app> flutter run --verbose
[  +20 ms] executing: [C:\Programming\flutter\] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +52 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b6e92003c8abc5e04a193b58e4a7c8b98d4b8536
[        ] executing: [C:\Programming\flutter\] git describe --match v*.*.* --first-parent --long
--tags
[  +36 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.10-0-gb6e92003c
[   +6 ms] executing: [C:\Programming\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +33 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [C:\Programming\flutter\] git ls-remote --get-url origin
[  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +92 ms] executing: [C:\Programming\flutter\] git rev-parse --abbrev-ref HEAD
[  +36 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +85 ms] executing: C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +18 ms] Exit code 0 from: C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe
devices -l
[        ] List of devices attached
           <IP_ADDRESS>:5555     device product:Dragon_00WW model:Nokia_6_1_Plus device:DRG_sprout
           transport_id:1
[  +16 ms] C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe -s <IP_ADDRESS>:5555
shell getprop
[ +249 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[  +10 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +35 ms] Found plugin cloud_firestore at
C:\Programming\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.10+2\
[  +12 ms] Found plugin firebase_core at
C:\Programming\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.2\
[ +603 ms] Found plugin cloud_firestore at
C:\Programming\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.12.10+2\
[   +6 ms] Found plugin firebase_core at
C:\Programming\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.4.2\
[  +60 ms] Generating
D:\Shivam\Code\Flutter\new_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +28 ms] ro.hardware = qcom
[  +47 ms] Launching lib\main.dart on Nokia 6 1 Plus in debug mode...
[  +10 ms] executing: C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe -s
<IP_ADDRESS>:5555 shell -x logcat -v time -s flutter
[  +13 ms] executing: C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +27 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\Shivam\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +22 ms] Building APK
[  +22 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from D:\Shivam\Code\Flutter\new_app\android\gradlew.bat.
[   +6 ms] executing: C:\Programming\Android Studio\jre\bin\java -version
[  +77 ms] Exit code 0 from: C:\Programming\Android Studio\jre\bin\java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +2 ms] executing: [D:\Shivam\Code\Flutter\new_app\android\]
D:\Shivam\Code\Flutter\new_app\android\gradlew.bat -Pverbose=true
-Ptarget=D:\Shivam\Code\Flutter\new_app\lib\main.dart -Ptrack-widget-creation=true
-Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm64 assembleDebug
[+1327 ms] > Configure project :app
[        ] google-services plugin could not detect any version for com.google.android.gms or
com.google.firebase, default version: 11.4.2 will be used.
[  +15 ms] please apply google-services plugin at the bottom of the build file.
[   +1 ms] Could not find google-services.json while looking in [src/nullnull/debug,
src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
[  +54 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[   +4 ms] Could not find google-services.json while looking in [src/nullnull/release,
src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
[  +20 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[  +20 ms] Could not find google-services.json while looking in [src/nullnull/profile,
src/profile/nullnull, src/nullnull, src/profile, src/nullnullProfile]
[  +16 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[ +368 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[   +2 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[  +16 ms] > Task :app:preBuild UP-TO-DATE
[   +8 ms] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :cloud_firestore:preBuild UP-TO-DATE
[        ] > Task :cloud_firestore:preDebugBuild UP-TO-DATE
[        ] > Task :firebase_core:preBuild UP-TO-DATE
[        ] > Task :firebase_core:preDebugBuild UP-TO-DATE
[  +56 ms] > Task :cloud_firestore:packageDebugRenderscript NO-SOURCE
[        ] > Task :firebase_core:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :firebase_core:compileDebugAidl NO-SOURCE
[        ] > Task :cloud_firestore:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :cloud_firestore:mergeDebugShaders UP-TO-DATE
[        ] > Task :cloud_firestore:compileDebugShaders UP-TO-DATE
[        ] > Task :cloud_firestore:generateDebugAssets UP-TO-DATE
[        ] > Task :cloud_firestore:packageDebugAssets UP-TO-DATE
[   +2 ms] > Task :firebase_core:mergeDebugShaders UP-TO-DATE
[        ] > Task :firebase_core:compileDebugShaders UP-TO-DATE
[   +8 ms] > Task :firebase_core:generateDebugAssets UP-TO-DATE
[   +1 ms] > Task :firebase_core:packageDebugAssets UP-TO-DATE
[  +76 ms] > Task :app:mergeDebugAssets
[ +198 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[   +2 ms] > Task :app:generateDebugResources UP-TO-DATE
[   +5 ms] > Task :app:processDebugGoogleServices
[   +1 ms] Parsing json file: D:\Shivam\Code\Flutter\new_app\android\app\google-services.json
[        ] > Task :cloud_firestore:generateDebugResValues UP-TO-DATE
[        ] > Task :cloud_firestore:compileDebugRenderscript NO-SOURCE
[        ] > Task :cloud_firestore:generateDebugResources UP-TO-DATE
[        ] > Task :cloud_firestore:packageDebugResources UP-TO-DATE
[   +1 ms] > Task :firebase_core:generateDebugResValues UP-TO-DATE
[  +36 ms] > Task :firebase_core:compileDebugRenderscript NO-SOURCE
[  +61 ms] > Task :firebase_core:generateDebugResources UP-TO-DATE
[   +5 ms] > Task :firebase_core:packageDebugResources UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugResources UP-TO-DATE
[   +3 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :cloud_firestore:checkDebugManifest UP-TO-DATE
[  +29 ms] > Task :cloud_firestore:processDebugManifest UP-TO-DATE
[   +1 ms] > Task :firebase_core:checkDebugManifest UP-TO-DATE
[        ] > Task :firebase_core:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :cloud_firestore:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :firebase_core:parseDebugLibraryResources UP-TO-DATE
[  +34 ms] > Task :firebase_core:generateDebugRFile UP-TO-DATE
[  +14 ms] > Task :cloud_firestore:generateDebugRFile UP-TO-DATE
[   +1 ms] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :cloud_firestore:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :firebase_core:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :firebase_core:javaPreCompileDebug UP-TO-DATE
[        ] > Task :firebase_core:compileDebugJavaWithJavac UP-TO-DATE
[  +89 ms] > Task :firebase_core:bundleLibCompileDebug UP-TO-DATE
[        ] > Task :cloud_firestore:javaPreCompileDebug UP-TO-DATE
[        ] > Task :cloud_firestore:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :cloud_firestore:bundleLibCompileDebug UP-TO-DATE
[   +7 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :cloud_firestore:processDebugJavaRes NO-SOURCE
[        ] > Task :cloud_firestore:bundleLibResDebug UP-TO-DATE
[        ] > Task :firebase_core:processDebugJavaRes NO-SOURCE
[        ] > Task :firebase_core:bundleLibResDebug UP-TO-DATE
[ +112 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[  +77 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[   +1 ms] > Task :firebase_core:bundleLibRuntimeDebug UP-TO-DATE
[   +3 ms] > Task :firebase_core:createFullJarDebug UP-TO-DATE
[        ] > Task :cloud_firestore:bundleLibRuntimeDebug UP-TO-DATE
[   +1 ms] > Task :cloud_firestore:createFullJarDebug UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[  +94 ms] > Task :app:mergeProjectDexDebug UP-TO-DATE
[  +11 ms] > Task :app:mergeLibDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :cloud_firestore:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :cloud_firestore:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :cloud_firestore:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :cloud_firestore:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :firebase_core:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :firebase_core:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :firebase_core:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :firebase_core:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[  +89 ms] Unable to strip library
'D:\Shivam\Code\Flutter\new_app\build\app\intermediates\merged_native_libs\debug\out\lib\x86\libflutter.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
[ +388 ms] > Task :app:stripDebugDebugSymbols
[   +2 ms] Compatible side by side NDK version was not found.
[   +7 ms] Unable to strip library
'D:\Shivam\Code\Flutter\new_app\build\app\intermediates\merged_native_libs\debug\out\lib\arm64-v8a\libflutter.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
[   +1 ms] Unable to strip library
'D:\Shivam\Code\Flutter\new_app\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
[   +1 ms] > Task :cloud_firestore:extractDebugAnnotations UP-TO-DATE
[   +7 ms] > Task :cloud_firestore:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :cloud_firestore:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :cloud_firestore:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :cloud_firestore:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :cloud_firestore:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :cloud_firestore:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :cloud_firestore:bundleDebugAar
[        ] > Task :cloud_firestore:compileDebugSources UP-TO-DATE
[   +1 ms] AGPBI: {"kind":"error","text":"Type com.google.android.gms.common.internal.zzf is
referenced as an interface from
`com.google.android.gms.internal.zzcfb`.","sources":[{}],"tool":"D8"}
[   +2 ms] > Task :cloud_firestore:assembleDebug
[        ] > Task :firebase_core:extractDebugAnnotations UP-TO-DATE
[   +1 ms] > Task :firebase_core:mergeDebugGeneratedProguardFiles UP-TO-DATE
[   +3 ms] > Task :firebase_core:mergeDebugConsumerProguardFiles UP-TO-DATE
[  +11 ms] > Task :firebase_core:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :firebase_core:mergeDebugJavaResource UP-TO-DATE
[        ] > Transform artifact firebase-analytics-impl.aar
(com.google.firebase:firebase-analytics-impl:11.4.2) with DexingWithClasspathTransform
[   +8 ms] > Task :firebase_core:transformClassesAndResourcesWithSyncLibJarsForDebug
[        ] > Task :app:mergeExtDexDebug FAILED
[  +45 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[        ] Execution failed for task ':app:mergeExtDexDebug'.
[        ] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
[        ]    > Failed to transform artifact 'firebase-analytics-impl.aar
(com.google.firebase:firebase-analytics-impl:11.4.2)' to match attributes {artifactType=android-dex,dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21}.
[   +1 ms]       > Execution failed for DexingWithClasspathTransform:
C:\Users\Shivam\.gradle\caches\transforms-2\files-2.1\a2d4051f99ffbe9ad8884d8a69091e22\jetified-firebase-analytics-impl-11.4.2\jars\classes.jar.
[   +1 ms]          > Error while dexing.
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option toget more log output. Run with --scan to get full insights.
[   +1 ms] * Get more help at https://help.gradle.org
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle
6.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See
https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings
[   +1 ms] 85 actionable tasks: 8 executed, 77 up-to-date
[        ] BUILD FAILED in 3s
[ +381 ms] Running Gradle task 'assembleDebug'... (completed in 3.9s)
[   +8 ms] "flutter run" took 5,250ms.
Gradle task assembleDebug failed with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      buildGradleApp (package:flutter_tools/src/android/gradle.dart:387:7)
#2      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#3      _rootRunUnary (dart:async/zone.dart:1134:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:524:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#11     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:73:64)
#13     _rootRunUnary (dart:async/zone.dart:1134:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:524:5)
#19     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:554:7)
#20     _rootRun (dart:async/zone.dart:1126:13)
#21     _CustomZone.run (dart:async/zone.dart:1023:19)
#22     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#26     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#27     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

PS D:\Shivam\Code\Flutter\new_app>

PS D:\Shivam\Code\Flutter\new_app> flutter analyze
Analyzing new_app...
No issues found! (ran in 6.5s)
PS D:\Shivam\Code\Flutter\new_app>

PS D:\Shivam\Code\Flutter\new_app> flutter doctor -v
[√] Flutter (Channel dev, v1.12.10, on Microsoft Windows [Version 10.0.18363.476], locale en-US)
    • Flutter version 1.12.10 at C:\Programming\flutter
    • Framework revision b6e92003c8 (17 hours ago), 2019-11-22 15:02:20 -0800
    • Engine revision ad14574949
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Shivam\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Programming\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

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

[√] Android Studio (version 3.5)
    • Android Studio at C:\Programming\Android Studio
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.40.1)
    • VS Code at C:\Users\Shivam\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.25.1

[√] Connected device (3 available)
    • Nokia 6 1 Plus • <IP_ADDRESS>:5555 • android-arm64  • Android 9 (API 28)
    • Chrome         • chrome             • web-javascript • Google Chrome 78.0.3904.108
    • Web Server     • web-server         • web-javascript • Flutter Tools

• No issues found!
PS D:\Shivam\Code\Flutter\new_app>

The commits in this repo from May 7 are : https://github.com/FirebaseExtended/flutterfire/commit/bc3462ac8b8d2d9d371b2e2cfdafdca6dcb088ef https://github.com/FirebaseExtended/flutterfire/commit/07819b42045080dc45ecf673b023ad459e7ad829
and similar for ios on May 16 : https://github.com/FirebaseExtended/flutterfire/commit/e92bbda854967ecc294fb72100487e487ce5f182
Might be helpful: https://firebase.google.com/support/release-notes/android#2019-05-07
The logs have this even though I've followed the firebase codelab exactly.
[+1327 ms] > Configure project :app
[        ] google-services plugin could not detect any version for com.google.android.gms or
com.google.firebase, default version: 11.4.2 will be used.
[  +15 ms] please apply google-services plugin at the bottom of the build file.
[   +1 ms] Could not find google-services.json while looking in [src/nullnull/debug,
src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
[  +54 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[   +4 ms] Could not find google-services.json while looking in [src/nullnull/release,
src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
[  +20 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[  +20 ms] Could not find google-services.json while looking in [src/nullnull/profile,
src/profile/nullnull, src/nullnull, src/profile, src/nullnullProfile]
[  +16 ms] registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

And the error message has Failed to transform artifact 'firebase-analytics-impl.aar (com.google.firebase:firebase-analytics-impl:11.4.2)'
It seems that after May 7 versions it can't find the applied plugin/API so it's using the default version 11.4.2 and that is causing the given error.

Everything works if I use classpath 'com.google.gms:google-services:4.3.3 instead of classpath 'com.google.gms:google-services:3.2.1
But https://codelabs.developers.google.com/codelabs/flutter-firebase/#6 specifies This line specifies version 3.2.1 of the plugin (do not use higher version).

I have the same issue and it works with same same fix (though remember closing the string): classpath 'com.google.gms:google-services:4.3.3'

Using classpath 'com.google.gms:google-services:4.3.3'instead of the specifiedclasspath 'com.google.gms:google-services:3.2.1'` worked for me aswell!


[RFE] support async declaration post

Currently sending declaration post in default "synchronous" mode, meaning, the service will wait till processing is complete before responding.  For big declarations, the client may time out before getting the response, leading to misunderstanding and potential issues.
Making all declaration posts, asynchronous (/mgmt/shared/appsvcs/declare/?async=true), will tell the receiving service to respond with HTTP/202 and job details (mainly task id).  Subsequent calls can be made to check status till completion.
As an interim, this should probably be default behavior for now.  Visual cues and time to wait before checking for updates need to be discussed:

refresh entire editor page with latest details?
just append last response to page details, like a list of the calls?
custom details in new editor window with spinning status thing in tab?
add status bar "processing" notification along bottom of workspace?

this could support a less intrusive workflow, while the user waits for longer jobs to finish
this could also support additional actions with a click of the status bar item, like pulling up the current response, or canceling the waiting cycle
when complete an information window can pop up, or just bring up the editor with the final response

set try wait setting (default = 3 seconds? || 5 seconds?)

*** Detect if async is needed? ***
There may also be a way to count the lines of the declaration.  If above 50 or 100 lines, or byte size, then automatically switch to async, or default to sync.
5.20.2020:  So, the thought right now is:
AS3, detect declaration size, post as async when necessary
DO, default to async
TS just regular post
Utilize the following progress bar for user visibility of this long running operation
https://github.com/bd82/vscode-extension-samples/tree/master/progress-sample

So, the thought right now is:

AS3, detect declaration size, post as async when necessary
DO, default to async
TS just regular post

This was implemented here:
https://github.com/DumpySquare/vscode-f5-fast/commit/df022843df3c163f380738e77e3a0165076acffc#diff-6ba41e568d844b52ee686a58552821bfR641
Added config boolean, enabled by default to send all as3 posts as async.  There is no way to force DO async processing since it can only be specified in the declaration.  If sync DO post is detected, a warning message will urge the user to post using async methods.
Following issue has been opened for DO async POST uri parameter:
https://github.com/F5Networks/f5-declarative-onboarding/issues/146


PRL-6781 - Unbind FL401 list on notice & list without notice events from tasks

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-6781
Change description
Unbind FL401 list on notice & list without notice events from tasks so that these events can be executed without task.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Merged these changes as part of https://github.com/hmcts/prl-wa-task-configuration/pull/192
Closing this.


tidal perturbations

how does the function https://github.com/noaa-ocs-modeling/EnsemblePerturbation/blob/main/examples/adcirc/perturb_tides.py
work?

What's the strategy you guys use to perturb the tides to capture arbitrary storm-tide timing?

oh whoops, this function call is outdated and will not work. Good catch @krober10nd
the function generate_adcirc_configuration is now in CoupledModelDriver (coupledmodeldriver/generate/adcirc/generate.py).
The function works by reading JSON files from the specified directory
https://github.com/noaa-ocs-modeling/CoupledModelDriver/blob/294a33efca213b528df70dd8652f103fc57dabe8/coupledmodeldriver/generate/adcirc/generate.py#L68-L75
and extracts model configuration from them. The JSON files are written by creating a RunConfiguration object.

Thanks Zach for the clarification.
I'll try these out. I guess I was looking for an existing methodology that made sense to perturb start times to "adequately" sample the storm-tide uncertainty.
This is of course a science question that constantly arises in our field.

@krober10nd here is the current example to perturb ATCF tracks by 4 variables (2 scalar, 2 spatial) and build configurations per-value:
https://github.com/noaa-ocs-modeling/EnsemblePerturbation/blob/6e4b873f70589b2412f8d2e8a9fa8c8fa6dcedef/examples/adcirc/perturb_tracks.py#L88-L108


loadgen: Trace fixes

Increase precision
Remove single-argument AddArgs as (key,value) pairs are required.
Add origin to "otherData".

@jbaiocchi : fyi
@guschmue : ptal
I will revert my previous fix for precision after this lands since I don't want to bother testing all corner cases possible. (It doesn't work for small negative values, for example.)


Can't download particular youtube video in Debian, works in OS X

[x] I've verified and I assure that I'm running youtube-dl 2016.06.03

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)

When downloading a playlist on a MacMini running Debian Jessie, youtube-dl froze when trying a particular video.  Downloading that video directly also hangs, verbose output below.  It is important to note that all other videos in the playlist downloaded fine, and skipping this video using --playlist-start allowed me to continue the rest of the playlist - only this video has an issue.
However - I tried this on my Macbook Pro running OSX El Capitan, and it worked.
$ youtube-dl -v -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' "https://www.youtube.com/watch?v=2bO8TDrkxC4"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-f', u'bestvideo[ext=mp4]+bestaudio[ext=m4a]', u'https://www.youtube.com/watch?v=2bO8TDrkxC4']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.03
[debug] Python version 2.7.9 - Linux-3.16.0-4-686-pae-i686-with-debian-8.4
[debug] exe versions: avconv 11.6-6, avprobe 11.6-6
[debug] Proxy map: {}
[youtube] 2bO8TDrkxC4: Downloading webpage
[youtube] 2bO8TDrkxC4: Downloading video info webpage
[youtube] 2bO8TDrkxC4: Extracting video information
[youtube] 2bO8TDrkxC4: Downloading MPD manifest
[debug] Invoking downloader on u'https://r2---sn-5uaeznes.googlevideo.com/videoplayback?id=d9b3bc4c3ae4c42e&itag=137&source=youtube&requiressl=yes&mm=31&nh=IgpwcjAyLmF0bDIyKgkxMjcuMC4wLjE&pl=19&initcwndbps=337500&mv=m&ms=au&mn=sn-5uaeznes&ratebypass=yes&mime=video/mp4&gir=yes&clen=168657408&lmt=1442812898280477&dur=557.264&mt=1465328411&signature=1F4293C8253A1E6F992F43EE28C1551EEBCA5067.45AF1CF2E52FEB6F2B38FAFF18D2906EC8AE175F&sver=3&fexp=9416126,9416891,9418405,9419452,9422342,9422596,9423554,9424134,9426985,9428398,9431012,9433096,9433380,9433858,9433946,9434000,9434182,9435526,9435666,9435876,9436994,9437066,9437078,9437091,9437393,9437552,9437675,9437776&key=dg_yt0&upn=UUf_axCXmz8&ip=<IP_ADDRESS>&ipbits=0&expire=1465350496&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,nh,pl,initcwndbps,mv,ms,mn,ratebypass,mime,gir,clen,lmt,dur'
ERROR: unable to download video data: <urlopen error [Errno 101] Network is unreachable>
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1638, in process_info
    partial_success = dl(fname, new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1586, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1946, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 943, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 101] Network is unreachable>

Verbose output from OSX (working download)
$youtube-dl -v -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' "https://www.youtube.com/watch?v=2bO8TDrkxC4"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-f', u'bestvideo[ext=mp4]+bestaudio[ext=m4a]', u'https://www.youtube.com/watch?v=2bO8TDrkxC4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.03
[debug] Python version 2.7.11 - Darwin-15.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.0.2, ffprobe 3.0.2
[debug] Proxy map: {}
[youtube] 2bO8TDrkxC4: Downloading webpage
[youtube] 2bO8TDrkxC4: Downloading video info webpage
[youtube] 2bO8TDrkxC4: Extracting video information
[youtube] 2bO8TDrkxC4: Downloading MPD manifest
[debug] Invoking downloader on u'https://r2---sn-5uaeznes.googlevideo.com/videoplayback?id=d9b3bc4c3ae4c42e&itag=137&source=youtube&requiressl=yes&pl=21&mv=m&ms=au&initcwndbps=3722500&nh=IgpwcjA0LmF0bDIyKgkxMjcuMC4wLjE&mn=sn-5uaeznes&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&clen=168657408&lmt=1442812898280477&dur=557.264&sver=3&mt=1465328731&signature=8776B1BAA41E939E186793340ADB78D109842982.5179C20A26655F3E091F27AE8FAAE8DFA0B3EC62&upn=UCxONCKMcjk&key=dg_yt0&fexp=9408209,9412859,9416126,9416313,9416891,9418778,9422596,9424417,9428398,9429983,9431012,9432684,9432825,9433096,9433380,9433425,9433456,9433773,9433946,9435527,9435667,9435727,9435876,9435917,9435957,9436394,9436809,9437066,9437553,9437756&ip=<IP_ADDRESS>&ipbits=0&expire=1465350617&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,mv,ms,initcwndbps,nh,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f137.mp4
[download] 100% of 160.84MiB in 00:14
[debug] Invoking downloader on u'https://r2---sn-5uaeznes.googlevideo.com/videoplayback?id=d9b3bc4c3ae4c42e&itag=140&source=youtube&requiressl=yes&pl=21&mv=m&ms=au&initcwndbps=3722500&nh=IgpwcjA0LmF0bDIyKgkxMjcuMC4wLjE&mn=sn-5uaeznes&mm=31&ratebypass=yes&mime=audio/mp4&gir=yes&clen=8852095&lmt=1442812017441136&dur=557.325&sver=3&mt=1465328731&signature=12FD48B103837FBA8397338CB8D13D28AD7796CC.8EE8F4E3BFA747FE84A601BE9F751E535ECE789F&upn=UCxONCKMcjk&key=dg_yt0&fexp=9408209,9412859,9416126,9416313,9416891,9418778,9422596,9424417,9428398,9429983,9431012,9432684,9432825,9433096,9433380,9433425,9433456,9433773,9433946,9435527,9435667,9435727,9435876,9435917,9435957,9436394,9436809,9437066,9437553,9437756&ip=<IP_ADDRESS>&ipbits=0&expire=1465350617&sparams=ip,ipbits,expire,id,itag,source,requiressl,pl,mv,ms,initcwndbps,nh,mn,mm,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f140.m4a
[download] 100% of 8.44MiB in 00:00
[ffmpeg] Merging formats into "Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.mp4"
[debug] ffmpeg command line: avconv -y -i 'file:Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f137.mp4' -i 'file:Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.temp.mp4'
Deleting original file Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f137.mp4 (pass -k to keep)
Deleting original file Dish Best Served – Episode 11 – Red vs. Blue Season 13-2bO8TDrkxC4.f140.m4a (pass -k to keep)

As seen from the log you have a connectivity issue. You also have different IP addresses that explains why it does work under OS X. Can you download it under OS X via the same network interface? Try disabling IP v6 with -4.

Closing as no feedback for a long time.

There is no connectivity issue there - that single video was the only one from the entire playlist that didn't download on the Debian box.  Yes, the IP addresses are different between OSX and Debian, they're different machines, but the Debian box did not have any issues downloading any other youtube videos other than that single video.  It was not a connectivity issue.

I just tried again.  It failed again... however, just to test connectivity, I actually WATCHED the video on the same machine while trying to download it.  Viewing is fine.  Download failed.

Could you run the following command on both machines and post the outputs?
curl -v "https://r2---sn-5uaeznes.googlevideo.com/"

If you don't provide necessary information, there's nothing we can do but closing the issue.


Refactor govuk-main-wrapper usage to ensure all pages have correct padding

This fixes the padding issue.
It removes notification wrapper backgrounds. I think this is the lesser of two evils and doesn't look particularly bad anyway.
If we really want to we can try and address that a later date, but given we've got lots of notification work/refactoring on the horizon, I'm not sure if it is worth it at this point in time anyway.

Review app deployed to https://teaching-vacancies-review-pr-3099.london.cloudapps.digital


Move ARM template to a link

try using the http module or the local file module
data "http" "eg-view" {
url = "https://raw.githubusercontent.com/grayjeremy/azure-event-grid-viewer/add-output-variable/azuredeploy.json"
}
https://www.terraform.io/docs/providers/local/d/file.html

Closed in commit f2cfa15008dd72749f4c2455c69ad163015a734f


Build fails on Windows with MSVC

I've tried to build the library on Windows with MSVC, but since libIP2Proxy/IP2Proxy_DB.c is missing, nmake fails. Do I need to get that file from somewhere else, or is that just a leftover in Makefile.win?

The file is no longer needed. It has been removed from Makefile.win.


Support namespaced variables

From what I can see, LESS supports namespaced variables like this:
#defaults {
  @heading-color: #EE3322;
}

Which you use like this:
h1 {
  color: #defaults[@heading-color];
}

As far as I can tell, dotLESS doesn't support this.
See http://coding.smashingmagazine.com/2010/12/06/using-the-less-css-preprocessor-for-smarter-style-sheets/ (section 5 - Namespaces and Accessors) for an example.

Neither does less.js. It was a feature supported in the original ruby version of the less compiler, no longer maintained. cloudhead scrapped them, considering them not useful.
see bugs
https://github.com/cloudhead/less.js/issues/6
and
https://github.com/cloudhead/less.js/issues/76
and
less.js documentation
http://lesscss.org/#docs
I think it would be a mistake to support something that may never be in less.js - we aim to be compatible and with respects bugs and css support, better ;)

Thanks - I never used the original Ruby version so didn't realise it was a feature that got removed from the JavaScript version.


Move penalty details to start of use journey

Allow a user to enter their penalty details prior to going deeper into the service.
Allows the user to identify if they can use the service before they are required to sign in or register with CHS.

Decision has been taken to require CHS sign in up-front. There were concerns around security and architecture.
Closing issue.


Update toyota/values.py

add fingerprint for 2019 TOYOTA Highlander XLE

Can you please provide a link for a drive with the car in stock mode? Feel free to PM me on discord with the links.

Can you please rebase this PR on devel? This will allow the new fingerprint tests to run.

Hi, @legonigel, i think this PR is base on devel. i saw:
Update values.py in honda and toyota #571
Open	ucolchen wants to merge 2 commits into commaai:devel from ucolchen:devel
is it right? sorry that i'm totally newbie in github
thanks,
2019 honda ody exl fingerprint
57: 3, 148: 8, 228: 5, 229: 4, 316: 8, 342: 6, 344: 8, 380: 8, 399: 7, 411: 5, 419: 8, 420: 8, 427: 3, 432: 7, 450: 8, 463: 8, 464: 8, 476: 4, 490: 8, 506: 8, 542: 7, 545: 6, 597: 8, 662: 4, 773: 7, 777: 8, 780: 8, 795: 8, 800: 8, 804: 8, 806: 8, 808: 8, 817: 4, 819: 7, 821: 5, 825: 4, 829: 5, 837: 5, 856: 7, 862: 8, 871: 8, 881: 8, 882: 4, 884: 8, 891: 8, 892: 8, 905: 8, 923: 2, 927: 8, 929: 8, 963: 8, 965: 8, 966: 8, 967: 8, 983: 8, 985: 3, 1029: 8, 1036: 8, 1052: 8, 1064: 7, 1088: 8, 1089: 8, 1092: 1, 1108: 8, 1110: 8, 1125: 8, 1296: 8, 1302: 8, 1445: 8, 1600: 5, 1601: 8, 1612: 5, 1613: 5, 1614: 5, 1615: 8, 1616: 5, 1619: 5, 1623: 5, 1668: 5
log w/ stock on:
https://community.comma.ai/cabana/?route=0c0b9b01c32d72da|2019-03-31--00-02-48&max=2&url=https%3A%2F%2Fchffrprivate.blob.core.windows.net%2Fchffrprivate3%2Fv2%2F0c0b9b01c32d72da%2F2640c81c7c528ba7da0cfb4a042e0532_2019-03-31--00-02-48

@ucolchen do you still have fingerprint issues? looked into the drive you posted and it seems to not contain the can messages I expect. Probably panda wasn't connected properly. If you tell me your dongle ID, I can get the fingerprint from there as well.

I am a user of a Toyota Prius 2017 car in Japan.
It uses gray pandas and giraffes, and even with OpenPilot0.6.5,
it could be used comfortably with plug and play without acquiring FingerPrint.
After purchasing and installing a black panda
It becomes dash cam mode and dashcam mode with unsupported car is displayed from EON
Plug and Play is no longer available.
Did BlackPanda and GrayPanda change the interpretation of FingerPrint specific processing,
Enable openpilot switchoff with the black panda connected
I got FingerPrint in DSUON state. valuesCAR.PRIUS # with ipas in values.py modified to the following
Even if DSUOFF was enabled, OpenPilot could be operated without any problem if
Enable Communty Features was ON.
It may just be caused by Prius-specific equipment.
Even with the same Prius, it may or may not occur due to changes in the specifications at the time of car equipment creation.
It is good that you don't need to edit values.py after updating by merging with the existing fingerPrint. This may be a problem solved by
FingerPrint2.0, but I will report it.
DSUON
number of messages 102:
fingerprint 36: 8, 37: 8, 166: 8, 170: 8, 180: 8, 295: 8, 296: 8, 426: 6, 452: 8, 466: 8, 467: 8, 550: 8, 552: 4, 560: 7, 562: 6, 581: 5, 608: 8, 610: 8, 614: 8, 643: 7, 658: 8, 713: 8, 740: 5, 742: 8, 743: 8, 800: 8, 810: 2, 814: 8, 825: 8, 829: 2, 830: 7, 835: 8, 836: 8, 845: 5, 861: 8, 863: 8, 869: 7, 870: 7, 871: 2, 875: 8, 898: 8, 913: 8, 918: 8, 921: 8, 933: 8, 944: 8, 945: 8, 950: 8, 951: 8, 953: 8, 955: 8, 956: 8, 971: 7, 975: 5, 993: 8, 999: 7, 1000: 8, 1001: 8, 1017: 8, 1020: 8, 1041: 8, 1042: 8, 1044: 8, 1056: 8, 1057: 8, 1059: 1, 1071: 8, 1082: 8, 1083: 8, 1084: 8, 1085: 8, 1086: 8, 1114: 8, 1130: 8, 1132: 8, 1161: 8, 1162: 8, 1163: 8, 1175: 8, 1227: 8, 1228: 8, 1235: 8, 1279: 8, 1552: 8, 1553: 8, 1556: 8, 1557: 8, 1568: 8, 1570: 8, 1571: 8, 1572: 8, 1595: 8, 1681: 8, 1777: 8,1779: 8, 1904: 8, 1912: 8, 1990: 8, 1998: 8, 2015: 8, 2016: 8, 2024: 8
Cabanalink running OpenPilot with BlackPanda DSUOFF
https://my.comma.ai/cabana/?route=a42e558b3f03ed35|2019-12-24--11-15-09&exp=1608770190&sig=0rX5%2BXnfguXY7mM5svWM6GtBoZwvca%2BOXBtj6YrqVMY%3D&max=48&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2Fa42e558b3f03ed35%2F59e14b769e6c31e96fc9a094f2f54e6f_2019-12-24--11-15-09
Device: EON Gold
OpenPilotVersion: 0.7 devel
Car make/model Toyota prius 2017 Japanese version

You'll need to submit a Cabana share link of it driven with the DSU connected.

Test drive log with DSU connected.
please confirm.
https://my.comma.ai/cabana/?route=a42e558b3f03ed35|2019-12-25--10-58-33&exp=1608855118&sig=T3nAqtRYuELffNvUJ4aThbInKaJH2szZ0YeMCcjX25M%3D&max=44&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2Fa42e558b3f03ed35%2Fa80da24afd496e47b6854820fbc02ab0_2019-12-25--10-58-33

Confirmed 343 present.

343 present on more busses, so yeah, DSU connected now.


Final visualisation step

Hi, I got the volcano plot working, but the heatmap portion is not showing up. I am mapping RNA seq reads to a genome.
This is the output of the script when I run it only using R.
(rasflow) [yashsondhi@login4 RASflow]$ Rscript scripts/visualize.R output/test_25_march/moth/genome/dea/countGroup output/test_25_march/moth/genome/dea/DEA output/test_25_march/moth/genome/dea/visualization
Loading required package: plotscale
hash-3.0.1 provided by Decision Patterns
Loading required package: GenomicFeatures
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colMeans,
colnames, colSums, dirname, do.call, duplicated, eval, evalq,
Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply,
lengths, Map, mapply, match, mget, order, paste, pmax, pmax.int,
pmin, pmin.int, Position, rank, rbind, Reduce, rowMeans, rownames,
rowSums, sapply, setdiff, sort, table, tapply, union, unique,
unsplit, which, which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4
Attaching package: ‘S4Vectors’
The following objects are masked from ‘package:hash’:
values, values<-

The following object is masked from ‘package:base’:
expand.grid

Loading required package: IRanges
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: AnnotationDbi
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.

Attaching package: ‘AnnotationDbi’
The following objects are masked from ‘package:hash’:
keys, keys<-

Loading required package: ggplot2
Loading required package: ggrepel
Querying chunk 1
Querying chunk 2
Querying chunk 3
Querying chunk 4
Querying chunk 5
Querying chunk 6
Querying chunk 7
Querying chunk 8
Querying chunk 9
Querying chunk 10
Querying chunk 11
Querying chunk 12
Querying chunk 13
Querying chunk 14
Querying chunk 15
Querying chunk 16
Finished
Pass returnall=TRUE to return lists of duplicate or missing query terms.
Error in .request.get(mygene, paste("/query/", sep = ""), params) :
Request returned unexpected status code:
Response [http://mygene.info/v3/query/?fields=symbol]
Date: 2020-04-01 15:38
Status: 400
Content-Type: application/json; charset=UTF-8
Size: 65 B
{
"success": false,
"error": "Missing required parameters."
Calls: plot.volcano.heatmap ... query -> query -> query -> .request.get -> .request.get
Execution halted

Hi, the error indicates that the problem happens when using the package mygene. It is used twice in scripts/visualize.R: line 57 gene.symbol.dea.all <- queryMany(gene.id.dea, scopes = 'ensembl.gene', fields = 'symbol') and line 106 gene.symbol.norm.table <- queryMany(gene.id.norm.table, scopes = 'ensembl.gene', fields = 'symbol')$symbol. As you said that  volcanoplot is plotted (in line 88), so the error must come from line 106.
Reading the code in scripts/visualize.R from line 90 to line 106, it's clear that the problem is the normalized count table: control_gene_norm.tsv and treat_gene_norm.tsv. Could you check them out (maybe compare them with the example data data/example/dea/countGroup/oil_control_gene_norm.tsv and data/example/dea/countGroup/oil_low_gene_norm.tsv)?

Hi,
I compared the files and found that there is an addition of the word gene: in front of the gene id if I  remove all of these it runs. I will work on removing it in R, I could fix it easily in python, but if you have any suggestions on doing it in the script, that would be helpful. Thank you

I see. The extra word "gene" before the gene ID confused the program. But the design of RASflow shouldn't add that extra word. So I can't figure out why that is happening without taking a look at your code and data. Otherwise, if a little bit of manual work (removing it manually) is OK for you, then it's fine.

I tried to look at the code too and could not figure out why it was being
added, I can just call a small python script to do it, thanks for the help.
Manually worked too since it is only 4 files. I can run the script after
sea and before visualisation.
Thanks
On Sun, Apr 19, 2020 at 4:50 AM xkzhang<EMAIL_ADDRESS>wrote:

I see. The extra word "gene" before the gene ID confused the program. But
the design of RASflow shouldn't add that extra word. So I can't figure out
why that is happening without taking a look at your code and data.
Otherwise, if a little bit of manual work (removing it manually) is OK for
you, then it's fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zhxiaokang/RASflow/issues/10#issuecomment-616078837,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAELVPFAYTHR6UFWZC6KELRNK3L5ANCNFSM4LZCY47A
.

--
Yash Sondhi
PhD Student
Department of Biological Sciences
Florida International University,
Member, Titli trust
www.titlitrust.org
Co- editor, Moths of India
www.mothsofindia.org
Email<EMAIL_ADDRESS>

Sounds great! I'll close the issue for now. Feel free to open it whenever it's necessary


Fix TotalCount logic

Can you please provide some snippets to reproduce the issue that is being fixed here? Thanks!

@yajra hey sorry, I was totally wrong with this commit.
I have looked at the code and will provide a real solution this weekend.

I do not understand the fix here. What exactly is the issue with TotalCount logic?


PLT-6362 Add full date tooltip to post timestamps (#6172)

Summary
This pull request adds the full date and time tooltip to post timestamps in the right-hand sidebar and search results.
Ticket Link
The issue related to this PR is mattermost-server#6172
Checklist

[x] Has UI changes

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0067b84900bd486ab.spinmint.com:8065/pr129
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd
Instance ID: i-0067b84900bd486ab

Whoops my bad, missed that one! I've fixed that up :)

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0a824ed4131cb0b93.spinmint.com:8065/pr129
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd
Instance ID: i-0a824ed4131cb0b93

Spinmint test server destroyed


[Feature]: App Developer can see Service Credential Bindings projected onto running workloads via VCAP_SERVICES

Blockers/Dependencies
No response
Background
As an App Developer
I want Credentials from Service Bindings for User-provided Service Instances to be accessible via the VCAP_SERVICES environment variable
So that my existing CF apps that are VCAP_SERVICES aware can continue to work

Acceptance Criteria
GIVEN I have multiple CFServiceBindings bindings bound to an app
WHEN I inspect the running Pods for that app
THEN I see that there is a VCAP_SERVICES environment variable with its value set to a json string containing credentials/info about each binding.
For example, in CF today you'd see something like this after cf ssh-ing on to an app:
vcap@ea6b07a8-bb91-4b16-43d3-9b4e:~$ env | grep VCAP_SERVICES -A 18
VCAP_SERVICES={"user-provided":[{
  "label": "user-provided",
  "name": "test-upsi",
  "tags": [

  ],
  "instance_guid": "f4a3a20f-8fd5-4233-afd3-cfcd863986e1",
  "instance_name": "test-upsi",
  "binding_guid": "13bbc5ee-14a5-400b-a354-a68dd52a1807",
  "binding_name": null,
  "credentials": {
    "user-provided-key-1": "user-provided-value-1",
    "user-provided-key-2": "user-provided-value-2"
  },
  "syslog_drain_url": null,
  "volume_mounts": [

  ]
}]}

Dev Notes

"name" is an optional field for bindings. When "name" is empty/missing it should be set to be the same name as the Service Instance in VCAP_SERVICES
In the exploration/spike we found that the the ProcessController was the best place to do this

Resources:

Related Exploration: https://github.com/cloudfoundry/cf-k8s-controllers/issues/367
UPSI Proposal Doc

Sorry to piggy back this issue,
Can someone please share the details, how to make credhub avaiable as a service in the korifi? How to brokerize it?
@matt-royal, @gnovv! if you can help?


What changed? My webpack ran against a wall.

I feel like the coyote from the Roadrunner Show: One fine day, I decide to update my deps, and then attempt to compile.
And am surprised how long it takes.
Previously, I'd run my webpack command and it would compile and - done. But now, it seems to get stuck. Just after the output has been printed - as expected - the process does NOT exit. It stays running, as if there was something inside the event loop that just wasn't done yet. But, what?
Also, my watcher process no longer accepts changes. It stays silent the whole time after the first compilation. something is...off.
WebPack Config: https://github.com/DragonsInn/BIRD3/blob/master/app/System/Config/webpack.js
What is up here? I have no idea what it's doing... all I know is, that I am sure something "isn't quite done yet" and keeps running - but I have no idea what...

Is this relevant still? Safe to close?

Closing due to inactivity. Feel free to reopen at Stack Overflow.


ChIP-Atlas: Dataset Search : No data available in table

I'm trying to search for datasets or cell types through the "ChIP-Atlas Dataset Search" web page. Whatever the query, the response remains "No data available in table". Is there something wrong with the server or is there something I missed ?
Thanks a lot for helping
Below is a screenshot with a query SRX1583885 which is normally available in the database.

Hi @samanthaconte , thanks for raising an issue. The advanced search function fetches a large file from our remote server for building a search index, so it takes a time or may not work if your network is unstable.
When you open the advanced search page, it will show the table like this first (may take a few seconds or longer):

And on my laptop it works as expected with your query:

Please check your network condition, and if it still does not work, could you check if your browser console raised an error?
Feel free to reopen this issue if the problem persists!


Figure out what's wrong with strongbox-web-ui build under windows

Task Description
It has been brought to our attention that there are some issues starting the strongbox/strongbox-web-ui project under Windows. When you do npm run start and try to go to http://localhost:4200 it will produce a 404 not found instead of actually serving the assets. This issue has been introduced with strongbox/strongbox#1691 and might be related to the reverse proxy I enabled there (maybe no windows support or a transitive package needs an update?)
Thanks @aosousa for bringing this up!
Tasks
The following tasks will need to be carried out:

[ ] Investigate what's causing the issue under Windows
[ ] Write your findings
[ ] Open a new task issue at strongbox/strongbox with proper description.
[ ] Feel free to fix the issue (finders - keepers :smile:)

Task Relationships
This task:

Relates to: strongbox/strongbox#1691

Useful Links

Angular Backend Proxy (most likely causing the issue)

Help

Our chat
Points of contact:

@steve-todorov

So the web-ui was working until -for some reason- it just wasn't anymore.
If anyone is looking over this and is having some sort of error like this:
	internal/modules/cjs/loader.js:1172
		  throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);
		  ^

	Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\projetos\strongbox-web-ui\node_modules\is-promise\index.js
	require() of ES modules is not supported.
	require() of C:\projetos\strongbox-web-ui\node_modules\is-promise\index.js from C:\projetos\strongbox-web-ui\node_modules\run-async\index.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
	Instead rename C:\projetos\strongbox-web-ui\node_modules\is-promise\index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\projetos\strongbox-web-ui\node_modules\is-promise\package.json.

		at Object.Module._extensions..js (internal/modules/cjs/loader.js:1172:13)
		at Module.load (internal/modules/cjs/loader.js:1000:32)
		at Function.Module._load (internal/modules/cjs/loader.js:899:14)
		at Module.require (internal/modules/cjs/loader.js:1042:19)
		at require (internal/modules/cjs/helpers.js:77:18)
		at Object.<anonymous> (C:\projetos\strongbox-web-ui\node_modules\run-async\index.js:3:17)
		at Module._compile (internal/modules/cjs/loader.js:1156:30)
		at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
		at Module.load (internal/modules/cjs/loader.js:1000:32)
		at Function.Module._load (internal/modules/cjs/loader.js:899:14) {
	  code: 'ERR_REQUIRE_ESM'
	}

Use npm install<EMAIL_ADDRESS>to get it to work. This seems to be related by the reply provided here and it seems to be a nodejs thing about running EC Modules.
PS.: You may find that there are other solutions using --experimental-modules. Doing that led me to new errors
internal/modules/cjs/loader.js:619
            if (e.code !== 'ERR_PACKAGE_PATH_NOT_EXPORTED') throw e;
                                                            ^

Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "index.js" defined in the package config /C:/projetos/strongbox-web-ui/node_modules/is-promise\package.json
    at resolveExportsTarget (internal/modules/cjs/loader.js:576:13)
    at resolveExportsTarget (internal/modules/cjs/loader.js:616:20)
    at applyExports (internal/modules/cjs/loader.js:505:14)
    at resolveExports (internal/modules/cjs/loader.js:543:12)
    at Function.Module._findPath (internal/modules/cjs/loader.js:664:22)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:967:27)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (C:\projetos\strongbox-web-ui\node_modules\run-async\index.js:3:17) {
  code: 'ERR_INVALID_PACKAGE_TARGET'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `ng serve --aot`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\dione\AppData\Roaming\npm-cache\_logs\2020-04-25T16_23_23_790Z-debug.log

Thanks for sharing @johnnybigoode! I'm using<EMAIL_ADDRESS>on a Linux machine - haven't bumped into the issue you are mentioning above but I assume somebody using a lower version might.

Here's the kicker then:
If I try using "node": "^12.16.2",  I'll get the same problem.
Maybe it's a Windows 10 thing?

Hi @Echidna93 and thanks for your interest in this issue! @johnnybigoode has already made a PR and it fixed the issue. I'll need to rebase it and merge it, but unfortunately I haven't had a chance to do that since I'm working on another task right now.


Update sbt to 1.4.0

Updates org.scala-sbt:sbt from 1.3.13 to 1.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-minor

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   86.34%   86.34%
=======================================
  Files          18       18
  Lines         271      271
  Branches        8        8
=======================================
  Hits          234      234
  Misses         37       37

Continue to review full report at Codecov.

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


Add initial project files

These files were extracted from the main repository for the purpose of separate updating and maintaining.

Ready to merge
Checklist from Marvin:

[X] Github actions
[X] Jenkins file
[X] Code style
[X] Inspection profile
[ ] Readme

Todo for future:
https://gist.github.com/MeinerLP1/61b2f57c9568d4cd41f3659db8b1923d

Can you, apart from just extracting the code, also improve the code?

The improvements was a plan in the future

Add the README.md and then just tell me, once this is ready to be merged

Add a readme. I think is ready to merge @GiantTreeLP


Minor UI-Related Issues and/or Requests

There's a few UI related issues I wanted to comment on...

[ Settings Dialog ] : Minor spelling errs with "openend" and "Line formating:".
Should be "opened" and "Line formatting:".

[ Plugins->JSON Viewer menu ] : Should the "Setting" menu item be called "Settings"?

[ Toolbar Icon ] : The "J N S O" toolbar icon doesn't look good in NPP Dark Mode.
The J and O letters are black, so almost become invisible against the dark background and I mostly just see the red S N.

Toggle Off
Toggle On

[ Viewer Panel Icons ] : The "Validate" and "Format" icons are also in black, and don't mix well in NPP Dark Mode.
The "Refresh" and "Search" icons are fine.

[ Viewer Panel Tab Icon ] : Completely optional, but your plugin lacks an icon for the Panel's tab, which shows up when you have multiple Panels opened.
When this happens, your tab shows up as a blank when other panel tabs are selected.

JSON Panel Tab Active
JSON Panel Tab Inactive

Thanks,
----Z.

Fixed in 158eafa84e176dd9b337d24431a4af61aaf4875f, 4afcdb0b777a147f4d11f12ec73889174aadc5c1, and 3cc8a3abd51a94067722c138e28bb1536c4234b3


Data always unresolved Promise when using xprisma async compute

Bug description
When using xprisma to query vendors and their associated data, the vendor data always returns an unresolved Promise. In order to retrieve the actual data, an additional Promise.all() call is required after the initial findMany() call.
How to reproduce
To reproduce the issue, use the following code:
const xprisma = prisma.$extends({
  result: {
    vendor: {
      data: {
        needs: { id: true },
        async compute(vendor) {
          const customerCardData = await getCustomerCardData({ // <---- this is compute heavy
            vendorId: vendor.id,
          });
          return customerCardData;
        },
      },
    },
  },
});

const vendor = await xprisma.vendor
  .findMany({
    select: { ...defaultVendorSelect, data: true },
    ...(search && {
      where: where,
    }),
    orderBy: {
      createdAt: "asc",
    },
    take,
    skip,
  });

// vendor.data is an unresolved Promise

To fix this issue, modify the above code as follows:
const vendor = await xprisma.vendor
  .findMany({
    select: { ...defaultVendorSelect, data: true },
    ...(search && {
      where: where,
    }),
    orderBy: {
      createdAt: "asc",
    },
    take,
    skip,
  })
  .then((vendors) => {
    // await all the promises in the array vendor.data
    return Promise.all(
      vendors.map(async (vendor) => {
        const data = await vendor.data;
        return { ...vendor, data };
      })
    );
  });

// vendor.data is now resolved

Expected behavior
This issue occurs because the async compute function in xprisma returns a Promise, but the findMany() function doesn't wait for it to resolve before returning the vendor data. As a result, vendor.data is always an unresolved Promise, and an additional Promise.all() call is required to retrieve the actual data.
Prisma information
Not necessary.
Environment & setup

OS: MacOS
Database: MongoDB
Node.js version: 16.4.2

Prisma Version
 "prisma": "^4.11.0"
"@prisma/client": "^4.11.0",

This is works as intended. Purpose of result extensions is to add synchronously computed field to the model with minimum overhead, so it can be queried implicitly — you probably noticed that you don't have to explicitly include them like in case of relations.. In fact, computed properties are evaluated lazily and compute callback is not called until you access property. Resolving the promise (or even knowing that it returns a Promise) would require us to evaluate it eagerly and incur significant performance overhead  each time the model is returned from any query.

Hey @sajadghawami since this was very case-dependent, we chose never to resolve potentially heavy promises. As such, what you return is what you get. I think that what you wrote is good already and probably the easiest.
Perhaps a best practice would be to have a helper that can resolve Promises deeply and generically, regardless of the input. If you think that would be useful you could create a feature request and we could add the said helper into Prisma (or another solution).
Thanks :)

I'm also experiencing pain around this. In my case, I have a few models that have imageKey which needs to be asynchronously resolved into imageUrl. Before using Prisma Client Extensions, I needed to have a recursive function that found every record and sub-record with an imageKey and calculated the imageUrl. Starts to feel really bad with a lot of nested data. Prisma extensions felt like a good use case for this: compute the imageUrl at query time -- way simpler. But instead, I still have to wrap my data in some recursive promise resolver, which ends up being most queries in my case.
Been banging my head on this for a while.... as far as I'm aware, async fields on nested data is an unsolved pain.

Hey @devbytyler we have consciously restricted this as doing async operations in a potentially huge amount of entries can have unintended consequences for performance, depending on what async call this is. As mentioned before, you're welcome to open a feature request. Be as detailed as you can so that other users can find it and upvote it. Thanks.

@devbytyler i'm exactly in your situation, do you have any solution that's not a recursive function for resolving all the nested promises?

@devbytyler i'm exactly in your situation, do you have any solution that's not a recursive function for resolving all the nested promises?

@edobrb I ended up doing something else that was more specific to my use case and outside of Prisma. In my case I was trying to load images from signed urls. Previously, I wanted Prisma to give me the signed url, but instead, I just set up a new endpoint in my app that redirects to the signed url. So, in short, I just render my image pointing to my own server instead of the signed image, and my server redirects to the signed image.

I would create a view with a join and access the view instead of using async computed properties. This approach is more efficient because if you use async compute(), the SQL would not be optimized as it's running on JavaScript, triggering a separate query for each returned row.

Hey @devbytyler we have consciously restricted this as doing async operations in a potentially huge amount of entries can have unintended consequences for performance, depending on what async call this is. As mentioned before, you're welcome to open a feature request. Be as detailed as you can so that other users can find it and upvote it. Thanks.

If anyone need a workaround I'm returning a Promise on the computed field and then I use this function to resolve the potential promises:
export function hasNestedPromises(value: unknown): boolean {
  if (value instanceof Promise) {
    return true
  } else if (Array.isArray(value)) {
    return value.some(hasNestedPromises)
  } else if (value && typeof value === 'object') {
    return Object.values(value).some(hasNestedPromises)
  }
  return false
}

export function reolsveNestedPromises(value: unknown): unknown | Promise<unknown> {
  //TODO: not very efficient but in order to avoid processing object like Set, Date, Map ... we need to perform this check every time
  if (!hasNestedPromises(value)) {
    return value
  }
  if (value instanceof Promise) {
    return value.then(reolsveNestedPromises)
  } else if (Array.isArray(value)) {
    return Promise.all(value.map(reolsveNestedPromises))
  } else if (value && typeof value === 'object') {
    return Promise.all(Object.values(value).map(reolsveNestedPromises)).then((values) => {
      return Object.fromEntries(Object.keys(value).map((key, index) => [key, values[index]]))
    })
  }
  return value
}

@edobrb  it works as a charm. But is not typesafe.

This is works as intended. Purpose of result extensions is to add synchronously computed field to the model with minimum overhead, so it can be queried implicitly — you probably noticed that you don't have to explicitly include them like in case of relations.. In fact, computed properties are evaluated lazily and compute callback is not called until you access property. Resolving the promise (or even knowing that it returns a Promise) would require us to evaluate it eagerly and incur significant performance overhead each time the model is returned from any query.

Can you explain why resolving a promise requires eager evaluation?  All of the prisma client methods are already async, so having an await in the resolution stack doesn't seem like it.
I'm missing why this isn't feasible, and how adding this introduces any meaningful performance overhead relative to what is already entailed by an include statement that incurs an additional join?


fix: lint script not working on Windows

lint script doesn't work in Windows due to single quotes:

Changing them to \" fixes the problem.

Thanks for contributing :)


String to int conversion

This is the port of native implementation from cpython.

@Alexander-Makaryev thanks for this PR, is it ready for review? If not, please just comment on here when you'd like it reviewed and the core devs will schedule it. Thanks!

@stuartarchibald yes, it is ready for review.
Another one (https://github.com/numba/numba/pull/3985) is ready too. It is done on the top of this branch and implementation is very close to this PR, so I think that it is a good idea to review both PRs by one developer at the same time.

@Alexander-Makaryev great, thanks for confirming, I'll schedule them for review.

Thanks for the PR. Further to @sklam's comments, having taken a quick look at this, I'm of the view that testing that is considerably more extensive needs writing ahead of re-review. Thanks.

@sklam is this approach did you mean?
@stuartarchibald I did changes I mentioned. The code is not working. Please help.

@shssf Yes, the approach presented is far closer to that needed for use in Numba, thanks.
Following on from gitter chat, I've added this branch https://github.com/stuartarchibald/numba/tree/pr_3937 which has https://github.com/stuartarchibald/numba/commit/a9bf60180873a4e5dbb747c3ffa7e812590f81a5 as a patch to fix and demo the code working:
./runtests.py numba.tests.test_unicode.TestUnicodeStr2Int.test_str2int_demo

there are still a large number of things that are working essentially by accident, but I figure it's probably easier to fix something that half works with a bunch of problems than something that doesn't. I also added a load of comments to the code to try and explain literally what is going on, this however doesn't cover commenting on the issues in the current code. Main issues at present are 1) assumption that strings are equivalent to char *, which they are not, Numba's internal representation handles unicode! :) 2) Most of the types need more thought to make it work everywhere. 3) Overloading int will need more thought in general.
Hope this helps, we can definitely discuss more.

@stuartarchibald Thank you very much!
Are we going to support kind-2 and kind-4 in string conversion procedure? If so, could you recommend where I can find good examples of digits represented in unicode kind-4 for tests?

@shssf No problem. In terms of kind-2 and kind-4 strings, I think that yes this needs to work, consider the following:
from numba import njit

@njit
def foo():
    string = "🐍⚡123"
    part = string[2:]
    return int(part)

print(foo.py_func())
print(foo())

the above is something that could reasonably occur in practice but will be incorrectly handled by the current code. Further, I'm not convinced that the strto*(3) family produces sufficiently equivalent behaviour to that of the CPython implementation.

@stuartarchibald In this case part = string[2:] Numba will not support other digits like this https://ltl-taiwan.com/chinese-numbers/#chapter-1

@shssf The purpose of the demonstration was to highlight that wider kind unicode representations of numbers that could be encoded as ASCII are possible and trivial to achieve.
@njit
def foo():
    string = "🐍⚡123" # Unicode kind-2
    part = string[2:] # This slice is also unicode kind-2
    return int(part) # the `int` call now has to handle a unicode kind-2 repr of "123"

Numba will not support other digits like this https://ltl-taiwan.com/chinese-numbers/#chapter-1

Correct, Numba has to reproduce exactly what CPython does, if CPython doesn't support it then Numba doesn't have to either.

Just checking in on the state of this PR. @shssf @Alexander-Makaryev was wondering if you have time to address the changes above, if not, don't worry, one of the core developers can take over to do the fixes. Thanks.

@stuartarchibald Sorry we ran out of time to continue this.

@shssf thanks, am going to close this for now, there's merge conflicts and additional effort required to fully support unicode strings. Please feel free to reopen if updates are made to address these concerns. Thanks again.


Add full class name substitution in closures

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
❌

Depends on
#9

Now dumper will dump closures with usage asPhpString() method like the following:

Thank you!


#10 Replaces .tables method calls to .data_sources to avoid using of deprecated Rails API

thanks for submitting this... I'm looking at what is going on with Rails, and seems really odd.  The deprecation message is only temporary (in 5.0) and goes away in 5.1!
So I guess I will add your changes but only use them in the version is 5.0.  Seems really like a poor deprecation message!


Timed out

Command that caused the error
&caption POV: bottas loses his seat
Image that caused the error
https://imgur.com/a/pj5zqNj
Steps to reproduce

Post imgur link with gif
Post &caption command
Wait 20 mins +-
See error

Self-hosted instance?
No
Error file
Message: Error: Job timed out

Stack Trace: Error: Job timed out
    at WebSocket.<anonymous> (/home/esmBot/esmBot/utils/image.js:92:45)
    at WebSocket.emit (node:events:394:28)
    at Receiver.receiverOnMessage (/home/esmBot/esmBot/node_modules/ws/lib/websocket.js:833:20)
    at Receiver.emit (node:events:394:28)
    at Receiver.dataMessage (/home/esmBot/esmBot/node_modules/ws/lib/receiver.js:502:14)
    at Receiver.getData (/home/esmBot/esmBot/node_modules/ws/lib/receiver.js:435:17)
    at Receiver.startLoop (/home/esmBot/esmBot/node_modules/ws/lib/receiver.js:143:22)
    at Receiver._write (/home/esmBot/esmBot/node_modules/ws/lib/receiver.js:78:10)
    at writeOrBuffer (node:internal/streams/writable:389:12)
    at _write (node:internal/streams/writable:330:10)

Additional context
No response

Error message fixed with 1.6.0, it should now give a more informative message on timeout


add include_named_queries_score to docs

Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
https://github.com/opensearch-project/documentation-website/issues/6278
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I made a PR against the doc repo #6306 so we can merge into main.


Allow register for remote notifications to be called from the static push notifications

Why?
There's no reason to depend on the instance push notification.

CC @pusher/mobile

Codecov Report

Merging #145 into master will increase coverage by 0.16%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
+ Coverage   90.09%   90.25%   +0.16%
==========================================
  Files          57       57
  Lines        3332     3326       -6
==========================================
  Hits         3002     3002
+ Misses        330      324       -6

Impacted Files
Coverage Δ

Sources/PushNotificationsStatic.swift
27.17% <0%> (+1.13%)
:arrow_up:

Sources/PushNotifications.swift
89.72% <50%> (+1.21%)
:arrow_up:

Continue to review full report at Codecov.

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


Implement SSL for daemon JSON RPC

There needs to be a way to enable the daemon's JSON RPC server accept requests securely, with a configuration option to enable or disable SSL. The daemon can generate a self-signed certificate upon first run when SSL is enabled and use the certificate to handle requests securely.

@hackrush01 - is this different from the authentication mechanism you have been looking into?

@tzarebczan Yes, this is different.


Composite resource usability improvements

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

Build finished.

Build finished.

Build finished.


Crossmodule

Coverage decreased (-21.09%) to 48.68% when pulling 59023ebf156fcd3457e8e68b17af505ad13e965d on crossmodule into b2b12d195d15aa960f1626beb6e336a3360498f8 on master.


latest container fails to start with option ordering error

the lead node starts fine, but subsequent nodes, when passing in UNICAST_HOSTS, reports this error:
ERROR: Parameter [-Des.discovery.zen.ping.unicast.hosts=es0] starting with "-D", "-d" or "-p" must be before any parameters starting with --
Here is the startup log:
Starting Elasticsearch with the options -Dnetwork.host=<IP_ADDRESS> -Des.path.conf=/conf   -Des.path.data=/data   -Des.path.logs=/data   -Des.transport.tcp.port=9300   -Des.http.port=9200   --path.plugins=/conf/plugins -Des.discovery.zen.ping.unicast.hosts=es0
Running as non-root...
+ su -c /usr/share/elasticsearch-2.3.4/bin/elasticsearch -Dnetwork.host=<IP_ADDRESS> -Des.path.conf=/conf   -Des.path.data=/data   -Des.path.logs=/data   -Des.transport.tcp.port=9300   -Des.http.port=9200   --path.plugins=/conf/plugins -Des.discovery.zen.ping.unicast.hosts=es0 - elasticsearch
ERROR: Parameter [-Des.discovery.zen.ping.unicast.hosts=es0] starting with "-D", "-d" or "-p" must be before any parameters starting with --

and here is the command used to start the container:
docker run -it --rm --name es1 -h es1 -p 9200:9200 -p 9300:9300 -e OPTS=-Dnetwork.host=<IP_ADDRESS> -e UNICAST_HOSTS=es0 -e ES_HEAP_SIZE=8g -v /data:/data itzg/elasticsearch

Oops, I knew about the ordering, but forgot to inspect what the rest of the script would do.

I've been able to workaround for now by specifying the options directly as part of OPTS since that gets ordered first, like:
-e "OPTS= -Dnetwork.host=<IP_ADDRESS> -Des.discovery.zen.ping.unicast.hosts=es0"

Glad you found a workaround since I'm going to be afk until tomorrow afternoon. It looks like the easy fix is similar where it should use the -D properties style at
--path.plugins=/conf/plugins"

Eventually I want to swap those all out for the new style arguments.

fixed at sha256:99f265f5a774e3120d1a311e1bb42983137a180b283ce0a90a6b379eb04caa8f

fixed by 87b2ce1c2466e209bc78876b5513aa270e24a852


feat: Support for build image update when exec build or up again

Signed-off-by: Qi Chen<EMAIL_ADDRESS>

It is not a formal PR. I found some problems when check updates between image and manifest files.
if the manifest changed like A->B->A, the newest image woule always at a old time as the first A maybe caused by the cache system.  So when you execute envd up, it would always build image again according the current implementation: It just compare the timestamp between image and manifest.
We could only accept this problem or we introduce a hash of the manifest and label it on the image:
Hash(manifest.AST + pubkey + config_file)

It is not a formal PR but for your own exp.
I found some problems when check updates between image and manifest files. if the manifest changed like A->B->A, the newest image woule always at a old time as the first A maybe caused by the cache system. So when you execute envd up, it would always build image again according the current implementation: It just compare the timestamp between image and manifest.
We could only accept this problem or we introduce a hash of the manifest and label it on the image:
Hash(manifest.AST + pubkey + config_file)

Maybe we should document it in envd docs.


Add debug logging

@tdurk93 can we close this? Looks like the PR was merged?

@gabenegron yes, this ticket can be closed.


Showcase

What do you think about implementing a showcase section in the website? From what I understand there are already some pretty big cases to show (see Gucci), and I would love to see what folks are doing with Theatre.js!

Yes, many folks need to see a library in use before being convinced to use it themselves.
For short term, a small section on the home page with a few select projects/websites that use TheatreJS.
Long term: a separate page that lists all the projects that use TheatreJS, any open repos, related blog posts, etc.  Should have a JSON file as source, so it can be re-used for 'Awesome TheatreJS', etc.


Incorrect type of field

Is any reason to make Id long type. Because in Telegram bot api type of Id is integer.
Chat.cs -> Id field
It is inconvenient to use long if in other methods accepting chatid
int is used :(

You should read https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/integral-types-table
int is a 32bit integer while long is 64bit in c#.
In this case the possible range of values exceeds those of an int, so long is used.
Make sure you don't cast this back to int anywhere as it could overflow!


screen flash help

Describe your problem here.
i want to add a flash system to my mod and i need to know how to add values to this existing code
function onEvent(n,v1,v2)
if n == 'Flash Camera' then
   makeLuaSprite('flash', '', 0, 0);
    makeGraphic('flash',1280,720,'0e1111')
      addLuaSprite('flash', true);
      setLuaSpriteScrollFactor('flash',0,0)
      setProperty('flash.scale.x',2)
      setProperty('flash.scale.y',2)
      setProperty('flash.alpha',0)
	setProperty('flash.alpha',1)
	doTweenAlpha('flTw','flash',0,v1,'linear')
end

end
value 1 being how long the flash appears and value 2 being the color
ive had the hardest time with implementing the color value
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.


Request: automatically remove outdated manifests from cache?

After a "scoop update-all", I run "scoop cleanup-all". But that still leaves outdated manifests in scoop\cache. Some of them are not small, either.
It is a bore to have to go there and weed them out.
Is there an automatic way of doing this, please?

example, try to put these in powershell profile:
$scoop_cache_rm_condition = (Get-Date).DayOfWeek -eq "Monday"
$scoop_cache_remover_files = "~\scoop\cache\*"
if ($scoop_cache_rm_condition) {
    Remove-Item $scoop_cache_remover_files -Force -Recurse | Out-Null
}

the scoop cache will be deleted, when you open a powershell in Sunday.

example, try to put these in powershell profile:
$scoop_cache_rm_condition = (Get-Date).DayOfWeek -eq "Monday"
$scoop_cache_remover_files = "~\scoop\cache\*"
if ($scoop_cache_rm_condition) {
    Remove-Item $scoop_cache_remover_files -Force -Recurse | Out-Null
}

the scoop cache will be deleted, when you open a powershell in Sunday.


Set protobuf url prefix for rendering links to protobuf docs

Optionally adds a link to protobuf documentation if dashboardProtobufDocUrlPrefix is provided when instantiating the AdminDashboardModule

@benaskins could you bring this PR up to date please? @adrw could you then recheck the PR and get it merged if it's ok?

@benaskins could you bring this PR up to date please? @adrw could you then recheck the PR and get it merged if it's ok?

I'll take a look at this next week, thanks @chris-ryan-square

Closing for now, well out of date.


Conflict Between Dependencies

Good morning, I hope you are doing well, and thank you for sharing your wonderful work with us. I would like to know what the solutions are for resolving dependency conflicts and which version of Python was used?
ex. tensorflow==1.13.1, tensorflow-gpu==2.9.3, Keras==2.2.4 and keras==2.1.6

The latest time we validated our code, we ran with Python 3.8. May you try these dependencies:
tensorboard==1.13.1
tensorflow==1.13.1
tensorflow-estimator==1.13.0
tensorflow-gpu==1.13.1
The Keras part may work well with these 2 versions.
Please tell me if there is any further issue :)


fix 2 bugs on streamlit demo

fix 2 bugs on streamlit demo for kb creation

fix 2 bugs on streamlit demo for kb creation


[Bug]: Navbar and webpage  is not responsive

Give a brief about the bug ✍
Description

As we can see the page is not responsive which is not for user experience.

as you see the side cross btn is also not working .
I'd be happy to help you solve the issue! Could you please assign this issue to me.
What is the expected behavior? 🤔
Description
Provide step by step information reproduce the bug 📄
Description
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

the  navbar doesnt have any hover effects as well as the social media handles, please assign me this issue for GSSoc'24

@kanikaa-3018 @GOURAVSINGH19 Someone is already working on this issue, Please raise any other issue, i'll assign you


Add read_arrow to read Arrow files

As a user, I wish I could use Woodwork to read Arrow files

Code Example
from woodwork import read_arrow
df = read_arrow('data.arrow')

We should make pyarrow an optional dependency with this feature.


Fix Vector Clipping Layer geojson url so it is imported into codesandbox

Fixes the Vector Clipping Layer example which does not work in codesandbox when edit is clicked as an unneeded ./ in the geojson url prevents it being treated as a resource.

Closed as #11564 makes this change unnecessary


Changes the Eddiehub's discord name and link

This PR fixes issues #46  and #48  by changing the previous name to current name and invalid invite link to valid invite link.
closes #46 and closes #48

Thank you for your contribution! This PR has now been superseded, so I will close


Remove ocpp-wamp/src/main/resources/logback.xml

Instead of this logs
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.4)

2024-04-02T19:35:23.091+03:00  INFO 30222 --- [ocpp] [           main] com.fntlct.ocpp.OcppApplication          : Starting OcppApplication using Java 21.0.2 with PID 30222 (/Users/mazurok/work/pikalka/ocpp/target/classes started by mazurok in /Users/mazurok/work/pikalka/ocpp)
2024-04-02T19:35:23.092+03:00  INFO 30222 --- [ocpp] [           main] com.fntlct.ocpp.OcppApplication          : No active profile set, falling back to 1 default profile: "default"
2024-04-02T19:35:23.330+03:00  INFO 30222 --- [ocpp] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2024-04-02T19:35:23.353+03:00  INFO 30222 --- [ocpp] [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 1 JPA repository interface.
2024-04-02T19:35:23.545+03:00  INFO 30222 --- [ocpp] [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8082 (http)
2024-04-02T19:35:23.550+03:00  INFO 30222 --- [ocpp] [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-04-02T19:35:23.550+03:00  INFO 30222 --- [ocpp] [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.19]
2024-04-02T19:35:23.575+03:00  INFO 30222 --- [ocpp] [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2024-04-02T19:35:23.575+03:00  INFO 30222 --- [ocpp] [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 468 ms
2024-04-02T19:35:23.666+03:00  INFO 30222 --- [ocpp] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2024-04-02T19:35:23.807+03:00  INFO 30222 --- [ocpp] [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@615439f7
2024-04-02T19:35:23.807+03:00  INFO 30222 --- [ocpp] [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2024-04-02T19:35:23.829+03:00  INFO 30222 --- [ocpp] [           main] org.flywaydb.core.FlywayExecutor         : Database: jdbc:mysql://localhost:3306/ocpp (MySQL 8.3)
2024-04-02T19:35:23.836+03:00  WARN 30222 --- [ocpp] [           main] o.f.c.internal.database.base.Database    : Flyway upgrade recommended: MySQL 8.3 is newer than this version of Flyway and support has not been tested. The latest supported version of MySQL is 8.1.
2024-04-02T19:35:23.852+03:00  INFO 30222 --- [ocpp] [           main] o.f.core.internal.command.DbValidate     : Successfully validated 1 migration (execution time 00:00.012s)

I got this:
 .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.4)

19:33:00.232 [main] WARN  o.f.c.i.database.base.Database - Flyway upgrade recommended: MySQL 8.3 is newer than this version of Flyway and support has not been tested. The latest supported version of MySQL is 8.1.
19:33:01.021 [main] INFO  c.i.o.w.s.i.UndertowOcppWampServer - starting ocpp wamp server 1.0.2 on port 8087 -- ocpp versions=[OCPP_1_6] - timeout=30000 ms
19:33:01.035 [main] WARN  o.s.b.a.o.j.JpaBaseConfiguration$JpaWebConfiguration - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning

It can be fixed with adding own logback.xml file, but I don't want to add it

Hello, thanks for posting an issue.
You are absolutely right, the lib should not provide any logging configuration. It will be removed


ModuleNotFoundError: No module named 'transformers.modeling_bert'

Traceback (most recent call last):
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\model\cdqa_.py", line 18, in
cdqa_pipeline = QAPipeline(reader=r'C:\Users\04647U744\Desktop\exp\bert_qa.joblib')
File "C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\cdqa\pipeline\cdqa_sklearn.py", line 82, in init
self.reader = joblib.load(reader)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\04647U744\Anaconda3\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1212, in load
dispatchkey[0]
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1528, in load_global
klass = self.find_class(module, name)
File "C:\Users\04647U744\Anaconda3\lib\pickle.py", line 1579, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'transformers.modeling_bert'

I am currently using "transformers" with a version of 4.26.0...i would like to know how to rectify the following module issue...here is the code
import pandas as pd
from ast import literal_eval
from cdqa.utils.filters import filter_paragraphs
from cdqa.utils.download import download_model, download_bnpp_data
from cdqa.pipeline.cdqa_sklearn import QAPipeline
Download data and models
download_bnpp_data(dir=r'C:\Users\04647U744\Desktop\exp')
download_model(model='bert-squad_1.1', dir=r'C:\Users\04647U744\Desktop\exp')
Loading data and filtering / preprocessing the documents
df = pd.read_csv(r'C:\Users\04647U744\Documents\Github\CASH_sfaidebtreducer_WSP\data\paragraphs.csv',
converters={'paragraphs': literal_eval})
df = filter_paragraphs(df)
Loading QAPipeline with CPU version of BERT Reader pretrained on SQuAD 1.1
cdqa_pipeline = QAPipeline(reader=r'C:\Users\04647U744\Desktop\exp\bert_qa.joblib')
Fitting the retriever to the list of documents in the dataframe
cdqa_pipeline.fit_retriever(df)
Sending a question to the pipeline and getting prediction
query = 'what is round robin assignment rule?'
prediction = cdqa_pipeline.predict(query)
print('query: {}\n'.format(query))
print('answer: {}\n'.format(prediction[0]))
print('title: {}\n'.format(prediction[1]))
print('paragraph: {}\n'.format(prediction[2]))