Song preview in freeplay bug

Describe your bug here.
When I put mods (like whitty, tricky, weekend 1 mod, or just i rename the base game mod folder), the song preview is not working. It does that with source code. I tried without using the source code, and the song preview is working. But not with source code.
Command Prompt/Terminal logs ()
source/states/freeplay/FreeplayState.hx:2014: Internal failure loading instrumentals for Faucet (HQ) "mods/whitty/songs/faucet-(hq)/Inst.ogg"

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Only the MainMenuState.hx but I dont think that it is the problem.

Because you modified this engine with source: can you send me the exact list of libraries you compiled it with? (The one from "haxelib list")

Yes sure!
actuate: [1.9.0]
box2d: [1.2.3]
discord_rpc: [git]
flixel-addons: 3.2.2 [3.2.3]
flixel-demos: 3.1.0 [3.2.0]
flixel-templates: 2.6.6 [2.7.0]
flixel-tools: [1.5.1]
flixel-ui: 2.6.0 [2.6.1]
flixel: 5.6.2 [5.8.0]
flxanimate: [git]
FlxPartialSound: [git]
hscript: [2.5.0]
hxCodec: [3.0.2]
hxcpp: [4.3.2]
hxdiscord_rpc: [git]
layout: [1.2.1]
lime-samples: [7.0.0]
lime: 8.1.2 [8.1.3]
linc_luajit: [git]
newgrounds: [2.0.2]
openfl-samples: [8.7.0]
openfl: 9.3.3 [9.3.4]
polymod: [git]
SScript: 8.1.6 10.0.618 [17.2.618]
systools: [1.1.0]
thx.semver: [0.2.2]
tjson: [1.4.0]

idk if it was what u are asking for ://

You have incorrect haxe libraries defined. Information about correct libs are located both in hmm.json and setup scripts

Oh okay

Okay so I tried to setup again, and it worked. Tysm for your help!


Add global Python dependencies configured in .platform.app.yaml

Install global Python 2 and Python 3 dependencies in the container, as configured in .platform.app.yaml

I think it's fine if we stick with Python 3.
Python 2 is still installed in all containers.


Addition of backend resources

Hello Emmanuel
I don't seem to understand this commit, you deleted a whole html page which
is specifically for backend development and added resources
of a whole lot of courses, Kindly check again.
On Sun, Nov 28, 2021 at 4:08 PM netlify[bot] @.***>
wrote:

✔ Deploy Preview for tech-career ready!
🔨 Explore the source changes: 57ecbce
https://github.com/toriola998/tech-career/commit/57ecbce27bff272dc8442baeb0378ea56d4b40c4
🔍 Inspect the deploy log:
https://app.netlify.com/sites/tech-career/deploys/61a39b61abe7de00086e97fb
😎 Browse the preview:
https://deploy-preview-8--tech-career.netlify.app/views/backend-development
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/toriola998/tech-career/pull/8#issuecomment-981101342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZZLU4XJ5GWJ2POR6CWXU3UOJAXBANCNFSM5I5MSTNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Attached to this mail is a live preview of your new changes.
On Sun, Nov 28, 2021 at 5:25 PM FAIDAT TORIOLA @.***> wrote:

Hello Emmanuel
I don't seem to understand this commit, you deleted a whole html page
which is specifically for backend development and added resources
of a whole lot of courses, Kindly check again.
On Sun, Nov 28, 2021 at 4:08 PM netlify[bot] @.***>
wrote:

✔ Deploy Preview for tech-career ready!
🔨 Explore the source changes: 57ecbce
https://github.com/toriola998/tech-career/commit/57ecbce27bff272dc8442baeb0378ea56d4b40c4
🔍 Inspect the deploy log:
https://app.netlify.com/sites/tech-career/deploys/61a39b61abe7de00086e97fb
😎 Browse the preview:
https://deploy-preview-8--tech-career.netlify.app/views/backend-development
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/toriola998/tech-career/pull/8#issuecomment-981101342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZZLU4XJ5GWJ2POR6CWXU3UOJAXBANCNFSM5I5MSTNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Woww..that was a huge mistake. I'll fix that now. Thanks.


When the count of train_examples is not divisible by the train_batch_…

…size,the tail batch of last epoch can't be trained

Check Your Region NetworkDian Jaka WidiawanOn Feb 8, 2022 10:04 AM, 天地 @.***> wrote:
Closed #1291.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Ensure DEMO_MODE is able to cope with LLM server side errors

I may be seeing problems where if the LLM fails to give a good response while we are using DEMO_MODE=true, we get stuck in a spot where we can not recover.  This is not confirmed and is only a guess based on my trying several times to generate a response for a specific file service/ShoppingCartOrderProcessor.java.
I am guessing that the situation is:

Start with NO cached response
Server attempts to get response from LLM, it goes through several retries and fails each time
We exhaust retries and don't have a response
We cache the bad response or get into a bad state
All subsequent requests to this file fail

Perhaps we need some logic that will only cache a response for a successful request from LLM?

I am running with:

DEMO_MODE=true

kai/config.toml:
  provider = "IBMOpenSource"
  args = { model_id = "mistralai/mixtral-8x7b-instruct-v0-1" }

I am using the IDE and attempting to general a 'fix all' for service/ShoppingCartOrderProcessor.java

ERROR - 2024-04-08 15:11:48,525 - [server.py:582 - get_incident_solutions_for_file() ] - /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java failed to migrate
INFO - 2024-04-08 16:08:29,205 - [server.py:470 - get_incident_solutions_for_file() ] - START - App: 'coolstore', File: '/Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java' with 10 incidents'
INFO - 2024-04-08 16:08:29,264 - [server.py:548 - get_incident_solutions_for_file() ] - Processing incident batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java
WARNING - 2024-04-08 16:08:29,276 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-08 16:08:39,311 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-08 16:08:49,345 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-08 16:08:59,375 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-08 16:09:09,415 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

ERROR - 2024-04-08 16:09:19,419 - [server.py:582 - get_incident_solutions_for_file() ] - /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java failed to migrate
INFO - 2024-04-09 07:10:25,045 - [server.py:470 - get_incident_solutions_for_file() ] - START - App: 'coolstore', File: '/Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java' with 10 incidents'
INFO - 2024-04-09 07:10:25,158 - [server.py:548 - get_incident_solutions_for_file() ] - Processing incident batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java
WARNING - 2024-04-09 07:10:25,172 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-09 07:10:35,222 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

WARNING - 2024-04-09 07:10:45,250 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

These errors:
WARNING - 2024-04-09 07:10:35,222 - [server.py:576 - get_incident_solutions_for_file() ] - Request to model failed for batch 1/1 for /Users/jmatthews/git/jwmatthews/kai/example/coolstore/src/main/java/com/redhat/coolstore/service/ShoppingCartOrderProcessor.java with exception, retrying in 10s
Can't overwrite existing cassette ('/Users/jmatthews/git/jwmatthews/kai/kai/data/vcr/coolstore/mistralai/mixtral-8x7b-instruct-v0-1/-Users-jmatthews-git-jwmatthews-kai-example-coolstore-src-main-java-com-redhat-coolstore-service-ShoppingCartOrderProcessor.java.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>) was found.
Found 1 similar requests with 2 different matcher(s) :

