DAO IPCI validator reward page

Link to: https://dapp.robonomics.network/#/ipci-validator
Please fix next:

[x] Title: DAO IPCI validators rewards by Robonomics team
[x] Blocks: from to
[x] Total amount of reward: 500 XRT
[x] Validator not found

How can I check from <> to blocks? (Starting block and end block of calculation)
Not visible in UI.


Models and started challenges page implementation

Here's what I get when I run packages get so I can run your changes:
Running "flutter packages get" in Flutter-Community-Challenges...
Because no versions of flutter_advanced_networkimage match >0.3.6 <0.4.0 and flutter_advanced_networkimage 0.3.6 depends on quiver ^2.0.0, flutter_advanced_networkimage ^0.3.6 requires quiver ^2.0.0.
And because every version of flutter_test from sdk depends on quiver 0.29.0+1, flutter_advanced_networkimage ^0.3.6 is incompatible with flutter_test from sdk.
So, because flutter_community_challenges depends on both flutter_test any from sdk and flutter_advanced_networkimage ^0.3.6, version solving failed.
pub get failed (1)
Process finished with exit code 1```

Um. I don't know how to resolve merge conflicts, any suggestions?

Merge conflicts resolved, must use flutter 0.6.0 to test the PR.

some more updates


ansi_term is unmaintained

The ansi_term crate is now reported as unmaintained (see here) - we need to migrate away from both ansi_term and structopt to address this. Apparently clap v3 already offers some support for the migration.

Do we need to tackle this as part of Sept release?

I don't think it's critical, but it would be good to do it if we have the spare cycles! Same for both this and the service issues.
The crate covers functionality related to CLI features - I think we should be safe in both cases. For the service (for which I'm more worried), the CLI arguments are set/passed by the admin, so I'm not that worried.

ansi_term was removed as part of https://github.com/parallaxsecond/parsec-tool/pull/107


[Release] Bumped datadog_checks_dev version to 0.7.0

What does this PR do?
See title

Codecov Report

Merging #2259 into master will decrease coverage by 11.13%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #2259       +/-   ##
===========================================
- Coverage   85.98%   74.84%   -11.14%
===========================================
  Files         197       17      -180
  Lines       14142      493    -13649
  Branches     1530       57     -1473
===========================================
- Hits        12160      369    -11791
+ Misses       1550      105     -1445
+ Partials      432       19      -413


Provide interpolation for Cached Geometry

PR Summary

This is the final piece needed before I embark on Cartesian Monopole. This introduces the ability in the cached coordinate system to compute values off of cell centers/faces via interpolation, rather than falling back to the underlying analytic formulae. For particles this could be significantly cheaper, and it is necessary when gradients are computed by finite differences on the grid.
I enhanced my check_cached_geom problem generator to also check interpolations and checked against spherical Kerr-Schild and FLRW coordinates, and things seem to converge nicely.
One word of warning: coordinate singularities, such as at the poles, appear to cause problems (unsurprisingly)---the method still converges, but the convergence degrade as you move towards the singularity. Caution should be taken when using this machinery near a coordinate singularity.
For now I think we punt this issue, but we may want to do something special near the poles when running in spherical coordinates if we discover problems.
PR Checklist

[x] Adds a test for any bugs fixed. Adds tests for new features.
[x] Format your changes by calling scripts/bash/format.sh.
[x] Explain what you did.

@jdolence @brryan @lroberts36 with this in the code I can do MonopoleCart. Ben I especially want your eyes on it because it mucks with the part of the geometry machinery that particles touch.

Tests failing because I'm getting an include failure on the CI I'm not getting on my desktop. Will investigate further tomorrow.

Phew. Tests pass. Ready for review @jdolence @brryan @lroberts36

@lroberts36 thanks for the comments. I think they should all be addressed now.


"no such file or directory" error in logs on catalog sync.

Rancher server Version - v2.3.2
On Rancher server start , following errors relating to catalog sync are seen:
2019/11/07 19:26:36 [INFO] Updating global catalog library
2019/11/07 19:26:37 [INFO] driverMetadata initialized successfully
2019/11/07 19:26:37 [INFO] Helm icon error: open management-state/catalog-cache/380859f1003fe7603cddc6c15b34b7263f1f0deaa92ddcde465811d032ee7078/charts/neuvector/NeuVector-Logo.png: no such file or directory
2019/11/07 19:26:38 [INFO] Helm icon error: open management-state/catalog-cache/380859f1003fe7603cddc6c15b34b7263f1f0deaa92ddcde465811d032ee7078/charts/kafka/v0.8.0/logo.png: no such file or directory
2019/11/07 19:26:38 [INFO] Catalog sync done. 38 templates created, 0 templates updated, 0 templates deleted

link PR to https://github.com/rancher/charts/pull/321

Tested with latest v2.3-head .
This issue is not seen any more when syncing catalogs from master builds.


Monospace format &[u8] in value module docs

When building the documentation of serde_json with CommonMark (the default in Rust 2018), rustdoc will complain about a bare byte slice statement [u8]:
warning: `[u8]` cannot be resolved, ignoring it...
  --> src/value/mod.rs:71:64
   |
71 | //! [`from_slice`][from_slice] for parsing from a byte slice &[u8] and
   |                                                                ^^ cannot be resolved, ignoring
   |
   = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`

And ultimately resolving it to an erroneous HTML (the square brackets are gone):
 for parsing from a byte slice &u8 and

I feel that backticks around the &[u8] should be enough to fix this.

Do you need a release published of this, or is this only when building serde_json docs from local source?

@dtolnay The warning can indeed be seen just by running cargo doc with serde_json as a dependency, but there is no urgency of my part to fix it upstream. I will leave whether to publish now or later to your good judgment. :)


Support [Image Name] [variant/version] scheduled for [date]

Depends on [add a reference link here]

[ ] Open a PR
[ ] Create a release
[ ] Update templates (if necessary)
[ ] Update https://github.com/devcontainers/images/issues/90
[ ] Update Microsoft Artifact Registry docs

If you have a specific dev container issue or request, providing more details would be great. Thanks so much!


operator project-quay (3.8.0-rc.4)

Add v3.8.0-rc.4 to community operators

/merge possible

/merge possible


Single example for BME280 sensor for temp, pressure and humidity

Can you please create an example for BME280 Sensor for temp, pressure and humidity values

read this: https://github.com/HomeKidd/ESP8266-HomeKit-Weather-Station-BME280-Elgato-Eve
but you can only get the bin file.

Thank you... i saw that before... but as you said, just the bin file... i needed to understand how it is done... the only one i found is a .js file at
https://github.com/NorthernMan54/homebridge-bme280/blob/master/sensor.js
But this is for home bridge i guess.. how can i make it to a homekit .c file

https://github.com/Kristian8606/Temperature_sensor/blob/master/main.c
This is my test code that works.  tuning pins 4 and 5

Edit:
I found one much closer. But it has i2c pins
https://github.com/Kristian8606/Temperature_sensor

It has i2c pins i guess... not directly connected to esp8266 pinout. Im not sure bcoz im a beginner... but i see an i2c library added initally

@CodezInfiniti you do not need to go too far, BMP280/BME280 driver is part of ESP-OPENT-RTOS distribution. And here is an example on how to use it.

It has i2c pins i guess... not directly connected to esp8266 pinout. Im not sure bcoz im a beginner... but i see an i2c library added initally

Sorry...im wrong


How to get AP75 and AP[.5::.05::.95] when testing in VOC?

Just like the title, when testing(training) in COCO, I can get "bbox_mAP: 0.3760, bbox_mAP_50: 0.5870, bbox_mAP_75: 0.4080 ......".
But when testing(training) in VOC, only get "AP50: 0.8000, mAP: 0.8004", is there some ways can get the same result format like COCO?

The COCO results are calculated slightly differently than VOC using the COCO API.
iou_thr in voc.py could be set to a list of ious to yield results at more iou thresholds like COCO.
To get the full COCO metrics on VOC, the VOC dataset could be converted to coco format and a new dataset could be created using coco.py as a template.

OK, thanks a lot!
I will try it .


Update Tables to Show Scrollbars on Mobile

I updated Minima to cause scrollbars to appear on tables on mobile devices/small screens if the screen size is too small to display the entire table. This is to address the problem of tables not overflow and distorting the mobile experience which was mentioned in https://github.com/jekyll/minima/issues/243.
I set it up to follow the same conventions as https://github.com/jekyll/jekyll.  However, in order to implement this functionality, users have to use HTML instead of Markdown for their tables since the CSS styling cannot be added without a specific div class being defined around every table. Is this trade-off okay?

Shouldn't we target all tables in posts here instead of adding a class in order to support Markdown tables?

@DirtyF I need to see if there's a way to implement the desired functionality by only targeting the table element. The examples I saw and how it is implemented on Jekyll's site is by adding the CSS styling to a div around the table.

@M0nica yeah, we use HTML tables in Jekyll docs for configuration options, but here the need might be different. Thanks for looking at this.

Hey @DirtyF, will they implement this feature because I have same issue/feature request.

Closing in favor of #296


Fix formatting after changing CI's image to go1.19

I'm suspecting that changing CI image from rhel-8-release-golang-1.18-openshift-4.12 to rhel-8-release-golang-1.19-openshift-4.13 (note the golang change) change gofmt's behavior

/lgtm


Nit: Fix a typo

Release note:

NONE

Thanks @ialidzhikov  for fixing. However as I was also pushing another commit, so i've introduced it with this  https://github.com/gardener/dependency-watchdog/pull/41/commits/f768dcc8bd72c16daf38fa61e65985c9b9c90f2c.
Will it be ok to close this in favor of that.


Cannot build yugaware-client with golang 1.17.x

The certificate tests fail when building yugaware-client with golang 1.17.x. Need to investigate and update the tests to pass in both golang 1.16.x and golang 1.17.x.

This has been resolved.


