IBM watson icd10 issue.

mytestenv) (base) C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier>curl -i -u "apikey:###############################################

" ^
More? -F training_data=C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier\data\ICD-10-GT-AA.csv ^
More? -F training_metadata="{"language":"en","name":"ICD_classifier"}" ^
More? "https://gateway-fra.watsonplatform.net/natural-language-classifier/api/v1/classifiers"
HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL
Content-Type: application/json
X-XSS-Protection: 1
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: 0
x-global-transaction-id: 0e7fa6da5c655d2728bf7de9
X-DP-Watson-Tran-ID: gateway-fra-dp02-683638249
X-DP-Transit-ID: gateway-fra-dp02-683638249
Strict-Transport-Security: max-age=31536000;
Content-Length: 121
Date: Thu, 14 Feb 2019 12:20:56 GMT
Connection: close
{
"code" : 400,
"error" : "Malformed data",
"description" : "The 'class' value at line 1 and column 1 is 'null'."
}
(mytestenv) (base) C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier>
this is the error i am getting after following each step in github repo for IBM Watson nlc/icd10
kindly respond.Its urgent

One problem I see is that the NLC API requires that the file input use this syntax:
training_data=@$FILE

With the '@' sign being required, between the '=' and the file name.
I'm not sure if there is any issue with the multi-line input, but the line ending '^' and the 'More?' might also be having an effect.

@proCoder02 the @ sign is definitely required in your training_data argument
``
training_data=@C:...

From the [curl docs](https://curl.haxx.se/docs/manpage.html):

> @filename
> This will make curl load data from the given file (including any newlines), URL-encode that data and pass it on in the POST.

Thanks a lot!!! that error was resolved but i ended up having another error :(
(mytestenv) (base) C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier>curl -i -u "apikey:############################################################" -F training_data=@C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier\data\ICD-10-GT-AA.csv -F training_metadata="{"language":"en","name":"ICD_classifier"}" "https://gateway-fra.watsonplatform.net/natural-language-classifier/api"
HTTP/1.1 100 Continue
X-Note: Gateway Ack
HTTP/1.1 404 Not Found
X-Backside-Transport: FAIL FAIL
Content-Type: application/json
X-DP-Transit-ID: gateway-fra-dp01-498873897
X-Global-Transaction-ID: 683fc2df5c6656fa1dbc3629
Strict-Transport-Security: max-age=31536000;
X-DP-Watson-Tran-ID: gateway-fra-dp01-498873897
Content-Length: 34
Date: Fri, 15 Feb 2019 06:06:52 GMT
Connection: close
{"code":404, "error": "Not Found"}

See the api docs
I think you need curly brackets around your api key:
"apikey:{apikey}"
Also, it looks like training_metadata quotation marks must be escaped with a backslash \

@proCoder02 you're missing a few things:

curly brackets around apikey, so apikey:{apikey}
need backslashes around the quotes in training_metadata
missing the /v1/classifiers endpoint in your URL

curl -i -u "apikey:{YOUR_API_KEY}" -F training_data=@C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier\data\ICD-10-GT-AA.csv -F training_metadata="{\"language\":\"en\",\"name\":\"ICD_classifier\"}" "https://gateway-fra.watsonplatform.net/natural-language-classifier/api/v1/classifiers"

Thanks a lot!!! :) that issue was resolved and i was able to train my model but after few mins it showed me this error
{
"code" : 400,
"error" : "Entitlement error",
"description" : "This user or service instance has the maximum number of classifiers."
}
this is the complete note - I got this error after it start to train my model and showed a status="training"
but after wards i got this entitlement error
C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier>curl -i -u "apikey:#######################################################" -F training_data=@C:\Users\mohana.kalyan\Desktop\ibm3\nlc-icd10-classifier\data\ICD-10-GT-AA.csv -F training_metadata="{"language":"en","name":"ICD_classifier"}" "https://gateway-fra.watsonplatform.net/natural-language-classifier/api/v1/classifiers"
HTTP/1.1 100 Continue
X-Note: Gateway Ack
HTTP/1.1 400 Bad Request
X-Backside-Transport: FAIL FAIL
Content-Type: application/json
X-XSS-Protection: 1
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Cache-Control: no-cache, no-store
Pragma: no-cache
Expires: 0
x-global-transaction-id: 683fc2df5c6a3f901b27a061
X-DP-Watson-Tran-ID: gateway-fra-dp01-455581793
X-DP-Transit-ID: gateway-fra-dp01-455581793
Strict-Transport-Security: max-age=31536000;
Content-Length: 121
Date: Mon, 18 Feb 2019 05:16:02 GMT
Connection: close
{
"code" : 400,
"error" : "Malformed data",
"description" : "The 'text' value at line 1 and column 1 is 'empty'."
}
kindly resolve :) it would be of great help :)!!!

Try deleting all the classifiers first, then recreate it again.
The API docs https://cloud.ibm.com/apidocs/natural-language-classifier#create-classifier will have the right syntax

@proCoder02 I'm looking at this further and you've hit two different errors. The first (401 Unauthorized) is happening because you are wrapping the classifier IDs with { }s, no need for that. Try running:
$ curl -u "apikey:{2cnR6681oiUV6qOQBcA4yqRUNJzLtq2aTO9R6TmvI-kT}" "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers}/v1/classifiers/c33e1ex339-nlc-38"

The second error (400 This user or service instance has the maximum number of classifiers) is happening because you are attempting to create another classifier and you're on the free tier, which has a limit of one.

Thanks for resolving that error...
We're almost there...
It would be great if you help in solving this issue..
(mytestenv) (base) C:\Users\mohana.kalyan\Desktop\ibm5\nlc-icd10-classifier>python welcome1.py
Traceback (most recent call last):
File "welcome1.py", line 43, in
NLC_SERVICE = NaturalLanguageClassifierV1()
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\watson_developer_cloud\natural_language_classifier_v1.py", line 89, in init
use_vcap_services=True)
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\watson_developer_cloud\watson_service.py", line 275, in init
'You must specify your IAM api key or username and password service '
ValueError: You must specify your IAM api key or username and password service credentials (Note: these are different from your Bluemix id)
Thanks again...!:)

FYI I have updated the .env file with my current active API key credentials and I have also trained my model and the test model is working fine on IBM Watson Cloud but when I try to run locally it shows this error.

We were able to resolve the above issue but then again its showing this error. And moreover we try to access the local host 5000 on the browser it shows an internal sever error.

C:\Users\mohana.kalyan\Desktop\ibm5\nlc-icd10-classifier>python welcome45.py
yGXCJ9lTtugESSQit2tOm9KeUvTbY2troHQabB1MtDby

Serving Flask app "welcome45" (lazy loading)
Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
Debug mode: off
Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
[2019-02-20 11:23:09,271] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "welcome45.py", line 53, in Welcome
CLASSIFIER = _create_classifier()
File "welcome45.py", line 89, in _create_classifier
result = NLC_SERVICE.list_classifiers().get_result()
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\watson_developer_cloud\natural_language_classifier_v1.py", line 293, in list_classifiers
method='GET', url=url, headers=headers, accept_json=True)
File "C:\Users\mohana.kalyan\mytestenv\lib\site-packages\watson_developer_cloud\watson_service.py", line 490, in request
info=error_info, httpResponse=response)
watson_developer_cloud.watson_service.WatsonApiException: Error: Unauthorized: Access is denied due to invalid credentials , Code: 401 , X-dp-watson-tran-id: gateway02-2278045209 , X-global-transaction-id: ffea405d5c6ceb4587c83619
<IP_ADDRESS> - - [20/Feb/2019 11:23:09] "GET / HTTP/1.1" 500 -