1 - (<Request (POST) https://bam-api.res.ibm.com/v2/text/chat_stream?version=2024-01-10>).
Matchers succeeded : ['uri', 'method', 'scheme', 'host', 'port', 'path', 'query']
Matchers failed :
headers - assertion failure :
{'host': 'bam-api.res.ibm.com', 'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-request-origin': 'python-sdk/2.2.0', 'user-agent': 'python-sdk/2.2.0', 'cache-control': 'no-store', 'content-length': '4826', 'content-type': 'application/json'} != {'accept': '*/*, text/event-stream', 'accept-encoding': 'gzip, deflate', 'cache-control': 'no-store', 'connection': 'keep-alive', 'content-length': '4952', 'content-type': 'application/json', 'host': 'bam-api.res.ibm.com', 'user-agent': 'python-sdk/2.2.0', 'x-request-origin': 'python-sdk/2.2.0'}
body - assertion failure :

mean the request was detected as a duplicate request with a different request body, which errors out by default. In #159 I've made it so that it no longer matches on request body, so it should always return a cached response. This does mean we need to be more deliberate about re-recording our responses as the prompts change

@jwmatthews can we close this one?


Add port conflict warning before creating container

Is your feature request related to a problem? Please describe.
As lots of software use standard ports such as 80, 443 or 8080, you often see errors saying that a port is already in use when creating a container.
Describe the solution you'd like
A pre-check before the container is created that asks if you'd like to proceed despite the conflict, so you can change the port before the setup begins.
Describe alternatives you've considered
Show an error when selecting an already used port on the Add Container page. However, this wouldn't work if using stacks.

Closing as this is a duplicate of #780


(small) bug: issue&bug badges could be replaced by local assets, improving CO2 footprint

As we know the exact number of bugs and issues (thanx to githubv4 API),
we should replace the shields.io badges with links to local assets:
That would mean we need to pre-generate a number of svg-files as replacements,
e.g. for 1-10 issues/bugs.
If a repo has more than that max nr, a shields.io badge could be generated. All other svg badges
would be delivered from the local asset pool (similar to FA-icons).

bug and issue svg-files generated within Jekyll site


Release of patch version for 0.14.0-beta React versions

Hello. Thanks for the great lib! It is a great improvement over original <DocumentTitle />.
I'm trying to install it it an App with React 0.14.0-beta3 and I see a fix f9320ce5b1c26e191867dd08f329603fe5b343fd But I can't use this version because if i specify
...
"react-helmet": "nfl/react-helmet",
...

then I get Module not found: Error: Cannot resolve module 'react-helmet' in ..., I suppose, because dist folder is missing in the repository.
So, please, could you build and publish this fixed version to npm? Or, even better, it would be great if there will be no peerDependencies section at all #30

Yep, we just merged in the fix last night and we will be publishing.  Thanks.

Published v 1.1.2.  Thanks.


X11 backend

To avoid SDL2 library dependency it would be great to have pure X11 based backend for DlangUI

Out of curiosity, what makes SDL2 dependency a bad thing and why is spending effort on a dying platform, which X11 more or less is, a good thing?

To reduce dependencies.
libSDL2 requires libX11 as a dependency anyway.
E.g. on OSX, libSDL2 requires to install XQuarx.
Checking possibility to implement Wayland backend as well.

X11 backend is mostly working, including OpenGL support.
Known issues:

cannot set window icon
no fullscreen support
cannot copy/paste using system clipboard

Any progress on a pure Wayland backend? That is going to be likely more difficult than X, but it would be good to see one.

Sort of a bump to my previous question, but also a question. Is there a way  to force DLangUI to use the X11 backend? SDL is doing weird things to KDE Plasma.

Use subconfiguration in your project dub file. See example
https://github.com/buggins/dlangui/blob/master/examples/example1/dub.json#L37

Thanks, I appreciate that.
It's possible, although I don't think I currently have any SDL programs installed anyway, so I can't really test it. I'm using Latte Dock specifically for both my panels (in KDE), so it's possible that it's a problem with Latte. I may do some research, but the X backend will probably fix it.

As per this issue, I believe that it is an implementation issue with Dlangui. It's basically forcing kwin to turn off compositing. Anyone have any ideas on why this is happening?
As per the issue, I can simply not allow apps to turn off compositing, but I'd rather not, given that I do play some games that I would like the best performance possible.

The X backend did fix it, but there are some fairly serious bugs (such as no cursor in the textedit widget...)

I don't have this bug. Does it happen in example1 for you?

Also there's issue in dlangide https://github.com/buggins/dlangide/issues/215

I haven't tested it. I also sometimes have issues with X cleaning up resources. Let's say I prefer to use SDL, especially now that I have this bug fixed...

Well, issues will never be fixed if you won't test and report them.
I think we need to strive to get stable x11 backend. And it's not only to get rid of sdl2 dependency. Some things just cannot be implemented using sdl2 backend (e.g. icon tray).

The cursor does show in edit lines using the X11 backend in example1.


B2Net.Models.B2Exception c000_v0001059_t0024 is too busy

I have a service that uploads a 10mb file to object storage. It does this every 3 minutes. Typically, an upload takes anywhere between 4-15 seconds. The uploads work well for a good part of the day but every so often it would fail with this exception. I have seen this happen for the past 6 days.
I haven't gone into the code to check. Maybe you know something about this?

Can you paste the code that is doing the upload here? This looks like a B2 error. The node that you are uploading to cannot accept the upload because it is too busy. Usually getting a new uploadurl and using that will solve this, but I would like to see how you are uploading to confirm.

Each upload action creates a new instance of this.

This will happen sometimes with uploads if in the time it takes to get the uploadUrl and start the upload the server gets overloaded with requests. The best thing to do for now is to wrap the Upload in a try-catch and run the upload method again on failure. Using the Upload method you are using will "refresh" the uploadUrl, which should give you a different node to upload to and resolve this error.
I have some ideas in place to solve this issue internally in the API, but have not had time yet to flesh them out.

Thanks Cory. I will try refreshing the uploadUrl. In the meanwhile you could let us know what you thinking about solving this on the API side. Maybe we can help.

I am trying to think up some sort of retry mechanism that triggers on a failed upload when the error message indicates that the node is not available for upload anymore. Something similar to the auto-retry on the newer Upload methods, but less jenky.
When we get certain error messages from the B2 api, we know with some certainty that getting a new uploadUrl will solve the problem. I have not thought of a good way to handle this yet. I have started gathering my thoughts in issue #5.


Get First selected date on Range Selection Mode

Is there any way to get the first date selected right away without tapping the second date. I noticed that CalendarDay List on setOnRangeSelectedListener() only return if you tapped the last date. I wonder  on how you can get CalendarDay List even you just tap the first date.

the OnDateChangedListener is called for the first tapped date, and OnRangeSelectedListener is called for the second tapped date


Android Compatibility

Fixed rendering
Fixed Touch input
Support Android Soft Keyboard
Fixed Android backspace button

That looks amazing, thanks!

@Alia5 Do you build it like described in the wiki?

@aggsol I built SFMLlike described in your linked article yes (even on windows)
It is to note that for full c++11 support (afterwards) you have to compile SFML with libc++_shared (or static) and use android-ndk-r12b to compile SFML.
(I just didn't install SFML to anywhere, made that by hand...)
You then can use the latest and greatest NDK bundles with AndroidStudio.
To get SFML working in AndroidStudio without dirty hacks or experimental build tools, have a look at this:
https://github.com/Alia5/SFML_AndroidStudio

BTW: I wouldn't recommend running ImGui on Android on small devices without scaling.
I work with (and use it as my daily diver) a 6.4" phone and the UI is just barely large enough.


Unable to commit changes to via the plugin anymore

I am unable to commit changes via the plugin anymore. I am able to Stage, unstage changes , change branches but when I try to commit the changes I get an error " Unable to determine Git repo path."

[
  {
    "type": "git",
    "secounds": 0.043879032135009766,
    "stderr": "",
    "command": [
      "status",
      "--porcelain",
      "-z"
    ],
    "stdin": null,
    "stdout": "M  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\u0000"
  },
  {
    "type": "git",
    "secounds": 0.026094913482666016,
    "stderr": "",
    "command": [
      "status",
      "-b",
      "--porcelain"
    ],
    "stdin": null,
    "stdout": "## fix-inactive-user-approval-process...origin/fix-inactive-user-approval-process\nM  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\n"
  },
  {
    "type": "git",
    "secounds": 0.010597944259643555,
    "stderr": "",
    "command": [
      "log",
      "-n 1",
      "--pretty=format:%h %s",
      "--abbrev-commit"
    ],
    "stdin": null,
    "stdout": "0028a14c Merged in SFDC-2089-build-dior-email-page4 (pull request #899)"
  },
  {
    "type": "git",
    "secounds": 0.06950616836547852,
    "stderr": "",
    "command": [
      "stash",
      "list"
    ],
    "stdin": null,
    "stdout": ""
  },
  {
    "type": "git",
    "secounds": 0.048963069915771484,
    "stderr": "",
    "command": [
      "status",
      "--porcelain",
      "-z"
    ],
    "stdin": null,
    "stdout": "M  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\u0000"
  },
  {
    "type": "git",
    "secounds": 0.030784130096435547,
    "stderr": "",
    "command": [
      "status",
      "-b",
      "--porcelain"
    ],
    "stdin": null,
    "stdout": "## fix-inactive-user-approval-process...origin/fix-inactive-user-approval-process\nM  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\n"
  },
  {
    "type": "git",
    "secounds": 0.015290021896362305,
    "stderr": "",
    "command": [
      "log",
      "-n 1",
      "--pretty=format:%h %s",
      "--abbrev-commit"
    ],
    "stdin": null,
    "stdout": "0028a14c Merged in SFDC-2089-build-dior-email-page4 (pull request #899)"
  },
  {
    "type": "git",
    "secounds": 0.07985901832580566,
    "stderr": "",
    "command": [
      "stash",
      "list"
    ],
    "stdin": null,
    "stdout": ""
  },
  {
    "type": "git",
    "secounds": 0.018252134323120117,
    "stderr": "",
    "command": [
      "diff",
      "--stat",
      "--no-color",
      "--cached",
      null
    ],
    "stdin": null,
    "stdout": " ...der_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess | 4 ----\n 1 file changed, 4 deletions(-)\n"
  },
  {
    "type": "git",
    "secounds": 0.046473026275634766,
    "stderr": "",
    "command": [
      "status",
      "--porcelain",
      "-z"
    ],
    "stdin": null,
    "stdout": "M  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\u0000"
  },
  {
    "type": "git",
    "secounds": 0.030153989791870117,
    "stderr": "",
    "command": [
      "status",
      "-b",
      "--porcelain"
    ],
    "stdin": null,
    "stdout": "## fix-inactive-user-approval-process...origin/fix-inactive-user-approval-process\nM  src/approvalProcesses/Order_Index__c.Sample_Order_Single_Approver_Level_US.approvalProcess\n"
  },
  {
    "type": "git",
    "secounds": 0.012295007705688477,
    "stderr": "",
    "command": [
      "log",
      "-n 1",
      "--pretty=format:%h %s",
      "--abbrev-commit"
    ],
    "stdin": null,
    "stdout": "0028a14c Merged in SFDC-2089-build-dior-email-page4 (pull request #899)"
  },
  {
    "type": "git",
    "secounds": 0.07545614242553711,
    "stderr": "",
    "command": [
      "stash",
      "list"
    ],
    "stdin": null,
    "stdout": ""
  },
  {
    "type": "error",
    "error": "ValueError('Unable to determine Git repo path.',)"
  },
  {
    "type": "git",
    "secounds": 0.010843038558959961,
    "stderr": "",
    "command": [
      "rev-parse",
      "--show-toplevel"
    ],
    "stdin": null,
    "stdout": "/Users/lm97580/Documents/Workspace/MavensMate/SFDHG\n"
  },
  {
    "type": "git",
    "secounds": 0.010999202728271484,
    "stderr": "",
    "command": [
      "rev-parse",
      "--show-toplevel"
    ],
    "stdin": null,
    "stdout": "/Users/lm97580/Documents/Workspace/MavensMate/SFDHG\n"
  }
]

Other thing I noticed that has changed is on the commit page I see the below

I cannot reproduce it. Would you try updating to the newest GitSavvy? More information will help.

Here is the info that I get in the console
which git: /usr/bin/git
os: darwin
sublime version: 3126
GitSavvy git:
I have tried uninstalling and reinstalling the plugin but I run into the same issue.

Traceback (most recent call last):
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 127, in git
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 234, in repo_path
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 262, in _repo_path
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 251, in invalid_repo
ValueError: Unable to determine Git repo path.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 137, in git
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 112, in raise_error
GitSavvy.core.exceptions.GitSavvyError: Unable to determine Git repo path.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "core.commands.commit in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 142, in
File "core.commands.commit in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 162, in run_async
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 141, in git
UnboundLocalError: local variable 'end' referenced before assignment
Traceback (most recent call last):
File "core.commands.status_bar in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 57, in run_async
File "core.git_command in /Users/lm97580/Library/Application Support/Sublime Text 3/Installed Packages/GitSavvy.sublime-package", line 276, in _repo_path
TypeError: argument of type 'NoneType' is not iterable

It is still unclear how it happened, but I hope that #719 will address this.

I'm getting a possibly related error (in the sublime text console) when trying to open the git status screen:
`/usr/bin/git rev-parse --show-toplevel` failed with following output:
fatal: Not a git repository (or any of the parent directories): .git

However, it happens for a repo that lives on a mounted NTFS partition. For a different repo that lives on my main (ext4) drive, it works fine.

@randy3k  I upgraded the package and tested and all looks good again . Thanks for the quick turn around !!


Added cascade look up for settings files

#close 31
It will look on on this order for settings.py, settings.yml or settings.yaml on root directory. E.g. if you already have a settings.py it will ignore the the other 2 extensions.

Coverage remained the same at 81.306% when pulling 605a30a410e58b8fad3502e729917d6b332bfa57 on renzon:31 into 161d1018222a7d4f78756c86613dc078b899241e on rochacbruno:master.

Hello,
I think it should be specified what happens when more valid settings file is found in the root directory. (will the keys be merged? will the last valid found file be used or the first? etc)

Coverage remained the same at 81.306% when pulling 13ad28729d22297e93d00e04f2770d665b43c177 on renzon:31 into 161d1018222a7d4f78756c86613dc078b899241e on rochacbruno:master.

Coverage remained the same at 81.306% when pulling f92c47247765b9cf232839c8e78f9b72c2d37412 on renzon:31 into 161d1018222a7d4f78756c86613dc078b899241e on rochacbruno:master.

@vladcalin I added the description what is doing. I kept setting.py as the first one to look to not break stuff on projects already using dynaconf. But with this change, one can just create a yml on root and she will not need to defined SETTINGS_MODULE or call configure anymore, it will simply work by convention.

I've also changed the minor version of the lib once one using the old version can upgrade to this new, but one using the new can not downgrade since the code can be relying on yaml look up by default.

@vladcalin good question!
This is related to the default settings and this is the main, the point of entry to read all other variables.
I think it will be hard to make a decision on which priority give to a merging cascade
So my opinion is, try to look for settings.py then settings.{yaml|yml} then  settings.toml then settings.ini etc...
But should exist only one default settings file in the root. (maybe we should fail if more than one settings.{ext} exists.
Then , having a default settings loaded it is easy to define a LOADERS or YAML variable inside it to have more files read.

Coverage remained the same at 81.306% when pulling 640898f4ca3cb5073d916649ba0255fa864bccfc on renzon:31 into 161d1018222a7d4f78756c86613dc078b899241e on rochacbruno:master.

Implemented in https://github.com/rochacbruno/dynaconf/pull/38


Some metrics

Hi Arseny,
first of all, awesome project, really cool.
Second, sorry if I opened an issue, but this is something more like a request for any info regarding some performance metrics.
I'm developing a jvm port of Assimp here and I should implement some state-of-the-art post-process techniques to improve the time required to render them.
Before ending up on your repo, I was actually looking for the best method to improve vertex caching.
And I guess it's this one: "An Improved Vertex Caching Scheme for 3D Mesh Rendering". Because it's even better than Amd Tootle by a 10% (although it requires ~100x time)
Anyway, as I already said, I'd be interested to know if you have ever taken any metrics about your mesh optimizer. Or if you have some considerations/feedbacks between implementing simply a lone vertex caching optimization and a full-pipeline optimization like your project.
Thanks in advance

The demo project outputs ACMR & ATVR metrics (e.g. see log here: https://travis-ci.org/zeux/meshoptimizer/jobs/374261973), which is what you need I suppose.
AMD Tootle uses the same algorithm as CacheFifo in the output above (meshopt_optimizeVertexCacheFifo). It's worth noting that while it runs faster than meshopt_optimizeVertexCache, and while it can generate results that are close on a HW with a fixed-size FIFO cache, most hardware doesn't use a cache that behaves like that. Because of this, the recommended algorithm is meshopt_optimizeVertexCache - this is an implementation of Linear-Speed Vertex Cache Optimisation by Tom Forsyth, that has been further tuned for running performance and for output efficiency on real hardware.
I've experimented with K-Cache before (from the paper you linked); I believe the results were a much higher runtime, as you note, and efficiency on par with current meshopt_optimizeVertexCache algorithm. I'm fuzzy on the details, and unfortunately I don't have the implementation anymore since I abandoned it for being impractical.

@zeux, could you say what is ACMR and ATVR? Google tries to foist ASMR and ACM Research instead of ACMR and gives me this instead of ATVR.

ACMR = Average Cache Miss Ratio
ATVR = Average Transform to Vertex Ratio
Both metrics are explained here http://www.realtimerendering.com/blog/acmr-and-atvr/

Thank you!
I wanted to say that it would be great if this information would be addeв in readme.. But it's already in it.. Sorry :D


bug: Protocol Analysis Failure when accessing a CSV and also not fetching existing labware offset data

Overview
### Accessing a CSV

Opentrons app/server: v6.3.1
API: 2.11 or 2.14

Accessing a CSV appears to have some issues with the latest version. It appears there are 2 issues.

Importing a protocol
Importing a python protocol that needs access to a CSV in the "/var/lib/jupyter/notebooks" directory causes the protocol analysis to fail with the following error "list index out of range" (since it seems it does not have access to the aforementioned path). Even if the protocol analysis fails you can still run the protocol, however...
Labware offset data when protocol analysis fails
If protocol analysis fails the existing labware offset data that are usually visible in the "proceed to setup" page as well as later on in "Step 3. Labware Setup, List View" are not visible with a message of "No offset data available".

Steps to reproduce

CSV to use
123_SEQE_123 (1).csv

Image illustrating issues

Code to reproduce

`from opentrons import protocol_api, types
import math
import csv
import glob
import subprocess
path = glob.glob('/var/lib/jupyter/notebooks/Test/SEQE.csv')[0]
with open (path,newline='') as csvfile:
rows = csv.reader(csvfile)
dna_sour = []
dna_vol = []
multiplication_factor = []
sampleno = 0 #rowcount
next (rows)
for row in rows:
sampleno+= 1
a = row[1]
dna_sour.append (a)
b = float (row[2])
dna_vol.append (b)
c = float (row [3])
multiplication_factor.append(c)`
Although not a favourable solution I managed to bypass these issues by using the code below:
try:  path = glob.glob('/var/lib/jupyter/notebooks/Test/*SEQE*.csv')[0] except IndexError:  path = glob.glob('C:/OpentronsMockCSVs/Mock_CSV_SEQE.csv')[0]
So that it reads a CSV stored on windows for the protocol analysis but when simulating reads the correct CSV stored on var/lib/jupyter/notebooks/Test/.
Current behavior
No response
Expected behavior
Maybe if the protocol analysis fails you could mark the protocol as ok and removes any. This in return could also enable the software to retrieve labware offset data even if protocol analysis fails.
Operating system
Windows
System and robot setup or anything else?

Opentrons app/server: v6.3.1
API: 2.11 or 2.14
USB Connection

I recently encountered a similar issue. While researching the problem on this webpage (https://support.opentrons.com/s/article/Protocol-analysis),  I discovered that "Protocols that used to run perfectly on a previous software version might have a "File not found error" because the file is on the OT-2 and not on the Protocol Analysis engine in the app. ".
It appears that the Protocol Analysis engine doesn't recognize the path in the OT-2 machine when you import the Python script. To address this, I've implemented a workaround using a try-except block. This allows me to handle the "File not found error" gracefully, ensuring that the previous offset data is automatically reloaded. However, there is a drawback to this approach – even if your file or path is incorrect, no error message will be displayed.

Hello @ClaireLee22 I've taken a similar approach with you (see below "Code to reproduce"). You are right no error message will be displayed for the protocol analysis step, it will show an error after pressing start setup.

Try to reimport your protocol after some modification in your csv.... You'll see no modification compared to you first import, the "external" csv is cached and it is not read anymore..... or at least untill you change the csv name and modify your protocol


vertcoind segfaults when configured with 'disablewallet=1' or started with the '-reindex' flag

Hello gents, thanks for your time and effort on this project.
While I've been working to prepare SimpleMulti for the fork I spent a stupid amount of time banging my head against segfaults in the new wallet - thinking they were machine specific or shared library issues.
I've confirmed them with the <IP_ADDRESS>-amd64 binary, and my own compiled code, please let me know if you are unable to replicate.
IMO, these are both pretty important issues to fix, at least for mining.

If the block database becomes corrupted and re-indexing is not an option, miners could be forced to wait for the whole chain to download. Obviously this is a PITA for wallet users as well
Being able to disable the wallet significantly improves the daemon performance, resulting in many fewer orphans.

Both bugs fixed as of https://github.com/vertcoin/vertcoin/commit/df605d0c3243947d21be9c058403f44b4a0932e7

Awesome, I'll give it a try


Proficiencies tab is hard to read in dark theme

Proficiencies tab in PF2E version 5.0.1 is hard to read

Fixed in 2.2.3, out now


Blocks Config Causes The End Islands to not load

Im working on a Custom Mod pack for me and my friends, and one of the things ive wanted to do is remove the Ores From the end, and i thought or am guessing the Blocks Config was for that, however if any single block is turned from True to False, everything except the obsidian platform Doesn't load in. Just Empty Space, even after testing it with only better end the world still refuses to load the area
everything just ends up like this

n
Bugged out my mind lmao
(sorry i dont know how to tag this is a bug thing)

Thanks for reporting. Could you please attach your blocks config file?

Here it is right here, and i turned it into a TXT for attaching it here
However just in case you needed only the json version i zipped it right below
blocks.txt
blocks.zip


"IDW10502: An MsalUiRequiredException was thrown due to a challenge for the user

I am using React with Asp.net core web api.
I have implemented as explained.
In React, I am using scope as openid and the access as user where the same implemented in the sample UI.
But I am getting the following exception. Can you please help me on that issue?
"IDW10502: An MsalUiRequiredException was thrown due to a challenge for the user

Hi @jeevasusej seems like the token is missing the scope. You need to request the scope and get consent in the react app, not sure of this though.
Greeetings Damien


core版本为2.0.9时，【连线】的边会被强制更新锚点位置
A bug happened!

Core Version
2.0.9
Extension Version
2.0.13
Engine Version
No response
What browsers are you seeing the problem on?
Chrome

开发完了，这周发个版，到时候同步你


Delete whole words by pressing Ctrl+Backspace

Description of the new feature/enhancement
In Windows you can usually delete whole words by pressing Ctrl and then Backspace. I would like to be able to do this in Windows Terminal.
Proposed technical implementation details (optional)
The point of this feature is simply to able to delete text faster. Maybe you pasted something in the terminal but you need to change the path to some file you're working with, and instead of holding your finger on the Backspace button you can just press Ctrl+Backspace a few times.
A clear and concise description of what you want to happen.
To delete whole words when pressing Ctrl+Backspace, but stop deleting at: '.', ',', '-' or other special characters. Maybe a setting somewhere could dictate what characters to stop deleting at?

This absolutely works today - what shell are you using? cmd, powershell, bash...? Are you using ssh or something else in the middle?

Hm, it stops working when I'm using ssh... but now I noticed that it does indeed work in powershell when I'm not using ssh.

Yep, that'll do it. Looks like this is a known issue with ssh.exe.

control + backspace works in both powershell and cmd and for bash use control  + w


Add endpoints for theme info and collect pass through data

Pull Request
What changed?

Routes
Added endpoints for theme info
Added conditional env variable to routes to turn pass through on/off for themes

Added a ThemesController which fetches data and then returns it in the expected format. (basic query themes response only at this stage)

Models
Created APIResultsResponse class for structuring data

Data
Added migration to add unique index to themes and plugins

Jobs
Added a new job for processing responses as they are passed through the catch all controller.
The job handler will look for either a themes or plugins property on the response. If one is found, data is inserted (or updated) in the database.

Note:  this is dispatched synchronously
Why did it change?
Initial implementation of the themes endpoints
Did you fix any specific issues?
CERTIFICATION
By opening this pull request, I do agree to abide by
the CODE OF CONDUCT and be bound by the terms
of the Contribution Guidelines in effect on the date and time
of my contribution as proven by the
revision information in GitHub. I also agree that any previous contributions shall be deemed subject to the terms of the
version in effect on the date and time of this pull request, or any future revisions for pull requests I may submit.
Further, I certify that this work is my own, is original, does not violate the intellectual property of any other person
or entity, and I am not violating any license agreements or contracts I have with any person or entity. Finally, I agree
that this code may be licensed under any license deemed appropraite by AspirePress, including but not
limited to open source, closed source, proprietary or custom licenses, and that such license terms neither violate my
rights or my copyright to this code.

@mzalewski looks like this overlaps with your other PR (which was merged) but also has conflicts, so I didn't know what to do with it.  If you could take the remaining changes and open a new PR against main, that would be awesome.


Adding support for isOptional filter

Any thoughts on adding support for an optional filter? (similar to the current typeName.isOptional)
For example: I only want to generate a section of code, if a type contains an optional variable:
{% if type.variables|instance|optional %}
  // code here
{% endif %}

(or is there another way of approaching this?)

I'd be fine with it, send a pr :)

Sounds good @krzysztofzablocki! I will take a look at this tonight. 🚀


When adjusting the window size, the drop down boxes "choose data source" and "violence type" the text gets cut off.

Description

@dafinaolluri I created this issue before asking Georges for that. I solved the issue, so I closed it


debootstrap: setup fail with jessie (systemd related)

debootstrap jessie ./jessie-chroot fails while setting up its dependencies.
The most likely source seems to be a systemd issue with /dev/urandom: https://gist.github.com/bendlas/d59bf45d879298aa1bd2#file-debootstrap-log-L920-L924
debootstrap wheezy ./wheezy-chroot works as expected.
EDIT: Tested on https://github.com/NixOS/nixpkgs-channels/commit/f93a8ee1105f4cc3770ce339a8c1a4acea3b2fb6 + a couple of unrelated, local commits

This has already been patched upstream: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776912
And I can confirm, that a debootstrap updated resolves this: https://github.com/NixOS/nixpkgs/pull/8001

Closed by #8001


As a player I should be able to view the score of my team and my opponent team

Fixed in PR: e0c53907f0acf2059f095fcbdeb48548def2845f


check if /assets/ folder is accessible on start-up

to prevent people running in wrong working directory and wondering why it looks even worse :(

Can this be closed now?

Can this be closed now?

Yup, thanks! Not sure why it didn't auto-close

Yup, thanks! Not sure why it didn't auto-close


Not verifying requests

2015-10-26 22:16:27,247 Root CA cert bundle not found at C:\Users\JPomichael\AppData\Roaming\Sublime Text 3\Packages\sublime-github\ca-bundle.crt! Not verifying requests.
reloading Packages/User/GitHub.sublime-settings
reloading /C/Users/JPomichael/AppData/Roaming/Sublime Text 3/Packages/User/GitHub.sublime-settings

I second this, I am also getting this
2015-12-26 19:11:11,819
Root CA cert bundle not found at /home/nurgasemetey/.config/sublime-text-3/Packages/sublime-github/ca-bundle.crt! Not verifying requests.

I get this when for example when I want to fetch my gists

Same here. It constantly shows that message whenever I update a gist.

I've updated ca-bundle.crt. sublime-github should update if you relaunch Sublime Text. Let me know if that fixes it (I can't reproduce on my end).

I'm afraid it doesn't. I've restarted sublime text, updated a gist and here it goes again:
2016-02-28 17:47:12,600 Root CA cert bundle not found at /Users/xxxxxxxxxxxx/Library/Application Support/Sublime Text 3/Packages/sublime-github/ca-bundle.crt! Not verifying requests.

Some more insight: there's no folder sublime-github @ /Users/xxxxxxxxxxxx/Library/Application Support/Sublime Text 3/Packages/
Folder in Packages are (in my case): bz2, SublimeLinter, User
That's it.

Ah! That's helpful. I forget that packages are now installed as zip files. Hmm. Will have to think about this.

Hi, I have the same issue. It's problematic because I can't create any gist. I'm running ST 3 on OS X.

Hi! I'm facing a similar issue in a Windows 7 box running Sublime Text 3.0. The comments by @deltagolf applies also here. I'm running Sublime Text 3.0 without a glitch in a couple of Mac OS X boxes (10.11.6 and 10.10.5 releases).
Please, could I help in any way to work this issue by providing more information? I'm not a programmer myself, but I'll do my best to get this great piece of software working in this Windows 7 machine!
Thanks!


Update index in separate thread

Geode Version
1.3.4
Related Problem
Geode takes a long time to update the index and it freezes the game sometimes
Your Solution
Running the update method in a seperate thread might alieveate some of the issues. I think GitHub might be a bottleneck but that's out the scope of this issue.
Additional Information
No response

I cannot understand why it was not this way from the beginning.

its already in a separate thread

this issue is a bit old but whenever the index items are loaded the game gets a huge lagspike, since that loads in the main thread.
this will prob be fixed once we switch to the standalone server anyways

this issue is a bit old but whenever the index items are loaded the game gets a huge lagspike, since that loads in the main thread.
this will prob be fixed once we switch to the standalone server anyways

yeah but imo this should remain open until the switch


Implement round-trippable, editable TOML parsing

This is a very rough implementation of round-tripping TOML parser. It correctly round trips all the TOML test suite (except inline arrays).
It's very unsuitable for merging at the moment (broken formatting, random layout of modules, unimplemented inline arrays, no public API etc.). Since it's a very invasive change, that make internals more complicated (for no real gain if you just want to simply serialize and deserialize), my question is, should I work on getting it into toml-rs or move this work to a fork (with just API for load-edit-save of TOML documents, leaving attribute-based serializing/deserializing here)?

Sorry but this isn't really quite in a state where I can review it (odd formatting, tests failing, lack of comments, etc). Could you elaborate a little more on what's going on here? Is the goal to preserve comments and whitespace that are otherwise found in a configuration file?

Yes, have a parser that preserves comments and whitespace and building API on top of this that allows changes to the parsed document without losing comments and whitespace.

I think in general that it may be about time that toml-rs had a rewrite of the parser and internals, I've long worried about the number of allocations going on and I suspect it may only get worse over time. I think that retrofitting support (with a parallel AST) for managing comments and such may end up causing too much pain and it'd be better to rewrite the parser from the ground up to handle these cases.

I've cleaned up code, documented internal layout and fixed the failing test. It should be reviewable now.
Still not mergeable. Some error spans are wrong (the ones inside insert_array, insert_table, insert_exec* and related. They were wrong before anyway). The public, user-facing API for manipulating parsed table is still missing. I'm still not 100% sure how should it look. I hope to figure it out soon, writing something that actually uses it.
With regards to the number of allocations. I don't quite see how can they be reduced. Rewrite to SAX style?
And as for retrofitting. I don't quite follow, I think the changes here are very invasive (perhaps too invasive, that's why I asked if I should go for merging with toml-rs or forking).

Yeah this is looking like a whole new library altogether almost, so perhaps it's best to be a standalone dependency? I'd love to clean up the parser here so both projects could share the implementation, however!

disclaimer: i didn’t try to read and understand this, so i’m generically telling you my thoughts about the API:
i think the parse result should simply be a (possibly indexed?) AST containing whitespace and comment nodes.
the API should allow

re-serializing the whole thing.

extracting sub-ASTs

insert sub-ASTs (which would only accept valid sub-ASTs, e.g. comma+whitespace+int-literal into an array)

convenience functions to insert data structures (vecs, maps, ints, strings, …)
this would also validate (only homogeneous arrays allowed, dunno if there’s more), and try to fit the surrounding structure:
 * single quote strings if the surrounding ones are single-quoted and it is possible
 * use inline tables unless there are already subtables or the newly inserted datastructure is large enough

I'm closing this PR because I split it all to a separate library here. I didn't write the docs yet and edit operations are missing (insert/delete/set_value_at), but the read side is mostly done.
@flying-sheep I went for a different design. I started from the "API that is simple if you want to just read stuff, but also exposes control over commas/whitespace/ordering etc. if you really want it" and with an eye towards modifying Cargo.toml from Visual Rust, which means small edits that preserve formatting. I didn't think too hard about things outside of this use case, for example reordering tables inside a toml file, which require moving quite a bit of AST around. And I don't plan for any convenience functions for 0.1 because I want this to be usable asap.

ah nice! so to add a string value with the same quoting style, we have to recursively traverse the document and count strings with one or the other, then determine the predominate one, and then find the position to insert to and call string_value.set()?

Awesome, thanks @vosen!

@flying-sheep Yes, the plan is for the two final steps is to look like this:
let mut string_value = doc.insert_string_value(54, "value");
string_value.set_raw("'value'");

is that duplication with the “value”?

No, notice the ' quotes. The idea is that you supply minimum required data (in case of string values insertion index, key and value), we insert new, properly escaped, formatted and enquoted value and return &mut to the value part in case you want to make a modification right now, which for string value is changing leading, trailing "whitespace" or replacing "raw", unescaped value.

you store the raw syntax, and not the actual [u8] content and enum QuoteStyle { Single, Double }

Yes, althought I was tempted to store syntax in a more granular fashion. Similarly to your example: splitting string value into enum QuoteStyle { Single(String), Double(String), Triple(String) }, but I couldn't find a good use case for it. Concretely, just changing value of QuoteStyle wouldn't be enough. You'd still need to convert enquoted string between all three representations: e.g. from "C:\\temp" to 'C:\temp'.

enum QuoteStyle { Single(String), Double(String), Triple(String) }

this makes no sense. either you have only single and double (referring to the number of strokes is the quote character), or single and triple (referring to the number of quote characters). if anything, we should use the meaning. ' means “raw string” and """ means “multiline string”.
enum QuoteStyle {
	Raw(String),    RawMultiline(String),
	Normal(String), NormalMultiline(String),
}

but I couldn't find a good use case for it

well, “raw” means that it contains all escapes and so on right? so replacing “raw” means that you have to sanitize the string contents to be a valid literal with the same meaning.
but i see why you designed it that way: there’s many many stylistic parts to representing things:

where to put underscores in numeric literals?
multiline strings or single line with \n?
...

still, i’d wish for a way to choose some of those when first inserting a value instead of basically inserting it twice. maybe:
enum QuoteStyle { Raw, Normal, Smart }
enum LineStyle { Single, Multi, Smart }
enum IndentStyle { None, Break(u32) }
//minimal would only escape e.g. newlines in non-multiline strings and `"` in normal strings
enum EscapeStyle { Minimal, OnlyInvisible,  }
struct StringStyle {
	quotes: QuoteStyle,
	lines: LineStyle,
	indent: IndentStyle,
	escape: EscapeStyle,
}

quotes: Smart means: use raw strings ('), except if the string contains stuff that should be escaped
lines: Smart means: use single line strings unless the string is long and has multiple line breaks, or quotes: Raw is chosen and the string contains '.
trying to serialize a string containing ' to a single-quoted raw string would fail.


Feature/no output

This will fix #56

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

envcloak/commands/encrypt.py
42.85%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

envcloak/commands/encrypt.py
92.00% <42.85%> (-5.06%)
:arrow_down:


Don't try saving imported 3D scenes to avoid alerts when running project

See https://github.com/godotengine/godot/issues/14967. This issue was reported as still valid by @SeleDreams on Discord.

I think this will be superseded by https://github.com/godotengine/godot-proposals/issues/1823.

I think this will be superseded by godotengine/godot-proposals#1823.

That makes sense, but should we try getting this change in the 3.x branch in the meantime?

Tested this on 3.x and works fine. The save process never actually saves and doesn't throw any errors.
One potential issue is that ends_with is case sensitive and won't work properly if extension has mismatched or different case such as untitled.OBJ. Could use get_extension().to_lower() == "obj" instead.

I got the same problem on Godot v3.3.2 stable official version, it leaves requested file format unknown glb message when I try save 3D scene.

I got the same problem on Godot v3.3.2 stable official version, it leaves requested file format unknown glb message when I try save 3D scene.

Already fixed in 4.0, may be interesting to salvage for 3.x

Already fixed in 4.0, may be interesting to salvage for 3.x

The issue still exists in 4.0.


WIP: Check that remainingFee correctly detects balanced coin selections.

Work in progress.
The property added by this PR currently fails, as it triggers the run-time error case within remainingFee.

Closing this for now, as the work has been superseded by #62.


Can't find English compleation Dictionary on google play.

Does anyone know how to get the language dictionaries?

If anyone finds this ...  was able to get the dictionary working by replacing main.dict in the src (res/raw/main.dict) with the main.dict from a disassembled language apk. GL

actually found an easier method. Download the APK from APK mirror.  It would be nice to have it here though.
https://www.apkmirror.com/apk/klaus-weidner/english-completion-dictionary/

But that won't install in Android 14
On Thu, Jun 27, 2024 at 9:02 PM Whosondephone @.***>
wrote:

actually found an easier method. Download the APK from APK mirror. It
would be nice to have it here though.
https://www.apkmirror.com/apk/klaus-weidner/english-completion-dictionary/
—
Reply to this email directly, view it on GitHub
https://github.com/klausw/hackerskeyboard/issues/945#issuecomment-2195903928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAHLVJ7SEF6IAC34GEVKMLZJSYZLAVCNFSM6AAAAABJDY64EGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJVHEYDGOJSHA
.
You are receiving this because you commented.Message ID:
@.***>


Consider splitting some code out of pubsub to be use in pubsublite

There is code common to pubsub and pubsublite that maybe should be in a separate library.

Still want this.

We do not have time to actively work in pubsublite. Closing for now.


Bump ActiveSupport version cap to 7.1

To use the gem with Rails 7, we need to bump the version cap for activesupport. Since we're only using with_indifferent_access from it and there are no recent breaking changes to that extension, this version bump should be enough.
Ran rake spec (on ruby 2.7 and 3.1) with no issues locally. (It also works fine on a simple local Rails 7 project.)

If we're just using with_indifferent_access I'd argue we should just remove the version cap completely. It seems extremely unlikely to me that we'll have a breaking change in that API.


Text controls focus and scroll the sample pages when clicking on sample page background

Which version of the app?
WinUI 3 Gallery
Description

Go to Implicit Transitions page, scroll down to the last sample, expand the source code.
Click anywhere on the page, it will jump to a position near the top.

This issue is so weird and it did not happens on other pages.
Screenshots
No response
Windows version
Windows 11 22H2 (22621)
Additional context
No response

I think this is not an issue with the implicit page but rather all sample pages where there are focusable text inputs. For example this issue also occurs on the TextBox or NumberBox page if you resize the app to be very small, scroll to the bottom, and click on the page background.

This also seems to have been an issue for quite some time: https://github.com/microsoft/microsoft-ui-xaml/issues/597


perry

js.txt
[Enter feedback here]

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

ID: 2759d344-2139-2ca3-5d2b-e5a518c97365
Version Independent ID: 4e854995-ffa1-accc-9090-1eaa1610b2f1
Content: Fix JavaScript errors that are reported in the Console - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide-chromium/console/console-debug-javascript.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Closing as incomplete.

On Mon, Mar 6, 2023 at 8:59 AM Patrick Brosset @.***>
wrote:

Closing as incomplete.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/edge-developer/issues/2484#issuecomment-1455733558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXXZH2HDLNU45Q5DWEY4LHDW2WROHANCNFSM6AAAAAAVQP6EQQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello please can you be more clearer because I  don’t understand the
statement


Missing or incorrect dependency

the build log showed below indicated missing or incorrect dependency
[error]   not found: https://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.12_1.0/0.14.5/sbt-assembly-0.14.5.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sbt-assembly_2.12_1.0/0.14.5/sbt-assembly-0.14.5.pom
[error]   not found: https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sbt-assembly_2.12_1.0/0.14.5/sbt-assembly-0.14.5.pom
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/0.14.5/ivys/ivy.xml
[error]   not found: https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.eed3si9n/sbt-assembly/0.14.5/ivys/ivy.xml

fixed by using the right sbt version


syz-ci: download configs from dashboard

Is your feature request related to a problem? Please describe.
I don't like to manually update ci configs.
Describe the solution you'd like
CI periodically downloads config from dashboard and apply it in case of changes.
Dashboard deployment is automated. Embedding ci configs into dashboard we can automate ci configs deployment.

Related to https://github.com/google/syzkaller/issues/1770


Update configuration doc

Great addition, thank you very much!

@timoschwarzer, thank you.
By the way, I've some pending new features (yaml config, commit hash, protected branch, project grouping, ...). Code is not yet ready to share, but I've questions concerning some part of the code. Can I ask these questions somewhere?
I know that Github has a new "Discussion" feature but this is not enable on your repo. It could be a great option.
Here is a screenshot

And congrats for your project!!

@boillodmanuel Thank you! Discussions are now enabled :)


change schema type for pvc-name from string to type PersistenVolumeClaimKind

changed schema type for pvc-name from string to type PersistenVolumeClaimKind

/retitle changed schema type for pvc-name from string to type PersistenVolumeClaimKind

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

/retitle change schema type for pvc-name from string to type PersistenVolumeClaimKind

plz shorten the commit title a bit @ivoalmeida

plz shorten the commit title a bit @ivoalmeida

@SanjalKatiyar how short?

plz shorten the commit title a bit @ivoalmeida

@SanjalKatiyar how short?

that is a good question, maybe we can add a workflow to check this moving ahead...
for now if u see https://github.com/red-hat-storage/odf-console/pull/850/commits u will see that title is kind of overflowing... so long enough that it won;t overflow...

plz shorten the commit title a bit @ivoalmeida

@SanjalKatiyar how short?

that is a good question, maybe we can add a workflow to check this moving ahead... for now if u see https://github.com/red-hat-storage/odf-console/pull/850/commits u will see that title is kind of overflowing... so long enough that it won;t overflow...

cc @ivoalmeida PTAL.

plz shorten the commit title a bit @ivoalmeida

@SanjalKatiyar how short?

that is a good question, maybe we can add a workflow to check this moving ahead... for now if u see https://github.com/red-hat-storage/odf-console/pull/850/commits u will see that title is kind of overflowing... so long enough that it won;t overflow...

cc @ivoalmeida PTAL.

done :)

/approve
/lgtm

/cherry-pick release-4.13

/cherry-pick release-4.13-compatibility

/test odf-console-e2e-aws

/test odf-console-e2e-aws

@ivoalmeida can u rebase with latest master once ? CI is not passing !

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws


change default config

Change to not reference qiita

:+1:

:+1:

This change is in place on #24


Change property in form component

The description of the change property from documentation:
change(field:String, value:any) : Function
Changes the value of a field in the Redux store. This is a bound action creator, so it returns nothing., here
But in fact this is an action creator without binding:
const boundChange = (field, value) => change(initialProps.form, field, value, !!initialProps.touchOnChange, !!initialProps.persistentSubmitErrors)

See https://github.com/erikras/redux-form/issues/1696

@jdreesen thank you.

Fix published in v6.0.3.


[Feature/2419] Modernize the report.html when using the --modern-ui Flag

Changes Proposed:

Add a method to_dict to the StatsEntry and StatsError classes. This will allow for returning a JSON version of these classes. This will also allow for reducing complexity in the request_stats method
Add three new arguments to get_html_report:

static_path: indicates where the static files can be found
use_modern_ui: to allow for returning a different template with different template arguments when the --modern-ui flag is set
theme: allows for dark mode

Remove vendor chunking in vite: although this may offer slight performance benefits, in this project it is not very relevant, and for the downloaded report we need to have inline js (no imports / exports)
Ensured the new modern template has all the same functionality as the old template, and that the old template continues to work as expected

Demo

Nice! I’m on mobile, but will look into the python code asap. Can you add a unit test? One that downloads the report and checks return code and some (any) content inside it.


error while installing

im just following the installation guide and i facing this error. anyone know how to fix it?

see #461

duplicate of #461


Add acquisition time to look vector generation

Plus some more refactoring. I took a look at the new values that were coming out of test_scenario_1 and they were pretty close to the old ones, so I'm assuming that they are "more correct" since the rays should now be terminating at the top of the troposphere, instead of all having the same length.
I also went ahead and removed a lot of the duplicate makePoints (now makeRays) functions since 0d and 2d were not used anyways, and 3d was only used in the weather model LOS code that doesn't work yet. I figured it would be better to just have one implementation and then reshape the arrays as necessary to pass the data in/out.

Hey @Askaholic this looks good. Just for the record could you post the original and new wet/hydro files for test scenario 1 so that we have a record of the differences?

Well there is already a record, Git! But I can also include an ascii representation tomorrow. I'll probably include it on the main PR to david's repo.


Rich Select with multi-select

Is it possible to have a Rich Selector with multi-select enabled?
It's available in the docs for a normal select but not for Rich Select

@gebrits this will be my next priority, I'll take a couple of days off the next week and this is a tricky task so probably will not ready on the next week though but I'll do my best

Can anyone share any lightweight alternatives to rich select which support multiple and play good with Vue Tailwind? I need it, too.

Can anyone share any lightweight alternatives to rich select which support multiple and play good with Vue Tailwind? I need it, too.

@gebrits @restyler good news I just published v 2.1.0 with the new multiple prop
https://www.vue-tailwind.com/docs/rich-select/#multi-select

@gebrits @restyler good news I just published v 2.1.0 with the new multiple prop
https://www.vue-tailwind.com/docs/rich-select/#multi-select


[UNDERTOW-1719] Handling of path parameters can set incorrect requestURI/requestPath

Issue: https://issues.redhat.com/browse/UNDERTOW-1719
A new parsePathComplete method has been created to not repeat the code at the end of the three situations that completes a path parsing  (common path, path with parameters and start of query string). This fixes the two issues and a little corner case.
Some more tests added and now the isHostIncludedInRequestURI is also checked in the majority of them.
PR for 2.0.x branch.

master PR: #898


fix(helpers) disable keyring in wait-for-db container

What this PR does / why we need it:
The wait-for-db container checks for migration readiness. Since
it starts the full kong cluster, it also runs keyring bootstrap process:
the kong clster in that container generates the initial key,
store in its memory, and writes the key_id to keyring_meta table.
But it doesn’t have enough time to broadcast its key to other kong
container that serves proxy, admin, manager etc. By design,
keyring doesn't automatically generate a new key if there's
anything in the keyring_meta table, even no nodes have
knowledge to it; this it to avoid unnecessary rotation of keys.
This PR skips keyring bootstrap at wait-for-db container, so the
bootstrap can be done in an actual kong cluster.
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] PR is based off the current tip of the main branch.
[x] Changes are documented under the "Unreleased" header in CHANGELOG.md
[x] New or modified sections of values.yaml are documented in the README.md
[x] Commits follow the Kong commit message guidelines

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

Thanks for the review @mflendrich, I have addressed the comments, could you take another look : )?


Add TestKit

This is a proof of concept of some ideas for making a public Kafka cluster testing interface.  The main idea here is that you have a public, stable interface where you can easily spin up a Kafka cluster for testing with code like this:
try (MiniKafkaCluster cluster = new MiniKafkaClusterBuilder()
    .addZookeeperNode(new MiniZookeeperNodeBuilder())
    .addNode(new MiniKafkaNodeBuilder())
    .build()) {
  // do stuff with the brokers, zookeepers, etc.
}

Because the MiniKafkaCluster extends AutoCloseable, it can be used in a Java7 try-with-resources block.  It will be automatically closed when it goes out of scope.
Because we use builders everywhere, it is possible to easily add new parameters to any of the classes without breaking backwards compatibility.  For example, we could add a way to configure the port or address that each Kafka node binds to when it starts up, and so forth.
When parameters are not supplied, they should default to something reasonable.  For example, if no Kafka log directories are specified, we create a single Kafka log directory for each broker.  When broker ids are not specified, we default to automatic ID assignment through ZooKeeper.
Tests can shut down brokers or zookepeer nodes as part of the test by invoking shutdown on the relevant Java object. They services can be restarted by calling start.
During cluster startup and shutdown, we parallelize operations that take a long time, like starting a broker or shutting down a broker.  This cuts test times.
This is a rough sketch that doesn't include clients or SSL / SASL.

This has been implemented, although in a slightly different form. :)


