OAuthJS - callback redirect allways to the same page /index.html

Do you support or plan to support differet redirect page? Maybe it's a good idea to store address in session/local storage and redirect back after obtaining token ?

I don't follow. It's a sample and the callback is configurable.

Sure i know. But i'm thinking about mechanism that callback will always redirect to source page (page from which redirect occured)

The OAuthJS sample is really a place to showcase the token manager library and the different ways it can provide callbacks.

Sure i understand this. But according to this demo I'm asking if there is any mechanism i can use to redirect user back to page from which he was redirected?  Because I understand that this address isn't stored anywhere and isn't returned from openId server.

Just configure the token manager settings to use the current page, and then you'd have to ensure that URL is also configured as a legal redirect URL in the client config in IdSvr.

Sure i get it. But then I'd have to implement some custom logic depended on QueryString like you did in  https://github.com/IdentityServer/IdentityServer3.Samples/blob/master/source/Clients/JavaScriptImplicitClient/index.html
 if (window.location.hash) {
            handleCallback();
        }

I thought that i'd be better to have callback as separate webpage, like in this demo https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/OAuthJS/JsImplicitOAuthLibraryDemo .

Yes, in general it might make the most sense to put callback logic into a dedicated page (especially since that's where the token handling will be).

That's summary of my question. Then I have to write mechanism to store initial address somewhere (local or session storage perhaps) before redirecting and after processing callback redirect back.

Ok, then that's why I've not been very helpful on this thread -- because I'm still confused. What address? You code the client to know which callback page you are using, that URL is then used in the config in the client app for the redirect, and then you also need configure that URL in IdSvr. What am I missing?

Ok i'll try to clarify.
You have application with implicit flow.

navigatge to page example.com/restricted.html which requires authentication.
redirect to server for log in
end user fill login form
end user is redirected to example.com/callback.html page, query string is parsed and token goes to store.
?

Problem is that User remains on callback page. I have to redirect him back to example.com/restricted.html (page which he wanted to open) this address isn't stored anywhere.
I understand that i can treat example.com/restricted.html as callback page but i don't want it. I'd prefer separate callback page.
My possible solution:

navigatge to page example.com/restricted.html which requires authentication.
store current url (example.com/restricted.html) in sessionStorage
redirect to server for log in
end user fill login form
end user is redirected to example.com/callback.html page, query string is parsed and token goes to store.
read url from sessionStorage and redirect to (example.com/restricted.html)

Oh I see now -- you need to remember the original URL the user requested. So yes -- that's normally done with some state management within your client app -- like you suggested: local storage, cookie, something.

ok ;) thanks finally.

@brockallen is this still the case? Can't we pass an additional querystring param to the authorise endpoint (signifying the original url), which IdSrv can then echo back in the redirect uri along with the token? Using cookies/locskstorage etc to remember a url seems hacky..

Because you don't want open redirect attacks.


[ShrinkBorrowScope] Don't hoist over begin_borrows.

While it is sometimes valid to hoist over begin_borrows of copies of the borrowee, it is not always valid, as the test case committed here illustrates.  As a future optimization, we can reenable this hoisting with the appropriate condition.

@swift-ci please test and merge


InjectorServer TypeError: Cannot read property 'handle' of undefined

This occurs while I am running a pretty intense test script against my code, so a lot of stuff is happening quite quickly.
TypeError: Cannot read property 'handle' of undefined
    at checkRefProperty (~/.nvm/v0.11.14/lib/node_modules/node-inspector/lib/InjectorServer.js:73:32)
    at ~/.nvm/v0.11.14/lib/node_modules/node-inspector/lib/InjectorServer.js:32:7
    at Array.forEach (native)
    at V8Debug.debug.serializeAndCacheMirror (~/.nvm/v0.11.14/lib/node_modules/node-inspector/lib/InjectorServer.js:30:23)
    at eval (eval at WRAPPED_BY_NODE_INSPECTOR (~/.nvm/v0.11.14/lib/node_modules/node-inspector/node_modules/v8-debug/v8-debug.js:113:15), <anonymous>:118:22)
    at Array.map (native)
    at Console.eval [as log] (eval at WRAPPED_BY_NODE_INSPECTOR (~/.nvm/v0.11.14/lib/node_modules/node-inspector/node_modules/v8-debug/v8-debug.js:113:15), <anonymous>:117:47)
    at Object.doSomething (~/test/test.js:184:10)
    at _.extend.DO_THE_THING (~/test/test.js:65:21)
    at ~/test/test.js:78:11

Hm... Are you using --harmony flag in test?

Nope

@dillonkrug can you reproduce the problem using the latest Node Inspector version on Node v0.12 or io.js 1.x?


Changed icon for the lawn to grass

Change icon for lawn

Oooh, nice touch.

More to come! Check out this next PR for more goodies!


Gatsby Build: Parse Error On Resolve Relation

Hello,
I'm getting a parsing error when I gatsby build my gatsby site.
gatsby clean & gatsby build
[1] 84360
info Deleting .cache, public
info Successfully deleted directories
[1]  + 84360 done       gatsby clean
success open and validate gatsby-configs - 0.724s
success load plugins - 0.684s
success onPreInit - 0.010s
success delete html and css files from previous builds - 0.016s
success initialize cache - 0.025s
success copy gatsby files - 0.061s
success onPreBootstrap - 0.005s
success createSchemaCustomization - 0.007s

 ERROR #11321  PLUGIN

"gatsby-source-storyblok" threw an error while running the sourceNodes lifecycle:

Parse Error

  Error: Parse Error

  - stream_base_commons.js:145 TLSWrap.onStreamRead
    internal/stream_base_commons.js:145:17

not finished source and transform nodes - 5.281s

This happen only when I add a specific relation to resolve called launch_case_study.case_studyt that is identical to the launch_insight.insight.
Both are a single-option story selectors and they only change in the path of the story to choose from.

Any idea why?
Thank you

@michelesketchin It's been a while since we had communication on this issue, so I'll close this issue for now. But let me know/feel free to re-open this issue if you still face this issue.


done

I include a feature in search bar in which when user click on icon he/she automatically go to search bar and adjust the footer
Motivation and Context

Uploading Recording 2024-06-09 145528.mp4…
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Uploading Recording 2024-06-09 194921.mp4…

@GOURAVSINGH19 please link the issue using Hash(#) followed by the issue number.
And also while making a PR make sure that the title indicated the issue that was solved.

may it is done

and one more thing I saw your github profile you have knowledge about three.js . actually  I am making my portfolio using r3f  in which in use my 3d model  but I face some problem so I need your
If you have time for me  then I share my portfolio github with you..

@sanket95droid


Configuration Comparison cmdlet

Use Case 1. Then run a compare to see what has changed. New hosts, New volumes, Snaps, DNS, Users etc.. the who 9 yards..
Use Case 2. Allow dump to dump comparisons from different dates/times
Use Case 3. Compare 2 different arrays. The will allow you to compare hosts access, Common Global settings. Etc..
Use Case 4. Automate a way to make central configuration changes and push to all arrays.

This is similar to Sync-FlashArrayHosts need to add functionality to cover use cases.

Should include simple reporting for use cases that output comparisons.


Fix "KeyError: 'creator'" bug with private events

Adds missing check on nested dictionary access

@jcrowgey, can you take a look now?

Updated to fix merge conflicts with master. @jcrowgey LMK if you want to review and sign off, otherwise I can take over for you and get it merged.

It would take me some time to recover the context.  I'm happy to hand it off to you.
On August 22, 2024 9:47:25 PM PDT, David Barnett @.***> wrote:

Updated to fix merge conflicts with master. @jcrowgey LMK if you want to review and sign off, otherwise I can take over for you and get it merged.
--
Reply to this email directly or view it on GitHub:
https://github.com/insanum/gcalcli/pull/562#issuecomment-2306284875
You are receiving this because you were mentioned.
Message ID: @.***>


Support Corretto JVM

It would be great if we could do:
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.corretto("17"))

@erikvanoosten This has been released in sbt-github-actions version v0.22.0 which should already be on maven.


how to get threshold from chefboost as in the notebook

tmp_df = df[['distance', 'decision']].rename(columns = {"decision": "Decision"}).copy()
model = chef.fit(tmp_df, config)

sigma = 2
#2 sigma corresponds 95.45% confidence, and 3 sigma corresponds 99.73% confidence

#threshold = round(tp_mean + sigma * tp_std, 4)
threshold = 0.3147 #comes from c4.5 algorithm
print("threshold: ", threshold)

These are from the finetune notebook and the threshold is hardcoded.
How can I get the threshold from the c4.5 algorithm?

Once you call the fit command of the chefboost library, then it is going to create a file at current_folder/rules/rules.py. Here, you are going to see the threshold value.


Fix references to sub-templates in parent templates to not point at development

Issues:
Fixes #90
Problem:
In the kilo branch, the references to sub-templates should refer to
other templates in the kilo branch on github.
Analysis:
Fixed the references.
Tests:
Tests all pass

Merging reference fixes.


minValue cannot be zero

If zero (0) is used as the value for minValue then the validation will still pass if a negative number is provided

This is a nasty case of truthy/falsy going on.


0.15.0 upgrade

Additions/Fixes

Incorporated fixes from current pull requests (8)
Added missing 0.15.0 functionality
Databricks Delta compatibility
incremental_strategy = merge (Databricks) or insert_overwrite
Additional model config options: partition_by, cluster_by, num_buckets, location
Cache schema and relations
Updated README

dbt-integration-tests all pass. I haven't added many unit tests at this stage, so this is something to work on.

@SamKosky Thank you for your tremendous effort for this plugin!  I have a question about the table overwrite.  When the model is a "table", the current behavior is to drop and create the table. Since spark doesn't support the transaction, it is not good to drop the table first. I noticed that your change will do a temp table and rename, which is great! I wonder if we have some use cases just want to overwrite the target delta table, using  "Insert into overwrite" statement https://docs.databricks.com/spark/latest/spark-sql/language-manual/insert.html. In this way, we can leverage delta table time travel to rollback if needed. Any suggestions on how to make it as an option?