Kindly help us find a solution We are stuck :(

@proCoder02 great to hear you got it working on our cloud.
The error indicates that the credentials are not correct. Can you paste you .env file? Remove or replace some of the characters in the api keys, please.

This is our .env file..
NATURAL_LANGUAGE_CLASSIFIER_USERNAME=<add_NLC_username>
NATURAL_LANGUAGE_CLASSIFIER_PASSWORD=<add_NLC_password>
NATURAL_LANGUAGE_CLASSIFIER_IAM_APIKEY=##############UvTbY2troHQabB1MtDby

@proCoder02 remove the first two lines, the ones about username and password

Tried doing that..
Having the same issue...

Working fine
Thank you....

thanks for the heads up


Pr/try redaction

Issue
Fixes #20
Add try it out sections to GKE demos
Changes
Contains changes required to allow users to pass custom telemetry data on which the redaction GKE sample would work.
Testing
Manually followed the instructions to make sure they can be followed to achieve the desired result.

(I updated your description to use the "Fixes" keyword to close the issue).


Fix bundle uploader trying to upload all packages

Previous PR didn't filter out to only package that needed to go in the playground so it crashed.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2843/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2843/


st7735s: Added brightness control though LED pin

-> Uses LED(Backlight) Pin as PWM to control the brightness
Signed-off-by: Rajssss<EMAIL_ADDRESS>

Hello @Rajssss
Thank you very much for you PR ! Backlight control is something that is needed by many users.
However, I don't like adding this feature to a specific display driver (ST7735S), because it is not specific to this driver, but rather common for (almost) all displays.
I'd like to carve-out the backlight control from our current code and create a component, that could be as simple as the code you pushed. But reusable for all displays.
Let me know what you think

Hello @Rajssss
Thank you very much for you PR ! Backlight control is something that is needed by many users.
However, I don't like adding this feature to a specific display driver (ST7735S), because it is not specific to this driver, but rather common for (almost) all displays.
I'd like to carve-out the backlight control from our current code and create a component, that could be as simple as the code you pushed. But reusable for all displays.
Let me know what you think

I agree, that will be the best, but I don't know about all other controllers supported by this project. But, If it's all about a backlight pin then it can be done, though right now I don't have any idea of a separate component. I will look into it, but not sure how much time it will take.

Best and future-proof solution would be to create new component esp_lcd_backlight.c/.h. So if you are willing to create it, that would be great.
If not, we can merge it as it is, and refactor the code in upcoming 2.0.0 refactoring #72

Best and future-proof solution would be to create new component esp_lcd_backlight.c/.h. So if you are willing to create it, that would be great.
If not, we can merge it as it is, and refactor the code in upcoming 2.0.0 refactoring #72

Ok, I will try to do that by this weekend.

@tore-espressif please review it, I have not edited the kconfig for now, is it required?

It seems to me it's going in the right direction, thanks @Rajssss, @tore-espressif do you think we need to add a choice with the different back-light control options? We could have:

no back-light control
on/off back-light control
pwm back-light control (this one)

It seems to me it's going in the right direction, thanks @Rajssss, @tore-espressif do you think we need to add a choice with the different back-light control options? We could have:
* no back-light control

* on/off back-light control

* pwm back-light control (this one)

I like the idea, but in a long run maybe, as we have to test different displays, maybe.

@Rajssss Thanks :)

LGTM!

The only missing thing seems to be the Kconfig. Apart from that, LGTM!

I like the idea, but in a long run maybe, I will see how much I can do this weekend

Understand. We can merge it with pwm only now and fine tune it later.

Thanks :)

Sorry for the late reply 😊

Oh, sorry, I forgot about this PR. We still need to add Kconfig option CONFIG_LV_ENABLE_BACKLIGHT_CONTROL.
I'll add it today


Allow to return final period with exacts deltas

Hi All,
Feature details
When planning tasks, it's common to define that a task spends all the
working day (i.e: 8 hours), so when computing the final date with a
business delta of all the working hours and the start of the day it's expected
to return the final period and not the next start period.
Have a look at the tests for some examples and let me know if something is not clear.
Implementation Discussion

By default the old behaviour is preserved, so I'm wondering if the new behaviour can be activated by default.
May the old behaviour considered as a bug and use the new behaviour by default?
Please feel free to propose better names for the variables

I added some basic testing, let me now if you think more exhaustive testing is required.
Let me know if you think that the case should be added to README.
Thanks in advance for your time.

The feature you describe makes sense to me. Originally, the idea was that the behavior of the Python datetime module for a 24 hour day is
>>> (datetime(2016, 1, 1, 0, 0, 0) + timedelta(seconds=60*60*24)).date()
datetime.date(2016, 1, 2)

If we define a business day to be 8 hours, I figured the behavior of this module should be
>>> (datetime.datetime(2016, 6, 17, 9, 0, 0) + businesstimedelta.BusinessTimeDelta(businesshrs, hours=8)).date()
datetime.date(2016, 6, 20)

But if you apply that logic to both adding and subtracting, this creates the incorrect behavior that
>>> (datetime.datetime(2016, 6, 17, 9, 0, 0) + \
     businesstimedelta.BusinessTimeDelta(businesshrs, hours=8) - \
     businesstimedelta.BusinessTimeDelta(businesshrs, hours=8)).date()
datetime.date(2016, 6, 16)

or even
>>> (datetime.datetime(2016, 6, 20, 9, 0, 0) - businesstimedelta.BusinessTimeDelta(businesshrs, hours=0)).date()
datetime.date(2016, 6, 17)

Therefore I think you are right, and that the default behavior should be changed. Thanks for the pull request. I've implemented a similar fix without the extra attribute in the module, and added the tests and readme in this branch.

ping!

I've added the test case and merged the branch into master. Thanks @pokoli!


connect metamask

motivation: use metamask's balances instead of topup to internal wallet

An alternative solution instead of support only Metamas is use this library which already build a modal with several web3 wallets: https://github.com/Web3Modal/web3modal

Test.

Clear storage
Go to #/exchange
Click "connect wallet"
In web3modal select metamask
Connect metamas
Check: i see the same adresses and balances on my  main page
Start swap ETH-BTC
Freeze ETH when it ask
Finish a swap
10.history in metamask show income transaction


Android builds from Export, Unity 2019.3.10f1, unityLibrary Could not find any firebase jar or aar

[REQUIRED] Please fill in the following fields:

Unity editor version: 2019.3.10f1
Firebase Unity SDK version: 6.16.0
Source you installed the SDK: UPM
Problematic Firebase Component: Firebase App, Analytics, Crashlytics, Instance ID, Messaging
Other Firebase Components in use: same as above
Additional SDKs you are using: Facebook, Braze, Helpshift
Platform you are using the Unity editor on: Windows
Platform you are targeting: Android
Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Install Firebase using Unity Package Manager.
Our build process includes exporting the android job, and then building from the export. The thing is that they could be on 2 different machines. I think what's happening is this line to get packages using the GeneratedLocalRepo isn't finding that folder anymore. Oddly enough the errors produced don't even show this folder as being searched.
def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
Errors
* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalRelease'.
> Could not resolve all task dependencies for configuration ':launcher:releaseRuntimeClasspath'.
   > Could not find com.google.firebase:firebase-analytics-unity:6.16.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-analytics-unity/6.16.0/firebase-analytics-unity-6.16.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-analytics-unity/6.16.0/firebase-analytics-unity-6.16.0.jar
       - https://jcenter.bintray.com/com/google/firebase/firebase-analytics-unity/6.16.0/firebase-analytics-unity-6.16.0.pom
       - https://jcenter.bintray.com/com/google/firebase/firebase-analytics-unity/6.16.0/firebase-analytics-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-analytics-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-analytics-unity.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.google.firebase:firebase-app-unity:6.16.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-app-unity/6.16.0/firebase-app-unity-6.16.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-app-unity/6.16.0/firebase-app-unity-6.16.0.jar
       - https://jcenter.bintray.com/com/google/firebase/firebase-app-unity/6.16.0/firebase-app-unity-6.16.0.pom
       - https://jcenter.bintray.com/com/google/firebase/firebase-app-unity/6.16.0/firebase-app-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-app-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-app-unity.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.google.firebase:firebase-crashlytics-unity:6.16.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-crashlytics-unity/6.16.0/firebase-crashlytics-unity-6.16.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-crashlytics-unity/6.16.0/firebase-crashlytics-unity-6.16.0.jar
       - https://jcenter.bintray.com/com/google/firebase/firebase-crashlytics-unity/6.16.0/firebase-crashlytics-unity-6.16.0.pom
       - https://jcenter.bintray.com/com/google/firebase/firebase-crashlytics-unity/6.16.0/firebase-crashlytics-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-crashlytics-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-crashlytics-unity.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.google.firebase:firebase-instance-id-unity:6.16.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-instance-id-unity/6.16.0/firebase-instance-id-unity-6.16.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-instance-id-unity/6.16.0/firebase-instance-id-unity-6.16.0.jar
       - https://jcenter.bintray.com/com/google/firebase/firebase-instance-id-unity/6.16.0/firebase-instance-id-unity-6.16.0.pom
       - https://jcenter.bintray.com/com/google/firebase/firebase-instance-id-unity/6.16.0/firebase-instance-id-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-instance-id-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-instance-id-unity.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.google.firebase:firebase-messaging-unity:6.16.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-messaging-unity/6.16.0/firebase-messaging-unity-6.16.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-messaging-unity/6.16.0/firebase-messaging-unity-6.16.0.jar
       - https://jcenter.bintray.com/com/google/firebase/firebase-messaging-unity/6.16.0/firebase-messaging-unity-6.16.0.pom
       - https://jcenter.bintray.com/com/google/firebase/firebase-messaging-unity/6.16.0/firebase-messaging-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-messaging-unity-6.16.0.jar
       - file:/private/var/gitlabrunner/buildbot1/workspace/builds/dPgRfzh4/0/projectName/client/projectName/Temp/gradleOut/unityLibrary/libs/firebase-messaging-unity.jar
     Required by:
         project :launcher > project :unityLibrary