CI: add job with external tests (temporarily krb5 and gost_engine only)

Update gost-engine submodule.
Update pyca-cryptography submodule.
Fix condition for skipping krb5 test.
As the external tests for boringssl and pyca are failing currently, this is WIP.

One option would be to temporarily run just the gost and krb5 tests for now.

To run the Perl gost-engine tests, it's necessary to install Test::V0. When it is available during the configuration phase, the perl tests will run automagically.
Could you also add the TCL tests to the gost-engine tests? They were not integrated into my original test scenario.

1. To run the Perl gost-engine tests, it's necessary to install Test::V0. When it is available during the configuration phase, the perl tests will run automagically.

2. Could you also add the TCL tests to the gost-engine tests? They were not integrated into my original test scenario.

Added. Did I do it correctly?

Hmm, apparently not. @beldmit any hints?

You use the default config test that doesn't load the gost engine at all

Could you also try to run the tcl tests using the command from #14412?

@beldmit, for some reason the make tcl_tests still fails for me and I do not see anything special in your PR that would not be already in the gost_engine.sh script as well.

Let's temporary switch the TCL tests off. I remember that here be some dragons, so I'd better add them myself later.

OK the gost_engine test now passes including the tcl test. I'll try to add the improvements suggested by Richard now.

Pulling out of WIP.
@levitte comments addressed. The krb5 and gost_engine tests are running correctly. The other two have separate issues opened.

Nice work!
Isn't it worth making each external test a separate phase?

That makes some sense as you wouldn't have to look into the log to see which external test failed.

So wait, the tcl tests work? Cool!
(they were failing incessantly over att gost-engine for a while)

So wait, the tcl tests work? Cool!
(they were failing incessantly over att gost-engine for a while)

The last (for now) TCL test failure was eliminated by @DDvO some time ago, and I don't want to introduce the new ones.

@beldmit I've separated the tests, please re-approve

... and so on

OK, you nitpicker. :grin:
Fixed. @beldmit still OK?

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master. Thank you for the reviews!


BUILD.md file in dev branch missing dependency?

In the dev branch, the BUILD.md file doesn't contain the following block compared with the master branch:
HDT Library

You will also need to install hdt-cpp. You can git clone the source tree from this repository:

git clone https://github.com/rdfhdt/hdt-cpp

But installing this dependency seems to still be required. In the master branch, the text above should ideally be moved before the instructions to install the SWI-Prolog hdt pack otherwise the installation may fail due to missing dependencies (that are listed in the hdt-cpp repo readme page). Back to the dev branch, if we try to set the admin user password using the command from the BUILD.md file:
$ utils/db_util -k "my_password_here" -s "my_server_name_here"

we will get an error that db_util doesn't exist. The command seems to have been renamed to initialize_database. But if we try it without first installing hdt-cppfrom its clone, we get an error that the required rdf2hdt command is not installed.
Summarizing:

Installing hdt-cpp still seems to be required when using the dev branch.
There's a typo in the dev branch BUILD.md file: db_util  -> initialize_database .

I'm hesitant to submit a PR to fix the BUILD.md file in the dev branch as these issue seem to be caused by work-in-progress...

Hey @pmoura, thanks a lot for spotting this error.
initialize_database has been renamed to db_util because I want it to be a general configuration utility in the future instead of only a database initialization script. For instance, it must be possible in the future to change your port and the like without having to initialize a whole new database.
I'm not sure whether hdt is still required in dev. I thought it was obsolete since the terminus_store_prolog backend but it might still be used in a place I didn't see.

I re-checked the dev branch and I think you're correct. I have been experimenting both master and dev branches on macOS and Ubuntu and likely I did mixed my findings. Sorry for the noise! So, other than my suggestion to improve the text ordering on the BUILD.md file in the master branch, the other issues are raised should be invalid. Closing this ticket.


Remove extra screenshots and replace task 3 ss

@nd265 : just want to confirm if you will add the screenshot to the notebook? Just let me know if you want me to do it.


Improve memory-overhead of sending large data-buffers via gRPC

What version of gRPC and what language are you using?
1.15 and C++
What operating system (Linux, Windows,...) and version?
Ubuntu 18.04
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc/g++ 7.4.0
What did you do?
Using gRPC, I have a client writing data to gRPC server, through an async unary rpc. The data-buffer to be written, is sent as a 'string-field' in protobuf. The client has to make a 'string-copy' of this buffer for gRPC/protobuf. Also the client keeps the data-buffers around, until the rpc is successfully completed implying server has received the data-buffer, otherwise it has to re-try. As the buffers are atleast few MBs, data-transfer throughput has to be reduced to take into account memory-overhead of this copy.
Can this behaviour be improved for communicating large data buffers?  At a very high level, I would recommend having 'zero-copy-ing' large data buffers when passing them to gRPC.
At my current employer, there is an internal implementation of 'zero-copy-buffers' that can be open-sourced with a suitable license, if it helps this effort.

Any thoughts here? Would be appreciated...

Would appreciate any initial thoughts here.

I am not sure what you mean when you say - the client needs to make a copy of the buffer. If the requirement of creating a copy is just arising from using protobuf and the consequent serialization, you can use ByteBuffer instead.


ProvidePlugin can't tree shaking like the doc said

Bug report

What is the current behavior?
When using ProvidePlugin to provide join of lodash or lodash-es, the output bundle can't drop the rest of lodash as docs said: https://v4.webpack.js.org/guides/shimming/#shimming-globals

If the current behavior is a bug, please provide the steps to reproduce.
Follow the Getting Started & Shimming steps from docs.

git clone git@github.com:Chen-jj/webpack-demo.git
yarn && npm run build
When using ProvidePlugin, the bundle size is about 99.4k.
While using import { join } from 'lodash-es' instead the size is about 1.13k.

What is the expected behavior?
The output bundles contain lodash.join.

Other relevant information:
webpack version:  4.44.2
Node.js version: 12.14
Operating System: MacOS
Additional tools:

It is expected, here answer https://stackoverflow.com/questions/58741044/why-webpack-doesnt-tree-shake-the-lodash-when-using-import-as


Issues are taken from current query

The list of issues is taken from the current query (retrieve_query in the controller).
This means that any filters that are applied in the "Issues" view is also applied to the "Pivot" view. This is confusing as there's no way to edit the filters from the Pivot view. Also, it is counterintuitive that these two views "cross talks".
A fix could be to copy the code from retrieve_query where the new default query for the current project is created.

Hi,
Thanks for the idea.
I would like to comply to the "Issue Filter in Session" idea, and would try to add Filter section on top of pivottable UI so the filters are editable. (see #14)
I believe this way is better than cutting off the pivottable UI from Redmine's filter UI, which we are accostomed to.

Sounds good. Just wanted to be sure you was aware of this "feature" :-)

Feature added in  12f63d74ced8a41f691a1e6d0c37497e2082b461


Convert pub_date to datetime field

Hi @lnxpy ,
Isn't it better to store pub_date as a datetime field and write an utility function to communicate with the calendar method in order to convert datetimes?

Hi dear Moein khan,
Hope you are doing well. It's been a long time since these model fields were left dirty. That's awkward to keep converting dates over and over otherwise, in the new version, I've used django_jalali in order to keep them in Shamsi.
Thank you so much for your incredible support :heart:

Hi dear Moein khan,
Hope you are doing well. It's been a long time since these model fields were left dirty. That's awkward to keep converting dates over and over otherwise, in the new version, I've used django_jalali in order to keep them in Shamsi.
Thank you so much for your incredible support :heart:

So this repo is not updated, right? When can I (and also other developers) contribute to this repo?

That's it. I keep developing on lnxpy/codehub and CodeHub is up to date there. Once the project is stabilized, all PRs and issues will be tracked. I will mention you in the future posts on LinkedIn about the stable version and release time if you don't mind actually.

Yes, of course. I'll be happy to contribute.

That's honorable to me to have you as a contributor. ❤
Thank you so much.


Upgrade to Angular 17

Upgrade to Angular 17, checking the benefits of the new version.

This was done in #229


TMPDIR is set to null

Describe the bug
When you switch your process implementation a different one, MySQL and PHP are broken.
The issue is that TMPDIR is set to string null. This seems not to happen with the default implementation, as it sources variables from a file.

cc @thenonameguy

Please define which implementation works and which doesn't.

Can you try process-compose with MySQL?

Okay now I can't reproduce it anymore. wtff

Sooo I guess I can reproduce it now. I simplified it a lot to make it easier
# foo.sh
export NIX_BUILD_TOP="$(mktemp -d -t nix-shell.XXXXXX)"
export TMP="$NIX_BUILD_TOP"
export TMPDIR="$NIX_BUILD_TOP"
export TEMP="$NIX_BUILD_TOP"
export TEMPDIR="$NIX_BUILD_TOP"

# Remove all the unnecessary noise that is set by the build env
unset NIX_BUILD_TOP NIX_BUILD_CORES NIX_STORE
unset TEMP TEMPDIR TMP TMPDIR

# .envrc
eval "$(cat foo)"

❯ direnv allow
direnv: loading ~/Code/test/.envrc
direnv: export +A -TMPDIR

It adjusts the TMPDIR to null.
I have already a TMPDIR before I join the folder. Maybe thats the real difference?
❯ echo $TMPDIR
/var/folders/h4/wz89kr5928d_1c8zsmlry3s40000gn/T/

Yep without the global TMPDIR variable i cannot reproduce it anymore.
shyim in ~/Code
❯ set -e TMPDIR

shyim in ~/Code
❯ cd test/
direnv: loading ~/Code/test/.envrc

Maybe also relates to this in Nix? https://github.com/NixOS/nix/blob/8c52f8ea9db6aba495bff7c9b7511a5a5420efab/src/libmain/shared.cc#L234

Could you create a gist to reproduce? I'm not able to follow your snippets :)

better? :) https://gist.github.com/shyim/570e7eabb39bae690714f9167fa6fa1e