ci(all): test against stable SDK

CI for some reason hangs after the test succeeds, I ran mono_repo presubmit against the stable SDK (3.2.6) to verify everything past.


Cant make Tx to Multiple Beneficiaries with separate IOTA values

Goal:
I want to be able to generate a multisignature bundle where I can specify different IOTA address beneficiaries with different iota payout values
Example:
I have 3 beneficiaries: A1, A2, A3
I want to pay; A1(2i), A2(3i), A3(4i)
Observations:
The following code sniplet works and passes bundle validation
api_1.prepare_multisig_transfer(
    transfers=[
        ProposedTransaction(
            address=Address(R1, R2, R3),
            value = 2,
            message = "Hello World"
        )
    ],
    multisig_input=multisig_address,
    change_address=None
)

The following change from above "value = [2,3,4]" doesn't work and returns an error. Same goes for "value= 2,3,4".

Hi @woywoy123!

I want to be able to generate a multisignature bundle where I can specify different IOTA address beneficiaries with different iota payout values

So if I get it right, you would like to create a bundle that pays out to 3 different addresses while the input transaction funding those txs is a multisig address?
If this is the case, simply create 3 output transactions with the 3 addresses and values in the bundle.
api_1.prepare_multisig_transfer(
  transfers=[
    ProposedTransaction(
      address=Address(R1),
      value = 2,
      message = "Hello World"
    ),
    ProposedTransaction(
      address=Address(R2),
      value = 3,
      message = "Hello World"
    ),
    ProposedTransaction(
      address=Address(R3),
      value = 4,
      message = "Hello World"
    ),
  ],
  multisig_input=multisig_address,
  change_address=None
)

