add adot bidder adapter documentation

This is related to: https://github.com/prebid/Prebid.js/pull/4949

released with 3.15


FunctionClauseError following a connection redirect

Environment

Elixir version (elixir -v): 1.13.4
TDS version (mix deps): 2.3.0
MSSQL Server version (SQL Server 2016 / 2019 / Azure SQL Edge): 2014 -  Microsoft SQL Azure (RTM) - 12.0.2000.8
Additional configuration parameter (ssl_opts, socket_options, ...): [ssl: true, show_sensitive_data_on_connection_error: true]
Operating system: Windows/Linux

Expected behavior
Running: TDS.Query(pid, query, [])
Expected: {:ok,  %Tds.Result{...}}
Actual behavior
Note: running with show_sensitive_data_on_connection_error: true
[error] GenServer #PID<0.1478.0> terminating
** (FunctionClauseError) no function clause matching in String.length/1
    (elixir 1.13.4) lib/string.ex:1968: String.length(:REDACTED)
    (tds 2.3.0) lib/tds/protocol/login7.ex:131: Tds.Protocol.Login7.encode_variable_login/2
    (tds 2.3.0) lib/tds/protocol/login7.ex:92: Tds.Protocol.Login7.encode/1
    (tds 2.3.0) lib/tds/protocol.ex:814: Tds.Protocol.login_send/2
    (tds 2.3.0) lib/tds/protocol.ex:530: Tds.Protocol.login/1
    (tds 2.3.0) lib/tds/protocol.ex:369: Tds.Protocol.connect/2
    (tds 2.3.0) lib/tds/protocol.ex:483: Tds.Protocol.decode/2
    (tds 2.3.0) lib/tds/protocol.ex:530: Tds.Protocol.login/1
Last message: nil
State: Tds.Protocol
** (EXIT from #PID<0.1442.0>) shell process exited with reason: killed

Troubleshooting
I understand the following occurs, leading to the error.
Summary of connection

the connection is setup with all resoiurces in the same Azure tenancy
DNS responds with the public IP
a Service Endpoint in Azure redirects the connection to a local address (i.e. on the same vnet)
Tds.Protocol.message/3 is called matching on :redirect
New hostname and port options are set and connect(new_opts) is called

There is a private function Tds.Protocol.clean_opts/1 which is called before the redirect takes place. i.e. the password field is overwritten with the atom :REDACTED, which in turn leads to the error (String.length/1 expects a string/binary).
Possible solution
Tds.Protocol.clean_opts/1 is called twice, once from Tds.Protocol.login_send/4 and in Tds.Protocol.message/3 where status matches on :login
If I am following the code correctly, I believe the call to Tds.Protocol.clean_opts/1 could be moved to the the :disconnect clause of the case statement in Tds.Protocol.login_send/4. This would ensure the password field is redacted, as intended, for both a connect and disconnect.
If you're happy with this approach, I would be happy to create a new PR and complete as proposed - alternatively I would be happy to assist in any other way.

Hi @muelthe
I just pushed a commit with your intended fix.
Could you give the master branch a try and check if it fixes you problem?

Hi @moogle19
I can confiirm that this fixes the problem.
Thank you ever so much!

@muelthe
Just released a new version (2.3.1) with the fix on hex.pm!


How to Change Axes Font Label Colors

I'm trying to figure out how to change the colors of the data labels for a particular chart (the ones along the axes). I know how to do it with global options, but can anyone help me by telling me how to do it on a chart instance?

These are called "Tick Labels" by the documentation.


Issue with time precision, while writing into the database.

I am trying to insert points into influxdb using default time precision(nanoseconds), the write succeeds  but looks like it is written badly as querying the same time series returns nothing.
influxDB version: InfluxDB v<IP_ADDRESS> (git: 0.9.4 da1b59e7d7764d36786253b2db13b97f42ed4e1d)
Document says by default it is inserted in nanoseconds -> doesn't work
current time in epoch
$ date +%s
1449516333
insert using line protocol
$ curl -i -XPOST 'http://<IP_ADDRESS>:8086/write?db=metrics' --data-binary 'cpu_load_short,host=server02,region=us-west value=0.55<PHONE_NUMBER>000000000'
HTTP/1.1 204 No Content
Request-Id: 92a447e3-9d17-11e5-8026-000000000000
X-Influxdb-Version: <IP_ADDRESS>
Date: Mon, 07 Dec 2015 19:20:27 GMT
query the inserted series: returns an empty result
$ curl -G 'http://<IP_ADDRESS>:8086/query?pretty=true' --data-urlencode "db=metrics"   --data-urlencode "q=select * from cpu_load_short"
{
"results": [
{}
]
}

On 0.9.6 the following curl commands return the proper results:
$ curl i -XPOST 'http://localhost:8086/write?db=metrics' --data-binary "cpu_load_short,host=server02,region=us-west value=0.55<PHONE_NUMBER>000000000"

HTTP/1.1 204 No Content
Request-Id: 85e540c7-9eb8-11e5-8006-000000000000
X-Influxdb-Version: 0.9
Date: Wed, 09 Dec 2015 21:05:06 GMT

$ curl -G "http://localhost:8086/query?pretty=true" --data-urlencode "db=metrics" --data-urlencode "q=select * from cpu_load_short"
{
    "results": [
        {
            "series": [
                {
                    "name": "cpu_load_short",
                    "columns": [
                        "time",
                        "host",
                        "region",
                        "value"
                    ],
                    "values": [
                        [
                            "2015-12-07T19:25:33Z",
                            "server02",
                            "us-west",
                            0.55
                        ]
                    ]
                }
            ]
        }
    ]
}

@prashleo Your timestamp is incorrect somehow.<PHONE_NUMBER> translates to Mon, 07 Dec 2015 19:25:33 GMT, but your curl output shows Mon, 07 Dec 2015 19:20:27 GMT.
You wrote a point into the future, which is why it was not returned. See https://docs.influxdata.com/influxdb/v0.9/troubleshooting/frequently_encountered_issues/#querying-after-now for more info.


Add a french version of the README

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


Consider use of mapperly over AutoMapper

The project currently uses AutoMapper to map between database models and data transfer objects, which uses runtime reflection.
We should look into using Mapperly which uses source generation and thus provides compile-time validation of mappings. It can also produce IQueryable expressions which would allow selecting fewer columns from the DB in certain places

Summon tickets are now mapped using mapperly c.f. #690, #675. This will be the standard going forward and AutoMapper usage will not be expanded.


pyproject.toml support

Since the configuration file is in TOML it shouldn't be too difficult to use pyproject.toml as the configuration file. Thoughts?

I like the idea :)

I made a Pull Request that handles Option 2.

Thanks for doing the PR, but I have concerns with Option 2.
First off, even if we broke retro-compatibility a few times, it's still something we prefer not to do if we have a choice.
Second,  tbump is not used solely with Python projects. Replacing tbump.toml  with pyproject.toml for a Javascript library would make little sense for its maintainers.
For these two reasons, I think we should go with Option 1, even if it does require a bit more code.

I am copying from the PR review:

I think you should keep tests running with tbump.toml, and add just one test dedicated on pyproject.toml support.
[...]
it will crash with KeyError if [tool] or [[tool.tbump]] section is missing

The main "problem" is that tbump.toml and pyproject.toml use different "schemas".
tbump.toml uses flat keys/sections, while pyproject.toml uses nested ones. Furthermore the tests often have hardcoded not just the configuration filename but the keys too (example). Consequently I don't really see how pyproject.toml can be thoroughly tested unless the tests are duplicated or heavily refactored (with some creative usage of pytest fixtures).

Note: Technically speaking it should be possible to insert flat keys into pyproject.toml too, but that would be against PEP-518.

I think that supporting option 1 requires some refactoring. Therefore I started to work on a new branch and I made a new PR.
Among other things, there are some issues that need to be discussed WRT the API. E.g. if both formats/schemas are to be valid and in use, then tbump init should offer a way to choose between the two (e.g. via a --use-pyproject flag or something). I did something, but you might prefer something else.
The PR is still WIP and I rebase often, but I would appreciate if you could have a quick look so that I have some high level feedback whether you are OK with where the changes are going.


[19.0.x] [WFLY-12834] Add documentation on the enabled-protocols attribute and indicate how it works when OpenSSL 1.1.0 or higher is in use

https://issues.redhat.com/browse/WFLY-12834
Depends on: https://github.com/wildfly/wildfly-core/pull/4138
master PR: https://github.com/wildfly/wildfly/pull/13152

@jmesnil Can you approve this PR? Mostly from a process point of view. I believe the WFCORE related to this will be in the release used for the next 19 release, so this doc change is appropriate. But you know better.


In readHCP(), deal with negative values

Since the signal in the HCP data is the magnitude of the complex signal, it should be non-negative. It therefore makes sense to set these values to zero or some other reasonable value. Zero might be troublesome, at least for b0 images, considering that you later divide the signal by the b0 signal.
Maybe impute with mean signal in air?

How about this:
if signal < 0:
if bval == 0:
signal = mean(signal(b==0))
else:
signal = 0

This functionality will be useful regardless of which data that is being used, so it should be part of a shared preprocessing class instead.


Offline mode not working

I have a mac computer and the online mode works perfectly.  I download the files for download for offline mode but when I go to the offline option it loads to 100 percent but nothing comes after that. Just the screen background. Any advice?

This is on the latest version of the app, right?

For now I'm going to assume this issue resolved itself.

I'm having the same issue on my android device.


Layout breaks when Grid is placed inside a ScrollView that is not within a NavigationView

First of all, thank you for this library.
I've been using it to develop my app, and it works really great when everything is inside a NavigationView, but I want to design the transitions between my views in a different way.
As the title mentions, they layout of the Grid completely breaks when it is placed within a ScrollView that is not itself within a NavigationView. If you drop the scroll view, and place the Grid within a VStack there are no layout issues, but the content overflows.
The funny thing is, that on redraw of the view, the layout fixes itself. So I think it has something to do with how GeometryReader works within a ScrollView the first time it appears.