mainTemplate.gradle
  repositories {
    google()
    jcenter()
  }

  dependencies {
    classpath 'com.android.tools.build:gradle:3.4.0'
  }
}

allprojects {
  repositories {
    mavenLocal()
    jcenter()
    flatDir {
      dirs 'libs'
    }
    google()
  }
}

// Android Resolver Repos Start
([rootProject] + (rootProject.subprojects as List)).each { project ->
    project.repositories {
        def unityProjectPath = $/file:///**DIR_UNITYPROJECT**/$.replace("\\", "/")
        maven {
            url "https://maven.google.com"
        }
        maven {
            url (unityProjectPath + "/Assets/GeneratedLocalRepo/Firebase/m2repository") // Packages/com.google.firebase.app/Firebase/Editor/AppDependencies.xml:22, Packages/com.google.firebase.messaging/Firebase/Editor/MessagingDependencies.xml:20, Packages/com.google.firebase.crashlytics/Firebase/Editor/CrashlyticsDependencies.xml:20, Packages/com.google.firebase.instance-id/Firebase/Editor/InstanceIdDependencies.xml:20, Packages/com.google.firebase.analytics/Firebase/Editor/AnalyticsDependencies.xml:18
        }
        mavenLocal()
        jcenter()
        mavenCentral()
    }
}
// Android Resolver Repos End
apply plugin: 'com.android.library'
**APPLY_PLUGINS**

dependencies {
    implementation 'com.google.android.gms:play-services-auth:16.0.1'
    implementation 'com.google.android.gms:play-services-gcm:16.0.0'
    implementation 'com.google.android.gms:play-services-identity:16.0.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'
    implementation 'com.google.android.gms:play-services-safetynet:16.0.0'
    implementation 'com.neovisionaries:nv-websocket-client:2.5'

    implementation fileTree(dir: 'libs', include: ['*.jar'])
// Android Resolver Dependencies Start
    implementation 'com.android.support:appcompat-v7:25.3.1'
    implementation 'com.android.support:cardview-v7:25.3.1'
    implementation 'com.android.support:cardview-v7:26.0.2'
    implementation 'com.android.support:customtabs:25.3.1'
    implementation 'com.android.support:design:26.0.2'
    implementation 'com.android.support:recyclerview-v7:26.0.2'
    implementation 'com.android.support:support-v4:25.3.1'
    implementation 'com.facebook.android:facebook-applinks:[6.2.0, 7)'
    implementation 'com.facebook.android:facebook-core:[6.2.0, 7)'
    implementation 'com.facebook.android:facebook-gamingservices:[6.2.0, 7)'
    implementation 'com.facebook.android:facebook-login:[6.2.0, 7)'
    implementation 'com.facebook.android:facebook-share:[6.2.0, 7)'
    implementation 'com.google.android.gms:play-services-base:17.4.0'
    implementation 'com.google.firebase:firebase-analytics:17.5.0'
    implementation 'com.google.firebase:firebase-analytics-unity:6.16.0'
    implementation 'com.google.firebase:firebase-app-unity:6.16.0'
    implementation 'com.google.firebase:firebase-common:19.3.1'
    implementation 'com.google.firebase:firebase-crashlytics:17.0.0'
    implementation 'com.google.firebase:firebase-crashlytics-unity:6.16.0'
    implementation 'com.google.firebase:firebase-iid:20.2.4'
    implementation 'com.google.firebase:firebase-instance-id-unity:6.16.0'
    implementation 'com.google.firebase:firebase-messaging:20.2.4'
    implementation 'com.google.firebase:firebase-messaging-unity:6.16.0'
    implementation 'com.parse.bolts:bolts-android:1.4.0'
// Android Resolver Dependencies End
**DEPS**}

//Exclude transitive dependencies that are already present as aar files
configurations {
  implementation.exclude group: 'com.android.installreferrer', module: 'installreferrer'
}

// Android Resolver Exclusions Start
android {
  packagingOptions {
      exclude ('/lib/armeabi/*' + '*')
      exclude ('/lib/mips/*' + '*')
      exclude ('/lib/mips64/*' + '*')
      exclude ('/lib/x86/*' + '*')
      exclude ('/lib/x86_64/*' + '*')
  }
}
// Android Resolver Exclusions End
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '**BUILDTOOLS**'

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    defaultConfig {
        minSdkVersion **MINSDKVERSION**
        targetSdkVersion **TARGETSDKVERSION**
        ndk {
            abiFilters **ABIFILTERS**
        }
        multiDexEnabled true
        versionCode **VERSIONCODE**
        versionName '**VERSIONNAME**'
        consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
    }

    lintOptions {
        abortOnError false
    }

    aaptOptions {
        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
    }**PACKAGING_OPTIONS**
}**REPOSITORIES****SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**

Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
I have not tried just a blank quickstart project of firebase on our build machines, but I have tried a blank project running locally with Firebase and doing unity's "Build and Run" to device works fine.
What's the issue repro rate? (eg 100%, 1/5 etc)
5/5 on build machines
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

Same here on Unity 2019.2.21f

I unchecked the "patch mainTemplate.gradle" and now everything Resolves into the Plugins/Android/ folder and got this to work.
The setting is in the Android Resolver Settings in Unity.


Features/robot

Integrate Kuka, Suture Tool and OCT
Add first cut of Robot package documentation

Merging.


Add related canonical visualization to vis endpoint