By the way, if the input address has more funds than the sum of the outgoing transactions, it is strongly recommended to add a change_address, because the library can't automatically generate it for multisig input addresses.
A transaction may have only one address specified. Although it doesn't produce an error, creating an Address object like Address(R1,R2,R3) is semantically wrong. It will create an address that is essentially R1. Take a look at this small experiment:
>>> from iota import Address
>>> a1 = Address(b'FIRSTADDRESS')
>>> a2 = Address(b'SECONDADDRESS')
>>> a3 = Address(b'THIRDADDRESS')
>>> print(a1)
FIRSTADDRESS999999999999999999999999999999999999999999999999999999999999999999999
>>> print(a2)
SECONDADDRESS99999999999999999999999999999999999999999999999999999999999999999999
>>> print(a3)
THIRDADDRESS999999999999999999999999999999999999999999999999999999999999999999999
>>> combined = Address(a1,a2,a3)
>>> print(combined)
FIRSTADDRESS999999999999999999999999999999999999999999999999999999999999999999999

I hope this helps you to solve the problem! :)

This is exactly what I was looking for =) Thanks heaps!


Mismatch between wiki saying bitwise reductions work on SInts and implementation which does not

h/t @redpanda3 for noticing the mismatch
Type of issue: bug report | documentation

Impact: no functional change | API addition (no impact on existing code)