@SamKosky Thanks for your contribution. I have a question about table overwrite. When model is a "table", the current behavior is to drop and create the table. Since spark doesn't support the transaction, it is not good to drop the table first. I noticed that your change will do a temp table and rename, which is great! I wonder if it is possible to support "Insert into overwrite" statement https://docs.databricks.com/spark/latest/spark-sql/language-manual/insert.html. In this way, we can use delta table's time travel feature. Any suggestions on how to make that an option?

@SamKosky Thanks for your contribution. I have a question about table overwrite. When model is a "table", the current behavior is to drop and create the table. Since spark doesn't support the transaction, it is not good to drop the table first. I noticed that your change will do a temp table and rename, which is great! I wonder if it is possible to support "Insert into overwrite" statement https://docs.databricks.com/spark/latest/spark-sql/language-manual/insert.html. In this way, we can use delta table's time travel feature. Any suggestions on how to make that an option?

@SamKosky Thanks for your contribution. I have a question about table overwrite. When model is a "table", the current behavior is to drop and create the table. Since spark doesn't support the transaction, it is not good to drop the table first. I noticed that your change will do a temp table and rename, which is great! I wonder if it is possible to support "Insert into overwrite" statement https://docs.databricks.com/spark/latest/spark-sql/language-manual/insert.html. In this way, we can use delta table's time travel feature. Any suggestions on how to make that an option?

@tongqqiu if you want to use the delta functionality, you need to change your materialisations to incremental. Check out the updated README - once you've changed your model config to use materialized='incremental you then need to choose between an incremental_strategy of insert_overwrite (the default) or merge. This takes advantage of the new Databricks Delta functionality. We're using this for one of our clients and it seems to be working well 😄

@SamKosky Thanks for your information. I am working a PR to make snapshot working on spark delta format. Please take a look when you have time https://github.com/SamKosky/dbt-spark/pull/1

Update: @beckjake has offered to rebase this, in time for a release next week. Let me know if that's okay by you, or if you'd prefer to see it through yourself.

@jtcohen6 @beckjake that sounds amazing! I've been pretty flat out with work at the moment so might not have the time to get to this. Much appreciated!


Fix Elyra container image makefile target

Follow up to https://github.com/elyra-ai/elyra/pull/1531, which updated the Makefile but didn't update the corresponding documentation.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

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

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

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

@marthacryan - could you please take a look at the jest failures in the CI tests


request for advice on making databases active

I'm connecting with HTTP to set up a store, I POST an assembler, and there is a new folder/DB set up (I looked inside the docker instance) but this new store is not reported with a /$/datasets call, and I cannot activate it as expected with HTTP - I've done a POST of {URL}/$/datasets/{DB_NAME}?state=active but it isn't seeming to be activated. ( https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html )
Advice appreciated please

Thank you @pwin for opening this issue in this repository.
Here are some information that will certainly help you and others that will go on this issue to understand this issue.
Start a Fuseki instance
Start Fuseki with GeoSPARQL support using the following command:
docker run --rm -p3030:3030 -it ghcr.io/zazuko/fuseki-geosparql:v2.0.1

This will expose Fuseki to the 3030 port.
Note about permissions
Administrations tasks requires credentials as specified in the README.md file.
Default credentials are: admin / admin.
You can use the -u option of curl to send credentials.
If you try to perform restricted requests without sending the right credentials, you will get something like this:
> curl -v http://localhost:3030/$/datasets

*   Trying ::1:3030...
* Connected to localhost (::1) port 3030 (#0)
> GET /$/datasets HTTP/1.1
> Host: localhost:3030
> User-Agent: curl/7.77.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Date: Wed, 16 Feb 2022 21:00:36 GMT
< WWW-Authenticate: BASIC realm="application"
< Content-Length: 0
<
* Connection #0 to host localhost left intact

Note the 401 Unauthorized in the response headers.
I'm using the -v option from curl to inspect the response headers, because without it you will only see an empty response.
Fetch datasets
By default, the Docker image creates a dataset named ds.
So if we run the previous request by adding credentials, we should get this:
> curl -u admin:admin 'http://localhost:3030/$/datasets'

{
  "datasets" : [
      {
        "ds.name" : "/ds" ,
        "ds.state" : true ,
        "ds.services" : [
            {
              "srv.type" : "gsp-r" ,
              "srv.description" : "Graph Store Protocol (Read)" ,
              "srv.endpoints" : [
                  "get" ,
                  ""
                ]
            } ,
            {
              "srv.type" : "query" ,
              "srv.description" : "SPARQL Query" ,
              "srv.endpoints" : [
                  "query" ,
                  "sparql" ,
                  ""
                ]
            }
          ]
      }
    ]
}

Create a new dataset
Using the web interface
You can create a new dataset directly from the UI: http://localhost:3030/#/manage/new
But this will not be GeoSPARQL datasets.
Using a simple POST request
If you create the dataset using the following command, you will also have the same issue:
curl -u admin:admin 'http://localhost:3030/$/datasets' \
  -X POST \
  --data-raw 'dbName=test&dbType=tdb2'

the dataset will be created, but it will not support GeoSPARQL.
It's basically the same request that is triggered using the web UI.
Using an assembly file
You may want to create it using an assembly file, like this:
# create a .ttl file with some configuration
cat << 'EOF' > /tmp/dataset.ttl
@prefix :        <#> .
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix tdb2:      <http://jena.apache.org/2016/tdb#>
@prefix geosparql: <http://jena.apache.org/geosparql#>

<#geoService> rdf:type fuseki:Service;
  fuseki:name "geo";

  fuseki:endpoint [ fuseki:operation fuseki:query ; ];
  fuseki:endpoint [ fuseki:operation fuseki:query ; fuseki:name "sparql" ];
  fuseki:endpoint [ fuseki:operation fuseki:query ; fuseki:name "query" ];
  fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
  fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];

  fuseki:dataset <#geo> .

<#geo> rdf:type geosparql:geosparqlDataset ;
  geosparql:spatialIndexFile "databases/geo/spatial.index";

  # some GeoSPARQL settings
  geosparql:inference            true ;
  geosparql:queryRewrite         true ;
  geosparql:indexEnabled         true ;
  geosparql:applyDefaultGeometry false ;

  # 3 item lists: [Geometry Literal, Geometry Transform, Query Rewrite]
  geosparql:indexSizes           "-1,-1,-1" ;       # Default - unlimited.
  geosparql:indexExpires         "5000,5000,5000" ; # Default - time in milliseconds.

  geosparql:dataset <#geoDataset> ;
  .

<#geoDataset> rdf:type tdb2:DatasetTDB2 ;
  tdb2:location "databases/geo" ;
  tdb2:unionDefaultGraph true ;
  .
EOF

# do the request to create the dataset
curl -u admin:admin 'http://localhost:3030/$/datasets' \
  -X POST \
  -H "Accept: text/turtle" \
  -H "Content-Type: text/turtle" \
  --data @/tmp/dataset.ttl

# remove the temporary file we created
rm /tmp/dataset.ttl

But you will get the following error:

Required base dataset missing: http://localhost:3030/$/datasets#geo

This is due because the Fuseki HTTP Administration Protocol does not support GeoSPARQL features in the current version (Apache Jena 4.4.0).
But for non-GeoSPARQL datasets, it is working as expected:
# create a .ttl file with some configuration
cat << 'EOF' > /tmp/dataset.ttl
@prefix :        <#> .
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix tdb2:      <http://jena.apache.org/2016/tdb#>

<#classicalService> rdf:type fuseki:Service;
  fuseki:name "classical";

  fuseki:endpoint [ fuseki:operation fuseki:query ; ];
  fuseki:endpoint [ fuseki:operation fuseki:query ; fuseki:name "sparql" ];
  fuseki:endpoint [ fuseki:operation fuseki:query ; fuseki:name "query" ];
  fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; ];
  fuseki:endpoint [ fuseki:operation fuseki:gsp-r ; fuseki:name "get" ];

  fuseki:dataset <#classicalDataset> .

<#classicalDataset> rdf:type tdb2:DatasetTDB2 ;
  tdb2:location "databases/classical" ;
  tdb2:unionDefaultGraph true ;
  .
EOF

# do the request to create the dataset
curl -u admin:admin 'http://localhost:3030/$/datasets' \
  -X POST \
  -H "Accept: text/turtle" \
  -H "Content-Type: text/turtle" \
  --data @/tmp/dataset.ttl

# remove the temporary file we created
rm /tmp/dataset.ttl

So it's definitely an upstream bug, maybe related to JENA-2267.
Delete a dataset
To delete the datasets (test and classical) we created, you can run the following commands:
curl -u admin:admin -X DELETE 'http://localhost:3030/$/datasets/test'
curl -u admin:admin -X DELETE 'http://localhost:3030/$/datasets/classical'