In order to create the static public_map view, we need to have the related_canonical_visualization information for the "Datasets in use". We have thought that the best option is to add a parameter to the request to add this data (endpoint example: http://username.localhost.lan:3000/api/v1/viz/viz-id)

Datasets in use (public_map): https://github.com/CartoDB/cartodb/blob/master/app/views/admin/visualizations/public_map.html.erb#L182
Visualizations Controller https://github.com/CartoDB/cartodb/blob/master/app/controllers/admin/visualizations_controller.rb#L274

Implementation note: keep in mind that related canonical visualization list should be optional, and that the entries should probably have the same structure than the requested visualization.


Skip download-collections tests on Windows

hca dss download-collections relies on hca.dss.download_manifest, which currently is not tested on Windows, causing Windows tests for #351 to fail. (I didn't catch that, sorry...)
This PR skips download-collections unit tests in the same way that download_manifest unit tests are skipped.

(And confirmed passing on Allspark.)

Codecov Report

Merging #393 into master will increase coverage by 0.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   84.67%   85.43%   +0.76%
==========================================
  Files          39       39
  Lines        1840     1840
==========================================
+ Hits         1558     1572      +14
+ Misses        282      268      -14

Impacted Files
Coverage Δ

hca/util/__init__.py
86.36% <0%> (+0.8%)
:arrow_up:

hca/upload/lib/api_client.py
96.1% <0%> (+2.59%)
:arrow_up:

hca/util/pool.py
90.9% <0%> (+3.03%)
:arrow_up:

hca/util/compat.py
95.45% <0%> (+36.36%)
: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 7847a6a...3527c49. Read the comment docs.


fixed Originating Identity example

The decoded value of the Originating Identity example also contains a "user_name" entry.

LGTM

hmm the example is a CF one, so perhaps we need to drop that user_name field from the encoding?  Does CF have a user_name field?

@duglin Not according to the profiles (and not that I know of!)

@mattmcneeney If you decode the base64 string that is in the spec today, the JSON contains the field "user_name". We could either don't touch the base64 string and use "user_name" or we change the  base64 string and JSON to something else.

Interesting @fmui - I didn't know that! Can we use this PR to add that to the profile doc as well?

It looks like the docs are wrong to me @fmui. At least in CC we only send user_id. So decodes to:
{
  "user_id": "683ea748-3092-4ff4-b656-39cacc4d5360",
}

So it looks like the base64 hash is infact wrong.

I've changed the base64 strings.

LGTM

lgtm


Support jre-skipped in Build Plan

Allow libjvm based buildpacks to be required by other buildpacks that also insist the JDK is provided at runtime instead of a JRE.
fixes #378
Summary
Reads the metadata of the buildplan to see if jre-skipped is required.
Use Cases
The main use-case is where a "frontend" buildpack needs to determine whether a JDK is required at runtime or not.
Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

We no-longer need this.


Support preset files for CMake 3.19

For portability and easier configurability it would be great if the extensions supports an external configuration file like CMakeSettings.json. If it employs the same format this will enable easy switching between VS Code and VS2017. Also CMakeSettings.json can be committed to a version control system as it is a portable configuration file.

Thanks for the suggestion! I'll take a look.

Are there any updates on this?

I support this feature request. I work in a very diverse team, with some members on Windows with VS 2019, others on Linux with VS Code. Having both IDE use the same CMakeSettings.json would be great. It would help with cross-platform compatibility, since both Windows (VisualStudio 2019) and Linux (VS Code) would compile the code with the same configurations and we would have only one file to maintain.

I have an additional proposal to this:
It should be possible to tie a build configuration defined in CMakeSettings.json to a specific launch configuration defined in launch.vs.json.

Just to voice my annoying opinion again. I had just to setup a few CMake variables via the settings UI. It is annoying, wasn't very easy to find and it definitely was buggy. Maybe it would make sense to have a separate UI for setting CMake arguments but CMakeSettings.json support would be even better to support different configurations with different/conflicting settings.

Is the concept of CMake Variants  cmake-tools' way of implementing a mechanism similar to CMakeSettings.json?  Or are variants quite different?

I see this issue is now "On Deck" 😄
Looking forward to it!

Note that CMake 3.19 is adding an alternative to CMakeSettings.json as an official part of CMake itself, see https://gitlab.kitware.com/cmake/cmake/-/issues/21164
Comments on that issue indicate that VS proper is planning to move to supporting the new CMakePresets.json designed in that issue as a replacement for CMakeSettings.json. It hence probably makes sense to skip adding anything for the extant VS file format and just support the new format.
The new format is also being documented in CMake as a suggested IDE/tools integration point, as per https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5298

@seanmiddleditch Thanks for making this point! It makes a perfect sense!

CMake Tools 1.7.0 was released today and it contains support for this feature. Upgrade the extension in VSCode and let us know if you encounter any problems.


urn-timer: init at unstable-2017-08-20

Motivation for this change
There are no speedrunning timers in nixpkgs
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Without a split file the program will only show a file dialog. If you want to test this, use this file: https://github.com/3snowp7im/urn/blob/master/splits/sotn.json

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/creating-derivation-for-urn-a-split-tracker-for-speedrunning/8987/9

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/creating-derivation-for-urn-a-split-tracker-for-speedrunning/8987/9

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108953 run on x86_64-linux 1

1 package built:

urn-timer

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108953 run on x86_64-linux 1

1 package built:

urn-timer


added routeNotificationFor on demand notifications

Enable on demand notification  https://laravel.com/docs/5.5/notifications#on-demand-notifications

Hi @LiewJunTung appreciate this pull request. However, please squash into one commit and then check your code style by following styleci recommendations here: https://styleci.io/analyses/8jd5YL

Very well, done. 😄


Check location provider

How can I check location provider to consider only GPS location provider?
Is there some variable to check location provider like in this lib https://www.npmjs.com/package/cordova-plugin-advanced-geolocation ?

No, unfortunately there's no way to check whether the GPS data is coming from cell / wifi / etc.
You can be pretty sure if you set the desiredAccuracy to 0 that you'll be getting data from the GPS chip.


Expand the pipenv resolver to be more customizable for what python version is specified and how markers should evaluate.

I am exploring how the resolver determines what python version its using and what markers to evaluate against.
The issue
Fixes #5908
The fix
Adds another reserved named category for pipenv and a patch to packaging, that allows overriding any of the default environment keys.   Additionally, support ranges for python_version and python_full_version and a python key to specify the base package finder python version to use for the resolver.
In my example, I've added these constraints to our Pipfile to show that I can resolve the requirements that require python 3.7 using a python 3.11 version.
Also explore allowing multiple operating system markers to resolve.
Note:  This branch started as me removing some unused code based on a coverage report and some extra analysis.
The checklist

[X] Associated issue
[ ] A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

Might revisit later on.


Implementation of ZText (SDF-based fonts) and overlay handling in RendeQuTor

See examples/textExampleSDF/main.js
Contains contributions from Waad, Alja and Matevz. Squashed to avoid adding of extra font files in the repo (and avoid 18 commits).

Waad: initial implementation & tuning.
Alja: integration with REve.
Matevz: final cleanup, loading of fonts & font metrics.

Full set of commits available in https://github.com/alja/RenderCore/tree/master-dec24-1450
For font generation use this (see mk_fonts.sh, gzip -9 the json font-metrics).
https://github.com/osschar/sdf_atlas

@ss4774 I'm currently testing integration to REve.

I like the results! Let me know when the code will be ready for a merge.

Yes, almost there :)

This is how it looks in REve demo with the latest commit ... added support for backpanel and frame.
I think I'm getting close ... have tons of ideas now but there are also other things I have to get back to :)

This is ready to go ... we might have some more things later, like implementation of mixed mode: position in world-coordinates, size in screen units.

Merging the pull request.


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit 9de2949:
:clock10: Pending: waiting for processors (31 builds ahead of you)
:warning: Docs Build is busy, currently there are 31 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 9de2949:
:clock10: Full build: the average full build time is 7 min(s) 18 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 9de2949:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

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


Don't reschedule unmuted actors with no work

@Praetonus the way to test this would be using the message-bench example and run it for a long time and make sure it doesn't deadlock. @slfritchie do you remember the few sets of options we used when testing?

@Praetonus @SeanTAllen Sorry I wasn't paying attention to the question.  I've created a gist that has some probably-useful examples, see  https://gist.github.com/slfritchie/0f23ef857dca5a9c3faaf0c046e11009

Is this still something you want to pursue, @Praetonus? If so, what's the next step?

I need to test this change.

Testing is looking good so far.

Starting to feel pretty good about this.


[BUG] torchrl doesn't support minigrid gymnasium environments

I am trying to parallelize FourRooms minigrid environment using torchrl. Following is my code:
class MinigridGymWrapper(GymWrapper):
    """FARAMA Minigrid environment wrapper."""

    git_url = "https://github.com/Farama-Foundation/Minigrid"
    libname = "minigrid"

    _make_specs = set_gym_backend("gymnasium")(GymEnv._make_specs)

