android Build failed

Just installing this module is failing to build as shown below. Does anyone know why?

Just installing this module is failing to build as shown below. Does anyone know why?

Hello! Need more information, full logs in process build

Any news about that? I have the same error, I only installed the module and tried to compile and gave me the same error.

Any news about that? I have the same error, I only installed the module and tried to compile and gave me the same error.

@thefrankk What's the problem? need some more info that might help you (full log in build)

i have an identical issue, but even if i make a clean react-native project, and connect my android. Hence i make a conclusion that it isn't related to this library, but rather android setup, but idk why it doesnt work, i think i followed everything on this page...

coming back to the project setup given in readme.md, i have the same error still(maybe i screwed something up but idk)

here's the build error
(base) PS C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp> npx react-native run-android
info Starting JS server...
info Installing the app...

> Configure project :app
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :azesmway_react-native-unity
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :unityLibrary
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
WARNING:The specified Android SDK Build Tools version (30.0.2) is ignored, as it is below the minimum supported version (30.0.3) for Android Gradle Plugin 7.3.1.
Android SDK Build Tools 30.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '30.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

> Task :app:processDebugMainManifest FAILED

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
25 actionable tasks: 2 executed, 23 up-to-date
C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\android\app\src\debug\AndroidManifest.xml Error:
        uses-sdk:minSdkVersion 21 cannot be smaller than version 22 declared in library [:unityLibrary] C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\unity\builds\android\unityLibrary\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
        Suggestion: use a compatible library with a minSdk of at most 21,
                or increase this project's minSdk version to at least 22,
                or use tools:overrideLibrary="com.unity3d.player" to force usage (may lead to runtime failures)

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 22 declared in library [:unityLibrary] C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\unity\builds\android\unityLibrary\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
        Suggestion: use a compatible library with a minSdk of at most 21,
                or increase this project's minSdk version to at least 22,
                or use tools:overrideLibrary="com.unity3d.player" to force usage (may lead to runtime failures)

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

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

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

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

BUILD FAILED in 9s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\android\app\src\debug\AndroidManifest.xml Error:
        uses-sdk:minSdkVersion 21 cannot be smaller than version 22 declared in library [:unityLibrary] C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\unity\builds\android\unityLibrary\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
        Suggestion: use a compatible library with a minSdk of at most 21,
                or increase this project's minSdk version to at least 22,
                or use tools:overrideLibrary="com.unity3d.player" to force usage (may lead to runtime failures)

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 22 declared in library [:unityLibrary] C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\unity\builds\android\unityLibrary\build\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 21
        Suggestion: use a compatible library with a minSdk of at most 21,
                or increase this project's minSdk version to at least 22,
                or use tools:overrideLibrary="com.unity3d.player" to force usage (may lead to runtime failures)

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

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

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

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