Development Phase: request
Other information

What is the current behavior?
Bitwise reduction operators are only defined on UInt, not on SInt
What is the expected behavior?
This Chisel wiki says they're defined on both UInt and SInt:
https://github.com/freechipsproject/chisel3/wiki/Builtin-Operators
What is the use case for changing the behavior?
I'm not sure if the behavior should change or if the documentation should change. I suspect the operators are only defined on UInt for a reason, and while my intuition is that andR and orR are fine on SInts, xorR seems like it could interact in surprising ways with width inference.
I just wanted to make sure we fix the mismatch.

I would vote we fix the documentation to say they're defined only on UInt (really being used as Bits), since semantically it's not clear you'd want to bitwise reduce on a signed integer.

In firrtl they are defined on both, SInt and UInt:

@jackkoenig : should we remove the SInt  Arg Type from the Firrtl spec?

More of a question for @azidar on the Firrtl spec.
Note that FIRRTL and Chisel don't have to be in sync on this, Chisel can define them only on UInt while FIRRTL can continue to support both if it wants


printing msgpack keys correctly

In redis my keys look like this:
a:b:c:c:\xcd\xe9\xba

where \xcd\xe9\xba is a msg pack portion
when I run rdb command like so I am getting bad output:
rdb --command justkeys --key "*8767678.*" data/datafeeds-redis/dump.rdb
The output looks like this:
a:{8767678}:b:c:��K
you can see the strange characters ��
I've tried to add the --escape raw option but it still outputs the strange characters.
Any way around this?