@supernova32 would you mind posting the code of the view that is using Grid? (you can exclude not relevant parts just how it is nested and configured)

@ay42 sure, here is a snippet:
 var body: some View {
        ZStack {
            VStack {
                ScrollView(.vertical, showsIndicators: false) {
                    LogoView()
                        .padding(.top, 10.0)

                    Text("Featured Content")
                        .font(.subheadline)
                        .fontWeight(.semibold)
                        .padding(.top, 10)

                    FeaturedMedia()

                    Grid(contentData) { content in
                        if content.video {
                            NavigationVideoView(content)
                                .onTapGesture {
                                    self.envData.content = content
                                    self.showDetailView = true
                                }
                        } else {
                            WebImage(url: content.mediaUrl)
                                .renderingMode(.original)
                                .resizable()
                                .scaledToFit()
                                .cornerRadius(12)

                        }
                    }
                    .padding(.all, 5.0)
                    .animation(.easeInOut)
                }
                .gridStyle(
                    StaggeredGridStyle(.vertical, tracks: 2, spacing: 6)
                )
            }
        }
    }

With the view composed like that, the grid renders on top of each other, so it ends up showing only one element. If I wrap the ScrollView in a NavigationView it works as expected.
I tried my hand at changing the code that renders the Grid with this commit: https://github.com/supernova32/swiftui-grid/commit/505d5db83c7fa1e20fdda4e4085458111d2485cc and it fixed my issue. I'm sure that is not the correct way to do it, though 😅


zellij: 0.41.1 -> 0.41.2

Things done
Changelog: https://github.com/zellij-org/zellij/blob/v0.41.2/CHANGELOG.md
cc @therealansh @0x4A6F @wahjava @pyrox0

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] 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

[x] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357261

x86_64-linux

:x: 1 package failed to build:

zellij

aarch64-linux

:x: 1 package failed to build:

zellij

x86_64-darwin

:white_check_mark: 1 package built:

zellij

aarch64-darwin

:white_check_mark: 1 package built:

zellij

Why did you remove the check that makes sure that curl is not vendored? I added that to make sure that we don't accidentally start using the vendored version again.
I also think that that's what happens in this PR, I think we need to add a cargo feature to unvendor curl.

Why did you remove the check that makes sure that curl is not vendored? I added that to make sure that we don't accidentally start using the vendored version again.
I also think that that's what happens in this PR, I think we need to add the newly added cargo feature to unvendor curl.

I have put it back.
Since last release, they have introduced a global feature vendored_curl (enabled by default) to link against the vendored curl.
I have patched Cargo.toml  to remove it from the default features.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357261

x86_64-linux

:white_check_mark: 1 package built:

zellij

aarch64-linux

:white_check_mark: 1 package built:

zellij

x86_64-darwin

:white_check_mark: 1 package built:

zellij

aarch64-darwin

:white_check_mark: 1 package built:

zellij

I think you can also just set buildNoDefaultFeatures = true; and then explicitly set the features we want with buildFeatures = [ ... ];.

I initially thought about doing this but then realized that it would force us to check whether upstream adds new default features.
It would definitely be possible for us to forget to update buildFeatures accordingly.
This is less likely to "silently fail" IMO.

OK sure, I don't feel very strongly either way.
Looking at the diff now, did I forget to include runHook postInstallCheck in the previous PR?

Looking at the diff now, did I forget to include runHook postInstallCheck in the previous PR?

No, it is present I think:
https://github.com/NixOS/nixpkgs/pull/357261/files#diff-d39a6ee6aaa47fb932c8015f1261e68b92249c698411a0d7774f0d334463bef0R65

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357261

x86_64-linux

:white_check_mark: 1 package built:

zellij

aarch64-linux

:white_check_mark: 1 package built:

zellij

x86_64-darwin

:white_check_mark: 1 package built:

zellij

aarch64-darwin

:white_check_mark: 1 package built:

zellij


don't pass in --no-packages-dir

don't pass in --no-packages-dir - it's the default for pub get now


Change from basic psycopg to psycopg_pool

Is your feature request related to a problem? Please describe.
Yes, i'm currently using haystack pipeline & pgvector with FastAPI to serve embedding search but seems the current implementation of psycopg doesn't handle the reconnection after a long idle time Eg. overnight without any calls to API
the exception that thrown is psycopg.OperationalError: the connection is lost
Describe the solution you'd like
i'd like to implement psycopg_pool to make it better in handling lost connection also for anyone who serve it via API this
is more scaleable to use a connection pool.
Describe alternatives you've considered
Increasing DB Connection max lifetime but seems not a good practice, make a retry call to PG also doesn't work with current implementation, re-initiate the connection are impossible because of the connection var never be None once it initialized
https://github.com/deepset-ai/haystack-core-integrations/blob/60c666624cfb20a3600a28be074697fdf4cf2553/integrations/pgvector/src/haystack_integrations/document_stores/pgvector/document_store.py#L169-L173
Additional context
I'd be happy to make a PR for this myself, just want to make sure that I'm not missing anything before working on this.
open for discussion & also correct me if i'm wrong 🙇

Hey, @johantandy!
I understand the problem and I think we can do something to handle it... (although, I am not a DB expert)
The only perplexity is about using a different package: psycopg_pool.
Any other possible ideas? Or a draft of how you imagine the change?
(@silvanocerza)

Facing the same issue atm, but even for 5mins timeout.
Could be potentially use ?
https://github.com/supabase/vecs
cc: @anakin87

Hey @anakin87 @silvanocerza  just checking if this would worked on by the team or are you guys open to a PR

Sorry, I missed the discussion.
To be fair I don't see the benefit of a connection pool in this case, nor how it would solve the problem.
As of now the integration has at most one open connection and no more so why we need a pool of multiple connections?
The problem we have is that we open a single connection and keep it open as long as the Document Store exists. What we should do in my opinion is handle the connection context correctly, something that right we completely ignore.
If anyone wants to take care of that feel free to open a PR.

@octalpixel @johantandy any of you willing to take care of this using the connection context properly?
I would suggest taking a look at this first 👇
https://www.psycopg.org/psycopg3/docs/basic/usage.html#connection-context

This is up for grabs by anyone that want to fix how the connection is handled, see my above comment. ☝

@silvanocerza @julian-risch I would like to take up this issue.

@octalpixel @johantandy any of you willing to take care of this using the connection context properly?
I would suggest taking a look at this first 👇 https://www.psycopg.org/psycopg3/docs/basic/usage.html#connection-context

Hi Silvano, are you suggesting opening a new connection for each statement?
That would definitely make things cleaner and safer, but I'm a bit unsure about the impact of the repeated connection time on each PgvectorDocumentStore statement.
(An alternative might be to use PgvectorDocumentStore as a context... but that would break backward compatibility!)

How about just supplying a new connection to the document store like:

with psycopg.connect(...) as conn:
    db.document_store.connection = conn
    # query stuff

# connection closed

Currently, two main actions occur during connection setup:

Some preliminary setup operations are performed (e.g., drop, create, create index, etc.).
Two cursors are created.

I like @phiweger’s suggestion to use an external connection. This would streamline PgvectorDocumentStore’s role to handling SQL statements only, in line with the Single Responsibility Principle.
In this approach, the first argument of PgvectorDocumentStore.__init__ would be a connection, rather than a connection string (I’d prefer to avoid setting up a connection after the document store is instantiated).
PgvectorDocumentStore.__init__ would then take care of:

Performing the setup operations.
Creating the two cursors.

The challenge with this approach is that it would introduce backward incompatibility in the PgvectorDocumentStore constructor’s arguments

Thinking about it... @phiweger’s suggestion doesn't solve OP problem
I'm considering that the best thing is to have DocumentStore connect when needed, execute the appropriate sql and then disconnect (without maintaining an indefinite connection). I think this is the most stateless and clean approach... as I said, I have some small doubts about the impact of connection times

I believe there’s a simpler and more deliberate approach: split the functionality into two classes—PgvectorDocumentStore and PgvectorDocumentStoreConnected.

PgvectorDocumentStore:
This class would have the same interface as the current one, with identical methods and arguments. Its role would be to manage database connections (connect, commit/rollback, disconnect) and delegate actual operations to the methods of PgvectorDocumentStoreConnected.

PgvectorDocumentStoreConnected (or PgvectorDocumentStoreInternal):
This class would function like the current PgvectorDocumentStore, but without handling database connections. It would simply have a connection member, likely passed in through its __init__ method.

Advantages of this approach:

PgvectorDocumentStoreConnected can be used independently, for example, when a client already has a database connection or wants to manage transactions in a more complex or long-lived manner than a single method call.

Comments and observations much appreciated!

@depaolim I like the fact that you leave the interface intact and delegate "under the hood" to PgvectorDocumentStoreConnected . Also, this approach has the practical advantage that you could roll out the changes you proposed above quickly, including leaving edge cases uncovered but warned about. I very much like your design!

Hey guys...
Thanks for all the inputs, discussions and proposals.
I'll have a look later this week, so we can find a way to fix this.

I think I have fixed this in #1202.
You can find this change in the latest release: https://pypi.org/project/pgvector-haystack/1.1.0/
If you experiment with it, let me know if it solves your problem.


SCM pannel needs a better interactivity

If there are two repos in one workspace with a same submodule.
git_repo_a
 |_ submodule_c

git_repo_b
 |_ submodule_c

Source control panel looks like
git_repo_a
git_repo_b
submodule_c
submodule_c

I wish it looks like this kind.
git_repo_a
|_ submodule_c
git_repo_b
|_ submodule_c

https://github.com/microsoft/vscode/issues/101859

Duplicated in #101859, PLEASE UPVOTE IT THERE!


gh-370 Allow User & Group access icon for finalized models

gh-370 Updated the UI to show the Allow User & Group access icon when an element as the available action of finalisedEditActions. This will show the icon for finalized data models.
https://github.com/MauroDataMapper/mdm-core/issues/370