BUILD FAILED in 9s

    at makeError (C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
    at C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async runOnAllDevices (C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:82:7)
    at async Command.handleAction (C:\Users\ilyab\Documents\0000important - utof proj and files\xrnote\everclon-app\myapp\node_modules\@react-native-community\cli\build\index.js:108:9)
info Run CLI with --verbose flag for more details.

The direct cause is auto-linking. See https://github.com/azesmway/react-native-unity/issues/51#issuecomment-1500770597.


Support Background Processes

In order to support different ways to add a controller under test, we are adding support for running background processes.   This will add the ability to configure something like:
commands:
  - command: ./bin/manager

which will run a controller in the background for testing

lgtm!


add RENAME DATABASE

Support for RENAME DATABASE as in #4154
Comments welcome.
CQs not dealt with yet-- advice appreciated,
and not sure if correct proto version generated from meta.proto.

Thanks @linearb -- I think there are more changes required to the TSDB layer. To see this you should add tests that query for data in a database, get results back, rename the database, and run the exact same query against the renamed database. You should get the same data back.
Make sense?

Thanks @otoolep . Adding that test is a good suggestion.
Are you sure TSDB changes are needed?--- it works when I do such a test by hand:
curl -G 'http://localhost:8086/query' --data-urlencode "q=CREATE DATABASE db_old"
{"results":[{}]}
curl -XPOST 'http://localhost:8086/write?db=db_old' -d 'cpu,host=server01,region=useast load=4<PHONE_NUMBER>000000000'
curl -XPOST 'http://localhost:8086/write?db=db_old' -d 'cpu,host=server01,region=useast load=23<PHONE_NUMBER>000000000'
curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=db_old" --data-urlencode "q=SELECT * FROM cpu WHERE region='useast'"
{ "results": [ { "series": [ { "name": "cpu", "columns": [ "time", "host", "load", "region" ], "values": [ [ "2015-06-11T20:46:05Z", "server01", 4, "useast" ], [ "2015-06-11T20:46:09Z", "server01", 23, "useast" ] ] } ] } ] }
curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=db_new" --data-urlencode "q=SELECT * FROM cpu WHERE region='us east'"
{"results":[{"error": "database not found: db_new"}]}
curl -G http://localhost:8086/query?pretty=true --data-urlencode "q=RENAME DATABASE db_old TO db_new"
{"results": [{}]}
curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=db_new" --data-urlencode "q=SELECT * FROM cpu WHERE region='useast'"
{ "results": [ { "series": [ { "name": "cpu", "columns": [ "time", "host", "load", "region" ], "values": [ [ "2015-06-11T20:46:05Z", "server01", 4, "useast" ], [ "2015-06-11T20:46:09Z", "server01", 23, "useast" ] ] } ] } ] }
curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=db_old" --data-urlencode "q=SELECT * FROM cpu WHERE region='useast'"
{ "results": [ { "error": "database not found: db_old" } ] }

OK, I guess TSDB layer changes may not be required.
We still need that test however. Can you add it? We'll also need to run this command by the team.

Sure, I can add the test.

I'm not a fan of the RENAME DATABASE syntax. ALTER DATABASE feels more SQL-like. The full syntax would be something like:
ALTER DATABASE <old_db_name> RENAME TO <new_db_name>

Which roughly follows other SQL database's renaming syntax and complements the existing ALTER RETENTION POLICY statement. Just my two cents.

+1 for ALTER DATABASE. That fits in with our other ALTER USER and ALTER RETENTION POLICY queries.

Yeah, good call, it should be ALTER.

OK - ALTER it is.
Interestingly, mysql once had a RENAME DATABASE that was considered dangerous:
https://dev.mysql.com/doc/refman/5.1/en/rename-database.html

Realized that user privileges also needed updating on db rename.
So added something for that also.
Still unsure how to update CQs correctly, but if that's going to be
complicated perhaps better to split that off as a separate issue.
CHANGELOG.md updated
mergeable
Tests pass
Signed CLA

@linearb -- this looks really great, just some minor feedback. All community-contributions require 2 reviews by core developers, so we just need to wait for that too.
@dgnorton -- can you also review?

Great test coverage, +1.

@otoolep Suggested changes made.

Thanks, I'll review now.
Can you rebase against master to remove the "merge" commits?

+1

Thanks @linearb -- great work.

We've decided to revert this change.  See https://github.com/influxdb/influxdb/issues/4503 for details.

Too bad-- guess there was more involved here than any of us realized.

@linearb sorry we didn't catch this in the initial review.  We really appreciate the effort you put in on it!

@dgnorton @otoolep Since I think this would be a good feature to get in, I'm willing to add
something to deal with problems raised in #4503 . Before going ahead, perhaps there
might be some consensus about which approach to take (or at least which to avoid)?

Thanks @linearb -- we have not reached consensus on this issue. There are some difficult issues raised, with regards to renaming opening directories. The issue with some nodes crashing before the rename completes may also be difficult.
Perhaps some sort of simple aliasing is the best possible solution, which makes crash-recovery issue the simplest, and doesn't require any renaming of files on disk. The aliasing would be kept by Raft, and would exist in RAM only on all nodes. I believe this was suggested by @corylanou.
The mapping from alias to actual name would be referenced each time during queries and during writes. This would mean the change would touch much more of the code however.

Actually, after some further discussions here, if instead the system used the database IDs as the filenames on disk, then it would be reasonably easy to support renames.

As long as there is a way for users to discover the mapping between database name and database ID that's a reasonable solution. I don't think it would be okay to obscure which database owned which files on disk.

No reason why SHOW DATABASES wouldn't show this information, it would be easy enough.

That absolutely works for me.

Sounds good. I'll put something together.

@otoolep Unless there is an internal database ID that I'm not seeing, I'll just add one like node id, or cluster id? Also, as changing the filenames is a breaking change, let me know if you have infrastructure for upgrades/downgrades to be aware of.

No, it appears we don't have IDs for databases yet. You may need to add something to the DatabaseInfo type.
We also don't have any explicit code for upgrades and downgrades right now. We are open to suggestions, but I realise it can be a complex topic.


Add pyvirtualdisplay and dependency EasyProcess.

This is for easier non-Docker selenium testing.

@galaxybot test this

@jmchilton is this still relevant?

Meh


50% of the user-keys have wrong Risk value

Describe the bug
ToDay keys are now uploaded for 50% of the users.
Most of the keys of this users have the wrong risk values.
6,8,8,8,5,3,1,...
It should be
5,6,8,8,8,5,3,1
For the 1. key the risk is too high,
For the 2., 5., 6., 7. the risk is too low.
I don't know if this affects only iOS or only Android devices or both, so i will publish this on both repositories.
https://github.com/corona-warn-app/cwa-app-android/issues/1325
#1297
This issue is related to #1097.
@thomasaugsten tried to find out more in #1097 but with no results jet.
Expected behaviour
Assign the right risk value to the keys.
Steps to reproduce the issue
At the moment nearly 50% of the users upload a key for the day they upload their keys.
Take a look at 2020-10-05.zip and 2020-10-06-hour-03.zip
I first saw this on 2020-09-15, 2020-09-17, 2020-09-19, (but this lonely ones may be a result of a wrong device time).
On 2020-09-21 the number starts to increase to nearly 50% now.
Additional context
In the day file 2020-10-05.zip at least 103-117 users publish a same day key.
(it also contains same day key from 2020-20-04 uploads.)
All keys of this users have the wrong risk values.
6,8,8,8,5,3,1,...
It should be
5,6,8,8,8,5,3,1
For the 1. key the risk is too high,
For the 2., 5., 6., 7. the risk is too low.
links
https://github.com/corona-warn-app/cwa-app-ios/issues/1097
https://github.com/corona-warn-app/cwa-server/issues/755
https://github.com/corona-warn-app/cwa-server/issues/723
https://github.com/corona-warn-app/cwa-server/issues/856

Internal tracking ID: EXPOSUREAPP-3095

Hello @Tho-Mat,
Your provided information looks very detailed, thank you very much for that. I am not sure how we will handle the duplication of the Tickets in iOS and Android, I will discuss this internally first.
I have created a Jira ticket EXPOSUREAPP-3095 for this issue so that the developers are notified.
Best regards,
SG
Corona-Warn-App Open Source Team

Good new:
https://github.com/corona-warn-app/cwa-app-android/issues/1325#issuecomment-704883307

Duplicate of https://github.com/corona-warn-app/cwa-app-android/issues/1325


Locally Self hosted Docker returns internal error

I started the Docker container locally as per docks and the site runs fine. However none of the badges are created. Is there some component i miss? Are there any instructions to debug it?

Hi! Shields emits stack traces for the errors to standard output, so you should be able to get more details in the container.

Hi
this is what it reprots
2020-04-05T17:47:15.381086328Z: [ERROR]      at TokenPool._nextBatch (/usr/src/app/core/token-pooling/token-pool.js:268:11)
2020-04-05T17:47:15.381095828Z: [ERROR]      at TokenPool.next (/usr/src/app/core/token-pooling/token-pool.js:305:20)
2020-04-05T17:47:15.381099828Z: [ERROR]      at GithubApiProvider.tokenForUrl (/usr/src/app/services/github/github-api-provider.js:158:34)
2020-04-05T17:47:15.381103628Z: [ERROR]      at GithubApiProvider.request (/usr/src/app/services/github/github-api-provider.js:172:22)
2020-04-05T17:47:15.381107528Z: [ERROR]      at Promise (/usr/src/app/services/github/github-api-provider.js:211:12)
2020-04-05T17:47:15.381111228Z: [ERROR]      at new Promise (<anonymous>)
2020-04-05T17:47:15.381115328Z: [ERROR]      at GithubApiProvider.requestAsPromise (/usr/src/app/services/github/github-api-provider.js:210:12)
2020-04-05T17:47:15.381118928Z: [ERROR]      at GithubStars._requestFetcher (/usr/src/app/services/github/github-auth-service.js:13:23)
2020-04-05T17:47:15.381129928Z: [ERROR]      at GithubStars._request (/usr/src/app/core/base-service/base.js:230:40)
2020-04-05T17:47:15.381134528Z: [ERROR]      at GithubStars._requestJson (/usr/src/app/core/base-service/base-json.js:47:35)

here a more complete version just in case
Configuration:
{ bind: { address: '<IP_ADDRESS>' },
  metrics: { prometheus: { enabled: false } },
  ssl: { isSecure: false },
  cors: { allowedOrigin: [] },
  persistence: { dir: './private' },
  services:
   { github:
      { baseUri: 'https://api.github.com/',
        debug: { enabled: false, intervalSeconds: 200 } },
     trace: false },
  profiling: { makeBadge: false },
  cacheHeaders: { defaultCacheLengthSeconds: 120 },
  rateLimit: true,
  handleInternalErrors: true,
  fetchLimit: '10MB' }
0405173356 FsTokenPersistence configured with /usr/src/app/private/github-user-tokens.json
0405173356 Server is starting up: http://<IP_ADDRESS>/
0405174424 Error: Token pool is exhausted
    at TokenPool._nextBatch (/usr/src/app/core/token-pooling/token-pool.js:268:11)
    at TokenPool.next (/usr/src/app/core/token-pooling/token-pool.js:305:20)
    at GithubApiProvider.tokenForUrl (/usr/src/app/services/github/github-api-provider.js:156:33)
    at GithubApiProvider.request (/usr/src/app/services/github/github-api-provider.js:172:22)
    at Promise (/usr/src/app/services/github/github-api-provider.js:211:12)
    at new Promise (<anonymous>)
    at GithubApiProvider.requestAsPromise (/usr/src/app/services/github/github-api-provider.js:210:12)
    at GithubForks._requestFetcher (/usr/src/app/services/github/github-auth-service.js:13:23)
    at GithubForks._request (/usr/src/app/core/base-service/base.js:230:40)
    at GithubForks._requestGraphql (/usr/src/app/core/base-service/base-graphql.js:72:35)

so it looks i must be missing something?

To use the GitHub badges, you need to set a GitHub token:
https://github.com/badges/shields/blob/master/doc/server-secrets.md#github
In theory you should be able to generate 60 badges/hr without a token, however this isn't possible because of #2754.

Are you able to get any of the other, non-GitHub badges, to work?

excellent it now works on Azure with minimum efforts, I only added a GH_TOKEN through Azure UI. Great work guys!
I have another question, my needs are to support my Os project and I have shields public on Azure is there some setting that will allow only my Os organization repros to access it?

I have another question, my needs are to support my Os project and I have shields public on Azure is there some setting that will allow only my Os organization repos to access it?

No, there is nothing like this today. If you want to limit access, you'd probably have to host it inside your firewall.

You could also potentially restrict access to your self-hosted Shields instance leveraging Azure features (depending on which services you're leveraging)


[BACKEND] Update LLVM version to https://github.com/llvm/llvm-project/commit/de88b2cb16af4bba659d0bb2ddf10bda681ec84d

Closing this, we can start a fresh LLVM upgrade now that the problem is fixed.


Any plan for VS Code Plugin supporting national cloud?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
For now, it's not able to deploy national cloud resources using bicep plugin in VS Code. It will prompt "Subscription not found."
Describe the solution you'd like
A clear and concise description of what you want to happen.

@ucheNkadiCode -- can you help triage this?

@ucheNkadiCode Could you please take a look at this issue?

@alex-frankel  Could you please help to assign this issue to another owner? I could not find Uche in MS corp anymore.

@bhsubra @puicchan Hi team, any update?

@chuckz1321 - I just took over from Uche. Let me sync with team and get back to you.

@chuckz1321, the Bicep extension should work with national cloud. Can you provide more details? e.g., which cloud? Are you deploying any resources that are not supported in that cloud? Is the message during login or during publish? etc.

@puicchan When I deploy bicep in Mooncake with VS Code. It will prompt the subscription could not be found. You can check the error message below.

I log on VS code with my Mooncake account. Any other services like app service or function could be deployed normally.
The resources are storage account and vnet. I don't think the deployment has reached RP already.

You can reach me by Teams if you need me to present. My alias is chenzhang.

Insert Resource... fails with a similar subscription not found error...

If it helps, I'm seeing the same error based on the following steps

Azure Sign-in to Azure Government.
Generate the properties for a resource located in usgovarizona
Copy the resource id
Paste the resource id into "Insert Resource"

Then after a few seconds, I get an error like below.

Caught exception fetching resource: The subscription 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX' could not be found. Status: 404 (Not Found) ErrorCode: SubscriptionNotFound Content: {"error":{"code":"SubscriptionNotFound","message":"The subscription 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX' could not be found."}} Headers: Cache-Control: no-cache Pragma: no-cache x-ms-failure-cause: REDACTED x-ms-request-id: ed703b11-d2d3-4660-a34b-1326188047ff x-ms-correlation-request-id: ed703b11-d2d3-4660-a34b-1326188047ff x-ms-routing-request-id: WESTCENTRALUS:20221107T200205Z:ed703b11-d2d3-4660-a34b-1326188047ff Strict-Transport-Security: REDACTED X-Content-Type-Options: REDACTED Date: Mon, 07 Nov 2022 20:02:04 GMT Content-Type: application/json; charset=utf-8 Expires: -1 Content-Length: 129 .

@StephenWeatherford  Any progress?

@ColinBlair tried to deploy the bicep in VSCode with a config json file. Still failed. Same error msg.

@chuckz1321 Apologies, the config change does allow Bicep: Insert Resource to work and getting that to work is how I found this issue in the first place.


add Sabotage linux package support

Description
add Sabotage linux package support

type -p butch >/dev/null && \
    packages="$((packages+=$(butch list | wc -l)))"

The rest isn't needed.

fixed

LGTM :+1:
Thanks!


QR Whited Out

Describe the bug
When trying to integrate, it has me scan the QR code. It's whited out with a vague image of the QR.
Expected behavior
A normal clear QR code
Screenshots

Home Assistant Version
Core - 2024.5.5
Supervisor - 2024.05.1
Operating System - 12.3
Frontend - 20240501.1
Additional context
Just trying to connect. Been like this a couple days.

It happens the same for me, after last update.

Hey, change your theme if you one, to the original. That worked for me.

Thanks that worked for me. Had to change the theme and set it to light.


Fix some typos in README

Great job with this lib. Just fixed some typos while reading the README.

Thanks!


how to do input masking ?

Check out normalizing in redux-form: http://redux-form.com/6.6.0/examples/normalizing/

That @kozze89 said.

Just for the record, if there's anyone out there wanting to create input masks using redux-form, I've made a library specifically to solve this problem.
Take a look at redux-form-input-masks (API documentation here).


router: [API] Add support of cluster header in mirror request policies

Signed-off-by: Boteng Yao<EMAIL_ADDRESS>

Add cluster header to  RequestMirrorPolicy proto. This enables the ability of routing to the cluster specified in the request_header for shadow policy.
Add the validation logic (PGV annotation + runtime check)
This PR includes API & Implementation

Commit Message: Add support of cluster header in mirror request policies
Additional Description:
Risk Level: Low
Testing: unit tests & integration tests
Docs Changes: New feature added
Release Notes: added cluster_header in request_mirror_policies to allow routing shadow request to the cluster specified in the request_header.
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Hi @adisuissa. Added the implementation of the cluster header support.

/retest

Thank you for reviewing!

Thanks @adisuissa @soulxu for reviewing!

/assign @tyxia

Hi @envoyproxy/senior-maintainers, can someone take an another look and merge? Thank you!

/retest


Flaky test: Ember TraversalSpec

  + parse two responses where bodies are fully read 0.297s
==> X org.http4s.ember.core.TraversalSpec.Request Encoder/Parser should preserve body with a known uri  0.164s munit.FailException: /home/runner/work/http4s/http4s/ember-core/src/test/scala/org/http4s/ember/core/TraversalSpec.scala:98
97:    }
98:  }
99:
Failing seed: HdwIBFRdD5hnqAMxVk9j9XvkPTmkx2CyM6qIC4bqbWF=
You can reproduce this failure by adding the following override to your suite:

  override val scalaCheckInitialSeed = "HdwIBFRdD5hnqAMxVk9j9XvkPTmkx2CyM6qIC4bqbWF="