What is the global value of TMPDIR you have?

Looks like another problem that can be avoided by implementing #240

/var/folders/qg/s5jp5ffx2p1fxv0hy2l_p3hm0000gn/ seems like

We could remove unsetting TMPDIR only on Darwin until #240.
What do you think about it?

I can prepare a PR for removing https://github.com/NixOS/nix/blob/8c52f8ea9db6aba495bff7c9b7511a5a5420efab/src/libmain/shared.cc#L234 and let's see

If I understand the code when TMPDIR is /var/folders or /tmp it unsets it.
Changed it for my shell and makes no difference:
shyim in ~/Code
❯ echo $TMPDIR
/Users/shyim/Downloads/

shyim in ~/Code
❯ cd platform/
direnv: loading ~/Code/platform/.envrc
direnv: export +APP_SECRET +APP_URL +CYPRESS_baseUrl +CYPRESS_dbHost +CYPRESS_dbName +CYPRESS_dbPassword +CYPRESS_dbUser +C_INCLUDE_PATH +DATABASE_URL +DEVENV_DOTFILE +DEVENV_PROFILE +DEVENV_ROOT +DEVENV_STATE +INSTALL_URL +IN_NIX_SHELL +LD_LIBRARY_PATH +LIBRARY_PATH +MAILER_URL +MYSQL_HOME +MYSQL_UNIX_PORT +NIXPKGS_ALLOW_UNFREE +PHPFPMDIR +PKG_CONFIG_PATH +REDISDATA +name ~PATH ~TMPDIR ~XDG_CONFIG_DIRS ~XDG_DATA_DIRS

shyim in platform on  next-24090/new-updater [!⇕] via  v18.12.1 via 🐘 v8.1.13 via ❄  impure (devenv-shell)
❯ echo $TMPDIR
null


Use optimize=True in einsum

Description
As explained in #85, part 1f of the tutorial discourages the usage of the optimize=True flag of einsum  due to the numpy version of its introduction (1.12) being too recent. But that's a long time ago. This PR tries to solve this and introduces the flag in every tutorial einsum is used.
What are your new additions? Please provide a brief list.

Changes

[x] The appropriate tutorial now explains the flag and compares timings
[x] All tutorials make use of the optimize=True flag of einsum
[x] Some FutureWarnings were corrected in the DFT tutorials

Status

[x] Click when ready for review-and-merge

Overall LGTM. Please do revert the MD tutorials so they they correctly show their 3-d structures.

Let me know if it's OK now.

Thanks! Looks good.


"Default" subnetwork in config.xml is configured in the wrong format and the rest of my subnets don't even appear in the drop down

After setting up the plugin using the 'default' subnet, I got the error Invalid value for field 'resource.networkInterfaces[0]': '{  \"accessConfig\": [{    \"type\": \"ONE_TO_ONE_NAT\",    \"name\": \"External NAT\"  }]}'. Subnetwork should be specified for custom subnetmode network"when trying to add a slave. On the Jenkins server, I went to the config.xml and found <networkConfiguration class="com.google.jenkins.plugins.computeengine.AutofilledNetworkConfiguration">             <network>https://www.googleapis.com/compute/v1/projects/zoominfo-2/global/networks/default</network>             <subnetwork>default</subnetwork>
I manually updated the subnetwork part to <subnetwork>https://www.googleapis.com/compute/v1/projects/zoominfo-2/regions/us-east1/subnetworks/default</subnetwork>, reloaded the config in the Jenkins UI and everything worked fine. Then I updated the config in the UI and the config reverted back. I also wanted to use a different subnet, but 'default' was the only option.

How did you set up the network in the first place?

Update?

That's a pretty vague question. How did I set up the network in Google? How did I set up network in the Jenkins plugin config? What information are you looking for?

Are you setting it up via the UI in the instance configuration form? Using JCasC?
With the UI, there are auto-populated options that should work out of the box.

Also, it would also help for me to see what your instance configuration is.

I set set up the network in the Jenkins UI. It does have a drop down for subnetworks but the only that appears is 'default'. There aren't any other options.
The instance is Centos7 n1-standard-4. The service account has 'Compute Network Admin'.

https://github.com/jenkinsci/google-compute-engine-plugin/blob/8478452ad006be07557869418050e063cf9ac8e8/src/test/java/com/google/jenkins/plugins/computeengine/integration/ITUtil.java#L103-L104
If you see there, it seems what is in your config matches values we use for integration testing.
@stephenashank can you take a look?

When I tried to bring in a new slave, I would get this error:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network",
"reason" : "invalid"
} ],
"message" : "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network"
}

I was able to reproduce your problem in the UI: even when I had created a new subnetwork under the default network, it was not showing up in the list despite the service account having the Compute Network Admin role.
So I looked closer and realized that as it stands now, selecting the default subnetwork is required when default is chosen as the network, because no additional items are retrieved, we just assume that default will be used:  https://github.com/jenkinsci/google-compute-engine-plugin/blob/ce5761e444285a877ef8d23cf0c528ae004fc588/src/main/java/com/google/jenkins/plugins/computeengine/AutofilledNetworkConfiguration.java#L104-L107

Weird, how did you reproduce that? It works fine for me in the UI.

I was only able to see subnetworks that were not default when I removed the block above.
To reproduce I did this: in cloud console, select VPC network then VPC networks and click on the default network. Then click Add subnet to create a custom subnet. Make sure to add it to the region that you are using for configuration, and choose any IP range that is allowed.
Then, I reopened the Jenkins configuration which already had the default network selected, and clicked on the dropdown. I expected to see both of the subnets for the network and region (default and the one I created) but only saw default.

Should be fixed as soon as we issue the next release.

Cut a release! Let me know how it goes @jhartnett. It is release 3.3.0.

I do have a concern about the current implementation because after updating to the latest v3.3.0 I receive the following response from the plugin while trying to start a slave:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
  "code" : 400,
  "errors" : [ {
    "domain" : "global",
    "message" : "Invalid value for field 'resource.networkInterfaces[0].subnetwork': 'No subnetworks exist in the given network and region.'. The URL is malformed.",
    "reason" : "invalid"
  } ],
  "message" : "Invalid value for field 'resource.networkInterfaces[0].subnetwork': 'No subnetworks exist in the given network and region.'. The URL is malformed."
}
	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1067)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
	at com.google.jenkins.plugins.computeengine.client.ComputeClient.insertInstance(ComputeClient.java:359)
	at com.google.jenkins.plugins.computeengine.InstanceConfiguration.provision(InstanceConfiguration.java:284)
	at com.google.jenkins.plugins.computeengine.ComputeEngineCloud.doProvision(ComputeEngineCloud.java:411)

In my project, I still have a Legacy VPC network and thus there are no dedicated sub-networks in it. I have downgraded the plugin version to v3.2.0 to be able to start slaves again.

@stephenashank it looks like the previous PR which was submitted for this issue is not interfering with customers using legacy VPCs. Could you PTAL. Thanks.

I was able to track down the issue:
https://github.com/jenkinsci/google-compute-engine-plugin/blob/bc082bd832e83b0620772b3b7ea7e1f3b06e01a3/src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java#L489-L492
Previously when using a legacy VPC, I'm guessing the default subnetwork would be used in the NetworkConfiguration for the instance, and then in the block above when constructing the network interface, the subnetwork would be omitted. I should be able to fix this by allowing users to select an empty value for subnetwork, and then omitting it from the network interface in that case as well. Does that work for your use case @yuri-sergiichuk?

In my case, with the plugin v3.2.0, the subnetwork is automatically set to default. Is it what you're asking?

Yes that answered my question. The behavior should be restored for legacy VPCs with release 3.3.2 which was just deployed. It can take up to 8 hours to reach the update center, so please check that out when you can.

@yuri-sergiichuk Was your issue resolved?

@stephenashank yep! Thanks for your efforts and sorry for being late with the response.

No worries. In that case I will close this out.


Flash whenever the targeted Calliope mini is in DFU mode

Always try to flash a program when Calliope mini is in DFU mode.
Sometimes the Calliope mini is in DFU mode, but that app seems not to try to flash to it as it seem to be still waiting for a device to connect to. In this case the app should also just try to flash.

It is not possible to flash without a connection to the device. This could be a timing issue with the search for a calliope in DFU mode.

Ah, maybe this is possible when there is a "Easy" connection aka paired Calliope mini that is in DFU mode?


Maintenance: Report on the jar file size in PRs

Summary
Have an action in GitHub workflow (PR, push to master) to calculate the size of the jar files and report it in the PR with the trend (increase/decrease).
Why is this needed?
One of our tenet is "Keep it lean", to avoid adding too many dependencies and having powertools too heavy, causing slower cold starts. Having the information in each PR of the size and the trend would help making the good choices.
Which area does this relate to?
Automation, Governance
Solution
Could not find any Java-related GitHub actions (a lot on Js/Ts), but maybe something more generic exists.
Acknowledgment

[X] This request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Python, TypeScript

done with #1196


pythonPackages.face_recognition: init at 1.2.1

Motivation for this change
Adds the python package face_recognition and its dependency
face_recognition_models.
This package is a wrapper for dlib which is able to detect faces in a
given image. I checked the package with the following expression:
with import ./. { };

stdenv.mkDerivation {
  name = "facetest";
  src = null;
  buildInputs = with pythonPackages; [ face_recognition ];
}

The package works perfectly fine in a nix-shell:
$ nix-shell
[nix-shell:~]$ python
Python 2.7.14 (default, Sep 16 2017, 17:49:51)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import face_recognition
>>> img = face_recognition.load_image_file("/home/ma27/me.jpg")
>>> print(face_recognition.face_locations(img))

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@dotlambda thanks a lot for the feedback, added tests for face_recognition, tested everything in a sandbox, should be fine now %)

@GrahamcOfBorg build python2.pkgs.face_recognition python3.pkgs.face_recognition