@jamesrwelch The mdm-ui build is failing because of the mdm-resources link step. Do I need to run a build for mdm-resources first?

@GBishop-PHSA Sorry about that, yes in case of that error the mdm-resources develop branch in Jenkins can be rerun which will try to redeploy it.


Searchban: Add Support to Include/Exclude Users with Roles

This flag would be useful in a variety of situations, however the most prominent would be in conjunction with the --no-pfp flag to help limit the scope of that ban further. See below conversation on r/futurism:

There's a similar, but different filter in role management.
I think I'd like to find a good way to merge the logic between these while still only allowing specific filters on specific commands without duplicating any logic. I may add support for this prior to doing that as a short-term handling, but it would be limited to a 1-off to support this relatively basic case if so.

a6e1210c40ee6e75b6bbc2a08636c5bbfceb0bbf


[CARBONDATA-1181] Show partitions

Show table partition information

Can one of the admins verify this patch?

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/118/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2692/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/617/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/142/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2717/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/642/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2722/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/147/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/649/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/173/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2751/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/680/Failed Tests: 1carbondata-pr-spark-1.6/org.apache.carbondata:carbondata-spark-common-test: 1org.apache.carbondata.spark.testsuite.dataretention.DataRetentionConcurrencyTestCase.DataRetention_Concurrency_load_date

@mayunSaicmotor Thanks for working on this. Please rebase to resolve conflicts

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2781/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/202/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/711/

LGTM


Updated for Vapor 2.0 pre-release

Thanks for the update @ksmandersen , however I would like to keep the master branch on the most recent stable version of Vapor. If you can make another pull request with a new Vapor 2.0 beta branch I'll merge it in and then merge it into master when 2.0 is out of beta.


Redistribute scroll button code

Move CSS and JS for scroll-to-top button from template to core.css, core.js,
add remaining button HTML back into base.html and delete the partial.
Code and markup remain unchanged (for now), only added comments + enclosed JS in event listener.

Needs to be rebased on main once #1177 is merged.

Hm, I think it would make sense to have the scroll to top code in separate js and css files, something like scrolltotop.js + scrolltotop.css

I think it'd be a good idea to discuss how we generally wanna handle CSS and JS going forward, including how things should get split up/out/off, new blocks in templates that CSS and JS should get wrapped in for easier overriding etc., at a JF.
It'd be easier/faster for me to refactor this again then, to whatever we decide, based on this PR than to redo the untangling. (Also because I already have more changes lined up based on this now. :grimacing:) So if this could be merged now, that'd be great.

Ticket for proposed JF discussion: #1240

js files separated depending on the templates the functions get loaded in. Eg if a function needs to be loaded in several locations it might need to be in a separate file, if several functions get loaded in the base template they can be put in one file.

naming convention:

module_name + js/css


Table Maintenance error

On my Demosystem (7.54? Abap Platform 1909 On premise) the method /ui2/cl_json=>serialize( ) has no FORMAT_OUTPUT parameter, so there is a syntax error in Z2UI5_CL_APP_DEMO_13.
I could run the test after commenting out the parameter
        format_output    = abap_true

in method  get_json_by_table( ).

thanks for the hint again!
i commented it out and updated the main branch.
unfortunately i have no chance to see this because i have only access to abap steampunk trial. i was sure that /ui2/cl_json is available but forgot to check the parameters. maybe i should start working only in pure abap and without any dependencies 😅


@hasMany not working with customized index name

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
GraphQL API
Amplify CLI Version
7.6.26
You can use amplify -v to check the amplify cli version on your system
What AWS Services are you utilizing?
GraphQL API
Provide additional details e.g. code snippets. Be sure to remove any sensitive data.
here is my graphql schema with @hasMany(indexName: "byService", fields: ["id"]) annotation. I have Service table which has a one-to-many with ServiceOption table. The thing is I am creating the ServiceOption item with a lambda function to directly put item into the ServiceOption table.
type UserInfo
  @model(mutations: { delete: null })
  @auth(
    rules: [
      { allow: public, operations: [read] }
      { allow: owner, operations: [read, update], ownerField: "owner" }
      { allow: groups, groups: ["Admin"], operations: [read, update] }
    ]
  ) {
  id: ID!
  email: String @auth(rules: [{ allow: owner, operations: [read] }])
  nickname: String
  bio: String
}

type Service
  @model(mutations: { create: null })
  @auth(
    rules: [
      { allow: public, operations: [read] }
      { allow: owner, operations: [read, update] }
      { allow: groups, groups: ["Provider"], operations: [create, read] }
      { allow: groups, groups: ["Admin"], operations: [read, update] }
    ]
  ) {
  id: ID!
  serviceOptions: [ServiceOption]
    @hasMany(indexName: "byService", fields: ["id"])
  name: String
  statement: String
  description: String
}

type ServiceOption
  @model(mutations: { create: null })
  @auth(
    rules: [
      { allow: public, operations: [read] }
      { allow: owner, operations: [read, update, delete] }
      { allow: groups, groups: ["Admin"], operations: [read] }
    ]
  ) {
  id: ID!
  serviceId: ID! @index(name: "byService", sortKeyFields: ["price"])
  service: Service @belongsTo(fields: ["serviceId"])
  name: String
  decription: String
  price: Float
}

type CreateResult {
  id: ID
  result: String
}

type Mutation {
  createService(name: String!, description: String!): CreateResult
    @function(name: "cvmBusinessHandler-${env}")
    @auth(rules: [{ allow: groups, groups: ["Provider"] }])
  createServiceOption(
    serviceId: ID!
    name: String!
    description: String!
    price: Float!
  ): CreateResult
    @function(name: "cvmBusinessHandler-${env}")
    @auth(rules: [{ allow: groups, groups: ["Provider"] }])
}

Here is lambda:
	/* Amplify Params - DO NOT EDIT
		API_CVMGRAPHAPI_GRAPHQLAPIIDOUTPUT
		API_CVMGRAPHAPI_REVIEWTABLE_ARN
		API_CVMGRAPHAPI_REVIEWTABLE_NAME
		API_CVMGRAPHAPI_SERVICEOPTIONTABLE_ARN
		API_CVMGRAPHAPI_SERVICEOPTIONTABLE_NAME
		API_CVMGRAPHAPI_SERVICETABLE_ARN
		API_CVMGRAPHAPI_SERVICETABLE_NAME
		API_CVMGRAPHAPI_SUBMISSIONTABLE_ARN
		API_CVMGRAPHAPI_SUBMISSIONTABLE_NAME
		API_CVMGRAPHAPI_USERINFOTABLE_ARN
		API_CVMGRAPHAPI_USERINFOTABLE_NAME
		ENV
		REGION
	Amplify Params - DO NOT EDIT */

	const AWS = require("aws-sdk");
	const dynamoDB = new AWS.DynamoDB.DocumentClient();
	const { v4: uuidv4 } = require("uuid");

	async function createSerivce(event) {
		const newService = {
			id: uuidv4(),
			name: event.arguments.name,
			description: event.arguments.description,
			owner: event.identity.sub,
			__typename: "Service",
		};

		await dynamoDB
			.put({
				TableName: process.env.API_CVMGRAPHAPI_SERVICETABLE_NAME,
				Item: newService,
			})
			.promise();

		return {
			id: newService.id,
			statusCode: 200,
			result: "result_str",
			body: JSON.stringify("Hello from Lambda!"),
		};
	}

	async function createServiceOption(event) {
		const newServiceOption = {
			id: uuidv4(),
			name: event.arguments.name,
			description: event.arguments.description,
			owner: event.identity.sub,
			// serviceServiceOptionsId: event.arguments.serviceId,
			serviceId: event.arguments.serviceId,
			__typename: "ServiceOption",
		};

		await dynamoDB
			.put({
				TableName: process.env.API_CVMGRAPHAPI_SERVICEOPTIONTABLE_NAME,
				Item: newServiceOption,
			})
			.promise();

		return {
			id: newServiceOption.id,
			statusCode: 200,
			result: "result_str",
			body: JSON.stringify("Hello from Lambda!"),
		};
	}

	/**
	* @type {import('@types/aws-lambda').APIGatewayProxyHandler}
	*/
	exports.handler = async (event) => {
		console.log(`EVENT: ${JSON.stringify(event)}`);

		try {
			if (event.typeName === "Mutation" && event.fieldName === "createService") {
				const result = await createSerivce(event);
				return result;
			} else if (
				event.typeName === "Mutation" &&
				event.fieldName === "createServiceOption"
			) {
				const result = await createServiceOption(event);
				return result;
			} else {
				console.error("error: ", error);
			}
		} catch (error) {
			console.error("error: ", error);
		}

		return {
			statusCode: 200,
			result: "result_str",
			body: JSON.stringify("Hello from Lambda!"),
		};
	};

I do have the item created in the dynamodb tables, hower the graphql query can't get the ServiceOption items:
query MyQuery1 {
  getService(id: "b41f0a5c-b667-4730-ba36-a600958ffd37") {
    serviceOptions {
      items {
        id
        name
        owner
        service {
          id
          name
          owner
        }
      }
    }
    id
    name
    owner
  }
}

query MyQuery2 {
  listServiceOptions {
    items {
      id
      name
      owner
      service {
        id
        name
        owner
      }
    }
  }
}

mutation MyMutation1 {
  createService(description: "desc", name: "serviceName") {
    id
    result
  }
}

mutation MyMutation2 {
  createServiceOption(description: "desc", name: "op", price: 1.5, serviceId: "b41f0a5c-b667-4730-ba36-a600958ffd37") {
    id
    result
  }
}

Here MyQuery2 can get service item with ServiceOption; however MyQuery1 will get an empty serviceOption list.

Hey @nxia416 :wave: thanks for raising this and apologies for the delay here!! Are you still experiencing this issue?


docs: improve ContractRequest api doc