Exception raised on property evaluation.
> ARG_0: Request(method=GET, uri=http://[2100:8dfd:fb74:5f01:e267:fff1:80cb:beff]:1/(/@?%E7%A7%80=%E2%9F%98#/, headers=Headers(a: Oa))
> ARG_1: ""
> Exception: munit.ComparisonFailException: /home/runner/work/http4s/http4s/ember-core/src/test/scala/org/http4s/ember/core/TraversalSpec.scala:96 Obtained empty output!
95:
96:      res.assertEquals(s)
97:    }

Link.

Duplicate of #2794


[r2.12-rocm-enhanced] Make the Dockerfile.rocm to support the internal base docker build

retest cpu-non-pip please


[THRIFT-3086] fix a few minor valgrind identified issues

@jeking3 please do not use square brackets [] around the thrift issue identifer, this will be removed when I use git am toi apply the patch.

@bufferoverflow Thanks for the heads up, if that is in the process documentation for submitting requests I missed it.  I'll remove the brackets in my pull requests.

The code has been merged so I am closing the pull request.


initial draft of EIP1271 adapter

The EIP1271 adapter allows DAOs to collectively sign messages and typed data through signatures.  Signatures are critical when interacting with various types of decentralized applications. Developers use signatures for authentication, meta-transactions, order books, and anything that requires delegated permission or proof of ownership of an address. EIP1271 has widespread adoption and is used in applications like Argent and Snapshot.
Open questions:

should we encode msgHash and magicValue in the signature bytes? Could be a good gas saving opportunity since the signature is just empty space in this scenario

I think this would need to be an extension instead of an adapter. The reason being that you won't be able to pass the DAO as a value in the function and therefore the smart contract needs to be DAO specific.
The signature can be used to give context that I think is needed if a few cases.
For example. if you only pass a hash, how do you find the proposalId that was linked to it?

I propose we discuss a proper use case and then we can see how to implement it.
Here is a draft of how I would see it working
Let's take the use case of snapshot voting from a DAO. Let's call the main DAO A and the sub DAO B.
prerequisite: DAO B has registers its ERC-1271 extension as its delegate key in DAO A
DAO A creates a proposal P1 and members need to vote on it
DAO B creates a proposal P2 to decide which choice to pick  and gets a result. P2 needs to be created through ERC-1271 proposal so we have all the relevant info there.
one DAO B member sends the result to SNAPSHOT-HUB with the signature structure being:

8 bytes hashing function id (ERC-712 definition)
32 bytes for P2

The hashing function works as follows: hashFunction(bytes32 domain, bytes32 proposalId, uint32 choice)
where:

domain is the DOMAIN_HASH from ERC-712
proposalId is the external proposalId (in our case P1)
choice is the selected choice

Reminder: the verification function for ERC-1271 is function isValidSignature(bytes32 hash, bytes signature)
once DAO A wants to check if the signature is correct for DAO B, it calls the ERC-1271 isValidSignature function
ERC-1271 extension checks the following:

what's the status of P2 ?
if P2 has been voted on and complete, check which choice has been selected
using the hashing function, we check that the choice reported and the one selected by the proposal are the same

If any of these steps fail, return failure, otherwise return success.
If we need this technic to just approve a certain signature (mimic multisig) we could create a proposal with yes / no choices and then use a hashingFunction that uses proposalId to pass the hash and just ignores the choices. If the proposal passes we say that the signature was successful, otherwise it fails

I think this would need to be an extension instead of an adapter. The reason being that you won't be able to pass the DAO as a value in the function and therefore the smart contract needs to be DAO specific.

Are adapters deployed as isolated contracts and used by multiple unrelated DAOs, rather than deployed per DAO?

For example. if you only pass a hash, how do you find the proposalId that was linked to it?

We would need some storage like the following:
struct DAOSignature {
  bytes signature;
  uint256 proposalId;
  bytes4 magicValue
}

mapping bytes32 => DAOSignature msgHashToSignature;

But are you saying that we also need to know which DAO address to use to look up the proposal flags? Is this because in TributeDAO a DAO will have multiple subs?

I propose we discuss a proper use case and then we can see how to implement it.

Yes I agree

Let's take the use case of snapshot voting from a DAO. Let's call the main DAO A and the sub DAO B.
prerequisite: DAO B has registers its ERC-1271 extension as its delegate key in DAO A

So in this case DAO B is a member of DAO A, and is collectively voting on a proposal made by DAO A?

Are adapters deployed as isolated contracts and used by multiple unrelated DAOs, rather than deployed per DAO?

Yes exactly. Adapters are singletons useable by multiple DAOs. If you want a smart contract per DAO, you need to make an extension

So in this case DAO B is a member of DAO A, and is collectively voting on a proposal made by DAO A?
yes exactly. Imagine a group of multiple DAOs managing a fund and they vote together on what to do with it. Each sub group would collectively vote.

Regarding the storage, I need to think about it more but the idea would be to avoid storage use as much as possible and push any necessary values into the signature bytes. This will save gas.
We want a proof that P2 was indeed a proposal to vote on P1.
So I guess that's really what we need, just a mapping between the two. so mapping(bytes32 => bytes32) where the mapping is just a link between P1 and P2
We would then pass P1 in the signature and check it there. And to make sure there is nothing shady going on, we will rebuild the hash to make sure the vote is really for P1. I.e. the hash is the correct one

@adridadou I added an implementation and test coverage for the extension
So far the test only can prove that one cannot call the 'sign' function without permission, but I don't see an example in the repo of how to test happy path yet. will try that next
I tried to match the design pattern of the other extensions like bank, erc20, nft

@adridadou I added a generic signatures adapter as well which uses standard voting and the 1271 extension. I think this is ready for review

Still working on the actual PR review but two things you need to do:

run npm run lint:fix
replace describe.only -> describe for the signature test

The tests run, I just need to run the subgraph compilation to make sure but pretty sure it will be fine. I'll check the code today

added the expectation for reverting on isValidSignature when proposal has not passed
removed .only
ran lint


Move the notifications to include more of the setup