Failure on x86_64-linux (full log)
Attempted: python2.pkgs.face_recognition, python3.pkgs.face_recognition
Partial log (click to expand)
test_raw_face_landmarks (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations_32bit_image (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations_batched (tests.test_face_recognition.Test_face_recognition) ... ok

----------------------------------------------------------------------
Ran 22 tests in 285.080s

OK
error: build of '/nix/store/9bq6i0afkjj520z8820ln4sjgllh2v66-python3.6-face_recognition-1.2.1.drv' failed

Failure on aarch64-linux (full log)
Attempted: python2.pkgs.face_recognition, python3.pkgs.face_recognition
Partial log (click to expand)
test_raw_face_landmarks (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations_32bit_image (tests.test_face_recognition.Test_face_recognition) ... ok
test_raw_face_locations_batched (tests.test_face_recognition.Test_face_recognition) ... ok

----------------------------------------------------------------------
Ran 22 tests in 665.386s

OK
error: build of '/nix/store/lcpv8vq6vypzlvyishgs2fkvx7igc637-python3.6-face_recognition-1.2.1.drv' failed

@GrahamcOfBorg build python2.pkgs.face_recognition python3.pkgs.face_recognition

Success on x86_64-linux (full log)
Attempted: python2.pkgs.face_recognition, python3.pkgs.face_recognition
Partial log (click to expand)
.
.
.
.
                    [100%]

========================== 22 passed in 85.85 seconds ==========================
/nix/store/ln3qphxg050g4rwky4rhb6q0xdc7q8sx-python2.7-face_recognition-1.2.1
/nix/store/fazsa9w1bc8amlcx62825gx1wr175mxp-python3.6-face_recognition-1.2.1

Success on aarch64-linux (full log)
Attempted: python2.pkgs.face_recognition, python3.pkgs.face_recognition
Partial log (click to expand)
collected 22 items

tests/test_face_recognition.py ......................                    [100%]

========================= 22 passed in 636.35 seconds ==========================
tests/test_face_recognition.py ......................                    [100%]

========================= 22 passed in 640.29 seconds ==========================
/nix/store/4qqn9xkas96rx18mizy8na3pr8v4s72k-python2.7-face_recognition-1.2.1
/nix/store/czfwr3yfnn6k7qjkmixp2kpmirqk1wnf-python3.6-face_recognition-1.2.1

when using Python 2. There was no problem with Python 3. Did you test both versions?

Yes I did (see the results of the REPL session I copied into the commit message). I actually use this library on a simple test project with Python 2.7 and the current derivation lives in my local Nix store (built with sandbox enabled).
Can you give me a precise guidance to reproduce this issue?

Did you open an issue?

https://github.com/ageitgey/face_recognition/issues/417

just to document it here: upstream will create git tags for their releases from now on, so with the next bump we can get rid of using revs that point to PyPI releases (https://github.com/ageitgey/face_recognition/issues/417#issuecomment-377983009)


node: implement node announcement sybil resistance

We implement a small proof-of-work on the node announcement message to prevent the routing table from being filled by fake entries.
We choose scrypt for its memory-hard properties.
Closes #28
Signed-off-by: Alexis Sellier<EMAIL_ADDRESS>

Will scrypt with these parameters have a notable affect the memory requirements?  Or will our nodes still be able to run on rasp pis?

Will scrypt with these parameters have a notable affect the memory requirements? Or will our nodes still be able to run on rasp pis?

Good question. It should be fine with these settings, as these are the settings recommended for general use!


[Feature]: TS style test.step trace file grouping

🚀 Feature Request
I would really like to see some way to use the grouping of steps in trace files the node test runner has into c#
so in TS you can specify
  await test.step('Add Folder Model', async () => {
   //Some Actions like clicking and filling
  });

These appear nicely in a trace and improve it readability massively

in c# we already have tools like specflow or Reqnroll to make these nice English readable test steps. i would like to add to a before step hook the name of the step and after step hook to close the group
Example
At a guess something that you can access from the browser context tracing ?
        [BeforeStep]
        public async Task BeforeStep(ScenarioContext scenarioContext) {
            var browserContext = scenarioContext.ScenarioContainer as IBrowserContext;
            browserContext.Tracing.StartGroup(scenarioContext.StepContext.StepInfo.Text);
            }

        [AfterStep]
        public async Task AfterStep(ScenarioContext scenarioContext) {
            var browserContext = scenarioContext.ScenarioContainer as IBrowserContext;
            browserContext.Tracing.EndGroup(scenarioContext.StepContext.StepInfo.Text);
            }

Motivation
Makes looking through trace files much nicer and easier and readable what the test is doing

Related requests: https://github.com/microsoft/playwright-java/issues/1565 https://github.com/microsoft/playwright-python/issues/1949
hopefully it gets out of the p3-collecting-feeback boneyard 🙏🙏🙏

This will be available in v1.49.0 soon as part of Contex.Tracing.GroupAsync and Context.Tracing.GroupEndAsync API.

This works like a charm, thanks
allows me to have nice BDD English steps in my trace files


[HxInputDate] Not invoke field change

Hi, i maybe found little bug in component hxinputdate. But i'm not really sure if it is a bug. When is value changed component only notification validation state changed but don't notification field changed. Normally is invoke field change too.  I use it for show/hide submit button. But maybe i haven't right and this is correct behaviour.
Thank you very much. :)

Hi @petrkasnal,
the ValueChanged and editContext.NotifyFieldChanged callbacks are called from CurrentValue property setter (InputBase). These are called only when the value gets parsed correctly.
See https://github.com/dotnet/aspnetcore/blob/e0110ad9ea7e7ba646aff35832fedb5a588c6e1d/src/Components/Web/src/Forms/InputBase.cs#L72-L81

@hakenr thank you for response. I understand, but when you insert correctly date and after write something incorrect like text the NotifyFieldChange isn't invoke. And i can't update property FormValid. I update button state on OnFieldChange, beacuse i found many tutorials on this. Or should i update FormValidate property another way? I tried update my property in event OnValidationStateChanged with method Validate But then it's called over and over again. Can you tell me how to do another way please?  When i try your HxInputNumber it works just like that.
InputNumber:

InputDate

Aaah ok thank you very much :) I'll look forward to it.
I try it like this. But it's logicaly again call this method to infinite. How i can do it correctly please? Thank you

@jirikanda The bahavior of HxInputNumber and HxInputDate should be aligned.

Thank you very much :)

Not fixed/verified yet, just a comment for my colleague. :-D

Implementation details:

HxInputNumber sets value using the CurrentValueAsString property setter.
HxInputDate sets value using the CurrentValue property setter.

The small difference can be hidden in this line in CurrentValue setter - it means when the value is fixed (modified) to the previosly valid value, CurrentValue does not notify the change.
But when you implement the form well, I believe it works as expected.
@page "/Issue83Test"

Issue 83

<EditForm EditContext="@numberEditContext">
    <HxInputNumber<EMAIL_ADDRESS>Label="Number" />
    <HxButton Text="Submit" Enabled="@(!numberEditContext.GetValidationMessages().Any())" Color="ThemeColor.Primary" />
</EditForm>

<EditForm EditContext="@dateEditContext">
    <HxInputDate<EMAIL_ADDRESS>Label="Date" />
    <HxButton Text="Submit" Enabled="@(!dateEditContext.GetValidationMessages().Any())" Color="ThemeColor.Primary" />
</EditForm>

@code
{
    private EditContext numberEditContext;
    private GenericModel<int> numberModel;

    private EditContext dateEditContext;
    private GenericModel<DateTime> dateModel;

    private void HandleValidationStateChanged(object sender, ValidationStateChangedEventArgs args)
    {
        StateHasChanged();
    }

    protected override void OnInitialized()
    {
        base.OnInitialized();

        numberModel = new GenericModel<int>();
        numberEditContext = new EditContext(numberModel);
        numberEditContext.OnValidationStateChanged += HandleValidationStateChanged;

        dateModel = new GenericModel<DateTime>();
        dateEditContext = new EditContext(numberModel);
        dateEditContext.OnValidationStateChanged += HandleValidationStateChanged;
    }

    private class GenericModel<T>
    {
        public T Value { get; set; }
    }
}


can login with with az login even though I have active subscription

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
No subscriptions found for<EMAIL_ADDRESS>

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.38.0 *

Additional Context

@jiasli for awareness

@toki0709 Please check if this action plan helps https://docs.microsoft.com/en-us/answers/questions/738782/no-subscription-found-for-function-during-azure-cl.html

I just faced this issue using az 2.62.0 which uses Web Account Manager (WAM) for authentication but had to switch back to browser-based authentication in order for it to work.
az account clear
az config set core.enable_broker_on_windows=false
az login

Documentation: https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively#sign-in-with-web-account-manager-wam-on-windows


(): could not find expected ':' while scanning a simple key at line 25 column 3

It seems I am not able to excape characters on the FASTLANE_SESSION environment variable stored on Bitrise - well at least I think that is the issue.
Stacktrace:
Configs:
- WorkDir: ios
- Lane: beta
- UpdateFastlane: true
Expand WorkDir
Expanded WorkDir: /Users/vagrant/git/ios
Determine desired Fastlane version
Checking Gemfile.lock (/Users/vagrant/git/ios/Gemfile.lock) for fastlane gem
Gemfile.lock defined fastlane version: 2.109.0
Install Fastlane with bundler
$ bundle "install" "--jobs" "20" "--retry" "5"
Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.17.1). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/........
Using CFPropertyList 3.0.0
Using public_suffix 2.0.5
Using atomos 0.1.3
Using babosa 1.0.2
Using bundler 1.16.2
Using claide 1.0.2
Using colored 1.2
Using colored2 3.1.2
Using highline 1.7.10
Using declarative 0.0.10
Using declarative-option 0.1.0
Using unf_ext <IP_ADDRESS>
Using dotenv 2.5.0
Using emoji_regex 0.1.1
Using excon 0.62.0
Using multipart-post 2.0.0
Using gh_inspector 1.1.3
Using jwt 2.1.0
Using memoist 0.16.0
Using multi_json 1.13.1
Using os 1.0.0
Using httpclient 2.8.3
Using mime-types-data 3.2018.0812
Using uber 0.1.0
Using retriable 3.1.2
Using json 2.1.0
Fetching fastimage 2.1.5
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using rubyzip 1.2.2
Using security 0.1.3
Using naturally 2.2.0
Using slack-notifier 2.3.2
Using terminal-notifier 1.8.0
Using unicode-display_width 1.4.0
Using tty-screen 0.6.5
Using tty-cursor 0.6.0
Fetching plist 3.4.0
Using word_wrap 1.0.0
Using nanaimo 0.2.6
Using rouge 2.0.7
Using addressable 2.5.2
Using commander-fastlane 4.4.6
Using unf 0.1.4
Using domain_name 0.5.20180417
Using mime-types 3.2.2
Using simctl 1.6.5
Using terminal-table 1.8.0
Using xcpretty 0.3.0
Using http-cookie 1.0.3
Fetching tty-spinner 0.9.0
Fetching xcodeproj 1.7.0
Using xcpretty-travis-formatter 1.0.0
Fetching faraday 0.15.4
Using representable 3.0.4
Installing plist 3.4.0
Installing tty-spinner 0.9.0
Installing fastimage 2.1.5
Installing faraday 0.15.4
Installing xcodeproj 1.7.0
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.12.2
Fetching signet 0.11.0
Installing signet 0.11.0
Fetching googleauth 0.6.7
Installing googleauth 0.6.7
Using google-api-client 0.23.9
Fetching fastlane 2.109.0
Installing fastlane 2.109.0
Bundle complete! 1 Gemfile dependency, 61 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Fastlane version:
$ bundle "exec" "fastlane" "--version"
fastlane installation at path:
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/bin/fastlane
-----------------------------
fastlane 2.109.0
Run Fastlane
$ bundle "exec" "fastlane" "beta"
[03:33:27]: Sending anonymous analytics information
[03:33:27]: Learn more at https://docs.fastlane.tools/#metrics
[03:33:27]: No personal or sensitive data is sent.
[03:33:27]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[03:33:28]: ------------------------------
[03:33:28]: --- Step: default_platform ---
[03:33:28]: ------------------------------
[03:33:28]: Driving the lane 'ios beta' 🚀
[03:33:28]: ------------------------------
[03:33:28]: --- Step: get_certificates ---
[03:33:28]: ------------------------------
+---------------+----------------------------------------------------+
|                      Summary for cert 2.109.0                      |
+---------------+----------------------------------------------------+
| development   | false                                              |
| force         | false                                              |
| username      | [REDACTED]                                |
| team_id       | U4VGNL272S                                         |
| keychain_path | /Users/vagrant/Library/Keychains/login.keychain-db |
| platform      | ios                                                |
+---------------+----------------------------------------------------+
[03:33:28]: Starting login with user '[REDACTED]'
Error loading session from environment
Make sure to pass the session in a valid format
+------------------+----------+
|        Lane Context         |
+------------------+----------+
| DEFAULT_PLATFORM | ios      |
| PLATFORM_NAME    | ios      |
| LANE_NAME        | ios beta |
+------------------+----------+
[03:33:28]: (<unknown>): could not find expected ':' while scanning a simple key at line 25 column 3
+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 💥   | get_certificates | 0           |
+------+------------------+-------------+
[03:33:28]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  Where should I keep sensitive data?
    https://github.com/fastlane/fastlane/issues/25 [closed] 2 💬
    22 Sep 2016
