[Feedback] Refresh result when changing filter

For instance, if I navigate to page 4 ( 201~250 ) and then toggle a new filter, resulting in less than 200 items (only 39),  there will be no content displayed.
Initially, I assumed the feature was malfunctioning, but later realized that I needed to click on the "First page" button to return to the initial page.
Perhaps consider implementing a feature that automatically redirects to the first page if the new filter results in fewer items than the current page displays?

Additionally, could you please ensure the placement of the pagination buttons remains consistent?

This way, users can easily click on the buttons without having to readjust the mouse position.
Because for now the position would change with the page number:

Thanks for catching this

Fixed both issues in 1.18.2

So many updates, what a pleasan surprise!
Thanks for your hard work on the development!! <3


Add status_path label to connected_clients server metric.

This fixes an issue where the exporter would fail to work if a user
attempted to monitor multiple OpenVPN processes in server mode as the
metrics would clash without the status_path label.
This resulted in the exporter failing and returning a HTTP 500.
Before the fix:
# curl -I localhost:9176/metrics
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Tue, 01 May 2018 11:06:28 GMT
Content-Length: 182

# curl localhost:9176/metrics
An error has occurred during metrics gathering:

collected metric openvpn_openvpn_server_connected_clients gauge:<value:2 >  was collected before with the same name and label values

After fix:
# curl localhost:9176/metrics 2>/dev/null | grep connected_clients
# HELP openvpn_openvpn_server_connected_clients Number Of Connected Clients
# TYPE openvpn_openvpn_server_connected_clients gauge
openvpn_openvpn_server_connected_clients{status_path="/var/log/openvpn-status-server.log"} 1
openvpn_openvpn_server_connected_clients{status_path="/var/log/openvpn-status-server2.log"} 1

Thanks for the PR!
Confirmed the bug.
Tested and merged.


DateTimePicker generates HTML but doesn't display calendar

I have a page where I tried the simplest of examples. I have all dependencies (CSS, JS, etc.). The control does generate HTML on the page for the calendar, but doesn't just render it. I compared the two examples (one of this web site and one on mine), and the only difference is on mine, the HTML is tagged with "blur" event when seen via Firefox "Inspect Element"

I have the latest angular, datetime picker, bootstrap, etc.

I have tried this multiple times, but I am afraid I am missing a setting somewhere. I have attached pictures to show the "blur" event on the datetime picker element, as well as the HTML that's generated.
Thank you for any help!

Please create a fiddle or plunker that shows the defect.

Created one, but it works fine in the Plunkr. I might be doing something in my scripts that cause the calendar to be suppressed:
http://plnkr.co/edit/Ui6k08gVPJHo8DCLikJG?p=preview

It's likely an issue with CSS - make sure the CSS from this project is included and your projects CSS is not hiding the control.
Closing because this is not a problem with this projects code.

Found the issue - the moment.js was included after angular.js file. While this shouldn't have been an issue, apparently it was :)
Thank you for the help!

Hello, I have similar problem with jQuery.
I am loading scripts in this order:

    <link href="/glDHLutilities/ui-strap/dist/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="/glDHLutilities/ui-strap/tables/media/css/dataTables.bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="/glDHLutilities/ui-strap/default.css" type="text/css" rel="stylesheet">

    <link href="/glDHLutilities/ui-strap/themes/material-dashboard/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="/glDHLutilities/ui-strap/themes/material-dashboard/css/material-dashboard.css" type="text/css" rel="stylesheet">

	<link href="../ui-strap/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet">

My field code is:

                From date
                <INPUT class="form-control" aria-describedby="date_from" id="FROM_DATE" name="FROM_DATE" value="%value FROM_DATE%" placeholder="yyyy/mm/mm hh24:mi"/>

                Ensure that time is in UTC. Format is yyyy/mm/dd hh24:mi.

When click to the field it adds following code into source,

but the DIV remain hidden.

I have tried to update css by
.bootstrap-datetimepicker-widget.dropdown-menu.top:before{z-index: 9999 !important; border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.dropdown-menu.top:after{z-index: 9999 !important; border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid white;bottom:-6px;left:7px}
but didn't help and the z-index attribute is not shown neither in the highlighted code.
I tried to comment out the Material Dashboard part and it started work. But I need to have it active,
Any idea how to over-fight the Material Dashboard with the datetime picker?
I supposed that when the datetime pricker is loaded after MD that it has higher priority.
Thanks in advance
Regards, Reddy


tauri-cli installation blocked by McAfee Web Gateway

Describe the bug
Running  cargo install tauri-cli fails for me as soon as it tries to download https://crates.io/api/v1/crates/tauri-cli/1.5.6/download. The reqest is blocked by McAfee Web Gateway, because it is labelled as an executable file:
Webseite: https://static.crates.io/crates/tauri-cli/tauri-cli-1.5.6.crate
Kategorie:  Business
Reputation: Minimal Risk
Medientyp: application/executable
Full File Name: tauri-cli-1.5.6.crate|tauri-cli-1.5.6.crate|tauri-cli-1.5.6/scripts/vswhere.exe

I'm not sure why vswhere.exe shows up here, but maybe that's what's triggering the false positive.
Does anyone have a workaround for this?
Reproduction
No response
Expected behavior
No response
Platform and versions
Windows 10

Stack trace
No response
Additional context
No response

Looks like multiple other crates are blocked as well, so this isn't only an issue with the included vswhere.exe.
I'm closing this issue.


Update User Claim

How to update the user claims from Admin API?
I see that there are the UpdateUserAsync and UpdateRoleAsync interface methods in the Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Dtos.Identity assembly, but there is no UpdateClaimAsync method. Sometimes, user just want to update a specified claim value rather than to create a new claim. It will be useful to add the UpdateClaimAsync method to Admin API.
Thanks
Jack

Good idea, can you add it this method and send a PR?
Thanks

In my project, I installed the IdentityServer4.Admin following your instruction given in the READ.me file.  Thus, implementing the UpdateClaimAsync method will involve changes in the binary assemblies. Here I simply use a temporary solution by first calling DELETE /api/Users/{id}/Claims to remove old claims and then calling POST /api/Users/Claims to add new claims to database.

Merged in master, thanks 👍🏼


test: reduce test log level

To speed up CI builds

:white_check_mark: Build TheIdServer 1.0.0-user-ole0026 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/f604e0e7f3 by @aguacongas)


extract scripts from unityweb

i have tried to extract monoscripts from webgl.data.unityweb, i can get the mesh ect... but not the scripts ??
any idea to help me ?

web build doesn't use mono. editor generate js for web builds


[C++][Integration] Refactor json_internal.cc to use fewer DCHECKs

json_internal.cc uses DCHECKs to check many conditions even in scopes where a status could be returned instead. These should be replaced with error statuses, which will help pinpoint invalid JSON more explicitly

No, I would say part of this PR would be refactoring UnboxValue to return a failing Result if the value were not the expected JSON type.

No, I would say part of this PR would be refactoring UnboxValue to return a failing Result if the value were not the expected JSON type.

Isn't that going to add considerable overhead? The point of these DCHECKs is documenting the pre-conditions of these functions. In release builds we should test the type only on the caller, not on caller and on the ARROW_CHECK.
Perhaps we should document them and their callers with proper /// \pre ... Doxygen pre-conditions and fix any code violating the pre-conditions.

I would guess that the overhead of parsing JSON would greatly outweigh the overhead of performing these checks. Also I believe this code isn't performance critical; these are only used during integration testing where datasets tend to be quite small.

I would guess that the overhead of parsing JSON would greatly outweigh the overhead of performing these checks. Also I believe this code isn't performance critical; these are only used during integration testing where datasets tend to be quite small.

If it's just for tests, it's fair.
For production code, it's part of the contract of JSON parsing libraries that (since there's no schema) you only unbox when you already know the type.

Right, which is why the JSON dataset reader skips RapidJSON's document/Object/Value API altogether.


how to set custom drawable icon instade of + sign

i want change com.getbase.floatingactionbutton.FloatingActionsMenu default plus(+) image ...i want put setting icon ...how can i change it ??

have a look in the xml, it must have an attribute app:menu_icon or something similar.
If the isn't let me know and I'll suggest alternatives

menu_icon for fanMenu not available

Did anyone get its solution? Is there a way to use the library as a module and do the changes?

look in pull requests

the pull request is still open and not merged .


Emphasizing the location of the certificate

@jaxidian : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

@jaxidian I like it. Thank you for the change. #sign-off


Numpy take operator implementation & bug fix in ndarray.take

Description
Implementation of numpy take operator in mxnet.
Fix a bug that backward computation of ndarray.take does not check argument mode.
The version that cherry-pick on new numpy branch, old pr -> #15699.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

add op take
bug fix of nd.take
auto remove some whitespaces

Comments
Welcome @reminisce, @haojin2  and others for reviewing.

Please rebase and resolve conflicts. Seems @haojin2 has fixed the C++ implementation in  https://github.com/apache/incubator-mxnet/pull/15887, so you just need to keep the Python APIs and unit test in this PR.


Move repository to https://github.com/apache/incubator-zipkin

As part of the move to the Apache Software Foundation this repository will transfer ownership to apache and name to incubator-zipkin.
See https://issues.apache.org/jira/browse/INFRA-16989

a relic of past times, closing this one.


CVE-2022-23648 CVE-2022-31030 github.com/containerd/containerd package