Things can go wrong while setting up the default objects and setting up the provider.
We should wait until all of this work is done before creating the notification that says that the role has been successfully enabled.
https://bugzilla.redhat.com/show_bug.cgi?id=1458019

gaprindashvili/yes ?

Sure?

Gaprindashvili backport details:
$ git log -1
commit ef917d290ec0a01459c22fb15f7a90b8c99b6f38
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Mon Nov 20 18:12:09 2017 -0500

    Merge pull request #16508 from carbonin/move_ansible_role_notifications

    Move the notifications to include more of the setup
    (cherry picked from commit b5c831749dc41e9670d5ec8eae647349d1c3cc30)

    https://bugzilla.redhat.com/show_bug.cgi?id=1517817


How variables defined in terragrunt is accessible in terraform code.

I have terragrunt config where have declared the variables using locals as below at root level. In the child module , have declared the child terragrunt config file called (terragrunt.hcl). parent terragrunt file has following code :

locals {
location = "East US"
}

child module terragrunt file has below code :

include {
path = find_in_parent_folders()
}
locals {
myvars = read_terragrunt_config(find_in_parent_folders("terragrunt.hcl"))
location = local.myvars.locals.location
}

now, trying to access location variable in the terraform code (main.tf) using following code :

location = "${var.location}"

but it throws error:

Error: Reference to undeclared input variable
on main.tf line 13, in resource "azurerm_resource_group" "example":
13:   location = "${var.location}"

Not getting how i can access variables defined in the terragrunt file in the terraform code . please suggest
In short, i need this "location" variable to be defined in root terragrunt file and then refer it to the child module of terraform. can this be possible ? If yes, any example please .... Thanks
NOTE: I do not want to define variables.tf file for common variables. common variables should be there in root terragrunt file and all child module should inherit that and be available in terraform code.

The solution to this is to add a generator block to your root config that defines all the common variables. See here for the docs on how generator blocks work.

Closing this as the original question has been answered. If there are any follow ups, please open a new ticket with updated context. Thanks!


Different cases for E0000

cfn-lint version: (0.28.4)
Separate the error E0000 between null YAML values on one hand and jinja2 variables for keys on the other
I have a template that has Jinja2 variables, something of this sort:
MyIAMRole:
  Type: AWS::IAM::Role
  Properties:
    Tags:
      - Name: {{jinja2value}}
      - Environment:
      - Owner: aws.user

The Name tag has a jinja2 variable for the value and the Environment tag is blank, to simulate the case of a user who has forgotten to enter a value.
Running aws cloudformation validate-template on this template will give different errors for the two cases (the Jinja2 variable and the valueless key). However, with cfn-lint (even the latest version, both cases give the error E0000. I would like my linter to ignore the Jinja2 variables, but there is the risk of skipping missed values, which is an actual YAML syntax issue. aws cfn validate-template does not have error numbers that one can use to instruct the tool to ignore, but cfn-lint does. However, cfn-lint does not discriminate between these two kinds of errors.

Jinja has come up a few times before:
https://github.com/aws-cloudformation/cfn-python-lint/issues/793
https://github.com/aws-cloudformation/cfn-python-lint/issues/113#issuecomment-473534130

I think Chuck's advice to pre-process before linting is still the best advice

That's a fair point, although my suggestion was not about processing/ignoring jinja but having a separate code for when jinja variables are encountered, a la aws cloudformation validate-template ....

Closing with Chuck's recommendation for now as it won't be feasible for the Linter to accommodate all pre-processing quirks


Macro documentation

My biggest hurdle when starting to use this library (aside from the doc not building on doc.rs was reading through the exhaustive use of macros.
Being fairly new to rust, I had to learn the somewhat esoteric macro grammar (which in hindsight is fairly simple) in order to be able to read the macro, then do mental substitution in order to figure out what the macros were used for.
I hope those modest comments are going to help the next person reading through the source code.
If I may suggest, I'd move all macros in a macro.rs file living at the root of the package and used by lib.rs. Since I learned that the order in which the files are parsed matters for the macro, I can just imagine clueless me try and figure out on the fly why a macro is out of scope. Also, I think it'd clean the codebase a bit.

Thank you for this! These macros were made quite haphazardly.
Moving all of these into a top level macros module is a good idea too - it would definitely make it cleaner. This could be part of this PR, or another one, or I could add it in afterwards.

Speaking of lack of docs.rs, that is an annoyance, but if you need it it's pretty easy to build documentation locally too.
Try running cargo doc --open in the screeps-starter-rust repository, or your own project repository. It should generate documentation for the crates being used and open it up, and that should include documentation for screeps-game-api.
I guess this tip belongs in the README now that docs.rs is failing.

Thanks for the feedback. I addressed most comments and moved the macros to a single file which I believe will make the code clearer.

These macros were made quite haphazardly.
I'd have taken the easy way out and copy pasted the code, so it served as a good incentive to learn about macros. I added in the doc the most helpful link I found on macros.

The doc compiles, but I believe it skips over the macros since they are not exported. Still, it'll be helpful for the next contributor.

Cool, thanks! LGTM besides that syntax change in game_map_access!. Not necessarily bad, just that it would work better as a separate PR for discussion purposes.

That's fair.
Here's the final version.

Thanks!


Rel put metadata

Changes Unknown when pulling 71fa7f2996f0e8a31fe4f0054f57f39d2289af81 on rel-put-metadata into ** on develop**.


Summary of the introduction

Related to #368. Just started.
Starting point:

Introduction: 1026 words
Terminology - RSE: 299 words
Terminology - further: 214 words
Total: 1539 words

Result:

Introduction: 506 words (50% or original)
Terminology - RSE: 0 words (0%) - I think this is one of the verbose parts that should not really be part of this particular paper, since there are already so many others working on the definition.
Terminology - further: 273 words (128%)
Total: 779 words (51% of original)

Introduction:

Terminology:

@CaptainSifff @mhagdorn (or whoever else wants to have a look): this is now ready for review from my side.


Updated all the AFNetworking class names from AF to DSAF to avoid dup…

…licate symbols error on the SDK

Looks good


Change madlib gppkg  version string

This commit changes the naming convention for madlib gppkg,
after renaming, the format of madlib gppkg will look like:
madlib-1.13_dev-gp5-rhel6-x86_64.gppkg
madlib-1.12_dev-gp4.3orca-rhel5-x86_64.gppkg

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/297/

naming convention looks good.
I assume for prod releases there is no "_dev" in the name.

@fmcquillan99 Yes, the version string is saved in Version.yml file and when we make the release, we will change the version string from 1.13_dev to 1.13, and cmake will directly get it from the yml file.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/302/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/303/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/308/


update 'with_same' if attribute nil

class Task < ApplicationRecord
  include RankedModel
  ranks :row_order, with_same: :parent_id
end

I'm use with_same and my model has parent_id equal to nil.
And I have problem use<EMAIL_ADDRESS>:row_order_position, new_position' if parent_id
@task.row_order
=> -8379763

project.tasks.where(parent_id: nil).rank(:row_order).pluck(:id, :row_order)
=>  [[43988, -8379763], [38997, -8378203], [39019, -8314748]]

@task.update_attribute :row_order_position, 1
=> UPDATE "tasks" SET "updated_at" = $1, "row_order" = $2 WHERE "tasks"."id" = $3  [["updated_at", "2019-03-21 11:27:17.220547"], ["row_order", -8382364], ["id", 43988]]

project.tasks.where(parent_id: nil).rank(:row_order).pluck(:id, :row_order)
=> [[43988, -8382364], [38997, -8378203], [39019, -8314748]]

but
If use alias :last it's works

Rails <IP_ADDRESS>
ruby 2.5.3p105

Hi @ilyario, thanks for getting in touch with this issue. Do you think you'd be able to create a PR with a failing test case for this one?


Release automation

this automates binary uploading to github release page
it is documented in docs/contributing.md
this is how release draft that is cread by travis looks like:

all that we have to do is provide a description and click publish draft button
I've also created new bot account  www.github.com/ocdev-bot this account is used for uploading to github

prerequisite for https://github.com/redhat-developer/ocdev/issues/73

LGTM, with a few nits in docs. Feel free to merge when resolved. 🎉

sorry for such horrible typos, my spell check failed me :-)


chore(dev-deps): switch to commitlint 9.x

Pull Request Test Coverage Report for Build 5186

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.873%

Totals

Change from base Build 5181:
0.0%

Covered Lines:
1059

Relevant Lines:
1094

💛  - Coveralls


Added README.md for poetry

Hi @pchlap, I've added a README doc for using poetry and have included additional info about publishing to PyPI for the next coding club session. I could add a template of a poetry example, but thought it'll be less useful than the doc. Let me know what you think, thanks!

Looks great! Thanks :)

Just realized that you had tagged me on this 2 weeks ago.. Sorry didn't see it until now :D


feat: add underscore in string token for match url

Codecov Report
Patch and project coverage have no change.

Comparison is base (763543b) 80.60% compared to head (1f2aa2f) 80.60%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   80.60%   80.60%
=======================================
  Files           7        7
  Lines         299      299
=======================================
  Hits          241      241
  Misses         44       44
  Partials       14       14

