Unable to sign in: User returned by service does not match user in the request

Storage Explorer Version: 1.17.0
Build Number: 20201211.10
Platform/OS: Win10_x64
Architecture:  x64
Regression From:  Not aware, first re-install of this tool in more than a year
Bug Description
When I add my work account through either my alias (e.g<EMAIL_ADDRESS>or Full name (e.g<EMAIL_ADDRESS>and I authenticate properly through MFA (MS Authenticator) I receive the message:
"Subscriptions could not be loaded. Please try reentering credentials or removing and readding account."
In the Activities window are 2 messages:

Unable to sign in: User<EMAIL_ADDRESS>returned by service does not match user<EMAIL_ADDRESS>in the request.
Added Azure account<EMAIL_ADDRESS>I have attempted to authenticate with both alias and full email address and both end in the same message.

Steps to Reproduce
Add account
Enter either<EMAIL_ADDRESS>or<EMAIL_ADDRESS>Successfully authenticate through MFA
Storage explorer returns me the above message
Expected Experience
I authenticate and am able to access my storage across my subscriptions.
Actual Experience
I am continually prompted that one or more account requires authentication

@TroyShane how long ago did you create the alternative address (frank.smith)?

Same day I started working at this company. One is just the alias of the other.

Can you:

Upgrade to at least version 1.19.0
Try these steps: https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2004#reauthentication-loop-or-upn-change

V 1.19 seems to have resolved it.
Thanks Matthew!
Troy Shane
Strategic Partnerships Team, SAP on Azure
Microsoft
Teams:     +1<PHONE_NUMBER>
Mobile:    +1<PHONE_NUMBER>
<EMAIL_ADDRESS>@.***D73AA0.4023B7E0]
From: Matthew Rayermann @.>
Sent: Monday, April 26, 2021 1:12 PM
To: microsoft/AzureStorageExplorer @.>
Cc: Troy Shane @.>; Mention @.>
Subject: Re: [microsoft/AzureStorageExplorer] Unable to sign in: User returned by service does not match user in the request (#4031)
Can you:

Upgrade to at least version 1.19.0
Try these steps: https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2004#reauthentication-loop-or-upn-changehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Fcommon%2Fstorage-explorer-troubleshooting%3Ftabs%3DWindows%252C2004%23reauthentication-loop-or-upn-change&data=04|01|Troy.Shane%40microsoft.com|ac631d4998404ea1adb908d908d6640b|72f988bf86f141af91ab2d7cd011db47|1|0|637550539162473321|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=2fezUWVwJuwsSbNP94Yfr3%2BHNEKZUoqW3dOjqmp96Qo%3D&reserved=0

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FAzureStorageExplorer%2Fissues%2F4031%23issuecomment-827006244&data=04|01|Troy.Shane%40microsoft.com|ac631d4998404ea1adb908d908d6640b|72f988bf86f141af91ab2d7cd011db47|1|0|637550539162483315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EbcjGgJsitmunvklXRdJwQxsHT1PGatpgTgShmaCdKs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG7QGEAMD6Q3X7PIHX2PXQ3TKWNFTANCNFSM4WXV3XEQ&data=04|01|Troy.Shane%40microsoft.com|ac631d4998404ea1adb908d908d6640b|72f988bf86f141af91ab2d7cd011db47|1|0|637550539162493309|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NXUWAAeZSNpTH7z6dBdONOqbWhOeAP7%2BVAphfZUmkac%3D&reserved=0.


Test tests

Codecov Report

Merging #85 (1dc0620) into main (0fb2952) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1dc0620 differs from pull request most recent head d654c6c. Consider uploading reports for the commit d654c6c to get more accurate results

@@           Coverage Diff           @@
##             main      #85   +/-   ##
=======================================
  Coverage   51.33%   51.33%
=======================================
  Files         239      239
  Lines        5895     5895
=======================================
  Hits         3026     3026
  Misses       2869     2869

Continue to review full report at Codecov.

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


[BUG]: Data is not available

Description of the bug
Hi, thanks for the interesting work and your contribution to making this library. I tried to run the example based on my macOS and Ubuntu, but neither worked for me. The command is what is provided in the readme:
python -m sotopia_conf.server --gin_file="sotopia_conf/server_conf/server.gin" --gin_file="sotopia_conf/generation_utils_conf/generate.gin"

The error I am getting is as follows:
IndexError: Cannot choose from an empty sequence

After investigation, I found that it may be because my Redis database is empty. If that is the case, may I know if the data will be available or if we need to create the agents, tasks, and environment by ourselves?

Steps To Reproduce

Install the repository
Install the dependent packages as suggested in the readme.
Run python -m sotopia_conf.server --gin_file="sotopia_conf/server_conf/server.gin" --gin_file="sotopia_conf/generation_utils_conf/generate.gin"

Additional Information
No response

Please refer to this issue for the data, let me know if you have any more questions.
https://github.com/sotopia-lab/sotopia/issues/7#issuecomment-1806365778

Thank you for your help. It works now.


Deprecation notices iOS 9

I was wondering what happens if Apple forces users to use the newer SDK from XCode 10. Do we still get these deprecation notices or cant we use this existing plugin anymore starting from Match?

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


Improved bullet EntityManagementFeatures GetEntities

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
Summary
Improved bullet EntityManagementFeatures GetEntities
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

this PR is targeting bullet not bullet-featherstone, I will close it for now


feat(engine): Archetype garbage collection

Our use of relations and events means at all times, there are far more archetypes than entities, somewhat defeating the purpose of an archetypal ECS.
No archetypes

Ditch archetypes altogether and store data in individual entity arrays. Lookup stays the same, adding and removing components becomes slower, bottlenecked by tracking which systems should act upon this entity. Will depend on #67
We don't really have the ability to tightly pack data anyways (we want to support adding arbitrary objects to entities), so cache misses when iterating are already inevitable
Less garbage generated as there are never any remnants to clean up

Archetypes as a temporary cache

Focus on archetypes as a caching layer for system matching and helper for the case of many many of an identical entity
Empty archetypes can be cleared after they become unused for long enough
This puts more strain on the garbage collector, and extra overhead for a system that clears out old archetypes
Realistically archetypes that don't get used often shouldn't contain much data anyways (ex the ids array won't grow big), though more thought should be put into immediately clearing unused archetypes when they empty or keeping them longer

Archetypes as a permanent cache

Do nothing, or be extremely lenient with how things get cleaned. Benchmark how much memory we really use and treat the entire archetype tree as a slowly built cache (when an app runs for long enough, it could be that it generates pretty much every possible archetype it will need, so storing them all becomes worth it)

Pretty much the Archetypes as a temporary cache idea was implemented a while back to remove empty archetypes by default, optionally letting you mark archetypes to keep.
I'm questioning whether the extra code to maintain is worth it especially if we ever get archetypes to hold multiple added component types (i.e. only batching components with data) since this would solve the overhead with relations.


Pagination Values

public enum RequestPaginationType : int
{
Indeterminate = 0,
Before = 1,
After = 2
}
Passing After or Before will result in the same CB-Before and CB-After being passed, this needs to be before and after.

public enum RequestPaginationType : int { Indeterminate = 0, Before = 1, After = 2 }
Passing After or Before will result in the same CB-Before and CB-After being passed, this needs to be before and after.


Cleanup main after cutting new 1.6.latest branch

All adapter PRs will fail CI until the dbt-core PR has been merged due to release version conflicts. The workflow that generated this PR also created a new branch: 1.6.latest

No longer relevant


Forcing IPv4/IPv6

Is it possible for force IPv4 or IPv6 connections?

up

wow it has been some time since this issue opened with no reply

I'd also love to have an example of this.
Technically using AF_INET6 should be enough, but i couldn't find a struct in the library that i can build my own HttpConnector to create a client or something close to that.
You must be incredibly busy @seanmonstar and you don't have to answer this but it would be awesome to have a minimal example or a little guiding.

It's not immediately obvious, but if you specify the local_address option, the connection will use the same IP version as the locally bound address.

Thanks for the response, i'm leaving an example for future visitors.
use std::net::IpAddr;
use std::{collections::HashMap, str::FromStr};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = reqwest::Client::builder()
        .local_address(IpAddr::from_str("2001:0db8:85a3:0000:0000:8a2e:0370:7334")?)
        .build()?;

    let resp = client
        .get("https://httpbin.org/ip")
        .send()
        .await?
        .json::<HashMap<String, String>>()
        .await?;

    println!("{:#?}", resp);
    Ok(())
}

I think we can close this @seanmonstar :+1:

and if you need to force ipv6, just do .local_address("[::]:0".parse().ok()).

Maybe we can use a custom dns_resolver to only resolve IPv4 or IPv6 addresses?

Just use the methods me and ta3pks said.


mismatch edge order xugrid and meshkernel

Describe the bug
The ordering of the edge-orthogonality array seems different than the ordering of the edges in the xugrid.UgridDataset. Would be convenient if they are aligned so we can easily plot these type of values.
To Reproduce
import meshkernel
import xarray as xr
import dfm_tools as dfmt

#general settings
lon_min,lon_max = -1,-0.2
lat_min,lat_max = 49.1,49.6
lon_res,lat_res = 0.1,0.1

figsize = (10,4)
crs = 'EPSG:4326'

# Create an instance of MakeGridParameters and set the values
make_grid_parameters = meshkernel.MakeGridParameters()
make_grid_parameters.angle = 0.0
make_grid_parameters.origin_x = lon_min
make_grid_parameters.origin_y = lat_min
make_grid_parameters.upper_right_x = lon_max
make_grid_parameters.upper_right_y = lat_max
make_grid_parameters.block_size_x = lon_res
make_grid_parameters.block_size_y = lat_res

mk2 = meshkernel.MeshKernel(is_geographic=True)
mk2.curvilinear_make_uniform_on_extension(make_grid_parameters)
mk2.curvilinear_convert_to_mesh2d()

mesh2d_grid2 = mk2.mesh2d_get()

uds = dfmt.meshkernel_to_UgridDataset(mk2,is_geographic=True)

aa = mk2.mesh2d_get_orthogonality()
uds['ortho'] = xr.DataArray(aa.values,dims=(uds.grid.edge_dimension))
uds['ortho'] = uds['ortho'].where(uds['ortho']!=-999) #TODO: hardcoded -999, better to have nans in this array already
uds['ortho'].ugrid.plot() #TODO: ordering of the orthogonality array does not seem to align with the edge-order in the uds

Gives:

Expected behavior
The missing values are now scattered around trough the grid, but they probably belong to the outer edges of the grid. Not sure if this is a meshkernel issue or a xugrid issue.
Version info (please complete the following information):

OS: [e.g. Windows]
Version branch 2.1.0 wheel of 4-7-2023

This is an issue in xugrid indeed. In the from_meshkernel method, the edge_nodes from the meshkernel aren't used. Consequently, xugrid generates its own edge_node_connectivity, which doesn't match the order of the orthogonality array.

This will be fixed in xugrid after https://github.com/Deltares/xugrid/pull/250 is merged.


Refactor comments and add more docs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.30%. Comparing base (f9ccff0) to head (0a85d1c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   95.30%   95.30%
=======================================
  Files          11       11
  Lines         319      319
=======================================
  Hits          304      304
  Misses          8        8
  Partials        7        7

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


[REFACTOR] navigation

acceptance criteria

[ ] navigation is loaded synchronously
[ ] there is no style shift after the page is rendered
[ ] benchmark solution and compare performance impact

closed by #1402


Include user uuid in the OCS API

Is your feature request related to a problem? Please describe.

Hi, is there any chance we can get the user UUID, which currently only exists in the Graph API (AFAIK), in the OCS API as well? It would make stuff a lot easier in the frontend

Describe the solution you'd like
The uuid should be obtainable from the OCS API.
Describe alternatives you've considered
The uuid can be obtained from the graph API.

@JammingBen, can you describe why you want the UUID in the OCS API in addition to the graph API?
What is your workflow where you need the UUID? Just trying to understand the problem, so that we can find the best solution.

The main issue in Web is that we currently deal with both the OCS and the graph API, especially when working with shares. Two concrete issues:

When checking the permissions of the current user for a space, we simply check the UUID of this user in the permissions object of the space. As we don't have the UUID, we need to query the graph API first. That's okay, but it wouldn't be necessary when the UUID was in included in the OCS API.
When updating the share for a space (e.g. UserA goes from viewer to manager), then we need to update the permissions object of the space in our store. For this we need the UUID of this user - which we don't know. The only way to deal with this is by fetching the whole space again after the role has been changed.

You mean in the response of this endpoint here, right? https://ocis.ocis-traefik.latest.owncloud.works/ocs/v1.php/cloud/user

Yes, but also the OCS share API:

https://ocis.ocis-traefik.latest.owncloud.works/ocs/v2.php/apps/files_sharing/api/v1/sharees
https://ocis.ocis-traefik.latest.owncloud.works/ocs/v1.php/apps/files_sharing/api/v1/shares

(Web seems to be partly using v1 still... I'd expect that to change in the future)

When updating the share for a space (e.g. UserA goes from viewer to manager), then we need to update the permissions object of the space in our store. For this we need the UUID of this user - which we don't know. The only way to deal with this is by fetching the whole space again after the role has been changed.

Aren't you sending the username in this case? Can you show me an example request?

When checking the permissions of the current user for a space, we simply check the UUID of this user in the permissions object of the space. As we don't have the UUID, we need to query the graph API first. That's okay, but it wouldn't be necessary when the UUID was in included in the OCS API.

@micbar, what do you think? Does it make sense to add the UUID to the OCS API or should we find another solution?

I know we're not quite there yet, but wasn't it the idea that we deprecate the ocs/v(1|2).php/cloud/user endpoints in ocis over time in favour of the graph API?

Aren't you sending the username in this case? Can you show me an example request?

That's right. However, this is not about the request, but about how we handle the update in Web internally. We store the space similar to how we fetch it, except that we simplify the structure a bit. The space object in Web may look like this:
{
  id: 1,
  name: "My Space",
  roles: {
    viewer: ["942a25d4-a450-11ec-b909-0242ac120002"],
    editor: [],
    manager: ["942a25d4-a450-11ec-b909-0242ac120003"]
  },
  ...
}

Based in the UUIDs in the roles object, we then fetch the user IDs (= usernames) and build the shares tree. This way, we can now update shares by passing the user IDs to the OCS API, like you described. Let's say we update the viewer to be a manager now, hence the UUID in the space object above needs to be moved. But at that point, Web has no mapping of UUIDs and user IDs.
There are ways to overcome this. Currently we fetch the whole space again and re-build the space object again, which now has updated roles. We could maybe also somehow include the UUIDs in our internal shares tree. So it's not a "must"-request here, rather a "would make life easier". I don't know about the other clients, I remember the iOS client was asking for this as well.


(WIP) (RSP-1640) Fix FocusScope so display:none elements aren't included as focusable elements

Closes https://jira.corp.adobe.com/browse/RSP-1640
✅ Pull Request Checklist:

[ ] Included link to corresponding Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Go to the Dialog stories that have isDismissable = true. Attempt to tab to the dismiss button (you should be able to)

I believe this is covered by the treewalker stuff by @devongovett, closing for now


Add Nix support

This commit provides a Nix-based package definition and development shell. A Flake is also provided for environments where that feature is enabled.
To build the package derivation use nix build (with Flakes) or nix-build -E "with import <nixpkgs> {}; callPackage ./. {}" (without Flakes).
To enter the development shell, run nix develop (with Flakes) or nix-shell (without Flakes).

I also made a change in the post-install script because update-desktop-database would try to update a non-existent path, I'm not sure if that should go in the commit message or not.

I moved everything to /nix and added instructions to the README.


Support multiple names for gnr_resolve(), Add POST. Fixes #12. Resolution from TNRS Fixes #8.

Added http as a parameter and implemented post. For list size > 300 always POST is used. This fixes #12
Implemented name resolution from TNRS, which closes #8

looks good, thanks!


Allow put/update to overwrite previous delete

Hi!
It is currently forbidden to perform multiple writes against the same item in the same transaction. For our application logic, however, It would be handy if it would be allowed to delete an item and insert a new version of it in the same transaction. Otherwise we would have to figure out in the app which deletes and adds are actually correlated and translate them into updates, which quickly gets messy, especially since we're using the mapper.
I've made an experimental change in TransactionItem::addRequestToMap which allows the insertion to go through if existingRequest instanceof Request.DeleteItem && (request instanceof Request.PutItem ||                                       request instanceof Request.UpdateItem). This seems to work fine.
What do you think? Is this a sufficient change for this feature and is it a good idea at all?

Hey @atorstling , I realize this request is several years old at this point, so a response might not be particularly helpful. Anyway, there's additional complexity about making sure that the original item image was backed up, and won't be replaced by another write on top of it. It's certainly possible to get this to work, but it would require quite a bit of thought, and plenty more testing, to make sure that rollback always works correctly.
So the feature request is reasonable, but it's a tricky and risky enough change that we should wait to get a sense for how much demand there is for the feature before going forward. For example, looking back, I wish that there were some features that we didn't include originally, like the ability to resume a transaction on a different transaction manager and proceed with it. The feature seemed applicable to one use case, but ended up adding more complexity to the library than it was worth.

Hey @Yanacek . The current behaviour actually the same as in SQL Server. SQL Server delays index updates until transaction end, which means that removing and inserting again creates index clashes with the removed item. If you google for that problem, I'm sure you'll find quite a few people struggling. When I bumped into it, it required us to rework our entire bulk update process.
So anecdotally I think this problem is one of those problems which people put a lot of effort into working around, but aren't so vocal about. They just accept it as a fact. I just want to say that if your stance is to wait for feature requests. I don't think they will be coming in at a fantastic rate. But I do think that this is a problem for many.
Anyway, thanks for considering and answering, and thanks for a good product!


Notebooks 2.0 // Backend // Auto generate Open API spec

Auto generates Open API spec for endpoints.

/assign

Hi @ederign
I want to work on this issue, Can you please assign it to me if it's still open?

Hi @ederign
I created this draft PR: https://github.com/kubeflow/notebooks/pull/175
Please take a look at it and let me know if any changes are needed


[BUG] Likely root cause: java.lang.RuntimeException: Demo certificates found

Describe the bug
On starting container, opensearch if raising an error:
Aug 18 07:13:52 elasticsearch.sftests.com opensearch[468870]: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
Aug 18 07:13:52 elasticsearch.sftests.com opensearch[468870]: Likely root cause: java.lang.RuntimeException: Demo certificates found [d14aefe70a592d7a29e14f3ff89c3d0070c99e87d21776aa07d333ee877e758f, 54a70016e0837a2b0c5658d1032d7ca32e432c62c55f01a2bf5adcb69a0a7ba9, bdc141ab2272c779d0f242b79063152c49e1b06a2af05e0fd90d505f2b44d5f5, 3e839e2b059036a99ee4f742814995f2fb0ced7e9d68a47851f43a3c630b5324, 9b13661c073d864c28ad7b13eda67dcb6cbc2f04d116adc7c817c20b4c7ed361]

then it quit.
To Reproduce
Steps to reproduce the behavior:

Start container with example parameters:

  podman create --name opensearch --net host --pid host \
    -v DISABLE_INSTALL_DEMO_CONFIG=true \
    -v cluster.name=elasticsearch_sftests_coma \
    -v node.name=elk \
    -v discovery.seed_hosts=elk \
    -v cluster.initial_master_nodes=elk \
    -v "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" \
    -v /mnt/opensearch/data:/usr/share/opensearch/data:Z \
    -v /mnt/opensearch/logs:/var/log/opensearch:Z \
    -v /etc/opensearch/certs/localCA.pem:/usr/share/opensearch/config/localCA.pem:Z \
    -v /etc/opensearch/certs/elasticsearch-admin.crt:/usr/share/opensearch/config/elasticsearch-admin.crt:Z \
    -v /etc/opensearch/certs/elasticsearch-admin.key:/usr/share/opensearch/config/elasticsearch-admin.key:Z \
    -v /etc/opensearch/opensearch.yml:/usr/share/opensearch/config/opensearch.yml:Z \
    -v /etc/opensearch/internal_users.yml:/usr/share/opensearch/plugins/opensearch-security/securityconfig/internal_users.yml:Z \
    -v /etc/opensearch/roles_mapping.yml:/usr/share/opensearch/plugins/opensearch-security/securityconfig/roles_mapping.yml:Z \
    -v /etc/opensearch/tenants.yml:/usr/share/opensearch/plugins/opensearch-security/securityconfig/tenants.yml:Z \
    -v /etc/opensearch/roles.yml:/usr/share/opensearch/plugins/opensearch-security/securityconfig/roles.yml:Z \
    -v /etc/opensearch/action_groups.yml:/usr/share/opensearch/plugins/opensearch-security/securityconfig/action_groups.yml:Z
    opensearchproject/opensearch:1.0.0

opensearch.yml
cluster.name: elasticsearch_sftests_com
node.name: elk
path.data: /usr/share/opensearch/data
path.logs: /var/log/opensearch
network.host: XXX.XXX.XXX.XXX
http.port: 9200

node.master: true

cluster.routing.allocation.disk.threshold_enabled: false
node.max_local_storage_nodes: 3

plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.allow_default_init_securityindex: true
# No matter if plugins.security.allow_unsafe_democertificates is set to true or false,
# problem will raise.
plugins.security.allow_unsafe_democertificates: false

plugins.security.ssl.transport.pemcert_filepath: /usr/share/opensearch/config/elasticsearch-admin.crt
plugins.security.ssl.transport.pemkey_filepath: /usr/share/opensearch/config/elasticsearch-admin.key
plugins.security.ssl.transport.pemtrustedcas_filepath: /usr/share/opensearch/config/localCA.pem
plugins.security.ssl.http.pemcert_filepath: /usr/share/opensearch/config/elasticsearch-admin.crt
plugins.security.ssl.http.pemkey_filepath: /usr/share/opensearch/config/elasticsearch-admin.key
plugins.security.ssl.http.pemtrustedcas_filepath: /usr/share/opensearch/config/localCA.pem
plugins.security.authcz.admin_dn:
  - CN=elasticsearch.sftests.com,O=ElasticsearchSoftwareFactory,L=WROCLAW,ST=WROCLAW,C=PL

plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: ["all_access", "security_rest_api_access"]
plugins.security.system_indices.enabled: true

Expected behavior
Service will start normally
Host/Environment (please complete the following information):

OS: Linux Centos Stream
Version 1.0.0

Additional context
Environment variable DISABLE_INSTALL_DEMO_CONFIG seems not to work. The demo certificates are still in the
container image.

I'm also seeing this and I set the suggested env var DISABLE_INSTALL_DEMO_CONFIG as per documentation in https://opensearch.org/docs/opensearch/install/docker-security but then found out that this does not change anything.

I was only able to get past this by creating a new container image where the demo files have been removed. Mounting a new entrypoint where I remove the files did not work for me. Quite tedious. I think this requires hotfixing as production use of the current images is not possible.

Seems like related to #240 as well?

Also https://github.com/opensearch-project/opensearch-build/issues/369

Will revert this so user can skip demo config during start of the container:
https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/aabb00fb349e1eb1b916ed68c22fb5ef8be8abc7/elasticsearch/docker/build/elasticsearch/bin/docker-entrypoint.sh#L85

Hi @danpawlik, Let me know if this is fixed with https://github.com/opensearch-project/opensearch-build/pull/436.
Please close the PR if it works.
Thanks

Thanks @peterzhuamazon , it works.

This did not get release as part of https://github.com/opensearch-project/opensearch-build/issues/151
I'm still seeing the demo certs in the 1.0.1 image, can new images be released ASAP?

This did not get release as part of #151
I'm still seeing the demo certs in the 1.0.1 image, can new images be released ASAP?

1.0.1 release on 09/01 and the fix is on 09/10.
We will release this on 1.1.0 version.


No fix location

Dear Micronic,
I did many tests with your pluto-gps-sim software but it can't fix the location.
I'm using pluto-gps-sim in a Ubuntu PC, a Pluto SDR and a uBlox M8-T GPS receiver.
The uBlox receives the simulated signals but it can't fix the location.
I know that a strong signal received can be a problem, so i tried from -80 to -150dBm at the uBlox receiver input ( 70dB attenuator plus the pluto-sdr-sim Att.)
I also tried with bandwith from 2 to 5MHz, but the results are always  the same: No fix location.
Attached you can find an analyzer and ublox-center images.
As you can see in the images, it is not much time with 12 satellites in green, then they go to blue. And this situation repeats all over again.
Could you help me?
I will be very grateful with any idea.

Can you provide the command line you use to start pluto-gps-sim.

Hello,
Thank you so much for your answer.
The command is:
./pluto-gps-sim e hour0430.20n l 40.4574, -3.6700,700 T now  -N
<IP_ADDRESS> v  -s 2600000 A xx.x B y.y
xxx.x is the attenuation, I tried some values
y.y is the bandwidth, also I tried from 2.0 to 5.0
Thank you so much.

De: Mictronics<EMAIL_ADDRESS>Enviado el: jueves, 13 de febrero de 2020 14:34
Para: Mictronics/pluto-gps-sim
CC: ferorted; Author
Asunto: Re: [Mictronics/pluto-gps-sim] No fix location (#6)
Can you provide the command line you use to start pluto-gps-sim.

You are receiving this because you authored the thread.
Reply to this email directly, view
<https://github.com/Mictronics/pluto-gps-sim/issues/6?email_source=notificat
ions&email_token=AOBCA55J3PDQLFQER6GLICDRCVD27A5CNFSM4KT67DI2YY3PNVWWK3TUL52
HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELU6ZNQ#issuecomment-585755830>
it on GitHub, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBCA53N6XGJR3KXS23KH63RC
VD27ANCNFSM4KT67DIQ> .
<https://github.com/notifications/beacon/AOBCA52RDSNAXLX2GWNG5GDRCVD27A5CNFS
M4KT67DI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELU6ZNQ
.gif>

Hello again,
Attached there are 2 images from a test with Measurement Period setting every 1000 msg. and 100 msg.
With 100 msg. you can see that there are “a lot of gaps” it the received data of each satellite.
Can it be the problem?
Do you know why it is and how fix it?
Thank you very much.

Please test with changes in branch "testing". The amplitude of the sine tables are now reduced to avoid clipping and distortion of the final IQ stream.

That's with a Navilock NL-800U2.

Thank you so much for your support.
However, my tests are unsuccessful.
U-center shows similar results than previous, even worse.
Measurements in spectrum analyzer show that the new signal generated by "testing" code are about 50dB below signal generated by "master" code.
Also the "testing signal" is not constant.
Please, see the attached videos.
Thank you and best regards,
signals.zip

What is your hardware setup? (in addition to pluto)
With test code I get the same GPS satellite constellation indicated on a Samsung Galaxy Tab S2 with satstats app. However, no position lock because the tabled is receiving Glonass in addition. But GPS PRN's correspond to what is simulated.
The only thing I can imagine for an interrupted indication is that you IQ stream from host system to pluto is interrupted too, hence the buffer is running empty.

My hardware setup is a Lenovo ThinkPad i3 laptop running Ubuntu 18.04.3 connected to USB port of PlutoSDR (v 0.31 firmware).
PlutoSDR RF output is plugged to U-blox GPS receiver through 40dB attenuator. (U-blox receiver has antenna power bias option disabled).
USB port of GPS receiver is connected to another PC running U-Center on Windows 10.
I also tested with some mobile phones and they can't fix the location.

Feeding from laptop should be a problem for the IQ stream.
However, with a direct feed your gain setting 0dBm seems to be way to high. Keep in mind, the guaranteed signal strength on earth for GPS is -130dBm. Even with a 40dB attenuator, your GPS still "see's" -40dBm. So you overpower the GPS low noise amplifier, cuttings its sensitivity and dynamic range.. See my screenshot, I use -40dB with pluto's oem antennas and the GPS in 2m distance. SNR is still 26dB, can go down to -50dB and still have a SNR of about 8-10dB which is enough for proper reception.
Keep in mind, real GPS is a very week signal, that's what the receiver is made for.

Sorry, the images with att=0dB was set only for spectrum analyzer measurements.
When I did the tests with PlutoSDR feeding the GPS receiver, ATT is from -60 to -80 (+40 external attenuator), total: -100 to -120 dBm aprox.
Anyway, if the problem was that the IQ stream from host to Pluto, it would also affect the testing with the "master" code, however with "master" code the spectrum analyzer shows a good signal.

Have you tried the GPS outside to check whether it still works? Tried a different GPS module? Just with air cap, no direct connection?

The GPS receiver works fine with antenna and real GPS signals.
I also did some tests with antennas (without LNA) in Pluto and GPS receiver.
I'm going to try to get another Pluto for testing.
But the readings on spectrum analyzer with the last testing code are very
strange.
El lun., 17 feb. 2020 20:52, Mictronics<EMAIL_ADDRESS>escribió:

Have you tried the GPS outside to check whether it still works? Tried a
different GPS module? Just with air cap, no direct connection?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Mictronics/pluto-gps-sim/issues/6?email_source=notifications&email_token=AOBCA5Y6QEYY52W6RXDUCU3RDLTI3A5CNFSM4KT67DI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7QABI#issuecomment-587137029,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBCA55UTNXGV2WHPGGGHNTRDLTI3ANCNFSM4KT67DIQ
.

Hi again,
For your reference, I did some throughput tests by the USB port.
As you can see in the images, the speed trafic with the "master" code (first image) is about 11.000 packets/sec and constant.
With "testing" code (second image) , the speed is only about 8.800 packets/sec and is less constant than previous.
These testing were done with laptop to Pluto USB port, while pluto was powered by its Power-USB port with an external 5v/3A adaptor.
P.D.: tomorrow I hope getting another Pluto device and testing with the GPS receiver again.
Best regards.

Hi, finally I could tried a new Pluto SDR and it WORKS fine !!!
It's incredible but my old Pluto doesn't work property with pluto-gps-sim code.
Anyway, your "testing" code neither works with my new PlutoSDR.
Now i'm going to testing with some mobile phones and pluto-gps-sim.
Thank you very much.

Did you do anything special before with the old Pluto? I there a chance that the TX output gain stage is blown? Strange anyway.

"testing" code neither works with my new PlutoSDR
What does this mean? Same behavior, different, low power?

Did you do anything special before with the old Pluto? I there a chance that the TX output gain stage is blown? Strange anyway.
--> Nothing, Tx provide good output power (as you can see in previous spectrum analyzer images).
Maybe the problem could be the precision of oscillator, but i can't test it.
"testing" code neither works with my new PlutoSDR
What does this mean? Same behavior, different, low power?
--> With the "testing code" the problem is the same than previous Pluto, the RF signal is not constant. Please, see my previous short video "branch-testing"

The only difference is old Pluto is version 0.31 (I updated it before testing) and new Pluto is 0.30
But now i'm afraid to update this :-)

I run 0.31 as well on mine.

Hello,
I'm not a lucky man :-(
Now my GPS receiver get generate signal by PlutoSDR and fix the location perfectly. But none mobile phone can fix the location.
In these images the only estrange thing is the showed Pseudo Range in uCenter, because there are differences between received and the generated. Is it correct?
Any suggestion about which parameters to check for ensure it proper works with phones?
Any other idea?

In case your phone is on Android:
Get the app sat-stats and check what other satellites are visible to the phone.
My experience with a Samsung Galaxy Tab 2:
sat-stats is showing me exactly the PRN's I simulate for GPS. However, the phone receives in parallel Glonass satellites or Beidu.
As a result, the data from simulation and from other sources does not correlate, hence the phone never gets a position fix.
So as long as you can not exclude other sources for position data, and isolate the GPS, you will not succeed with a mobile device.

Thanks, I'm going to test with app sat-stats.

Hi,
I did many test with the sat app and my phone (Huawei P9) but never can fix the location.
Additionally in the last test I used the Huawei P9 phone and also another old ZTE (stored for some months ago), it has Internet wifi access but not SIM card.
Amazing, the ZTE fix the location !!!!!!!!
I did more test changing Pluto output power, distances ... everythink was ok.

So, I switched off the Pluto, put a SIM card into the ZTE, went outside to clear sky and the phone taken long time to fix the real location.
Then I did the same simulated tests than previous (without SIM neither real GPS signal), and... the phone doesn’t fix the location !!!
I think when the phone get a real GPS signal and it is synchronized it is hard to spoofing with other signal.

Excellent work.
But your result proofs what is expected: The location algorithm on modern mobile devices are hard to spoof.

Hi, i'm still playing with the pluto-gps-sim.
I can see that time in GPS receiver is delayed respect to the PC's time which is running the code.
It is independent if i use "-T now" or  "-t yy/mm/dd,hh:mm:ss" options, time showed in the receiver always is delayed around 20 sec.
Why is it?
how can I sincronize the time received in GPS with PC's time?


Feature/5555 add timm support

What does this PR do?

Fixes # (https://github.com/PyTorchLightning/pytorch-lightning/issues/5555) <- introduce support for timm scheduler and optimizer. Waiting for someone else I decided to try and do it myself. This is my first PR so looking forward for your comments.
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified
[ ] Check that target branch and milestone match!

Did you have fun?
Make sure you had fun coding 🙃

@potipot we have locked master as there won't be any more releases in 1.1.x
pls see https://pytorch-lightning.readthedocs.io/en/latest/CONTRIBUTING.html#how-to-fix-pr-with-mixed-base-and-target-branches

How is this request going?


Make sendTransaction() asynchronous

Requires:

https://github.com/bpfkorea/agora/pull/96

Note that this also contains a TaskManager abstraction which is related to the backlog issue "Build a replaceable task abstraction". That issue is not in the current sprint. But I don't consider this solving the aforementioned issue entirely yet.
The reason I've included this is because I do not want to have to pass the NetworkManager class around to the RemoteNode class or anywhere else, when the only thing the code wants to do is start tasks.

Unblocked.

Merge?


An exokit freeze

Describe the bug
What happened, and what did you expect to happen?
Freeze, no freeze
To Reproduce
Steps or commands ran to reproduce the behavior:

node . http://jsboxx.sandboxx.org/index.html?revret
Observe the window freezes

Additional context
Note that you'll need to save http://jsboxx.sandboxx.org/index.html?revret locally (e.g. using Chrome HAR) and run it via a local server.
System information:

OS
macOS

Exokit Version
v0.0.520

Node version
v12.0.0-pre

Npm version/build log if applicable
6.5.0

Is your Exokit downloaded or built?
built

Screenshots
If applicable, add screenshots to help explain your problem.
Imagine an application on macOS that creates a window, turns black, then stops responding.

Note that you'll need to save http://jsboxx.sandboxx.org/index.html?revret locally (e.g. using Chrome HAR) and run it via a local server.

Why is that?

There seems to be a difference in how Chrome downloads assets vs how Exokit downloads them. In short, it's hosted on a server which can't handle the rate at which Exokit downloads the assets.
For some reason, it works in Chrome. Exokit conforms to the spec, so it's not Exokit's fault per se.
If you add a hack into exokit to retry the download of any url that times out, then the example loads fine in exokit (enough to get to the black screen). But that would cause problems in other areas, so obviously that's not something to merge.
One idea is to somehow support modding exokit. There are a lot of one-off mods like that ("just change the downloader to retry, and hey, this site works!") that shouldn't be merged. And as exokit gains popularity, it seems inevitable that some kind of modding scene would spring up. It might be worth thinking about how that could work. Probably not.

I could not reproduce any WebGL context creation on Windows when running
node . http://jsboxx.sandboxx.org/index.html?revret

This is probably therefore a single-threaded loading resource contention issue to start with.
Let's keep the discussion here to debugging this particular engine/framework. If you're like to propose an architectural change, a PR is a better avenue.


PMC Meeting Blog 2016-12-09

What are your changes?
What is the urgency level of this change?

[ ] Blocker
[x] High
[ ] Medium

I have completed these items:

[x] I have built locally and tested for broken links and formatting.
[x] If appropriate, I have added redirects.

If you included a comment with your commit, it appears here:

Hey Ravi, please merge this when it goes green (I'm being optimistic that it will). Thanks!

@mesosphere-ci test this please

@ryadav88 I rebased this, and now it builds, but fails the link check for a link in the developer's guide to the universe blog. I tried to fix that broken link with PR 1033, but that link check failed with something different. Karl said I could probably just merge this with the failed check, but I'd love a second opinion...

yes, it can be merged with just website build check.


First click on the upper button starts the lower one.

Actual behavior:
Clicking on the upper buttons starts the lower counter.
Expected behavior:
It should start a counter for the upper one.

It is not working since progress-bar was added, it seems that event.target I detecting svg instead of the counter


Show remaining time on best command

Resolves https://github.com/theastropath/turbot/issues/60
Resolves https://github.com/theastropath/turbot/issues/62

Codecov Report

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

@@            Coverage Diff            @@
##            master      #180   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          277       277
  Branches        12        12
=========================================
  Hits           277       277

Continue to review full report at Codecov.

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


docs: Add instructions for building GDP ivi9 beta

Signed-off-by: Gianpaolo Macario<EMAIL_ADDRESS>

Merging (still not complete, though)


Update TabletManagementIteratorIT for merge and wal checks

This updates tests in TabletManagementIteratorIT to verify that the iterator properly detects tablets needing attention if WALs exist on tablets that are part of a merge operation. It also will test that if op type is DELETING that the tablet does not care if there are WALs.
This PR only updates the tests in TabletManagementIteratorIT and doesn't try and do anything with TGW because after the refactoring in #3904 both the iterator and TGW share the same code for checking the goal state (where the WAL checks are done)
However, another possible follow on test improvement would be to create a test for the TabletGoalState class where all the logic was refactored to inside of compute() to test the different cases for computing the resulting state. This could likely just be a normal unit test with mocking and not an IT.

Would be nice to check split in addition to merge in the test.

I added split as well on the latest update


[SPM] Git suffix + .gitignore

In this PR:

Add .git suffixes. Rationale: Stencil#84 and Stencil#101. Basically really similar situation in our case. ReactiveSwift has Result as a dependency with .git suffix in Package.swift, and we also have Result dependency - but without .git in Package.swift. It might also resolve our problem in SPM-compat.
Add Package.pins to .gitignore, as per SPM docs.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1093   +/-   ##
=======================================
  Coverage   73.79%   73.79%
=======================================
  Files          22       22
  Lines         729      729
=======================================
  Hits          538      538
  Misses        191      191

Continue to review full report at Codecov.

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

Nice! Could this also fix #1072 / https://github.com/apple/swift-source-compat-suite/pull/35? Seems like this might have been the issue there.

It might, we will have to test it once this is merged.

Should we also add the git suffix to the Readme SPM instructions for Moya itself?

Other than that, this LGTM.

Oh, right! Thanks, I'm on it. 👍

Done 👍


Add a gitignore file

Add a gitignore file so that we can add files we don't want in the remote repository

Fixed pull request #3


Unable to download the asset image.

Getting this "Failed to download the file" message while downloading the

FYI @cakesoft-swati
Download now works for android, have not tested for ios yet due to ongoing rgb development. Will test it on ios once rgb is stable on ios.

Verified this issue on Tribe app v 2.4.0(629)


fix: xarray regreession

Make sure zarr chunks fit inside dask chunks or else the latest version of xarray will raise an exception.
Fixes #162

Closing in favor of #161


Added missing rds scaling configuration capacity

The documentation states that the value "1" is a valid value, which was missing.

Valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256

Thanks!


Fix for rails5

The "remove-alias-chain" commit is missing a couple of things that cause the gem to fail completely for Rails 5. This adds the missing code to correctly prepend "pdf_helper" and "asset_support".

@mbleigh does this need anything else to be merged?

I agree that 6d78331011116153b73f6d4879dd3b62a7009578 caused the gem to completely fail for Rails 5.
I just tested this fix with Rails 5.1.1 and it works. I would just revert the line that I commented on. Thanks, @brian4d

Any idea when this might happen, @mbleigh? I'm ready to release a Rails 5 upgrade that uses this gem. Was hoping I wouldn't need to use my fork.

Great, thanks!

Sorry this took so long to merge in! 2.1.0 is released with these changes.

Thanks!


Change GPG Key server address

Port number is required to send the user to the search page for that particular key server.
Also added a link to an overview about GPG key server pools.

The previous address was redirecting to a random site. The MIT server is currently correct.

This is intentional, as keys.gnupg.net is a CNAME to pool.sks-keyservers.net, which is a set of keyservers that meet certain criteria [1]. I think its better to use a pool than a single keyserver, as you get more redundancy, and balance the load around.
1: https://sks-keyservers.net/overview-of-pools.php

Not sure I know enough about the pools, but if the docs are meant to send someone to a place where they can search for their uploaded (or any) key then whatever page we send them to should have that ability.
Should we add extra docs on the pooling?

@cbaines Updated that 👍

Not sure I know enough about the pools, but if the docs are meant to send someone to a place where they can search for their uploaded (or any) key then whatever page we send them to should have that ability.
Should we add extra docs on the pooling?

I think one potential issue with this documentation at the moment is that when you send a key to a pool, it will take a little while for every server in the pool to receive it (as I don't think the server <-> server synchronisation is necessary low latency with respect to distributing keys).
A paragraph below says:

It occasionally takes a while for the keyserver to display pushed keys due to caching.

I don't know what caching its referring to, and most people by default won't be using "the" keyserver, as they will be using a pool of keyservers, but I think the point about it not being instant is good.
It might be simplest to change this to be:

Send your key to a keyserver by doing:
gpg --send-keys $KEYID
Those trying to receive your key may be connecting to a different keyserver than the one you sent your key to, this is fine, as the keyservers synchronise, but this may take some time to happen.

What do you think?

Yup that sounds pretty reasonable. I have added it to the PR and updated


jre access problem in liquibase.bat

Environment
Liquibase Version: 3.9.0
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version:
Database Vendor & Version: not assigned
Operating System Type & Version: Windows Server 2012 R2 Std
Description
liquibase.bat apparently does not handle correctly the new line in a set of instructions.
Steps To Reproduce

Download jre (now 1.8.0_251)
Install and set in env variables JAVA_HOME to its base path
Download zip containing liquibase 3.9.0 (not the windows installer)
Unpack it and set the env variables PATH its base path in order to find automatically the liquibase.bat
Open cmd and call liquibase.bat

Actual Behavior
\liquibase-3.9.0\jre was unexpected at this time.
Expected/Desired Behavior
My team mate Cristian Clemente obtained the correct behaviour by modifying the following lines of liquibase.bat;

like this

Screenshots (if appropriate)

Additional Context
Add any other context about the problem here.
┆Issue is synchronized with this Jira Bug by Unito

Hi @tomasotosolini Thanks for bringing this to our attention. Great job documenting and showing the fix. Can you create a pull request with your fix?

Hi @tomasotosolini Can you share all the environment variables you have set?  I cannot recreate this by the instructions in the reproduce section.

Closing as non - reproducible


Header

Fixes
Fixes #67  by @[SharleenAwinja]
Description
This PR creates a new header UI
Technical details

Tests

Screenshots

Checklist

[ x] My pull request has a descriptive title (not a vague title like Update index.md).

[ ] My pull request targets the default branch of the repository (main or master).

[x ] My commit messages follow best practices.

[ x] My code follows the established code style of the repository.

[ ] I added or updated tests for the changes I made (if applicable).

[ ] I added or updated documentation (if applicable).

[x ] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@PreciousOritsedere Hi! Thanks for getting this up! It looks like you'll kneed to remove the .history directory from this branch entirely (I'd suggest checking the other branches as well).

@PreciousOritsedere Hi! Thanks for getting this up! It looks like you'll kneed to remove the .history directory from this branch entirely (I'd suggest checking the other branches as well).

I have done that. I did it for the other branches as well

@PreciousOritsedere Hi! Precious  The .history directory is still showing (here and the other PRs), you can see that by looking at the Files Changed tab on all the PRs here in the GitHub interface.
 Editing the .gitignore file only means that any future changes won't be picked up but all previous changes will still be included.
It's also worth noting that you will likely have to take it out of the .gitignore file first before you perform the git rm -r .history command or it may not work, and then after you've successfully removed it and committed that change you could add it back to the .gitignore file.


Contract Manager Refactoring

• Motivation: The current ContractManager design bears the burden of too many responsibilities, including contract creation, acting as the entry point for Dynamic Contract calls, interfacing nested calls, and handling contract native balance operations via the ContractManagerInterface. Additionally, it is responsible for storing accessed contract variables and reverting them. Uniquely, developers have to manually integrate Protocol Contract transaction access, adding to the complexity of the ContractManager class. This accumulation of duties results in code smell and potential exploits, especially within nested contract calls.
• Objective: Enhance the architecture of the ContractManager, aiming to compartmentalize tasks such as contract creation, accessing, and interfacing with other contracts, leading to a more secure and maintainable code base.
• Success Criteria: Effective distribution of tasks with a particular focus on the handling of nested contract calls, a recognized area of potential vulnerability.
• Dependencies: This task does not expect to introduce any new external dependencies.
• Risks and Mitigations: The complexity of this task is not to be understated. The current state of the ContractManager has led to various unforeseen behaviors, chiefly related to the capacity of contracts to spawn other contracts and enable nested calls. Therefore, careful design and thorough testing will be necessary to ensure robustness.
• Resource Allocation: The refactoring of the ContractManager will affect the Contract Manager Interface (CMI) and all DynamicContracts that require access to the interface for operations such as consulting/spending native balance, calling other contracts, etc. In light of this, it might be prudent to develop RAII objects that serve as contract accessors during a single transaction call lifetime.
Key Considerations:
Dynamic Contracts can only be called by a transaction from a block in process.
Simulations of transactions should be fully reversible.
Contracts that are being called can create new Dynamic Contracts and call other contracts' functions.
In the event of a throw, all accessed contracts must revert their internal variables, that also includes native balances that have been updated.

One of the possible ways this could be done, we can work this out as we go (all names described are merely suggestions):

ContractManager would be responsible only for maintaining the list of registered contracts and nothing more

IIRC it only deals with Dynamic Contracts, but maybe it could have a separate part of it or an entirely new class to only hold Protocol Contracts, making it easier for users to register both when they see fit (not sure if this is feasible)

ContractManagerInterface stays as it is, since it's meant to act as a middleman between external contract calls and the ContractManager anyway - at the very least I would suggest renaming it to just ContractInterface and putting it in its own header like src/contract/contractinterface.h
ContractFactory or ContractDeployer - A class dedicated to the portion of only creating/deploying contracts

Its constructor takes a reference to the ContractManager
The contract creation functions (setupNewContract(), createNewContract(), createContractWithTuple() and all of its helpers if necessary) are migrated from ContractManager to it
A function like deployContract() would take the contract object itself as an argument, and all it would do is add it to the manager's list

ContractCallBuffer - A struct or class dedicated to abstracting nested contract call chains. It could contain a vector<tuple<Contract*, SafeBase*, oldValueString, newValueString>> or similar structure that would track variable changes from start to finish (the pointer to the contract that started the call could either be the first on this list, or an entirely separate variable in the class if necessary), plus helper functions to manipulate the list itself

This is on purpose - each instance would effectively encapsulate a specific nested call regardless of the starting contract, which means we could handle and order multiple nested calls originating from the same contract, something that would be impossible or downright cumbersome to do with a simple unordered_map

ContractCallTable - A class dedicated to maintaining a global list of nested contract call chains

All it does is maintain a vector<ContractCallBuffer> or a similar structure and use helper functions to effectively manipulate it and do the commit/revert operations on each
Helper functions could include: commitAll() and revertAll() (iterating through the whole list), commitOnly() and revertOnly() (iterating through a specific object from the list, for a finer control/granularity)
This logic is essentially (more or less) how Git works - this would be equivalent to the "staging area", while the ContractCallBuffer objects by themselves could be considered the "working tree"

@itamarcps @jcarraror Would like a second opinion and/or a finer revision of this logic - there might be some caveats I'm not aware of.

I really think the general idea is good, but I believe that separating the ContractInterface from the Manager can add a greater layer of complexity, as it would lead to many circular dependencies and multiple references. I don't consider that interface classes within the definition of the class to be interfaced (in our case, CMI within the CM) is an architectural problem. In any case, if we decide to separate the interface, it will be important to take great care in refactoring the files that use it.

I just pushed a new branch 70-cm-refactor with the first step of decoupling - ContractFactory was implemented and decoupled from ContractManager (commit d6bc54d, for some reason GitHub is not showing it here in the comment history).
So now ContractFactory handles everything related to contract creation and deploying (all of CM's contract creation functions were migrated to it), and ContractManager itself now only handles loading contracts from the database, and the usual ethCalls and function processing.
Running tests with the [contract] label yielded no errors, so i'm assuming everything is fine for now. Would appreciate further feedback with proper real-world testing if you deem it necessary.

Regarding the event feature, i will let some ideas here for further discussions:
Structure:
class Event {
private:
    std::string name;
    std::unordered_map<std::string, std::string> parameters; // nome, tipo

public:
    Event(const std::string& eventName) : name(eventName) {}

    // add paramentro no evento
    void addParameter(const std::string& paramName, const std::string& paramType) {
        ...
    }

    // getters e etc ...
    std::string getName() const { return name; }
    std::unordered_map<std::string, std::string> getParameters() const { return parameters; }
....
};

Manager:
class EventManager {
private:
    std::vector<std::shared_ptr<Event>> eventsRegistry;

public:
    void registerEvent(const std::shared_ptr<Event>& event) { //PRECISA ser shared_ptr
        ....
    }

    void emitEvent(const std::shared_ptr<Event>& event, const std::unordered_map<std::string, std::string>& parameters) {
        ...    }

///mais funções ao passo que for necessário
};

Use example:
std::shared_ptr<Event> TransferEvent = std::make_shared<Event>("Transfer");
TransferEvent->addParameter("from", "Address");
TransferEvent->addParameter("to", "Address");
TransferEvent->addParameter("value", "uint256_t");

EventManager eventManager;
eventManager.registerEvent(TransferEvent);

Branch should now have part two of the decoupling in commit 18fa9b8 - alterations in contract SafeVariables and balances are now delegated to a new class called ContractCallState (former "ContractCallBuffer", this name feels a bit more fitting), initialized inside ContractManager itself just like ContractFactory. The usedVars and balances lists that were in CM were migrated to it, along with a few helper functions to further encapsulate and abstract their manipulation.
Also the idea of what would be the "ContractCallTable" has been dropped due to me better understanding how the usedVars and balances lists worked inside CM, AFAICT apparently we won't need that since the current code is already operating on an "atomic commit/revert logic", and there's no possibility of two nested contract calls happening at the same time (it's always one after the other and there's no interference from either, and both lists are always cleaned up at the end of a nested call), so yeah that's that.
[contract] tests remain clean, you can test it yourselves if you want, same as usual.


Changing the font size in windowed Emacs

Currently, there doesn't appear to be any easy way of changing the font size when Emacs is in windowed mode. If this functionality is already present, the information should be added to the Emacs reference; otherwise, we need intuitive keybindings for it, since this is a common, quick operation.

C-x C-+, C-x C-0, C-x C--. Easy.


Code Editor layout broken for smaller screen sizes

Not sure when this happened but it looks like our CSS got a little broken:

Can I work on this?
And just want to make sure:

the top-right and bottom-right radius are misssing
the gap should not appear

Is that right? @bvaughn Thanks for your explanation!

Hey @thomasyimgit ! Sorry I didn't see this until now but PR #58 was submitted 5 hours ago with a fix. Thanks though! Maybe another issue?

@bvaughn That's alright, I'll see what I can help with others.


Decision Note - ADM DPDD

Describe the issue
To seek decision note from ADM Digital Platforms and Data Division (DPDD) on accepting the risks as a 3rd party to the contractual relationship between Shared Services Canada (SSC) and Cloud Service Providers (CSP).
Which Sprint Priority is this issue related to?
The 'Milestone' should clearly list Sprint Priorities - which one is this issue related to?
Additional context
Add any other context, attachments or screenshots
Definition of done

Reviewed by Executive, Portfolio Owner, Product Owner and Senior Legislative and Policy Analyst
Decision note sent to ADM DPDD

DN went to Hayden first week of September. No further action on this DN/ticket required.


'nodeSelected' and 'nodeMoved' events fired twice

Hi @jerosoler,
Depending on the graph usage, people may just want to select a node (or any element) with a single click.
When we select one node and drag it a bit, each event nodeSelected and nodeMoved are called exactly once. However, when we click a node, those two events are called twice.
So I added e.preventDefault(); to make sure the event not to propagate.
Tested it with the docs code. Now each event is called once after a click, and dragging a node still fires the events once.

Acabo de probar su funcionalidad.
Pero por ejemplo no se puede desplegar el desplegable del nodo on click.

It would be better to implement some other type of control.

Fix on version 0.0.24


⚠ Bofrost.lu has degraded performance

In 33a2505, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 891 ms

Resolved: Bofrost.lu performance has improved in e6eafdb.


Handle all special characters in defaults

json-template
strings
✓ should compute template for a string with a single parameter
✓ should compute template for strings with no parameters
✓ should compute template with default for a string
✓ should compute template with default for a string with multiple colons
✓ should compute template for a string with inner parameter
✓ should compute template for a string with multiple inner parameters
✓ should handle extra whitespace
✓ should handle dashes in defaults
✓ should handle special characters in defaults
✓ should handle email address in defaults
✓ should handle phone number in defaults
✓ should handle url in defaults
objects
✓ should compute template with an object that has inner parameter
✓ should compute template with an object
✓ should compute template with an object with multiple parameters
✓ should compute template with nested objects
✓ should compute template keys
✓ should compute template keys with default value
✓ should compute template keys with default value and period in the string
arrays
✓ should compute template with an array
✓ should compute template with a nested array
unknown types
✓ should compute template with numbers
✓ should compute template with booleans
✓ should compute template with dates
✓ should compute template with functions
mixed data structures
✓ should compute template with ElasticSearch query
✓ should compute template with ElasticSearch query including default value
✓ should compute template with ElasticSearch query including arrays
28 passing (21ms)

Very nice! Thank you.

Released in https://github.com/datavis-tech/json-templates/releases/tag/v1.7.0


error when docker build stereo_chemical_props.txt' returned a non-zero code: 4

Hi
I was building the latest version of AF2 2.2 and had the following error when building the docker image:
The command '/bin/bash -c wget -q -P /app/alphafold/alphafold/common/   https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt' returned a non-zero code: 4
Could you have a look at that?
Thanks.

The wget error code 4 signals a network failure (see https://www.gnu.org/software/wget/manual/html_node/Exit-Status.html).

Could you check you can access the URL from your browser: https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt?
Could you check you can wget the file on your machine?
Could you check you can wget the file inside the Docker container?

If you can't access the file from your browser or can't download it using wget from your machine, then it is unfortunately a network issue we can't unfortunately help with.

Thanks for the reply.
I am able to open that file on my browser and wget works fine in my WSL2.
As for the docker container, after the error, the container exited. Then I run docker start <CONTAINER_ID> and then docker attach <CONTAINER_ID> and then wget --help and I do see the manual for wget. So I assume the wget command also works inside the container?
However, I still couldn't docker build the image. I updated and restarted my Windows 11 with no luck.
I run:
wget https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt
works fine.
I run:
/bin/bash -c wget -q -P /app/alphafold/alphafold/common/ https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt
showed:
wget: missing URL
I know the question is kind of dull but any suggestions on how to move forward would be great.

I see you are running AlphaFold in WSL2 -- I recommend running AlphaFold in Linux, if that is possible.

I see you are running AlphaFold in WSL2 -- I recommend running AlphaFold in Linux, if that is possible.

I cleaned the images and change the network and it's runs again. thank you for the reply anyway.

I see you are running AlphaFold in WSL2 -- I recommend running AlphaFold in Linux, if that is possible.

I cleaned the images and change the network and it's runs again. thank you for the reply anyway.

Hello, I also meet the same problem, I want to know how to solve this, thanks for your help


Axes conf

Coverage remained the same at 89.501% when pulling cb2099ca7df0051773217f818b852f62af4cc86b on akatsoulas:axes-conf into 5658278b7aafc3a55a9b85481e0117b4afd0a753 on mozilla:master.


Install: option to disable bridge install

Useful for installation with docker

Failed due to it not being able to download botan from github. Jenkins test please


404 @digix/react-ledger-container

Hi. I tried to run this app but I'm getting a 404 when installing the dependencies. The react-ledger-container dependency doesn't exist in npm. Thanks.

Ah, thanks. I didn't notice that it wasn't made public.
Please try now as I've published it publicly...


Remove usage of deprecated Selenium API WebElement#getOuterHtml()

This pull request fixes issue: https://github.com/angular/protractor-accessibility-plugin/issues/23

Can we get a version bump for this? The default version installed by npm still crashes on this.


[Translation] Getting Started with OpenFunction

Signed-off-by: lxm<EMAIL_ADDRESS>#28

Should we record the original article link in this post? Where to place it?

Should we record the original article link in this post? Where to place it?

I think it might be better to reserve it at the bottom of this translated article.

Should we record the original article link in this post? Where to place it?

I think it might be better to reserve it at the bottom of this translated article.

any suggested writing format?

@FeynmanZhou


#[serde(tag=...)] attribute not rejected on structs

This:
use serde::Serialize;

#[derive(Serialize)]
#[serde(tag = "tag")]
pub struct A {
    a: u32
}

fn main() {
    println!("{}", serde_json::to_string(&A { a : 0 }).unwrap());
}

prints:
{"tag":"A","a":0}

I would've expected this to be a compile-time error. Alternatively, this is a documentation bug, as the container attribute documentation clearly only talks about enums.

This is a documentation bug. The behaviour of your example is intended: https://github.com/serde-rs/serde/pull/1448

I just got badly bitten by this. I accidentally had a tag = "type" attribute on a struct, and nesting it in an enum caused serialization to produce two type fields. Later on, deserialization failed with a "duplicate field type" error.


Solution does not work

I followed the same steps and nothing happens. Neither record gets saved, nor it errors out. Can someone take a look at what’s going on here?

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

ID: f94a4e2b-02fa-18b2-74e3-b8f2de14ce41
Version Independent ID: 394d4df3-fdd8-0df9-4a8b-223d22b03a18
Content: How to use the Spring Boot Starter with the Azure Cosmos DB SQL API
Content Source: docs-ref-conceptual/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db.md
Service: cosmos-db
GitHub Login: @rmcmurray
Microsoft Alias: robmcm;yungez;kevinzha

Thanks @KrishnanSriram - as an FYI, there appears that there is a versioning problem that we have recently discovered. I am currently working on another version of the article which highlights that the article needs version 1.5.n of Spring Boot; there were some breaking changes in Spring Boot 2.0.n, so you might want to try updating your POM file with an older version; for example:
<parent>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-parent</artifactId>
   <version>1.5.14.RELEASE</version>
   <relativePath/>
</parent>


add more css, changed the responsive for laptop devices, add images and more

Hey, its Bunny here, i wanna inform you that i created a fork to contribute to your project, i hope you can accept this fork of mine and release it on the main repo of yours.
Cheers, Hoai - itzaBunny

good stuffs mate
Cheers, itzaRinna


Fix .deb reinstall

fixes Issue

Test will pass with updated test.yaml.
The test setup step is missing in current github action ,so no debian package will be created that can be used for Install tests via c8y.

@scfx Thanks, then for now I'll just merge it and we'll confirm that the new workflow works as expected.


Material mix with vertex color: "_COLOR0" is added everytime you import the model

Describe the bug
If you import the model which use vertex color, you'll get that annoying "_COLOR0" - everytime you import it! So if you export/import it multiple times, you'll end with something like
MyMaterialName_COLOR0_COLOR0

And don't forget about material name limit in Blender...
MyMaterialName_COLOR0_COLOR0_<...>_COLO

And what if material name is very long initially?
Looooooooooooooooooooooooooo<...>oongName_CO

Is this a normal behavior? Why do we need that "_COLOR0" in material name?

The reason its added is that you can have a glTF material named M used by two meshes, one with vertex colors and one without. In Blender you can't have a material that works for both meshes with and without vertex colors, so we need to make two materials for M. The one that doesn't use vertex colors is called M and the one that does is called M_COLOR0.
We could just call them both M. Then if two materials do get created one would get named M and one M.001, as usual in Blender.
Or we could detect if the material needs to be split into two materials. If only one is needed we could call it M whether or not it uses colors. Only if two are needed would we use M and M_COLOR0.
Either of these would fix the _COLOR0_COLOR0_COLOR0 issue.

We could just call them both M. Then if two materials do get created one would get named M and one M.001, as usual in Blender.

This sounds OK to me, and is probably the easiest? As Blender has this convention for incrementing material names it shouldn't surprise users too much.

Or we could just not append it if it already ends with _COLOR0 of course.

@donmccurdy It's definitely the easiest. The only bad thing is you'd no longer be able to tell by looking which one uses vertex colors and which one doesn't I guess.

Is that the only reason we have to duplicate materials in Blender import? In three.js there is a much longer list of causes: skinning, vertex colors, vertex normals, vertex tangents, shape key positions, shape key normals, different draw modes... we definitely don't bother to specify why the material got cloned. But I'm happy either way here.

Is that the only reason we have to duplicate materials in Blender import?

Yes. (It sounds like in Three.js a material corresponds to a unique shader.)
Let's ask @julienduroure's opinion too. This got added as part of the initial fix for materials not being duplicated in #30.

Hello,

We could just call them both M. Then if two materials do get created one would get named M and one M.001, as usual in Blender.

I'm totally fine with the proposition. It was only a naming convention, and with the new proposition, we will avoid the reported issue.

Okay, cool. Patch is just
--- a/addons/io_scene_gltf2/blender/imp/gltf2_blender_material.py
+++ b/addons/io_scene_gltf2/blender/imp/gltf2_blender_material.py
@@ -33,8 +33,6 @@ class BlenderMaterial():
         name = pymaterial.name
         if name is None:
             name = "Material_" + str(material_idx)
-        if vertex_color is not None:
-            name += "_" + vertex_color

         mat = bpy.data.materials.new(name)
         pymaterial.blender_material[vertex_color] = mat.name


Different Robots Have Different Blocks for Beginner Mode

Describe the bug

The robots in the lab have different blocks in beginner mode. For example, the WeDo robot has the 'random integer' block in beginner mode whereas the EV3 robot does not.

To Reproduce
Steps to reproduce the behavior:

Switch to WeDo and check available beginner blocks.
Switch to EV3 and check available beginner blocks.
See the difference.

Expected behavior

The same blocks in beginner mode.

Screenshots

EV3:

WeDo:

Device information

Type: Laptop
OS: Windows 10
Browser: Google Chrome

This is actually intended due to some requests from the users' side. Mbed and WeDo should have these blocks in the beginner toolbox.


BUG- Dataframe not refreshing properly

Description
The behavior between a local run and a run done with Docker and Gevent is different. In this example, the table is not updated properly. Refreshing the page solves the refresh of the page. invoke_long_callback is used so the code should work.
How to reproduce
app.py
from taipy import Gui
import pandas as pd
import time
from taipy.gui import(
    Markdown,
    notify,
    get_state_id,
    invoke_long_callback,
)

calculate_label = "Calc"
calculate_label_active = True
df = pd.DataFrame({"V": [21], "W": [22], "X": [23],"Y": [24],"Z": [25]})

def calculate_action(state):
    state.calculate_label = "0"
    state.df = pd.DataFrame({"V": [21], "W": [22], "X": [23],"Y": [24],"Z": [25]})

    invoke_long_callback(state,
        user_function=do_calculate,
        user_function_args=[get_state_id(state)],
        user_status_function=get_status_calculate,
        period=1000)

def get_status_calculate(state, status, result):
    if isinstance(status, bool):
        if status:
            notify(state, "success", "Heavy set function finished!")
            state.df = result

            state.calculate_label = "Calc"
        else:
            notify(state, "error", "Something went wrong")

    else:
        state.calculate_label = str(int(state.calculate_label)+1)

def do_calculate(state_id):
    time.sleep(15)
    df_old = pd.DataFrame({"A": [1], "B": [2], "C": [3], "D": [4], "E": [5]})
    df_new = pd.DataFrame({"A": [12], "B": [14], "C": [16], "D": [18], "E": [20]})
    try:
        df_result = df_new.subtract(df_old, fill_value=0)
    except Exception as ex:
        raise ex

    return df_result

calc_md = Markdown(
    """
<|{calculate_label}|button|on_action=calculate_action|active={calculate_label_active}|>

<|{df}|table|>
"""
)

pages = {"Calculate": calc_md}

if __name__=="__main__":
    port = 8080
    Gui(pages=pages).run(title="Test", dark_mode=True, port=port, host="<IP_ADDRESS>")

else:
    app = Gui(pages=pages).run(title="Test", dark_mode=True, run_server=False)

docker-compose.yml
version: "3.9"
services:
  taipy:
    build: ""
    ports:
       - "8080:8080"

Dockerfile
FROM python:3.9-slim
RUN apt update
RUN apt upgrade -y
RUN pip uninstall setuptools --yes

EXPOSE 8080

RUN groupadd -r userr && useradd -r -m -g userr userr
RUN chown -R userr:userr /home/
USER userr

ENV PATH="${PATH}:/home/userr/.local/bin"

WORKDIR /home

ADD ./requirements.txt /home/requirements.txt
ADD ./app.py /home/app.py

RUN pip install --upgrade pip

RUN pip install -r requirements.txt

RUN pip install gunicorn gevent-websocket

ENTRYPOINT ["gunicorn", "-k", "geventwebsocket.gunicorn.workers.GeventWebSocketWorker", "-w", "1", "--threads", "3", "--bind=<IP_ADDRESS>:8080", "--timeout", "1800", "--keep-alive", "1800"]
CMD ["app:app"]

requirements.txt
taipy

Expected behavior
The behavior should be the same.
Runtime environment
Please specify relevant indications.

Taipy version (or branch name): 3.0
Docker with gevendt and local run with windows

Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Create related issue in taipy-doc for documentation and Release Notes if relevant

I tried to replicate the issue on both local and docker. The provided code does not work on both environment. I suspect that this is not an environment issue but a dataframe reload issue.

Related to #1054

not related to #1054 (which is a regression that appeared after 3.1)

@FlorianJacta can you confirm that your issue is still present in develop ?

When I run the code in the develop version locally, it works.

I tested it with Docker on 3.1, and it doesn't work. I have the same issue

The behavior between a local run and a run done with Docker and Gevent is different. In this example, the table is not updated properly. Refreshing the page solves the refresh of the page. invoke_long_callback is used so the code should work.

Up

@FlorianJacta I did tested it again with Fred using the develop branch. Please help me retest it on your side. I did change 2 things.

the table should have the rebuild tag --> <|{df}|table|rebuild|>
the requirements.txt file should have taipy rebuild branch entry (alias of develop branch with the frontend side already built)--> taipy @ git+https://github.com/Avaiga/taipy.git@prebuild#egg=taipy

I tried but there are problems with Taipy dependencies. I will try again when this is fixed
taipy-1  |   File "/home/userr/.local/lib/python3.9/site-packages/taipy/config/_config_comparator/_config_comparator.py", line 16, in <module>
taipy-1  |     from deepdiff import DeepDiff
taipy-1  | ModuleNotFoundError: No module named 'deepdiff'

It seems to be related to https://github.com/Avaiga/taipy/issues/1668

@FlorianJacta You can try again with the commit on Taipy.
pip install "taipy@git+https://git@github.com/Avaiga/taipy.git@b126c80726e814aff219ecd8456dd4378f36b270"

equivalent to this inside requirements.txt
taipy @ git+https://github.com/Avaiga/taipy.git@b126c80726e814aff219ecd8456dd4378f36b270#egg=taipy

How did you change the Dockerfile?
The installation of Taipy was not successful as I don't have node/npm installed in the dockerfile. I have tried to install it but this leads to another error.

I have to test it

This is working with rebuild=True!

Thanks @FlorianJacta


Concurrent Issue on DbContext

This is usually caused by different threads concurrently using the same instance of DbContext.

which page? can you share more detail error message?

System.InvalidOperationException: 'A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext

I tried to add Semaphore to bypass the error still the same.
I have created a full project customizing your awesome architecture and desgin.
Thanks alot

Does the query of the template have this problem? There is no such error in my deployment environment.

No there isnt
i have created another page using the DbContext as the same pattern you are following.Then it raising error

I might have guessed the cause of this issue. Are you performing the query in the OnInitializedAsync method? If so, this might lead to the problem. Please try moving the query to the OnAfterRenderAsync method, or disable prerendering by using InteractiveServerRenderMode(false).

i have tried to get the IApplicationDbContext from the IServiceProvider and injected in the Handler so it worked perfectly.
public class GetQuestionsByQuizIdQueryHandler :
IRequestHandler<GetQuestionsByQuizIdQuery, List>
{
private readonly IServiceProvider _serviceProvider;
public GetQuestionsByQuizIdQueryHandler(IServiceProvider serviceProvider)
{
this._serviceProvider = serviceProvider;
}
public async Task<List<QuestionDto>> Handle(GetQuestionsByQuizIdQuery request, CancellationToken cancellationToken)
{
    await using (var scope = _serviceProvider.CreateAsyncScope())
    {
        var _context = scope.ServiceProvider.GetRequiredService<IApplicationDbContext>();

        var data = await _context.Questions
     .AsNoTracking()
     .ApplySpecification(new QuestionByQuizIdSpec(request.QuizId))
              .ProjectTo()
              .AsNoTracking()
              .ToListAsync(cancellationToken);
        if (data is null || data.Count == 0)
            return default!;

        return data;
    }
}


Revert "Allow the user to restrict the rows to extract"

Reverts starlake-ai/starlake#782

@tiboun could you explain a little bit more =>
The internal boundaries does apply filter in order to compute them. The output is the same but may implies more executed query

Understood. Just made the correction


add support to consider mount options for s3fs mounter

Linter Check: https://v3.travis.ibm.com/github/alchemy-containers/ibm-object-csi-driver/builds/17986758


Update Code to newer standards, requiring php 8.1 and fix deprecations

fixes #11
more details, see CHANGELOG.md

@AnnaDamm Thank you for taking the time to make this change! Are you actively using this in any projects? I'd love to see where it's being used. :)
Since most of the files showed up as deleted and recreated (ugh, git, right?), it is hard for me to evaluate what's changed here. Nothing looks off at first glance, but I'll need some time to consider this.
In the meantime, can you also add a change to composer.json to add an additional branch alias? I think these changes warrant a 2.x release. How do you feel about that?
"dev-main": "2.0.x-dev"
``

Oh, to be clear, the main branch does not exist yet. If I get to the point where I merge this, this branch will become main.

@simensen Thanks for looking at it. They show up as changed because I moved the files according to psr-0 to psr-4.
Sorry, I didn't consider it showing up as deleted/created in github, or i would have done it in a separated commit for easier review.

any news on this? Used this library for the same api that Anna mentioned but a lot of notices came up on PHP8.3.

@simensen Could you have a look at it again, please?


Include for 'netinet/in.h' to NetUnix_p.h  allows compilation on FreeBSD

libbamtools won't compile on FreeBSD, throwing errors that sockaddr_inand others are not defined. It seems these variables are defined in netinet/in.h for FreeBSD.
Adding this include means libbamtools compiles happily on both our FreeBSD machine and (still) on my Ubuntu box.

Should be fixed w/ PR #101


Balance game with changable bullet speed during boss phase

Description
Add a new bullet speed coefficient to RangeAttackComponent and change it during BulletStormTask duration. The bullet speed is changed within RangeAttackComponent and BossRangeAttackComponent.
Change the projectiles.json for corresponding change in new speed coefficient.
Fixes #530
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Test manually with the change of projectile speed during boss phase.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Make it straight to main at this stage


Assign labels to tickets

It should be possible to assign labels to tickets and filter tickets by labels

Done before ticket


Add prettier and format files (attempt 2)

What kind of changes does this PR include?

Changes to Starlight code

Description

Add prettier and prettier-plugin-astro
Add prettier config (based on the main Astro repo)
Format all files in repo
Add format script

Originally did this in https://github.com/withastro/starlight/pull/371 but had to reset my fork

Some small quick thoughts I just got:

The .astro & __coverage__ directories should be added to the .prettierignore.
The format npm script should maybe use the --cache option.

(Don’t worry too much about the failing coverage check — evidently the number of lines dropped due to formatting, we can bump those budgets down so that this PR passes.)

Thanks @HiDeoo, just added those both in
@delucis you snuck that coverage check in quickly ;)

Just tried running pnpm format locally to format newly updated files, but seem to be seeing changes to spacing in Japanese, which you weren’t. For example:
- Starlightはまだ開発の初期段階にあります。何か不具合を見つけた場合は、[GitHubでissueを開く](https://github.com/withastro/starlight/issues/new/choose)か、または[Discord](https://astro.build/chat)でお知らせください。
+ Starlight はまだ開発の初期段階にあります。何か不具合を見つけた場合は、[GitHub で issue を開く](https://github.com/withastro/starlight/issues/new/choose)か、または[Discord](https://astro.build/chat)でお知らせください。

Any idea why that might be?

Weird, I just merged from main to get all the latest updates and re-ran the command. The only thing it writes are the two updated files since the last time I merged.
I'm running pnpm format these in the very root directory of the workspace

Very odd… Ah! If I change the package script like this it works:
-    "format": "pnpm prettier -w --cache --plugin prettier-plugin-astro ."
+    "format": "prettier -w --cache --plugin prettier-plugin-astro ."

I guess by adding the extra pnpm it’s using a different version of Prettier somehow?

Open to changing that and the above script. I only think you need to include the package manager in the script if you're running some commands deeper down in sub-projects in a workspace

Should this somehow be checked or enforced in a GitHub Actions too? Wouldn't we get unrelated diffs in PRs if someone submit a PR without formatting a file and someone else edit the same file later and format it?

Thanks for reviewing, @Princesseuh!

Should this somehow be checked or enforced in a GitHub Actions too? Wouldn't we get unrelated diffs in PRs if someone submit a PR without formatting a file and someone else edit the same file later and format it?

Yeah, I haven’t mentioned it here because I think it’s OK to get the config right first and add this in a follow-up PR. The way we generally approach this in other Astro repos is to have a CI task which runs after every commit to main which runs Prettier (plus usually also https://www.npmjs.com/package/organize-imports-cli) and commits any changes. That approach means we don’t have to pester contributors about formatting but the codebase still stays formatted.


Issue 324 - Fixing word wrap on long code lines, which is breaking the line-numbers plugin

This commit fixes part of Issue https://github.com/PrismJS/prism/issues/324, which is breaking the line-numbers plugin when working with bootstrap.
Currently, if a line overflows onto the next line, the line numbers will not space out accordingly to compensate for this overflow.
This change rectifies this by not breaking long lines onto multiple lines
(It will be up to the developer to break their code onto multiple lines if they do not want the overflow)

The white-space: pre property already prevents long lines from wrapping, doesn't it?

It will, however bootstrap sets word-wrap: break-word, which means that if wrapping is needed, a word (or unbroken string) will be broken to allow text to wrap so it fits in it's container.
From my understanding, the white-space: pre property only stops word wrapping on white spaces!
Setting both means that lines will overflow correctly and not break on whitespace, or words

Ok, I get your point. But I cannot reproduce the behaviour you're describing in Prism. Adding word-wrap: break-word has no effect when white-space is set to pre: see this Fiddle.
Unless it is only happening in a specific browser?

I am using Chrome Version 44.0.2403.157 (64-bit) on a Mac.
I see these for break-word:

2)

Isn't the goal to always keep a line of text on one line, and not wrap it, so that the line numbers render correctly next to their respective lines?
Apologies if I am being confusing, or I am missing something!

No no, it's fine, I just couldn't reproduce the bug in Firefox. But you are right that it happens in Chrome.
Thanks for fixing this!

Awesome, thanks!


Add you project button in the projects page

The website will be more user-friendly when the user has access to add their projects as well among all the projects listed.
Describe the solution you'd like
Adding a small section below the main headline " Projects" for 'adding your project' will engage more users on the website.
Describe alternatives you've considered
Can connect it over Firebase as well.

the goal was to only display quality and active projects so would need workflow around this


Error when using F when 'limit_ft_matches' is zero

When I set the line
lua require'lightspeed'.opts['limit_ft_matches'] = 0

And search with F or f (Fa or fa) for example and then try to reverse the search with F I get the warning not found: [character typed] and I have to press F twice for each reverse jump. The problem goes away when I set limit_ft_matches to a value of one or greater.  The problem does not occur using T.

Yeah, I can reproduce, thanks for reporting!


[DBParameterGroup] Filtered DescribeDBParameters

This commit adds an additional filtering to DescribeDBParameters. Having it in-place reduces the page depth of the cluster parameter fetch. The amount of parameters to be fetched is limited to the parameters that are directly enumerated in the ResourceModel.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Relevant PR: https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds/pull/284
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Signed-off-by: Oleg Sidorov<EMAIL_ADDRESS>

@moataz-mhmd thanks very much for your extended comment. Any chance you could share an example of the stack that will reproduce this case?

Yes, Here is a scenario that can triggers this issue you can check
AWSTemplateFormatVersion: 2010-09-09
Description: RDS DBParameterGroup Canary

Resources:
  RDSDBParameterGroup:
    Type: AWS::RDS::DBParameterGroup
    Properties:
      Parameters:
        authentication_timeout: 300
        autovacuum_analyze_scale_factor: 40
      Family: postgres13
      Description: test

Then do update on stack by removing autovacuum_analyze_scale_factor parameter

AWSTemplateFormatVersion: 2010-09-09
Description: RDS DBParameterGroup Canary

Resources:
  RDSDBParameterGroup:
    Type: AWS::RDS::DBParameterGroup
    Properties:
      Parameters:
        authentication_timeout: 300
      Family: postgres13
      Description: test

Then check ParameterGroup in you account after update. You will find autovacuum_analyze_scale_factor still 40 but it should be reset to its default value 0.05.


[Bug ]Basic songs don't autoplay anymore

forest.ogg, forest2.ogg and rain.ogg stop playing after a few minutes, user has to play manually after that.

This has been fixed, I've also added some new features, please upgrade via pip install --upgrade wisdom-tree


bug: authorization error when enable direct play is disabled

Description of the bug
When Enable Direct Play is disabled, we need to pass Authorization header to the request (as per support, it might be anything). Could you add Authorization option to getVideoPlayData function? I did above for test and it works:
 async request(options, name) {
    try {
      if (name === "getPlayData")
        options.headers["Referer"] = `https://www.example.com`
      console.log("Request options & name", options, name)
      const req = await axios__default.default.request(options);
      if (typeof req.data === "object") {
        req.data = lowerObject(req.data);
      }
      if ("message" in req.data && typeof req.data.message === "string" && "statusCode" in req.data && typeof req.data.statusCode === "number" && req.data.statusCode !== 200) {
        throw new BunnyCdnStreamError(
          req.data.message,
          name,
          req.data.statusCode
        );
      }
      return req.data;
    } catch (error) {
      throw new BunnyCdnStreamError(error, name);
    }
  }
  getOptions() {
    return {
      ...this.axiosOptions,
      headers: new axios.AxiosHeaders(this.axiosOptions.headers)
    };
  }

Steps To Reproduce

Additional Information

Hey @piszczu4, do you perhaps mean the Referrer header?

Hmm, I see, I'll check out the docs and see if there's any reference there in case it's needed elsewhere too. I'll open a PR today too to fix this for you

Hey @piszczu4 I think the best solution for you is as follows:
const stream = new BunnyCdnStream(...);

stream.axiosOptions.headers.Referer = "https://example.com";

// run any API and referer will be attached