No overrides listed in the panel

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the Bug
Hello,
Thank you for this nice extension. In my workspace(multi root), I do not get any overrides listed in the panel. I simply get a blank panel.

I already checked the extension configuration and I have configured the correct cartridge path. The SFCC Cartridge Overrides log channel lists my cartridge correctly and does not show any error.
What am I missing here?
Steps To Reproduce

Create a new multi-root workspace and add applicable cartridges to it.
Open the CartridgeOverrides panel
Observe that no cartridges are listed.

Expected Behavior
No response
Screenshots
No response
Environment
- OS:MacOS Catalina
- Node:11.15.0
- npm:6.7.0

Additional Context
No response

@ranveer5289 hmmm, this seems to be happening to a few people.  Can you try one thing for me to see if it resolves your issue?  If you move you mouse over the CARTRIDGE PATH panel, you should see a Refresh icon.  With others that had this issue, it seems like it just got stuck loading, and clicking the refresh icon triggers a reload, and then the correct data appeared.
Even if this fixes your issue, let's keep this bug open, as it should not require that you click refresh.  Something else is going on here.  I am pretty sure it has to do with Multi-root Workspaces, but either way, I will get it sorted ASAP.

@manifestinteractive : I tried that but unfortunately no luck. I still do not see any data.
Are there any additional debug logs that I can check to help you further in debugging?

@ranveer5289 there is, but I doubt there will be anything in there.  We can try though :)
If you have the Output tab open ( usually visible when you have the terminal window open ), there are two custom loggers you can try.  The first is the one made for this extension.  If you have my extension active ( panels are visible ) you can open your Output tab, then you should see a drop down list in the top right ( probably has Tasks selected, since that's the default ).  If you look for SFCC Cartridge Overrides in that list, you should see some output, including which cartridges it found, and what it thinks your workspace path is.  Anything from there you can share would be fantastic.
The other Output option you can try would be the error log for extensions, which you can find in Log (Extension Host) and  if my extension is throwing errors, you should see some nasty errors in there from RedVanWorkshop.sfcc-cartridge-overrides.  If there are any errors that you can share, those would also be helpful... though there is no easy way to search that one.  You could right click and clear the output, and try reloading / refreshing my cartridge like you did before, and that should re-trigger the errors if you were getting any.

@ranveer5289 my gut is telling me that when you check the SFCC Cartridge Overrides output, you are not going to have anything next to WORKSPACE: as that would explain why you are not seeing anything ... because it either could not find your workspace, or is using the wrong one.  If it found the wrong one, then it would not have found anything related to SFCC and probably just returned an error that should have thrown an exception in that Extension Host logger.

@manifestinteractive :
This is the output I see so I do not see any WORKSPACE entry in the log and only see CARTRIDGE PATH
CARTRIDGE PATH:
- app_some_cartridge_1
- app_some_cartridge_2
- app_some_cartridge_3
- app_some_cartridge_4
- bc_util
- bc_fileimpex
- bc_job_components
- plugin_checkout
- plugin_dynamicforms
- plugin_dis
- plugin_gdpr_selfservice
- plugin_datadownload
- app_some_cartridge_5
- plugin_sitemap
- int_adyen
- app_some_cartridge_6
- app_some_cartridge_7
- app_storefront_base

From the Extension Host logger, I see below errors:
[2022-04-04 10:32:18.470] [exthost] [error] Error:
	at g.cmp (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:59:61964)
	at _.findSubstr (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:59:65972)
	at c.getWorkspaceFolder (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:89:33653)
	at w.getWorkspaceFolder (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:89:36509)
	at Object.getWorkspaceFolder (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:99:43817)
	at Object.getWorkspace (/Users/ranveer/.vscode/extensions/redvanworkshop.sfcc-cartridge-overrides-1.0.0/extension/util.js:95:31)
	at new Cartridges (/Users/ranveer/.vscode/extensions/redvanworkshop.sfcc-cartridge-overrides-1.0.0/extension/Cartridges.js:31:31)
	at activate (/Users/ranveer/.vscode/extensions/redvanworkshop.sfcc-cartridge-overrides-1.0.0/extension/index.js:48:22)
	at Function._callActivateOptional (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:16070)
	at Function._callActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:15731)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:13549
	at processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async g._activate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8154)
	at async g._waitForDepsThenActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:8096)
	at async g._initialize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:85:7460)

Perfect, this helps a lot.  It's exactly what I thought, it could not find your workspace.  I'll work on recreating your setup locally and retest it.  Multiroot is a pain in the butt sometimes, but it should work after I get a fix out for it.

Same issue to me as well.

This should be resolved now in https://marketplace.visualstudio.com/items?itemName=PeterSchmalfeldt.sfcc-cartridge-overrides


Ci of azps-2.6.0

Docs Build status updates of commit 133021d:
:clock10: Full build: the average full build time is 22 min(s) 22 sec(s), this is based on the last 192 build(s) for this repository.

Docs Build status updates of commit 133021d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.6.0/release-notes-azureps.md
:bulb:Suggestion
View (azps-2.6.0)
Details

azps-2.6.0/Az.Accounts/Add-AzEnvironment.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Az.Accounts.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Clear-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Clear-AzDefault.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Connect-AzAccount.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Disable-AzContextAutosave.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Disable-AzDataCollection.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Disable-AzureRmAlias.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Disconnect-AzAccount.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Enable-AzContextAutosave.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Enable-AzDataCollection.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Enable-AzureRmAlias.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzContextAutosaveSetting.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzDefault.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzEnvironment.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzProfile.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzSubscription.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Get-AzTenant.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Import-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Register-AzModule.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Remove-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Remove-AzEnvironment.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Rename-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Resolve-AzError.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Save-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Select-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Select-AzProfile.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Send-Feedback.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Set-AzContext.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Set-AzDefault.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Set-AzEnvironment.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Accounts/Uninstall-AzureRm.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Az.Advisor.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Disable-AzAdvisorRecommendation.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Enable-AzAdvisorRecommendation.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Get-AzAdvisorConfiguration.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Get-AzAdvisorRecommendation.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Advisor/Set-AzAdvisorConfiguration.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Az.Aks.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Get-AzAks.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Import-AzAksCredential.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/New-AzAks.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Remove-AzAks.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Set-AzAks.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Start-AzAksDashboard.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.Aks/Stop-AzAksDashboard.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.AlertsManagement/Az.AlertsManagement.md
:white_check_mark:Succeeded
View (azps-2.6.0)

azps-2.6.0/Az.AlertsManagement/Get-AzActionRule.md
:white_check_mark:Succeeded
View (azps-2.6.0)

This comment lists only the first 50 files in the pull request.

docs-conceptual/azps-2.6.0/release-notes-azureps.md

[Suggestion] Missing attribute: author. Add the current author's GitHub ID. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.

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