with set_gym_backend(gym):
    assert gym_backend() == gym
    print(gym_backend())
    gym_env = MinigridGymWrapper(gym.make("BabyAI-KeyCorridorS6R3-v0"))

I get the following output with error:
<module 'gymnasium' from '/usr/local/lib/python3.10/dist-packages/gymnasium/__init__.py'>

[/usr/local/lib/python3.10/dist-packages/torchrl/envs/libs/gym.py](https://localhost:8080/#) in _gym_to_torchrl_spec_transform(spec, dtype, device, categorical_action_encoding)
    264         )
    265     else:
--> 266         raise NotImplementedError(
    267             f"spec of type {type(spec).__name__} is currently unaccounted for"
    268         )

NotImplementedError: spec of type BabyAIMissionSpace is currently unaccounted for

Interesting, what is a BabyAIMissionSpace exactly?
Seems like something quite custom no?

It is part of Minigrid environments (https://minigrid.farama.org/environments/babyai/)

@kbkartik were you able to get MiniGrid to work with torch_rl.


[FEATURE_REQUEST] Bing image of the day

Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
A widget of the same style as "Astronomy picture of the day" but with Bing images.
To extract the image we need to call:
https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US
Then cat urlbase + url from the JSON
Details at https://stackoverflow.com/questions/10639914/is-there-a-way-to-get-bings-photo-of-the-day
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
No

    Is there a way to get Bing's photo of the day?   Is there some way I could get the Bing background image programmatically?
Bing's API doesn't seem to provide such functionality, perhaps there's another way?

Hiya @k-rol
I'm not sure if there'd be enough interest in this for me to build a dedicated Bing image widget.
But you should be able to do this with the Image Widget, all you'll need is a URL that serves up the raw image.
For reference this is the service I built to do that for APOD, it will likely be very similar: github.com/lissy93/go-apod
Looks like this project already does what you need, in the form of a GH action. So maybe something like this could work:
widgets:
- type: image
  options:
    imagePath<EMAIL_ADDRESS>
Or, you might be able to use the RSS Widget, with Bing's rss feed. Or build your own simple widget for the Embeded widget, or build a simple web page, and use it with the iframe widget. If none of those options work for you, you can build your own widget very similar to the APOD widget use that.

Hey @Lissy93!
You could have done a mic drop after this.
I'm amazed that you gave me 5 good solutions.
The first one using the image widget worked straight out.
You also made me realize I didn't know GitHub actions, I've got some learning to do...
thank you very much!

Ha ha, well I'm glad one of them worked! :)
Oh yeah, GitHub actions is so cool, you can have a lot of fun automating all kinds of stuff!


Checkout UI: Cannot call 'applyMetafieldChange()' on target 'purchase.checkout.delivery-address.render-after'.

Please list the package(s) involved in the issue, and include the version you are using
@shopify/ui-extensions: "^2023.10.0",
@shopify/ui-extensions-react: "^2023.10.0",
Describe the bug
It seems calling the apply metafield hook on the new purchase.checkout.delivery-address.render-after target does not work? Is this expected or just a bug?
Steps to reproduce the behavior:

Mount an extension to the 'purchase.checkout.delivery-address.render-after' target
Call applyMetafieldChange
A console error will happen

Expected behavior
Same behavior as 'purchase.checkout.delivery-address.render-before'
Additional context

We've pushed out a fix for this – please let us know if you see any other weird behaviour


Included SQL to return unique constraints for Sybase

Impact

[x] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Adjusted return SQL for Sybase unique constraints used in snapshot.
Formated SybaseDatabaseTest.groovy
Included SybaseDatabaseTest.java for basic tests over SybaseDatabase class.

Things to be aware of

Followed the documentation on SAP Infocenter (version 16.0 but works for all versions of SAP Sybase ASE).

Things to worry about

I didn't found tests nor did I created new ones to cover this change.

Additional Context

I found the TODO when I tried to use db-doc command in CLI Liquibase.
The new URL prefix is for use with jconn4.jar (JDBC driver provided by SAP for Sybase ASE).

@filipelautert, this PR was not merged correctly. I updated Liquibase to version 4.19 and I'm getting the error:
Unexpected error running Liquibase: Error executing SQL select CONSTRAINT_NAME, COLUMN_LIST as COLUMN_NAME, constraint_schema as CONSTRAINT_CONTAINER from information_schema.constraints where constraint_type='UNIQUE' and constraint_catalog='XXXXX' and constraint_schema='dbo' and table_name='XXXXX' and constraint_name='XXXXX': information_schema.constraints not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).

I changed the object names to XXXXX for privecy.
So I went to check the file JdbcDatabaseSnapshot.java and the changes were gone, event the } else if (database instanceof SybaseDatabase) { line is not there.
Do I need to open a new PR?

@filipelautert, this PR was not merged correctly. I updated Liquibase to version 4.19 and I'm getting the error:
Unexpected error running Liquibase: Error executing SQL select CONSTRAINT_NAME, COLUMN_LIST as COLUMN_NAME, constraint_schema as CONSTRAINT_CONTAINER from information_schema.constraints where constraint_type='UNIQUE' and constraint_catalog='XXXXX' and constraint_schema='dbo' and table_name='XXXXX' and constraint_name='XXXXX': information_schema.constraints not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).