➡  testmunk intro text
    https://github.com/fastlane/fastlane/pull/3 [closed] 0 💬
    04 Feb 2017
🔗  You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
Psych::SyntaxError: [!] (<unknown>): could not find expected ':' while scanning a simple key at line 25 column 3
  /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych.rb:402:in `parse'
  /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych.rb:402:in `parse_stream'
  /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych.rb:350:in `parse'
  /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/psych.rb:263:in `load'
  /usr/local/lib/ruby/gems/2.5.0/gems/http-cookie-1.0.3/lib/http/cookie_jar/yaml_saver.rb:24:in `load'
  /usr/local/lib/ruby/gems/2.5.0/gems/http-cookie-1.0.3/lib/http/cookie_jar.rb:325:in `block in load'
  /usr/local/lib/ruby/gems/2.5.0/gems/http-cookie-1.0.3/lib/http/cookie_jar.rb:324:in `open'
  /usr/local/lib/ruby/gems/2.5.0/gems/http-cookie-1.0.3/lib/http/cookie_jar.rb:324:in `load'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/client.rb:581:in `load_session_from_env'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/client.rb:430:in `send_shared_login_request'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/portal/portal_client.rb:28:in `send_login_request'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/client.rb:751:in `do_login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/client.rb:383:in `login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/client.rb:345:in `login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/spaceship/lib/spaceship/portal/spaceship.rb:103:in `login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/cert/lib/cert/runner.rb:24:in `login'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/cert/lib/cert/runner.rb:34:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/cert/lib/cert/runner.rb:13:in `launch'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/actions/get_certificates.rb:17:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/fast_file.rb:154:in `method_missing'
  Fastfile:21:in `block (2 levels) in parsing_binding'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/lane.rb:33:in `call'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.109.0/bin/fastlane:23:in `<top (required)>'
  /usr/local/bin/fastlane:23:in `load'
  /usr/local/bin/fastlane:23:in `<top (required)>'
Fastlane command: (bundle "exec" "fastlane" "beta") failed

Fastfile:
platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
  get_certificates           # invokes cert
  get_provisioning_profile   # invokes sigh
    increment_build_number(xcodeproj: "PROJECT.xcodeproj")
    build_app(scheme: "PROJECT")
    upload_to_testflight
  end
end

Fastlane env:
| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.109.0 | ✅ Up-To-Date  |

Hi @dale-french! Could you include a build URL for us to investigate as well, please?

@bitce https://app.bitrise.io/build/c61c89779b978adb

Hello @dale-french,
Could you try re-creating the FASTLANE_SESSION and also please make sure to use the latest version of Fastlane? There were some issues with the Apple login (the session timeout was moved to another field in the response and also Apple fixed the session timeout).
Also, if it still does not work, I'd recommend reaching out on Intercom and referencing this GitHub issue.


BUG: stats: fix bug in spearmanr nan propagation

As @urimerhav posted in gh-12411, spearmanr with nan_policy="propagate" intends to create logical indices of the rows (or columns, depending on axis) that contain nans, perform the calculations, then nan-out the appropriate rows and columns in the output. However, the code:
np.isnan(a).sum(axis=axisout)

sums the number of nans along the axis rather than returning the logical array that can be used for indexing. The solution is to use any rather than sum.
Made the fix and added a test.
Closes gh-12411

@WarrenWeckesser thanks. I just realized that Spyder is turning off PEP8 notifications because the stats.py file is so big. Thanks for fixing that.


[google_maps_flutter] Add synchronous way to set padding

Hi there,
I'm trying to create a map with a responsive UI around it. To do that, when the UI layout change, I modify the padding of the map to reflect the changes.
This works great except if for example I want the map to stay centered on a point because if shift when the padding/change.
My first though was, I can just listen when the padding happened and manually recenter the map. However, as there is no synchronous way to set the map padding, it's hard to know when the change actually happened. (The only way I found to make it work is to listen to addPostFrameCallback and trigger the recenter here but this is very hacky).
I believe this usecase is pretty common on all map application where content depends on the current viewport.
Would it be possible to add a synchronous way to set padding on the map, via the GoogleMapController for example?
Cheers!

May I ask which padding you are referring to?

@escamoteur The padding to be set on the map via the padding parameter on the GoogleMapclass https://pub.dev/documentation/google_maps_flutter/latest/google_maps_flutter/GoogleMap/padding.html

Why not just wrap the map in a normal Padding?

@escamoteur I believe the padding referred to here is within the Map itself, ie. to pad the Google logo, location and compass icons etc.
https://developers.google.com/maps/documentation/android-sdk/map#map_padding