[ISSUE #15][ADD] SocketIO support

PR to add SocketIO support
For issue: https://github.com/Abdizriel/nodejs-microservice-starter/issues/15

[ x ] I have read the Contributing Documents
[ x ] My commit(s) follow the commit message guidelines
[ x ] Project tests pass (npm test)
[ x ] Project tests coverage is 100%

Coverage remained the same at 96.154% when pulling f96dbabed84bdfce14676d69e02b168b03b9f141 on issue-15-socketio into ad0a77cebbdd75372bcea8616246eff828e5bd95 on development.


Allow model ensemble?

@diazandr3s Do you think there is a way to bring model ensemble into this module? I just trained on some data which provided great results during the testing phase using model ensemble that usually runs in the end after finishing 5-fold training with Auto3DSeg.

When running on the same data, but choosing to run with the seemingly best model (when looking at the Tensorboard graphs), it turns out to not be as good as the same data segmented with model ensemble.
for reference: https://github.com/Project-MONAI/tutorials/blob/main/auto3dseg/docs/ensemble.md
I am unsure how much of the original training information it would need since it's requesting the work_dir to make all these ranking decisions.
Is there a better way of combining all models into the best one to just use the current module as is?

For reference, I started a discussion asking for combining all best ranked models into one: https://github.com/Project-MONAI/MONAI/discussions/8074

Comment by @diazandr3s : https://github.com/Project-MONAI/tutorials/discussions/1713#discussioncomment-9640768

Hi @che85,
Thanks for your question! You raise a valid point.
We initially used ensemble models, but they significantly increased inference time. That's why we switched to a single model.
However, if users are okay with longer inference times, I don't see any blockers to reintroducing this feature.


Fix conflicts in release candidate (rc-v0.9.28-rc1)

This PR should fix merge conflicts in https://github.com/CSCfi/etsin-finder/pull/446
What was done:

git checkout test
git checkout -b fix-conflicts-rc-v0.9.28-rc1
git merge stable
Manually resolve all merge conflicts, accepting all changes found fix-conflicts-rc-v0.9.28-rc1 (which is a cloned branch from test)
Commit
Create PR

Verified the PR branch locally, and looks functional.


Vuex ...mapActions() syntaxt not working?

Hi guys,
https://vuex.vuejs.org/en/mutations.html#committing-mutations-in-components
this syntax does not work in laravel mix? It's too bad.
Why laravel mix does not use buble-loader? Is bable the better choice?
Greetings to all

@breadlesscode
npm install --save-dev babel-plugin-transform-object-rest-spread
And add this to your .babelrc
{    "plugins": ["transform-object-rest-spread"] }
https://babeljs.io/docs/plugins/transform-object-rest-spread/


fix SliderNumericFilter.choices for FloatField

Hey there, I found three severe issues with the implementation:

max(…) fails with ValueError, if … is empty
calculating the precision from the data is not tractable, if you have too much data
calculating it from the data is not useful, because rounding errors can lead to arbitrarily high precisions (like storing a 1 as 0.9999999999998 for example)

That's why I'd suggest to remove the logic and go with static, but configurable values, instead.

Thanks for pull request. I will refactor DecimalField and add documentation how to override filters.

Thanks a lot. Great package, btw!

New version is already (0.1.4) on PyPI
https://pypi.org/project/django-admin-numeric-filter/


Random "Error from server (Forbidden): unknown" after 2.6.3 Upgrade

Rancher Server Setup

Rancher version:  2.6.3
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1 1.20.6

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.21.10, 1.20.13
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Imported MicroK8s

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Cluster Owner

Describe the bug
After upgrading from Rancher 2.6.2 to 2.6.3 started getting "random" errors when using any kubectl commands. From the client side, the error is: Error from server (Forbidden): unknown. I then went to the Rancher server pods and found the following (I'm not sure if they are related, but they all occur at the same time as the Forbidden error:
2022/03/14 13:58:07 [INFO] Creating token for user u-rvgw2
2022/03/14 13:59:15 [ERROR] Error refreshing token principals, skipping: invalid server config. only exactly 1 server is currently supported
2022/03/14 13:59:52 [ERROR] Unknown error: Operation cannot be fulfilled on preferences.management.cattle.io "ns-by-cluster": the object has been modified; please apply your changes to the latest version and try again
2022/03/14 14:00:05 [ERROR] Error during subscribe websocket: close sent
2022/03/14 14:00:05 [ERROR] Unknown error: Operation cannot be fulfilled on preferences.management.cattle.io "cluster": the object has been modified; please apply your changes to the latest version and try again

I am tagging @cmurphy and rancher/rancher#36096 just for some extra visibility. As always, please let me know if there's anything I can do to assist or any additional information that I may provide. Thank you!
To Reproduce
I'm not 100% certain of the steps, but this kubectl client-side error only started showing up after the Rancher upgrade from 2.6.2 to 2.6.3.
Result
Expected Result

Screenshots

Additional context

@andrew-landsverk-win can you tell me more about your auth provider configuration? Are you using OpenLDAP or Active Directory? Have you ever switched auth providers? Was it configured through the UI, through terraform, or some other way? The log message invalid server config. only exactly 1 server is currently supported makes it look like something messed up the LDAP config and there are duplicate servers.

That’s a great question :) Initially we were using AD. Later we switched to AzureAD. It’s only every been configured through the UI. The users where we get the intermittent errors are local users however.

Not a problem at all:
Here is the result from the kubectl command:
activedirectory adfs azuread freeipa github googleoauth keycloak keycloakoidc local oidc okta openldap ping shibboleth
We are not using Active Directory Domain Services, it's been a long time, but I believe i used the first doc you linked.
Here is the full output from the second command:
activedirectory adfs azuread true freeipa github googleoauth keycloak keycloakoidc local   true oidc okta openldap ping shibboleth
I expected to see more output based on your question though, do I need to run a different command?
Thanks!

@andrew-landsverk-win
Thank you for running those commands. The output between the two commands was consistent - (the authconfig is off for activedirectory and doesn't have the url for the server that you used to use). I was trying to see if there was anything left over from a previous configuration that could be causing issues. Which there wasn't in the auth configs. But this did lead me to another potential cause of your issue. I need to do some extra testing, but that output helped a ton - thanks again.

@andrew-landsverk-win I've been trying to track down this issue without success (unfortunately). I've got a couple of other questions which might help out a bit if you don't mind:

How often do you experience these issues? Is there any common characteristics to moments when you see the problems (same time of day, high amounts of user activity, etc.)? Does this happen with any/every user, or just with a select few?

If possible, could you try to capture the output of one of the failing kubectl commands with verbosity set to a higher level (kubectl get pods -v 6 for example)? Level 6 should give me more info (though you can go higher if you want). I would also recommend carefully reviewing the output before posting here (this could include sensitive information). Unfortunately that unknown message doesn't give a lot of detail - more info could help me track this down.

Do you always see the [ERROR] Error refreshing token principals, skipping: invalid server config. only exactly 1 server is currently supported error messages in the logs when this occurs? Or does this only occur sometimes?

Thank you for your help with tracking this down.

@MbolotSuse thanks for the response.

I had an ansible job that ran kubectl to make sure certs were updated from a file every 4 hours (ran with our other automations) and it would consistently fail most of the time. I turned off this feature because of the constant failures. I would also see it more rarely than that when running helm commands. I haven't seen a failure with helm for a while now, and I can't seem to reproduce it at this time by running kubectl commands over and over.

Next time it happens, I'll try to capture more information. I may also re-enable the ansible job to see if we can't catch it in the act next week.
Thanks again!

Also reproduced on 2.6.4 when ui request monitoring info
cluster agent logs
time="2022-04-27T11:52:34Z" level=error msg="Error during subscribe websocket: close sent"
time="2022-04-27T11:54:47Z" level=error msg="Error during subscribe websocket: close sent"

rancher instance
2022/04/27 11:47:10 [ERROR] Error during subscribe write tcp <IP_ADDRESS>:80-><IP_ADDRESS>:60188: write: broken pipe
2022/04/27 11:47:19 [ERROR] Error during subscribe write tcp <IP_ADDRESS>:80-><IP_ADDRESS>:60184: write: broken pipe

Link
https://rancher.********.org/k8s/clusters/c-m-ncsd5qwm/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/api/dashboards/uid/rancher-pod-1

PS. Ofen random query in UI loading 60 seconds.

Please fix this issue in v2.6.5. I can not use the last stable version(v2.6.4) because page loading is a very long time! And I have many complaints from my developers about unuseable UI

SURE-4778


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
4 seconds
appstudio-init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
9 seconds
appstudio-configure-build

✅ Succeeded
10 seconds
sast-snyk-check

✅ Succeeded
1 minute
build-container

✅ Succeeded
9 seconds
sanity-inspect-image

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
2 minutes
clair-scan

✅ Succeeded
9 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
6 seconds
sanity-label-check

✅ Succeeded
6 seconds
sanity-optional-label-check

✅ Succeeded
4 seconds
show-summary


Recent versions cannot be co-installed with byteorder 1.1

This crate depends on byteorder = ~1.0.  This means that when byteorder 1.1 was released, the following combination in Cargo.toml caused mysql to be downgraded to version 8.0.0:
[dependencies]
byteorder = "1"
mysql = "*"

I recommend changing mysql to depend on byteorder = "1" which would resolve this issue.

Thanks for report.
Fixed in v11.3.1


About the shared Weight!

Does the RPN/Multi-Relation Detector share parameters between 2 branch or more branch?

Yes, they share weights. You can reference the new codebase for better network details: https://github.com/fanq15/FewX

Thanks. But how to train on voc datasets.
---Original---
From: "Qi<EMAIL_ADDRESS>Date: Wed, Oct 28, 2020 21:47 PM
To<EMAIL_ADDRESS>Cc: "Author"<author<EMAIL_ADDRESS>Subject: Re: [fanq15/FSOD-code] About the shared Weight! (#51)
Yes, they share weights. You can reference the new codebase for better network details: https://github.com/fanq15/FewX
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


add quick-action-hub

Describe your specific features or fixes
Resolves: MWPW-143395
Test URLs:

Pre Migration Link: https://adobe.com/express/feature
Before: https://main--express-milo--adobecom.hlx.page/express/feature
After: https://MWPW-143395--express-milo--adobecom.hlx.page/express/feature

Codecov Report
Attention: Patch coverage is 13.33333% with 52 lines in your changes missing coverage. Please review.

Project coverage is 64.57%. Comparing base (51241ff) to head (1eb69af).
Report is 12 commits behind head on main.

Files with missing lines
Patch %
Lines

...xpress/blocks/quick-action-hub/quick-action-hub.js
13.33%
52 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
- Coverage   64.94%   64.57%   -0.37%
==========================================
  Files          38       42       +4
  Lines        5611     6459     +848
==========================================
+ Hits         3644     4171     +527
- Misses       1967     2288     +321

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Example datetime + tz where FoundDateTimeList is empty

I currently have an integration with tz-rs that looks like this:
pub fn new(
    year: i32,
    month: u8,
    day: u8,
    hour: u8,
    minute: u8,
    second: u8,
    nanoseconds: u32,
    offset: Offset,
) -> Result<Self> {
    let tz = offset.time_zone_ref();
    let found_date_times = DateTime::find(year, month, day, hour, minute, second, nanoseconds, tz)?;

    // .latest() will always return `Some(DateTime)`
    // FIXME: this assertion is not consistent with the docs in `tz-rs`.
    let dt = found_date_times.latest().expect("No datetime found with this offset");
    Ok(Self { inner: dt, offset })
}

https://github.com/artichoke/artichoke/blob/ae40b16294d699ea9e9df459785bd9578372b33a/spinoso-time/src/time/tzrs/mod.rs#L149-L166
I took a peek at the source and it looks like FoundDateTimeList is implemented with an inner Vec and the calls to earliest() and latest() essentially boil down to Vec::first and Vec::last, but I'm wondering: can this expect ever panic?
I'd love an example timespec + TZ where in practice that this found date time list is empty so I can add a test that makes this expect panic and enforce that this case is handled. Do you happen to know of one?

The corresponding test for this is here: https://github.com/x-hgg-x/tz-rs/blob/ea9dc5acd2687a9d24353db07077be6d1c8fd794/src/datetime/find.rs#L588.
Here is a simplified example:
let local_time_types = vec![LocalTimeType::new(0, false, None)?, LocalTimeType::new(3600, false, None)?];

let time_zone = TimeZone::new(vec![Transition::new(0, 1), Transition::new(86400, 1)], local_time_types.clone(), vec![], None)?;
let time_zone_ref = time_zone.as_ref();

let result1 = DateTime::find(1969, 12, 31, 12, 0, 0, 0, time_zone_ref)?;
let result2 = DateTime::find(1970, 1, 1, 12, 0, 0, 0, time_zone_ref)?;
let result3 = DateTime::find(1970, 1, 2, 12, 0, 0, 0, time_zone_ref)?;

assert_eq!(result1.into_inner(), [FoundDateTimeKind::Normal(DateTime::new(1969, 12, 31, 12, 0, 0, 0, local_time_types[0])?)]);
assert_eq!(result2.into_inner(), [FoundDateTimeKind::Normal(DateTime::new(1970, 1, 1, 12, 0, 0, 0, local_time_types[1])?)]);
assert_eq!(result3.into_inner(), []);

The FoundDateTimeList can be empty if the provided time zone has no extra rule and the date time would be located after the last transition. In this case, the TimeZoneRef::find_local_time_type method also returns an error:
assert!(matches!(
    time_zone_ref.find_local_time_type(2 * 86400),
    Err(FindLocalTimeTypeError("no local time type is available for the specified timestamp"))
));

This situation can happen when using a TZif v1 file, which cannot contain a footer with an extra rule definition. If you are using the last version of the Time Zone Database, all TZif v1 files has been replaced by TZif v2 or v3 files, so this error should be uncommon.

Thank you!

Thanks @x-hgg-x for the test case!
I've replicated this error condition in a spinoso-time test case:

https://github.com/artichoke/artichoke/pull/2049


ninja install failed

uname -a: Linux debian 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
lsb_release -a: Debian GNU/Linux 9.6 (stretch)
root@debian:/home/vassil/Documents/4_cs/scrcpy# cd x
root@debian:/home/vassil/Documents/4_cs/scrcpy/x# ninja
[1/1] 'Generating scrcpy-server with a custom command.'
(not invoking gradle, since we are root)
root@debian:/home/vassil/Documents/4_cs/scrcpy/x# ninja install
[1/2] 'Generating scrcpy-server with a custom command.'
(not invoking gradle, since we are root)
[1/2] Installing files.
Installing app/scrcpy to /usr/local/bin/scrcpy
Stripping target 'app/scrcpy'
Installing server/scrcpy-server.jar to /usr/local/share/scrcpy/scrcpy-server.jar
Traceback (most recent call last):
File "/usr/share/meson/meson", line 37, in
sys.exit(main())
File "/usr/share/meson/meson", line 34, in main
return mesonmain.run(launcher, sys.argv[1:])
File "/usr/share/meson/mesonbuild/mesonmain.py", line 254, in run
sys.exit(run_script_command(args[1:]))
File "/usr/share/meson/mesonbuild/mesonmain.py", line 242, in run_script_command
return cmdfunc(cmdargs)
File "/usr/share/meson/mesonbuild/scripts/meson_install.py", line 261, in run
do_install(datafilename)
File "/usr/share/meson/mesonbuild/scripts/meson_install.py", line 92, in do_install
install_targets(d)
File "/usr/share/meson/mesonbuild/scripts/meson_install.py", line 208, in install_targets
raise RuntimeError('File {!r} could not be found'.format(fname))
RuntimeError: File 'server/scrcpy-server.jar' could not be found
FAILED: install
'/usr/bin/python3' '/usr/share/meson/meson' '--internal' 'install' '/home/vassil/Documents/4_cs/scrcpy/x/meson-private/install.dat'
ninja: build stopped: subcommand failed.

Looks similar to Kali Linux - Install Fail #42:

SOLVED with help from Kali Linux - Install Fail #42
AS USER:
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
wget https://github.com/Genymobile/scrcpy/releases/download/v1.5-fixversion/scrcpy-server-v1.5.jar
meson x --buildtype release --strip -Db_lto=true \     -Dprebuilt_server=/path/to/scrcpy-server.jar
AS ROOT:
cd x
ninja
ninja install

You need to ninja as user and ninja install as root.
See https://github.com/Genymobile/scrcpy/issues/42#issuecomment-372149861.

Directions at  should be edited to reflect this point.

@dirtygardner The instructions in BUILD use ninja and sudo ninja install to explicit that ninja install must be run as root.


Login Splash Screen

closed with a6e6dede77a2dc72008a252321a713748a25a736

NOTE: Implantation will auto-login you in as it should.


Update migrate-support-matrix-vmware.md

Adjusting VMWare to VMware for consistency.

@sbkuehn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks.


How to get start and end time on drop in vis.js timeline?

I implemented the vis.js timeline in my vue.js project, but I have a problem with the drop. First of all I think the drop does not works in that library, second how can i get the start and the end time and date when I drag one item and then drop it?
Because the drop event is not working I'm trying to do it with
@items-update="itemsUpdate()"
and I'm getting the data back with.
let properties = this.$refs.timeline.getEventProperties(event)
But I'm getting the time where the mouse pointer stops.
So is there any way to get the start time and end time after drop I mean after I stop dragging the item?
Because I need to save start time and the end time into my database for that dragged item.
Thanks.

Personally I subscribe to @drop and retrieve snappedTime out of the event.
Here is a fiddle that demonstrate it: https://jsfiddle.net/ejdut8fm/251/


Adding event's not working

when I call "addFinListener" on my grid, I get the following:
TypeError: jsonModel.addFinListener is not a function
at tradeBlotterWidget.js:132
at processQueue (angular.js:14454)
at angular.js:14470
at Scope.$get.Scope.$eval (angular.js:15719)
at Scope.$get.Scope.$digest (angular.js:15530)
at Scope.$get.Scope.$apply (angular.js:15824)
at done (angular.js:10263)
at completeRequest (angular.js:10435)
at XMLHttpRequest.requestLoaded (angular.js:10376)
Just wondering if this functionality has maybe been renamed or changed?
code:
var jsonModel = jsonGrid.getBehavior();
jsonModel.addFinListener('fin-click', function(event) {
console.log(event);
});

Alex,
that's a bug in the documentation, the name had been changed(It's been
fixed), thanks, the function name is 'addFinEventListener', sorry 'bout
that.
-steve
On Fri, Jun 19, 2015 at 10:43 AM, Alex Nuccio<EMAIL_ADDRESS>wrote:

when I call "addFinListener" on my grid, I get the following:
TypeError: jsonModel.addFinListener is not a function
at tradeBlotterWidget.js:132
at processQueue (angular.js:14454)
at angular.js:14470
at Scope.$get.Scope.$eval (angular.js:15719)
at Scope.$get.Scope.$digest (angular.js:15530)
at Scope.$get.Scope.$apply (angular.js:15824)
at done (angular.js:10263)
at completeRequest (angular.js:10435)
at XMLHttpRequest.requestLoaded (angular.js:10376)
Just wondering if this functionality has maybe been renamed or changed?
code:
var jsonModel = jsonGrid.getBehavior();
jsonModel.addFinListener('fin-click', function(event) {
console.log(event);
});
—
Reply to this email directly or view it on GitHub
https://github.com/openfin/fin-hypergrid/issues/35.

also the listener shoud be called on the jsonGrid Object not on jsonModel in your example.
var jsonModel = jsonGrid.getBehavior();
jsonModel.addFinListener('fin-click', function(event) {
console.log(event);
});

the correct code is:
var jsonGrid = document.querySelection('#json-grid');
    jsonGrid.addFinEventListener('fin-cell-click', function(event) {
        console.log('fin-cell-click', event.detail);
    });


Not able to create instance without public IP

V1 of the AWS SDK for Ruby has the following option on the create-instance method:
associate_public_ip_address
However the aws provisioning driver doesn't respect this option; nor allow one to create an instance without a Public IP.

I got it working with a driver option of associate_public_ip: false; just can't see where this directly ties to the driver and the use of the AWS ruby SDK though.


"kubernetes" service is pointing to the wrong port.

Trying to hit the read-write kubernetes service from inside a cluster does not work.
curl -k -v https://<IP_ADDRESS>
* Rebuilt URL to: https://<IP_ADDRESS>/
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to <IP_ADDRESS>:443
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to <IP_ADDRESS>:443

tailing the kube-proxy logs shows:
I0206 18:06:02.272969   27054 proxier.go:105] Accepted TCP connection from <IP_ADDRESS>:54710 to <IP_ADDRESS>:40763
I0206 18:06:02.273053   27054 proxier.go:74] Mapped service "kubernetes" to endpoint <IP_ADDRESS>:8080
E0206 18:06:02.277557   27054 proxier.go:79] Dial failed: dial tcp <IP_ADDRESS>:8080: connection refused
I0206 18:06:02.277586   27054 proxier.go:74] Mapped service "kubernetes" to endpoint <IP_ADDRESS>:8080
E0206 18:06:02.278676   27054 proxier.go:79] Dial failed: dial tcp <IP_ADDRESS>:8080: connection refused
I0206 18:06:02.278709   27054 proxier.go:74] Mapped service "kubernetes" to endpoint <IP_ADDRESS>:8080
E0206 18:06:02.279570   27054 proxier.go:79] Dial failed: dial tcp <IP_ADDRESS>:8080: connection refused
I0206 18:06:02.279605   27054 proxier.go:74] Mapped service "kubernetes" to endpoint <IP_ADDRESS>:8080
E0206 18:06:02.280366   27054 proxier.go:79] Dial failed: dial tcp <IP_ADDRESS>:8080: connection refused
E0206 18:06:02.280391   27054 proxier.go:108] Failed to connect