Bug Report

What did you do?
I have executed a vulnerability scan on the latest available image:

quay.io/operator-framework/helm-operator:latest

What did you expect to see?
A vulnerability free image

What did you see instead? Under which circumstances?
Two vulnerabilities on the github.com/containerd/containerd package:

CVE-2022-23648
CVE-2022-31030

Environment
Operator type: Helm Operator

Kubernetes cluster type: Not applicable

$ operator-sdk version

Not applicable

$ go version (if language is Go)

$ kubectl version

Not applicable

Possible Solution

Upgrade the following package to the latest available version:

github.com/containerd/containerd

Additional context

This should be resolved now as newer releases have been created that have updated the latest tag for the helm-operator image.
We can see a clean vulnerability scan on quay for one of the manifests for this image here: https://quay.io/repository/operator-framework/helm-operator/manifest/sha256:7d6d774e88c3fb220e4c97e415b2461e108ccc491f1016e225cbf96bbdc0823c?tab=vulnerabilities
Due to this I will be closing this issue, but please feel free to reopen if you are still encountering the issue.

Hi @everettraven,
First of all, thank you for your response!
As you can see, trivy scan found the following CVE:

I think Quay.io scan found only OS vulnerabilities and not the library ones which are equally important.
Let me know what you think.

@FedericoYST i agree that the libraries are important as well, however I think most of them are pulled in via the ubi(-minimal) 8.7 image that are images use as a base.
I will reopen this issue and bring it up in the community meeting on Monday November 28th.
This raises a question in my mind of whether or not we truly need to be inheriting packages from the base image we use to build and ship our images or if we could slim them down even further.

/unassign jmrodri

/unassign


caches: include clang-scan-deps, clang-deps-launcher

Add a couple of additional tools to the toolchain distribution.

@swift-ci please test

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/273
@swift-ci please build toolchain Windows platform

@swift-ci please test macOS platform

@swift-ci please test macOS platform


[nuspell] Update port to v5.1.2

Describe the pull request

What does your PR fix?
Updates port to latest version

Does your PR follow the maintainer guide?

Yes

All features have been tested succesfully on x86-windows and x64-windows-static.


feat: add react-native-payments

Description
This provides the new react-native-payments package.
add react-native-payments package
add CreditCard WebView logic and test
add README.md
Dependencies
None.
Checklist

[x] The commit message follows our guidelines
[x] Tests for the respective changes have been added
[x] The code is commented, particularly in hard-to-understand areas
[x] The labels and/or milestones were added

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

After checking with @rc23 this PR can be closed. thanks


Manage downloading of wrappers

Download ruby.7z or gosu.app wrappers with another task. If it fails to find the files you specify in the config, then tell user to download them: "It looks like you forgot to get the wrappers, please run 'rake gimme' or download them manually".
Suggested by shawn42
What it shouldn't do is auto-download or download inside the gem or to a random location.

yay.


Kangaroo add v1.99.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@msftbot have been fixed.

Close with reason: PR merged;


[Feature] Provide a recommendation for fine grain, minimum required permissions to use dbt-bigquery

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature
The current docs suggest applying the built-in roles of BigQuery User and BigQuery Data Editor to the account running dbt-bigquery. However, these roles include a lot of permissions that are not required. It's ideal to provide minimum access to service accounts, but I don't know what that should be. I understand this also could change over time as features are added. Given that some of these features are optional, it would also be nice to know what permissions I need to use a feature, or more in line with this request, what permissions are not needed if I'm not using a particular feature.
Describe alternatives you've considered
I could figure this out myself by incrementally adding permissions until runs pass, but this is time consuming and only solves the problem for me. Also, this could change over time as dbt-bigquery gains new features.
Who will this benefit?
This will benefit security-minded users and organizations who want to minimize the access of their service accounts.
Anything else?
It looks like this permission set may work:

bigquery.datasets.create
bigquery.jobs.create
bigquery.tables.create
bigquery.tables.get
bigquery.tables.getData
bigquery.tables.list
bigquery.tables.update
bigquery.tables.updateData

It may be worth specified required permissions for SQL models only, and then additional permissions to run python models. The above looks like it may be just the former.

In dbt Cloud, there is a function that creates a dataset like dbt_cloud_pr_<job_id>_<pr_id> for pull requests, and deletes this dataset when the pull request is merged or closed. Considering this, I thought that it would be good to mention

bigquery.datasets.delete
bigquery.tables.delete

for the smallest set of permissions.


Fix handling of saving documents after modifications, add tests

Codecov Report

Merging #147 into master will increase coverage by 0.65%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
+ Coverage   71.93%   72.59%   +0.65%
==========================================
  Files          12       12
  Lines        2580     2627      +47
==========================================
+ Hits         1856     1907      +51
+ Misses        724      720       -4

Impacted Files
Coverage Δ

pyArango/tests/tests.py
97.84% <100%> (+0.05%)
:arrow_up:

pyArango/document.py
75.81% <62.5%> (+3.73%)
:arrow_up:

Continue to review full report at Codecov.

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

Could you please resend this to the dev branch?

Thank you @dothebart could you please send this to the dev branch?


Add more JavaScript-like languages

This adds JSON and TypeScript to this list of languages.
JSON

TypeScript

Super cool. @andrewda lets maybe open an issue for languages to remove? Just so the list doesn't grow to unwieldy lengths (: Thanks for this one though, definitely needed!

@mfix22 One way to go about that problem is adding a text box to the top of the language list and being able to search for a specific language. That way we can include as many languages as possible without having to search through a long list.

@andrewda sounds like https://github.com/paypal/downshift could be a perfect solution. There are tons of examples that have match-sorting for drop downs.
@jakedex what do you think about this, design wise


Can not run locally

Hello,
This seems a very curious and valuable example. Wanted to look closer, tried to run it locally with:
docker compose up

Unfortunately getting different errors like:
container for service "cinema" is unhealthy

or
container for service "payment" is unhealthy

Eventually was able to run by increasing all health-check timeouts in docker compose file.

run.sh a few times and everything will start)))

./run.sh
[+] Running 15/0
✔ Container spiral-php-ticket-booking-collector-1       Running                                                        0.0s
✔ Container spiral-php-ticket-booking-redis-1           Running                                                        0.0s
✔ Container spiral-php-ticket-booking-zipkin-1          Running                                                        0.0s
✔ Container db                                          Running                                                        0.0s
✔ Container spiral-php-ticket-booking-prometheus-1      Running                                                        0.0s
✔ Container temporal-postgresql                         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-birddog-1         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-buggregator-1     Running                                                        0.0s
✔ Container spiral-php-ticket-booking-centrifugo-rpc-1  Runn...                                                        0.0s
✔ Container spiral-php-ticket-booking-grafana-1         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-cinema-1          Running                                                        0.0s
✔ Container temporal-ui                                 Running                                                        0.0s
✔ Container spiral-php-ticket-booking-payment-1         Running                                                        0.0s
✔ Container centrifugo                                  Running                                                        0.0s
✔ Container spiral-php-ticket-booking-users-1           Running                                                        0.0s
Attaching to centrifugo, db, birddog-1, buggregator-1, centrifugo-rpc-1, cinema-1, collector-1, frontend-1, grafana-1, payment-1, prometheus-1, redis-1, users-1, web-1, zipkin-1, temporal, temporal-postgresql, temporal-ui
Error response from daemon: configured logging driver does not support reading

docker compose up -d
[+] Running 16/16
✔ Container spiral-php-ticket-booking-birddog-1         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-zipkin-1          Running                                                        0.0s
✔ Container db                                          Running                                                        0.0s
✔ Container spiral-php-ticket-booking-prometheus-1      Running                                                        0.0s
✔ Container temporal-postgresql                         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-buggregator-1     Running                                                        0.0s
✔ Container spiral-php-ticket-booking-redis-1           Healthy                                                        0.0s
✔ Container spiral-php-ticket-booking-collector-1       Running                                                        0.0s
✔ Container spiral-php-ticket-booking-grafana-1         Running                                                        0.0s
✔ Container spiral-php-ticket-booking-centrifugo-rpc-1  Heal...                                                        0.0s
✔ Container spiral-php-ticket-booking-users-1           Running                                                        0.0s
✘ Container spiral-php-ticket-booking-payment-1         Error                                                          0.0s
✔ Container temporal-ui                                 Running                                                        0.0s
✘ Container spiral-php-ticket-booking-cinema-1          Error                                                          0.0s
✔ Container centrifugo                                  Running                                                        0.0s
✔ Container temporal                                    Started                                                        0.0s
dependency failed to start: container spiral-php-ticket-booking-payment-1 is unhealthy

cinema-1             | [Cycle\Database\Exception\StatementException\ConnectionException]
cinema-1             | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
cinema-1             | [PDOException]
cinema-1             | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Driver.php:641

buggregator-1        | 2024-10-29T16:44:19+0000 ERROR   app             Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:10000: connect: connection refused"' on tcp://<IP_ADDRESS>:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
buggregator-1        |
buggregator-1        | 2024-10-29T16:44:19+0000 ERROR   app             Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:10000: connect: connection refused"' on tcp://<IP_ADDRESS>:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []

users-1              | [Cycle\Database\Exception\StatementException\ConnectionException]
users-1              | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
users-1              | [PDOException]
users-1              | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Driver.php:641