Platform channels are inherently asynchronous (and proposals for synchronous calls all have issues with potential deadlocks, so there's no plan to implement them) so there's no way to implement this request.
Given that, closing.


Error loading resource: map.service.ts / Error 404

Hi, can you help me out with this?
I am referencing your project to get started with angular 2 and leaflet, but when I try to run it (w/o using webpack) using npm start, the typescript compiler doesn't compile my map.service.ts into its equivalent js file, causing it to throw an error 404. But i don't understand why.
Here's a pic of it ->

I am pretty sure the tile layers portion are perfectly fine and i've added the source reference for leaflet.d.ts.
Here's the error showing on the browser side ->

Thanks a lot

There is no localhost:3000 in my project. Do you have any idea where it came?

Close because of no response


merge from template-arlac77-github

.github/workflows/ci.yml

chore: add ${{ secrets.PKGBUILD_PUBLISH }} (jobs.release.steps.env.PKGBUILD_PUBLISH)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
85

Relevant Lines:
88

💛  - Coveralls


Give an active user the option of extending their session for another 4h

Allow people to continue working with the instance, and skip the auto-shelving at 4h.

User will be presented with the popup like the following:

To show the dialog from the self-hosted runner using SSH:
instance_ip=X.X.X.X
ssh \
                -o StrictHostKeyChecking=no \
                -o UserKnownHostsFile=/dev/null \
                -o LogLevel=ERROR \
                exouser@$instance_ip \
                  'export DISPLAY=:1 && zenity --question --timeout=60 --title="Automatic Instance Shelving" --text="Instance will be shelved in ~30 minutes.\n\nWould you like to keep the instance running for an additinal 4 hours?" --ok-label="Yes" --cancel-label="No"'

To show the dialog directly from the instance:
export DISPLAY=:1 && \
zenity \
  --question \
  --timeout=60 \
  --title="Automatic Instance Shelving" \
  --text="Instance will be shelved in ~30 minutes.\n\nWould you like to keep the instance running for an additinal 4 hours?" --ok-label="Yes" --cancel-label="No"

any updates on this?

I have a working protoype and will integrate shortly.
Existing instance will also be gracefully handled (current mechanism will apply), the question will be asked only in the context of newly created instance.

This feature improves the user experience by allowing active users to extend their session by 4 hours. It has been implemented and deployed across multiple projects:

exosphere
MorphoCloudWorkflow
MorphoCloudInstances

exosphere

The feature was introduced in commit 0fe9de8 (feat(Slicer role): Add support to check for instance shelving extension Beta).
Added the script check-instance-shelve.sh, which manages automatic shelving, providing users the option to extend the runtime by 4 hours. The script can also display the elapsed time since the last session extension or reset the timer.
Updated the Slicer Ansible role to:

Install check-instance-shelve.sh.
Add crontab entries:

An @reboot entry to handle unshelving.
A job that runs every 5 minutes, prompting users to extend the session if the uptime is between 3.5 and 4 hours.

MorphoCloudWorkflow

Updated via commits e7a13e0 (fix(cloud-config): Update to use exosphere changes) and a29ea08 (feat(automatic shelving): Add support to check for instance shelving extension).

The first commit ensures the integration of the updated Ansible roles.
The second commit modifies the GitHub Workflow .github/workflows/automatic-instance-shelving.yml to remotely run check-instance-shelve.sh -d and check the timestamp of the tracker file (/home/exouser/shelving_instance_tracker).

MorphoCloudInstances

The changes were deployed in commit 9182aa9, ensuring full integration of the updated scripts and workflows across all instances.

User Notification Preview
The user notification is triggered by the following cron job:
# Ansible: Ask user for instance shelving extension
*/5 * * * * /home/exouser/dist/check-instance-shelve.sh -a

The cron job runs the script every 5 minutes, prompting active users to extend their session before automatic shelving occurs. Below is a preview of the notification:

I am sure this is working, but displaying the message is only for 5 minutes is not going to work well. I missed it yesterday while stepped out for a thing...
Can you display until a response is received or the for 30 minutes (whichever is sooner)?

It turns out there was an issue with the script, the fix (https://github.com/MorphoCloud/exosphere/commit/620f82fdf19ff4a42ac324b4710d72039d1e6331) is currently being tested in jcfr/MorphoCloudPortal and will deployed later to MorphoCloudInstances

To follow up on @muratmaga comment shared by email:

I suggest making this file hidden and maybe put it under ~exouser/.local/
If they delete it for one reason or another, it will break things.

Ditto. As a first step, I will improve the script to simply create the file if doesn't exist.
As a second step, we should then address:

https://github.com/MorphoCloud/MorphoCloudWorkflow/issues/51

To follow-up on @muratmaga comment shared by email:

Is there any reason you can keep it until a response is recorder, or it times out?

After integrating the fix referenced in https://github.com/MorphoCloud/MorphoCloudWorkflow/issues/35#issuecomment-2435769518, the popup will keep being displayed until the user either click "Yes" or the instance is shelved. So this should not be an issue.

The fix ensuring the script check-instance-shelve.sh works as been deployed to MorphoCloudInstances through https://github.com/MorphoCloud/MorphoCloudInstances/commit/445198ffe212396dd3993df2302ddb8c52828112

This seems to work well now, thank you.
Going forward, would it be possible to implement this as little widget that sits on the top menu bar like countdown, from which they can renew the session whenever they want.

If you think it is feasible (i.e., won't require extensive development time), I will open a separate issue to track.


Merge main to dev

Do we still care about the dev branch - or should we just use main from now on?

I still care about dev. It's meant for running for developers who run mantis/bora directly, and exposes different ports for debugging etc.

I still care about dev.

so do I, was just wondering why it was so out of date


Node distributor balance tracking

The title feels a bit off - "tracking" sounds a lot more passive than what this is. Maybe something like: Unbundling user funds in node distributors.


Update MD file on new branch 2017-18-09_21-11-56

:warning: Validation status: warnings

File
Status
Preview URL
Details

split/ref1.yml
:warning:Warning

Details

split/updateTestRef.md
:white_check_mark:Succeeded

split/ref1.yml

[Warning] Uid(Microsoft.SqlServer.Server) has already been defined in ref.yml.
Line 1: [Warning] Invalid file link:(~/content1.md).

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


New release? Build from source?

Current release is approaching 3rd birthday, with 30+ commits since.
Would love to take advantage of some of the new features - any timeline on pushing a new release?
Or is there some reference on how to build this from sources?

I'm also trying to get the problem fixed and merged on #96 since it is quite annoying. Maybe @jaywilliams could assist us

You may want to check this this alternative:
https://github.com/simonmeusel/MuteSpotifyAds

OMG Awesome, gonna give it a try. Thanks for sharing

Sorry guys, don't have any time to maintain Spotifree anymore. The Swift rewrite and the new features were kind of buggy so I never released them.
Let me know if the alternative is good enough to recommend instead though!


Normalize resources when checking valid roots (#163327) (#21700)

Port...
Fix MSCR 74267
Fix https://github.com/microsoft/vscode-internalbacklog/issues/3140
Remove extra indexOf check
This could cause failures for files such as img..png
Co-authored-by: Matt Bierner<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
28967

Relevant Lines:
64425

💛  - Coveralls


Capture schema validation error for easier debugging

Description of change
Capture schema validation error to help with debugging
Story Link
https://trello.com/c/FYWWuQt7/3074-investigate-production-cases-not-being-pulled-through-to-staging

How about adding a specific test for this and make the error more specific to schema version change?

How about adding a specific test for this and make the error more specific to schema version change?

Sorry just saw this comment after merging.
The error could also be unrelated to schema change so should capture all but yeh can add in the message what schema version we are trying to validate with and what schema version is being sent in the metadata.


About training on other datasets

Thanks for the great work!
I got poor performance on Semantic3D dataset with dense point clouds and RGB information.
I made the following changes, any advice is greatly appreciated!!

I changed the dimension of the input SparseTensor like this:

    pc = torch.IntTensor(1000, 4)  # (x, y, z, batch)
    feat = torch.FloatTensor(1000, 6) #(x, y, z, r, g, b)
    lidar = SparseTensor(feat, pc)

I changed the stem input dimension from 4 to 6

https://github.com/mit-han-lab/spvnas/blob/69750e900d8687ac9fcc8e042b171cd1f6beffa1/core/models/semantic_kitti/spvcnn.py#L95

I increased the number of input points and changed grid_size.
The dataset is downsampled, and a small area is taken for training each time.

I'm wondering, is SPVCNN inappropriate for this kind of dense scan point cloud, or is there something wrong with my steps?
Thanks for your guidance.

@Talnex, we haven't tried Semantic3D. It's possible that sparse convolution is not very suitable for this type of point cloud.


Latest image  for prometheus

Ask your question or provide your feedback
We are trying to replace our prometheus image using the image from MCR. The latest image on public docker repo has tag 2.53, but the image from MCR only has tag 2.37 as the latest. Could you please check why?
And also, what's the difference between marine image and public image? We tried 2.37 image from MCR and it failed to start prometheus server.
Thanks!
Screenshots

Here is the link for the image in MCR


Support custom list of txt files for the names of s3 buckets

User Behaviour and expectations
S3Khoj -l buckets.txt

Yeah I will. If you are interested to implement, I can consider to assigned with you and review the PR.

Hey, i mean I am planning to implement this one feature. But if you wanna contribute, you can also make pr for this and i will considered to review and help on it.


Updating iso_c__fortran_bmi

Update test_bmi_fortran model to be BMI complete
Additions

Removals

Changes
extern/iso_c_fortran_bmi/src/bmi.f90
extern/test_bmi_fortran/src/bmi.f90
extern/test_bmi_fortran/src/bmi_test_bmi_fortran.f90
include/realizations/catchment/Bmi_Fortran_Common.h
Testing
Unit tests
Run ngen tests
Screenshots
Notes

Todos

Checklist

[x ] PR has an informative and human-readable title
[x ] Changes are limited to a single goal (no scope creep)
[x ] Code can be automatically merged (no conflicts)
[x ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ x] Any change in functionality is tested
[ x] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[x ] Linux

The failing test should pass after merge vis-a-vis #502 --bypassing and merging.


fix(chat): not reset selection for publication when view prompt (Issue #1978)

Description:
do not reset selection for publication when view prompt
Issues:

Issue #1978

UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Bootstrap a EmbeddedChannel failed

I found EmbeddedChannel  will registered itself in its constructor at EmbeddedChannel.java#L178.
And Bootstrap connect will try register channel after create it and found it had been registered and throw exception AbstractBootstrap.java#L332.
Because it was just for some test purpose, so it's not a big deal.
But it would be better if we can bootstrap a EmbeddedChannel!
Some of my idea: maybe we can ignore register if registered at EmbeddedEventLoop.java#L130, because EmbeddedChannel never blocked.
Expected behavior
Following code should pass.
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.embedded.EmbeddedChannel;
import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class BootstrapEmbeddedChannel {
    @Test
    public void shouldGetEmbeddedChanenl() {
        EmbeddedChannel firstCh = new EmbeddedChannel();

        ChannelFuture secondChFuture = new Bootstrap()
                .group(firstCh.eventLoop())
                .channel(firstCh.getClass())
                .handler(new ChannelInitializer<Channel>() {
                    @Override
                    protected void initChannel(Channel ch) throws Exception {

                    }
                }).connect("localhost", 9999);

        assertTrue(secondChFuture.isSuccess());
    }
}

Actual behavior
java.lang.IllegalStateException: registered to an event loop already
	at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:460)
	at io.netty.channel.embedded.EmbeddedEventLoop.register(EmbeddedEventLoop.java:130)
	at io.netty.channel.embedded.EmbeddedEventLoop.register(EmbeddedEventLoop.java:124)
	at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:332)
	at io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:163)
	at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:145)
	at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:126)