And sure enough, kube-apiserver is not listening on the NIC on that port. 8080 is only for the localhost HTTP communications between master components (and nginx redirect after HTTPS termination).
netstat -lnptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:7080      <IP_ADDRESS>:*               LISTEN      14420/kube-apiserve
tcp        0      0 <IP_ADDRESS>:10250         <IP_ADDRESS>:*               LISTEN      2267/kubelet
tcp        0      0 <IP_ADDRESS>:6443      <IP_ADDRESS>:*               LISTEN      14420/kube-apiserve
tcp        0      0 <IP_ADDRESS>:10251         <IP_ADDRESS>:*               LISTEN      5268/kube-scheduler
tcp        0      0 <IP_ADDRESS>:10252         <IP_ADDRESS>:*               LISTEN      5170/kube-controlle
tcp        0      0 <IP_ADDRESS>:8080          <IP_ADDRESS>:*               LISTEN      14420/kube-apiserve
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      2164/sshd
tcp        0      0 <IP_ADDRESS>:4505            <IP_ADDRESS>:*               LISTEN      3710/python
tcp        0      0 <IP_ADDRESS>:4506            <IP_ADDRESS>:*               LISTEN      3702/python
tcp        0      0 <IP_ADDRESS>:443             <IP_ADDRESS>:*               LISTEN      5792/nginx
tcp6       0      0 :::4001                 :::*                    LISTEN      4937/etcd
tcp6       0      0 :::4194                 :::*                    LISTEN      2526/docker-proxy
tcp6       0      0 :::22                   :::*                    LISTEN      2164/sshd
tcp6       0      0 :::7001                 :::*                    LISTEN      4937/etcd
udp        0      0 <IP_ADDRESS>:2001            <IP_ADDRESS>:*                           1622/dhclient
udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           1622/dhclient
udp        0      0 <IP_ADDRESS>:123         <IP_ADDRESS>:*                           20505/ntpd
udp        0      0 <IP_ADDRESS>:123       <IP_ADDRESS>:*                           20505/ntpd
udp        0      0 <IP_ADDRESS>:123           <IP_ADDRESS>:*                           20505/ntpd
udp        0      0 <IP_ADDRESS>:123             <IP_ADDRESS>:*                           20505/ntpd
udp6       0      0 :::23578                :::*                                1622/dhclient
udp6       0      0 :::123                  :::*                                20505/ntpd