What this PR changes/adds
Document contract offer schema.
Why it does that
because it has some required fields in it (@id, target, assigner)
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 74.56%. Comparing base (7f20ba5) to head (c579b38).
Report is 194 commits behind head on main.

Files
Patch %
Lines

...nt/contractnegotiation/ContractNegotiationApi.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4081      +/-   ##
==========================================
+ Coverage   71.74%   74.56%   +2.82%
==========================================
  Files         919      975      +56
  Lines       18457    19968    +1511
  Branches     1037     1120      +83
==========================================
+ Hits        13242    14890    +1648
+ Misses       4756     4595     -161
- Partials      459      483      +24

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


Skip some directory

Hi,
Is there currently a way to skip some dir (root dir or module) from npm-workspace process?
I didn't find it in code source.
Thanks in advance,
Mathieu

Not at the moment, everything in the workspace will be installed by npm-workspace.
Can you tell me what's the reason for excluding a dir/module? Just trying to understand the use case.

I have currently 2 use cases:
1/ Speed up deployments.
My project contains many modules and I deploy on several environments. Not all modules are required in each environment.
2/ Simplify deployment.

I would like to exclude root directory.
I install npm-workspace locally (not globally)

My package.json would have this form:
{
  "name": "my-project",
  "version": "1.0.0",
  "dependencies": {
    "npm-workspace": "^0.2.1"
  },
  "scripts": {
    "postinstall": "npm-workspace install",
    "clean": "npm-workspace clean"
  }
}

And installation would be in one single line:
npm install

I don't know your plans about workspace.json structure but we could imagine something like that:
{
  "links": {
    "my-subproject-1": "my-subproject-1",
    "my-subproject-2": "my-subproject-2"
  },
  "excludes": [
    ".",
    "my-subproject-3"
  ]
}

:+1:
I too think this would be a very helpful feature.
My use case is I have all work projects in one root directory with the workspace.json. They are all private npm packages, but a few of them are public. Those public ones I don't need npm-workspace installed each time, but I still need the ability to npm-workspace install them when I do upgrade those public packages either for node version or whatever and being able to link them to the private packages for testing is extremely useful.


Unknown error encounterd: ID=0

Hi, when setting up my Roomba 981, I get this error:
Logger: roombapy.remote_client
Source: /usr/local/lib/python3.9/site-packages/roombapy/remote_client.py:115
First occurred: 10:47:33 AM (1 occurrences)
Last logged: 10:47:33 AM

Unknown error encounterd: ID=0.Please report this to: https://github.com/pschmitt/roombapy/issues/new

Oh, it resolved on its own it seems!

#109


[Issue]: Bad software performing.

Debug Tips

[X] I'm sure I've read this project's Issues of README.

What happened?
The VRCT seem to be performing not really well. My settings are on a picture. It seems that VRCT cannot pick any lines and transcribe them for some reason. When i switch to base model it works 50/50, but either way the transcribing is very faulty and barely helps with supporting a conversation. Or, it doesn't work at all, because for some reason it doesn't catch the sound, or at least it seems so because there is no output.
I am pretty sure the case is that my CPU isn't doing too good handling this. I have Ryzen 5 5600x
Very waiting for a new update!!

APP Version
2.2.9
Runtime Environment
Windows 10
Country/Region
Europe
Relevant log output
No response
Screenshots
No response
Code of Conduct

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

If the weight data is large, processing is required for that amount of data, and if it is not matched to the CPU specifications, the transcription results may not come back at all.
We speculate that this may be due to the weight data of the AI model being too large for the CPU specifications to process.
Why not try lowering the model to a ‘tiny model’ or some other model with a smaller capacity?

If the weight data is large, processing is required for that amount of data, and if it is not matched to the CPU specifications, the transcription results may not come back at all. We speculate that this may be due to the weight data of the AI model being too large for the CPU specifications to process. Why not try lowering the model to a ‘tiny model’ or some other model with a smaller capacity?

I've tried it with smaller model, it is indeed has higher chances of working, but it still picks up voice unpredictably...


It seems something wrong with your demo yml configs ?

[x] I've read the Troubleshooting First Steps
[x] This request isn't a duplicate of an existing issue, opened or closed
[x] I've read the docs and followed them (if applicable)
[x] This is not a personal support request, that should be posted on discussions community

Describe the bug

I use your docker images and docker-compose to start yourls app. I just copy your yml cofings then to start it. But the logs tell me  MySQL Connection Error: (1045) Access denied for user<EMAIL_ADDRESS>(using password: YES)  , is there some thing wrong with your demo configs?
version: "3.1"

services:
  yourls:
    image: yourls
    restart: always
    ports:
      - 53080:80
    environment:
      YOURLS_DB_PASS: dfwHGud736H
      YOURLS_SITE: https://dwz.xxxxx.com
      YOURLS_USER: fdey273Hueb
      YOURLS_PASS: 284hdY2fe892

  mysql:
    image: mysql:5.7
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: djwu28w36svsyw82gs7

To Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Actual behavior

Screenshots

Versions
You can get this information from referencing CHANGELOG.md or the releases page.
Also, please include:

The OS and what version of the OS you're running.
Plugins or extensions activated if applicable.

Additional context

Thanks for opening this ticket @dingjianhub.
The password must be the same between YOURLS and MySQL to allow connection.

Thans a lot
But now a new question comes ! It tells me
Forbidden
You don't have permission to access this resource.

Apache/2.4.38 (Debian) Server at dwz.xxxxxx.com  Port 80

I use nginx to proxy yourls apps. How to kill it ?


Add minimal required version for each test

This adds functionality to define minimal required version through the
ADD_TEST* macros. Tests that don't meet the version requirement will
be skipped.
By default the minimal required version is set to 1.0, subsequent
patches will set the appropriate version for each of the tests.
Signed-off-by: Radek Szymanski<EMAIL_ADDRESS>

Since we have separate branches for OpenCL 1.2/2.0/2.1 tests, would it be easier just to set appropriate default version on each branch and avoid fine-grained tuning?

Since we have separate branches for OpenCL 1.2/2.0/2.1 tests, would it be easier just to set appropriate default version on each branch and avoid fine-grained tuning?