this seems to work --escape print
Is that the correct way? thanks!

Yes. That is If you want to display in console, not store to a file...

I would like to output all of the keys matching the expression to a file.
In that case what is the appropriate action?
Avner

On Jun 19, 2018, at 10:28 PM, Oran Agra<EMAIL_ADDRESS>wrote:
Yes. That is If you want to display in console, not store to a file...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

it depends on what you want to do with the file. if you want to print it, or you want it to contain binary (non printable) data.
your keys contains binary (non printable) data, but i see your first post in this thread, that you were expecting for escaped output (probably to match what you got from redis-cli), so in that case, you probably want --escape print.

I want to do some "expensive" scan on the db file (offline) and then use the keys later.
Is it correct to do it as a "printable" output?

depends on how you'll use the output (key names), if you wanna later feed them to redis-cli, yes, if you wanna write a program that works with it, then you may want the unescaped version...
anyway, this totally depends on what you wanna do with the output.
printable output is usually used in order to display the data on a terminal or copy it to the clipboard....

Thanks!
I've gone ahead and created a small python util that works on particular key pattern. I saw that you provided a cli --command justkeys --key ".*pattern.*"
I took your example code in the readme and did something similar to the flag
(very trivial example):
class MyCallback(RdbCallback):
   ....
   ....
    def set(self, key, value, expiry, info):
       # i only care about the "key" portion
        if simple_pattern not in key:
            return
        if condition on key is true:
           do something with (key) against production db