I changed the object names to XXXXX for privacy.
So I went to check the file JdbcDatabaseSnapshot.java and the changes were gone, event the } else if (database instanceof SybaseDatabase) { line is not there.
Do I need to open a new PR?

Hi @crenan, I looked at this in master. And it seems to be in the same way it was originally in the PR. Can you please look at this PR and confirm whether this is what you are expecting for this case or not?

Thanks,
Daniel.

Hi @MalloD12.
Sorry, my mistake.
I found that the error I mentioned occurs in UniqueConstraintSnapshotGenerator file.
In this file, there is a custom SQL only for Sybase ASA. As I'm using Sybase ASE, the code falls in the general handler (line 375).
I'll try to fix this error as soon as possible in another PR.
Best regards.

Hi @MalloD12.
Sorry, my mistake. I found that the error I mentioned occurs in UniqueConstraintSnapshotGenerator file. In this file, there is a custom SQL only for Sybase ASA. As I'm using Sybase ASE, the code falls in the general handler (line 375).
I'll try to fix this error as soon as possible in another PR. Best regards.

No worries, thank you!

Thanks @crenan , once you have the new PR ready let us know and we will try to handle it quickly to get into the next release.

Thanks @crenan , once you have the new PR ready let us know and we will try to handle it quickly to get into the next release.

Hi @filipelautert. Here is the PR for the fix (https://github.com/liquibase/liquibase/pull/3911).
Sorry for taking so long.

Thanks!


soroban-rpc: create grafana dashboard

What ?
The goal of this task is to create a grafana dashboard that would give us monitoring capabilities of the deployed servers.

The dashboard has been updated to show the relevant metrics - https://grafana.stellar-ops.com/d/ut9rEquVz/soroban-rpc?orgId=1
Ops will figure out how to publish it to public Grafana this week. And the JSON has already been added to puppet - https://github.com/stellar/puppet-v4/pull/3694


Fix error in "install dependencies" section of the Gulp handbook

As described in issue #572:

The Gulp handbook states that the user should "install TypeScript and gulp globally." However, the associated code example installs the gulp-cli package globally (and nothing else).

Fixes #572

thanks!

You're welcome. I'm happy to help.


Support comments and empty lines

Currently hapistrano will fail if there are comments in the building files. The same will happen with empty lines.
This should be a enhancement since sometimes it's better to have comments and empty lines that make easier the reading. This is related to how we pass the lines arguments to the buildRelease function
buildRelease :: Release  -- ^ The Release to build
             -> [String] -- ^ Commands to be run. List intercalated
                         -- with "&&" so that failure aborts the
                         -- sequence.
             -> Hapistrano ()
buildRelease rel commands = do
  conf <- ask
  let cdCmd = "cd " ++ releasePath conf rel
  void $ runCommand (host conf) $ intercalate " && " $ cdCmd : commands

Resolved via #44.


resolve all eslint issues

I was thinking about adding a commit hook plugged into eslint
that may be the way to go, for now I've added a test that
should cover all of our generator code to make sure the
style is conformant.
resolves #45

Coverage decreased (-0.09%) to 89.316% when pulling e8e47bd621fc7f785d672fd22bbd6f9ad418e5ee on feature-eslint-fixes into bde10db4ef4203f4e8e59d9977cf97c2366b2e42 on master.

Coverage decreased (-0.09%) to 89.322% when pulling 4f2df272ddf4fa5bc6b042261b45695fcdbb77cb on feature-eslint-fixes into 9c22f0c57ee98ef660e04c833998776739be266c on master.


Merge Development branch to Main

Moving code in development to main.

Pushing 142 files at once is not a great idea, but that's how many changes we did to the Development branch in the last one and a half months!
Before I merge this, I want to ask each developer of each scenario (or whatever part was your responsibility) to go over the code and make sure that everything is in place. It is important because as I can see now, some of the developers pushed their code to main while others did so to development branches, and there is a very high risk of getting things wrong at this stage. When there are so many changes done it is impossible to go through all of them for one or two people.

With the latest changes of this branch, every scenario is working smoothly! Moreover, the PyPI package is running with the default machines. There might be some changes like the storage that aren't yet in this PR.

we will hold on this for a bit to allow testing the client against the new backend dev-infrastructure (whose deployment is in progress)


In this repository

Fixed
https://github.com/ntaranov/continuous-integration-team-scenarios-template/commit/b1e006b473bbcaee42be3eaf56419eafb133199f


/show/:id doesn't accept underscores in :id

Such a trivial bug.
Emergency bugfix deployed in stagingB, should be out this or next week.

This actually happens in pretty much every handler, including the API ones.

Should be fixed in b9fdb9d.


Cooldown planner

Hi.
Is posible that potion planner recognize others level of potions?
at the moment only work with lvl 8 HQ pots, that happens in the war configuration.

Nope, currently the potions to use are hardcoded. I don't really see a value in supporting old potions (and it's an extra complexity), is there one?


chore: bump go version to 1.19

What this PR does / why we need it:
Fixes https://github.com/Kong/gateway-operator/issues/129
Which issue this PR fixes
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect significant changes

This has already been done in https://github.com/Kong/gateway-operator/pull/145. Forgot to mention that it closes #129 it seems.


how to serve this model?

You can use the reward model as follows.
  from transformers import AutoTokenizer, pipeline
  rm_tokenizer = AutoTokenizer.from_pretrained("weqweasdas/RM-Mistral-7B")
  device = 0 # accelerator.device
  rm_pipe = pipeline(
      "sentiment-analysis",
      model="weqweasdas/RM-Mistral-7B",
      #device="auto",
      device=device,
      tokenizer=rm_tokenizer,
      model_kwargs={"torch_dtype": torch.bfloat16}
  )

  pipe_kwargs = {
      "return_all_scores": True,
      "function_to_apply": "none",
      "batch_size": 1
  }

  chat = [
   {"role": "user", "content": "Hello, how are you?"},
   {"role": "assistant", "content": "I'm doing great. How can I help you today?"},
   {"role": "user", "content": "I'd like to show off how chat templating works!"},
   {"role": "assistant", "content": "Can you explain more?"},
  ]

  test_texts = [tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=False).replace(tokenizer.bos_token, "")]
  pipe_outputs = rm_pipe(test_texts, **pipe_kwargs)
  rewards = [output[0]["score"] for output in pipe_outputs]


[web] TextField doesn't accept input after it is submitted even though it retains focus

I haven't checked if this also occurs on other platforms as well.
The same thing also happens with typing new characters and not only with selecting text.
Steps to Reproduce

Execute flutter run -d chrome on the code sample
Type something into the text field.
Press ctrl+a to see that all the text in the field gets selected.
Click into the text field to de-select the text
Hit enter to submit the field.
Press ctrl+a again.

Expected results: The text should be selected again.
Actual results: The text doesn't get selected, but the text field is still focused so it should just select the text. When clicking into the text field again and then pressing ctrl+a again, it works just fine.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: HomePage(),
      );
}

class HomePage extends StatelessWidget {
  HomePage({Key? key}) : super(key: key);

  final _focusNode = FocusNode();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TextField(
        focusNode: _focusNode,
        onSubmitted: (_) {
          _focusNode.requestFocus();
        },
      ),
    );
  }
}

Not only ctrl+a is affected. Also just entering text is bugged.
Steps to Reproduce

Execute flutter run -d chrome on the code sample
Type "foo" into the text field.
Hit enter to submit the field.
Type "bar".

Expected results: The textfield should contain "foobar".
Actual results: The textfield only contains "foo", but the text field is still focused (the cursor is visible) so it should have added "bar" as well.

@danagbemava-nc It is exactly the same scenario. It's just that I didn't describe the text editing issue completely. Basically: Although the text field is focused, keyboard actions are not working (e.g. text selection or appending characters).
[✓] Flutter (Channel master, 2.9.0-1.0.pre.129, on Arch Linux 5.15.10-arch1-1, locale C)
    • Flutter version 2.9.0-1.0.pre.129 at /home/work/flutter
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 6ba2f526a4 (3 days ago), 2021-12-17 18:09:14 -0800
    • Engine revision 1db3b8333f
    • Dart version 2.16.0 (build 2.16.0-120.0.dev)
    • DevTools version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/work/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/work/Android/Sdk
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.1+12-39)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 13.0.0
    • cmake version 3.22.1
    • ninja version 1.10.2
    • pkg-config version 1.8.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/work/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.5457.46
    • Flutter plugin version 62.0.3
    • Dart plugin version 212.5632

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Arch Linux 5.15.10-arch1-1
    • Chrome (web)    • chrome • web-javascript • Chromium 96.0.4664.110 Arch Linux

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Issue is reproducible on latest stable and master.
Observations

This works as expected on 2.5.3
Same as https://github.com/flutter/flutter/issues/95553#issuecomment-997801268
Same as https://github.com/flutter/flutter/issues/95553#issue-1084600008
After submitting the text, no input is captured again unless the TextField is exited and refocused
Appears to be a web-only issue as macOS works just fine, tested with latest stable and master.

videos

2.5.3
2.8.1 & master

macOS
https://user-images.githubusercontent.com/88313112/146884120-00fa0998-bf7d-4543-92a8-4ce60caeb064.mov

flutter doctor -v
[✓] Flutter (Channel unknown, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter_rc/flutter
    • Upstream repository unknown
    • Framework revision 18116933e7 (10 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1788:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:199:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:200:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:304:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1274:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:92:3)
      <asynchronous suspension>

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.110

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 2.8.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1428:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1863:10)
      #15     runZonedGuarded (dart:async/zone.dart:1851:12)
      #16     runZoned (dart:async/zone.dart:1782:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.110

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.9.0-1.0.pre.143, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.143 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6f655d0d18 (2 hours ago), 2021-12-20 23:59:15 -0500
    • Engine revision 7a89a5e414
    • Dart version 2.16.0 (build 2.16.0-122.0.dev)
    • DevTools version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 96.0.4664.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

cc @mdebbar