Impacted Files
Coverage Δ

generator/match_rule.go
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


random[Past|Future|Recent|Soon]Date

Description
I see that randomNumber and others don't actually generate random numbers on demand but have a pre-canned list of numbers to pick from. I'd like something similar for dates.
Proposed solution

randomDate returns any random Date picking from a pre-canned list of Date offsets and then creating a new Date object from "now" and applying the offset to get a random Date relative to today (the date may be in the future or the past)
randomPastDate does the same as randomDate except the offset is always negative to create a Date in the past
randomFutureDate is like randomPastDate except the offset is always positive
randomRecentDate and randomSoonDate are like randomPastDate and randomFutureDate except using a list of smaller offset values to returns dates that are within a few days from today

Alternatives considered
No response
Do you want to create a pull request?
Yes

Hey @mfulton26,
About Dates, I'm already working on a PR (tracked with #2 as indicated by Netanel).
I'll submit it today.


How to understand the label array

Hi thank you for your work and repo!
I would like to know the semantic meaning of the label array. For example, the chestmnist has the test label array (22433, 14), and the first label is array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], dtype=uint8). What is the label it is associated with and how to convert the array to the corresponding label(s)?
"label": {
    "0": "atelectasis",
    "1": "cardiomegaly",
    "2": "effusion",
    "3": "infiltration",
    "4": "mass",
    "5": "nodule",
    "6": "pneumonia",
    "7": "pneumothorax",
    "8": "consolidation",
    "9": "edema",
    "10": "emphysema",
    "11": "fibrosis",
    "12": "pleural",
    "13": "hernia"
},

I appreciate your help in advance. Thanks!

Hello @taokz ,
Thanks for your interest! Sorry for a late reply.
To understand the label dict, you can find a description here.
Basically, the labels have different meanings according to the task tag. For instance, the ChestMNIST you show is "task": "multi-label, binary-class", which means 0 for normal and 1 for abnormal for each class.
Jiancheng


Replicas stack YAML support

Stack yaml should support replicas. Example of yaml code:
lb:lb:
  image: dockercloud/haproxy
  ports:
    - "80:80"
  replicas: 5

This would be equal to:
docker service create -p 80:80 --name lb:lb --replicas=5 dockercloud/haproxy

I assume by stack yaml you mean the bundle json?
One of the design goals of the bundle (which admittedly is not well documented at this time) is to keep the bundles portable and safe for distribution (like images).  Adding the number of replicas would violate this design goal.
The number of replicas is more of a property of the environment where it is deployed, not of the application itself. We do need some way of configuring it, but it's unlikely that it will be part of the bundle itself.