Steps to reproduce
Minimal yet complete reproducer code (or URL to code)
Same above.
Netty version
4.1.9.Final
JVM version (e.g. java -version)
1.8.0_65
OS version (e.g. uname -a)
Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

That is because Embedded Channels initialize a internal EventLoopGroup.
Here is the source code for embedded channel.
EmbededChannel.java

So have you resolved this because this isn't a issue. If so please close.

@Underbalanced - Thanks for the comment and sorry for the lately reply.
I think I had no big problem about this, there is many ways to bypass it when writing unit test.
Just have this issue for some discussion.
I know that EmbeddedChannel would create a EmbeddedEventLoop, and register itself into that loop that I had point out at my first comment.
Just curious that if we can bootstrap an EmbeddedChannel that will be great.
For example, at one of example in netty HexDumpProxyFrontendHandler.java#L46-L48
I will think about if we want to write an unit test for it, the easiest way to test it is to create an EmbeddedChannel and verify these channels' inbounds and outbounds.
Or maybe the ability to bootstrap an EmbeddedChannel is not a good idea.
I will close the issue after a while.
And thanks for the comments!


[BUG] Integration test failures against 2.11

What is the bug?
FAILED test_opensearchpy/test_server/test_rest_api_spec.py::test_rest_api_spec[OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/search/260_sort_mixed[2]]
FAILED test_opensearchpy/test_server/test_rest_api_spec.py::test_rest_api_spec[OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after[4]]

E       opensearchpy.exceptions.RequestError: RequestError(400, 'search_phase_execution_exception', 'Field population is indexed with 2 bytes per dimension, but org.opensearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource$1@2570133f expected 4')

DEBUG    opensearch:base.py:200 < {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Field population is indexed with 2 bytes per dimension, but org.opensearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource$1@2570133f expected 4"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"test","node":"EMIK3CDxT5qq2xP112An6A","reason":{"type":"illegal_argument_exception","reason":"Field population is indexed with 2 bytes per dimension, but org.opensearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource$1@2570133f expected 4"}}],"caused_by":{"type":"illegal_argument_exception","reason":"Field population is indexed with 2 bytes per dimension, but org.opensearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource$1@2570133f expected 4","caused_by":{"type":"illegal_argument_exception","reason":"Field population is indexed with 2 bytes per dimension, but org.opensearch.index.fielddata.fieldcomparator.FloatValuesComparatorSource$1@2570133f expected 4"}}},"status":400}

https://github.com/opensearch-project/opensearch-py/actions/runs/6868286935/job/18678495702
How can one reproduce the bug?
./.ci/run-tests false 2.11.0 test_rest_api_spec

What is the expected behavior?
Tests to pass.
What is your host/environment?
CI/CD 2.11.
Do you have any additional context?
Seems like those were added in https://github.com/opensearch-project/OpenSearch/pull/11024

@dblock Why we still run test for 2.11.0 ? We should be running 2.11.1 now right ?

Are these tests supposed to fail against 2.11.0 and will pass on 2.11.1? 2.11.1 has not been released yet. I PRed https://github.com/opensearch-project/opensearch-py/pull/584 for 2.11.1 when that's available.
I think the YAML rest test specs should skip the tests when run against 2.11.0 if that's known to be broken, no?

Are these tests supposed to fail against 2.11.0 and will pass on 2.11.1? 2.11.1 has not been released yet. I PRed #584 for 2.11.1 when that's available.
I think the YAML rest test specs should skip the tests when run against 2.11.0 if that's known to be broken, no?

Makes sense, I didnt know we will be running 2.11.0 once 2.11.1 branch is cut, That is the reason it is passing in. OpenSearch Repo.
Nevermind, raised the PR https://github.com/opensearch-project/OpenSearch/pull/11214


.git folder is visible in file panel

As of the latest update, the ".git" folder is shown in the file panel.
Brackets 1.1.0-15558 (mac), Git 1.9.3 (Apple Git-50) & Brackets-Git 0.14.9

Also, contents of the Git folder are included in project searches, etc. Attempting to remove the Git folder with the Exclude Folders plugin has no effect.

This is being resolved here https://github.com/adobe/brackets/issues/10183


⚠ ClamAV has degraded performance

In 597d321, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 255 ms

Resolved: ClamAV performance has improved in 4d70b03 after 19 minutes.


Fix completions when the ts installation and project are on two different windows drive

Fixes #35512

@typescript-bot please cherry-pick this to typescript-3.7

@typescript-bot cherry-pick this to release-3.7


python310Packages.pytest-instafail: 0.4.2 -> 0.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pytest-instafail is: pytest plugin that shows failures and errors instantly instead of waiting until the end of test session
meta.homepage for python310Packages.pytest-instafail is: https://github.com/pytest-dev/pytest-instafail
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.0 with grep in /nix/store/bf67hxg9gbkc71hbzqx7l741hmq7vrik-python3.10-pytest-instafail-0.5.0
found 0.5.0 in filename of file in /nix/store/bf67hxg9gbkc71hbzqx7l741hmq7vrik-python3.10-pytest-instafail-0.5.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pytest-instafail
python311Packages.pytest-instafail

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bf67hxg9gbkc71hbzqx7l741hmq7vrik-python3.10-pytest-instafail-0.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pytest-instafail https://github.com/r-ryantm/nixpkgs/archive/6e35ea3298acc3ff475a937dfed5869c67e4e135.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bf67hxg9gbkc71hbzqx7l741hmq7vrik-python3.10-pytest-instafail-0.5.0
ls -la /nix/store/bf67hxg9gbkc71hbzqx7l741hmq7vrik-python3.10-pytest-instafail-0.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.pytest-instafail
python311Packages.pytest-instafail

Maintainer pings
cc @jacg for testing.

Result of nixpkgs-review pr 224347 run on x86_64-linux 1

2 packages built:

python310Packages.pytest-instafail
python311Packages.pytest-instafail


[New game]: Brick n Ball

🎮 Game Request
It is the classic game in which a ball destroys the bricks displayed in the game. And we have to save the ball when it comes down on the floor by moving the slider.
Point down the features
-> It will record the game points according to bricks destroyed.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Yuvraj960 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

i wouls like to amke this game please assign mt this game
/assign

/assign

Hey @Yuvraj960 ! , This issue is already assigned to @Yashgabani845. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹👀

@kunjgit I have raised this issue so technically it should be assigned to me

@Yashgabani845 Hey bro please leave this issue. You can create your own issues. Don't self assign and claim on other's ideas or issues.

 Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


feat(ios): add WebviewExtIOS

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Checklist

[ ] This PR will resolve #___
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary
[ ] It can be built on all targets and pass CI/CD.

Other information

An alternative would be renaming WebviewExtMacOS to WebviewExtApple, making it available to both macOS and iOS, and add the #[cfg(target_os = "macos")] guard on the ns_window function.


[Logging] Implement coherent consistent logger

This logging epic has issues based on the solution outlines of the RFC https://github.com/silasdavis/rfcs/blob/logging/text/0003-logging.md as well as some issues pre-dating the RFC:

Problem number
Name
Solution outline

1
Log format
All logging from eris-db should pass through the same (outer) logging library and code path, including logs from dependencies/components. Component logs will be subject to some mapping or embedding within our format. All logging should use a consistent structured format which will be based on something like the Graylog Extensible Log Format (GELF) allowing it to be shipped.

2
Log structure
Structure logs with consistent metadata including parent context for logs from eris-db components (for example, [module: rpc/v0, method: broadcast_tx, chain_state: fast_syncing] invalid HEX encoding, rather than invalid HEX encoding).

3
Log capture
For each dependency we need to centralise the log level, and ideally configure an output adapter that routes through our logging library. This may need a custom component for each different logging library. In the case of dependencies that use a single globabl instance of the go Logger we should use SetOutput to capture the output to an io.Writer.

4
Log output
We should support the at least following logging sinks: stdout, named pipe, files, syslog, and graylog. With a plugin architecture for different sinks (and we will consider fluentd). Each enabled sink will support independent log levels, and where applicable (e.g. for graylog, but not stdout) multiple instances of a logging sink may be configured.

5
Log volume
We should agree on a standard set and intepretation of log levels and apply this standard to code that we own. For third-party code we should map between a log level set globally and set that level for dependencies. It may make sense to allow the setting of log level per module or hierarchical identifier (see Log correlation identifiers), third party libraries could have all of their logging segregated by such a top-level identifier. We should also allow for the customisation of automatically appended metadata such as datetime format, hostname, log line origin (in source) and verbosity presets can be established for these.

Tasks from problems 1 - 5 are prefixed with the problem name.

we can build on the "hack" of #349 to pipe components log into a unified logger

We currently use a tendermint fork of log15 in some places and our own hard fork of logrus. Let's choose one (or something else), and depend on the upstream source rather than fork where possible. If we want to have some formatting or other consistency then I'd much prefer to factor that into some kind of composable unit.

done. specific logging issues are plentiful and well-documented


Feature/122 Clear Django STATICFILES_DIRS list

Resolves #122

Clear Django STATICFILES_DIRS list #122

Did we tried it? If we tried it and everything works well then please inform me about it @sadikkuzu

Yes yes, it works. But you might test on your local machine as well. @ckertam


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


Tag emulation support

Can you add high-level API for TgInitAsTarget and other emulation commands?

I'm looking into it in #9

Sorry, unfortunately I won't be continuing work on this.
If anyone's interested they can continue with #9


Directory backend

I've started implementing the back end for the directory page. I think I may want to work on fetching the events before merging but wanted these changes to be visible.

Great job @danigallegdup and @katherine-yu ! Once comment regarding displayEvents function is addressed, I think this is good to go!

Screenshots

<img width="497" alt="Screen Shot 2022-07-10 at 4 19 42 PM" src="https://user-images.githubusercontent.com/66932047/178166074-efff3699-ccb3-462

4-95a5-8d1a9cf24963.png">

It looks awesome!
I fetched the latest commit and executed it but the index page does not work.
[Error message]
java.lang.NumberFormatException: null
at java.base/java.lang.Long.parseLong(Long.java:655)
at java.base/java.lang.Long.parseLong(Long.java:817)
at com.google.sps.servlets.EventServlet.doGet(EventServlet.java:39)
It means
Long school_id = Long.parseLong(request.getParameter("school_id"));(EventServlet.java in line 39)
is null.
Do you happen to know what would be problem?

@seokhakang9 By index page do you mean the html page for the directory or the home page? If it's the directory page, that's because you must go to it with a school_id URL parameter. The easiest way would be to start from the home page and pick one of the schools from the dropdown.

Sorry your approval keeps getting dismissed @marcusblake, it keeps happening when I push new changes.

@katherine-yu lol no worries, i purposefully made it that way :)