The goal is to have single branch (see #259), and this is one of the steps to achieve that.

Since we have separate branches for OpenCL 1.2/2.0/2.1 tests, would it be easier just to set appropriate default version on each branch and avoid fine-grained tuning?

The goal is to have single branch (see #259), and this is one of the steps to achieve that.

Sorry, I missed this


Support content trust offline

Ignore ping errors in notary repository setup since Notary is capable of acting in offline mode, making use of cache TUF data. When ping is not successful, notary should still be attempted without error.

On the off chance it's a temporary or one off interruption, is it possible to make a test that fails the initial ping but gets a valid 401 with challenge response during a later request? Just wondering what happens in that situation.
Otherwise, LGTM.

needs a rebase, @dmcgowan

LGTM

is this fixing a bug?

@jfrazelle yes. Currently any operation that has content trust enabled will fail when you're offline. It should attempt to use local cache, for which normal TUF expiry rules will apply.

ok

LGTM, but when reviewing this I noticed that we don't have a test for either a docker pull or a docker run with an offline notary-server and expired timestamp (> 3 weeks in the future).

Needs another rebase.

LGTM.  (but still needs a rebase)

LGTM


Allow sorting NaN values

This PR makes NaN be considered the lowest possible value (even lower than -Infinity).
Closes #2

// @sindresorhus

@Richienb Thank you!

Why are you removing existing tests?

Because @Richienb said so, my first approach was different.

@sindresorhus The modified tests just pass in more types of values to the already existing test cases.

That doesn't necessarily mean those existing tests are useless though. The ensure that nothing has regressed when sorting is done without NaN values.

@sindresorhus There is no NaN type.

@Richienb Not clear what your comment is replying too. If it's https://github.com/sindresorhus/num-sort/pull/3#discussion_r432312655, it's about docs, not types.

// @papb

Done, thanks!

Closed due to misclick :sweat_smile:

@sindresorhus Ready for re-review!


Improve PickleShard

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

Project coverage is 100.00%. Comparing base (7bf14a2) to head (7fe5db9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        27
  Lines          537       537
  Branches        41        41
=========================================
  Hits           537       537

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


🐛 [firebase_auth] Improved error message for blocked number

Bug report
i get FirebaseAuthException like this [firebase_auth/null] null, i'm using real phone number during test the app,
i tried several times yesterday, today i get this error but if i using my friend phone number it's ok and works
thanks in advance
Steps to reproduce
Steps to reproduce the behavior:

flutter run
login with my phone number
get the error and i had printed that error
 [firebase_auth/null] null

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel unknown, 1.20.0, on Microsoft Windows [Version 10.0.18363.1082], locale en-ID)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[!] Android Studio (version 3.5)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[!] IntelliJ IDEA Community Edition (version 2019.3)
    X Flutter plugin not installed; this adds Flutter specific functionality.
[√] VS Code (version 1.45.0)
[√] VS Code, 64-bit edition (version 1.45.0)
[√] Connected device (1 available)

! Doctor found issues in 2 categories.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.9.0
Flutter SDK 1.20.0
********* 1.0.0+1

dependencies:
- animations 1.1.2 [flutter]
- cupertino_icons 0.1.3
- dio 3.0.10 [http_parser path]
- firebase_auth 0.18.1+2 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0+1 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_html 1.0.2 [html csslib css_colors video_player chewie webview_flutter chewie_audio flutter_svg flutter]
- flutter_screenutil 2.3.1 [flutter]
- get_it 4.0.4 [async meta]
- google_sign_in 4.5.4 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- image_picker 0.6.7+11 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- photo_view 0.10.2 [flutter]
- pin_input_text_field 3.1.1 [flutter]
- provider 4.3.2+2 [flutter nested collection]
- shared_preferences 0.5.12 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]

dev dependencies:
- flutter_launcher_icons 0.8.0 [image args yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.4.2 [collection]
- boolean_selector 2.0.0 [source_span string_scanner]
- characters 1.0.0
- charcode 1.1.3
- chewie 0.9.10 [open_iconic_flutter video_player wakelock flutter]
- chewie_audio 1.0.0+1 [open_iconic_flutter video_player screen flutter]
- clock 1.0.1 [meta]
- collection 1.14.13
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.4 [collection convert typed_data]
- css_colors 1.0.2 [flutter]
- csslib 0.16.2 [source_span]
- fake_async 1.1.0 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.0 [http http_parser js]
- firebase_auth_platform_interface 2.1.1 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.1+1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_svg 0.18.1 [path_drawing xml vector_math meta flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- html 0.14.0+3 [csslib source_span]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image 2.1.18 [archive xml meta]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- intl 0.16.1 [path]
- js 0.6.2
- matcher 0.12.8 [stack_trace]
- meta 1.1.8
- nested 0.0.4 [flutter]
- open_iconic_flutter 0.3.0 [flutter]
- path 1.7.0
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.0
- petitparser 3.0.4 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.2 [meta]
- process 3.0.13 [file intl meta path platform]
- quiver 2.1.3 [matcher meta]
- screen 0.0.5 [flutter]
- shared_preferences_linux 0.0.2+2 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+1 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.7.0 [charcode collection meta path term_glyph]
- stack_trace 1.9.5 [path]
- stream_channel 2.0.0 [async]
- string_scanner 1.0.5 [charcode meta source_span]
- term_glyph 1.1.0
- test_api 0.2.17 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.2.0 [collection]
- vector_math 2.0.8
- video_player 0.10.12+4 [meta video_player_platform_interface video_player_web flutter]
- video_player_platform_interface 2.1.1 [flutter meta]
- video_player_web 0.1.3+2 [flutter flutter_web_plugins meta video_player_platform_interface]
- wakelock 0.1.4+2 [flutter]
- webview_flutter 0.3.24 [flutter]
- win32 1.7.3 [ffi]
- xdg_directories 0.1.0 [path process flutter]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]

Hi, please follow the issue template. We can't help without any details.

i'm sorry about that, now i had edited that with bug report format

Hi, please follow the issue template. We can't help without any details.

i'm sorry about that, now i had edited that with bug report format

@lypsisrudiansyah
Can you try the official firebase_auth plugin example and see if you get same exception ?

Well Sir, Everything is Ok now, phone number testing Ok, My Phone Number is Ok, And Other People Phone Number is Ok.
I think the reason is that my phone number number was blocked because I did too many operations, but now it's Ok and Works .but one thing still make me confused, the error returns when I was login with my phone number number like this
[firebase_auth / null] null.
if i get blocked we expect the error return is blocked or too many operation or operation not allowed etc.

@lypsisrudiansyah
Can you try the official firebase_auth plugin example and see if you get same exception ?

Well Sir, Everything is Ok now, phone number testing Ok, My Phone Number is Ok, And Other People Phone Number is Ok.
I think the reason is that my phone number number was blocked because I did too many operations, but now it's Ok and Works .but one thing still make me confused, the error returns when I was login with my phone number number like this
[firebase_auth / null] null.
if i get blocked we expect the error return is blocked or too many operation or operation not allowed etc.

@lypsisrudiansyah  If your phone is not set as Test Phone in the Firebase Console, and you submit some (I don't know how many) OTP requests, it starts to recognize as spam, and your number gets blocked. The exception, indeed, comes null. I've been through this issue and lost a few hours just because the error message wasn't clear (or, in this case, wasn't available).

@lypsisrudiansyah  If your phone is not set as Test Phone in the Firebase Console, and you submit some (I don't know how many) OTP requests, it starts to recognize as spam, and your number gets blocked. The exception, indeed, comes null. I've been through this issue and lost a few hours just because the error message wasn't clear (or, in this case, wasn't available).

@lypsisrudiansyah
Can you try the official firebase_auth plugin example and see if you get same exception ?

i'm sorry sir for slow respon i didn't get notification of this issue, but now it's ok and it's all fine

@lypsisrudiansyah
Can you try the official firebase_auth plugin example and see if you get same exception ?

i'm sorry sir for slow respon i didn't get notification of this issue, but now it's ok and it's all fine

I get triggered the verificationFailed callback with the FirebaseAuthException exception type. Inside the exception object, the property code is coming with a null value.
This error is still happening on firebase_auth: ^0.20.0+1.


SM: Changed QR codes for San Marino

@xmey95:
A PCR-Test should not have a "ma" field
If such DCCs are issued in San Marion, we will mark the example as special case to skip the automatic checks.
Please give feedback if this is the case


How can I use vue-scrollto inside a single file component?

I have previously included vue-scrollto in my main.js file which I use to instanciate my master Vue component.
I use vue-scrollto to have a smooth scroll when I click on an anchor link. I have 2 different components:

The element I click on
The view where the scroll happens (its class is .o-main-view)

Here how I included vue-scrollto in my main.js file:
import Vue from 'vue';
import VueScrollTo from 'vue-scrollto';

Vue.use(VueScrollTo, {
  container: '.o-main-view',
  offset: -90,
});

Here's the code attached to my first component, the element I click on:
v-scroll-to="`#anchor-${subcategory.id}`"

It works like a charm, but the only thing I can't do is calling a method in the component (my view) where the scroll happens.
I can't write in my main.js the following:
Vue.use(VueScrollTo, {
  container: '.o-main-view',
  onStart: this.myMethod,
  offset: -90,
});

This would refer to the file itself and not the component containing my view.
My question is: How can I call a method in my view component as soon as the scroll is triggered by vue-scrollto or the user?
Thanks in advance 😉

You have a couple options
Option A
Use the object syntax in the directive
v-scroll-to="{ el: "`#anchor-${subcategory.id}`", onStart: myMethod }"

Option B
Create a method for scrolling, and use the programatic API:
<element @click.prevent="scrollTo(`#anchor-${subcategory.id}`)" />

methods: {
   scrollTo(element) {
    this.$scrollTo(element, 500, { onStart: this.myMethod });
  }
}

Option C
Use an event bus, something like
Vue.prototype.$bus = new Vue({})
Vue.use(VueScrollTo, {
  container: '.o-main-view',
  onStart: (e) => Vue.prototype.$bus.$emit('scrollStart', e),
  offset: -90,
});

And in your component
created() {
  // listen to the scrollStart event on the $bus, and call myMethod
  this.$bus.$on('scrollStart', this.myMethod)
}

Haven't actually tested these options, so it's possible I made a typo or missed something, but should get you on the right track.

Thanks a lot for your detailed answer ;)
I managed to fix my issue by simply listening to the scroll event in my view component.
The thing is, the method I wanted to call was not directly tied to vue-scrollto. I only wanted it to be called when the scroll happened in the mainview.
data() {
    return {
        scrolled: false,
    };
},
methods: {
    handleScroll(e) {
        this.scrolled = e.target.scrollTop > 0;
    },
},
mounted() {
    this.$el.addEventListener('scroll', this.handleScroll);
},
destroyed() {
    this.$el.removeEventListener('scroll', this.handleScroll);
},

You can close the issue.
Have a nice day 😎


m.test is not a function when using filter

I'm using the filter setting suggested in #145 because the URLs I use don't have the usual image extensions.
If I use this filter though, I get the following error:
vue.esm.js?efeb:1717 TypeError: m.test is not a function
    at eval (baguetteBox.min.js?a8fa:7)
    at HTMLCollection.filter (<anonymous>)
    at eval (baguetteBox.min.js?a8fa:7)
    at NodeList.forEach (<anonymous>)
    at Object.run (baguetteBox.min.js?a8fa:7)

This is the code I use:
baguetteBox.run('div.owl-item', {
    'captions': 'true',
    'filter': '/.*/i'
 })

And an example of the HTML

When I remove the filter, I don't get the error, but baguettebox doesn't show up.
Any ideas?

Hi, actually the filter property should be a Regex, not a string. Try it with:
'filter': /.*/i

Ah, yes. That makes sense. Sorry about that. I'm a step closer to getting it to work now :)

Great :)


Add 'txsprofile'->'ini' to 'extensions.py'

txsprofile is an ini file used by TeXstudio

I am not sure whether txsprofile should be listed as type as well, please advise. Thx!


@discardableResult in StubResponse builder functions

Adding the @discardableResult on builder functions resolves compilation warnings when configuring the responsebuilder in several steps.
Ex: Result of call to 'stubResponse(withError:)' is unused

Do you have a sample use case that you could share? I don't have an issue with the change per se but I'm having a hard time to understand your use case. Wouldn't you always want to store the result of the last .build() call off into a variable so that you can pass it as response to a request?

static func stub(url: String,
with jsonFile: String,
withError error: NSError? = nil,
with method: HTTPMethod = .GET,
with statusCode: StatusCode = .success) {
    guard let data = TestUtils.dataFromJSONMock(withName: jsonFile) else {
        XCTFail("Could not access json file '\(jsonFile)'.")
        return
    }
    let responseBuilder = StubResponse.Builder()

    if let error = error {
       _ = responseBuilder
            .stubResponse(withError: error)
    } else {
         let body = data
       _ = responseBuilder
            .stubResponse(withStatusCode: statusCode.rawValue)
            .addBody(body)
    }

    let response = responseBuilder.build()

    var request = StubRequest.Builder()
        .stubRequest(withMethod: method, url: URL(string: url)!)
        .addResponse(response)
        .build()
    request.response = response
    Hippolyte.shared.add(stubbedRequest: request)
}

In the above function I'm passing an error as an optional argument and use the Builder of the StubResponse on this way. I'm configuring the Builder and don't care about results of every .build() and get the result only in the end.

👍 Makes sense, thanks for clarifying. Feel free to open a PR with the change, otherwise I'll get it done later today

Yes I will create a PR.


Add the ability to change the cache driver

In case you don't want to use the same cache driver as the application.
I think the test "testItCanRestartConsumer()" cover the modification, let me know if it's not enough.

Thanks!