payment-1            | [Cycle\Database\Exception\StatementException\ConnectionException]
payment-1            | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Postgres/PostgresDriver.php:244
payment-1            | [PDOException]
payment-1            | SQLSTATE[08006] [7] connection to server at "db" (<IP_ADDRESS>), port 5432 failed: FATAL:  the database system is starting up in vendor/cycle/database/src/Driver/Driver.php:641

buggregator-1        | 2024-10-29T16:44:21+0000 ERROR   app             Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:10000: connect: connection refused"' on tcp://<IP_ADDRESS>:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
buggregator-1        |
buggregator-1        | 2024-10-29T16:44:21+0000 ERROR   app             Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:10000: connect: connection refused"' on tcp://<IP_ADDRESS>:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []
buggregator-1        |
buggregator-1        | 2024-10-29T16:44:21+0000 ERROR   app             Spiral\Goridge\RPC\Exception\ServiceException: Error 'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:10000: connect: connection refused"' on tcp://<IP_ADDRESS>:6001 in /app/vendor/spiral/goridge/src/RPC/AbstractRPC.php at line 72 [] []


Extension does not work when visiting bing.com on iPhone

From user report. I reproduced it. It seems only not working on bing.com mobile website with iPhone. When I use iPad it’s working properly.
I guess it might be a code change on bing.com.

I just added support for Bing on iPhone.

NOTE: This extension does not block ads. To block ads, use a content blocker.

Thank you for your work❤


Update ANCM doc for 3.0

Fixes  #12843
Internal Review Topic 2.1
Internal 3.0 version

Whole-topic versioning.
For 3.0 updates:

A couple of link changes and an API reference update.
Changes for the default hosting model.

@halter73, should shirhatti look?

@halter73  can you take a quick review of Internal 3.0 version
That's where all the changes are.

@halter73 can you take a quick review of Internal 3.0 version or recommend another reviewer?
That's where all the changes are.


Run the release builds and store the size

The goal is to use https://github.com/uutils/coreutils-tracking to graph the evolution

This might be kinda difficult to graph since the sizes probably vary a lot, but we should definitely try nonetheless

@tertsdiepraam
Surprisingly stable: https://raw.githubusercontent.com/uutils/coreutils-tracking/main/size-results.png
;)

I guess the last increase is clap 3

I meant vary between the utils. It'd be interesting to see the differences between them as well, but this is already great!

oh, sure :)
For now, I see this graph as a way to help with the rust & big changes (ex: clap 3). Not individual binaries
but maybe could upgrade the CI to keep track of the size of each binary and warning if this becomes too big


AZ CLI command line error in samples

The webapp creation command cannot work as is as it uses a "|" to define nodejs version.
Please provide a PS example that escapes characters using --%:
az --% webapp create --resource-group myResourceGroup --plan myAppServicePlan --name <app_name> --runtime "NODE|6.9"

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

ID: 4b0165d7-6462-842c-76ec-1a1f344fa51a
Version Independent ID: 3b2c77ed-d9eb-cf20-0ace-908b88927e54
Content: Create a Node.js web app in Azure
Content Source: articles/app-service/app-service-web-get-started-nodejs.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin;cfowler

@guillaumemeyer Thank you for the valuable feedback,we are investigating the issue.

@guillaumemeyer Thanks for your feedback! Can you clarify that you are using the Azure CLI within a PowerShell window? If this is the case, I understand that the command may break. What would you suggest for the best way to address this, keeping in mind that other users could be using this from a Mac or Linux terminal?

@SyntaxC4 , the problem occurs when using Azure Cloud Shell from the Azure Portal.
The example provided is using a "--runtime" parameter to specify nodejs version as "NODE|6.9".
In Azure Cloud Shell (at least, not tested from windows powershell command line), the pipe character is considered as a "pipe PS commands".
So the example must include a "--%" to escape pipe.
To adresse this properly, 2 ways:

Provide an example for each different command line execution environment (Azure Cloud Shell, Windows PS command line, Mac, Linux...)
Find a common syntax that handles properly this case for each execution context

Of course the second option would be preferable...

@guillaumemeyer @SyntaxC4 I think I understand the issue. We ask the customer to open the Cloud Shell but assume that the Cloud Shell opens in Bash, but it is possible that it opens in PowerShell if the customer has previously changed Cloud Shell to PowerShell instead of Bash.
@guillaumemeyer Is this indeed your case?

Yes @cephalin , I used the PS shell, not bash

@guillaumemeyer Thanks for confirming and your help!
Tracking this issue internally at https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1217124

PowerShell specific syntax added. #please-close


Cleanup global variables

In multiple places in the code, we rely on global variables, which is usually not that bad but has its downsides. Eventually, we should allocate some time to clean them up, which includes:

"Deglobalization" of vars. It should be straightforward to configure those via direct optionable configuration of the structs/logic that those vars affect. Currently, it's not obvious to newcomers that those do exist and that they can be configurable.
Pass those options/direct configurations into the Node configs, so that node operators can control them and fine-tune
according to their setup
Consistent naming

Putting into Q3 Roadmap as we have a refactoring planning ahead

I think we can close this @Wondertan


url_for fails to generate route with using resource method in config/routes.rb

What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.2.2
Rails version: <IP_ADDRESS>
RSpec version: 3.12

rspec-core 3.12.2
rspec-expectations 3.12.3
rspec-mocks 3.12.6
rspec-rails 6.0.3
rspec-support 3.12.1

Observed behaviour
When:

add route resource :redirect, expect: [:new, :create, :destroy] to config/routes.rb
controller has show action
add redirect test for redirect#show

Then:

Test 1 (Failure):  use url_for
Test 2 (success): use <controller>_url

$ rspec
F.

Failures:

  1) redirects redirect to root using url_for
     Failure/Error: get url_for(args.merge(action: :show))

     ActionController::UrlGenerationError:
       No route matches {:action=>"show", :controller=>"redirects"}
     # ./spec/requests/redirects_spec.rb:12:in `block (2 levels) in <top (required)>'

Finished in 0.06852 seconds (files took 1.54 seconds to load)
2 examples, 1 failure

Failed examples:

rspec ./spec/requests/redirects_spec.rb:11 # redirects redirect to root using url_for