@katherine-yu
Sorry for being vague. I meant html page for index page. When I hover or click
"Find your University", no university shows. Schools are not loaded when it was run on my side. I checked doGet function in SchoolServlet was called but I couldn't figure out any more. My configuration might be a problem.

@seokhakang9 I see. Just checking, but it doesn't show up after waiting a second once the page has loaded? There's a little bit of delay because the schools need to be fetched from the datastore. If you see any error messages let me know.

"gcloud config set project summer22-sps-9" solves all the issues. Really appreciate your help and sorry for bothering you.😂


Different behavior in classification of dark frames in add.py/compare.py vs test.py

When adjusting the dark_threshold parameter then verification with test.py leads to different results than add.py or compare.py. For instance, frames that are valid in test.py might be considered too dark in add.py/compare.py

I've searched for similar issues already, and my issue has not been reported yet.
Howdy version: Commit b49bde1

Fixed in your PR, thanks for your contributions!


NumericUpDown for values less than 1

Describe the bug
I noticed that entering values less than 1 behaves unexpectedly. If I enter 0.4 it works fine but If I tried .4 (without leading zero), the value changed to 4 (decimal point removed) even if numeric input mode set to All.
To Reproduce
Steps to reproduce the behavior:

a numericupdown that binds to double property
Try to enter value less than 1 without leading zero (e.g. .4 or .3)
Leave the textbox.

Expected behavior
If I enter .4, I expected to be converted to 0.4
Environment(please complete the following information):

MahApps.Metro version 1.6.5
OS: Win10 1803
Visual Studio 2017 15.8.5
.NET Framework 4.6.1

@EMostafaAli This is fixed in the latest dev source and will be published with v2.0


Data Sources

Please leave any data sources we might use down below. Right now we have:
https://www.google.com/maps/d/u/0/viewer?mid=1bKm78yhnQE28_QKbI10Z5j0qtM8
http://dmwilson.info/Home/Search - Need to find a way to export from that site

I've seen "High Water" reported in these (undocumented but public) feeds from TranStar (TxDOT):
http://traffic.houstontranstar.org/data/layers/incidents_json.js
http://traffic.houstontranstar.org/data/layers/roadclosures_json.js

Was able to scrape current bayou water levels, made it available via API here:
http://test.castaby.com:8080/htxHackers
Source: Harris County Flood Warning System

Good job everyone! I think we will be able to parse new flooding incidents from this site here: http://houstontx.gov/heatmaps/datafiles/floodingheatmap24all.txt

https://gist.github.com/patrickedelen/bff09176c1b51e5acc0ad7c597f98c12
check the gist


[HUDI-4227] Strip extra spaces when creating new configuration

What is the purpose of the pull request
This pull request strip extra spaces when creating new configuration.
When using flink-sql to create a table, if the key of an option contains spaces, the option will be invalid.
Example：
If option ‘hive_sync.mode’ has more spaces, the table will not be sync with hms.

Brief change log

Modify fromMap function in FlinkOptions class.

Verify this pull request
This pull request is a trivial rework without any test coverage.
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Add description：
When using flink-sql to create a table, if the key of an option contains spaces, the option will be invalid.
Example：
If option ‘hive_sync.mode’ has more spaces, the table will not be sync with hms.

hi @hechao-ustc Thanks for your contribution.


Update patricio-cofre.yml

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: pcofre sign nowYou have signed the CLA already but the status is still pending?  Expected String but got Null. Path 'facebook'.
Invalid type. Expected String but got Null. Path 'twitter'.
Invalid type. Expected String but got Null.

[Error] sebastian-fyda.yml is not in supported format: (Line: 18, Col: 18, Idx: 592) - (Line: 18, Col: 19, Idx: 593): While parsing a block mapping, did not find expected key.

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


Change documentation to recommend a different XML parser

Is your feature request related to a problem? Please describe.
The migration guide and README implicitly recommend using xml2js to parse XML output from itoolkit. xml2js doesn't appear to be actively maintained and has issues with parsing blank values from non-named keys which we have found to be an issue when getting returned values out of an RPG DS.
Describe the solution you'd like
I'd like to open a PR to change the docs to recommend a different XML parser. We have found fast-xml-parser to work quite well in lieu of xml2js and, in my opinion, the output JSON object is much cleaner (see below for screenshots).
Additional context
From xml2js, example output from an RPG DS with a 7s0 type with a 0 value. Note charkey _ exists in this object:

Also from xml2js, example output from an RPG DS with a 15a type and a "" value. Note charkey _ does not exist. This is inconsistent behavior:

From fast-xml-parser, the same 15a returns a blank value - this is what I expect:

Sounds good to me.

I agree since its not really being maintained we should probably recommend a different parser.
Making a note here that we use xml2js in:

tests
internal calls in Deprecated.js
docs

Should we begin by making pull requests to update the code examples (e.g. pages like this one: https://nodejs-itoolkit.readthedocs.io/en/latest/ProgramCall.html#examples), replacing xml2js with the equivalent usage of fast-xml-parser?

The iToolkit package.json file includes xml2js as a dependency: https://github.com/IBM/nodejs-itoolkit/blob/c4f5e2952cd4eced07f940e704e609008eed15a7/package.json#L44
I suppose we'd have to make a PR to update that to fast-xml-parser as well.

xml2js is still used in internal calls in Deprecated.js.
We cannot remove xml2js as a dependency until its replaced in all the internal calls.
We also use xml2js in tests.
@ThePrez @kadler Thoughts on gutting xml2js everywhere?

Should we begin by making pull requests to update the code examples (e.g. pages like this one: https://nodejs-itoolkit.readthedocs.io/en/latest/ProgramCall.html#examples), replacing xml2js with the equivalent usage of fast-xml-parser?

I believe @xWyatt Updated the code examples in this PR

xml2js is still used in internal calls in Deprecated.js. We cannot remove xml2js as a dependency until its replaced in all the internal calls. We also use xml2js in tests.
@ThePrez @kadler Thoughts on gutting xml2js everywhere?

I was thinking to keep xml2js as a dependency while it's needed internally, but add fast-xml-parser to permit upgrading to the new component where needed.

xml2js is still used in internal calls in Deprecated.js. We cannot remove xml2js as a dependency until its replaced in all the internal calls. We also use xml2js in tests.
@ThePrez @kadler Thoughts on gutting xml2js everywhere?

I was thinking to keep xml2js as a dependency while it's needed internally, but add fast-xml-parser to permit upgrading to the new component where needed.

Yes adding fast-xml-parser as a dependency would be good.

@ThePrez @kadler Thoughts on gutting xml2js everywhere?

Sounds great to me. I think we wanted to do that initially but due to lack of time, we left it for the internal stuff.

internal

OK I will make an issue for this and tackle it in a follow-up PR


SourceController crash loop on upgrade from 1.2.5 to 1.3.0

I've upgraded from v1.2.5 to v1.3.0 by updating the file in clusters/<cluster>/flux-system/gotk-components.yaml.
Flux attempted to reconcile, but now is stuck at that commit of my branch (and further commit with a revert isn't being picked up).
The Source Controller pod ends up in a crash loop with the following being the output:
{"level":"info","ts":"2024-05-11T08:45:07.427Z","logger":"setup","msg":"caching of Helm index files is disabled"}
{"level":"error","ts":"2024-05-11T08:42:16.462Z","logger":"setup","msg":"unable to create controller","controller":"HelmChart","error":"failed setting index fields: no matches for kind \"HelmRepository\" in version \"source.toolkit.fluxcd.io/v1\""}

Not sure what I'm missing(?), as all my HelmRepositories are in the source.toolkit.fluxcd.io/v1beta2 apiVersion namespace.

You can't upgrade by just bumping the container tag. You need all the CRDs, deployment, RBAC, etc which are part of Flux distribution.

If you want to test the new version on your cluster, you need to clone the flux2 and run the following:
make build-dev
./bin/flux bootstrap ....


Fix TabBar Indicator doesn't show image

Fix: The picture is set in the indicator of TabBar, and the picture is not rendered in the first frame.

@GaozyDev Will you be able to continue working on this? It's totally fine if not; we can take it over (though it might take longer). I'm just asking because I'm trying to clean out our review queue.
In case you don't have the time to get back to it, would you mind letting us know which issue # this is fixing? Thanks!

We're going to close this PR since it has outstanding comments. Thanks for your contribution; if you would like to follow up please don't hesitate to try sending a new PR, or reach out on our Discord for help (link in the contributing guide).


Update testing results blog article URL

Updated the testing results blog article URL.

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

@robinharwood, @Xelu86
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks for the update @tksh164, I'll merge this in just a moment.