Argument / parameter type should be in a single, encompassing code block

It feels like a type description should always be rendered using a code block. But it looks odd when some parts are in monospace font and others are in regular font. It also feels when when the background changes from grey to regular.
I'd like to have the type be rendered to be within a single code block while maintaining links to known types. This would make the rendering logic much simpler as the final type value is wrapped in a single  tag.
Ex:

Goal:

w/ the code for the first Literal being: Literal['left', 'right']	.
I had to add a css rules of:
main.content code a:not(.btn) {
  color: var(--bs-blue);
}

Agreed 😓. The one challenge right now, that I'm not sure how to address, is that when we turn the annotations into interlinks, we wrap them in code elements. e.g.
# some row in a type column

(TagChild)[`TagChild`] | (TagAttrs)[`TagAttrs`]

Our lua filter, then pics up the link elements pandoc creates from e.g. (TagChild)[`TagChild`], and tries to return a link to the relevant page in the docs.
I think if we wrap them in a  element in the qmd, then it should still turn the relevant pieces into links for the filter? I can tinker a bit with this next week!

Thank you! I tried on my side and ran into markdown limitations.

I believe the difficulty comes with being inside a markdown table.
Ex: File: test.qmd
| Parameter                                                                                | Description |
|-----------------------------------------------------------------------------------------------------------------------------|-------------|
| `*args: [TagChild](htmltools._core.TagChild) \| [TagAttrs](htmltools._core.TagAttrs] = ()`                                  | description |
| *args: [TagChild](htmltools._core.TagChild) \| [TagAttrs](htmltools._core.TagAttrs] = ()                       | description |
| *args: TagChild \| TagAttrs = () | description |

output
quarto render test.qmd --to native --output
Pandoc
  Meta { unMeta = fromList [] }
  [ Table
      ( "" , [] , [] )
      (Caption Nothing [])
      [ ( AlignDefault , ColWidth 0.9057971014492754 )
      , ( AlignDefault , ColWidth 9.420289855072464e-2 )
      ]
      (TableHead
         ( "" , [] , [] )
         [ Row
             ( "" , [] , [] )
             [ Cell
                 ( "" , [] , [] )
                 AlignDefault
                 (RowSpan 1)
                 (ColSpan 1)
                 [ Plain [ Str "Parameter" ] ]
             , Cell
                 ( "" , [] , [] )
                 AlignDefault
                 (RowSpan 1)
                 (ColSpan 1)
                 [ Plain [ Str "Description" ] ]
             ]
         ])
      [ TableBody
          ( "" , [] , [] )
          (RowHeadColumns 0)
          []
          [ Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain
                      [ Code
                          ( "" , [] , [] )
                          "*args: [TagChild](htmltools._core.TagChild) \\| [TagAttrs](htmltools._core.TagAttrs] = ()"
                      ]
                  ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "description" ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain
                      [ RawInline (Format "html") ""
                      , Str "*args:"
                      , Space
                      , Link
                          ( "" , [] , [] )
                          [ Str "TagChild" ]
                          ( "htmltools._core.TagChild" , "" )
                      , Space
                      , Str "|"
                      , Space
                      , Str "[TagAttrs](htmltools._core.TagAttrs]"
                      , Space
                      , Str "="
                      , Space
                      , Str "()"
                      , RawInline (Format "html") ""
                      ]
                  ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "description" ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain
                      [ RawInline (Format "html") ""
                      , Str "*args:"
                      , Space
                      , RawInline
                          (Format "html")
                          ""
                      , Str "TagChild"
                      , RawInline (Format "html") ""
                      , Space
                      , Str "|"
                      , Space
                      , RawInline
                          (Format "html")
                          ""
                      , Str "TagAttrs"
                      , RawInline (Format "html") ""
                      , Space
                      , Str "="
                      , Space
                      , Str "()"
                      , RawInline (Format "html") ""
                      ]
                  ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "description" ] ]
              ]
          ]
      ]
      (TableFoot ( "" , [] , [] ) [])
  ]

Row 2 seems fairly quick to implement! Will try within Shiny

Similar to #208 this will not be able to be solved without HTML code.
Closing here as a possible solution is provided in #208


dart fix for avoid_redundant_argument_values makes semantic changes when involving kIsWeb

dart fix for avoid_redundant_argument_values makes semantic changes when involving kIsWeb.
STEPS TO REPRODUCE

dart create dart_fix_test
Replace the dart_fix_test/bin/dart_fix_test.dart file as follows:

void test({ bool foo = true }) { }

const bool kIsWeb = identical(0, 0.0);

void main(List<String> arguments) {
  test(foo: kIsWeb);
}

Replace the analysis_options.yaml file as follows:

linter:
  rules:
    - avoid_redundant_argument_values

Run dart fix --apply

EXPECTED RESULTS
The analyzer and dart fix should magically know that identical(0, 0.0) is not a constant value despite it being a constant according to the language, and thus make no change to the code above.
ACTUAL RESULTS
The argument is removed, because kIsWeb is assumed to be true (which is weird in itself, but that's another story) and so the argument is removed. This is, of course, a significant semantic change.

The original CL where kIsWeb workaround was added is https://dart-review.googlesource.com/c/sdk/+/135781.

It looks fixed now with the CL landed.
dart_fix_test$ /Users/scheglov/Source/Dart/sdk.git/sdk/xcodebuild/ReleaseX64/dart-sdk/bin/dart fix --apply
Computing fixes in dart_fix_test... 3.6s
Nothing to fix!


Improve docs of get item

Original PR: #3571 (Thank you @naoto0804 for contribution!)

This is PR for improving docs of functions/links. Related issue: #2182
Modified functions/links:

chainer/functions/array/get_item

LGTM, I will merge soon.


[stable/airflow] make the minReadySeconds changeable

Is this a new chart
No
What this PR does / why we need it:
Which issue this PR fixes
Makes the minReadySeconds changeable
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@gsemet another small one

/lgtm
thanks for your contributions :)

@gsemet Thank you for responding so quickly :)


Missing Complete List of Properties & Their Order

Regarding the link in the Code Guide text, 'For a complete list of properties and their order, please see the property order for Stylelint used by Bootstrap'.
I have searched high and low but can't find it.

It's in the project's index.js.


Doesn't work...

Basically it doesn't work...
When i try to login i get no token.
When i try to say "salt up" i get:
[2016-01-30 07:10:06 UTC] ERROR: Lita::Handlers::Salt crashed. The exception was:
undefined method `strip' for nil:NilClass
Lita wan't start until you remove ENV[""], leaving only "login/password"
Or mayby i did something wrong?

@gelato Hey. Given you don't have any info concerning you config, let me ask:
Did you provide the authentication credentials for via environment variables?
Also, could you shed some light on what you meant by, Lita wan't start until you remove ENV[""], leaving only "login/password"?

Hey )
I'm setting auth credentials through config file:
Lita.configure do |config|
config.handlers.salt.url = "http://localhost:5417"
config.handlers.salt.username = "login"
config.handlers.salt.password = "password"
end
Soo, when i try to set login/password as it is in your guide (config.handlers.salt.username = ENV["SALT_USERNAME"]) lita won't start with exception "Username must be set(or password)"

FATAL: Configuration attribute "username" is required for "salt" handler. - this, to be precise

Yeah, i looked a bit more in ruby syntax and figured that i had to set ENV variables somewhere first )
So i set them in that ruby config and it works now just like in your guide, but...
When i try "salt login" i get confirmation and then empty token string.
And if i run "salt up" i get this from ruby(Ruby 2.2 btw):
[2016-02-02 07:02:34 UTC] ERROR: Lita::Handlers::Salt crashed. The exception was:
undefined method strip' for nil:NilClass Full backtrace: /usr/lib/ruby/2.2.0/net/http/header.rb:17:in block in initialize_http_header'
/usr/lib/ruby/2.2.0/net/http/header.rb:15:in each' /usr/lib/ruby/2.2.0/net/http/header.rb:15:in initialize_http_header'
/usr/lib/ruby/2.2.0/net/http/generic_request.rb:43:in initialize' /var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:62:in new'
/var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:62:in create_request' /var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in perform_request'
/var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in block in call' /var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in with_net_http_connection'
/var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in call' /var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in call'
/var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in build_response' /var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in run_request'
/var/lib/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in post' /var/lib/gems/2.2.0/gems/lita-salt-1.1.0/lib/lita/handlers/salt.rb:204:in make_request'
/var/lib/gems/2.2.0/gems/lita-salt-1.1.0/lib/lita/handlers/salt.rb:117:in manage_up' /var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/callback.rb:31:in public_send'
/var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/callback.rb:31:in call' /var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/handler/chat_router.rb:97:in dispatch_to_route'
/var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/handler/chat_router.rb:82:in block in dispatch' /var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/handler/chat_router.rb:72:in map'
/var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/handler/chat_router.rb:72:in dispatch' /var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/robot.rb:69:in block in receive'
/usr/lib/ruby/2.2.0/set.rb:283:in each_key' /usr/lib/ruby/2.2.0/set.rb:283:in each'
/var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/robot.rb:66:in map' /var/lib/gems/2.2.0/gems/lita-4.7.0/lib/lita/robot.rb:66:in receive'
/var/lib/gems/2.2.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/message_handler.rb:119:in dispatch_message' /var/lib/gems/2.2.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/message_handler.rb:159:in handle_message'
/var/lib/gems/2.2.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/message_handler.rb:18:in handle' /var/lib/gems/2.2.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/rtm_connection.rb:100:in block in receive_message'
/var/lib/gems/2.2.0/gems/lita-slack-1.7.2/lib/lita/adapters/slack/event_loop.rb:10:in block in defer' /var/lib/gems/2.2.0/gems/eventmachine-<IP_ADDRESS>/lib/eventmachine.rb:1067:in call'
/var/lib/gems/2.2.0/gems/eventmachine-<IP_ADDRESS>/lib/eventmachine.rb:1067:in `block in spawn_threadpool'

@gelato what version of lita bot are you using?