If I use `get 'redirect' => 'redirects#show' in config/routes.rb, both tests pass.
Expected behaviour

both tests pass

Can you provide an example app?

repository

Do you think it’s rspec-rails to blame? Can you please confirm that this is not an issue with Rails’ built-in testing?

Hmm...
I also tried writing test cases with minitest. url_for returned No route matches as well.
I understand that this is not an rspec-rails issue. The issue will be closed.
require 'test_helper'

class RedirectsControllerTest < ActionDispatch::IntegrationTest
  include Rails.application.routes.url_helpers

  # failuer
  test "should redirect root" do
    get url_for(host: 'localhost', controller: 'redirects', action: :show)
    assert_response :redirect
  end

  # success
  test "should redirect root2" do
    get redirect_url
    assert_response :redirect
  end
end

This problem was not rspec-rails.


Exposing Options

Would be nice if zlib options were exposed.
https://nodejs.org/api/zlib.html#zlib_options
In particular compression level would be nice. I assume since it's not set it's using the default gzip level of -6, when what I would like to see is -9.

I made this to be able to quickly approximate how much gain I would get from gzipping. Not super interested in adding options to it. Would it make sense to default to -9? What level do browsers use?

It's a server option; I believe browsers support all levels. I don't ever recall anything about browsers asking for a specific level. In general unless I'm mistaken the recommended setting for production is to have -9 or level 9 (ie. best possible compression). Default however is for servers like nginx is level 6 (ie. middle of the road); but default for worker processes is also something like 2-4 instead of auto, so it's probably just sensible options for dev boxes.
Reason for having maximum compression, even though the difference is very small a lot of the time, is that processing power is much cheaper then bandwidth.
I think defaulting to 9 is better then defaulting to 6 since it would then show "just how good it can get" instead of what you would get on non-production settings.
Incidentally, setting that seems to be a bit more troublesome then it would first appear. I've actually tried just adding the options to your code snippet (which according to the node docs should work) but it borks and I'm not sure why.
To get it to work, for my purposes (printing a table of files), I've had to write something like this,
var gulp = require('gulp');
var prettyBytes = require('pretty-bytes');
var zlib = require('zlib');
var glob = require('glob');
var fs = require('fs');
var c = require('chalk');
var _ = require('shadow.lodash');
var Table = require('cli-table');
// ----------------------------------------------------------------------------

var pathRoot = './public/web/';

gulp.task('gzip:info', function (resolve) {

	var table = new Table({
		head: [
			c.reset.bold.underline('file'),
			c.reset.bold.underline('raw'),
			c.reset.bold.underline('gzip')
		]
	});

	console.log('');

	glob(pathRoot + '*.{js,css}', function (err, files) {

		var pending = files.length;
		var checkDone = function () {
			if (pending == 0) {
				console.log(table.toString());
				console.log('');
				resolve();
			}
		}

		_.each(files.sort(), function (filename) {

			var options = {
				level: 9
			};

			// create a new gzip object
			var gzip = zlib.createGzip(options), buffers=[], nread=0;

			gzip.on('error', function(err) {
				gzip.removeAllListeners();
				gzip=null;
				pending -= 1;
				checkDone();
			});

			gzip.on('data', function(chunk) {
				buffers.push(chunk);
				nread += chunk.length;
			});

			gzip.on('end', function() {
				var buffer;
				switch (buffers.length) {
					case 0: // no data.  return empty buffer
						buffer = new Buffer(0);
						break;
					case 1: // only one chunk of data.  return it.
						buffer = buffers[0];
						break;
					default: // concatenate the chunks of data into a single buffer.
						buffer = new Buffer(nread);
						var n = 0;
						buffers.forEach(function(b) {
							var l = b.length;
							b.copy(buffer, n, 0, l);
							n += l;
						});
						break;
				}

				gzip.removeAllListeners();
				gzip=null;

				var data = buffer.toString();

				table.push([
					filename.replace(pathRoot, ''),
					c.red(prettyBytes(file.length)),
					c.yellow(prettyBytes(data.length))
				]);

				pending -= 1;
				checkDone();
			});

			var file = fs.readFileSync(filename);
			gzip.write(file);
			gzip.end();
		})

		checkDone();
	});

});

Which (gulp boilerplating aside) is a bit more verbose then I would like.
ps. not sure if you're using the sync version from browserify for special reasons but there is a sync version in the normal zlib

Fixed in 2.0.0 => https://github.com/sindresorhus/gzip-size/commit/4483839ee48957869166dc0c53dc629f89f94093

ps. not sure if you're using the sync version from browserify for special reasons but there is a sync version in the normal zlib

The sync method was introduced in node 0.12. This module still supports 0.10.

Actually. I just dropped node 0.10 compat. Not worth the trouble.


Deleted comments in type aliases

Some inline comments in type alias declarations are removed during formatting.
Steps to reproduce:
$ rustfmt --version
rustfmt 1.4.38-stable (9d1b210 2022-02-23)
$ rustfmt --emit stdout <(echo 'type Cycle = [u64 /* seconds */; 3];')

Expected output:
type Cycle = [u64 /* seconds */; 3];

Actual output:
type Cycle = [u64; 3];

Thanks for the report!
It's likely that rustfmt isn't expecting to find a comment there, and isn't looking out for it when reformatting the code.

The issue can be tracked down to the Rewrite impl for ast::Ty. Specifically we're looking at the array case:
https://github.com/rust-lang/rustfmt/blob/7d6ca7c35c275ab7a6a50d290babe874cb8e3fc7/src/types.rs#L805-L812
From what I can tell There's no straightforward way to fix this since we lose all Span information once we call rewrite_pair. However if #5296 gets merged we should have a much easier time fixing this by following the approach used to recover comments for ast::ExprKind::Cast.


bpdoc: Cache property struct docs by full package path

The full package path is no longer stored in the name variable, pass the
pkg variable into getDocs and putDocs so that types with the same name
in different packages don't collide.
Change-Id: I7ecd98815487467dbaadc8a318fa43b123fc83c1

LGTM


Feature request: Export options

Great library and tool!  Thanks for all the work that went into it.  The roadmap looks nice, especially C# integration.  Unfortunately F# isn't supported in .NET Native yet :/
There are a couple of export options I would love to see.

Right now the maximum export size is 8192x8192, but I'd like to be able to set an arbitrarily large size.

Some form of transparency support would be exciting.

It would be nice to have a button to reset the detail/zoom level to default since an export won't be seamless if "Tile All" is used unless it's at that default detail.

Thanks!

I've been planning an export dialog for a while now. Probably in the next major version - I'll add it the roadmap as well.
Alpha (and likely depth, normal, etc.) support is coming with support for channels, i.e., a logical separation between source textures and whatever visual attributes they are assigned to.
"Reset Zoom" in the context menu (press right mouse button in view) resets zoom.


⚠ Bofrost.at has degraded performance

In 17afcb6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2837 ms

Resolved: Bofrost.at performance has improved in 406f94b after 1 day, 2 hours, 17 minutes.


upgrade flow

v0.122.0 is over a year old
flow@latest catches >700 errors
there were some significant changes to flow at v0.127.0
upgrading beyond v0.126.0 should be in a different pr

Historically we upgrade flow when we upgrade react native, because usually upgrading flow reveals errors in dependencies, including react native (as you may have noticed). But upgrading to this version looks okay (just remember to remove that file from the ignore list later on).

whats the ignore list?


Unanswered call - talk time incorrect

The conversation time for the wallboard appears incorrect - if there is no conversation time.
Also, the HTML entity ''nbsp'' should be stripped as it is a blank space.

Fixed the answer time bug and added the conversation time field. Tomorrow i will get rid of the nbsp problem! :)

the nbsp issue seems to be fixed :D


Using

Thanks for the reply to the post https://github.com/marmelab/react-admin/issues/5933#issuecomment-812836396
There are a lot of libraries for managing a access, and everyone can find something that suits his project or writes his own.
For my projects, I use and recommend https://github.com/stalniy/casl. It is great for all use cases. In addition, I use the same library both on the front-end and on the back-end.
What about your suggestion: it doesn't solve my problem - over-cluttered code. As each field was wrapped in an access wrapper, it will remain with your solution. The only way out I see is injecting access handlers directly into react-admin components

Hi @wmwart, thanks for opening up the issue. Do you have an ideal API for your RA components?
The fields for ra-acl look like this
<FieldWithPermission Input={CustomField} inputProps={{}} source="" label="" />

But you can also wrap your own using useAcl without directly managing permission logic in your form components.
How would you expect to manage permission in RA?


Build Boost 1.71.0 with Visual Studion 2019

In ...\CMake\share\cmake-3.14\Modules\FindBoost.cmake need add 2 lines:
set(Boost_LIB_PREFIX "lib")
set(_boost_RELEASE_ABI_TAG ".lib")

In case using Visual Studion 2019 on Windows 10 in CMakeList.txt examples in case boost 1.70.0+ (also try on 1.71.0) need remove follow lines:
if(MSVC)
  # The standard find_package for boost on Win finds the dynamic libs, so for dynamic linking to boost we need to #define:
  add_definitions(-DBOOST_ALL_NO_LIB) # Don't use the automatic library linking by boost with VS (#pragma ...). Instead, we specify everything here in cmake.
  add_definitions(-DBOOST_ALL_DYN_LINK) # Link against the dynamic boost lib - needs to match with the version that find_package finds.
  add_definitions(-D_HAS_AUTO_PTR_ETC) # Boost 1.65.1 still does not work with VS C++17 mode, this is the workaround
endif()

or if already builded with above lines than before compile need remove BOOST_ALL_NO_LIB, BOOST_ALL_DYN_LINK, _HAS_AUTO_PTR_ETC from "Preprocessor Definitions".


qx  --help does not display the commands options and subcommands

This is for
qx --version
1.0.0-beta.20200424-1525

Duplicate of https://github.com/qooxdoo/qooxdoo-compiler/issues/648
closing


git-fame: 2.5.2 -> 3.1.1

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

git-fame

thank you !

I think this may need to be reversed. Something about the active support gem seems to be broken.

It's actually an issue in the upstream repo: https://github.com/oleander/git-fame-rb/issues/137

we don't need to wait for release we can just cherry pick https://github.com/oleander/git-fame-rb/issues/137 via fetchpatch
also, when i tested on some of my repos,  I didn't have that issue

also, when i tested on some of my repos, I didn't have that issue

huh really? yeah it didnt happen for me before, but when I built by cherry picking this into nixpkgs its happening consistently.
@kirillrdy cherrypicking sounds like a good idea. lets go with that.


Update Blog “hello-and-welcome-to-a-couiple-of-switch”

Automatically generated by Netlify CMS

👷 Deploy Preview for iridescent-crumble-c1dffb processing.

Name
Link

🔨 Latest commit
1e8563b8a024fd647236c87d69b688b5886ba0f6

🔍 Latest deploy log
https://app.netlify.com/sites/iridescent-crumble-c1dffb/deploys/64b92460f38e8c0008c1d867


It play movies but after a while it keep loading and after a while it keep loading.

below is log from addons, don't why it keep repeat. and the movies keep loading, playing , loading ,playing.
 In this case, the addon itself isn't at fault.

because I only have Real-debrid, but same movies and same size I play with torrentio no problem, but jackettio it keeps buffer and loading.
2024-03-01T11:57:50.602634754Z tt14230458 : RD : Cannot read properties of undefined (reading 'reduce')
2024-03-01T11:58:00.952352528Z HEAD //download/movie/tt14230458/0b1e88ee5f41f26a7782d85f9d84180533f6da17
2024-03-01T11:58:00.975418063Z GET //download/movie/tt14230458/0b1e88ee5f41f26a7782d85f9d84180533f6da17
2024-03-01T11:58:02.144733158Z GET //download/movie/tt14230458/0b1e88ee5f41f26a7782d85f9d84180533f6da17
2024-03-01T11:58:05.406688256Z GET //download/movie/tt14230458/0b1e88ee5f41f26a7782d85f9d84180533f6da17


[#880] sets correct defaults for MSO parameters

this commit corrects the defaults for MSO parameters and ignores invalid server retry response parameters.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-whatchanged/68/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/160/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/199/

This closes #880


Project-file input on v1.2 Problem

The input project-file on v1.2 does not exist. I had to use @master to use project-file to compile my SQL project.

Hi! Sorry it took me a while to tag a new release - just now dropped v1.3


[Extensibilty Bug / Enhancement] table 77 "Report Selections" Check for Bill-To Customer and Pay-To Vendor on SendEmailDirectly

Add Customer of field  Bill-To Customer No. if different to Sell-to Customer No. and Vendor of field Pay-To Vendor No. if different to Buy-from Vendor No.' as Related Entity.
local procedure SendEmailDirectly(ReportUsage: Enum "Report Selection Usage"; RecordVariant: Variant;
                                                    DocNo: Code[20];
                                                    DocName: Text[150];
                                                    FoundBody: Boolean;
                                                    FoundAttachment: Boolean;
                                                    ServerEmailBodyFilePath: Text[250]; var DefaultEmailAddress: Text[250]; ShowDialog: Boolean; var TempAttachReportSelections: Record "Report Selections" temporary; var CustomReportSelection: Record "Custom Report Selection") AllEmailsWereSuccessful: Boolean
var
    Customer: Record Customer;
    Vendor: Record Vendor;
    Reminder: Record "Issued Reminder Header";
    ReminderLines: Record "Issued Reminder Line";
    SalesInvoice: Record "Sales Invoice Header";
    TempBlob: Codeunit "Temp Blob";
    DocumentMailing: Codeunit "Document-Mailing";
    OfficeAttachmentManager: Codeunit "Office Attachment Manager";
    DataTypeManagement: Codeunit "Data Type Management";
    DocumentRecord: RecordRef;
    FieldRef: FieldRef;
    EmailAddress: Text[250];
    SourceTableIDs, SourceRelationTypes : List of [Integer];
    SourceIDs: List of [Guid];
    IsHandled: Boolean;
    AttachmentStream: InStream;
    TableId: Integer;
begin
    ...

    // Related Source - Customer or vendor receiving the document
    TableId := GetAccountTableId(DocumentRecord.Number());
    if TableId = Database::Customer then
        if DataTypeManagement.FindFieldByName(DocumentRecord, FieldRef, 'Sell-to Customer No.') and Customer.Get(Format(FieldRef.Value())) then begin
            SourceTableIDs.Add(Database::Customer);
            SourceIDs.Add(Customer.SystemId);
            SourceRelationTypes.Add(Enum::"Email Relation Type"::"Related Entity".AsInteger());
        end;
//>Change
// Check if Bill-To Customer is differernt add add if necessary.
//<Change

    if TableId = Database::Vendor then
        if DataTypeManagement.FindFieldByName(DocumentRecord, FieldRef, 'Buy-from Vendor No.') and Vendor.Get(Format(FieldRef.Value())) then begin
            SourceTableIDs.Add(Database::Vendor);
            SourceIDs.Add(Vendor.SystemId);
            SourceRelationTypes.Add(Enum::"Email Relation Type"::"Related Entity".AsInteger());
        end;
//>Change
// Check if Pay-To Vendor is differernt add add if necessary.
//<Change

    OnBeforeSendEmailDirectly(Rec, ReportUsage, RecordVariant, DocNo, DocName, FoundBody, FoundAttachment, ServerEmailBodyFilePath, DefaultEmailAddress, ShowDialog, TempAttachReportSelections, CustomReportSelection, AllEmailsWereSuccessful, IsHandled);
    if IsHandled then
        exit(AllEmailsWereSuccessful);

   ...
end;

@JesperSchulz could you or someone else please bring this topic into discussion again.
I still think that the bill-to/pay-to can't be ignored.
E.g. when we send the Invoice to the bill-to, then this number should be used.
DocumentSendingProfile.SendCustomerRecords(
              DummyReportSelections.Usage::"S.Invoice".AsInteger(), Rec, DocumentTypeTxt, "Bill-to Customer No.", "No.",
              FieldNo("Bill-to Customer No."), FieldNo("No."));

Maybe this could be simplified, by transferring the CustomerNo or VendorNo form the procedures SendEmailToCustDirectly and SendEmailToVendorDirectly to the procedure SendEmailDirectly by adding additional parameters .

Looks like this now has moved to BusinessCentralApps. Closing issue here.


[Bug] Controls don't work on Steam Deck [Greenlight ver 2.1.1]

Describe the bug
Running 2.1.1 (from Flatpak - discover store) on Steam Deck.
Has anyone got the steam deck's built in controls to work with Greenlight at all? Some people look like they've managed to get it up and running, but maybe it only works with external controllers (if so, please do let me know - I'd love to add it as a feature request).
Desktop Mode:
In desktop mode, I just get 'controller not detected'. I can connect to the Xbox fine, but the controls are odd - the joysticks don't do anything except move the actual mouse cursor around on the desktop. The 'A' button works to confirm things, but no other buttons work as expected. Triggers etc do nothing.
Enabling 'new gamepad driver' makes no buttons/triggers work at all.
Game Mode:
So I tried game mode - I figured maybe I shouldn't be running this in desktop mode at all, that might be the problem. So I tried adding it as a 'non steam game' (in desktop mode), to launch it in game mode. Not even the mouse cursor appears (so I can't even start the stream, as there's no way of clicking the button). Mashing pretty all of the buttons on the deck and it's not responding to anything (except the steam , so I have to force-quit it to exit out.
Interestingly, launching through steam (added as a non-steam game) while in Desktop mode still exhibits the issue where all of my controls stop working. Mouse cursor disappears, and the steam deck stops responding to any input. In this case I have to force-reboot the steam deck to get the deck working again.
I've tried just about every controller setting, I'd have thought 'Gamepad with Joystick Trackpad' would be the most appropriate option but it doesn't work with any of them.
To Reproduce
Install on Steam Deck flatpack with discover store
Open app
Start stream
Or:
Add as a non-steam game to steam while in desktop mode
Make sure control is set to Gamepad with Joystick Trackpad
Change over to game mode and try to launch.
Expected behavior
Steam deck built in controls to work
Environment
- OS: SteamOS 3.5.7
- Device: Steam Deck
- Greenlight version: 2.1.1

Anything else?
I had the same issue about 3 or 4 months ago on an older version (v 2.0), I had to uninstall it because I couldn't work out how to get it to work, but after I read that 2.1.1 was meant to have fixed a controller issue, I thought it would work again on the deck, but the issue seems to still be there (for me at least?).
New issue

[X] I confirm that this is a new issue and not a duplicate

The UI does not support gamepads yet indeed (yet). The touch screen is the way to go or you can also use hold the steam button and use the right trackpad to move the mouse cursor. Right trigger functions as a click.
The application is supposed to run in Game mode to have the gamepad detectable.

In Desktop mode, the Deck's pad and buttons will act like a KB and mouse unless you switch modes by holding start for a few seconds. You can switch back to the KB+mouse mode by holding start for a few seconds again.


[Bug] [Connector-V2] Hive access_key、access_secret、endpoint can not find to create the FileSystem

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

SeaTunnel Version
2.3.1
SeaTunnel Config
Using Connector-Hive with OSS or S3 etc FileSystem.

Running Command
*

Error Exception
*

Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

There ara two solutions:

Add extraOptions which includes FileSystem conf items in Connector configuration. Oss example:

Hive {
    table_name = "default.seatunnel_orc"
    metastore_uri = "thrift://namenode001:9083"
    extra_options {
         fs.oss.accessKeyId = "xxxxxxxxx"
         fs.oss.accessKeySecret = 'xxxxxxx"
         ...
    }
  }

Or add FileSystem conf items in Connector configuration directly.

Hive {
    table_name = "default.seatunnel_orc"
    metastore_uri = "thrift://namenode001:9083"
    access_key = "xxxxxxxxx"
    access_secret= 'xxxxxxx"
    ...
  }

By the way, the keys of FileSystem conf items can be consistent with  Connector-File-xxx.
Which one is better, or is there a better way？

hdfs_site_path will solve this problem:

So I will close this issue, if you have any other problems, please start a discussion with community.


[ENG-13419] Use optional env variable for stream upload batch size

Task linked: ENG-13419 Failure encountered during metadata extractor processing


fix(controller): validate key material on upload

closes #2681

we should really turn these into Validators and move them out of models.py. I think I'll tackle that in #2854 while I'm at it.

Code LGTM.

Excellent, code LGTM.


Cherry-picked two multi-image DFU related commits

Approving, but you should use [nrf fromtree] prefix if you cherry-pick already-merged commits.


[MFP] General Information Page

Description

Added general information page to WP report submission process
Related ticket(s)

MDCT-2758

How to test

when json is passed into mock object:

Important updates

Author checklist

[ ] I have performed a self-review of my code
[ ] I have added thorough tests, if necessary
[ ] I have updated relevant documentation, if necessary

convert to a different template: test → val | val → prod

Does this need the User Guide and Help file url?

@britt-mo I was told they were TBD, not sure if I should wait to merge until those are ready


Speed up cupy.vdot

Close #3672. Use CUB device reduction to accelerate it. If not available, fall back to the original kernel.
Before:
vdot                :    CPU:   17.272 us   +/- 0.938 (min:   16.300 / max:   39.416) us     GPU-0:  640.646 us   +/-18.809 (min:  630.496 / max:  774.144) us

After:
vdot                :    CPU:   57.839 us   +/- 6.615 (min:   55.680 / max:  216.692) us     GPU-0:   80.302 us   +/-18.042 (min:   75.776 / max:  232.096) us

For some reason CPU overhead is unexpectedly increased...Not sure what I overlooked 😞

Jenkins, test this please

Jenkins CI test (for commit 8c73db71fc8ffa5f21aeb93da58c257aa988f08b, target branch master) succeeded!

I am still a bit concerned with the CPU overhead (57 us) which does not show up in my naive implementation (25 us).

Jenkins, test this please

Jenkins, test this please.

Jenkins CI test (for commit f03a9f61a541948e0b52b9be40c63ea3de0df331, target branch master) succeeded!

LGTM.


Change deprecated function

https://docs.python.org/3/library/os.path.html#os.path.splitunc

This line is a fallback of the splitdrive call two lines above. It's for Python 2.6.x only, in which splitdrive does not provide sufficient functionality. FYI, here's the splitdrive function in Python 2.6.9:
# Split a path in a drive specification (a drive letter followed by a
# colon) and the path specification.
# It is always true that drivespec + pathspec == p
def splitdrive(p):
    """Split a pathname into drive and path specifiers. Returns a 2-tuple
"(drive,path)";  either part may be empty"""
    if p[1:2] == ':':
        return p[0:2], p[2:]
    return '', p


npm install dependency error (esprima-six)

hello
npm install failed with
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/esprima-six
npm ERR! 404
npm ERR! 404 'esprima-six' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'derequire'
looks like there is no such module as 'esprima-six' anymore in npm repository
https://www.npmjs.com/package/esprima-six

Thanks! This module was using very old version of browserify.
I updated dependencies and published this as version 0.0.13 to npm. Should be working now.

thanks!


[CL][Liquidity Provision]: implement withdrawPosition method

Background
So far we have made decent progress on adding liquidity (createPosition) and swapping. However, there is nothing implemented for withdrawPosition
Suggested Design
We should implement the following method in lp.go:
// withdrawPosition withdraws a concentrated liquidity position from the given pool id in the given tick range and liquidityAmount.
// On success, returns an amount of each token withdrawn.
// Returns error if
// - there is no position in the given tick ranges
// - if tick ranges are invalid
// - if attemps to withdraw an amount higher than originally provided in createPosition for a given range
// TODO: implement and table-driven tests
func (k Keeper) withdrawPosition(ctx sdk.Context, poolId uint64, owner sdk.AccAddress, lowerTick, upperTick int64, liquidityAmount sdk.Int) (amtDenom0, amtDenom1 sdk.Int, err error) {
	panic("not implemented")
}

Acceptance Criteria

implement method
at least one "happy path" test case added

hello @p0mvn is anyone working on this? I would like to help

@RusAkh im fairly certain Roman is working on this / has nearly completed

Implemented in: https://github.com/osmosis-labs/osmosis/pull/3459


Max listeners exceeded warning

Hello,
I run the example codes and got this warning after completing 5 pollings.
(node:1137767) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
    at [kNewListener] (node:internal/event_target:568:17)
    at [kNewListener] (node:internal/abort_controller:241:24)
    at EventTarget.addEventListener (node:internal/event_target:681:23)
    at /opt/apps/demo/easy-poll/node_modules/@ilyagershman/easy-poll/dist/easy-poll.cjs:12:12
    at new Promise (<anonymous>)
    at abortablePromise (/opt/apps/demo/easy-poll/node_modules/@ilyagershman/easy-poll/dist/easy-poll.cjs:6:10)
    at abortableFetch (/opt/apps/demo/easy-poll/node_modules/@ilyagershman/easy-poll/dist/easy-poll.cjs:164:32)
    at _poll (/opt/apps/demo/easy-poll/node_modules/@ilyagershman/easy-poll/dist/easy-poll.cjs:197:28)

Thanks for opening this issue @gebederry!
After initial investigation, the warning seems to be quite common, when using abort signals in nodejs. It happens when passing the same signal to different fetch functions.
https://github.com/nodejs/node/issues/46525
I believe the community is waiting for this to be resolved in future nodejs versions
Anyway to be safe, I will run more tests to make sure there's no memory leaks and add setMaxListeners to the example code

Thanks for opening this issue @gebederry!
After initial investigation, the warning seems to be quite common, when using abort signals in nodejs. It happens when passing the same signal to different fetch functions.
nodejs/node#46525
I believe the community is waiting for this to be resolved in future nodejs versions
Anyway to be safe, I will run more tests to make sure there's no memory leaks and add setMaxListeners to the example code

Ah, IC. Thank you! Your package has made things really convenient.

Checked this issue more, there's indeed a memory leak when adding event listeners for the abort signal. I will push the fix shortly.
Big thanks @gebederry once again!

The issue was fixed in v3.0.8 🚀


Feature Request: Integrate SIMKL into Totoro

Please integrate SIMKL into Totoro.

Anime Page: https://simkl.com/anime/
API Documentation: https://api.simkl.com/

Are you okay with just tracking ?
the api doesn't seem to have all the metadata i need

for some shows in your list simkl return same name for All seasons

so provider will aways find season 1 when streaming.
I have added a context menu action to add an alternate name, that will be used when searching providers.

Initial level support available in latest release


"The Logistical Grid" - Resource Management System

The above screenshot is a mockup of an idea I had, and was discussing in the Mekanism IRC channel last night. The basic concept behind this proposed enhancement is the further expansion of the Logistical Transporters, Logistical Sorters.. and their overall capabilities... transforming them into an end to end inventory management system (or "Logistical Grid" if you will).  The "Provider" block shares two critical pieces of information with the Logistical Grid... what items it has in its inventory currently that it can 'provide' to the rest of the Grid, and what items it 'wants' or 'fetches'. This 'Fetch System'  will communicate actively with any Sorters on the Logistical Grid, telling them exactly what items that Sorter can send to the Provider in question. A Provider could be attached to a chest and configured to 'fetch' all ores travelling on the Logistical Grid.
The Provider should have a few different 'fetch methods':
(-) Ore Dictionary Fetch - Just as with the sorter, this would allow me to type "ingotIron" or "stick", etc.
(-) Item Specific Fetch - This would be block specific, just as the normal Item Filter in a sorter.
(-) Mod Fetch - This would allow me to type in the name of a specific mod, for example "Thaumcraft", and have every item from that mod get 'fetched' by the Provider.
The provider is meant to act as an alternate means for expanding the sorting capabilities of Logistical Grids, allowing for functionality WITHOUT needing to color-code another segment of pipe. Why limit yourself to only 16 colors when you could add into that Logistical Providers which actively ask for (or "Fetch") specific block/item types?
**** The Logistics Coordinator ****
The Coordinator is designed to act as a 'Master Control Unit' for the entire Logistical Grid to which it is attached:
(-) It checks with Logistical Sorters that it finds, allowing for reconfiguration of settings or filters on that specific Sorter.
(-) It will communicate with Logistical Providers, 'pulling' any chosen amount of goods or materials from those Providers to a chest sitting adjacent to the Coodinator.
(-) It can be set to automatically 'pull' specific amounts of specific resources to its adjacent chest. (Example: Telling the Coordinator to always keep 64 Cobblestone blocks on hand.)
The Coordinator can be thought of as the master interface on an Applied Energistics network: It lets you view your current supplies and inventory (that is attached to the Grid via Provider or perhaps by Bin?), grabbing anything you want... as long as you are willing to deal with a time delay to allow for 'pulled resources' to travel through the Logistical Transporters.
I think that the Coordinator SHOULD actually have power requirements, unlike the rest of the system's setup. The Coordinator's tasks and capabilities would be great, so it could perhaps consume a meager amount of power each time that it performs a task.
**** OVERALL CONCEPT ****
This entire system setup and idea stems from the concept of making alternatives to the likes of Applied Energistics or Logistical Pipes, both of which can be extremely resource intensive to get setup and power hungry to maintain. The "Logistical Grid" can be cheaper in cost to get setup, but just as flexible and expandable as other alternatives.
Simply have a Logistics Coordinator (with a chest adjacent to it) located in your regular workroom or machine room, and the rest of your inventory storage could be located in another room or building entirely. This would give you the ability to fetch any resource you needed... without the pesky walk!
If further mockup screenshots are required to better make my point, just let me know. I would really love this system to be made, especially if it could be cost efficient and low in power requirements, creating minimal lag in the mean time.
**** LONG TERM OPTIONS ****
Further enhancements that could be added to this system could be power-requiring alternatives to BuildCraft's "AutoCrafting Bench" or XyCraft's "Fabricator"; a block that is set to craft one item whenever given supplies, and will talk to a Logistical Grid.. acting as its own 'Provider' for whatever it is capable of crafting.

I'm going to put this on hold while I focus on the rest of the outstanding issues.  While I don't think I'll be adding anymore advanced functionality to the transporters themselves, adding blocks that allow for more advanced inventory coordination is on my to-do list.


custom fields: add search version parameter to mapping method

closes #391

closed in favour of #396


Starting server with admin that doesn't exist makes things explode

This is all find and dandy, but can be a little weird when pushing to production.  it means that you need to start the app, do an initial sign up, stop the app, modify the local.json, then restart the app.
In theory it should be possible to add an admin that has not yet been registered, although I can see that being a security problem.  Perhaps the initial sign up should be admin? Should there be options for admins to add more admins in app?

I went through the blame... and it turns out I am the dummy who broke this during a lint mission.
Woops.
Fix coming soon


updated travis config; dropped php 5.5, added php 7.1

resolves #6

@rocketpastsix ready for review

cool thanks!


Adds option to install cfn-bootstrap from tar.gz python package

Build is passing: https://us-east-1.console.aws.amazon.com/codesuite/codebuild/701759196663/projects/spel-ci/build/spel-ci%3Aebacbb54-717f-43ab-8a20-ef8751f6a462?region=us-east-1

Build using alternatives is also passing: https://us-east-1.console.aws.amazon.com/codesuite/codebuild/701759196663/projects/spel-ci/build/spel-ci%3Aecdd7c91-e8a2-41fb-b211-244c5ba525eb?region=us-east-1


fix: panic when no enough block filter hashes

Descriptions

Split (or access) the start_index-th item of latest_block_filter_hashes without checks.
https://github.com/nervosnetwork/ckb-light-client/blob/02721f38854ad0722347e8d132d31c173dd7cdaf/src/protocols/filter/components/block_filters_process.rs#L159-L160

But latest_block_filter_hashes could be empty or less than start_index.
https://github.com/nervosnetwork/ckb-light-client/blob/02721f38854ad0722347e8d132d31c173dd7cdaf/src/protocols/light_client/peers.rs#L1713-L1715

Commits

Add a test to reproduce the bug.

Fix the bug.
Review this commit could find the difference on the unit test easier.
And could understand how does this bug happened and how to fix it easier.

Add more logs.

Error Logs
Full of the Error Logs
[2023-10-08T22:29:01Z TRACE ckb_light_client::protocols::status] LightClientProtocol.received SendLastStateProof from SessionId(7094), result OK(200)
[2023-10-08T22:29:01Z TRACE ckb_light_client::protocols::synchronizer] SyncProtocol.received peer=SessionId(6201), message=GetHeaders
[2023-10-08T22:29:02Z TRACE ckb_light_client::protocols::light_client] no fetching headers/transactions needed
[2023-10-08T22:29:02Z TRACE ckb_light_client::protocols::synchronizer] SyncProtocol.received peer=SessionId(23), message=GetHeaders
[2023-10-08T22:29:03Z TRACE ckb_light_client::protocols::filter::block_filter] could request block filters from 10888757 or not: true, finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:03Z DEBUG ckb_light_client::protocols::filter::block_filter] found best proved peer SessionId(9261)
[2023-10-08T22:29:03Z TRACE ckb_light_client::protocols::filter::block_filter] no block filters is required to download
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter hashes from peer SessionId(7094), starts at 10886001
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter hashes from peer SessionId(23), starts at 10888759
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter hashes from peer SessionId(9262), starts at 10888759
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter hashes from peer SessionId(9261), starts at 10888759
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] peer SessionId(9261): last-state: PeerState::Ready { last_state: 10888759 }, add block filter hashes (start: 10888759, len: 1) and parent block filter hash is 0xc5ca1bf9b62cc39580d3619bf33081c7ee38bbe3a3dbfcdd9fe740da14b35d51
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::status] BlockFilterProtocol.received BlockFilterHashes from SessionId(9261), result OK(200)
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] peer SessionId(9262): last-state: PeerState::Ready { last_state: 10888759 }, add block filter hashes (start: 10888759, len: 1) and parent block filter hash is 0xc5ca1bf9b62cc39580d3619bf33081c7ee38bbe3a3dbfcdd9fe740da14b35d51
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::status] BlockFilterProtocol.received BlockFilterHashes from SessionId(9262), result OK(200)
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] peer SessionId(23): last-state: PeerState::Ready { last_state: 10888759 }, add block filter hashes (start: 10888759, len: 1) and parent block filter hash is 0xc5ca1bf9b62cc39580d3619bf33081c7ee38bbe3a3dbfcdd9fe740da14b35d51
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:04Z TRACE ckb_light_client::protocols::status] BlockFilterProtocol.received BlockFilterHashes from SessionId(23), result OK(200)
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::light_client] no fetching headers/transactions needed
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] peer SessionId(7094): last-state: PeerState::Ready { last_state: 10888759 }, add block filter hashes (start: 10886001, len: 2000) and parent block filter hash is 0x5f388b30206fe7324bfaeec95ef15b7c791fe02d408a251aeba38d270eb3de5d
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter hashes from peer SessionId(7094), starts at 10888001
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::status] BlockFilterProtocol.received BlockFilterHashes from SessionId(7094), result OK(200)
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] peer SessionId(7094): last-state: PeerState::Ready { last_state: 10888759 }, add block filter hashes (start: 10888001, len: 759) and parent block filter hash is 0x5ecfac4d3328b6cc7f53d0d8c18bfc9d701d4fca4efc9e3cda80987ebe928c89
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::filter::components::block_filter_hashes_process] finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:05Z TRACE ckb_light_client::protocols::status] BlockFilterProtocol.received BlockFilterHashes from SessionId(7094), result OK(200)
[2023-10-08T22:29:06Z TRACE ckb_light_client::protocols::filter::block_filter] could request block filters from 10888757 or not: true, finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:06Z DEBUG ckb_light_client::protocols::filter::block_filter] found best proved peer SessionId(9261)
[2023-10-08T22:29:06Z TRACE ckb_light_client::protocols::filter::block_filter] no block filters is required to download
[2023-10-08T22:29:08Z TRACE ckb_light_client::protocols::light_client] no fetching headers/transactions needed
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::filter::block_filter] could request block filters from 10888757 or not: true, finalized: index 5443, number 10886000; cached: index 5444, number 10888000, length 0; next cached: number 10890000
[2023-10-08T22:29:09Z DEBUG ckb_light_client::protocols::filter::block_filter] found best proved peer SessionId(9261)
[2023-10-08T22:29:09Z DEBUG ckb_light_client::protocols::filter::block_filter] send get block filters to SessionId(9261), start_number=10888757
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::filter::block_filter] request block filter from peer SessionId(9261), starts at 10888757
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] peer SessionId(6201): copy prove state from peer SessionId(7094)
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] peer SessionId(2): copy prove state from peer SessionId(6201)
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] peer SessionId(9265): copy prove state from peer SessionId(6201)
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] peer SessionId(7097): copy prove state from peer SessionId(6201)
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(2) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(23) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(7097) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(7094) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(6201) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(9265) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(9262) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] check points for peer SessionId(9261) in [5443,5443]
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] requires 4 peers for finalizing check points and got 8
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] finalized check point is 5443, 0x5f388b30206fe7324bfaeec95ef15b7c791fe02d408a251aeba38d270eb3de5d
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] new last check point will be less than or equal to 5443
[2023-10-08T22:29:09Z TRACE ckb_light_client::protocols::light_client] no check point is found which could be finalized
thread 'GlobalRt-0' panicked at 'index out of bounds: the len is 0 but the index is 2755', src/protocols/filter/components/block_filters_process.rs:159:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2023-10-08T22:29:09Z INFO  ckb_network::network] Ban peer "/ip4/*.*.*.*/tcp/8111/p2p/***********************************************" for 300 seconds, reason: protocol ProtocolId(121) panic when process peer message

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

Comparison is base (dfcd2cc) 69.83% compared to head (d0e43f3) 69.86%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #155      +/-   ##
===========================================
+ Coverage    69.83%   69.86%   +0.02%
===========================================
  Files           25       25
  Lines         6409     6415       +6
===========================================
+ Hits          4476     4482       +6
  Misses        1933     1933

Flag
Coverage Δ

unittests
69.86% <100.00%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

src/protocols/light_client/peers.rs
61.73% <100.00%> (+0.16%)
:arrow_up:

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


[OAuth] Nango migration scripts

Proposal:

Implement ability to read from oauth and nango based on the structure of the connection string.
Test migrating our workspace
Run migration script that, for each connection to migrate from Nango:

pulls the credentials
If the expiry is less than 1h away, force refresh the token at Nango
create a migrated connection on oauth and replace the connectionId in connector
log the

This should enable a smooth live migration from Nango to oauth. The buffer for migrating should ensure the tokens are not refreshed during the migration so that we get the latest refresh tokens / access in oauth
Once everything is migrated remove the ability to leverage Nango and delete account.

Done still need to be tested with refresh tokens


Push binaries as release artifact

We want to get all the binaries pushed as artifact when a new sandbox gets
released.
Done: CLI command capable of reading multi arch manifest from a registry,
getting the layer where the binary is located and copy it to a specific
directory.
TODO:

[ ] Hook it up as github action for all the projects when sandbox gets released
(push a new tag)

:D I actually want to go the other way around, build the binaries use them in the Dockerfiles and then we can also push to github release. But don't have anything to show so this is good too :D

Oh nm, I just noticed this was sandbox not tink!

Yep this is a sandbox and I am not speaking about the development environment, that's a thing I don't care about, everybody has its own way of working and I love that.
What I am trying to solve with this is the release cycle. It uses containers because it is what currently all the components are releasing.
It currently assumes that the image is a multi-arch image, with the last layer being the one that copies the binary in /usr/bin. As long as those requirements are consistent it is not a problem how images get built in the various project or how the maintainers want to work on them. I know people prefer to start a Kubernetes cluster 🦀

Yep it makes sense to pick out the binaries from the "official" container images.

This is my fork, but we have binaries 👍


deconvolution is always giving zero!

I am using Caffe-Deconvnet with vgg19 on caltech bird dataset. I am trying to find filters activated for specific bird parts. But while performing deconvolution for an image for all filters in a layer I am always getting zero! Someone please help!!!

I also met this question, have you solved it?

I meet this question too, did you solved it?


readme quickfix

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins: test this please

Jenkins: test mantis

Thanks for the fix, can you look at git log and see the style of commit messages we're using? git commit --amend will let you change your commit message.

@ehildenb Updated the commit message

Subsumed by #204 .


Correcting typo

@andreiztm I'm looking at the file and don't see any difference between the original sentence and your version. What is the change you're making?

@jdeckerms I've added just an enter before the list, because the first URL would jump up and near the : sign and it was not that visible :).
You may choose to apply a rule to permit HTTP RANGE requests for the following URLs:
*.download.windowsupdate.com
*.dl.delivery.mp.microsoft.com
*.emdl.ws.microsoft.com

@andreiztm aha, thanks! Looked right at it and couldn't see it. :)

@andreiztm Don't blame ya :) Thank you!

Fastest merge in the west! :D

Even so, faster merges than this can happen: https://github.com/MicrosoftDocs/windows-itpro-docs/pull/2894

@andreiztm Your fixes (this one and https://github.com/MicrosoftDocs/windows-itpro-docs/pull/2884/files) got lost in some build issues that we had yesterday but I'm restoring the changes so they should go live today. Thanks!


Allow +vterm/toggle to open remotely

When default-directory is remote, prepare the toggled vterm at remote
location. The added code is taken from multi-term-switch-buffer in multi-term.el.

Sure. Where should I put the function in? Assume it should not reside in the autoload.el. Maybe corresponding config.el?

No, it should be in the autoload.el, perhaps in a general +vterm--change-directory function that will change the current directory of the current vterm session (which will additionally handle tramp paths).

It seems vterm already handles directory change according to default-directory when it is not remote. So I named it `+vterm--change-directory-if-remote.