That is reasonable. You are right. (I meant this stack yaml
Than I think "docker deploy" command should have this feature. So you can for example do
$ docker deploy example --scale nginx=1,redis=6,webapp=2
Loading bundle from example.dab
Creating service nginx
Creating service redis
Scaling redis to 6
Creating service webapp
Scaling webapp to 2

So you can deploy and scale in one command.

For YAMl, we already have docker compose, which turns out not very good option for programing friendly perspective.
I think we should have ADB a standard and have conversion from YAML to bundle json leave to other tools.

Yop, I understand and agree. But what I wanted to point out was the possibility to deploy and scale whole application in one command

Than I think "docker deploy" command should have this feature. So you can for example do

$ docker deploy example --scale nginx=1,redis=6,webapp=2
Loading bundle from example.dab
Creating service nginx
Creating service redis
Scaling redis to 6
Creating service webapp
Scaling webapp to 2

Out of curiosity, since this issue remains unresolved, how are people specifying the number of containers for each service in production now when deploying with dab?

relates to https://github.com/docker/docker/issues/26876

Hey @thaJeztah It is the swarm manager smart enough to never deploy this two replicas in the some machine in order to avoid port mapping conflict?
version: "3"
services:
app:
image: adrianofonseca/app
ports:
- "8080:8080"
- "9990:9990"
networks:
- app
depends_on:
- postgres
deploy:
replicas: 2
labels: [info=backend]

replicas is supported in version 3, so closing.
@adriano-fonseca ports are not exposed directly in swarm. The port is exposed across the entire cluster and forwarded to the correct instance via ipvs.

@cpuguy83, I see. Just clarifying, there is not port  colisions at all?  Making as in the .yml file above?

Give it a try.
You can't have two services expose the same ports, it won't be scheduled.

@cpuguy83, Actually, I did and works and I didn't receive any errors. However, when I try to reach my endpoint some times I got it. Some times I get 404 - Not Found. This is strange behavior, you don't think?
adriano-fonseca@pro-pae-4638LNX:~/projects/adriano-fonseca.github.io$ docker service ls
ID            NAME               MODE        REPLICAS  IMAGE
5x25oapurf46  api-java_app       replicated  2/2       adrianofonseca/app:latest
j08p28jup24i  api-java_postgres  replicated  1/1       adrianofonseca/postgres:9.5
adriano-fonseca@pro-pae-4638LNX:~/projects/adriano-fonseca.github.io$ docker service ps api-java_app
ID            NAME            IMAGE                      NODE      DESIRED STATE  CURRENT STATE         ERROR  PORTS
uzsreadaii2a  api-java_app.1  adrianofonseca/app:latest  swmaster  Running        Running 17 hours ago
wnpomw3c7o9u  api-java_app.2  adrianofonseca/app:latest  swmaster  Running        Running 17 hours ago
docker service inspect api-java_app --pretty

ID:		5x25oapurf469ibrvj5s2rfad
Name:		api-java_app
Labels:
 com.docker.stack.namespace=api-java
 info=backend
Service Mode:	Replicated
 Replicas:	2
Placement:
ContainerSpec:
 Image:		adrianofonseca/app:latest@sha256:f450e1cc27b59c70d432d404d5edb240ad38e073f4d157f2c0e74b805c785782
Resources:
Networks: rm822fm61a045cvyxb48lv4er
Endpoint Mode:	vip
Ports:
 PublishedPort 8080
  Protocol = tcp
  TargetPort = 8080
 PublishedPort 9990
  Protocol = tcp
  TargetPort = 9990

@adriano-fonseca You can have multiple replicas of the same service yes.
 When a request comes in to any IP of a cluster node the request is routed to one of the replicas.
If you are getting a 404, it sounds like it's the app returning a 404. This is handled at L4, not L7.

@cpuguy83, both replicas are in the same node in this case...
I think that a figure out. The 404 are happen when the replicas are steel upping, after a time all works fine. The service in question is a Wildfly running, probably the readiness check are returning ok, before the service are completely up. There is some configuration to make this work properly?

@adriano-fonseca Not in 1.12 (at least not at runtime), but in 1.13:
      --health-cmd string                Command to run to check health
      --health-interval duration         Time between running the check (ns|us|ms|s|m|h)
      --health-retries int               Consecutive failures needed to report unhealthy
      --health-timeout duration          Maximum time to allow one check to run (ns|us|ms|s|m|h)


Fix #29: Separate different FAILED states

Note that the DDL and initial data has changed and it is incompatible with previous data because of change of AuthResult: FAILED->AUTH_FAILED (to separate AUTH_FAILED and AUTH_METHOD_FAILED states).
Furthemore, the number of allowed authorization attempts and whether to check failures at all can be configured in table ns_auth_method (columns check_auth_fails and max_auth_fails).
Also note that FAILED states are separted in AuthStepResult, AuthResult didn't change.
Full changelog:

Fix #29: Separate different FAILED states, as described above.
Fix #55: Implement central check for failed authorization attempts - each method in NS can be configured with the number of allowed authorization attempts, if it is exceeded the method fails.
Updated schema and DDL for new AuthStepResult and new transitions in NS - it is better to drop tables and load data again.
Support for maximum number of authentication attempts during login - this showcases the NS support for checking number of failed attempts.
Configuration of maximum number of FAILED results per method saved in database, as described above.
Partial implementation of fallbacks - in case two authentication methods are available and one fails, the non-failing authentication method is preferred. We may need to improve the UI to handle this.
Failed attempts are now logged into operation history when buildAuthorizationResponse() method is called and authenticate() method returns null. We don't do this for the mtoken step, partial failures are just polling.
Method failAuthorization() can be called from auth methods to log failed attempt. This is shown in FormLoginController.

Here is screenshot of operation history when login operation fails with AUTH_METHOD_FAILED after maximum number of attempts is exceeded.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.13.4",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e623f79691c5104317669ab36ec316a90c05062f"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "e623f79691c5104317669ab36ec316a90c05062f",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "scsi: megaraid_sas: Fix resource leak in case of probe failure\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.13.4 by commit e623f79691c5104317669ab36ec316a90c05062f. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001201


Exclude Markdown files from triggering build

Description of the new feature / enhancement
Currently, changes to markdown files will trigger a full build that takes around 40 minutes to complete. For documentation updates that don't require compilation, no builds should be triggered on the pipeline.
Scenario when this would be used?
When no build output is required, e.g updating docs / README
Supporting information
No response

Duplicate of #16615


add DeleteRange operation

Make sure that you've checked the boxes below before you submit PR that adds a new operation:

[x] I implemented the operation for all applicable types
[x] I put all code in a seperate .go file named after the operation
[x] I included tests for all functions
[x] I documented all functions
[x] I named all functions using the OperationType convention. For example MinInt32 instead of Int32Min
[x] I included one testable example at the end of the test file
[x] I added a simple example in the Example section of Readme
[x] I updated the Operations section of Readme

Thanks for your PR, you're awesome! :+1:

Codecov Report

Merging #20 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master    #20    +/-   ##
======================================
  Coverage     100%   100%
======================================
  Files          10     11     +1
  Lines        1366   1556   +190
======================================
+ Hits         1366   1556   +190

Flag
Coverage Δ

#unittests
100% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

deleterange.go
100% <100%> (ø)

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 7d4fecb...ea4442a. Read the comment docs.


[improvement] Move date-setting to forms.json

This is more a note to myself than anything else (though if you get to it first, you're welcome to it), but I think the date-setting in forms can be moved out of makeForm.js and into the individual entries, speeding everything up a fair bit. The date-determining could still be written as a function in makeForm.js for space purposes.

Seems like it was a failed experiment as of a915bdb. Closing for now.


[docs][material-ui][Dialog] The "Confimation dialog" demo has incorrect description

Related page
https://mui.com/material-ui/react-dialog/
Kind of issue
Unclear explanations
Issue description
the text says "or pressing Back, cancels the action and closes the dialog", but i tried both on desktop and phone, with Chrome, and "back" doesn't work, acting like the dialog wasn't even there
Context
No response
Search keywords: example description not matching

There's no Back button or icon. I think we should remove that text:
--- a/docs/data/material/components/dialogs/dialogs.md
+++ b/docs/data/material/components/dialogs/dialogs.md
@@ -113,7 +113,7 @@ function MyComponent() {
 Confirmation dialogs require users to explicitly confirm their choice before an option is committed.
 For example, users can listen to multiple ringtones but only make a final selection upon touching "OK".

-Touching "Cancel" in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes
the dialog.
+Touching "Cancel" in a confirmation dialog, cancels the action, discards any changes, and closes the dialog.


CI job pmem-csi-periodic success rate very low after Sep-8: connection refused

After Sep-8th we started to see many failures. Success rate 5/22 jobs since then.
Do we know already and/or can we track down the cause(s), changes that may have contributed ?

After running tests in a loop, I just caught one instance of slow (but not fatally slow) test startup with four minutes of "connection refused" errors:

"lvm-testing sanity PMEM-CSI can mount again after reboot" killed all pods because it had to reboot a node, which increments the restart counter at 12:11:05
"lvm-testing sanity PMEM-CSI can publish volume after a node driver restart" starts and begins waiting the driver at  14:11:15
it logs four "connection refused" errors, each one minute apart, before finally the missing socat pods get created at  12:16:40

So what happens here is that the daemonset controller takes a long time to create the pods.
Looking into the kube-controller log, one can see:
E0921 12:11:07.532563       1 daemon_controller.go:292] default/pmem-csi-node-testing failed with : Internal error occurred: failed calling webhook "pod-hook.pmem-csi.intel.com": Post https://pmem-csi-scheduler.default.svc:443/pod/mutate?timeout=30s: dial tcp <IP_ADDRESS>:443: connect: connection refused

Not surprising, we just killed the pod which provides the webhook... It looks like the controller then goes into an exponential backoff and depending on the exact timing, that then can lead to minutes before it tries again.
The reason why we see that more now is that https://github.com/intel/pmem-csi/commit/35c1182baa83c8b969341a5a54942d665a89343c#diff-84cb29332213948b2ef38a9d0c899903 introduced the container restart test and with it the code which kills all pods.
The solution could be two-fold:

make the webhook optional, i.e. allow pod scheduling while it is down
exclude the socat pods from the webhook

The second point is obviously correct and should solve the issue. Whether we need the first point is up for debate...

Might have been fixed by PR #739

most recent job 920 which I believe had latest changes, has timed out (4h run time) in all versions. This is different profile from previous runs.

Testing on 1.17 and 1.18 had no failures and was making progress right until the jobs were killed, i.e. testing just ran too slowly.
On 1.19 (https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/blue/rest/organizations/jenkins/pipelines/pmem-csi/branches/devel/runs/242/nodes/93/steps/110/log/?start=0), there was:
[2020-09-22T13:58:27.965Z] Sep 22 13:58:27.783: FAIL: validate driver after update and restart
[2020-09-22T13:58:27.965Z] Unexpected error:
[2020-09-22T13:58:27.965Z]     <*errors.errorString | 0xc003a7be80>: {
[2020-09-22T13:58:27.965Z]         s: "timed out waiting for deployment, last error: deployed driver different from expected deployment:\nlabel foo missing for \"pmem-csi-with-defaults-external-provisioner-cfg\" of type \"rbac.authorization.k8s.io/v1, Kind=Role\" in namespace \"default\"\nlabel foo missing for \"pmem-csi-with-defaults-external-provisioner-runner\" of type \"rbac.authorization.k8s.io/v1, Kind=ClusterRole\" in namespace \"\"\nlabel foo missing for \"pmem-csi-with-defaults-csi-provisioner-role-cfg\" of type \"rbac.authorization.k8s.io/v1, Kind=RoleBinding\" in namespace \"default\"\nlabel foo missing for \"pmem-csi-with-defaults-csi-provisioner-role\" of type \"rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding\" in namespace \"\"\nlabel foo missing for \"pmem-csi-with-defaults-controller\" of type \"/v1, Kind=ServiceAccount\" in namespace \"default\"\nlabel foo missing for \"pmem-csi-with-defaults-controller\" of type \"/v1, Kind=Service\" in namespace \"default\"\nlabel foo missing for \"pmem-csi-with-defaults-metrics\" of type \"/v1, Kind=Service\" in namespace \"default\"\nlabel foo missing for \"pmem-csi-with-defaults\" of type \"storage.k8s.io/v1beta1, Kind=CSIDriver\" in namespace \"\"",
[2020-09-22T13:58:27.965Z]     }
[2020-09-22T13:58:27.965Z]     timed out waiting for deployment, last error: deployed driver different from expected deployment:
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-external-provisioner-cfg" of type "rbac.authorization.k8s.io/v1, Kind=Role" in namespace "default"
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-external-provisioner-runner" of type "rbac.authorization.k8s.io/v1, Kind=ClusterRole" in namespace ""
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-csi-provisioner-role-cfg" of type "rbac.authorization.k8s.io/v1, Kind=RoleBinding" in namespace "default"
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-csi-provisioner-role" of type "rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding" in namespace ""
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-controller" of type "/v1, Kind=ServiceAccount" in namespace "default"
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-controller" of type "/v1, Kind=Service" in namespace "default"
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults-metrics" of type "/v1, Kind=Service" in namespace "default"
[2020-09-22T13:58:27.965Z]     label foo missing for "pmem-csi-with-defaults" of type "storage.k8s.io/v1beta1, Kind=CSIDriver" in namespace ""
[2020-09-22T13:58:27.965Z] occurred

@avalluri : this looks like https://github.com/intel/pmem-csi/issues/742

Testing on 1.17 and 1.18 had no failures and was making progress right until the jobs were killed, i.e. testing just ran too slowly.

In these two jobs, there's just a single "Still waiting" message, i.e. driver startup typically happened in less than a minute. Looks like the commits from PR #739 helped.

one of recent merges (#743, #745) made good impact, likely the one increasing of the timeout. Most recent job 925 succeeded, where run times were between 4 and 5 hours.

Recent 5 runs all good, closing issue.


The attribute ‘date’ may not appear in tag ‘time’.

We need to fix this validation issue: https://wordpress.org/support/topic/the-attribute-may-not-appear-in-tag-a/#post-8418988
REPORTED: https://wordpress.org/support/topic/the-attribute-may-not-appear-in-tag-a/#post-8418988

#203


Add 500 and 600 level text colors to Atomic

Erik and I decided to expand the color list a little bit.

Just realized that I had done the changelog incorrectly. The version number gets added during the release process. @egoens, can you take one more look?


CudnnRNNParamsSize Error

Hello,
When i use CPU, it works normally. But when i use GPU, i got this error:
InvalidArgumentError (see above for traceback): No OpKernel was registered to support Op 'CudnnRNNParamsSize' with these attrs.  Registered devices: [CPU], Registered kernels:
device='GPU'; T in [DT_DOUBLE]; S in [DT_INT32]
device='GPU'; T in [DT_FLOAT]; S in [DT_INT32]
Can someone help me solve this problem ?
Thanks.

I encounter the same problem.

I solve it.
I uninstall the tensorflow, and install tensorflow-gpu. it works.
therefore, the tensorflow==1.4.0 in requirements.txt should be modified to tensorflow-gpu==1.4.0

I solve it.
I uninstall the tensorflow, and install tensorflow-gpu. it works.
therefore, the tensorflow==1.4.0 in requirements.txt should be modified to tensorflow-gpu==1.4.0

Thanks for your solution. I'll update it in Readme.

@mickyyu96 when I use CPU, I got the same error. could you show your environment dependency or your python packages? Thanks

Must it be version 1.4.0 ?
or can i use version 1.4.1 ?


Show degree directions for the selected aircraft

This also requires minor fixes to:

input, to prevent unintended persistence of the directions once an
aircraft is deselected by pressing Esc.
canvas, to improve the resolution of the directions.

A screenshot of the directions in action (the layer is only active when an airplane is selected): here.

This is an interesting idea.
I generally play zoomed out to see the whole center and don't pan or zoom much.  Therefore commands are often given to aircraft near the edge of the screen.  In this modification it results in an unreadable bunching of numbers/marks on the edge nearest the aircraft.

I think this idea could be useful to newer users.
I try to assign fixes as much as possible, and after headings are assigned over time I think there is a training effect. In the early days, the brain is trying to figure out what number matches the desired direction, but over time it becomes automatic.
Side comment: I liked the use of a separate canvas, and it looks like the existing code was set up with multiple canvases but they aren't used.  The monolithic canvas.js could be partitioned so that features like this could be added easier, and redrawing would be minimized. For example http://stackoverflow.com/questions/3008635/html5-canvas-element-multiple-layers.)

I agree about bunching when the aircraft is near the edge of the screen, however this direction is usually the opposite one from the direction that you're interested in, so it doesn't matter that much. In terms of polish, I considered simply avoid drawing the numbers (and possibly the degree marks) if they are too close to the aircraft, however I decided to do it as a separate commit.
Fixes work great for the airports that have enough of them, unfortunately some airports have rather unhelpful fixes (EDDH is an example). Also it's occasionally useful to be able to turn the aircrafts ever so slightly when they are in danger of passing too close shortly.

I'm on the fence about using separate canvases. Unfortunately I miss the context for why they are present in the code but not used.
One possible reason of why multiple canvases could be bad could be the increased amount of memory/CPU needed to handle them, but I don't know how serious that problem is.
Partitioning different things into separate canvases could be a useful change in terms of extensibility, however it seems that most of the canvases would need to be updated on every frame.

It was originally intended to speed things up so that the runway, etc. didn't have to be continuously redrawn, but since panning and zooming have been added (and the runways are very fast), it turned out to be slower (on my computer) to use multiple canvases.

OK, sounds like I should rework this change to just use a single canvas.

I did an experiment with multiple canvases at one point and found it was slower on my system as well.

As of commit 0717412, this has been reworked to use a single canvas as requested. This is a helpful feature for beginners who have trouble choosing good headings, and though it will soon be made a toggleable option (disabled by default), I see no reason not to merge these changes. Performance with and without this change is showing no appreciable difference.


"make docs" triggers jinja2 error: more_credits is undefined

Fixed by setting a default value for more_credits
Note that author_username  in the jinja template is not defined either
This aims to fix #17

Thanks, a couple of comments :slightly_smiling_face:

Oh well, some issues with PDM and Windows it seems. Not important, I'll merge. Thanks again @francisco-perez-sorrosal!


Sequence longer than PWM bug.

In motifs.py, score_motif function sometimes throws an error. Basically, put in a noisy bypass for now, but I'm sure it's skipping motifs in the database because of it. Not sure what the issue is, need to debug.

I think this might be an issue with chromosome order or something, because if you only use the first ~1000 lines of a file (all one chromosome), it seems to work fine.

see issue #35. I think they are potentially related.

Pretty sure this has been fixed. See issue #35.


Popup menu floating with keyboard opened

If there's 2 Scaffold one inside the other when you tap on the 3-dots menu when the keyboard is open the keyboard will be closed and the menu will float.
I'm using the latest flutter stable release (1.12.13+hotfix.7)

Here's all the code to reproduce the error

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    List<Choice> choices = <Choice>[
      Choice(title: "Menu 1", icon: Icons.reorder),
    ];

    return Scaffold(
        body: Scaffold(
      bottomNavigationBar: BottomAppBar(
          color: Colors.red,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.end,
            children: <Widget>[
              PopupMenuButton<Choice>(
                icon: Icon(
                  Icons.more_vert,
                  color: Colors.white,
                ),
                itemBuilder: (BuildContext context) {
                  return choices.map((Choice choice) {
                    return PopupMenuItem<Choice>(
                      value: choice,
                      child: Text(choice.title),
                    );
                  }).toList();
                },
              ),
            ],
          )),
      body: Center(
        child: TextFormField(
          decoration: InputDecoration(labelText: "TFF1"),
        ),
      ),
    ));
  }
}