The "kubernetes" master service needs to get created with Port set to 443.

+1

This needs to be port 6443 the auth_port
On Feb 6, 2015 10:14 AM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4216#issuecomment-73285311
.

The code says 8443, but then a flag changes to 6443.  Will fix.
On Fri, Feb 6, 2015 at 11:38 AM, Eric Tune<EMAIL_ADDRESS>wrote:

This needs to be port 6443 the auth_port
On Feb 6, 2015 10:14 AM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

+1
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/4216#issuecomment-73285311

.

--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4216#issuecomment-73299013
.

Holy macaroni this is a mess.
On Fri, Feb 6, 2015 at 4:17 PM, Tim Hockin<EMAIL_ADDRESS>wrote:

The code says 8443, but then a flag changes to 6443.  Will fix.
On Fri, Feb 6, 2015 at 11:38 AM, Eric Tune<EMAIL_ADDRESS>wrote:

This needs to be port 6443 the auth_port
On Feb 6, 2015 10:14 AM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

+1
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/issues/4216#issuecomment-73285311

.

--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4216#issuecomment-73299013
.


RFM - UNetbootin

https://chocolatey.org/packages/unetbootin
This package is outdated.

A new version of this package is approved on March 28th, I think this one can be closed.
@pauby what do you think?

@mkevenaar @chtof has taken this over by the looks of things so yes, let's close it.


Particle system optimizations

I confirm I have signed the Contributor License Agreement.

This has gone a bit stale so I'm closing it (for now).


play tic-taction-toe

play tic-taction-toe

play tic-taction-toe

0<<

1<<

Test >>1<<

tic-taction-toe >>0<<

tic-taction-toe >>2<<

tic-taction-toe >>7<<

tic-taction-toe >>5<<

tic-taction-toe >>6<<

play tic-taction-toe


model.py and visualize.py files missing

Hi,
I wanted to replicate an end-to-end process with the example of hacker news from the page:
https://github.com/cemoody/lda2vec/tree/master/examples/hacker_news
I have found the file preprocess.py, but where are the files model.py and visualize.py? I can't find them anywhere on the github page

OK, updated! There should be files for the Hacker News corpus are here:
https://github.com/cemoody/lda2vec/blob/master/examples/hacker_news/lda2vec/lda2vec.ipynb
https://github.com/cemoody/lda2vec/blob/master/examples/hacker_news/lda2vec/lda2vec_model.py
https://github.com/cemoody/lda2vec/blob/master/examples/hacker_news/lda2vec/word_vectors.ipynb


Create BlogTags “web-development”

Automatically generated by Netlify CMS

Browser metadata
Path:      /docs/javascript/asyncjs/
Browser:   Chrome <IP_ADDRESS> on Windows 10
Viewport:  2560 x 1238 @0.75x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

Browser metadata
Path:      /
Browser:   Chrome <IP_ADDRESS> on Windows 10
Viewport:  2560 x 1238 @0.75x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved


Shouldn't done() return false when an unexpected request was made?

Is there some way to check if all requests made were according to the mocks?
Shouldn't done() do that?
When there is some request being made without it be mocked, just a warning appears in the console. The spec pass.