Thanks!


Empty test is generated for examples.algorithms.Graph

Description
During test generation one of the test contains only error from Concrete executor.
To Reproduce
Steps to reproduce the behavior:

Set UTBot setting Test generation method in between Fuzzer and Symbolic execution (that's important)
Open org.utbot.examples.algorithms.Graph class from UTBot Java project
Start generation of the tests for the class with `Do not mock' setting

Expected behavior
No empty tests are generated
Actual behavior
One of the error tests has no executable code:
    public void testGetTime_errors() {
        // Couldn't generate some tests. List of errors:
        //
        // 1 occurrences of:
        // couldn't find method disableClassCastExceptionCheck([java.lang.Object]) in org.utbot.api.mock.UtMock

    }

Additional context
That's quite old bug, reproducible in IDEA 2022.1.4 with UTBot build 165 (before process separation).
Happens only when test generation is divided between Fuzzer and Symbolic execution and not happens when one of them is 100%.

Didn't reproduce on https://github.com/UnitTestBot/UTBotJava/actions/runs/3191318852

As I found out it looks like there is some type of conflict between plugin utbot-api.jar and project one.
The utbot project I used for testing was quite old and didn't have commit which introduced UtMock.disableClassCastExceptionCheck(Object object) method. It seems that during test generation utbot-api module complied from old project code was used instead of utbot-api.jar supplied with the plugin.
I think we need some kind of investigation why it happens and how to prevent such problems in future, so we could safely use samples from the project and not worry about potential conflicts.

Additional context
Reproduced. Most assuredly UtMock class is used not from the installed plugin, but from the opened and built project.
Steps to reproduce

Open IDEA , install release build or plugin from main branch
Open UTBotJava project
Checkout any version before 06/06/2022
Generate tests for utbot-sample/src/main/java/org/utbot/examples/algorithms/ArraysQuickSort.java
Check Errors report in generated test

Expected behavior
Tests are supposed to be generated without errors.
Actual behavior
There is the following error test:


Exclude/Includes breaks recursive folder reading

I have the following configuration:
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>0.4.10</version>
<configuration>
	<sourceDirectory>${basedir}/src/main/api/schemas</sourceDirectory>
	<targetPackage>com.xxx.domain</targetPackage>
	<outputDirectory>${project.build.directory}/generated/jsonschema</outputDirectory>
	<removeOldOutput>true</removeOldOutput>
	<annotationStyle>jackson1</annotationStyle>
</configuration>

This breaks on Linux due to the .svn folders
[ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate (default) on project p1: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.4.10:generate failed: Error parsing document: file:/opt2/jenkins-data/jobs/Build-p1/workspace/src/main/api/schemas/.svn/all-wcprops: Unexpected character ('K' (code 75)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

Temporary removing .svn folder to test works brilliantly.
Adding Exclude/Include to only process *.json as shown below uncovers another issue
<includes>
	<include>*.json</include>
</includes>

When the above is added, only the schemas at the top level of the directory are read. The directory is not recursively read. This was working without the include. I also tried the below, but did not work either.
<includes>
	<include>**/*.json</include>
</includes>

Hi,
I have checked this issue out and I have discovered the source of the problem. When no includes/excludes are configured, the AllFileFilter is used which returns true on every check. However when include/excludes are configured, the MatchPatternsFileFilter is used instead. The problem here is with the directory check against include/excludes.
In the accept() method, !excludePatterns.matchesPatternStart(path, caseSensitive) is always returning false if the exclude list contains at least one item. By default the createFilter() method adds the default exclude list so this list is never empty.
This might be a misuse of the method matchesPatternStart().

This is an interesting case, thanks for digging in to the code! One option would be to simply apply includes/excludes to files and not directories. Some people might be dedending on the directory check though. Another, more powerful but also more complex option would be to support a proper directory match syntax (I would have expected the same ** syntax you have given above).
@ctrimble might have an opinion on the best course of action here.

That's what I did at the moment for a workaround, skipping directory check and base the checks at the file level. However I do agree with you that proper directory matching syntax would be the best solution.

@balinju I am sorry that you ran into issues with the file matching code.  It seems like we have 2 distinct issues here.
Issue 1: With no includes/excludes defined, the matching should be as though this was configured:
<includes>
  <include>**/*</include>
</includes>

Issue 2: Patterns containing ** are not recursing the file system.
Do these two items properly sum up the issues you are seeing?

One other note, the pattern *.json should only match items in the top level directory.  You need the ** pattern to match files nested in directories.

#340 should take care of the send issue.
@joelittlejohn should I submit a PR to exclude directories like .svn by default?  It seems like the behavior that every reasonable user would expect and want, but would narrow the possible directory structures.

Agreed. I think there's an argument for ignoring .* by default, but that
might be over-reaching. Ignoring .svn by default is a good feature IMO.
Thanks a lot for submitting these changes btw! Excellent stuff.
On 27 Apr 2015 23:26, "Christian Trimble"<EMAIL_ADDRESS>wrote:

#340 https://github.com/joelittlejohn/jsonschema2pojo/pull/340 should
take care of the send issue.
@joelittlejohn https://github.com/joelittlejohn should I submit a PR to
exclude directories like .svn by default? It seems like the behavior that
every reasonable user would expect and want, but would narrow the possible
directory structures.
—
Reply to this email directly or view it on GitHub
https://github.com/joelittlejohn/jsonschema2pojo/issues/332#issuecomment-96838501
.

Yeah agreed too. Thanks for the fix.

@joelittlejohn and @balinju I am going to get this other change into #340 and squash it into 2 commits, one for each issue.  I will comment there when it is ready to merge.

@balinju thanks for reporting this.  Your diagnosis was spot on.  I was filtering things that could possibly match an exclude pattern, instead of things that definitely matched an exclude pattern.

@ctrimble no problem :) Happy to have contributed.

Closed by #340.


subMatch doesn't work on AWS Tags with custom checks

For some reason the subMatch functionality doesn't work on AWS Tags.
TFSec Custom Check:
---
checks:
  - code: TAG_custom
    description: Custom check to ensure the Environment tag is applied
    errorMessage: The required Environment tag was missing
    matchSpec:
      action: contains
      name: tags
      value: Environment
      subMatch:
        action: equals
        name: Environment
        value: production
    requiredTypes:
    - resource
    severity: ERROR
    requiredLabels:
    - aws_lb

Test TF File (this one will pass the check even with the value being wrong):
resource "aws_lb" "test" {
  name                       = "test"
  internal                   = true
  drop_invalid_header_fields = "true"

  tags = {
    Environment = "test"
  }
}

The check only fails if Environment is missing completely like this:
resource "aws_lb" "test" {
  name                       = "test"
  internal                   = true
  drop_invalid_header_fields = "true"

  tags = {
  }
}

I tried various options of using predicates, but none of them worked and this is the simplest example that should work based on the documentation.

@grantkl  - the reason this isn't working is because the subMatch assumes that it is going to get a block to work with, I'm just looking at a workaround or fix

@grantkl - this is fixed in PR #775
Your check config would look like this;
---
checks:
  - code: TAG_custom
    description: Custom check to ensure the Environment tag is applied
    errorMessage: The required Environment tag was missing
    matchSpec:
      action: contains
      name: tags
      value:
        Environment: "production"
    requiredTypes:
    - resource
    severity: ERROR
    requiredLabels:
    - aws_lb

Note the value is a keyvalue pair, if you only wanted to ensure that there was an Environment tag, but didn't care about the value you would just use
value: Environment

or

value:
  Environment

@grantkl  - this is now available in v0.40.1

Nice! I'll try this out this week.