class Choice {
  const Choice({this.title, this.icon});

  final String title;
  final IconData icon;
}

Issue exist
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.18.0 at /Users/taha/Code/flutter_dev
    • Framework revision de1e572916 (13 hours ago), 2020-04-06 16:15:07 -0700
    • Engine revision df257e59c2
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E266
    • Chrome        • chrome                    • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server    • web-server                • web-javascript • Flutter Tools

• No issues found!

any workaround to fix this issues?

I'm having the same problem

@mehrdad-shokri , I posted a workaround here https://github.com/flutter/flutter/issues/24843

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    List<Choice> choices = <Choice>[
      Choice(title: "Menu 1", icon: Icons.reorder),
    ];

    return Scaffold(
        body: Scaffold(
      bottomNavigationBar: BottomAppBar(
          color: Colors.red,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.end,
            children: <Widget>[
              PopupMenuButton<Choice>(
                icon: Icon(
                  Icons.more_vert,
                  color: Colors.white,
                ),
                itemBuilder: (BuildContext context) {
                  return choices.map((Choice choice) {
                    return PopupMenuItem<Choice>(
                      value: choice,
                      child: Text(choice.title),
                    );
                  }).toList();
                },
              ),
            ],
          )),
      body: Center(
        child: TextFormField(
          decoration: InputDecoration(labelText: "TFF1"),
        ),
      ),
    ));
  }
}

class Choice {
  const Choice({this.title, this.icon});

  final String title;
  final IconData icon;
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (5 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/tahatesser/Code/flutter_master
    • Framework revision 71aec53acb (5 hours ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    List<Choice> choices = <Choice>[
      Choice(title: "Menu 1", icon: Icons.reorder),
    ];

    return Scaffold(
        body: Scaffold(
      bottomNavigationBar: BottomAppBar(
          color: Colors.red,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.end,
            children: <Widget>[
              PopupMenuButton<Choice>(
                icon: Icon(
                  Icons.more_vert,
                  color: Colors.white,
                ),
                itemBuilder: (BuildContext context) {
                  return choices.map((Choice choice) {
                    return PopupMenuItem<Choice>(
                      value: choice,
                      child: Text(choice.title),
                    );
                  }).toList();
                },
              ),
            ],
          )),
      body: Center(
        child: TextFormField(
          decoration: InputDecoration(labelText: "TFF1"),
        ),
      ),
    ));
  }
}

class Choice {
  const Choice({this.title, this.icon});