@gelato As of version 1.1, salt login is protected and will prompt you to confirm you're trying to run that command. Here's the flow (assuming from the shell adapter):
Lita > salt login
This command requires confirmation. To confirm, send the command "confirm abcdef"
Lita > @lita confirm abcdef
login successful
token: kwklweklewklweklewlkewlkwe
Lita > salt up

As you can see, you won't be able to grab a new token unless you confirm with the one-time pass supplied.

@jcockhren i'm using lita 4.7.0, after i try to login (salt-api through cherrypy only on localhost, no ssl) through lita (adapter - slack, but it doesn't really matter) i get this:
litaBOT
9:27 AM login successful
token:
If i run salt up after this i get the aforementioned error.

@gelato I've spun up a clean version of lita (4.7.0) and it works for me without issue. Have you tried testing login via the command line/terminal? I've tried the plugin against lita 4.7.0 and salt 2015.5.5 and it works smoothly from a clean setup.
Which version of salt are you using? (2015.8.0 had an issue around authentication via token for Salt-api](https://github.com/saltstack/salt/issues/27270)

@jcockhren i have 2015.8.4 (Beryllium) but the same error persisted on 2015.8.3
Login works okay - i can get token using curl through salt-api.
Why are you using such an old saltstack? 2015.8.4 is most recent one...

Why are you using such an old saltstack? 2015.8.4 is most recent one...

There are usually critical regressions between major versions of saltstack. It's more than a pain to discover them after you've upgraded your entire infrastructure. It's safer to lag behind to watch the bug fixes/issues.
In any case, I'll label this as a bug and test it against 2015.8.x

Thank you )

Sooo, any news...?

deprecating this repo

deprecating this repo


The window has crashed  (reason: crashed) - Insider

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: <IP_ADDRESS>
OS Version: Windows 10
7f8d8512-458d-42cf-b742-75d721407c42.zip

Steps to Reproduce:
I can't even start Vscode
NOTE: I created a crash dump and renamed the file .zip because github does not yet support .DMP files.

A restart of the computer fixed the problem. Still don't know what caused the issue in the first place though.


spurious comma

As of e492eb3998995e8930ed0fed4f2beeeab1fc1627, the last entry of compile_commands.json has a spurious "," character, making the JSON invalid.

Also noticed this issue

Closed by #49


Updating kernel release script to update source files with tags and release in separate scripts

Description
This PR updates the Kernel release script to separate updating  of source files with version tag and release in two separate scripts. This will enable generation of SBOM after the source files have been updated with version tags.
Test Steps
Tested on fork
Checklist:

[x] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Overall I'm not a fan of this change. We're overloading the 'release' script to now perform multiple duties. When I call the release script - I expect to see a release. Not a source code update. Adding yet another parameter to the the release script both corrupts the purpose of this script as well as increases complexity.
I'd prefer to see the version number bump and any other source changes which occur broken into their own script. Breaking this out would ensure modularity and encourage reuse across our repos.
I'm happy to disagree and move forward if other team members feel that this change is simpler.

Overall I'm not a fan of this change. We're overloading the 'release' script to now perform multiple duties. When I call the release script - I expect to see a release. Not a source code update. Adding yet another parameter to the the release script both corrupts the purpose of this script as well as increases complexity.
I'd prefer to see the version number bump and any other source changes which occur broken into their own script. Breaking this out would ensure modularity and encourage reuse across our repos.
I'm happy to disagree and move forward if other team members feel that this change is simpler.

@kstribrnAmzn make sense, I was trying to fix this with minimal modification to the existing script.
Now I have modified the PR to do this separately as 2 different scripts, which should be a more maintainable solution.

Thanks @tony-josi-aws! This is a lot more readable now :)


istioctl: support filter pod by labels for envoy-stats

Please provide a description of this PR:
Support filter pod by labels for envoy-stats
Printing here can filter Pods through label selector, but it was not implemented before：https://github.com/istio/istio/blob/master/istioctl/pkg/proxyconfig/proxyconfig.go#L598

The test result:
$ ./istioctl x envoy-stats -l app=nginx

The result of pod nginx-deployment-5f5c556c85-6hbjk:

cluster_manager.cds.version_text: "2024-08-05T03:08:07Z/6"
listener_manager.lds.version_text: "2024-08-05T03:08:07Z/6"
cluster.xds-grpc.assignment_stale: 0
........

The result of pod nginx-deployment-5f5c556c85-nhlk7:

cluster_manager.cds.version_text: "2024-08-05T03:08:07Z/6"
listener_manager.lds.version_text: "2024-08-05T03:08:07Z/6"
cluster.xds-grpc.assignment_stale: 0
........


An RFC requires tracking issue

So far it is a bit awkward for a newcomer to understand how a feature gets implemented after it is approved and started.
We requires creating a tracking issue for the RFC and close when it is rejected or completed. Of course, updated on progress made.
What do you think?
cc @BusyJay @nolouch @HunDunDM @disksing  @andylokandy

I suggest swapping step 1 and step 2. There is no need for a tracking issue to a very initialized RFC.

I suggest swapping step 1 and step 2. There is no need for a tracking issue to a very initialized RFC.

make sense. updated.

We requires creating a tracking issue for the RFC

When the RFC is accepted? That would make sense to track implementation. Since the RFC is a PR until it is accepted, there is no point having an issue as well as an RFC before it is accepted.
It would also make sense to let users file issues for things which they think should be RFCs, to give a space to discuss before taking the time/effort to write a full RFC.

We requires creating a tracking issue for the RFC

When the RFC is accepted? That would make sense to track implementation. Since the RFC is a PR until it is accepted, there is no point having an issue as well as an RFC before it is accepted.

Yes as mentioned here.

It would also make sense to let users file issues for things which they think should be RFCs, to give a space to discuss before taking the time/effort to write a full RFC.

Yes, here we focus on the requirement for an effort requires an RFC. The pre-RFCs story will be updated later as we discuss about where it would take place. Hopefully we reach a consensus and add the information as the rust-lang team mentions their ways

@BusyJay @nrc do you guys committers can help this pull request merged or we should involve others for the following progress.

@BusyJay @zhangjinpeng1987 could you help on the merging process?


Create config variable with sensible default for drunkensmee

Drunkensmee is our SSL cert generating container for kubernetes installs.  Its version is currently hardcoded.  We should expose this as a config file variable

This should wait until milestone 0.1 is complete at least (k2-recon tickets all complete, specifically)

this should be used as a placeholder for replacing this application with a more secure certification generation system


Fix: Not really

:tada: This PR is included in version 1.1.1-next-major.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Text annotation inconsistent w/ image

Summary
"One-to-one" changed to "One-to-many" to be consistent with the image and section content.
Fixes #21981

Hi @clarkbrent , thank you for submitting this PR. LGTM.

Hi , @IEvangelist , if you could review and approve the changes. Thank you.


[Vssue]localStorage变动监听 | RainyDay

https://fanzheming.github.io/Blog/views/前端/2020/localStorage变动监听.html

123

hello


[DO NOT MERGE] Test the alt_fp16 solution branch

The branch in this PR contains the changes associated with the alt_fp16 solution.
This branch should not be merged in the develop-upstream branch (at least for now) but instead should be periodically rebased.

verified resnet50 converges
step: 23750        evaluation metric: {'test_loss': 0.2333446, 'test_accuracy': 0.75906, 'continue_training': False}

monthly rebase for March pushed out
monthly rebase for Feb has been saved as the following branch
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/commits/deven/develop-upstream-alt-fp16-220203-rebase

Only one failure each in Ubuntu-CPU and Ubuntu-GPU-single and both are of the "flaky" variety (i.e. they sometimes pass, sometimes fail)
Ubuntu-CPU
http://ml-ci.amd.com:21096/job/tensorflow/job/github-prs-rocmfork-develop-upstream/job/rocm-latest-ubuntu-cpu/754/
...
//tensorflow/python/distribute/failure_handling:failure_handler_test     FAILED in 3 out of 3 in 235.4s
  Stats over 3 runs: max = 235.4s, min = 229.1s, avg = 231.2s, dev = 3.0s
...
...
Executed 3183 out of 3183 tests: 3182 tests pass and 1 fails locally
INFO: Build completed, 1 test FAILED, 39559 total actions

Ubuntu-GPU-single
http://ml-ci.amd.com:21096/job/tensorflow/job/github-prs-rocmfork-develop-upstream/job/rocm-latest-ubuntu-gpu-multi/776/
...
//tensorflow/compiler/xrt/tests:raw_api_test_gpu_cpu                     FAILED in 3 out of 3 in 20.7s
  Stats over 3 runs: max = 20.7s, min = 20.4s, avg = 20.5s, dev = 0.1s
...
...
Executed 867 out of 867 tests: 866 tests pass and 1 fails locally.
INFO: Build completed, 1 test FAILED, 34652 total actions
...

confirmed Resnet50 converges with the updated version
step: 21875        evaluation metric: {'test_loss': 0.23462065, 'test_accuracy': 0.7568, 'continue_training': True}
step: 22000        steps_per_second: 3.38        {'train_loss': 30.842016, 'train_accuracy': 0.76778126}
step: 22125        steps_per_second: 4.25        {'train_loss': 30.785086, 'train_accuracy': 0.76896095}
step: 22250        steps_per_second: 4.23        {'train_loss': 30.731768, 'train_accuracy': 0.76873046}
step: 22375        steps_per_second: 4.26        {'train_loss': 30.626675, 'train_accuracy': 0.77279687}
step: 22500        steps_per_second: 4.23        {'train_loss': 30.659723, 'train_accuracy': 0.7715039}
...
...
step: 22500        evaluation metric: {'test_loss': 0.23355909, 'test_accuracy': 0.75924, 'continue_training': False}


CAMEL-15525: fix incorrect main class name

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

If my understanding is correct and the fix is OK, maybe we should backport this to 3.4.x @oscerd @davsclaus. wdyt?

Yeah sure you should backport