The default behaviour is to throw on unmatched requests (see the fallbackToNetwork option, so something in your tests is probably setting it to true.

I just removed the mock, so I don't have any configuration on it. It just warnings me in terminal, the spec doesn't break.
I don't have any catch block on my code.

Can you create a repo with a minimal test case that recreates the bug and
share it with me.
On Wed, 24 Apr 2019 at 12:15 pm, Leandro Lourenci<EMAIL_ADDRESS>wrote:

I just removed the mock, so I don't have any configuration on it. It just
warnings me in terminal, the spec doesn't break.
I don't have any catch block on my code.
[image: image]
https://user-images.githubusercontent.com/2339362/56655316-ca68ab80-6668-11e9-9885-98db96fed36b.png
[image: image]
https://user-images.githubusercontent.com/2339362/56655339-d9e7f480-6668-11e9-88de-f728d44f8733.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wheresrhys/fetch-mock/issues/424#issuecomment-486180138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADNIR5VCDSWD5YE27J4Q2TPSA6MFANCNFSM4HHSFNLA
.

closing due to inactivity


Mouse pointer disappears when switching to a 3D scene with a Camera node in it

Godot version:

v3.2.3.stable.official
OS/device including version:

Windows 10 19041.610, NVIDIA GeForce RTX 2070 Super, GLES3
Issue description:

Whenever I switch between tabs on 3D scenes which have a camera, the mouse pointer is captured and disappears, and can only be brought back by switching to 3D Viewing Mode and right-clicking.
(Youtube video of the problem.).
Steps to reproduce:

Make a few 3D scenes.
Add a camera to some screens.
Attempt to switch between scene tabs.

Minimal reproduction project:

Will make if needed.

Please add a minimal reproduction project. I haven't been able to reproduce the issue with the given steps so far.

I haven't been able to minimally reproduce the issue using the steps I've given either. Looks like something non-trivial. May I instead link my existing repo to it? earlier commits have fewer assets.


Fix bug about split_model = False

when split_model = False, there maybe an error like
"
Traceback (most recent call last):
File "object_detection.py", line 314, in
main()
File "object_detection.py", line 310, in main
detection(graph, category, score, expand)
File "object_detection.py", line 297, in detection
gpu_worker.stop()
UnboundLocalError: local variable 'gpu_worker' referenced before assignment
"

thanks!


include/ exclude list for LS meta-data

Also a nightmare scenario, that probably needs to be discussed if we want to support it, from the glance at the backend code it doesn't look like it's going to work.
What happens if I do:
qr = ds.select(Field(size, as_of=yesterday, alias="size_yesterday")).all()
qr.annotate(ls_meta_includes="size_yesterday")


hdfs.py refactoring: Move out configuration

By putting it in a seperate file, it's easier to refactor the rest of
contents of that file.

nice. iirc there's some legacy stuff in the configuration that we should drop soon

Not sure about that. I did some in https://github.com/spotify/luigi/pull/889 I know. We should however use the new configuration system for the [hadoop] section.
By the way, I really like the new unified system for doing configuration. It's really nice! :)


RefreshControl shows indicator at a glance when navigating to last route on ScrollView

Description
Creating a new project using npx react-native init rndemo --version 0.71.
Adding ScrollView compoennt from react-native as a scrollable super component, and RefreshControl to the ScrollView as the refresh control by default.  Navigate to a new route from A page to B page.  Then pop from B page to A page. The indicator always shows at a glance when B page is popping out of the route stack.
React Native Version
0.71.1
Output of npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS 12.5
    CPU: (8) arm64 Apple M2
    Memory: 92.52 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.6.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.4.0 - /opt/homebrew/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.1 => 0.71.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Init a new project using 0.71.1 version.
Creating two new class A and B.
Adding ScrollView and RefreshControl on B page.
Navigating to B from A page first.
Popping to A from B page.
The RefreshControl always shows an indicator at a glance when popping.

Snack, code example, screenshot, or link to a repository
A page
render() {
  return <View style={{flex: 1, backgroundColor: 'white'}}>
    <TouchableOpacity onPress={() => this.props.navigation.navigate("B")}>
       <Text style={{ margin: 100, backgroundColor: 'blue', color: 'red', fontSize: 22}}>Push to B page</Text>
    </TouchableOpacity>
  </View>
}

B page
import React, { Component } from 'react';
import { View, ScrollView, RefreshControl, TouchableOpacity, Text } from 'react-native';

export default class TestPage extends Component {

    constructor(props) {
        super(props);
        this.state = {
            refreshing: false,
        };
    }

    render() {
        return <View style={{ flex: 1, backgroundColor: 'white' }}>
            <View style={{ height: 200, backgroundColor: 'blue' }} />
            <ScrollView refreshControl={
                <RefreshControl refreshing={this.state.refreshing} onRefresh={() => {
                    this.setState({ refreshing: true });
                    setTimeout(() => {
                        this.setState({ refreshing: false });
                    }, 2000);
                }} />
            }>
                <TouchableOpacity onPress={() => this.props.navigation.pop()}>
                    <Text> Pop to A page</Text>
                </TouchableOpacity>
                <View style={{ height: 600, backgroundColor: 'red' }} />
            </ScrollView>
        </View>;
    }
}

The screen recording
https://user-images.githubusercontent.com/22851821/230555854-68b4c6e1-c7c8-4d8f-8d08-6bd45dfaf353.mp4
As we can see above, the ScrollView on B page always shows a white indicator when B page is popping. So I think this is a bug.

The issue still exists in the latest RN 0.71.6 version.
➜  newrnversion npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS 12.5
    CPU: (8) arm64 Apple M2
    Memory: 114.78 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.6.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.4.0 - /opt/homebrew/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.6 => 0.71.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found


an error occurs when fetching a stream url

Describe the bug
I get an error when trying to fetch a googlevideo.com stream url, I can give u my code if u want.
Debug File

Environment

@distube/ytdl-core version: latest
Node.js version: 20.13.1
Operating system: Windows 11 Home

https://cdn.discordapp.com/attachments/1175925849946603550/1243422239806980107/debug.txt?ex=66516ab3&is=66501933&hm=815be6efbaf6fb896d394f6eec284e31cf540a12adbe02e591b4ed2443e05d83&
heres the link

This package is for youtube.com, not googlevideo.com


Outdated pug-lint dependency

Please update pug-lint, because linter dont understand ${var} notation

@horosgrisa Isn't that removed in Pug2?  See: attribute-interpolation.
You should use either String concatenation or String template literals.

Is there any chance to get a more recent version of pug-lint in the package?


Update Test for influxd 1.3+

Update debian package
Check version on start

@laurentL much appreciated and thanks for updating!
At a cursory glance I notice you're pulling the version from a subprocess call...this is somewhat frowned upon. I'm not comfortable with calling out from the stack just to handle a version query. I'm not sure off the top of my head if this data is readily available elsewhere, do you know?
Will submit a more formal review shortly.

I did not find any other method. I consider that influxd can be installed from any method. (debian package, source, ect..)

Why don't we meet in the middle. Note that the version is printed during testing in the following function. Could you please slightly refactor to do the following:
1. move to use check_output like the above-mentioned reference
2. move the version check out to a separate function so you can call this independently, refactoring both your
    content and the existing function to call a new one

    def find_influxd_path(self):
        """Find the path for InfluxDB."""
        influxdb_bin_path = os.environ.get(
            'INFLUXDB_PYTHON_INFLUXD_PATH',
            None
        )

        if influxdb_bin_path is None:
            influxdb_bin_path = distutils.spawn.find_executable('influxd')
            if not influxdb_bin_path:
                try:
                    influxdb_bin_path = subprocess.check_output(
                        ['which', 'influxd']
                    ).strip()
                except subprocess.CalledProcessError:
                    # fallback on :
                    influxdb_bin_path = '/opt/influxdb/influxd'

        if not os.path.isfile(influxdb_bin_path):
            raise unittest.SkipTest("Could not find influxd binary")

        version = subprocess.check_output([influxdb_bin_path, 'version'])
        print("InfluxDB version: %s" % version, file=sys.stderr)

        return influxdb_bin_path

@laurentL just following up to see if you were keen on implementing the changes, and for adding the tests from #491 into this commit?

Hi
You can close aller pull request. I am working on a new featute. I will
keep you inform on fwe week.
On jeu. 7 sept. 2017 à 07:44 Sebastian Borza<EMAIL_ADDRESS>wrote:

@laurentL https://github.com/laurentl just following up to see if you
were keen on implementing the changes, and for adding the tests from #491
https://github.com/influxdata/influxdb-python/pull/491 into this commit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb-python/pull/490#issuecomment-327693436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD0hO_jpWfhfTU9iEA9r4LTxkoAM92Zcks5sf4LRgaJpZM4O8EEu
.

--
Laurent Labatut


How to use secret parm?Is any example can be study?

hi, you get start example is easy to use,but, how to use the lib with secret?

import os
from github_webhook import Webhook
from flask import Flask

app = Flask(__name__)  # Standard Flask app
webhook = Webhook(app, endpoint="/postreceive", secret='postreceivesecret') # Defines '/postreceive' endpoint

@app.route("/")        # Standard Flask endpoint
def hello_world():
    return "Hello, World!"

@webhook.hook()        # Defines a handler for the 'push' event
def on_push(data):
    #print("Got push with: {0}".format(data))
    print(os.popen("sh ~/webhook.sh").read())

if __name__ == "__main__":
    try:
        port_number = int(sys.argv[1])
    except:
        port_number = 8888
    app.run(host="<IP_ADDRESS>", port=port_number, debug=False)

If code is webhook = Webhook(app, endpoint="/postreceive", secret='postreceivesecret') and port_number = 8888:
setting Payload URL is resemble: http://yourwebsite:8888/test
If code is secret='postreceivesecret':setting Secret is postreceivesecret
If with no secret setting:
webhook = Webhook(app, endpoint="/postreceive")
If code is webhook = Webhook(app):
it'll use default way: /postreceive


MultiSelect with allow-empty=false launch 'Back To Previous' page when pressing Backspace

Hi
Reproduction Link
https://jsfiddle.net/jqofkzxc/5615/
Steps to reproduce
Create a MultiSelect with allow-empty=false
Test it in Firefox (61.0.2) (Windows)
The user search something on MultiSelect
The user delete all query string
The user press backspace after the query string is empty
The browser redirect to previous page
Expected behaviour
It should do nothing (don't trigger the 'Back to previous page')
Thanks

This also happens regardless of the OS, and still appears in the latest Firefox versions (Tested in 64 and 65 beta).


Add catalog dataset for HDF formats not supported by pandas

Description
HDF files which were not created by pandas.to_hdf sometimes cannot be read using pandas.read_hdf. Since Kedro's HDFDataSet depends on pandas, these files cannot be added to the catalog all.
Context
Currently, the dynamic simulation software employed in my research group outputs exclusively .h5 files which contain information we wish to feed to ML models using Kedro. Currently we use a Python script which converts these HDF files into CSVs so we can track using Kedro, yet this is an inefficient process as we are required to rewrite thousands of files to process them.
Ideally, we would like to add out dataset to our data catalog just like we do with our CSV datasets, but in a way that was able to read any kind of HDF file, unlike kedro.extras.datasets.pandas.HDFDataSet.
Given pandas cannot read HDF files which do not conform to its specs (apparently by design according to this issue), this simple addition would benefit any user who may store information in HDF files, be it because it is their preferred storage method or (like in our case) they use some software which directly outputs HDF.
Possible Implementation
My research colleague @Eric-OG and I believe we can implement this on our own. I think it's worth noting it'd be our first contribution to an open source project, but we've read the guidelines and so forth.
It would basically involve copying one of the existing datasets (possible even pandas.HDFDataSet) and adapting it to use another library. We planned on using h5py.
Possible Alternatives

Performing part of our data processing pipelines without Kedro; this is cumbersome and can get harder to maintain, especially since our code will likely be used by new researchers next year;
Converting the files to another type already implemented; this is what we do today but it's simply inefficient.

https://github.com/kedro-org/kedro/pull/1964 was an attempt to close this issue, I transferred it here and I'm reopening for visibility


Problem with overlaying elements

With version 3.0 we're having problems with elements that are overlaying the transitioning elements: The transitioning element is displayed above a pop up, instead of underneath it as in 2.2.1.
Specifically this emitted HTML causes trouble:

    ...

Removing the style attributes on both elements makes it work again (tested on Chrome 61 and Firefox 55), but I'm guessing this is no option.
This can be seen e.g. here (excuse the certificate error): https://tb.iks.cs.ovgu.de/
After signing in with the default login data, clicking the gravatar in the top bar reveals a dropdown, but the links are not accessible as the greeter, which uses react-css-transition-replace (the white text on black), is overlaying the elements.
Also: we found no way to solve this using z-index.

This is interesting. Thank you for providing the test case. I can't recall exactly what's been changed that would cause these kinds of problems, as I recall the render method didn't change too much, but I'll investigate and get back to you.

From a quick look at the diff I think it might have to do with relative vs absolute positioning of the elements. Will come back with more.

This will likely be fixed in 3.0.1. Please give it a try and if so we can close this.

Will try tomorrow and report back. Thanks for looking into this!

Seems to be fixed, thanks!


fix: include CSS in README example

I can't find where can I change the commit message...

You'd have to use the CLI for it. I just realized you submitted this via GitHub's web interface.  As soon as the build passes, I'll merge it. Thanks!

Yeah, today I'm very very lazy, but I realized, next time CLI will be better than WI.
Thank you for this working (yeah working) plugin, I spend a lot of time to find it! :)


TypeMirror isAssignableTo does not work with generics

This issue was originally filed by @Pajn

What steps will reproduce the problem?
A testcase can be found https://gist.github.com/Pajn/73b9d504524fad78ebb5
What is the expected output? What do you see instead?
All of the tests should pass, meaning that TypeMirror isAssignableTo should return true for List isAssignableTo Iterable<int>.
The fourth test fails.
What version of the product are you using?
Tested with Dart 1.8.3, 1.8.5 and 1.9.0-dev.10.4
On what operating system?
Ubuntu Linux 14.10
What browser (if applicable)?
N/A

Fixed in 6545e8539e5e100d4b1497c02f3647abc85bc06a


Type-confusion when storing i32 into a stack slot

Ok I think I got everything working now! Since it was a very recent change, @cfallin can you confirm you saw 95f86be? That was necessary to fix some segfaults that were cropping up on windows since the 4-byte return values were getting stored as 8-byte results. The comment there makes me suspicious though...

That was indeed a suspicious comment. I am not sure exactly what the original intent was but I double-checked just now that this store helper is not being used to codegen stores; those directly produce correctly-sized instructions. I suspect this originally came from spill/reload helpers in which case "always spill/reload the full reg" is a reasonable conservative approach but even then we have the invariant that upper bits (beyond a type's width) in a register are undefined and extended when needed by an op so this should be fine I think. Thanks for calling it out!
Originally posted by @cfallin in https://github.com/bytecodealliance/wasmtime/issues/2806#issuecomment-814437743
I guess I'm coming after the battle, but this particular change introduced a regression. See https://github.com/bytecodealliance/wasmtime/pull/2277 for context, which added an optimization for the following situation. Imagine we have the following CLIF:
v1 = iadd.i32 {...}
v2 = uextend.i64 v1

Thus v1 is 32-bits, and v2 is 64-bits. During lowering, we pattern-match this situation: in theory, the iadd.i32 is compiled to an addl, which clears out the upper bits, so the zero-extension is spurious, and can be redefined as a plain copy of the input (a move!). So this might be lowered into the following vcode:
%v1 = addl ...
movq %v1, %v2

Now, from the point of view of register allocation, both vcode's values are using the RegClass::i64, so the two virtual registers can be coalesced and allocated to the same register. That's all right... unless the register is spilled
// say %v1 and %v2 are allocated to %r1
%r1 = addl ...
movl %r1, 0x20(%rsp) // spill to a stack slot as an i32, since %v1 is an i32
// ... later
movq 0x20(%rsp), %r1 // reload as an i64, since %v2 is an i64. The high 32-bits are undefined!

The line ending with spill to a stack slot as an i32 results from the change Alex made. Before this, the value would be stored as an i64, so the high bits from the iaddl would be stored in the stack slot and correctly reloaded. The comment's wording didn't quite help in describing this situation. Also, there should have been a test case, so that part is on me.
So the issue is that register allocation kind of loses the precise type, and that a store to a stack slot should store the full width of the stack slot all the time, so there are no undefined bits when storing and reloading values within a given RegClass (here, RegClass::I64). Alternatively, we might remove the uextend elimination optimization, but that would increase register pressure and slow down the decoding pipeline a bit, so I'd rather go with the first solution.

Did my refactoring to stores in 6bdef48 (from #2833) make this worse or better or unrelated?

Unrelated, I think. Really the matter was to not have a test for the explained behavior above. For what it's worth, I've got a test case now, which was a bit hard to handwrite, but that will make sure that we won't undo this later again.

Fantastic find, @bnjbvr -- thank you for tracking this down!

Looks like this patch now introduced a new regression on s390x.  The patch changes store_spillslot but not load_spillslot, which means that some values may now be stored as i64 and then loaded as i32 from the same address.  This does not work on big-endian platforms.
Shouldn't load_spillslot be using the same type as store_spillslot?   If this is not possible or desirable for some reason, then we need to update the offset where the value is loaded from on big-endian systems in such cases.  (However, it is not immediately clear how we'd know the target endianness in load_spillsplot.  Seems this would require a new ABIMachineSpec callback.)
I'd be happy to come up with a patch to fix this, just let me know which option you prefer.

Sorry about that! I agree that yeah, since the store_spillslot function is target-independent and this target-dependent constraint has leaked upwards, the load_spillslot function should explicitly behave the same way indeed. @cfallin thoughts?

Hmm, yes, I think the straightforward fix is to do the same type-promotion logic in load_spililslot(), as you suggest.
It might be worth documenting what invariants we're upholding, too, just to make this clearer for future readers: specifically, for integer registers, the lowering logic can always assume that the full register will be preserved across spills/reloads, while for floating-point and vector registers, only the used portion is preserved. The other side of this contract is that the lowering must be precise with types on floats/vecs, but is free to generate moves between integer registers holding types of different sizes.

Hmm, yes, I think the straightforward fix is to do the same type-promotion logic in load_spililslot(), as you suggest.

OK, https://github.com/bytecodealliance/wasmtime/pull/2843 implements this and fixes the regression for me.


Facing A Issue While Logging In

Whenever i Try to login the dash crashes.

i dont work with pterodactyl srry


Missing MEM_* types

Found out while porting mimalloc to Rust. These types are required to use VirtualAlloc2 function.
There are located in winnt.h header.
Structs:

MEM_EXTENDED_PARAMETER
MEM_ADDRESS_REQUIREMENTS

Enum:

MEM_EXTENDED_PARAMETER_TYPE

I came across this issue doing the exact same thing! Seems like it's best I help out on the unix side.


Include https backend in the origin export API for the UI

We added support for origins to take https storage backend recently #958 , and we want to expose this type of backend to the origin export API and correctly display the related values
@CannonLock , since S3/POSIX/http or the future Globus backend each has a different combination of Origin.Exports entries and other configurations to set up (i.e. Origin.S3Bucket for s3 backend and Origin.HttpServiceUrl for http backend), do we want to render different panels based on different storage type?

I'm going to bump this to 7.9 with the timeline/capacity we have


Feature request: pass pickled data to classes

In fault, we'd like to add support for automated conversion from system verilog types to hwtypes (so we can pack values in the design into a hwtypes Product so it can be referenced like a magma type).  The simplest way to do this would be to pass a pickled data structure mapping argument types to the class.  Then, when the class is loaded, it can lookup this mapping and type information to properly handle the type conversion.  Otherwise, we'd need to serialize this type information in the class definition, which is going to be quite hard.

I'm not sure if I follow completely. How is the pickled data going to be passed into the class at runtime? Would you please provide some minimal mock example to demonstrate the usage?

hmm using a class might work, let me try it out

@leonardt Is this still relevant? Or do you still want native pickle support?

I found another way to achieve what I needed for now, I'll close this and reopen if I think I need to pursue the feature again.


[Bug] Discord cdn links keep disappearing

Discord cdn (media) links won't show up with betterdiscord, it would load for a couple seconds than show this

To Reproduce
just try to look at a discord cdn (media)
Expected Behavior

i expected to see the media that's being sent
Screenshots

Discord Version
Canary
Additional Context

Is this still happening for you? It is not happening for me. Do you have plugins enabled?


Updated Vinxi example with Streaming

Hey, I am playing around with vinxi and realized that the example in this repo was not working so I updated it following up with the TanStack website migration. Let me know if anything is wrong.

Now that Tanstack.com is using TSR in production, do you mind updating your PR here?
If everything works after the update, I'd be happy to push to this into the repo.

Now that Tanstack.com is using TSR in production, do you mind updating your PR here?
If everything works after the update, I'd be happy to push to this into the repo.

Sure I'll get to it once I get a chance

Done now @SeanCassiere

With CI failing, need figure out what's causing this.

Looks to be conflicting vite and vitest dependencies that are causing this.

#1467 should resolve these CI errors. Once merged in, you should be able to rebase and have CI pass.

@alessandrojcm When you have some time, could you update the PR and rebase with main?
The changes from #1467 should allow for the higher version of vinxi that the example was using (that required a higher vite and vitest version from our end).

@alessandrojcm When you have some time, could you update the PR and rebase with main?
The changes from #1467 should allow for the higher version of vinxi that the example was using (that required a higher vite and vitest version from our end).

Done now

@alessandrojcm thank you!
🚀


Update editor part options and types

Much better now. Probably could still be improved a bit. Currently only available for the EditorPartOptions. Any idea if we should add it to another file for others to use?

If a user does not have related settings (editor part options) then 3 calls on startup, otherwise 5 calls. The new verification is not going to be affecting performance. We should however consider not verifying all settings each time. Actually, we never "have to" validate all settings because on startup we first get all default settings (in theory no verification needed) and afterwards we just get setting change event for which we could just validate the changed settings and not all of them again.


make check segmentation fault

When I run make check I get a segmentation fault. Here is the output I get:
~/ifm3d/build$ make check
[ 22%] Built target ifm3d_camera
[ 22%] Built target ifm3d_camera_shared
[ 38%] Built target ifm3d_framegrabber
[ 38%] Built target ifm3d_framegrabber_shared
[ 44%] Built target ifm3d_image
[ 44%] Built target ifm3d_image_shared
[ 50%] Built target gtest
[ 55%] Built target gtest_main
[ 66%] Built target ifm3d-image-tests
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from Image
[ RUN      ] Image.CloudMechanics
[       OK ] Image.CloudMechanics (1319 ms)
[ RUN      ] Image.XYZImage
Segmentation fault (core dumped)
make[3]: *** [modules/image/test/CMakeFiles/check_image] Error 139
make[2]: *** [modules/image/test/CMakeFiles/check_image.dir/all] Error 2
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2
I'm using Ubuntu 14.04 and an O3X camera. I've already verified that the O3X is running firmware version 0.1.16.
I'm confused by the error path, modules/image/test/CMakeFiles/check_image, when I try to navigate to that directory it doesn't exist. I have path modules/image/test, but there is no CMakeFiles folder inside the test directory.
I've narrowed it down to line 65 inside the XYZImage test inside the ifm3d-image-tests.cpp file:
cv::split(xyz, chans);

Please find the file libifm3d_image.so in your build directory. Then paste in the output of:
$ ldd libifm3d_image.so

( ... output omitted ... )

Unrelated, but, if possible, I'd recommend updating your camera to 0.1.20. @GarrettPlace should be able to set you up with that.

Thanks for the advice.
Turns out I had opencv3 library on my computer but I told my cmake to expect opencv2. I decided to  uninstall opencv3 then I installed opencv2. That fixed my problem.

That is precisely where I was going with this.


Fixes #5046, zsh completion

Signed-off-by: Peter Stalman<EMAIL_ADDRESS>What this PR does / why we need it:
Closes #5046
Special notes for your reviewer:
Small fix.  Removes quotes in aliashash keys to work with ZSH.
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

Unfortunately this did not solve my ZSH bash error:
./bin/helm ins_helm_root_command:12: bad math expression: operand expected at `"del"'                                                             130 ↵
_helm_root_command:12: bad math expression: operand expected at `"del"'
_helm_root_command:12: bad math expression: operand expected at `"del"'
./bin/helm

Not sure if this fix solves a different issue.

Found a working sed for BSD sed:
./bin/helm completion zsh | sed -e 's/aliashash\["\(\<.\+\>\)"\]/aliashash[\1]/g' | grep aliashash
	-e 's/aliashash\["\(${LWORD}.+${RWORD}\)"\]/aliashash[\1]/g' \
        # aliashash variable is an associative array which is only supported in bash > 3.
            words[c]=${aliashash[${words[c]}]}
        aliashash[ls]="list"
        aliashash[up]="update"
        aliashash[rm]="remove"
        aliashash[up]="update"
        aliashash[del]="delete"
        aliashash[dep]="dependency"
        aliashash[dependencies]="dependency"
        aliashash[hist]="history"
        aliashash[ls]="list"
    declare -A aliashash 2>/dev/null || :

This sed seems to work with BSD sed:
helm completion zsh | sed -e "s/aliashash\\[\"\\(${LWORD}.*${RWORD}\\)\"\\]/aliashash[\\1]/g" | grep aliashash
	-e 's/aliashash\["\([[:<:]].*[[:>:]]\)"\]/aliashash[\1]/g' \
        # aliashash variable is an associative array which is only supported in bash > 3.
            words[c]=${aliashash[${words[c]}]}
        aliashash[ls]="list"
        aliashash[up]="update"
        aliashash[rm]="remove"
        aliashash[up]="update"
        aliashash[del]="delete"
        aliashash[dep]="dependency"
        aliashash[dependencies]="dependency"
        aliashash[hist]="history"
        aliashash[ls]="list"
    declare -A aliashash 2>/dev/null || :

Changing the line to use the word boundaries should make this compatible for others:
"s/aliashash\\[\"\\(${LWORD}.*${RWORD}\\)\"\\]/aliashash[\\1]/g"

I believe the answer is to revert
https://github.com/helm/helm/pull/4851

@philoserf, that will only break the ZSH completion.  So yes, you wouldn't get the error, but you would also not get any completion.
The issue is the introduction of the shorter aliases for bash, which are not correctly converted to to ZSH.

Turns out that the real root of this bug was that the 'aliashash' associative array was not being declared properly.  PR #5680 fixes it and removes this fix, which is no longer needed.

And the saga continues.  It seems that removing the quotes is necessary but for a completely different reason.  See https://github.com/helm/helm/pull/5680/commits/48f0e3101d49a3de1466ff75fc786ce012f369cc for details.


Question: usage with react using the fetch api is supported

Problem statement
My uses case is that I need to support react & react native apps. These use the fetch api. Does go-swagger support this ?

go-swagger doesn't know about a react pattern but it allows you to make a swagger spec that does I think

Thanks. I will test it to be sure.


[$1000] WS - Default currency field isn't disabled when account have Control Policy

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/16449
Action Performed:

Launch the app
Log in with expensifail account which has Control policy
Go to Settings - Workspace - Tap on Avatar
Check Workspace Settings

Expected Result:
Verify that the default currency field is disabled and has styles matching this comment.
Actual Result:
The default currency field isn't disabled when the account have Control Policy
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/228905954-36306309-3800-4189-bb63-fe8228e23f8d.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0187a24a9f8cb94f28
Upwork Job ID:<PHONE_NUMBER>464609280
Last Price Increase: 2023-04-04

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

I am asking in Slack here https://expensify.slack.com/archives/C049HHMV9SM/p1680517071785079
If that link doesn't work please search for "BUG DISCUSSION: WS - Default currency field isn't disabled when account have Control Policy"

Job added to Upwork: https://www.upwork.com/jobs/~0187a24a9f8cb94f28

Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Currency field is not disabled even when accounts are having Control Policy
What is the root cause of that problem?
hasVBA is a variable used in the render() method in WorkspaceSettingsPage.js file. if hasVBA is true, the Picker component will be disabled. If hasVBA is false, the Picker component will be enabled. But by default the variable is always false even if an account is having control policy. Thus this issue occurs.
https://github.com/Expensify/App/blob/17ea27f28623bafa37276ebb8d560d65f8dd877e/src/pages/workspace/WorkspaceSettingsPage.js#L139-L150
What changes do you think we should make in order to solve the problem?
If we change the variable from hasVBA in isDisabled option to this.props.policy.name  then the expected result happends.
https://github.com/Expensify/App/blob/17ea27f28623bafa37276ebb8d560d65f8dd877e/src/pages/workspace/WorkspaceSettingsPage.js#L143
I have noticed, by default any workspace has a default account policy so when we target the policy name it will be disabled.

What alternative solutions did you explore? (Optional)
if we create a policy.controlPolicies array and see whether the array is empty or not depending on the account type creation and pass that in isDisabled section, it will act accordingly as well.
https://github.com/Expensify/App/blob/17ea27f28623bafa37276ebb8d560d65f8dd877e/src/pages/workspace/WorkspaceSettingsPage.js#L143

@joelbettner @rushatgabhane bump on review ^^

thanks, on this

@laurenreidexpensify I'm kinda confused. What exactly is an account having control policy?

@spantheslayer I think the main problem here is how to find if a policy has a control policy

Yeah, the issue is that when you try to create a new policy from staging.expensify.com , it creates a workspace. which I believe has an account policy I believe (correct me if I am wrong).

But when we create a workspace from our expensify chat dashboard, it also reflects there in the staging.expensify.com section. that means by default every workspace gets created gets assigned a policy right?
That's why I thought of modifying the isDisabled param.

I don't think that's related. We need to figure out what an account with Control policy means

Sure thanks that helps. Please let me know, I will raise another updated PR accordingly.

Alright, we found out that control policy is of type corporate in our codebase.
@laurenreidexpensify Question: should default currency field be disabled for Collect policy as well?

so what's your though on this? should I try finding if the account is of corporate or what?
also I read that it is not possible for external contributors to test it out.

@joelbettner @rushatgabhane bump ^^

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@joelbettner @rushatgabhane please address today ^^
Note for myself: C+ offer sent to Rushat

@joelbettner @rushatgabhane @laurenreidexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@joelbettner, @rushatgabhane, @laurenreidexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

bump @kbecciv thanks

@laurenreidexpensify Checking

@laurenreidexpensify After adding a bank account to the workspace - the  Default currency field is disabled

Awesome thanks all!


This file isn't playable

This file isn't playable. That might be because the file type is unsupported, the file extension is incorrect, or the file is corrupt. 0xc00d36c4

same, there's no extension  for the video file


Various interface fixes and improved robustness

@mgree Let's merge this as it improves robustness even if not complete. Feel free to comment on the changes and give feedback.


Fixing out of order for conditional outputs

Signed-off-by: Ketan Umare<EMAIL_ADDRESS>TL;DR
Fixes a bug in which condition outputs are ordered incorrectly
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description
Use List instead of sets

I smoke-tested it locally by ensuring that the serialization of the blast example in flytesnacks always succeed.


How to apply data-const when loading html with XMLHttpRequest

Hi!
When i make some html loads from external html files that have constraints, they're not working as expected, it seems that the layman only works when the web page is loaded once...
There is a way to make them work as expected?...
Thanks in advance.

How are you using it?

var xhr= new XMLHttpRequest();     xhr.open('GET', '../html/Dashboard.html', true);     xhr.onreadystatechange= function() {         if (this.readyState!==4) return;         if (this.status!==200) return;         document.getElementById('div_content').innerHTML= this.responseText;     };     xhr.send();
Like this.
When i make the load from an external html file stored in the same workspace, it does not take the constraints until the entire page is reloaded!

You can use the syntax for includes if you are tryjng to include an html file segment.
Please check the README for the included file syntax

I will close this issue now.
Feel free to reopen it, if your problem still is not solved.
Thanks


Lock wont repair after unpair

I have a nuki lock 3 pro and because of poor battery life i want to try nuki hub. Installed latest version of nuki hub on an olimex poe iso board and paired to the lock. First pair went smooth, but in the morning i saw that nuki hub was reporting state unlocked, but nuki was locked. I tried to restart the esp board but no change. Then, I tried to re-pair the lock, but not working anymore.

Please factory reset your ESP and reflash NUKI Hub.
When paired again, please check if the smartphone app reports the correct status.

I did factory reset, reflashed nuki hub, nothing works.

Strange, after changing hub's hostname got paired.

is it reporting the state now correctly?

Yes, untill now is reporting correctly and connection seems stable.

I will close this issue now, everything seems to work as expected. Thanks.

ok, perfect


Add configuration

Possibly use http://hackage.haskell.org/package/configurator-<IP_ADDRESS>/docs/Data-Configurator.html? The configuration file format will probably be almost identical to musicrest,conf.

We now have tunebank.conf. The next step is to run the server in a custom monad (presumably of type ReaderT State Handler) by hoisting it with hoistServertWithContext.  See https://docs.servant.dev/en/stable/cookbook/using-custom-monad/UsingCustomMonad.html. We can then place the configuration data into a TVar in State.  Note, we can't use a simple State monad because this state would be lost between requests.

Fixed by 8cc6fd96c31579c1ebdfbf8fef8b1d28b0c973d7.


User unable to login

From a recent Google Play review:
krishnag kulkarni 28 Jul 2016 at 14:19 0 0
Can't log in. Cannot login even if i have created an account with Wikipedia. I think the app must be awesome. Please fix this issue asap.
Any idea what the issue is?

The best would be to contact the user by replying to their review, but it seems Wikimedia has not given us the permission to do that? Do you have something like below?

Nope :/

According to https://meta.wikimedia.org/wiki/Schema:MobileAppLoginAttempts, the failed login attempt should have been logged on the server side. If someone obtains an NDA with WMF and look at it, we can get a bit more information.

That would be a good idea if possible, 3 out of 12 of our reviews are people having trouble with logging in. :/


Create fairview.txt

@Houtaro Please change the file path from lib/domains/ph/sti/fairview/fairview.txt to lib/domains/ph/sti/fairview.txt if you wish to add a domain fairview.sti.ph.

@Houtaro You might miss my previous comment. Please reply.

@Houtaro I am sorry, this request remains unanswered for a while, I have to close it. Please reopen and comment if you have any update. Thank you for the understanding.


Offset difference in IME padding between iOS and Android

I have code like this:
Box(Modifier.fillMaxSize().imePadding(), contentAlignment = Alignment.BottomCenter) {
    NewTodoItemButton {
        // ...
    }
}

...that is nested inside a Scaffold. Seems to me like the padding isn't taking into account the surrounding Scaffold on iOS, but it is on Android.
Android (expected):

iOS (actual):

Reproducer attached below!

[KotlinProject 29.zip](https://github.com/user-attachments/files/15934273/KotlinProject.29.zip)

In your example project, you are applying the bottom (safe area) padding twice:

once via the PaddingValues received from the Scaffold - applied on the Column
second time via the .imePadding() modifier - applied on the Box

On android it works properly, because you did not enable edgeToEdge in your activity. (enableEdgeToEdge()). Without edgeToEdge, the imePadding/padding(it) has no effect.
I suggest to enable edgeToEdge for android, and remove the imePadding modifier.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Clean termination with

Signals

Can you replace break with  sys.exit() ? I don't like global usage...

http://stackoverflow.com/questions/32922909/how-to-stop-an-infinite-loop-safely-in-python

I'm agree now !


Add methods to get price impact and estimated yield

Derived from https://github.com/blockworks-foundation/mango-ui-v3/blob/eba6d0e1cacd1befc302b1d2cb714075a5d49353/components/trade_form/AdvancedTradeForm.tsx
This is for Mercurial in order to add our rebalancing routes, but that should be used by the front end too for the UI values.

Ok thanks for the comments Sheik, added a few other improvements, code was very raw, still probably is.
Could you give me a hand making the getMangoPerpOrderBookPriceImpact non blocking or give me leads?

Still a few things to refine (protip: npm run validate) but mostly fine I
would say.
getMangoPerpOrderBookPriceImpact is not blocking, it is asynchronous, it’s
fine and there isn’t really any way around it, since the underlying methods
query the network to retrieve info.
On Wed 4 May 2022 at 04:01 acammm @.***> wrote:

Ok thanks for the comments Sheik, added a few other improvements, code was
very raw, still probably is.
Could you give me a hand making the getMangoPerpOrderBookPriceImpact non
blocking
—
Reply to this email directly, view it on GitHub
https://github.com/UXDProtocol/uxd-client/pull/2#issuecomment-1116862678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGJK2KDZCSJ7DZJ3KIEO4TVIHK6RANCNFSM5U3EUZOA
.
You are receiving this because your review was requested.Message ID:
@.***>

Checking formatting...
[warn] src/mango/depository.ts
[warn] src/mango/index.ts
[warn] Code style issues found in the above file(s). Forgot to run Prettier?

npm run format

Also please configure your editor so you have format on shortcut/save using Prettier.

PS: please try to use conventional commits style, and use that to name your branches too, eg: feat/mango-price-impact-and-yield

Still a few things to refine (protip: npm run validate) but mostly fine I
would say.
getMangoPerpOrderBookPriceImpact is not blocking, it is asynchronous, it’s
fine and there isn’t really any way around it, since the underlying methods
query the network to retrieve info.
On Wed 4 May 2022 at 04:01 acammm @.***> wrote:

Ok thanks for the comments Sheik, added a few other improvements, code was
very raw, still probably is.
Could you give me a hand making the getMangoPerpOrderBookPriceImpact non
blocking
—
Reply to this email directly, view it on GitHub
https://github.com/UXDProtocol/uxd-client/pull/2#issuecomment-1116862678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWGJK2KDZCSJ7DZJ3KIEO4TVIHK6RANCNFSM5U3EUZOA
.
You are receiving this because your review was requested.Message ID:
@.***>

Ok thx king

Recreating new PR


IZPACK-1301 - Ensure that installData is set on nested conditions bef…

…ore calling isTrue
This fixes IZPACK-1301 NPE Exception when using compound conditions with pack selection

This just follows the pattern from RulesEngineImpl of setting the install data on the condition if it has not yet been set when the condition is evaluated inside a logic condition.

This may not be a complete fix, as it doesn't propagate a change on the nested conditions when setInstallData is called on the parent condition.  That also means that a different InstallData could be used on the nested instances if the RulesEngineImpl.isConditionTrue(Condition cond, InstallData installData) method is called, as that will set the install data on the parent condition whether there is already a value or not, but it the child conditions will be unchanged.
Perhaps a better fix may be to also override the setInstallData method to propagate the value to all child conditions, or perhaps always force the value of the install data on the children instead of checking whether it is set first.

Does this solve the NPE for you?

Thanks for contributing.


Consider changing the model from Mistral to Granite

Investigate whether/which model in the granite family could be used in place of Mistral

fixed in #158


elevated lapack test failures on Arm Neoverse v1

Easybuild maintainer reported elevated lapack-test numerical errors on Arm Neoverse-V1 (344 in total for GCC-12).
https://github.com/EESSI/software-layer/blob/77c88452405cc92ddd7bdc1a37af5f8aeb972c2f/eessi-2023.06-known-issues.yml#L16
The number of numerical errors can reduced to 14 by turn off tree-vectorize with flag -fno-tree-vectorize.  Since there are also concerns that this might affect BLAS/LAPACK library performance, we did a closer look at the actual numerical differences to confirm the correctness of the tests when compiling with the flag on.
Initial result -
                        -->   LAPACK TESTING SUMMARY  <--
SUMMARY                 nb test run     numerical error         other error
================        ===========     =================       ================
REAL                    1315683         107     (0.008%)        0       (0.000%)
DOUBLE PRECISION        1314777         66      (0.005%)        0       (0.000%)
COMPLEX                 773609          97      (0.013%)        0       (0.000%)
COMPLEX16               776246          74      (0.010%)        0       (0.000%)
--> ALL PRECISIONS      4180315         344     (0.008%)        0       (0.000%)

234 out of 344 tests are due to small difference between two runs - one to solve the full matrix (line 738) and the other one to solve partial (upper or lower portion) of the matrix (line 770). The test program expects the results to be exact match (line 780 of https://netlib.org/lapack/explore-html/d5/d99/group__single__eig_gae07927c6321c12cd0d92450eaa21ea9c.html) or the return code is set to be the inverse of ulp (a large number) to indicate a mismatch.
The functions under tests are SGGEV/DGGEV/CGGEV/ZGGEV and SGGEV3/DGGEV3/CGGEV3/ZGGEV3.  I have validated the differences are indeed very small for these tests (see below for one of the example); however they aren't exact matching because the total amount of work is not the same.
alphar           1 -0.352845252     -0.352844894
alphai           1   1.09313405       1.09313369
beta             1  0.269765615      0.269765466
alphar           2 -0.427688032     -0.427687764
alphai           2  -1.32500112      -1.32500112
beta             2  0.326986194      0.326986134
alphar           3  -3.60646695E-02  -3.60646695E-02
alphai           3   8.01697224E-02   8.01697075E-02
beta             3  0.422834128      0.422834158
alphar           4  -7.11821616E-02  -7.11821690E-02
alphai           4 -0.158233926     -0.158233911
beta             4  0.834563255      0.834563375
alphar           5  -1.16443419      -1.16443443
alphai           5   0.00000000       0.00000000
beta             5   1.54320097       1.54320109

96 out of remaining 110 tests are due to a problem with test driver clavhe.f.  I found by accident that by adding a statement to print out N on line 408 https://netlib.org/lapack/explore-html/d3/d9a/group__complex__lin_ga25d4e26307cae0c5c897051ce64e2e91.html, these 96 errors can be fixed. This confirms that there is no issue with the library itself and there may be something wrong with the test driver.

This is a known problem with the testsuite, which is increasingly worthless for anything other than testing the reference implementation of LAPACK when built against the Reference BLAS - which, to be fair, is/was its original purpose long before cpus became capable of FMA and compilers learned to perform aggressive optimization. See for example https://github.com/Reference-LAPACK/lapack/issues/732 , also the earlier easybuild issue https://github.com/easybuilders/easybuild-easyconfigs/issues/16380

tree-vectorize emits wildly bloated code and often overflows and underflows.
the tests need fuzzy comparison, current expects exact match with reference implementation, which matches for smaller than simd kernel samples.

@martin-frbg @brada4
Thanks for sharing the information,
I assume tree-vectorize may help improve and performance.  Is there any data to quantize how much performance impact disabling this option?

It miscompiles, like over/under reading/writing the fixed size arrays BLAS has everywhere.

The tree-vectorizer pass is already disabled for all of LAPACK (and any tests that use Fortran code), on the C (BLAS) side this has been handled on an individual file basis where miscompilations were found (I do not think it is helpful to claim that it miscompiles "everywhere" in general). However I was under the impression easybuild already disabled it in general, or is this only on x86_64 ? It should be noted that this option became a default only in recent versions of gcc as its developers assumed it was now stable enough.

If you paste eg. daxpy into godbolt.org you see no-tree.... generates more or less logical code, like vector loads muls adds, if you enable tree vectorizer, it generates 10 screens of jump-laden code, around 2nd screen it does lea arg % 8 for example.

It's good to know tree vectorize generate weird code.  Strange enough, I only notice tree-vectroize cause numerical errors for test #5 for various flavors of GGEV and GGEV3. They are unlikely the only functions that require exact match of output results.
If we have individual control of compiler flag for fortran source code similar to c functions, we can selectively disable tree-vectorize for just a few subroutines.

if you enable tree vectorizer, it generates 10 screens of jump-laden code, around 2nd screen it does lea arg % 8 for example.

I agree that some of its choices are a bit counter-intuitive, but I do not remember seeing anything actually wrong except in the (few) files that earned a #pragma optimize GCC  "no-tree-vectorize ?
However I realized in the meantime that a  makefile  build will still have the tree-vectorizer enabled for building the LAPACK testsuite, as the FFLAGS_DRV variable for the test drivers is not  cleaned (unlike the FFLAGS for building LAPACK itself). Will fix this later...

If we have individual control of compiler flag for fortran source code similar to c functions, we can selectively disable tree-vectorize for just a few subroutines.

Unfortunately I am not aware of there being any gfortran directive matching the gcc "optimize" pragma (the only remotely similar would be !GCC$ NOVECTOR preceding individual loops). One would have to modify the makefile to
split off individual compilation units with different compiler flags

If we have individual control of compiler flag for fortran source code similar to c functions, we can selectively disable tree-vectorize for just a few subroutines.

Unfortunately I am not aware of there being any gfortran directive matching the gcc "optimize" pragma (the only remotely similar would be !GCC$ NOVECTOR preceding individual loops). One would have to modify the makefile to split off individual compilation units with different compiler flags

There are concerns that some performance may be lost due to -fno-tree-vectorize. I will apply the flag to only the LAPACK functions that runs into numerical issues to limit the impact.

Do I read that correctly that you are still at 0.3.21 from a year ago ? I just did a test run on Graviton3 with the current develop branch and got only two failures (one in SGGES3 and one somewhere in DST) no matter the tree-vectorizer option used with GCC11.4 .

Do I read that correctly that you are still at 0.3.21 from a year ago ? I just did a test run on Graviton3 with the current develop branch and got only two failures (one in SGGES3 and one somewhere in DST) no matter the tree-vectorizer option used with GCC11.4 .

Yes.  The ask (https://github.com/EESSI/software-layer/blob/77c88452405cc92ddd7bdc1a37af5f8aeb972c2f/eessi-2023.06-known-issues.yml#L16) from EasyBuild is to figure out why there are elevated fails with 0.3.21 with GCC 12.  For 0.3.21, tree-vectorize is on.   In the latest version, tree-vectorize is turned off.

Because it is selectively disabled now, for old versions of OpenBLAS you need to disable tree-vectorize if using fresh GCC.
eg.
https://github.com/OpenMathLib/OpenBLAS/commit/739c3c44a77d87d1b08de59bf868250683c0f755

tree-vectorize was actually turned off in response to an easybuild issue, but a lot has changed since 0.3.21 (including some of the LAPACK tests)


heading h1 styling

🚀 What is the feature?
Create some standard styling to the <h1> tag.
Also, you're welcome to get creative.
ℹ Additional info
Add a screenshot of your changes - if helpful.
Make sure the app works, otherwise the PR cannot be approved.
Link the PR with this issue (in the right panel "Development" -> select issue).

I would like to get this one sorted.

Done