  final String title;
  final IconData icon;
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (5 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/tahatesser/Code/flutter_master
    • Framework revision 71aec53acb (5 hours ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

I create a package keep_keyboard_popup_menu to solve this issue:

Please add ability to show widgets above keyboard.

Please fix this issue :((

I create a package keep_keyboard_popup_menu to solve this issue:

Great work, but causes exceptions on latest 2.5 stable - Would greatly appreciate a native fix by Flutter Team, this is pretty essential

Mybe this can help
https://stackoverflow.com/a/70643556/13005736


HI-RES CHIP-8 resolution

The extension reference says that both CHIP-10 and HI-RES CHIP-8 have a resolution of 128 x 64. This is subtly incorrect.
CHIP-10 is indeed 128 x 64 (through some trickery and extra hardware requirements), but HI-RES CHIP-8 is in fact 64 x 128, which it achieves by reducing each pixel's vertical height from four scanlines to one.

Good catch! Thanks for pointing this out. I have updated the Extension Reference to fix this.


Use the getRawSkeleton() function for better performance

On dart's speed_test example application, this improved performance by ~12% on my machine.

I tested this with one of the SubT practice tunnel circuits. Unfortunately I didn't see a noticeable performance improvement. This is probably because the time spent in step() is dominated by collision checking for this particular world.

Seems like there was some improvemen. Here is a plot from Remotery showing time spent in World::step.

I added category bits and ODE collision space hierarchies here, which seem to significantly improve
the performance of dSpaceCollide.


Rounding bug with tax calculations

Hello,
Currently there is a bug with the first_payment total caused by a rounding mistake. It might be that this is also the case for the subscription payments later on as it might use the same code.
Steps to reproduce

set the taxPercentage to return 21
set first payment amount to '10.00'
create a new newSubscription with trialUntil set, so the first_payment code is used.

Current result
The total to be payed is 10.01
Expcted result
The total to be payed is 10.00
Cause
I tracked it down a bit, but it's too integrated/deep down for me to create a quick PR. What's happening is that you first calculate the tax,  and then subtract this tax from the total amount (FirstPaymentSubscriptionBuilder@create). However this subtotal is now a rounded number. The rounded number is added to the actions etc, and then the taxPercentage is re-applied to the rounded number. This is incorrect.
$10/1.21 = $8.26446280992
$8.26446280992 + 8.26446280992*0.21 = $10 = correct
BUT
You pass 10/1.21100 to the subtotal as 827 (instead of 826.4) and then in preparing the payload (BaseAction@getTax) you re-apply the 0.21 tax to the subtotal so 8270.21 = 173.67 (but this is a wrong number, as its taken from an already rounded number) which is then added to the subtotal ( 827 + 173.67  = 1000.67) and divided by 100 and rounded again to $10.01 = incorrect.

Can you help drafting a PR?

Same problem here. It's rounding too much and it's not precisely

Fixed in release v1.14.1


TabView sample crashes when dropping tab on or outside window area (like you would in a browser)

In the tab view sample with a second window, dragging and dropping a tab onto the title bar area crashes the entire app. Also, dragging and dropping a tab outside the window crashes the entire app.
Steps to reproduce the behavior:

Launch the tab view sample
Scroll to the bottom and launch the full sample.
Try dragging a tab onto the title bar area or try to create a new window

Expected behavior
The app shouldn't crash; a new window should be created.
Actual behavior
The app crashes.
Screenshots

Version Info
Gallery version (found on Settings page): <IP_ADDRESS>
Windows 10 version:

[x] October 2018 Update (17763)

Device form factor:

[x] Desktop

Thank you for reporting this issue. I'm not able to reproduce the issue (on Win10 version 19035), so we'll need to do a little bit of debugging.
Is this version of the Gallery the one found on the Store? Or is a version that you've built and run locally in Visual Studio?
CC: @teaP for FYI

I got it through the store

Since I'm not able to reproduce the issue locally, we will need your help gathering more information.
The most expedient way to gather this information is likely to attach a debugger. Do you have Visual Studio installed? If you clone the repo and run the sample under a debugger, do you still see the crash?
I know installing VS/cloning/building/running/debugging can take up a bunch of time so if you're unable to do these steps, I understand. Another option might be finding the crash dump through Store telemetry, though I've had limited success with this method.

@stmoy
Exception details:
System.TypeLoadException
  HResult=0x80131522
  Message=Requested Windows Runtime type 'Windows.UI.WindowManagement.AppWindow' is not registered.
  Source=System.Private.CoreLib
  StackTrace:
   at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
   at Windows.UI.WindowManagement.AppWindow.TryCreateAsync()
   at AppUIBasics.TabViewPages.TabViewWindowingSamplePage.<Tabs_TabDroppedOutside>d__8.MoveNext() in C:\Users\nath9278\Documents\Dev\Xaml-Controls-Gallery\XamlControlsGallery\TabViewPages\TabViewWindowingSamplePage.xaml.cs:line 125

Inner Exception 1:
COMException: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

@nCastle1 - you rock. Thank you for providing this info. I had a suspicion that it was related to AppWindow. Let me sync with some folks internally to see if they have any insight.
My guess is that AppWindow might not be present on Win10 version 17763.

After a bit more digging, it looks like AppWindow isn't supported on 17763. AppWindow API Docs
It looks like it was introduced in 18362. I've updated the title of this bug to reflect that we should disable the "tear out" behavior on Win10 versions < 18362.


Adding concatenate_prompts option when creating openai completions

Added a new option that will allow adds an option to either concatenate all prompts into a single string, or create a list of prompt strings.

Closing this PR and moving to here: https://github.com/triton-inference-server/client/pull/584
The branch name does not reflect the change.


Actions list is empty

Hello!
Version
Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.21
react-native v0.47.2

Expected behaviour
Actions.myScene should transition to that scene
Actual behaviour
throws underfined is not a function
Steps to reproduce
Could not start  Example project to reproduce. It gave me native module cannot be null
I have almost same setup as in README. But in my case Actions does not have any information about my scenes. I've tried to log create and processScene in navigationState (Actions) - they never called.
What I'm missing?

Please try to reproduce it with Example project. Probably you are using Actions before it is created. Try to wrap it into function, like () => Actions.myScene()

@aksonov Thanks!
My mistake! I'm trying to migrate from v3 to v4 and I was using
Scene, Router from react-native-mobx. I guess it is not needed anymore?

Yes. Just pass wrapBy={observer} to Router and you don't need to wrap your scenes manually!

Ok! Thanks!


Make granite workitem comment available to email template

Make granite workitem comment available to email template as: {wfStepComment}

Pull Request Test Coverage Report for Build 5566

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 56.115%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/email/process/impl/SendTemplatedEmailProcess.java
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ProcessErrorReportExcelServlet.java
1
66.22%

Totals

Change from base Build 5518:
-0.008%

Covered Lines:
15366

Relevant Lines:
27383

💛  - Coveralls

@drewrobinson ill merge this since you've defined a namespaced (wfStep) for WF Step variables.. so this should position you nicely to add other WF Step variables to the map as you need later.
If you do take this on - Carefully handle the various data-types that can be passed through though, vs doing some generic blanket serialization to Stings.

@davidjgonzalez @godanny86 Great recommendations - sounds great. I absolutely agree. This addresses my immediate use case and sets up the next steps beautifully. I appreciate your help with this.


Reuse buffers in BaseImageRecordReader

The byte[] allocations here can add up to a lot of memory and GC thrashing:
https://github.com/deeplearning4j/DataVec/blob/9a104e7cd8d759e5fc7f3eac1bd01f5c5454bff0/datavec-data/datavec-data-image/src/main/java/org/datavec/image/loader/NativeImageLoader.java#L404

Some thoughts here:
A simple solution is keep the largest (so far) required byte[] buffer in NativeImageLoader... it would have to be per thread, or a simple pool (shared between threads). try/catch on loading, allocate a larger one if required.
The only issue with that is that what happens if we're done with image loading in our program? that byte[] can never be cleanup up by the GC. But given it's the raw File bytes (I think?) it should only be a few MB, maybe this doesn't matter.
A slightly more sophisticated option might be a pool/queue of weak references - reuse the byte[] if available, but allow it to be GC. Reliable and easy - but the downside of that is that we end up with more allocations/deallocations than if we just kept a hard reference.
Finally (perhaps a bit ugly) we could add a scheduled task to the queue - clear the reference if it doesn't get used for say 30 second.

NativeImageLoader already maintains a state and it's not designed to be used across threads, so we can keep a buffer around in a field without any issue. It'll get garbage collected when that instance of NativeImageLoader also gets garbage collected.

@saudet Ah, good point. The byte[] doesn't need to be static. OK, that makes it way easier. :)


Add checkout shortcut

Checking out is one of the most used features IMHO.
Adding key for that. To fix conflict in :apple:, make it behave as normal humans and commit with x.
Have you looked at the guidelines for contributing to this codebase?
Have you added tests and run apm test?

If you remap a keybinding, I'm going to get a slew of people complaining about how the keybindings have changed. I suggest you make that change in your local keymap because in the near future, I'm going to remove the default keybindings, so users can declare their own.


refactor log.Fatal and panic

I'm working to increase the coverage of the package and I have found a few log.Fatal and two panic call's inside the packages.
This is a problem since if I test those conditions, the test breaks.
I'm thinking in refactor the code and handle the errors inside cmd/prestd.
What do you guys think about it?

About log.Fatal aka panic: we should use fatal only where it is necessary to pass some information before the prestd server goes up, e.g. database connection invalidates.
After the server is online we can not drop the server, it must be a resilient service

https://speakerdeck.com/felipeweb/testes-avancados-em-go?slide=27 we can test as a subprocess @tiaguinho

Thank you @felipeweb, I'll take a look.

@felipeweb subprocess works but doesn't change the coverage. Do you know if I need to do something more?

I don't remember if needs something more
On Wed, Aug 26, 2020, 07:14 Tiago Temporin<EMAIL_ADDRESS>wrote:

@felipeweb https://github.com/felipeweb subprocess works but doesn't
change the coverage. Do you know if I need to do something more?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prest/prest/issues/401#issuecomment-680790990, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFF6GNKYAODYPR2UJEXUPDSCTOBVANCNFSM4QCATRGQ
.


unconfirmed transactions

If you run "info", while mining, you get these unconfirmed transactions for the "mining" transactions that are not confirmed. Not a big issue as you still get the coins, but it just makes some extra unneeded transactions.

Another example. Immediately after running "info" the "mining" outputs are deleted.

Related to this issue, a few outputs do not have the tx_id associated with them. See the output of "outputs"

And "txs"

tx_id 4 is not found in outputs, but the transaction is in transactions.

Also, txid jumps in this screenshot. From 14 to 5864. That was the next block. I think what happened is there were a whole bunch of unconfirmed transactions. Everything worked and funds were available, but it looks strange to see 5000 unconfirmed transactions when you're mining block 16.

The tx_index seems to be deleted from outputs, whenever you run the "txs" command while mining. The tx_index dissapears from the transaction that is currently being mined and it never comes back.

But it can also happen when "outputs" is run.