but since the key is somewhat "sparse" in the file, and my rdb file is 60GB this is quite slow.
Is there any assumption about the ordering of the keys (are they sorted somehow?) and can I know when all keys of a pattern have been exhausted?
The redis cluster keys are "sharded" using the notation a:b:{shard}:c:d..., so perhaps there is some notion of grouping of the keys.
Is there a way to hint the parser to disregard irrelevant keys or is this something I need to do in the client callback?
Also is it possible to scan the file from multiple threads to speed it up? (taking quite a lot of time to scan)

keys in rdb are not sorted, and redis-rdb-tools processes them as they are in the rdb.
the parser can't really completely disregard keys, in most cases it must parse the full key and value in order to skip it's bytes.
there are cases, for ziplist encoded values in which it would be possible to speed up the processing by skipping a the value instead of extracting individual elements and calling their callbacks, but this is not currently implemented.
in most of the above mentioned cases, the ziplist encoded values will be small (not containing many items).

actually i take it back.. i see that we already efficiently skip whatever we can skip when you use --key


Revert "fix: add 10 seconds startup time for studio"

Reverts supabase/cli#1387

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.08%) to 56.472%

Files with Coverage Reduction
New Missed Lines
%

internal/debug/postgres.go
3
64.86%

internal/gen/keys/keys.go
5
12.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
4834