I just noticed that the problem only happens when the text field is submitted by hitting enter, but not when the text field is submitted by clicking on a submit button (the code sample for this issue doesn't have a submit button, but I have a submit button in the duplicate issue I reported). Perhaps the important difference between these two cases is that when the submit button is clicked, the focus switches from the text field to the button momentarily.

I encountered this issue myself. I added the following workaround to the onSubmitted method to fix it (Flutter version 2.10.4)
// _focusNode.requestFocus();
WidgetsBinding.instance
    ?.addPostFrameCallback((_) => _focusNode.requestFocus());

I'm seeing this issue in web. Is there any resolution for this issue? Or maybe a workaround?

I am having this issue as well.

I'm also having this issue.

I encountered the same issue when coding FriendlyChat example.
But I found a workaround:
wrap the _focusNode.requestFocus(); inside a delay
that is
Future.delayed(const Duration(milliseconds: 10), () {
  _focusNode.requestFocus();
});

It works for me when running in chrome.

I am having this issue with Flutter 3. Anyone found a solution or workaround?

I am having this issue with Flutter 3. Anyone found a solution or workaround?

previous comment's solution works fine: https://github.com/flutter/flutter/issues/95553#issuecomment-1120141268

I'm having a same issue and tried https://github.com/flutter/flutter/issues/95553#issuecomment-1120141268 but didn't work for me.

I have the same problem.
I have an application with various forms with textfields. In each form i noted that when i use tab button to switch fields, focus disappear from the fields and goes i dont know where.
I tried to use Focus widget to see if on tab the focus change, and it doesn't (only when the focus return to the first field, Focus return me that it is changed)
Someone could help me? Thanks you
This is a snippet of Login form
`Focus(
onFocusChange: ((value) => print("focus is changed")),
child: Column(
children: [
Semantics(
value: "Email",
child: TextFormField(
key: Key("Email"),
validator: (value) => emailValidator(value),
controller: _emailController,
                        ),
                      ),
                      const SizedBox(height: 20),
                      Semantics(
                        value: "Password",
                        child: TextFormField(
                          key: Key("Password"),
                          validator: (value) =>
                              formRequiredValidation("password", value),
                          textInputAction: TextInputAction.done,
                          obscureText: _isTypePassword,
                          controller: _passwordController,
                          onChanged: (value) {
                            setState(() {});
                          },
                          onFieldSubmitted: (String value) => _onSubmit(),

                        ),
                      ),
                      const SizedBox(height: 20),
                      SizedBox(
                        width: double.infinity,
                        height: 45,
                        child: ElevatedButton(
                          key: Key("Accedi"),
                          onPressed: _onSubmit,
                          child: const Text(
                            "ACCEDI",

                          ),
                        ),
                      ),
                      const SizedBox(height: 20),
                      GestureDetector(
                        onTap: () {},
                        child: Text(
                          "Hai dimenticato la password?",
                          style: TextStyle(
                              color: Theme.of(context).primaryColor),
                        ),
                      ),
                      const SizedBox(height: 20),
                      GestureDetector(
                        onTap: () {},
                        child: Text(
                          "Non sei ancora registrato?",
                          style: TextStyle(
                              color: Theme.of(context).primaryColor),
                        ),
                      ),
                    ],
                  ),
                ),

`
I am attaching a gift with the unwanted behavior.

I just tried this code sample (from the issue description):
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => MaterialApp(
        home: HomePage(),
      );
}

class HomePage extends StatelessWidget {
  HomePage({Key? key}) : super(key: key);

  final _focusNode = FocusNode();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: TextField(
        focusNode: _focusNode,
        onSubmitted: (_) {
          _focusNode.requestFocus();
        },
      ),
    );
  }
}

and I didn't see any issues. If someone is still having the same issue, please provide more details so I can investigate. If you are having a different issue, please file a new issue.

For my case, I found the root cause was the script which intend to run Flutter App in the index.html file. I update the script as below and everything worked fine:
<script>
    window.addEventListener('load', function(ev) {
        var loading = document.querySelector('#loading');
        loading.textContent = "Loading entrypoint...";
        _flutter.loader.loadEntrypoint({
          serviceWorker: {
            serviceWorkerVersion: serviceWorkerVersion,
          },
          onEntrypointLoaded: async function(engineInitializer) {
            loading.textContent = "Initializing engine...";
            let appRunner = await engineInitializer.initializeEngine();

            loading.textContent = "Running app...";
            await appRunner.runApp();
          }
        });
      });
  </script>

I ran into this bug in reactive_forms while implementing a growing ReactiveFormArray. In my case the focused TextField widget would rebuild as new fields were added. After the rebuild TextField regains focus automatically even though the cursor inside the TextField is missing and no text input is possible even though hasFocus = true.
The workaround in my case was to first unfocus the TextField before requesting focus with a small time delay.
_focusNode.unfocus();

Future.delayed(const Duration(milliseconds: 5), () {
 _focusNode.requestFocus();

});

I am getting same issue, everywhere where I use TextField, after Navigator.pop the keyboard is not opening, the FocusNode requestFocus function is not helping too even with Future.delayed.


Unable to download maven

https://artifactory.2gis.dev/sdk-maven-release throws 504 status code while building the app

Hi!
I built the app a minute ago and everything worked fine. The repository had been cloned from scratch.
According to our monitoring maven backend works fine as well.
So we need more information to help you. Otherwise, I see the case is not reproducible

seems like problem solved by itself


Level.destroyBlock doesn't work

Level.destroyBlock doesn't work. I put Level.destroyBlock(x,y,z,false); but still drops the block. Fix it please.

Just place air.

Fixed in latest beta.


pkg/bpf: add sync.Mutex to Map type

Utilize lock for all map operations to serialise access since the system calls do not do this on their own.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

I will check to see if there is locking code that can be removed now that we have it integrated into the map itself.

I went through the existing code that uses the map functions (e.g., loadbalancer.go), and the locks that cover a lot of the calls (Dump, Add, etc.) are needed for other constructs besides the BPF map itself, so I did not find any that could be removed.

What about pkg/maps/lxcmap/lxcmap.go:L37? Do we still need that lock?

We won't need that lock once we convert lxcmap to use the pkg/bpf/map.go map interface. Currently the calls to update the maps are to UpdateElement, DeleteElement, etc. which do not have synchronization, while the map interface functions (Update, Delete) lock the map and call the UpdateElement and DeleteElement functions. So until #357 is merged we cannot remove this mutex.


ProvisioningPolygon missing Layer Indicator from the GIS Data layers registry table

Hello,
I am looking at the nena-sta-006.2-2022_ng9-1-1.pdf and came across a small issue.
The ProvisioningPolygon is one of the required features in the NG9-1-1 GIS Data Model and has the NGUID field required.
The abovementioned document should provide, on page 82, a value for this dataset in the Layer Indicator column but the table does not contain an entry for this dataset.
Please advise what is the appropriate Layer Indicator value for the ProvisioningPolygon.
Thank you.
Regards,
Cristina Cristea
<EMAIL_ADDRESS>

Cristina,
Excellent catch! You are correct. I can verify that the ProvisioningBoundary layer is not defined in Section 7.2 "GIS Data Layers" Registry of NENA-STA-006.2-2022.
I have passed forwarded this question for an official response and addition to the Errata of the upcoming NENA-STA-006.2a. In the meantime, I would guess that it would most likely be something like "Prov" which follows the Layer Name Indicator convention, but that is an unofficial response until I receive further direction.
-Tom