Yeah it should be backported

Thanks! I'll do that.


Bower?

Hi @HugoGiraudel, any plans to add Bower support? ;)

Done with https://github.com/edenspiekermann/a11y-toggle/releases/tag/1.0.4.

Wow! Thanks!


Show active server and database in tab caption

Please add a caption to tabs that show selected server and database.
When you are working with many server at the same time is difficult to find the tab.

Hi @kattunga ,
Thanks for reaching us out. In the Connections grid there is a "Title" field. Whatever you fill in this field for each connection you be shown as a tab name alongside the technology icon.
Regards,
William Ivanski

In my case I open several times the same connection for work in different databases, I have about 100 databases in one server.
So if I set a title I will see the same title in each tab.
May be the caption could be automatically set as server+database when title is not defined for the connection.

That makes sense. When the title column was implemented OmniDB didn't have the ability to manage databases other than the one specified in the connection grid.
I liked your suggestion, my main concern is the size of the tab, server string tends to be large sometimes.

My 2 cents - we have multiple databases with same name and at first look adding the database name when title is present is kinda ugly. Not a big problem though, I can change the title generation logic or probably just remove this change from .js file locally.

I checked version 2.11, nice, thank you.

@raamets,
can you check if the current implementation in 2.11 works for you? If title is present OmniDB fills tab title with Tile - DATABASE. If there is no title OmniDB uses only the database.
Rafael

@rafaelthca
The Title + Database name looks a bit ugly for us. Currently I have no idea what the Title should look, so that our devs would like the solution. So I just changed a bit in our server the .js files and think about this later. No need to remove the DB name because of me.

Hi @raamets ,
This is actually good feedback, thanks. We want OmniDB to be usable for everyone's needs. We will think about the feasibility of adding a configuration option to either show/hide the database name in the tab title.
We will keep this open until we have some news about it.
Regards,
William Ivanski

Hi,
We decide to keep database name in tab title. Closing this now.
Regards,
William


sbt bootstrapping code does not honor sbt.override.build.repos

When running sbt inside a corporate network with internal repositories, sbt still tries to contact external urls. I was not able to prevent sbt from calling repo.typesafe.com.
steps

following "proxy repositories" setup like : http://www.scala-sbt.org/0.13/docs/Proxy-Repositories.html
because on the startup phase there were no repository access i decied to change the host resolution for "repo.typesafe.com" and "repo.scala-sbt.org" to resolve to <IP_ADDRESS> ( basically an ip without an http running )
now just start "sbt" ( with empty ivy cache )
after many minutes 3-4 Minutes of errors it will come up.

problem

sbt still tries to access repo.typesafe.com and scala-sbt.org :

` sbt
[info] Loading project definition from W:\workspaces\bmik\ms\sbt-test\hello\project
[info] Updating {file:/W:/workspaces/bmik/ms/sbt-test/hello/project/}hello-build...
[info] Resolving org.scala-lang#scala-library;2.10.6 ...
[error] Server access Error: Connection refused: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-library/2.
10.6/ivys/ivy.xml
[error] Server access Error: Connection refused: connect url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-lang/scala-li
brary/2.10.6/ivys/ivy.xml
[error] Server access Error: Connection refused: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-library/2.
10.6/jars/scala-library.jar
`

That whole startup took ages ( 3-4 Minutes , which schould be much much faster on a 10G local network )
After that sbt is up and "dependencies" inside a build.sbt work out of the box.

expectation
Should have run without errors, and much faster, because all dependencies are in our network local repository.
Currently this only effects the first startup, and inside our current environment there is internet access. But this will be a problem when we move some of the projects into secure network zones, where there is no internet access at all. Only the repository, then having errors on startup is quite ugly. Because our build Servers get thrown away often, this will be user visible.
notes
sbt version: 0.13.15

This report is now so old I'm guessing we should just close it and see if anyone re-reports the problem against a modern art version.

I am closing this due to inactivity. sbt 1.x series is hosted on Maven Central, so hopefully many of these issues are not super relevant, but please do re-report if anyone is hitting this.


ci: Test druid-derive-data and druid-derive-lens

Noticed that these two crates aren't currently being tested.

There's a reasonable argument that we should combine these two crates into one, you're allowed to have multiple derive impls in a single crate and it would make it easier to reuse code and validate attributes.

I'm also ok with combining them. At some point, there's probably a good argument for splitting Data and Lens out into their own crate, largely so that fancy datatypes can impl them without taking a dep on druid as a whole. But I think Data and Lens share the same fate here. There's other stuff I can imagine wanting to proc macro (stuff to synthesize property-sheet style UI) that should probably be separate because it does bring in more of a heavyweight druid dep.


Handle bumping version for dev dependency that doesn't have version

The version bump should not fail if a dev dependency doesn't have a version specified.

Fixed in #26.


Fix code scanning alert no. 3: Uncontrolled data used in path expression

Fixes https://github.com/IndustryFusion/DigitalTwin/security/code-scanning/3
To fix the problem, we need to ensure that the filename parameter is validated and sanitized before it is used to construct the file path. We can achieve this by normalizing the path and ensuring it is contained within a safe root directory. Additionally, we can use a library like sanitize-filename to remove any special characters from the filename.

Import the sanitize-filename library.
Normalize the path using path.resolve to remove any ".." segments.
Check that the normalized path starts with the root directory.
If the path is invalid, return an error response.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

@dependabot rebase


Highlight some features in README

I propose to highlight some features in the README after the examples.
This is a WIP since the CLI PR is not merged yet.

I like this idea. Maybe we could also add a "features" or "highlights" section to the docs (in another PR).


Prints the same graph for any repo

gh contribs prints the same graph for any Github repo I've checked out
gh extension install mintarchit/gh-contribs ran today.
gh version 2.20.2 (2023-02-10)
OS: FreeBSD 13.1

@MintArchit Thanks.


Can't get graph image

Description of the warning to come, but graphs no

@Okil and how am I suppose to know what are you trying to do?

It is not the answer for "what are you trying to do".
@Okil , everything is working on my zabbix. See wiki / README for details.

@Okil , so, will you share any input / output? Or it can be closed as invalid issue?


ops: Alerts and audit

Addresses:

AC-2(3)
AC-6(9)
AC-6(10)

Partially addresses:

AU-6

Closed code included in https://github.com/justicecanada/otto/pull/103


[Question] swagger codegen not working in generated lib when useNxPluginOpenAPI:true

Relates to #589.
I'm having issues with nx codegen [generated-swagger-lib] created via nx g [app] useNxPluginOpenAPI:true

@trumbitta/nx-plugin-openapi executes npx openapi-generator-cli which errors because it's missing the scope (@openapitools/openapi-generator-cli)

Is npx capable of resolving this without the scope for you @AgentEnder?

Potential clue:   npx looks to resolve it if the package is already installed globally

Can you try running yarn or npm I and then retracing the command? We may not be running the necessary install after generation.

Yes, this solves the issue.
On closer inspection @openapitools/openapi-generator-cli was added to to workspace's package.json by @trumbitta/nx-plugin-openapi.
Which of the two plugins doing generation here is responsible to install?  or is this expected to be a manual step?

perhaps related, immediately after generating the webapi app itself:

the build dependency works, but any other target produces a similar result (serve/lint/etc)

C:\Users\CML0906\Source\nx-trends>nx swagger test-api

> nx run test-api:build  [existing outputs match the cache, left as is]

Executing Command: dotnet "--version"
7.0.102
Executing Command: dotnet "build" "C:\Users\CML0906\Source\nx-trends\apps\test-api\NxTrends.TestApi.csproj" "--configuration" "Debug" "--no-dependencies" "--verbosity" "minimal"
MSBuild version 17.4.1+9a89d02ff for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  NxTrends.TestApi -> C:\Users\CML0906\Source\nx-trends\dist\apps\test-api\net7.0\NxTrends.TestApi.dll
  Checking module boundaries for test-api

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.03

> nx run test-api:swagger

 >  NX   Could not find project "test-api"
   Pass --verbose to see the stacktrace.

 ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target swagger for project test-api and 1 task(s) they depend on (693ms)

    ×    1/2 failed
    √    1/2 succeeded [1 read from cache]

Scratch the observation about nx build test-api working despite nx swagger test-api not.   The nx-cache is at play here.

We should be running an install task, I'll double check why its not getting hit.


Remove transitive loads

Fixes #54
This change creates explicit exports for all rules/macros in defs.bzl instead of relying on the deprecated behavior of implicitly exporting loaded symbols.

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

Just a heads up: the buildifier check is failing because the latest version of the tool does not appear to have a -showlog flag. I ran it locally to make sure it's formatted properly. Maintainers, let me know if you want me to remove or change the flag to get CI passing.


musig2 wrappers over libsecp

This PR  aims to update the library so that the end users do not need to make calls from secp256k1 as mentioned in #30. The following list provides the changes:

Library functions are updated not to take any secp256k1 parameters, including secp256k1_context. Context creation is now handled in library functions.

Defined constants renamed, i.e., SCALAR_BYTES is changed to MUSIG2_SCALAR_BYTES.

A new type (musig2_pubkey) representing the x_only public key of  secp256k1 is defined. MuSig2 library does not require full-size public keys; thus,  instead of calling secp256k1_xonly_pubkey, users will call musig2_pubkey.

The function musig2_prepare_signer_to_register is created. This function

serializes signers' public key and batch commitments in compressed format,
called by musig2_prepare_signer_to_register,
returns serialized_pk (33-byte) and serialized_comm_list, which is a list of 33-byte commitments with V * NR_MESSAGES elements. So, after initialization, these return values can be directly used to register the signer (Collecting public keys and batch commitments.

Verification of the final signature with secp256k1_schnorrsig_verify is implemented in the library function musig2_verify_musig2.

Note that the documentation and comments are not completed yet.

This closes #30.

Sorry, for the double comments. I'm using the code editor to review the PR and something clearly went wrong 😅

library abstracted from libsecp