Relevant Lines:
8560

💛  - Coveralls


Quantile Scaling H3HexagonLayer

Hi,
I'm using H3HexagonLayer to show a set of data like this:

But the function that generates the color of every h3 hexagon is:
rgb = value => {
    const minimum = this.state.min;
    const maximum = this.state.max;
    const ratio = (2 * (value - minimum)) / (maximum - minimum);
    const b = parseInt(Math.max(0, 255 * (1 - ratio)));
    const r = parseInt(Math.max(0, 255 * (ratio - 1)));
    const g = 255 - b - r;
    return [r, g, b];
  };

So, I need some help to change the way that H3HexagonLayer fills the color with something like this: (The photo is taken from kepler.gl and has a "classification" by quantile scale and I need to do that in my page)

I've been searching and I found that kepler use D3.js library, but I can't find out how to combine this two libraries (Deck.gl and D3.js) to solve my problem.
Hope you people can help me!

@heshan0131

You will need to calculate your own getColor accessor using quantile scale
const colorScale = scaleQuantile().range(colors).domain(values);

new H3HexagonLayer({
  data,
  getFillColor: value => colorScale(value),
  updateTriggers: {
     getFillColor: {colors, values}
  }
})


[Feature] update action config to support run CI on fork repo

Purpose of this pull request
This update will let the CI run on fork repo.

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@liugddx PTAL, i changed some code base on your pr.

@liugddx PTAL, i changed some code base on your pr.

Good job !


Closing interstitial ad doesn't work

OS target (Android/iOS): Android
Godot version: 3.1
I have a scene with an interstitial ad, the example project does work, the interstitial ad in my own scene does load too so the module is alright. I use the function _on_interstitial_close() to change the scene. But when I try to close the ad, the ad seems to close but comes right back and the scene doesn't change. I added the else statement in the ready function to check if the scene loads on my PC where I didn't set up the AdMob module and yes, the scene has no errors and does load.
extends Node2D

var admob = null
var isReal = false
var isTop = true
var adInterstitialId = "ca-app-pub-3940256099942544/1033173712" # google test ad ID

func _ready():
	print(Engine.get_singleton("AdMob"))
	if(Engine.has_singleton("AdMob")):
		admob = Engine.get_singleton("AdMob")
		admob.init(isReal, get_instance_id())
	else:
		get_tree().change_scene("res://Scenes/Start.tscn")

	get_tree().connect("screen_resized", self, "onResize")

	if admob != null:
		admob.loadInterstitial(adInterstitialId)

func _on_admob_network_error():
	print("Network Error")

func _on_interstitial_not_loaded():
	print("Error: Interstitial not loaded")
	get_tree().change_scene("res://Scenes/Start.tscn")

func _on_interstitial_loaded():
	print("Interstitial loaded")
	if admob != null:
		admob.showInterstitial()

func _on_interstitial_close():
	get_tree().change_scene("res://Scenes/Start.tscn")
	print("Interstitial closed")

func onResize():
	if admob != null:
		admob.resize()

Well, I'm using the demo project, just added a new empty scene and call get_tree().change_scene("res://scene2.tscn") inside the _on_interstitial_close, no issue here.
One thing you can try to do is await for some frames update before changing the scene:
func _on_interstitial_close():
	yield(get_tree(), "idle_frame")
        yield(get_tree(), "idle_frame")
	get_tree().change_scene("res://Scenes/Start.tscn")
	print("Interstitial closed")

Are you 'reloading' the same scene? Does your 'Start.tscn' scene load the ads too?

Thank you for your fast answer.
That's interesting. My 'Start.tscn' doesn't load with the ads. When I put the AdMob code into the script of the start scene and set the 'Start.tscn' as start scene, the game doesn't even start, just the Godot splash screen shows up, flickers and then the game crashes.
This is how I put the AdMob code into the script of 'Start.tscn':
extends Node2D

var admob = null
var isReal = false
var isTop = true
var adInterstitialId = "ca-app-pub-3940256099942544/1033173712" # google test ad ID

var saveDataFile = File.new()
var savePath = "user://savegame.save"
var saveData = {"highscores": [0,0,0,0,0], "highscoresEasy": [0,0,0,0,0], "easyMode": false}

onready var startAnimation = get_node("Container/StartAnimation")
onready var easyButton = get_node("EasyButton")
onready var highscores = get_node("Highscores")

var gameStarted = false

func _ready():
	if(Engine.has_singleton("AdMob")):
		admob = Engine.get_singleton("AdMob")
		admob.init(isReal, get_instance_id())

	if admob != null:
		admob.loadInterstitial(adInterstitialId)

	randomize()

	if not saveDataFile.file_exists(savePath):
		saveDataFile.open_encrypted_with_pass(savePath, File.WRITE, "slidingCat")
		saveDataFile.store_var(saveData)
		saveDataFile.close()

	saveDataFile.open_encrypted_with_pass(savePath, File.READ, "slidingCat")
	saveData = saveDataFile.get_var()
	saveDataFile.close()

	Global.easymode = saveData["easyMode"]

	if Global.easymode:
		easyButton.set_text("Easy mode: ON")
	elif !Global.easymode:
		easyButton.set_text("Easy mode: OFF")

func _on_interstitial_loaded():
	print("Interstitial loaded")
	if admob != null:
		admob.showInterstitial()

func _on_interstitial_close():
	yield(get_tree(), "idle_frame")
	yield(get_tree(), "idle_frame")
	get_tree().change_scene("res://Scenes/Start.tscn")
	print("Interstitial closed")

Can you reproduce the issue on a sample project? If so, post the zip here, this way it will be easier to me to debug it.

I actually made already more than one sample projects to check different variants.
TestAdmobScene.zip

Tested your project. No crash here, what's happening is:
Start scene show interstitial -> close interstitial -> open blank scene -> show interstitial -> close interstitial -> open start scene and so on.
I don't know if this loop is intentional, but as you're loading and showing the ads in every scene that's loaded, that's the expected behavior. For every time you're loading a scene a new interstitial is loaded and shown.
One thing you must be aware is that the ads acts like a general overlay above your app, so they don't respect the godot lifecycle. One good strategy to manage the ads is adding all their logic on a global autoload (singleton) script, this way there will be only one instance to care about.

Did you test it on an android device? On windows, it runs just fine, but on my smartphone, it does not. And no, the loop wasn't intentional, I didn't recognize this loop because on windows I didn't add the AdMob module and on the smartphone, the game just crashed. ;)
Could you test it on an android device?

I have tested on my real Android device only.
Did you compile the templates by yourself? If so could you test with my precompiled ones? In any case make sure you're matching the exact same version of your editor and the template. If you are using Godot 3.1.0 on the editor you must compile the template for Godot 3.1.0 for Android also not the master.

Yes, I did use your templates, when I try to compile my own (for the Godot master -> Godot 3.2dev) an error occurs.

My smartphone has only 2gb of RAM, could that be a limiting factor? 1gb is used up by my normal stuff, the AdMob scene alone uses around 300mb of RAM, but my scene is not that big that it uses up the rest of the memory or could it be?

I don't think so, my phone has 2gb of RAM also.

What version of python, java (ndk/jdk), android studio and Gradle do you use? Could it be a problem that I use OpenJDK?

To run on emulator you should include the x86 CPU architecture.
I'm running openjdk version 1.8.0_191, ndk r17b, python 2.7.12, but I don't think it's the problem, once you also used my precompiled templates.

Mmh, do you have precompiled templates for Windows? So I can test it there too?

The Admob module doesn't support windows.

Oh... ;) How can I find out, what's the error? When I use the Godot debug mode, no error shows up.

Does everything work fine using the debug template? If so we've already saw a similar issue. Could you try to make a new test without the admob module, using the official android template?

Without the AdMob module it works fine on my phone. It just shows the Start.tscn scene. The Debug template is used, when I use the Debug mode of Godot and the release template is used when I export it without Debug features activated, is that right? If so, I already used the official Debug template as well as the official Release template.

I have tested your project with both, release and debug and all of them worked fine. I'm sorry but I have no idea what could be happening.

Ok, I think I'll try the export with your templates on Linux until now I have worked with windows but probably Linux gives a better result, how knows. Thanks for your help, I will send an update if it worked or not.

Now I tried to build export templates in Linux, without the AdMob module the build is successful but when I add the AdMob module this error occurs:

When I remember correctly the same error occurred in windows. Could that error be part of the export failure?

I don't know if the module will work on master, I'm working with 3.1.1, the latest Godot stable version.

Yes, on 3.1 it works. Thank you very much, I just exported the game in Ubuntu and it works with the AdMob module. I still don't know why it didn't work in Windows, but now I'm just using Ubuntu.

Nice! Yeah, I think this issue could be closed now.