Thanks Tom.
Sounds good.
I will probably get the official answer in a short while (seeing how fast I got your answer).
Best regards,
Cristina
Cristina Cristea
Geospatial Analyst
Geospatial Business Solutions
Collaboration, Analytics & Innovation
The City of Calgary | Mail Code #8026
P.O. Box 2100, Station M, Calgary, AB Canada T2P 2M5
E<EMAIL_ADDRESS>C:<PHONE_NUMBER>
From: Tom Neer @.>
Sent: Thursday, March 2, 2023 10:38 AM
To: NENA911/NG911GISDataModel @.>
Cc: Cristea, Cristina @.>; Author @.>
Subject: [External] Re: [NENA911/NG911GISDataModel] ProvisioningPolygon missing Layer Indicator from the GIS Data layers registry table (Issue #66)
Cristina, Excellent catch! You are correct. I can verify that the ProvisioningBoundary layer is not defined in Section 7. 2 "GIS Data Layers" Registry of NENA-STA-006. 2-2022. I have passed forwarded this question for an official response and
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ATTENTION: Do not click links or open attachments from external senders unless you are certain it is safe to do so. Please forward suspicious/concerning email to<EMAIL_ADDRESS>ZjQcmQRYFpfptBannerEnd
Cristina,
Excellent catch! You are correct. I can verify that the ProvisioningBoundary layer is not defined in Section 7.2 "GIS Data Layers" Registry of NENA-STA-006.2-2022https://urldefense.com/v3/__https:/cdn.ymaws.com/www.nena.org/resource/resmgr/standards/nena-sta-006.2-2022_ng9-1-1_.pdf__;!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21VrtNyH_$.
I have passed forwarded this question for an official response and addition to the Errata of the upcoming NENA-STA-006.2a. In the meantime, I would guess that it would most likely be something like "Prov" which follows the Layer Name Indicator convention, but that is an unofficial response until I receive further direction.
-Tom
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/NENA911/NG911GISDataModel/issues/66*issuecomment-1452258697__;Iw!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21V5oTQKX$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A6HOYCSMV24HWLFJHAC3SM3W2DLG5ANCNFSM6AAAAAAVNU6PQM__;!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21auYHXrs$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.

Hi Tom,
If you don’t mind, I would like to ask you a question in regards to the Street Name Post types available for the RaodCenterLine feature.
Looking at the provided documentation - http://technet.nena.org/nrs/registry/StreetNamePreTypesAndStreetNamePostTyp, I can see that we- The City of Calgary, have a couple of names that are not in this list:

Parade
Link
Villas – this could be a variation of Villa, which is already in the table.
Is there a way that the reference material and the provided list could be updated with the missing values?
If your answer is ‘YES’, what do we need to do to have the above mentioned types added to the list?
If the answer is ‘No’, how do we deal with the roads that have these values to be able to add them in the GDB?
Thank you very much.
Best regards,
Cristina

Cristina Cristea
Geospatial Analyst
Geospatial Business Solutions
Collaboration, Analytics & Innovation
The City of Calgary | Mail Code #8026
P.O. Box 2100, Station M, Calgary, AB Canada T2P 2M5
E<EMAIL_ADDRESS>C:<PHONE_NUMBER>
From: Tom Neer @.>
Sent: Thursday, March 2, 2023 10:38 AM
To: NENA911/NG911GISDataModel @.>
Cc: Cristea, Cristina @.>; Author @.>
Subject: [External] Re: [NENA911/NG911GISDataModel] ProvisioningPolygon missing Layer Indicator from the GIS Data layers registry table (Issue #66)
Cristina, Excellent catch! You are correct. I can verify that the ProvisioningBoundary layer is not defined in Section 7. 2 "GIS Data Layers" Registry of NENA-STA-006. 2-2022. I have passed forwarded this question for an official response and
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ATTENTION: Do not click links or open attachments from external senders unless you are certain it is safe to do so. Please forward suspicious/concerning email to<EMAIL_ADDRESS>ZjQcmQRYFpfptBannerEnd
Cristina,
Excellent catch! You are correct. I can verify that the ProvisioningBoundary layer is not defined in Section 7.2 "GIS Data Layers" Registry of NENA-STA-006.2-2022https://urldefense.com/v3/__https:/cdn.ymaws.com/www.nena.org/resource/resmgr/standards/nena-sta-006.2-2022_ng9-1-1_.pdf__;!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21VrtNyH_$.
I have passed forwarded this question for an official response and addition to the Errata of the upcoming NENA-STA-006.2a. In the meantime, I would guess that it would most likely be something like "Prov" which follows the Layer Name Indicator convention, but that is an unofficial response until I receive further direction.
-Tom
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/NENA911/NG911GISDataModel/issues/66*issuecomment-1452258697__;Iw!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21V5oTQKX$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A6HOYCSMV24HWLFJHAC3SM3W2DLG5ANCNFSM6AAAAAAVNU6PQM__;!!JYTOG454!dMKZh6rpSwjgk_lwM_r98a6xyToC8_2N08ijhtJxvTpaAhcJpXIg541x29lI4R_AJJ22potYa2CN0oFr8jFbwEr21auYHXrs$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.

Cristina,
I have moved this question to another issue and will respond.
https://github.com/NENA911/NG911GISDataModel/issues/69
-Tom

Per this issue, we are having internal discussions on how to address the missing Provisioning Layer boundary. For right now, it is recommended to unofficially use "Prov".
This issue was identified and is in the process of being addressed. However, it may not be addressed until v3. Because NENA creates ANSI-accredited Standards Developer, there are procedures that need to be adhered to before we can make changes "officially".
I am going to close this issue as referred to NENA DS-NG GIS Data Model WG.


This property dialog is inaccurate for Azure Analysis

"In SSMS, right-click the server name> Properties > Supported Compatibility Level." on my AS instance shows max supported to be 1200 but plenty of other things even your screenshot above says 1400 (while actually I think 1465 is working? or maybe only 1455.. idk)

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

ID: 51768f13-0a48-f53d-5767-241e7f814d4e
Version Independent ID: 5ff36938-165f-e81d-34f8-c01686a5e923
Content: Data model compatibility level in Azure Analysis Services
Content Source: articles/analysis-services/analysis-services-compat-level.md
Service: azure-analysis-services
GitHub Login: @Minewiskan
Microsoft Alias: owend

Thank you @GaretAnderson for bringing this to our attention.  We will investigate the issue and update as appropriate.

@GaretAnderson Thanks for bringing this to our attention. Your feedback  has been shared with the content owner for further review.

@GaretAnderson - Hi Garet. Yes, that is a known issue (in SSMS). Not sure why, it's been that way for two years. I'm checking with engineering.
#in-progress

@GaretAnderson - As mentioned, this is a known bug in SSMS that's sort of been there a while. There is no functional negative effect. We bumped up the priority. I added a note to the article in the mean time.
#please-close


[0.6] Backport of !139 - [merged]

Merges cherry-pick-23d94e87 -> 0.6
Create full frame wcs directly from submap wcs
See merge request LMSAL_HUB/aia_hub/aiapy!139
(cherry picked from commit 23d94e8708ba2ca61efd08e52d0ff49ec5495eed)
3526ccc3 create full frame wcs directly from submap wcs
18c6f2a8 dont need to update naxisn
1719b222 changelog

approved this merge request

In GitLab by @codecov on Nov 3, 2021, 13:54
Codecov Report

Merging #141 (935b51d) into 0.6 (e1d19de) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              0.6     #141      +/-   ##
==========================================
- Coverage   97.50%   97.47%   -0.03%
==========================================
  Files          16       16
  Lines         560      555       -5
==========================================
- Hits          546      541       -5
  Misses         14       14

Impacted Files
Coverage Δ

aiapy/calibrate/spikes.py
98.18% <100.00%> (-0.16%)
:arrow_down:

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 4475e2b...935b51d. Read the comment docs.

mentioned in commit<PHONE_NUMBER>18b1a579b95cc8bfb239de02c8b44e

enabled an automatic merge when the pipeline for 935b51ddee1246e0ee489e84a8402ac0afa49739 succeeds


Unable to set connections.max.reauth.ms to force regular reauthentication

Versions

Sarama
Kafka
Go

v1.26.1
*
1.13.1

Problem Description
I want to deploy consumer instances in the infrastructure of my client. They will be able to connect to my kafka topics using SASL/PLAIN authentication. Because of the long-lived nature of connections, if I remove the access for a given client which is already authenticated, he will keep reading messages from the topics.
Reading from https://cwiki.apache.org/confluence/display/KAFKA/KIP-368%3A+Allow+SASL+Connections+to+Periodically+Re-Authenticate
I discover that there is a setting that could be used exactly for this purpose connections.max.reauth.ms. However I could not find in sarama how to set its value.
Did I miss something ?

I don't believe Sarama supports this feature yet.


plugin_load sar immediately crashes thestanleyparabledemo

https://steamdb.info/app/247750/
When attempting to run SAR with the stanley.exe fork of portal2.exe, it crashes immediately.

This version of SAR has features specific to Portal 2. Even games that run on the same branch of Source like TSP won't work.
If you want to use SAR in The Stanley Parable, use this old version before SAR went Portal 2-exclusive. https://github.com/NeKzor/SourceAutoRecord/releases

That one won't load either. Unfortunate, but fair enough.