Changing the state of a dataset
You can take a dataset (let's say our default ds dataset) offline using this command:
curl -u admin:admin -X POST 'http://localhost:3030/$/datasets/ds?state=online'

And take it back online using the following command:
curl -u admin:admin -X POST 'http://localhost:3030/$/datasets/ds?state=active'

Conclusions
I hope that this detailled answer is providing some useful information.
GeoSPARQL support is something new on Fuseki, and the support for the GeoSPARQL assembler for the initial configuration (our config.ttl file) only came in the 4.4.0 release of Apache Jena, which is the current version.
But it seems that the Fuseki HTTP Administration Protocol does not currently support it, we should wait until it gets supported in the Apache Jena project.
So currently the only way to create datasets with GeoSPARQL support would be to edit the config.ttl file, and restart the Fuseki instance.
Since it's running in a Docker container, you can easilly mount a custom config.ttl file at /fuseki/config.ttl.

Thanks @ludovicm67  that is really comprehensive, and very useful.  It should be in a wiki page -

I'm not seeing any management screen on port 3030 in the browser.  I'm also not seeing a list of the datasets I've created

For the "wiki page" part, I will write some documentation somewhere when the issue in Apache Jena about the Fuseki HTTP Administration Protocol would be solved.

If you run the following command:
docker run --rm -p3030:3030 -it ghcr.io/zazuko/fuseki-geosparql:v2.0.1

Are you able to get the web interface at http://localhost:3030/#/?
If not, please make sure that:

the port 3030 is available
you are using the right Docker context

And if the web interface is still not available, can you paste some relevant logs here, so that I can help you?

curiously it appears on Edge, but on Chrome gives the following  ```GET http://localhost:3030/static/js/app.f0c68463.js 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/datasetEdit.91dc754c.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/datasetInfo.85859a43.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/datasetQuery.3af92d0a.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/datasetUpload.7936769c.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/documentation.fd0da50e.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/manageDatasets.b25b7a1c.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/newDataset.24a21ac0.js net::ERR_ABORTED 404 (Not Found)
localhost/:1          GET http://localhost:3030/static/js/tasks.eca207a9.js net::ERR_ABORTED 404 (Not Found)

It's definitively a caching issue.
Can you try to clear the cache of your Chrome browser?

VM52:6772 crbug/1173575, non-JS module files deprecated.

Did you clear the cache of your browser? Are you using the latest version of Chrome?

yes I did, and afaik I am (Version 98.0.4758.82 (Official Build) (64-bit)).  Also, I've never had any issues before with the Fuseki web front end.

Can you try the following: open a private browsing session on Chrome, and go to this page: http://localhost:3030/
JavaScript should be enabled.
What can you see in your browser?
For information, Apache Jena 4.4.0 released a new version for the web UI, it's now based on VueJS.

(index):6772 crbug/1173575, non-JS module files deprecated.

it worked in a private window.


[BugFix] Fix binding empty storage volume id to db

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 7 / 9 (77.78%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/lake/StarOSAgent.java
6
8
75.00%
[192, 203]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 9 / 9 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/lake/StarOSAgent.java
8
8
100.00%
[]

@Mergifyio backport branch-3.1


Beta/split properties and references

This PR marks a significant refactoring of the API surface to split properties and references out to become independent entities within the client. It does this so that references are more easily accessed both by non-generic and generic users

Codecov Report
Attention: 368 lines in your changes are missing coverage. Please review.

Comparison is base (7c00d95) 90.37% compared to head (3601010) 89.39%.
Report is 161 commits behind head on beta/v4.0.

Files
Patch %
Lines

weaviate/proto/v1/search_get_pb2.py
1.20%
82 Missing :warning:

weaviate/proto/v1/base_pb2.py
0.00%
17 Missing :warning:

weaviate/collections/queries/near_audio.py
66.66%
15 Missing :warning:

weaviate/collections/queries/near_video.py
67.39%
15 Missing :warning:

weaviate/client.py
30.00%
14 Missing :warning:

weaviate/collections/queries/near_image.py
68.88%
14 Missing :warning:

weaviate/backup/backup.py
87.12%
13 Missing :warning:

weaviate/collections/queries/near_object.py
71.11%
13 Missing :warning:

weaviate/collections/queries/near_text.py
71.11%
13 Missing :warning:

weaviate/collections/queries/near_vector.py
71.11%
13 Missing :warning:

... and 32 more

Additional details and impacted files
@@              Coverage Diff              @@
##           beta/v4.0     #641      +/-   ##
=============================================
- Coverage      90.37%   89.39%   -0.98%
=============================================
  Files            132      134       +2
  Lines          14827    15609     +782
=============================================
+ Hits           13400    13954     +554
- Misses          1427     1655     +228

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


improve with a buzzer

hello, i try to mod a firmware but i can't get it.
need help for my project  i still use Chinese c210 controller for this build, my plan is attach t-210 tips to this controller and i think it will work, just need to calibrate it.
what i need just a buzzer. the code is too complicated for me and i didn't know what pinout should use.
i didnt use uart port maybe you can change it to a buzzer for me if you're on a free hand, i'll be appreciated that.

Sure, you could re-purpose the uart pins. They are even timer outputs, so this could be used to generate the waveform for the beeper (for those without inbuilt electronics).
Another option would be to leave out the crystal, since this is not exactly required in this application anyway. I just included that, since I always do :)
But, I honestly don't see any reason why a soldering controller would need a beeper...
So, I'm sorry, but if you want to have one, you have to implement it yourself. This should be really straight-forward by just reading a bit the libopencm3 documentation.
I could help you if you have any specific questions though :)

the reason why i need a buzzer is for feedback when its ready or error even it is on seat, because i cant always look to display when working on fragile component.
i try to implement it by myself, but i didn't test because i'm not sure will work, the timer confuse me a lot.
first i need to know, what timer in rx or tx pin can be used ?
i read in datasheet its run on different timer, should i use timer for that pin, or i can just used any timer available?

hello again,
today i was destroy my tip by disconnect the 3v supply and the mosfet stays on.
any idea how to force the mosfet off even no signal from mcu to the gate ? may be some pull down resistor i guess

hello again, today i was destroy my tip by disconnect the 3v supply and the mosfet stays on. any idea how to force the mosfet off even no signal to the gate ? may be some pull down resistor i guess

I had the same problem. Did you solve the problem?

nothing, just never cut any logic voltage. the way to turn on/off modul by cuting main voltage. now we have issue with over temp and the solder cool down.

nothing, just never cut any logic voltage. the way to turn on/off modul by cuting main voltage. now we have issue with over temp and the solder cool down.

added 10k resistor, between heater_on and VDC. problem solved.


Fix network ci

this adds on @jyotty PR and enables the bridge interface.
[root@controller-0 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:8c:c6:47 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/22 brd <IP_ADDRESS> scope global dynamic eth0
       valid_lft 81957sec preferred_lft 81957sec
3: tap6be5dff5-46@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master brqe198e173-e1 state UP qlen 1000
    link/ether aa:53:74:8a:f1:0a brd ff:ff:ff:ff:ff:ff link-netnsid 0
4: vxlan-256: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master brqe198e173-e1 state UNKNOWN
    link/ether ba:47:9c:d8:cb:6f brd ff:ff:ff:ff:ff:ff
5: brqe198e173-e1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP
    link/ether 92:b4:c6:ab:c0:3f brd ff:ff:ff:ff:ff:ff
6: tap295c1284-08@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brq29b35e4c-a9 state UP qlen 1000
    link/ether 7e:ca:c4:89:ff:d0 brd ff:ff:ff:ff:ff:ff link-netnsid 1
7: brq29b35e4c-a9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 7e:ca:c4:89:ff:d0 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global brq29b35e4c-a9
       valid_lft forever preferred_lft forever
8: tap142759eb-42@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master brqe198e173-e1 state UP qlen 1000
    link/ether ba:f3:38:27:f1:f9 brd ff:ff:ff:ff:ff:ff link-netnsid 1
9: tapfb07e409-45@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master brqe198e173-e1 state UP qlen 1000
    link/ether 92:b4:c6:ab:c0:3f brd ff:ff:ff:ff:ff:ff link-netnsid 1

[root@controller-0 ~]# ip netns exec qrouter-49e10563-b823-49e8-912d-212fde951e7f ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: qg-295c1284-08@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:89:c1:5b brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global qg-295c1284-08
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fe89:c15b/64 scope link
       valid_lft forever preferred_lft forever
3: qr-142759eb-42@if8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1350 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:af:96:58 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global qr-142759eb-42
       valid_lft forever preferred_lft forever
    inet6 2db8:1::f816:3eff:feaf:9658/64 scope global mngtmpaddr dynamic
       valid_lft 86160sec preferred_lft 14160sec
    inet6 fe80::f816:3eff:feaf:9658/64 scope link
       valid_lft forever preferred_lft forever
4: qr-fb07e409-45@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1350 qdisc pfifo_fast state UP qlen 1000
    link/ether fa:16:3e:f4:aa:de brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 2db8:1::f816:3eff:fef4:aade/64 scope global mngtmpaddr dynamic
       valid_lft 86160sec preferred_lft 14160sec
    inet6 2db8:1::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fef4:aade/64 scope link
       valid_lft forever preferred_lft forever
[root@controller-0 ~]# ip netns exec qrouter-49e10563-b823-49e8-912d-212fde951e7f ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.083 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=0.041 ms
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.041/0.055/0.083/0.020 ms
[root@controller-0 ~]# ip netns exec qrouter-49e10563-b823-49e8-912d-212fde951e7f ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=56 time=1.64 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=56 time=1.65 ms
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.644/1.647/1.650/0.003 ms

[root@controller-0 ~]# ip netns exec qrouter-49e10563-b823-49e8-912d-212fde951e7f ssh<EMAIL_ADDRESS>The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is a8:aa:28:f3:ea:69:cd:b4:57:07:9c:6d:5e:85:60:5a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (RSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
$
$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=55 time=2.687 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=55 time=2.764 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 2.687/2.725/2.764 ms
$ Connection to <IP_ADDRESS> closed.

Close this PR in favor of PR#2384 - https://github.com/blueboxgroup/ursula/pull/2384


Support using container images as a packaging format

Container images are an alternative format for packaging files.

I am not sure how this would work.  What would be an example of such a package?

I am inclined to close this until we see clear customer demand.


style(data_structures): add line break

Only adds a line break, so merging without review!

Merge activity

Dec 14, 8:12 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Remove references to oppressive language in user tools

This PR contributes #290.
Changes:

Remove references in user tools and update related documentation in Python files.

Note:

The terms "slave," "blacklist," and "whitelist" have already been removed, as discussed in the issue comments.
Some constants used as configs or properties for third-party service providers cannot be modified (eg properties defined within SparkNodeType in file sp_types.py))

Thanks for taking this on!  One minor feedback -- in the changes, I think we'd want to use driver node in place of primary node as that is more in line with Spark usage.

Thanks for taking this on! One minor feedback -- in the changes, I think we'd want to use driver node in place of primary node as that is more in line with Spark usage.

Thanks Matt. Replaced primary with driver.

Similar to #454 there is an integration blocker introduced by this PR.
Let's hold until we plan how to proceed.

Closing as this needs to be re-planned on how to do it incrementally without breaking integration or backward compatibility..


Borderless fullscreen mode doesn't respect monitor selection

Bevy version
0.8
What you did
app.insert_resource(WindowDescriptor {
            mode: WindowMode::BorderlessFullscreen,
            position: WindowPosition::Centered(MonitorSelection::Number(0)),
            ..Default::default()
        })

What went wrong
I expected the game to full screen in monitor number 0, but it instead full screens on the primary monitor. It picks the correct screen when in windowed mode
Additional information
On Windows 10 if it matters

Fullscreen and SizedFullscreen behave similarly

Duplicate of #5875. Will be fixed by #5878 :)

#5878 was merged so I'll close this up.


Aave Market Neutral Bot: Vyper Contracts with Python/JavaScript

As a user, I want a Market Neutral Bot Vyper contract that will manage market neutral automated trades using Aave lending markets for the initial vault.
Requirements

Create the Vyper contracts for Aave market neutral vault.
Create Python script to run the vault
Create needed JavaScript event collection for vault tracking, if needed.

Closing. Not needed.


Improve the "Sigstore Auth Successful" page

Today, the post-OAuth page that gets displayed by tools like cosign, gitsign etc, is pretty ...sparse.

That's not necessarily a bad thing. Being sparse also means it's not very resource intensive. It doesn't make any external requests to load CSS/JS/fonts/etc., and as the default for clients that may not have access to the public internet, that's a good thing.
At the same time, regular users of sigstore clients often end up with tons of these windows open (e.g., from gitsign and a long rebase chain, without the credential cache running).
For context, the source of that page is here:
https://github.com/sigstore/sigstore/blob/a862909dae84e62c1ac0eb356f311a73a62c0a1a/pkg/oauth/interactive.go#L18
Closing the window
We've learned (e.g., #484) that the page can't be closed using JavaScript. Windows can only reliably close windows that they themselves opened, and in our case the window was opened by cosign etc. We arrive at this page after some redirects through the OAuth flow.
This means that:

the page can't autoclose after some wait
the page can't include a button or click target that closes the window

If you try, you get Scripts may close only the windows that were opened by them.
To save you (and future-me) time, the StackOverflow results for that message include lots of obsolete hacks that browsers now block.
So closing the window is probably not feasible. Instead, we can at least make the page more useful.
Making the page useful
New users are confronted with this page immediately after selecting their OAuth provider of choice. It's not really clear why you're here, what's happening, what to do next, etc. Close the window, sure, but then what?
We don't have much context to make this page more specifically helpful to the user. The page URL is something like http://localhost:59640/auth/callback?code=qdvscillhxxxxxxncrlbxhmtyg&state=2Fwdxxxx47dER2tw3I0ElvIgvxxx -- there's (purposefully, I think) no information about what user just authed. At the point in the flow where this page is opened, Fulcio hasn't been contacted yet, so there's no information about the cert it returned. There's no Rekor entry yet to link to.
I think we can at least provide more text about what's happening, and where to go to learn more. A link to some page on docs.sigstore.dev describing the OAuth flow a bit better maybe, or a brief description of what just happened, what's happening now, etc.
The page contents are configurable by clients, so cosign could include text like "go back to the terminal where you invoked cosign to see more". Sigstore's own tools should at least aim to make these pages look and act consistently with each other.
Making the page prettier
While (/if) we're adding content to read, we should also consider making the page easier to read. Nothing against black 12pt Times New Roman, but we've discovered over the last 20 years it may not be the best thing to read on a screen.
A few lines of CSS could go a long way to improving the experience.
Considerations
The page shouldn't load any external resources (e.g., JS/CSS/fonts) from the internet. Since cosign/gitsign are general-purpose clients, we can't guarantee clients have access to these resources at all. Even if they do, clients may not want to communicate to those external services that they're using these tools, and how or when.
This constraint should also help us avoid making the page too flashy -- if we have to bundle everything into the page we're probably not going to make it some monstrous 15 MB dynamic-loading single-page app either.

This is mainly an issue to collect ideas and previous findings. If there's something you've ever wanted to see from the auth-success page, please tell us!
cc @wlynch @znewman01

I would really like to be able to set my own HTML template that I could configure per installation and override the default one.
I think right now this is a constant set on sigstore/pkg/oauth/interactive.go, we could override that by loading either a static .html file or a .tmpl template file with a context object.

The HTML is defined in a const that's compiled into the client tool (e.g., cosign), and not configurable from the Fulcio installation for example.
I was about to say that you could theoretically update this value at cosign-compile-time by abusing ldflags, but it looks like that's not actually possible either:
I tried this:
go build -ldflags="-X 'github.com/sigstore/sigstore/pkg/oauth/interactive.InteractiveSuccessHTML=\"<body onload=alert() />\"'" ./cmd/cosign/

And the previous const still showed up.
Digging through the binary it looks like there's no symbol for the const:
go tool nm ./cosign | grep Interactive
10151b840 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).GetIDToken
10151c3c0 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).GetIDToken.func1
10151c440 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).GetIDToken.func1.1
10151c6f0 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).GetInput
10151c720 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).GetOutput
10151c490 T github.com/sigstore/sigstore/pkg/oauthflow.(*InteractiveIDTokenGetter).doOobFlow
1025c9700 R go.itab.*github.com/sigstore/sigstore/pkg/oauthflow.InteractiveIDTokenGetter,github.com/sigstore/sigstore/pkg/oauthflow.TokenGetter
1010c5d10 T k8s.io/client-go/plugin/pkg/client/auth/exec.isInteractive

(I found these instructions here)
This may indicate that the const is inlined before ldflags comes into play.
If this seems useful (sounds like we think it is) then we can probably do something with //go:embed to allow tool builders to compile in their own HTML more easily.
(Tools can also always change this by modifying source code, but HTML inside Go is only a little better than HTML-inside-Go-modified-by-ldflags 🤮  -- we can do better.)

Thoughts on a revamp of the static html as follows (100% offline)?

(For context, modelled after the following)

That looks really nice!

I wrote a Chrome extension to automatically close the windows: https://github.com/imjasonh/chrome-sigstore
It's not yet published to the webstore, but based on a couple days' dogfooding it works well enough. If you want to try it out (very alpha, no warranty etc) please leave any feedback on that repo.

This is now published to the webstore, in case you want to install it without twiddling developer bits: https://chrome.google.com/webstore/detail/sigstore-close-post-auth/incpcifganmpehaiplhjlfphaflbkdoj
Tell your friends! Hide it from your enemies!!


"main" on the service isolate should be  by posting a message on that isolate's message handler.

It is currently run inline.

cc @a-siva @rmacnak-google

The service isolate's port is set up by the vmservice_io::main, so I don't think we can send a message to the service isolate until after this main function is called.


Is there a way to open the app in full screen without a taskbar with WinUI 3

Describe the bug
any solution to open the app in full screen without a taskbar. (for now we are setting taskbar settings manually (hide))disable / hide window buttons ( minimize , maximize , close buttons).
I have tried to open the app in fullscreen by ApplicationViewWindowingMode.FullScreen but this code is not supported by the application.

Steps to reproduce the bug
Just Run App default screen showing
Expected behavior
open the app in fullscreen without a taskbar
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
No response

@codendone @marb2000 @MikeHillberg any of you know the correct way to do this in Winui3?

With the release of MAUI and now Visual Studio 17.3.0 I still see this behaviour. Is there any update on why this doesn't work or if there is a correct way to approach this with WinUI3?

You can set FullScreen with
AppWindow.SetPresenter and Microsoft.UI.Windowing.AppWindowPresenterKind.FullScreen

You can set FullScreen with AppWindow.SetPresenter and Microsoft.UI.Windowing.AppWindowPresenterKind.FullScreen

Thanks, that does almost work! ....
`        var currentWindow = Application.Windows[0].Handler.PlatformView;
IntPtr _windowHandle = WindowNative.GetWindowHandle(currentWindow);
var windowId = Win32Interop.GetWindowIdFromWindow(_windowHandle);
    AppWindow appWindow = AppWindow.GetFromWindowId(windowId);
    appWindow.SetPresenter(AppWindowPresenterKind.FullScreen);`

The Window bar is weirdly half cut off though:

The Window bar is weirdly half cut off though:

I cannot reproduce this on my configuration (Windows App SDK 1.1.0, Windows 10 21H1)

The Window bar is weirdly half cut off though:

Had the same issue, but the following solution works for me:
            var mauiWindow = handler.VirtualView;
            var nativeWindow = handler.PlatformView;
            nativeWindow.Activate();
            IntPtr windowHandle = WinRT.Interop.WindowNative.GetWindowHandle(nativeWindow);
            WindowId windowId = Microsoft.UI.Win32Interop.GetWindowIdFromWindow(windowHandle);
            AppWindow appWindow = Microsoft.UI.Windowing.AppWindow.GetFromWindowId(windowId);

            if(appWindow.Presenter is OverlappedPresenter p)
            {
                p.Maximize();
            }

The Window bar is weirdly half cut off though:

I cannot reproduce this on my configuration (Windows App SDK 1.1.0, Windows 10 21H1) (I can only get this small caption with SetBorderAndTitleBar and not FullScreen)

I've created a sample repo here. Can you please test this on your machine and compare the results. I'm running Win 11 21H2.

您可以使用AppWindow.SetPresenter_和_Microsoft.UI.Windowing.AppWindowPresenterKind.FullScreen_设置 FullScreen_

谢谢，这几乎可以工作！……
    `var currentWindow = Application.Windows[0].Handler.PlatformView;
    IntPtr _windowHandle = WindowNative.GetWindowHandle(currentWindow);
    var windowId = Win32Interop.GetWindowIdFromWindow(_windowHandle);

    AppWindow appWindow = AppWindow.GetFromWindowId(windowId);
    appWindow.SetPresenter(AppWindowPresenterKind.FullScreen);`

窗口栏奇怪地被截断了一半：

you need to hide the titlebar
var nativeWindow = handler.PlatformView;
var winuiWindow = nativeWindow as Microsoft.UI.Xaml.Window;
winuiWindow.ExtendsContentIntoTitleBar = false;

Does anyone have a working sample on Win 11 21H2 that runs TopMost full screen?

@FrogsLegs Taking the code from WindowingInterop.cs class in WindowsAppSDK Samples repo let my app works in fullscreen mode (directly at startup, no button to enter/exit fullsreen mode).

net7.0rc-1 (Only tested with MAUI)
Windows
MauiProgram.cs
#if WINDOWS
            // using Microsoft.Maui.LifecycleEvents;
            // #if WINDOWS
            //            using Microsoft.UI;
            //            using Microsoft.UI.Windowing;
            //            using Windows.Graphics;
            // #endif

            builder.ConfigureLifecycleEvents(events =>
                {
                    events.AddWindows(windowsLifecycleBuilder =>
                        {
                            windowsLifecycleBuilder.OnWindowCreated(window =>
                                {
                                    window.ExtendsContentIntoTitleBar = false;
                                    var handle = WinRT.Interop.WindowNative.GetWindowHandle(window);
                                    var id = Win32Interop.GetWindowIdFromWindow(handle);
                                    var appWindow = AppWindow.GetFromWindowId(id);
                                    switch (appWindow.Presenter)
                                    {
                                        case OverlappedPresenter overlappedPresenter:
                                            overlappedPresenter.SetBorderAndTitleBar(false, false);
                                            overlappedPresenter.Maximize();
                                            break;
                                    }
                                });
                        });
                });
#endif

Android
Platforms/Android/MainActivity.cs
[Activity(Theme =<EMAIL_ADDRESS>MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)]
public class MainActivity : MauiAppCompatActivity
{
    protected override void OnCreate(Bundle savedInstanceState)
    {
        base.OnCreate(savedInstanceState);
        Platform.Init(this, savedInstanceState);

        this.Window?.AddFlags(WindowManagerFlags.Fullscreen);
    }
}

(Edit MainPage.xml if you are still not full screen in windows)
<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:YourApp"
             x:Class="YourApp.MainPage"
             Title=""
             NavigationPage.HasNavigationBar="False">

    <BlazorWebView HostPage="wwwroot/index.html">
        <BlazorWebView.RootComponents>
            <RootComponent Selector="#app" ComponentType="{x:Type local:Main}" />
        </BlazorWebView.RootComponents>
    </BlazorWebView>

</ContentPage>

For WinUI 3 App you can use this code
App.MainWindow.ExtendsContentIntoTitleBar = true;
Microsoft.UI.Windowing.AppWindow _appWindow;
_appWindow = GetAppWindowForCurrentWindow();
_appWindow.SetPresenter(AppWindowPresenterKind.FullScreen);
private Microsoft.UI.Windowing.AppWindow GetAppWindowForCurrentWindow()
{
IntPtr hWnd = WindowNative.GetWindowHandle(App.MainWindow);
WindowId myWndId = Win32Interop.GetWindowIdFromWindow(hWnd);
return Microsoft.UI.Windowing.AppWindow.GetFromWindowId(myWndId);
}
This will help you

Closing this issue as it appears to have had multiple solutions presented and has had no activity in 10 months.

This issue somehow gets a new way to solve in #9674 😄


why when evaluating a pretrained checkpoint, the test/mean_score in eval_log.json is not equal to the test_mean_score in the checkpoint

I have a question, why when evaluating a pretrained checkpoint, the test/mean_score in eval_log.json is not equal to the test_mean_score in the checkpoint

Same question. Which score should we apply?


APIv2: Implement user actions

Notes:

Should accept extended selector (Sizzle), isomorphic functions, isomorphic function results
Should throw about missing await if it's fullfiled without listeners

TODO:

[x] .click
[x] .rightClick
[x] .doubleClick
[x] .drag
[x] .dragToElement
[x] .hover
[x] .takeScreenshot
[x] .navigateTo
[x] .pressKey
[x] .selectText
[x] .selectTextAreaContent
[x] .selectEditableContent
[x] .typeText
[x] .uploadFile
[x] .clearUpload
[x] .resizeWindow
[x] .wait
[x] .waitElement

.click

[ ] Create command class
[ ] Create API method
[ ] Implement and test option validation
[ ] Implement client command execution
[ ] Add functional tests for client command execution

I'm working on this.

I'm working on .rightClick now.

I'm working on .doubleClick now.

Working on .hover now.

Working on .drag and dragToElement now.

Working on .type nowю

According to our documentation for 15.1:
act.upload
Uploads a file or a set of files.
act.upload( target, path )
This action uploads an individual file.
Use the following variant of the user action to implement the uploading of multiple files at once.
act.upload( target, paths )
If you need to imitate the browser's behaviour when a user clicks the Cancel button, use the following version of the user action.
act.upload( target )
So I suppose, that we need .uploadFiles and, ugh, .uploadCancel actions as well? \cc @inikulin.

If you need to imitate the browser's behaviour when a user clicks the Cancel button, use the following version of the user action.

This is something new to me. What does this mean? \cc @churkin @AlexanderMoskovkin

this is from our 15.1 documentation
As a understand it just reset input's state to initial (when was no selected files for upload)

Let's call it clearUpload or smthg like this then.

I still thinking about renaming upload to setUpload. Not quite sure though

I still thinking about renaming upload to setUpload. Not quite sure though

That was the right state of mind. I just realized that uploadFile simply populates the input... well, there's not too much of upload...

populateUpload as an option

Is anyone receiving?

???

@inikulin coulc you please scroll up a bit

Maybe setFilesToUpload?

sounds good

So, if we change uploadFile -> setFilesToUpload, what about clearUpload. We leave it as is?

Meaning "clear the upload object"... I, personally, don't mind.

We take a decision to rename uploadFile -> setFilesToUpload, and leave clearUpload. If all agree with this, @georgiy-abbasov please take care of this

I agree

actions implementing done.
A couple of questions about the first comment

Should accept extended selector (Sizzle), isomorphic functions, isomorphic function results

I suppose it'll be implemented in the #574 issue?

Should throw about missing await if it's fullfiled without listeners

This is implemented already, am I right?
/cc @inikulin

Yes to both questions. We can close it now


Dev jdk11issues

Adresses/Fixes #.
Implements
Fixed the build failures due to the compilation issues on the below moduels:

javaplugin
propertyplugin
textmerger

@devonfw/cobigen

There are some issues with the PR

as it has multiple changes and it's pushed against master.
I don't see these issues fixing anything as on master all tests are running fine. Why did you change it?

JUNIT tests cases were failing, may be the issues are happening only while running locally.    Identified it as due to the newline character from the resource text files.

Could you please give an example which test is failing on your local and which windows you are using? Just want to understand the behavior.

Windows 10 is used for the testing.
PropertyMergerTest.testPropertyMergeOverride
The below assertion is failing
Assert.assertFalse("nachNameOriginal", mergedPropFile.contains("nachNameOriginal"));
Error message:
java.lang.AssertionError: nachNameOriginal
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at com.devonfw.cobigen.propertyplugin.PropertyMergerTest.testPropertyMergeOverride(PropertyMergerTest.java:36)
Issue at code:
for (String patchLine : patch.split(LINE_SEPARATOR)) {
Here splitting the line using the current OS specific line separator, but the file to be splitted might have created on a different OS.

That's interesting. Is there somebody, who can also please check that these tests are failing on Win10? I cannot see them failing at least on Win7. @jdiazgon could you please check on Win10?
On travis it does not seem to fail even. So I doubt, this is a fix of anything generally failing. In this case, we have to check, what's different on @sujithmn PC.

Hi @maybeec and @sujith-mn,
Interestingly, it seems that for me it is also passing the tests. When I created issue #1083 the test was failing, maybe something in my local was wrong related to line endings. But now it seems to work fine.
Therefore I would recommend to leave it as it is and not merge these changes.

Ok, even the travis jobs are running fine now, then I will close it.
Even, I did not see any of such issue at the users so far.


M2: Accessory -> iOS Device – ‘SRP Start Responseʼ code

Hi,
M1: iOS Device -> Accessory – ‘SRP Start Requestʼ code can be found in HAP.cpp void HAPClient::processRequest() function. But where is the M2: Accessory -> iOS Device – ‘SRP Start Responseʼ code?

You are misunderstanding the HAP specifications.   M1, M3, and M5 are processes that run on the iPhone and those states (along with associated data) are sent to a HomeKit device (in this case HomeSpan).  For each state received, HomeSpan performs a variety of calculations and then responds with M2, M4, and M6, accordingly, as shown in the HAP.cpp code.

Understood


2 errors in Application.php

1/2 InvalidArgumentException in Application.php line 56: File css/app.css not defined in asset manifest.
2/2 ErrorException in Application.php line 56: File css/app.css not defined in asset manifest. (View: /var/www/html/resources/views/index.blade.php)
This happened on Ubuntu 15.10 amd64 with koel v2.2.0, Node v5.11.0, NPM v3.8.6 and PHP v5.6.11

Please read the install guide and wiki closely.

having the same issue, app.css is not being created with elixir from app.scss


NullPointer

I get this error:
http://imgur.com/a/S3UAp
Also known as:
06-12 10:44:17.827 W/System.err(8474): java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase android.content.Context.openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase$CursorFactory, android.database.DatabaseErrorHandler)' on a null object reference  06-12 10:44:17.827 W/System.err(8474): 	at com.lapism.searchview.SearchHistoryTable.open(SearchHistoryTable.java:28)

Hi, I hope in next two weeks I will release new version. So please wait until this time.

Is this still an issue?


Vue Router Add Fails

Version
3.0.0-beta.6
Node and OS info
yarn 1.9.4
Steps to reproduce
vue add router
What is expected?
vue-router installs
What is actually happening?
error No valid versions found for "vue-cli-plugin-router". The package may be unpublished.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
ERROR  command failed: yarn add -D vue-cli-plugin-router

This might be an npm issue? Feel free to close if it's unrelated, but I thought I would post in case it's affecting others

Upgrade to a newer version please.


DNN Installation Fails on Azure

Unable to install latest CI build of DNN 9.4.0 on Azure.
0:51 Minutes   |   18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Add 1 row to dbo.[Languages]
Add 5126 rows to dbo.[Lists]
Steps to reproduce
Download the latest CI build from https://dotnet.visualstudio.com/DNN/_release?view=mine&definitionId=1

Provision a new web app (P1v2) and database (tried with S0, S1, and S2)
Proceed with installation. Schema SQL is executed. Data SQL is timed out.

Current result
Installation Fails
Expected result
Successful Installation
Screenshots
See: https://snag.gy/jail95.jpg
Affected version
<IP_ADDRESS>
<IP_ADDRESS>

Thanks for reporting this @meetmandeep! We didn't sync the final fixes (which was for this Azure issue) back down to development post v9.3.2. The next build should work for you. If you still run into issues, let me know!

Thanks @ohine I was able to install this build

Closing this as resolved


Integration tests for Ingress Gateway SDS

Have Ingress Gateway SDS integration tests that cover the following test cases:

[ ] Secret rotations
[ ] Multiple Gateway instances
[ ] Invalid secrets, without secrets
[ ] mTLS Gateways

Part of https://github.com/istio/istio/issues/13439

@JimmyCYJ the PR is merged, is this done

@JimmyCYJ I'm closing it because #14307 was merged, re-open if needed

https://github.com/istio/istio/issues/13439


tasks: add setup/teardown fixtures

Needs some documentation, but here's how it currently works:
from robocorp.tasks import task, setup, teardown

@setup
def before_task(task):
    print(f"Running before task: {task.name}")

@setup(scope="session")
def before_all(tasks):
    names = ", ".join(task.name for task in tasks)
    print(f"Running before tasks: {names}")

@teardown
def after_task(task):
    print(f"Running after task: {task.name}")

@teardown(scope="session")
def after_all(task):
    names = ", ".join(task.name for task in tasks)
    print(f"Running after tasks: {names}")

@task
def first():
    print("Doing things")

@task
def second():
    print("Doing other things")

I was thinking a bit more and I think that maybe the default should be tasks, not session if the argument isn't given (as I believe a setup per task is more common than a setup per session).

I was thinking a bit more and I think that maybe the default should be tasks, not session if the argument isn't given (as I believe a setup per task is more common than a setup per session -- that also follows what pytest does, so, pytest users may be expecting that).

Makes sense. Would also make the argument of ITask instead of Sequence[ITask] a bit more obvious and easy to use. I think in 99% of cases we want users to only run one task at once anyways.

Review fixes:

Changed naming to task and session
Changed task to be default
Added method docs and a guide

Will still change the setup callbacks to raise on error

I was actually thinking that most of my use-cases are actually a setup along with a teardown (so, writing a case where there's setup/yield/teardown would be nice).

I was actually thinking that most of my use-cases are actually a setup along with a teardown (so, writing a case where there's setup/yield/teardown would be nice).

How do you see that from a usage and naming PoV? It's neither a setup nor a teardown, but more of a generic fixture like in pytest. I guess I could add an additional function that supports it, similar to the caching decorators

I think fixture is ok, but even setup accepting a yield inside it would work for me...

I think fixture is ok, but even setup accepting a yield inside it would work for me...

I went with this. Here's what a yielding setup looks like:
@setup
def measure_time(task):
    start = time.time()
    yield  # Task executes here
    duration = time.time() - start
    print(f"Task {task.name} took {duration} seconds")

Added also relevant documentation

Wondering what happens if you decorate with both a setup which yields and a teardown. Would both the below yielding part and the other teardown logic execute? (haven't tested it yet)

Yes, there is no limit to the amount of setup and teardown fixtures you can register. Setups are executed in registered order and teardowns in reverse registered order.
With this code:
from robocorp.tasks import setup, teardown, task

@setup
def yielding(task):
    print("Generator before yield")
    yield
    print("Generator after yield")

@teardown
def first(task):
    print("Teardown #1")

@teardown
def second(task):
    print("Teardown #2")

@task
def a_task():
    print("Inside task")

The following would be printed:
Generator before yield
Inside task
Generator after yield
Teardown #2
Teardown #1


If this plugin support ClientID Authentication?

The  emqttd broker provides Username, ClientId, LDAP and anonymous authentication modules by default, I can enable many modules ,and broker will process the modules chain.
I want to know if this plugin can support Username and ClientId at the same time?

hi @defshine
Sorry for my late reply!
The emq_auth_http plugin supports both Username and ClientId certification
Tips:https://github.com/emqtt/emq_auth_http.git

@emqplus Hey Feng, the new version supports this feature, right? I see the configuration in mqtt_acl:
{
    username: "username",
    clientid: "clientid",
    publish: ["topic1", "topic2", ...],
    subscribe: ["subtop1", "subtop2", ...],
    pubsub: ["topic/#", "topic1", ...]
}

guys, please implement it as optional

@defshine, Has been fixed and released at v2.3.11.
https://github.com/emqx/emqx-auth-mongo/pull/122

@defshine, I will close this issue, if there is a problem, will reopen it.


Add AspNetCore

/azp run

@JunTaoLuo, it looks like some projects aren't using the package version variables and are picking up outside versions.  Is this something you could take a look at?
 /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605: Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview7.19352.8 to 3.0.0-preview6.19264.9. Reference the package directly from the project to select a different version.  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.AspNetCore.DataProtection -> Microsoft.Win32.Registry 4.6.0-preview7.19352.8 -> System.Security.AccessControl 4.6.0-preview7.19352.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview7.19352.8)  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.NETCore.Platforms (>= 3.0.0-preview6.19264.9) [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605: Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview7.19352.8 to 3.0.0-preview6.19264.9. Reference the package directly from the project to select a different version.  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.AspNetCore.DataProtection -> System.Security.Cryptography.Xml 4.6.0-preview7.19352.8 -> System.Security.Permissions 4.6.0-preview7.19352.8 -> System.Security.AccessControl 4.6.0-preview7.19352.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview7.19352.8)  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.NETCore.Platforms (>= 3.0.0-preview6.19264.9) [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605: Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview7.19352.8 to 3.0.0-preview6.19264.9. Reference the package directly from the project to select a different version.  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.AspNetCore.DataProtection -> Microsoft.Win32.Registry 4.6.0-preview7.19352.8 -> System.Security.AccessControl 4.6.0-preview7.19352.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview7.19352.8)  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.NETCore.Platforms (>= 3.0.0-preview6.19264.9) [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605: Detected package downgrade: Microsoft.NETCore.Platforms from 3.0.0-preview7.19352.8 to 3.0.0-preview6.19264.9. Reference the package directly from the project to select a different version.  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.AspNetCore.DataProtection -> System.Security.Cryptography.Xml 4.6.0-preview7.19352.8 -> System.Security.Permissions 4.6.0-preview7.19352.8 -> System.Security.AccessControl 4.6.0-preview7.19352.8 -> Microsoft.NETCore.Platforms (>= 3.0.0-preview7.19352.8)  [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]
  /src/bin/src/AspNetCore.503ef7d96a55b6699094742ed4fc5792cf4e9d85/src/Antiforgery/src/Microsoft.AspNetCore.Antiforgery.csproj : error NU1605:  Microsoft.AspNetCore.Antiforgery -> Microsoft.NETCore.Platforms (>= 3.0.0-preview6.19264.9) [/src/Tools/dotnetcli3/sdk/3.0.100-preview5-011568/NuGet.targets]

(and more in CI)

I'll take a look.

Hmm I think there's a mix of preview6 and preview7 builds in here. I see that the preview6 version of Microsoft.NETCore.Platforms being compiled (and probably used implicitly by the SDK). That would explain the lines Microsoft.AspNetCore.Antiforgery -> Microsoft.NETCore.Platforms (>= 3.0.0-preview6.19264.9). However, I see that the version of AspNetCore that you are using is https://github.com/aspnet/AspNetCore/commit/503ef7d96a55b6699094742ed4fc5792cf4e9d85 which is a preview 7 commit. Is this expected? If so, we'll need to override the version specified in https://github.com/aspnet/AspNetCore/blob/503ef7d96a55b6699094742ed4fc5792cf4e9d85/eng/Versions.props#L62-L83.
I was under the impression we were trying to build "coherent" sets of commits?

@omajid, while bringing this in I found that AspNetCore doesn't currently support a non-portable core runtime.  In the Microsoft official build, the portable core runtime and portable ASP.NET runtime are actually used even in the non-portable SDK.  I think matching the official build would be a good thing for us to do here, because otherwise source-build users are using bits that aren't really tested or used anywhere else in the same configuration, and it would be a non-trivial amount of work for ASP.NET to support essentially a new feature only used by source-build.  My proposal is to match the official build and continue building a non-portable SDK, but use the portable runtime with it.  Does that seem reasonable?
cc @leecow

Changes made:

ASP.NET repos made coherent.
Remove CLI and higher repos in the stack skipping ASP.NET.
Fix repo references.
Convert to always use portable core runtime.
Add ASP.NET dev feed to smoke-test and re-enable most web tests.
Output package versions as {name}Version in addition to {name}PackageVersion.  We used to do this in RestoreSources.props but some repos don't use that file anymore.

Remaining issues:

Non-empty F# web projects are not currently working.  @JunTaoLuo says these requires bits not shipped in the SDK.  I'm looking into why we don't pull these bits at build-time like the official build does.
Need to remove a bunch of test prebuilts in ASP.NET core - looking for a way to do these all at once.
Prebuilt updates in general.
Upstreaming patches to ASP.NET.

cc @dagood for core-setup changes if you'd like to take a look.

My proposal is to match the official build and continue building a non-portable SDK, but use the portable runtime with it. Does that seem reasonable?

Doesn't seem like we have too many other options :(
Just so I understand the change, is it correct to summarize this as: .NET Core runtime will be portable, the ASP.NET Core runtime will be portable and the .NET Core SDK will be non-portable?

.NET Core runtime will be portable, the ASP.NET Core runtime will be portable and the .NET Core SDK will be non-portable?

Yes, that's correct.

Yay!


Remove builder dependency from the api.

This change removes the builder dependency from the api.
I moved part of the build to the daemon and it's not responsible of creating the context and executing the build.
/cc @MHBauer, @icecrime
Signed-off-by: David Calavera<EMAIL_ADDRESS>

I am taking a similar approach to the runconfig stuff. I am not confident in if it is the right way to go. Do we really want to make the API something that just takes a reader stream and trusts the other side to correctly parse it? I feel like the parsing of any streams should definitely be done on the API side before giving it over. I am not sure.
This is how I would expect it to look.

@MHBauer I think this approach makes since for this case. The stream is the context.

LGTM

If you feel comfortable going this way. I'll accept it.
LGTM.


Sort an array according to other in c++

Is your feature request related to a problem? Please describe.
The feature is to add a problem in which an array will be sorted according to another array.
Describe the solution you'd like
I will solve the problem using maps.
Do you want to work on it
I will do it using c++.
Assign me this issue if this is good enough to be added in Algo Tree @tarun26091999 @raksha009

I would like to contribute to the above problem in java as I am a participant of GSSOC'21. Kindly assign this to me.

Please assign this to me.


feat: added notation cert cleanup-test command

In this PR:

Adds notation cert cleanup-test command, this is to cleanup key-cert pairs created by notation cert generate-test. On success, both key and cert files are deleted; the self-signed cert is removed from trust store; the private key is removed from notation's signing key list.
This new command is behind experimental at the moment, because we may support signing with local keys in the future. Open to suggestions about whether we should move it out of 'experimental'.

Resolves #647.

Codecov Report

Merging #673 (4b70d7a) into main (d850c3f) will decrease coverage by 1.34%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #673      +/-   ##
==========================================
- Coverage   36.12%   34.79%   -1.34%
==========================================
  Files          32       33       +1
  Lines        1982     2058      +76
==========================================
  Hits          716      716
- Misses       1238     1314      +76
  Partials       28       28

Impacted Files
Coverage Δ

cmd/notation/cert/cleanupTest.go
0.00% <0.00%> (ø)

cmd/notation/cert/cmd.go
0.00% <0.00%> (ø)

cmd/notation/cert/generateTest.go
20.43% <0.00%> (ø)

cmd/notation/internal/truststore/truststore.go
10.85% <0.00%> (+0.24%)
:arrow_up:

internal/osutil/file.go
67.64% <0.00%> (-10.32%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Converted to draft until we are ready to discuss this again.


If PR exists, update title and body

In my workflow, the PR title and body are dynamically generated based on the commits contained within. I would love it if this action could update the title and body of the PR the PR is already found.

hey @shaungrady ! It looks like this is definitely possible: https://docs.github.com/en/rest/reference/pulls#update-a-pull-request. I'll try to take a look soon and see if I can add this. Likely I'd keep the default to still exit if the PR is open, but we could add a variable that you could use to specify wanting an update in this case. I'll definitely try to make some time in the next week or so to work on this, stay tuned!

hey @shaungrady ! It looks like this is definitely possible: https://docs.github.com/en/rest/reference/pulls#update-a-pull-request. I'll try to take a look soon and see if I can add this. Likely I'd keep the default to still exit if the PR is open, but we could add a variable that you could use to specify wanting an update in this case. I'll definitely try to make some time in the next week or so to work on this, stay tuned!

hey @shaungrady - here is a branch for you to test! https://github.com/vsoch/pull-request-action/pull/60 See in the description how it works - if you set PULL_REQUEST_UPDATE it will update the existing PR instead of exiting or otherwise ending. I also did some refactoring of the main function body to take advantage of sharing the functions for adding reviewers and assignees regardless of an update or creation, so we will want to check that everything still works. Thank you for testing!

hey @shaungrady - here is a branch for you to test! https://github.com/vsoch/pull-request-action/pull/60 See in the description how it works - if you set PULL_REQUEST_UPDATE it will update the existing PR instead of exiting or otherwise ending. I also did some refactoring of the main function body to take advantage of sharing the functions for adding reviewers and assignees regardless of an update or creation, so we will want to check that everything still works. Thank you for testing!

Sorry I haven't gotten back to you @vsoch, I ended up solving the issue by hand with actions/github-script@v3 before you opened up your PR. Not sure when I'll have time to give it a test.

As long as you eventually do it (can you give me a sense of when?) there is definitely no rush! I did jump on doing this fix for you, so I hope that you could make some small amount of time in the future to test it - it's a fairly nice feature and I suspect others will appreciate having it, even if you found another solution.

Don't get me wrong, I do appreciate your speed and responsiveness on this issue. I'll try to make some time this weekend.

Thank you! <3


move endpoint deletion logic from daemon to endpoint package

This is a more logical organization for this code, as the endpoint should have
full knowledge of what state it needs to clean up.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.05%) to 44.174% when pulling 3bb5a50f5cd1c6baed92feed4638a95d27133446 on pr/ianvernon/move-deletion-to-endpoint into 4900872a4933e8a8fd00e5196855eddaa46ee08f on master.

Superseded by #9025.


[improve][feature] Add Maven Wrapper

Purpose

Linked issue: close #161

Add Maven Wrapper to project.
Tests

n/a
API and Format

no
Documentation

no

 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.Michael Koepf seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Permissions data could not be loaded. Please contact an administrator.

when i install luck perms it said Permissions data could not be loaded. Please contact an administrator. and im useing viaversions from 1.8 to 1.14

Please provide actual information like Version of LuckPerms, Server Version, what Storage type you use and the console error you receive (There must be an error in console. Please share it through hastebin or a similar site)

here you go https://pastebin.com/QZgEH0Qk

try luckperms-legacy

ok


chat: fix issue with scroll position on height resize issue

Fixes #1468
This fixes the issue for both emoji reactions and the addition of chat threads. Scrolls the scroller by the change in height.

Might still be some weirdness here. Looking into it.

Fixed


Check It Out v1.1

1.1 Updates

D20 themes now support checks for multiple types of skills.
D20 themes support option to use passive skills.

When I first tried to make this pull request (see https://github.com/Roll20/roll20-api-scripts/pull/816), for some reason all the commits from my last pull request to this script were included. This caused there to be a bunch of merge conflicts between my v1.1 commits for the script and the original v1.0 commits for the script.
Did someone make changes to this script that I don't know about???

Greetings @Cazra
You can check the history on the API to see if it was updated by others. I do not believe it was. I do squash & merge commits so it is possible for your master for to get outdated. You'll want to pull the latest master every week.
-Cassie

Okay, the squash and merge would explain why I encountered those merge conflicts. Guess from now on, I'll just have to remember to discard my working branches and merge my master after submitting a pull request.


auth filter

map in use of the tenant id so it's not just null
add test for listing by tenant id and not by tenant id

@joshuaslate I'm not done with it, but now that I've got the test failing, I wanted to tag you here so you can keep up with when it's fixed.


fontconfig:x64-windows build failure

Host Environment

OS: Windows 10 Pro 19042.1288
Compiler: Unsure, I believe vcpkg is picking up Visual Studio 2019's default, but I do have GCC installed and on path.

To Reproduce
Steps to reproduce the behavior:
vcpkg install gtk:x64-windows though vcpkg install fontconfig:x64-windows does the exact same thing.
Failure logs
C:\vcpkg>vcpkg install gtk:x64-windows
Computing installation plan...
The following packages will be built and installed:
  * cairo[core,fontconfig,freetype,gobject]:x64-windows -> 1.17.4#2
  * fontconfig[core]:x64-windows -> 2.13.94
  * gdk-pixbuf[core]:x64-windows -> 2.42.2#1
    gtk[core]:x64-windows -> 4.3.0
  * libsass[core]:x64-windows -> 3.6.5
  * pango[core]:x64-windows -> 1.48.4#1
  * sassc[core]:x64-windows -> 3.6.2
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\Darkshadows\AppData\Local\vcpkg\archives in 398.6 us. Use --debug to see more details.
Starting package 1/7: fontconfig:x64-windows
Building package fontconfig[core]:x64-windows...
-- Using cached fontconfig-fontconfig-2.13.94.tar.gz.
-- Cleaning sources at C:/vcpkg/buildtrees/fontconfig/src/2.13.94-6fd83e1cbe.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/fontconfig-fontconfig-2.13.94.tar.gz
-- Using source at C:/vcpkg/buildtrees/fontconfig/src/2.13.94-6fd83e1cbe.clean
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-windows
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst.
-- Using msys root at C:/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
-- Package x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" install -v
    Working Directory: C:/vcpkg/buildtrees/fontconfig/x64-windows-rel
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\fontconfig\package-x64-windows-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_meson.cmake:58 (vcpkg_execute_required_process)
  ports/fontconfig/portfile.cmake:17 (vcpkg_install_meson)
  scripts/ports.cmake:142 (include)

Error: Building package fontconfig:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: fontconfig:x64-windows
  Vcpkg version: 2021-09-10-2059ef11aa6067e6f59b0d939c5d17e3c5c47d3e

Additionally, attach any relevant sections from the log files above.

package-x64-windows-rel-out.log
Additional context
Had previously done vcpkg install gtk to install the x86 version, which seemed to succeed, but when trying the x64 version, fontconfig seems to be the thing that causes the cascade failure. I've tried deleting the cached tar.gz for fontconfig, with no change. I updated myself as of an hour ago with bootstrap-vcpkg.bat and vcpkg update (which keeps telling me it's using local ports. I did manually download the ports.) I only first downloaded the vcpkg repository about 2(?) days ago.  I've pasted the command prompt output and the mentioned log file above.

@Darkshadows9  I'm pretty sure your Windows 10 SDK has some problems.
Please re-install it.

Went ahead and uninstalled all of the SDK's before reinstalling only 10.0.19041.0 using the Visual Studio Installer. Same exact results trying to rebuild.

Can you please run the following command and provide the output?

Using cmd:

cd C:\vcpkg\buildtrees\fontconfig\x64-windows-rel\fc-cache\
fc-cache.exe

Using Visual Studio Developer Command Prompt:

cd C:\vcpkg\buildtrees\fontconfig\x64-windows-rel\fc-cache\
dumpbin /DEPENDENTS fc-cache.exe

I don’t know why your generated fc-cache depends on fontconfig-1.dll, we need more in-depth investigation.

@Neumann-A Can you please take a look?
I confirmed fc-cache.exe requires fontconfig-1.dll and this dll not exist in the executable path.
The meson config is in fc-cache/meson.build line 10:
# Do not try to execute target's fc-cache on host when cross compiling
if not meson.is_cross_build()
  meson.add_install_script(fccache, '-s', '-f', '-v')
endif

But I can't repro this issue.

I don’t know why your generated fc-cache depends on fontconfig-1.dll, we need more in-depth investigation.

If there's anything I can do to help the investigation, just let me know. 🙂

the dep on fontconfig-1.dll is normal. The question is rather why it cannot find the dll. Normally meson should setup the path variable accordingly
E:\vcpkg_folders\master\installed\x64-windows\tools\fontconfig>dumpbin fc-cache.exe /DEPENDENTS
Microsoft (R) COFF/PE Dumper Version 14.29.30136.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file fc-cache.exe

File Type: EXECUTABLE IMAGE

  Image has the following dependencies:

    fontconfig-1.dll
    KERNEL32.dll
    VCRUNTIME140.dll
    api-ms-win-crt-filesystem-l1-1-0.dll
    api-ms-win-crt-stdio-l1-1-0.dll
    api-ms-win-crt-runtime-l1-1-0.dll
    api-ms-win-crt-math-l1-1-0.dll
    api-ms-win-crt-locale-l1-1-0.dll
    api-ms-win-crt-heap-l1-1-0.dll

  Summary

        1000 .data
        1000 .pdata
        2000 .rdata
        1000 .reloc
        2000 .text

Check if C:\vcpkg\buildtrees\fontconfig\x64-windows-rel\src contains fontconfig-1.dll

That directory does contain fontconfig-1.dll.

Just curious if there's any updates or anything I could do to help either reset my installation or the investigation.

In my log:
(if false; then \
    echo "fc-cache.exe -s -f -v"; \
    fc-cache/fc-cache.exe -s -f -v; \
else \
    echo "***"; \
    echo "*** Warning: fonts.cache not built"; \
    echo "***"; \
    echo "*** Generate this file manually on host system using fc-cache"; \
    echo "***"; \
fi)

Here's the first two files:
cmake-vars-x64-windows-dbg.cmake.log
config-x64-windows-dbg-out.log
And here are the two files in the specified folder:
install-log.txt
meson-log.txt

The only differences are Visual Studio path and ninja path.

@BillyONeal @ras0219-msft Can you please figure this out?
Thanks.

Ping @BillyONeal @ras0219-msft, could you please take a look this issue? Thanks in advance.

Ping @BillyONeal @ras0219-msft, could you please take a look this issue? Thanks in advance.

I don't think either of us are going to have much insight here.

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.

Hi Jack @JackBoosY ,
I think I meet the same problem with @Darkshadows9 when I installed fontconfig on Windows. I tried to x86 version or static, the same problme raise.
-- Cleaning sources at D:/vcpkg/buildtrees/fontconfig/src/2.14.2-7f52ee670b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/fontconfig-fontconfig-2.14.2.tar.gz
-- Applying patch no-etc-symlinks.patch
-- Applying patch libgetopt.patch
-- Applying patch fix-preprocessor-clang-cl.patch
-- Using source at D:/vcpkg/buildtrees/fontconfig/src/2.14.2-7f52ee670b.clean
-- Found external ninja('1.10.2').
-- Getting CMake variables for x64-windows-static-md
-- Configuring x64-windows-static-md-dbg
-- Using cached mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.9-3-x86_64.pkg.tar.zst.
-- Using msys root at D:/vcpkg/downloads/tools/msys2/023cdb3ca06f77f2
-- Configuring x64-windows-static-md-dbg done
-- Configuring x64-windows-static-md-rel
-- Configuring x64-windows-static-md-rel done
-- Package x64-windows-static-md-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: "D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" install -v
Working Directory: D:/vcpkg/buildtrees/fontconfig/x64-windows-static-md-dbg
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\fontconfig\package-x64-windows-static-md-dbg-out.log
error-logs-x64-windows.txt
package-x64-windows-dbg-err.log
Many thanks.

@openFDEM-project Please provide D:\vcpkg\buildtrees\fontconfig\package-x64-windows-static-md-dbg-out.log instead.

Hi, @JackBoosY ,
Please find below
config-x64-windows-static-md-dbg-out.log
Many thanks.

@openFDEM-project I need package-x64-windows-static-md-dbg-out.log.

@JackBoosY
package-x64-windows-static-md-dbg-out.log

It is a little weird, because the failure installation of fontconfig package, I almost can not install any qt-like packages, such as qt, cairo, osg, freecascade and so on on windows platform. I tried all the solutions I can get from google but it doesnot work. I also unistalled vcpkg and reinstall, it still no work.

It is a little weird, because the failure installation of fontconfig package, I almost can not install any qt-like packages, such as qt, cairo, osg, freecascade and so on on windows platform. I tried all the solutions I can get from google but it doesnot work. I also unistalled vcpkg and reinstall, it still no work.

../src/2.14.2-7f52ee670b.clean/src/fccompat.c(134): error C2065: 'mode_t': undeclared identifier

@LilyWangLL can you please take a look at this?

@LilyWangLL can you please take a look at this?

I will take a look.


ModelResult isolated refactor

@PaulDanielML feel free to update from main when its fit you (it should have minimal consequences for your work)

Regarding the tests: note also that pandas items cannot be referenced with index (like it could before). Could you please fix this too?

@ecomodeller I think we're done here. Do you agree?


chore(test): fix coverall output

Changes Unknown when pulling 522db12fa15f722388da9e131ada3f6ed04587b6 on fix_build into ** on master**.


JS errors caused by applepay script on product page

The applepay block and template that are used on the productpage ads window.checkoutconfig and fills it with custom config without loading the entire checkoutconfig.
This interferes with other modules that check and rely on window.checkoutconfig (such ass Swissup Firecheckout) and can lead to JS errors that break the page.
this can not be prevented by turning off applepay, because the script is loaded even if applepay is turned off (which a simple check could prevent)

Included in latest release v1.24.0.


Blocked inheritance question

Hi.
This article doesn't clarify if GPOs in other parent OUs different to the parent OU of MyOU would apply.
For example, if I have a user in a completely different parent OU and sub-OU, with a GPO to map a drive as a user setting, would that GPO apply when said user logs into a machine that is inside an OU in a completely different parent OU that has blocked inheritance turned on?

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

ID: b0768068-c8ac-91de-3f3c-e31e01f4a225
Version Independent ID: ebe4263f-4a02-c9f1-8c9d-2a445590d724
Content: Set-GPInheritance (grouppolicy)
Content Source: docset/windows/grouppolicy/set-gpinheritance.md
Product: w10
Technology: powershell-windows
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

@officedocsbot assign @e0i

@SirJewDanielBerg
The issue has been noted and the document will be revised in the light of your feedback.
Thank you.

@SirJewDanielBerg Hi, Thank you for your feedback on MicrosoftDocs. If I correctly understand your question, mapping a drive is a User setting so the GPO that does it will apply in on the user. The location and GPOs for the machine do not have effect on user settings. Let me know if that answers your question.

@SirJewDanielBerg We are closing this issue as we couldn't get response from your side regarding additional details. Feel free to re-open this issue with clarifications and we'll follow-up with a PR. Thank you.

@officedocsbot close


avoid double dot in file extension

Where the file extension is pulled from metadata the . is being doubled. It could be addressed in the other part of the code, but I choose here so that a user could pass an empty fileExtension option and avoid a single . at the end.

Good pickup @andrewharvey !
The only other thought is that we should probably add something here where we standardise the fileExtension - would you mind adding that?

Not sure I understand, I think it's either one or the other, either we change it where you pointed to or change it when I have in this PR. I choose where I did in case someone wanted to exclude the file extension altogether.

Ahh sorry I misread that bit about wanting to not have a blank fileExtension - are you able to explain why someone would want to do that?

Ahh sorry I misread that bit about wanting to not have a blank fileExtension - are you able to explain why someone would want to do that?

Originally I was thinking the client would request without the extension eg. /tiles/0/0/0 and then based on the accepts header the server could choose to return png or webp. However on second thought you'd typically still put your files to S3 or server with the extension in the backend but the fronted would route accordingly.
So do you reckon swap this over to remove the dot in https://github.com/rowanwins/mbtiles-extractor/blob/master/src/main.js#L148-L162 and then leave it where I removed it in this PR? Then when the user passes a custom one via an argument they would exclude the dot.

Yeah ok - that seems reasonable.

I've updated the PR.