Polymer 3 build define method does not respect absolute urls

Description
When building for production and creating a bundle where inlineScripts is set to false, the bundle is loaded using this method <script>define(['shared_bundle_1.js']);</script>
If one integrates a webcomponent with for example Drupal, the shared_bundle_1.js is located on a fixed url (e.g. /sites/subs/themes/psp/components/month-picker/shared_bundle_1.js) for browser caching.
If you then set the shared_bundle_1.js url thus <script>define(['/sites/subs/themes/psp/components/month-picker/shared_bundle_1.js']);</script>, to an absolute path and the browser navigates to a page /node/14/..., the browser requests the following url: https://blabla.com/node//sites/subs/themes/psp/components/month-picker/shared_bundle_1.js
This returns a 404. The correct url would be https://blabla.com/sites/subs/themes/psp/components/month-picker/shared_bundle_1.js
Steps to Reproduce

Create a polymer 3 app
Use the following polymer.json

    {
        "npm": true,
        "moduleResolution": "node",
        "builds": [
            {
            "name": "es6prod",
            "preset": "es6-bundled",
            "addServiceWorker": false,
            "bundle": {
                "inlineCss": true,
                "inlineScripts": false,
                "rewriteUrlsInTemplates": true,
                "sourcemaps": true,
                "stripComments": true
            }
            }
        ]
    }

run polymer build
navigate to build\es6prod folder
create any new folder (e.g. node)
copy the index.html file to the node folder
edit the copied index.html and change  <script>define(['shared_bundle_1.js']);</script> to  <script>define(['/shared_bundle_1.js']);</script> (thus creating an absolute link)
start simple http-server in build\es6prod folder
go in a browser to http://localhost:8080/index.html => all is ok
go in a browser to http://localhost:8080/node/index.html => :-(

Expected Results
I expect the define method to follow http standards. Other types of navigation work (e.g. ../).
Actual Results
See above
Browsers Affected

[ x] Chrome
[ x] Firefox
[ x] Edge
[ x] Safari 11
[ x] Safari 10
[ x] IE 11

Versions

Polymer: v3.0.2
webcomponents: v2.0.2

@jsilvermist is correct. This is a duplicate of https://github.com/Polymer/tools/issues/532


Angular2 decorators support

Hi!
I'm currently studying Angular 2 and Typescript, but I'm an enthusiast of Ruby (and Rails as well). I'm trying to create my projects with TS and RoR so I'm trying mix everything up. I put my configurations for typescript-rails in '/initializers/typescript.rb' like this:
Typescript::Rails::Compiler.default_options = [     '--target', 'ES5', 	'--noImplicitAny', 	'--emitDecoratorMetadata', 	'--experimentalDecorators' ]
but when the rails engine compiles a .ts file it show this errors:
error TS5023: Unknown compiler options 'emitdecoratormetadata'
error TS5023: Unknown compiler options 'experimentalDecorators'
I would like to know which version of TS the gem uses and if there is a way to update it by  myself to the last typescript compiler or if these options will be supported (or already are).
Thanks!

Hi @giolazzareschi,
You can use external TS compiler. See https://github.com/typescript-ruby/typescript-src-ruby#usage. I think TypeScript::Src.use_external_tsc option will help you.

Thank you @bdrazhzhov ! It worked now :)


👷 Improve error messages and exception handling

Improve Error Messages in FastAPI CLI
Enhanced error messages to provide better guidance for common issues:
Changes

Added detailed file path suggestions for default app discovery
Improved FastAPI installation instructions with pip commands
Made error messages more actionable and user-friendly

@tiangolo I believe this is my initial straightforward request for assistance. It would bring me great joy if you could give it some thought! 😄

Thanks for the interest, but the logic there is already as intended, e.g. the exception at the top is not supposed to be raised, that is checked somewhere else in the code.
The best approach would be to use the tool, and when there's something that you would want improved, try the changes locally and see if they do what you expect.
Sadly I also suspect it's AI-generated. :pensive:
For now, I'll pass on this one. :coffee:


boundary for custom 'Content-Type: multipart/form-data' header

Test Script
Send a muli-part post file request with custom boundary.
import requests
import os.path

filepath = '/tmp/test.tgz'

with open(filepath, 'rb') as f:
    files = {'file':f}
    headers = {'Content-Type':'multipart/form-data;boundary=***someboundary***'}
    r = requests.post('http://<IP_ADDRESS>:56500/', files=files, headers=headers)

Actual Result
$ nc -p 56500 -l
POST / HTTP/1.1
Host: <IP_ADDRESS>:56500
Accept-Encoding: gzip, deflate, compress
User-Agent: python-requests/2.2.1 CPython/3.4.0 Linux/3.8.0-35-generic
Content-Length: 277
Content-Type: multipart/form-data;boundary=***someboundary***
Accept: */*

--84989444e2484915a216e1718e0f93f0
Content-Disposition: form-data; name="file"; filename="test.tgz"

VlES�
��aws9���"ـ����E�)f��i�>.!;қ�>1ܼ5��I�<���Q���|lf���S���~    �8�C
--84989444e2484915a216e1718e0f93f0--

Expected Result
'boundary' is a parameter required by multipart entities.
However, when I specify the custom boundary in headers, the sent request still uses generated boundary.
It dosen't help even if I remove the 'boundary=...' part.
The only way to avoid this issue is to not specifying custom Content-Type as multipart in headers and let the scripts themselves generate it.
I am new to this package and the issue got me stuck for hours.
So... maybe there should be a warning about this in document or maybe the customized boundary part should be implemented?

@jcfrank
you saved my life :)
I removed the headers and can now post the file using requests.
<
files = { 'file': ('test_one.xlsx', open('test_one.xlsx', 'rb')),}
url = 'https://XXXXX/Y-Y-Y-Y/ZZZZ?XX=YY'
r=requests.post(url, files=files)

@jcfrank
you saved my life :)
I removed the headers and can now post the file using requests.
files = { 'file': ('test_one.xlsx', open('test_one.xlsx', 'rb')),}
url = 'https://XXXXX/Y-Y-Y-Y/ZZZZ?XX=YY'
r=requests.post(url, files=files)

@parmeshwor Glad to know it helps anyone after more than 3 years this was posted. :)
I updated the description so it's easier to see the difference. In case anyone else has to look this up in the future. :/

@jcfrank just saved me too! I've been stuck on this for at least an hour. Glad I came across this :+1:

The same thing happened to me ,  although I solved  by myself , I am still feel happy to see this

@Lukasa I feel this issue should be reopened, the number of people having it is a testament to either a lack of documentation or unintuitive behaviour. I've myself encountered the issue and was unable to remediate it despite reading the part of the documentation about posting multipart/form-data requests.
If requests relies on the absence of a custom Content-Type header to craft a correct request, it should raise an error when it is provided by the user, otherwise it just silently crafts a malformed request and it is very hard to debug.

@sigmavirus24 all day fighting a custom content-disposition boundary and this fixed it !
Well done and thank you for leaving this here hah. Damn. So useful. Done in minutes once I found this post.

@jcfrank Can you please check the pull request #5521 to see if it supports what you were looking for?

@virajkanwade Thanks for working on a solution to it! Seems it does handle this issue. I'm a bit concerned about the alternative way to provide the content-type header. I don't know whether it's possible for users to try adding the boundary parameter there.
If manually handling the boundary instead of using a 3rd-party library is a concern, maybe detecting such parameter and raising an exception would also do? Just a thought.

@jcfrank I am working on a third party service which uses a custom boundary as another level of verification. So I need to set it. I approached the solution from bottom up. I noticed the urllib3 function encode_multipart_formdata already supports setting boundary. It just wasn't being passed by requests. Kept following the traceback till I managed to find a place where I could get it from the request headers. If the alternative way sets the header such that the boundary reaches till this point, i believe it should work. That is something probably the requests team can take a call on. But I don't like the approach if there is another library which does it, we won't update our. If that was the case, Python should have stayed on 2 and we should have been using libraries for everything. Just my personal thoughts.


Use oauth2 from google-auth

oauth2client is deprecated [1], use google-auth.
[1] https://github.com/google/oauth2client/releases (see Note)
Related-Issue: https://github.com/kubernetes-incubator/client-python/issues/275
Signed-off-by: Spyros Trigazis<EMAIL_ADDRESS>

We can take this now.

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   94.69%   94.69%
=======================================
  Files           9        9
  Lines         698      698
=======================================
  Hits          661      661
  Misses         37       37

Impacted Files
Coverage Δ

config/kube_config.py
96.57% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Failure is not fault of this PR. I send another PR to fix it: https://github.com/kubernetes-client/python-base/pull/17


Sorted and indented entries in category chip select

Closes #2090

https://github.com/OpenSlides/openslides-client/blob/bb53ec2315721c476d8c4e7db76c38e3530f5606/client/src/app/gateways/repositories/motions/motion-category-repository.service/motion-category-repository.service.ts#L20
This sort function seems to be responsible for the order of the returned view model list. Maybe it would be better to change this to have the correct order available everywhere?


update proxy sha

Changes included:
9ca0d8f4 update istio/envoy sha (#3057)
eec9ae9f fix: implement metadata fallback on the special value (#3056)
0db11f3f use istio envoy release-1.8 instead of envoy-wasm (#3055)
58f07a77 Parse workload and service from resource labels (#3051)
33179930 grpc: add streaming metrics (#3048)
f478bcfc Automator: update common-files@master in istio/proxy@master (#3053)
cc89e662 Automator: update common-files@master in istio/proxy@master (#3052)
ddfda5e3 validate route_name (#3042)
aa356aff Remove mac test (#3050)
697c43c3 cleanup: fix TODOs waiting for c++17 (#3049)
b908a15e jwt: support nested claims (#3045)
dd64630c update envoy-wasm (upstream Envoy v1.16) (#3043)
a5ef9f7d Minor changes to Access Logs (#3000)
af4f2525 Automator: update common-files@master in istio/proxy@master (#3041)
edb74330 Add Client Side Sampling Support (#3031)
938a9485 update envoy-wasm (#3032)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any changes that may affect Istio users.

This gives us Envoy 1.16 right? Yay

yes.

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-security-k8s-tests_istio

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-pilot-k8s-tests_istio

integ-telemetry-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-security-k8s-tests_istio

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

gencheck_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
00d033f46c4379ab9d035cf0a326a27b685704f5
link
/test integ-telemetry-k8s-tests_istio

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

gencheck_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test gencheck_istio

integ-security-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

gencheck_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test gencheck_istio

integ-security-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

gencheck_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test gencheck_istio

integ-security-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test lint_istio

integ-security-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
aa52e16caa86fa9b364d8eff8b5b5a2f30230ced
link
/test integ-telemetry-k8s-tests_istio

integ-ipv6-k8s-tests_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test integ-ipv6-k8s-tests_istio

gencheck_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test gencheck_istio

integ-telemetry-k8s-tests_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

https://github.com/istio/istio/pull/27786 is broken

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
d4821e18c9e7b3ababaf099f6644a86e5a69bf4c
link
/test integ-telemetry-k8s-tests_istio

integ-security-k8s-tests_istio
0d41eb2ce7a9e299e75cd30707396475a9a334fd
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
0d41eb2ce7a9e299e75cd30707396475a9a334fd
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
0d41eb2ce7a9e299e75cd30707396475a9a334fd
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

blocked on https://github.com/envoyproxy/envoy/pull/13581

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
0d41eb2ce7a9e299e75cd30707396475a9a334fd
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
0d41eb2ce7a9e299e75cd30707396475a9a334fd
link
/test integ-telemetry-k8s-tests_istio

unit-tests_istio
c9c80c970f72c9ba7ac3eb999e975ff39274d465
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
c9c80c970f72c9ba7ac3eb999e975ff39274d465
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Test failure needs to be fixed. I will take over this change.

@yangminzhu: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Update Dapp.js

Since the contract defines 18decimals, if the operator is directly used here, BigNumber overflow will occur, resulting in failure to go through the process

Since the contract defines 18decimals, if the operator is directly used here, BigNumber overflow will occur, resulting in failure to go through the process

Thanks for your contribution, add wechat yanyanho666 to join our developer group


wip: web vitals autoinstrumentation

I think we want to merge auto-instrumentation prototypes to the auto-instrumentation-poc branch rather than main.

What Martin said, we don't want to check prototypes directly into main, as main should just represent the auto-merging from JS and contrib

Closing and reopening against the autoinstrumentations branch


Syncing Alternate Email, OtherMails or AlternateEmailAddresses via AD Connect?

I see in the article how we can manually configure the Authentication email address via powershell or the Azure portal, how do we sync it via AdConnect? In the ADConnect sync rules I don't see a target option for any of this?
We would like to add the value when creating users and have it populate for us when synced to AzureAD via ADConnect.

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

ID: aae83fda-27b9-edca-1b59-1140de4cc3f5
Version Independent ID: c93eb84b-f04b-de03-f3f5-57d4672b0559
Content: Azure AD SSPR data requirements - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-sspr-authenticationdata.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@ducatijosh thanks for this feedback. Currently you can do this via Powershell but synchronizing via AD Connect is not yet supported.
You can upvote the feature request here and I have also shared your feedback with the PG to highlight the priority.
I'll update this thread when there is more news to share on this.

PG has been asked to put this in the roadmap.

Thank you.

@MarileeTurscak-MSFT have there been any updates on this? The feedback link is broken by the way


spec: allow re-declarations of identifiers and remove function result variables

The current spec does not mention anything specific about the identifier declared at the top level(outside any function). Should we add it?

The current spec does not mention anything specific about the identifier declared at the top level(outside any function). Should we add it?

Ah yes, we should. Could you point to it in the original spec if you remember it?

Sure. We can refer

The scope of a predeclared identifier is the universe block.
The scope of an identifier denoting a constant, type, variable, or function (but not method) declared at top level (outside any function) is the package block.

from original spec Declarations and scope. As we are not supporting packages in this spec, We can use universe block instead.

Hey @Samyak2,
I have added spec for top-level identifiers. Could you take a look?


xref with pagenumber does not work when using weasyprint

xref/@xrefstyle supports the %p placeholder for page numbers. Does work when using Antenna House, but not with weasyprint (you get the hashmark # instead of the targets page number).

The CSS for such a cross reference is:
.xref-pagenum {
    content: target-counter(attr(href), page);
    font-style:normal;
}

I think this is a weasyprint bug, not an xslTNG bug.

(The # is there so that there's some indication on the page that something didn't work.)

No, i don't think so. I'm afraid i caused the bug because i was only able to test with antenna house at that time.
CSS specification says: "content property Applies to:  	:before and :after pseudo-elements". It does not apply to the element itself. That's why i think that weasyprint behaves correct.
When using the code above, which does apply the content property not to pseudo-elements but to the element itself

Antenna House replaces the elements content (which is #) with the value from CSS contentproperty (which is the targets page number).
weasyprint does nothing at all and displays the elements content #. Which seems to be correct according to the CSS Spec.

I think the solution is: an empty a element and
.xref-pagenum::after {
  content: target-counter(attr(href), page);
  font-style: normal;
}

I have a PR in preparation.

Ah. Thanks.


Even basic commands don't work

I'm constantly getting this error:
Traceback (most recent call last):
  File "crawler.py", line 83, in <module>
    args.username, args.number, args.mode == "posts_full", args.debug
  File "crawler.py", line 27, in get_posts_by_user
    ins_crawler = InsCrawler(has_screen=debug)
  File "/Users/tothlac/otp/instagram-crawler/inscrawler/crawler.py", line 70, in __init__
    self.login()
  File "/Users/tothlac/otp/instagram-crawler/inscrawler/crawler.py", line 87, in login
    login_btn.click()
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 628, in _execute
    return self._parent.execute(command, params)
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <button class="sqdOP  L3NKy   y3zKF     " disabled="" type="submit">...</button> is not clickable at point (400, 320). Other element would receive the click:
...

  (Session info: headless chrome=83.0.4103.116)```

Looks like even the basic functionality does not work. Please fix, or if it is not doable delete the useless repository.
Thanks.

Did you set the environment properly?
I tried it yesterday and it works except for some functions

I am getting the same error... Anyone know how to fix?


Mapping to external HTTPS service fails on SSL HANDSHAKE

Describe the bug
I have an Ambassador Mapping to an external HTTPS service (AWS CloudFront). The SSL Handshake fails on versions of Ambassador above 0.40.2.
The service is accessible directly without issue, and the certificate is valid.
I see the below in Ambassador debug logs:
[2019-04-09 10:24:50.347][75][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:142] [C378] handshake error: 2
[2019-04-09 10:24:50.362][75][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:142] [C378] handshake error: 1
[2019-04-09 10:24:50.362][75][debug][connection] [source/extensions/transport_sockets/tls/ssl_socket.cc:175] [C378] TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO
[2019-04-09 10:24:50.363][75][debug][connection] [source/common/network/connection_impl.cc:183] [C378] closing socket: 0
[2019-04-09 10:24:50.363][75][debug][client] [source/common/http/codec_client.cc:82] [C378] disconnect. resetting 0 pending requests
[2019-04-09 10:24:50.363][75][debug][pool] [source/common/http/http1/conn_pool.cc:129] [C378] client disconnected, failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO
[2019-04-09 10:24:50.363][75][debug][pool] [source/common/http/http1/conn_pool.cc:164] [C378] purge pending, failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO
[2019-04-09 10:24:50.363][75][debug][router] [source/common/router/router.cc:644] [C359][S15887873227618502821] upstream reset: reset reason connection failure
[2019-04-09 10:24:50.363][75][debug][http] [source/common/http/conn_manager_impl.cc:1278] [C359][S15887873227618502821] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '91'
'content-type', 'text/plain'
'date', 'Tue, 09 Apr 2019 10:24:50 GMT'
'server', 'envoy'

To Reproduce
My service YML is:
---
apiVersion: v1
kind: Service
metadata:
  name: login-service
  namespace: cinolla
  annotations:
    getambassador.io/config: |
      ---
      apiVersion: ambassador/v0
      kind:  Mapping
      name:  login_staging_service
      prefix: /login/
      rewrite: ""
      host: app-staging.cinolla.com
      host_rewrite: webapps-staging.cinolla.com
      service: https://webapps-staging.cinolla.com
spec:
  ports:
  - name: login-service
    port: 443

Expected behavior
I expect the response to contain the HTML from CloudFront, and not a 503 error from Ambassador/Envoy.
Versions (please complete the following information):

Ambassador: 0.53.1, 0.52.0, 0.50.0 all have the same issue
Ambassador: 0.40.2 works as I'd expect, and therefore does not have this issue.
Kubernetes environment: Experienced the same results with both Docker For Desktop (1.10.11) and AWS EKS (1.11)

Additional context

SSL Termination is happening before Ambassador at an AWS ELB, using a different certificate than the CloudFront service, but with the same TLD.
AWS CloudFront is using TLS 1.2, and supports HTTP 1.0/1.1/2
Ambassador 0.40.2 is working as expected

---
apiVersion: v1
kind: Service
metadata:
  name: ambassador
  namespace: cinolla
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: --REDACTED--
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "tcp"
    service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: "true"
    service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
    getambassador.io/config: |
      ---
      apiVersion: ambassador/v0
      kind:  Module
      name:  ambassador
      config:
        use_proxy_proto: true
        use_remote_address: true
spec:
  externalTrafficPolicy: Local
  type: LoadBalancer
  ports:
  - name: ambassador
    port: 443
    targetPort: 80
  selector:
    service: ambassador

Update 10th May
According to the Envoy docs:
SSLV3_ALERT_HANDSHAKE_FAILURE: Handshake failed, usually due to upstream requires client certificate but not presented.
This would suggest that SSLv3 is being used (but I could be wrong), and AWS CloudFront does not support SSLv3 when the CF Origin is an S3 bucket, see here
Is it possible to explicitly state the TLS version used by Ambassador?

Hi @daveharding  - did you ever got this resolved ? we are facing same issue with ambassador not able to resolve with https
below is the error
upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO

Is there any update on this? We are having the same issue with ambassador.


Exploit vLLM options to return deltas/final-output only

Nontrivial performance benefit, particularly when running with decoupled front-end process.
These changes require vLLM >= 0.6.1.post2

@dtrifiro if necessary I could update these changes to work both before and after v0.6.2.post2 (like you've done for other things)

Now that vllm 0.6.2 is released, @dtrifiro agreed that there's no need for the aforementioned backwards compatibility changes, so this PR should now be ready to merge.

@njhill it seems this broke streaming generation
E                   	status = StatusCode.UNKNOWN
E                   	details = "Unexpected <class 'TypeError'>: object of type 'NoneType' has no len()"
E                   	debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B::1%5D:45943 {created_time:"2024-09-27T00:19:45.777203684+00:00", grpc_status:2, grpc_message:"Unexpected <class \'TypeError\'>: object of type \'NoneType\' has no len()"}"
E                   >

@dtrifiro this one is now fixed and should be working

Codecov Report
Attention: Patch coverage is 62.96296% with 10 lines in your changes missing coverage. Please review.

Project coverage is 58.34%. Comparing base (c5fb12d) to head (a60d6e3).

Files with missing lines
Patch %
Lines

src/vllm_tgis_adapter/grpc/grpc_server.py
62.50%
3 Missing and 6 partials :warning:

src/vllm_tgis_adapter/utils.py
66.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   58.33%   58.34%
=======================================
  Files          25       25
  Lines        1565     1570    +5
  Branches      261      263    +2
=======================================
+ Hits          913      916    +3
+ Misses        568      567    -1
- Partials       84       87    +3

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

Remaining test failures appeared to be unrelated to this PR.
Probably due to other upstream changes, and we still need to investigate/address of course.

Yeah looks like those are due to an upstream bug with CPU backend https://github.com/vllm-project/vllm/issues/9024.


Add acceleration to offboard plugin

Depends on https://github.com/mavlink/MAVSDK-Proto/pull/216

For the record, here is what I get flying the integration test. Not completely sure about the change in altitude...

For the record, here is what I get flying the integration test. Not completely sure about the change in altitude...

@Jaeyoung-Lim FYI

According to Matthias, the drift on z is expected :+1:.


Measuring Tape Tool (issue #14)

Should work from the get-go, not the cleanest just yet. Shouldnt be hard to update for the tool reworks either. Bonus fresh Icon for toolbar GUI box.

Thank you Gawi! This looks great! 😁👌
I messed up pushing to a branch on your fork, you can delete that one.


use a class instead of factory method for user error

Since the test pass, this seems to work. However, I'd rather use a separate class as error. A class as a member of a class is a weird construct, I think. This does fix #401, but I'll create a separate issue for a new separate class qx.tool.utils.UserError

2 approvals, merging. Thank you @hkollmann


selective_scan_cuda with CUDA ERROR

I have successfully built the selective_scan_cuda function. However, when I call the function, I encounter the following error. Based on the information I found online, it appears that my GPU is too old to meet the minimum CUDA requirements.
GPU: NVIDIA GeForce GTX 1080 Ti
PyTorch: 1.10.0
CUDA Toolkit: 11.3
CUDA version: 11.5
Does anybody know how to solve this problem?
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

我也遇到同样的问题，这个问题无解，1080卡无论做什么处理都解决不了这个问题，更不是什么cuda和pytorch版本不对应。我换到了2080的显卡上，pytorch 1.11.0，cuda11.3，python3.8没任何问题。2080上也尝试了pytorch2.0.0，cuda11.8可以；pytorch2.1.0，cuda12.1可以。总结出：cuda最低版本11.3，pytorch最低版本1.11.0

for GTX1080Ti，when you install selective_scan. You can try the following settings
set cc_flag.extend(["-gencode", "arch=compute_61,code=sm_61"]) in kernels/selective_scan/setup.py, line 64.
if selective_scan has been installed, you need remove it and reinstall it.
pip uninstall selective_scan
pip cache purge
cd kernels/selective_scan
pip intsall .

Still the same problem... Any advice ?


Container isolation check with x11docker/check

I am currently developing image x11docker/check to check container security.
Try out e.g. x11docker --hostdisplay --gpu x11docker/check.
Checking and demonstrating X security leaks already works pretty well.
To improve: I'd like to demonstrate issues with degraded container isolation, e.g. with options --hostnet and --hostipc.
If someone has ideas on how to demonstrate abuse of those setups, please tell me!

@mviereck, I found that the interface of x11docker/check can be successfully executed on Win10 with vcxsrv. However when clicking on some of the buttons to run some of the tests, both the GUI and vcxsrv freeze or crash. Are these tests expected to be used on Win10?

Are these tests expected to be used on Win10?

Yes, I am surprised to hear from crashes. Basically the GUI ist just a regular GUI as arbitrary other ones, too. It uses kaptain similar to x11docker-gui. The checks it provides are not dirty hacks, they just show "official" leaks. Do all buttons lead to a crash?
Could you try to run a terminal instead of the GUI?
x11docker x11docker/check xfce4-terminal

You can run the GUI itself with command containercheck.kaptn.
Some checks are scripts collected in /opt/bin:
$ ls /opt/bin/
capcheck	      formatc	 networkinfo  showoutput	windowlist
clipboard	      jumpxeyes  palinopsia   soundcheck-alsa
containercheck.kaptn  keylogger  showipc      soundcheck-pulse

A special one is showoutput that shows the output of many checks in mousepad. Maybe that one somehow causes the crash. Please try e.g. showoutput ls -la or showoutput capcheck. Try to run mousepad directly.

On a complete tangent: Microsoft announces a new WSL2 that should be able to run Docker natively without the current MobyVM workaround.

Yes, I am surprised to hear from crashes. Basically the GUI ist just a regular GUI as arbitrary other ones, too. It uses kaptain similar to x11docker-gui.

The GUI works ok. But some of the test make the X server freeze, so the GUI freezes too.

The checks it provides are not dirty hacks, they just show "official" leaks.
Do all buttons lead to a crash?

Most of the 'X server security checks' are missing some dependency or do nothing, but they don't crash. See below.

Does it make a difference if you run with option --gpu?

I am running x11docker --hostdisplay --gpu --display 101 x11docker/check.

After running all the tests one by one (see below):

I suggest disabling 'Sound' and 'Webcam' checks if x11docker was not executed with the required flags.
I will now run some of the in a terminal, because many of the tests seem to fail due to showoutput.
Crashes are related to GPU and/or Hardware information.

'Run a bash terminal': works ok.

X server security checks

'Watch mouse movement with xeyes': /bin/sh: 1: jumpxeyes: not found.
'Run keylogger with xinput': an xterm is opened (keylogger@bca3f4c51be0), but nothing happens.
'Try to run a terminal on host with xdotool': another xterm is opened (formatc@bca3f4c51be0) and the following messages are shown:

Warning: XTEST extension unavailable on '(null)'. Some functionality may be disabled; See 'man xdotool' for more info.
Xlib: extension "XTEST" missing on display "<IP_ADDRESS>:101".
Xlib: extension "XTEST" missing on display "<IP_ADDRESS>:101".
Xlib: extension "XTEST" missing on display "<IP_ADDRESS>:101".
....

'Show a list of accessable application windows with xwininfo': /bin/sh: 1: showoutput: not found.

NOTE: should it be 'accessible'?

'Watch window events with xev': works ok.

'Show content of the clipboard with xclip': /bin/sh: 1: showoutput: not found.

GPU video memory leak

'View some GPU video memory (palinopsia leak). Scroll with arrow keys.': an xterm is opened (palinopsia 800 600 256@bca3f4c51be0), a single line is shown (139), and it freezes (palinopsia 800 600 256@bca3f4c51be0 (Not responding)). The vcxsrv is not responding, so I can close neither the xterm nor use the check GUI. I need to terminate the container with Ctrl+C.

'Run glxgears': a black square is opened on the top left, an xterm is opened (glxgears@bca3f4c51be0 (Not Responding)) but it freezes straighaway. If I try to close the xterm, a crash message from Windows is shown, which allows to terminate the X server.

'Run glxspheres': a "large" window is opened with title GLX Spheres (Not Responding) which contains white and black pixels; an xterm is opened with title glxspheres64@bca3f4c51be0 (Not Responding) and the following content:

Polygons in scene: 62464 (64 spheres * 1024 polys/spheres)
Visual ID of window: 0x2c1
Cont

It needs to be terminated.

'Run glxinfo': the same as glxgears, but no black square is shown. The title of the xterm is glxinfo | grep OpenGL@bca3f4c51be0 (Not Responding).

Container capabilities

'Check process capabilities': /bin/sh: 1: showoutput: not found.
'Show some network information with netstat': /bin/sh: 1: showoutput: not found.
'Show network traffic with iptraf': an xterm is opened with title iptraf-ng@bca3f4c51be0 and content: fatal: This program can be run only by the system administrator.
'Show output of lsipc': /bin/sh: 1: showoutput: not found.
'Show process tree with pstree': /bin/sh: 1: showoutput: not found.

Hardware

'Hardware information with hardinfo': a hardinfo window is opened with title System Information@bca3f4c51be0 (Not Responding). The content of the window is the hardinfo app, but since it is freezed it cannot be used. The X server needs to be terminated.
'Sound check ALSA': an xtermis opened with title soundcheck-alsa@bca3f4c51be0 and content:

ALSA: aplay -l
aplay: device_list:272: no soundcard found...

aplay: device_list:272: no soundcard found...

But it does neither freeze nor crash.

'Sound check Pulseaudio':

Pulseaudio: $ pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

$ paply -v /usr/share/games/xboard/sounds/cymbal.wav
Opening a playback stream with sample specification 's161e 1ch 11025Hz' and channel map 'mono'.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

It does neither freeze nor crash.

'Webcam capture':

Can't open "/dev/video0" as VideoDevice!: No such file or directory
Fatal Error (non-daemon), exiting...
There was no map allocated to be freed...
feh WARNING /tmp/feh_stdin_PEJAir - No Imlib2 loader for that file format
feh: No loadable images specified.
See 'man feh' for detailed usage information

It does neither freeze nor crash.

'Show a list of printers provided by CUPS': /bin/sh: 1: showoutput: not found.

Could you try to run a terminal instead of the GUI?
x11docker x11docker/check xfce4-terminal

I'm using x11docker --hostdisplay --gpu --display 101 x11docker/check xfce4-terminal now.

NOTE: the clipboard is not shared.

You can run the GUI itself with command containercheck.kaptn.

This works.

Some checks are scripts collected in /opt/bin:
$ ls /opt/bin/
capcheck	      formatc	 networkinfo  showoutput	windowlist
clipboard	      jumpxeyes  palinopsia   soundcheck-alsa
containercheck.kaptn  keylogger  showipc      soundcheck-pulse

This is quite surprising:
eine@33ddcdbab9d2:~$ ls /opt/bin
capcheck   containercheck.kapt  keylogger   soundcheck-alsa   windowlist
clipboard  formatc              palinopsia  soundcheck-pulse

So, networkinfo, showoutput, jumpxeyes and showpic are missing.

On a complete tangent: Microsoft announces a new WSL2 that should be able to run Docker natively without the current MobyVM workaround.

Yes, I was told about it. I have to see this video yet: https://www.youtube.com/watch?v=lwhMThePdIo

Thanks for your tests! Let us focus on one core issue first:

So, networkinfo, showoutput, jumpxeyes and showpic are missing.
did you forget to 'git add' them and/or to push the changes to the repo?

I tried the following, but showoutput is not uploaded to the online repository:
lauscher@buster:~/git/dockerfile-x11docker-check$ git add bin
lauscher@buster:~/git/dockerfile-x11docker-check$ git add bin/showoutput
lauscher@buster:~/git/dockerfile-x11docker-check$ git push
Username for 'https://github.com': mviereck
Password for<EMAIL_ADDRESS>
Everything up-to-date

git add does not say anything, and git push reports success. But there is no upload.
Do I miss something? I am not really familar with the git commands.

You need to first git add all/each of the files you want to upload.  Last, you git push the new commit to the remote.

Thanks, the git commit part was missing!

However, the files are online now, and the docker image on docker hub is rebuilding yet.

Great. I run the tests again and I updated the comment above.

'Run keylogger with xinput': an xterm is opened (keylogger@bca3f4c51be0), but nothing happens.

Could you please run xinput in the container terminal and show me the output?

NOTE: should it be 'accessible'?

Fixed, thanks.

I suggest disabling 'Sound' and 'Webcam' checks if x11docker was not executed with the required flags.

I want this image to be usable for setups without x11docker, too. Also, ALSA sound and webcam would work, too, if one provides e.g. --privileged.
However, overall there should be some explanation in each output what results can be expected and how to interpret them. That will help to check off some of the open items.
Sometimes a failure message is sort of success -> isolation works.
I'll improve the output messages.

Crashes are related to GPU and/or Hardware information.

It is unfortunate that they crash and freeze instead of just failing. Maybe I have to disable them on Windows. However, how should the container know that it runs on Windows? I'll think about it.

Could you please run xinput in the container terminal and show me the output?

As commented above, it is a bit annoying that the clipboard seems not to be shared. I took a screenshot instead:

I want this image to be usable for setups without x11docker, too. Also, ALSA sound and webcam would work, too, if one provides e.g. --privileged.

Gotcha.
I tried:
# ./x11docker --privileged --hostdisplay --gpu x11docker/check xfce4-terminal

x11docker ERROR: x11docker: unknown option -- privileged

  Type 'x11docker --help' for usage information
  Debug options: '--verbose' (full log) or '--debug' (log excerpt).
  Logfile will be:
  Please report issues at https://github.com/mviereck/x11docker

If I use x11docker --hostdisplay --gpu -- --privileged -- x11docker/check xfce4-terminal it is successfully started. But the tests (ALSA, Pulseaudio, Webcam and/or CUPS) produce the same output as commented above.

However, overall there should be some explanation in each output what results can be expected and how to interpret them. That will help to check off some of the open items.

This is a great idea.

Crashes are related to GPU and/or Hardware information.

It is unfortunate that they crash and freeze instead of just failing. Maybe I have to disable them on Windows. However, how should the container know that it runs on Windows? I'll think about it.

I think that we might need to revisit #148. I now tried x11docker --gpu -- x11docker/xfce  xfce4-terminal, which will open a terminal successfully. When I execute glxinfo in there, I get name of display: <IP_ADDRESS>:101 and it freezes/crashes. I believe that the 'one confirmation' that you mentioned here is me, isn't it? If so, we should consider that we have no valid confirmation now.

Much thanks for your extensive testing!

You are very welcome.

I now tried with --clipboard and it works. I also show that you added some messages to explain the expected behaviour of the tests.
I run all the checks on my laptop too. It is surprising for me that glxinfo and glxspheres are successfully executed, but palinopsia and glxgears crash.

If I use x11docker --hostdisplay --gpu -- --privileged -- x11docker/check xfce4-terminal it is successfully started. But the tests (ALSA, Pulseaudio, Webcam and/or CUPS) produce the same output as commented above.

ALSA and webcam check work here with --privileged. On Linux only, though, on Windows they don't work at all. Pulseaudio and CUPS need more setup than --privileged.

Run keylogger with xinput': an xterm is opened (keylogger@bca3f4c51be0) and a couple of messages are shown explaining the expected behaviour:

Running a keylogger with 'xinput test'.
However, I think that the check itself fails.

Your xinput screenshot shows a Windows keyboard. I've added it to the script. It will be interesting if the check shows all keypresses or only those within the VcXsrv windows.

'Try to run a terminal on host with xdotool': another xterm is opened (formatc@bca3f4c51be0) and the following messages are shown:

The message now explains that XTEST errors indicate that the isolation works.

I think that we might need to revisit #148.

Yes, let's discuss Windows GPU issues there to keep this ticket clean.
I assume the differences beween your host machines are issues related to VcXsrv. Maybe the GPU checks do not crash with software rendering, i.e. running without option --gpu.

Crashes are related to GPU and/or Hardware information.

I am a bit surprised that hardinfo crashes, too. Maybe it is GPU related? Does it fail, too, if you run without option --gpu?

[ALSA, pulseaudio, printer]

I've updated the messages to explain errors.
Some other items still need some explaining messages, I am working on it.

ALSA and webcam check work here with --privileged. On Linux only, though, on Windows they don't work at all. Pulseaudio and CUPS need more setup than --privileged.

When x11docker is used to start the container, it should be possible to set some envvar to let the GUI know that those checks are not available. It is not an ideal solution, but it can useful to offer a better first UX until a better solution is found.

Your xinput screenshot shows a Windows keyboard. I've added it to the script. It will be interesting if the check shows all keypresses or only those within the VcXsrv windows.

It shows all the keypresses in any window within the same X server, but not in a different X server or on the host.

Yes, let's discuss Windows GPU issues there to keep this ticket clean.
I assume the differences beween your host machines are issues related to VcXsrv. Maybe the GPU checks do not crash with software rendering, i.e. running without option --gpu.

As you say, all of the tests work with software rendering. This is the output of glxinfo:
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

glxgears works at 440-480 FPS and glxspheres at 20-25 FPS.

I am a bit surprised that hardinfo crashes, too. Maybe it is GPU related?

I'm pretty sure that it is related to the GPU. On the laptop, hardinfo works OK and I could even run the benchmnarks (both for CPU and GPU). BTW, it is a very interesting feature that you decided to include this. Thank you.

Does it fail, too, if you run without option --gpu?

No. With software rendering hardinfo works ok.

Some other items still need some explaining messages, I am working on it.

Let me know if you want me to do any further test.

When x11docker is used to start the container, it should be possible to set some envvar to let the GUI know that those checks are not available. It is not an ideal solution, but it can useful to offer a better first UX until a better solution is found.

Currently I've integrated warning messages in the GUI of x11docker/check.
Maybe I could check the output of xinput for Windows to generate dynamic content. However, that will need a dynamic creation of containercheck.kaptn. Currently it is a rather simple static file.

I'm pretty sure that it is related to the GPU. On the laptop, hardinfo works OK and I could even run the benchmnarks (both for CPU and GPU). BTW, it is a very interesting feature that you decided to include this.

Yes, it is quite interesting to see what is visible from the host.

Let me know if you want me to do any further test.

Could you please check --pulseaudio on Windows? (Needs Cygwin with pulseaudio installed, but works for MSYS2 and WSL, too.)
Overall, I've changed nearly all output comments of all check buttons. Could you have a look if they are comprehensive? Especially the glxinfo button should be more useful now.

Could you please check --pulseaudio on Windows? (Needs Cygwin with pulseaudio installed, but works for MSYS2 and WSL, too.)

On my workstation, cygwin is not installed at C:/ but at F:/. x11docker fails because of this:
x11docker WARNING: --pulseaudio: Did not find C:/cygwin64/bin/pulseaudio.exe.
  Please install Cygwin with pulseaudio.
  Fallback: Disabling option --pulseaudio

At the same time, the following message is shown:
x11docker note: Option --pulseaudio: Pulseaudio daemon will continue
  to run after x11docker terminates. You can kill pulseaudio manually with:
      taskkill.exe /PID pulseaudio.exe /F

taskkill.exe /PID pulseaudio.exe /F works on the windows cmd but it is not valid syntax for MSYS2.

Overall, I've changed nearly all output comments of all check buttons. Could you have a look if they are comprehensive? Especially the glxinfo button should be more useful now.

Note that I am neither a native english speaker. It'd be great if any british/american could have a better look. Overall, I'd try to build full sentences. So, for example:

'X server security check':
These tests allow to check some possible security leaks in an X window server.
Most of them are of interest when x11docker option '--hostdisplay' is used, especially along with '--clipboard' or '--gpu'.
However, the widespread setup to share an X server with a docker container through '-v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY' might be affected too.

'Palinopsia leak'
With x11docker option --gpu, a privaly leak is possible, which allows former sensitive video content (e.g. letters or 'pron') to be viewed. The content can even survive a reboot. This is because some GPU drivers do not clean the video memory after an application allocates it. See https://hsmr.cc/palinopsia.
Error messages or all black window content accross scrolled view indicate that the video memory is not leaked.

Docker allows a subset of capabilities per by default.

About the message in 'Mouse events', it is OK. But it made me realize that isolation does not work. The mouse is followed no matter where it is. The same applies to 'Watch window event with xev': I can see all the events.
'Show some network information with netstat' needs some seconds to execute. This can be misleading, since the user might click multiple times thinking that the first click was not valid.

On my workstation, cygwin is not installed at C:/ but at F:/. x11docker fails because of this:

Should be fixed now. x11docker looks at drives C ... O.

taskkill.exe /PID pulseaudio.exe /F works on the windows cmd but it is not valid syntax for MSYS2.

I've changed the message that it mentions cmd.exe.
However, this one should work to disable MSYS2 path conversion:
env MSYS2_ARG_CONV_EXCL='*'  taskkill.exe /PID pulseaudio.exe /F

x11docker does not do this itself because it uses the same pulseaudio daemon for multiple x11docker containers.

Note that I am neither a native english speaker. It'd be great if any british/american could have a better look. Overall, I'd try to build full sentences. So, for example:

Thanks for the suggestions! I'll look later.

On my workstation, cygwin is not installed at C:/ but at F:/. x11docker fails because of this:

Should be fixed now. x11docker looks at drives C ... O.

It does find pulseaudio now. After I try to use it, I can see a process and kill it:
> taskkill.exe /PID pulseaudio.exe /F
SUCCESS: The process "pulseaudio.exe" with PID 21356 has been terminated.

However, the check does not work:
Sound check for pulseaudio sound. (Option --pulseaudio)

You should hear some noise.
Error messages indicate that no pulseaudio connection has been set up.

***************************************************
$ pactl info
Connection failure: Connection refused

***************************************************
$ paplay -v /usr/share/games/xboard/sounds/cymbal.wav
Opening a playback stream with sample specification 's16le 1ch 11025Hz' and channel map 'mono'.
Connection failure: Connection refused

I tried both x11docker --clipboard --pulseaudio x11docker/check and x11docker --clipboard --pulseaudio -- --privileged -- x11docker/check.

I tried both x11docker --clipboard --pulseaudio x11docker/check and x11docker --clipboard --pulseaudio -- --privileged -- x11docker/check.

--privileged cannot make a difference here.
I assume it is a firewall issue once more.

You can explicitly set --pulseaudio=tcp in further checks to make sure x11docker uses TCP.
Could you have a look at your firewall?

I assume it is a firewall issue once more.

You can explicitly set --pulseaudio=tcp in further checks to make sure x11docker uses TCP.
Could you have a look at your firewall?

I used --pulseaudio=tcp and I disabled the firewall. Still the same result.

On Linux this could only be the case with --hostdisplay. On Windows it can only be the case for Windows from the X server, not for Windows-windows.

This might be because the X server has a transparent background window that takes all the available space.

'Show some network information with netstat' needs some seconds to execute. This can be misleading, since the user might click multiple times thinking that the first click was not valid.

That is fast here. Maybe on Windows there is some delay in DNS resolving or something similar. I'm not sure if I should do something here. Maybe a note in the GUI that it takes some time on Windows?

Yes, it is likely to be because of multiple additional intermediate layers. A note will do it.

I used --pulseaudio=tcp and I disabled the firewall. Still the same result.

I have added a button to run pavucontrol. Maybe the sound is just muted.
Could you try again please, still having an eye on the firewall?
Could you try in Cygwin as well?

Today Win10 restarted after some update. Now, there seems to be some permission problem, and no GUI can be used at all:
# ./x11docker x11docker/check
x11docker note: Failed to check for sshd. ps -p not supported.

x11docker note: Using X server option --vcxsrv

x11docker note: Per default x11docker stores its cache files on drive C:.
  docker setup may not allow to share files from drive C:.
  If startup fails with an 'access denied' error,
  please either allow access to drive C: or specify a custom folder for cache
  storage with option '--cachebasedir D:/some/cache/folder'.
  Same issue can occur with option '--home'.
  Use option '--homebasedir D:/some/home/folder' in that case.

x11docker note: Windows firewall settings can forbid application access
  to the X server. If no application window appears, but no obvious error
  is shown, please check your firewall settings. Compare issue #108 on github.

x11docker note: Your docker version does not support option --group-add.
  Possible sound or GPU setup may fail. Please update your docker installation.

cat: /etc/group: No such file or directory
cat: /etc/group: No such file or directory
cat: /etc/group: No such file or directory
cat: /etc/group: No such file or directory
Authorization required, but no authorization protocol specified
kaptain: cannot connect to X server <IP_ADDRESS>:100

No matter which image I use, I always get Authorization required, but no authorization protocol specified.

No matter which image I use, I always get Authorization required, but no authorization protocol specified.

It seems I somehow messed up XAUTHORITY, I'll look at that. Meanwhile it should work to run with option --no-auth.

It seems I somehow messed up XAUTHORITY, I'll look at that. Meanwhile it should work to run with option --no-auth.

Yes, it works with --no-auth.
When I don't use it (x11docker --verbose x11docker/check), the following error is shown:
LoadPreferences: C:\msys64\home\eine\.XWinrc not found
LoadPreferences: Loading C:\Program Files\VcXsrv\system.XWinrc
Warning: Locale not supported by X, falling back to 'C' locale.
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
/c/Users/eine/x11docker/cache/x11docker-check-c01f93/xinitrc: line 107: xsetroot: command not found
-rw-r--r-- 1 eine None 0 May 17 04:47 /c/Users/eine/x11docker/cache/x11docker-check-c01f93/share/Xclientcookie
Failed to retrieve trusted cookie from X server. Will bake one myself.
Ignoring locks on authority file Xclientcookie
Ignoring locks and writing authority file Xclientcookie
-rw-r--r-- 1 eine None 230 May 17 04:47 /c/Users/eine/x11docker/cache/x11docker-check-c01f93/share/Xclientcookie
C:\Program Files\VcXsrv\xauth.exe: (argv):1:  unable to read any entries from file "(stdin)"
Ignoring locks on authority file Xclientcookie

==> /c/Users/eine/x11docker/cache/x11docker-check-c01f93/message.log <==
x11docker[258.42]: Waiting since 1s for --vcxsrv to be ready.

I think that unable to read any entries from file "(stdin)" might be familiar to you.

I have added a button to run pavucontrol. Maybe the sound is just muted.
Could you try again please, still having an eye on the firewall?

Still the same result. When I try to start pavucontrol a window is shown with error Fatal Error: Unable to connect to PulseAudio: OK. And this is the content of the terminal which is opened with Sound check pulseaudio:
Sound check for pulseaudio sound. (Option --pulseaudio)

You should hear some noise.
Error messages indicate that no pulseaudio connection has been set up.

***************************************************
$ pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

***************************************************
$ paplay -v /usr/share/games/xboard/sounds/cymbal.wav
Opening a playback stream with sample specification 's16le 1ch 11025Hz' and channel map 'mono'.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Could you try in Cygwin as well?

I had an issue to start it (see https://github.com/mviereck/x11docker/issues/155#issuecomment-493563805). After working around it, I get the same results as with MSYS2 and VcXsrv.

Can you please try pavucontrol.exe from Cygwin? That is the one check I can do myself, and it works.
x11docker --pulseaudio  --exe pavucontrol.exe

Can you please try pavucontrol.exe from Cygwin? That is the one check I can do myself, and it works.
x11docker --pulseaudio --exe pavucontrol.exe

My bad. pavucontrol was not installed in cygwin. I installed it now and ./x11docker --display 101 --pulseaudio --exe pavucontrol.exe works. But, as you suggested, the volume is at level 0.
When I try ./x11docker --display 101 --pulseaudio --clipboard --no-auth x11docker/check now, a Volume Control@42b289e5501a window is opened, and the following message is shown Establishing connection to PulseAudio. Please wait.... It never connects, but it does neither freeze nor crash.

I've seen that before, but has been fixed a long time ago. I've checked both MSYS2 and Cygwin with --vcxsrv and --xwin, I cannot reproduce the issue. My Windows VM installation just had an update, too.

It is strange because the cookie seems to be properly generated, and the environment variables inside the container have the expected content. Might xsetroot: command not found be related to this?

When I try ./x11docker --display 101 --pulseaudio --clipboard --no-auth x11docker/check now, a Volume Control@42b289e5501a window is opened, and the following message is shown Establishing connection to PulseAudio. Please wait.... It never connects, but it does neither freeze nor crash.

That looks promising! Than there is probably some authentication issue left. It is either the firewall or a wrong pulseaudio module setup.
The line of interest for pulseaudio authentication is https://github.com/mviereck/x11docker/blob/master/x11docker#L5382

  case $Winsubsystem in
    "") $Mksu "pactl load-module module-native-protocol-tcp  port=$Pulseaudioport auth-ip-acl=${Containerip:-"<IP_ADDRESS>"} 2>&1" >>$Messagelogfile ;;
    *)  env XDG_RUNTIME_DIR="" HOME="" cmd.exe /C "$Cygwinbinpath/pactl.exe load-module module-native-protocol-tcp  port=$Pulseaudioport auth-ip-acl=${Containerip:-$Hostip} 2>&1" 2>&1 >>$Messagelogfile ;;
  esac

Authentication for Pulseaudio access is ruled with module-native-protocol-tcp for defined IP addresses.
In general the command seems to be ok because it works for pavucontrol.exe on host.
Maybe $Containerip is wrong or empty?
You could encapsulate the quoted code with set -x and set +x to see the real command in the terminal output.

You could encapsulate the quoted code with set -x and set +x to see the real command in the terminal output.

+ case $Winsubsystem in
+ env XDG_RUNTIME_DIR= HOME= cmd.exe /C 'F:/cygwin64/bin/pactl.exe load-module module-native-protocol-tcp  port=52401 auth-ip-acl=<IP_ADDRESS> 2>&1'
+ set +x

That looks quite correct. pactl is called,the path is in F:/, and the IP looks well.
Can you somehow check if that is really the container ID and not the host IP? Maybe adding:
note "Hostip: $Hostip
Containerip: $Containerip"

However, it looks like a normal docker container IP.
If the container IP is ok, I have no further idea.
Alternatively x11docker could set up pulseaudio without authentication at all, but I would not like to do that.

The IP is correct:
Hostip: <IP_ADDRESS>
Containerip: <IP_ADDRESS>

Alternatively x11docker could set up pulseaudio without authentication at all, but I would not like to do that.

I think it is ok to just add a note explaining that pulseaudio might not work.

Re: Authorization issue
@1138-4EB  Please let's discuss that in #160

Re: pulseaudio
@1138-4EB Let's discuss the pulseaudio issue in #161

Closing this ticket, it is too long and already contains different issues. Feel free to open a new ticket about x11docker/check if you have further thoughts.


Decorator error when constructor has multiple args

When making an angular 2 component there is an error on both the Component and View decorators any time the class constructor takes multiple arguments.

However there are no errors after removing the second and third arguments from the constructor

that's odd, I know that Angular 2 still needs work with their type definitions for example currently the pipes property is missing from the View decorator in the type definition
cc @jashmenn (maintainer of the repo for this example)

Closing at it seems like a TypeScript / Angular definition error. Feel free to continue the discussion here, I'll be watching if this turns out to be something that needs to be fixed in atomts :rose:


ci: Update deps & ci

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


get duplicated files from gallery

Changes proposed in this pull request:
- requires https://github.com/pyfar/gallery/pull/50

download the navbar, stylefiles and logos which where copied from gallery.
remove redundancies

after https://github.com/pyfar/gallery/pull/50 is merged we need to change the branch to main
latest changes: (2024-03-24)

intoduce pyfar as subpage to create left sidebar and dymanic header
download all the static header stlyes logos, stylefiles from gallery automatically

'_static/css/custom.css',
'_static/favicon.ico',
'_static/header.rst',
'resources/logos/pyfar_logos_fixed_size_pyfar.png'

requires https://github.com/pyfar/gallery/pull/52

Looks good to me, thanks for taking care! What I do not understand: why was the former content of index.rst moved to pyfar.rst, and then index.html is replaced with pyfar.html? Why can't header.rst just be included at the top in index.rst?

if we directly merge to main and rebuild the doc on readthedocs, we dont need a wait until the release

replaced by #569


Is something like this possible to bind with rivets?

var model = {
  languages: [ "en", "ru" ],
  items: [ {id: 1000, localized: { "en": { name: "English name" }, "ru": { name: "Russian name" }}}, ... ]
}

  <div rv-each-language="languages"
    <input rv-value="item[language].name" />

Should somehow interpret "language" as value of language, and not item.language, possible?

You want to use a formatter for what you're trying to achieve. Something like below would work.
https://jsfiddle.net/9cmxmbyj/

Thanks tanshul, but what if I need it in a text input with two-way binding?

You can use formatters in any context. Notice the updated JSFiddle which sets the input value using rv-value.
https://jsfiddle.net/9cmxmbyj/1/

Thanks!


Generate URL endpoints from schema definitions

It would be very useful to have a list of valid URL endpoints and the types of their arguments and return values for testing purposes. This information should be derivable from the Avro schemas and could be added to the auto generated file _protocoldefinitions.py.
The general pattern is Search[Class]Request maps to the URL /[class]/search which takes a Search[Class]Request and returns a Search[Class]Response. We can scan for these class names in scripts/generate_schemas.py using a simple regex, and write a list of (url, requestClass, responseClass) triples at the end of the _protocoldefinitions.py.
A different (and inconsistent) pattern holds for GET requests, which should be dealt with later.

Starting work on this issue

Fixed in #74


areroscope, fluorocarbons

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 5
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,f]

/trunk merge


Reindexing only valid with uniquely valued Index objects

admet_predict in Cli Mode throw error:Reindexing only valid with uniquely valued Index objects, what's the reason and how fix it

Hi @osangma,
Thank you for bringing up this issue! Can you please provide a bit more context about the error? Can you share the exact command you tried to run, and if possible, the dataset you tried to run it on?
Thanks,
Kyle

Hi @osangma,
I'm going to close this issue, but please feel free to reopen it if you're still having issues.
Best,
Kyle


support page event.

[Page Event]
"page events" are pagemousemove and pagemouseup.
They are triggered when a user pointer interacts on the whole webpage
rather than only inside the zrender area.
The use case of page events can be, for example, if we are implementing a dragging feature:
zr.on('mousedown', function (event) {
    var dragging = true;

    // Listen to `pagemousemove` and `pagemouseup` rather than `mousemove` and `mouseup`,
    // because `mousemove` and `mouseup` will not be triggered when the pointer is out
    // of the zrender area.
    zr.on('pagemousemove', handleMouseMove);
    zr.on('pagemouseup', handleMouseUp);

    function handleMouseMove(event) {
        if (dragging) { ... }
    }
    function handleMouseUp(event) {
        dragging = false; ...
        zr.off('pagemousemove', handleMouseMove);
        zr.off('pagemouseup', handleMouseUp);
    }
});

[NOTICE]:
(1) There are cases that pagemousexxx will not be triggered when the pointer is out of
zrender area:
"document.addEventListener" is not available in the current runtime environment,
or there is any stopPropagation called at some user defined listeners on the ancestors
of the zrender dom.
(2) Although those bad cases exist, users do not need to worry about that. That is, if you
listen to pagemousexxx, you do not need to listen to the correspoinding event mousexxx
any more.
Becuase inside zrender area, pagemousexxx will always be triggered, where they are
triggered just after mousexxx triggered and sharing the same event object. Those bad
cases only happen when the pointer is out of zrender area.
Check https://github.com/apache/incubator-echarts/pull/11710/files#diff-bcd811d4d43d3bc2cfccb7e76aeb0354

Remaining Issues:
Whether to use useCapture?
That is, whether to use useCapture to reduce the case that "some users' listeners call stopProgation so that the pagemousexxx event can not be triggered when the mouse is out of zrender are"?
Currently, I prefer do not use useCapture, util we some more sophisticated solution about it occurs. Becuase:
(1) Legacy IE (e.g., IE8) compatibility issue. Because useCapture or not results in two different treatment in code. If considering compat issue, we need to write both code for them.
(2) If dispatching event in capture phase and users use stopPropagation in the handler of pagemousexxx event, the zrender might not be able to receive relative "mousemove", "mouseup" event as before. I know we may make some trick to handle it (e.g., use the document event instead of the previous zrender dom mouse event), but probably it is not worthy to make that hard and bug-prone work.
Anther solution is preventing users from calling stopPropagation. We do not make sure whether we should do that. If zrender is running on some other system like a map sdk, there might be some case that users need to call stopPropagation to prevent the upper system from receiving events when dragging something.


Feeds are not refreshed

Hello, I'm trying the Demo, and when i add feeds it says:
Feed missing
This happens on:
https://access.redhat.com/blogs/766093/feed
It does not always happen, but when I add feeds sucessfully they show up empty.
Any tips?

@2knarf I attempted to reproduce the issue; however, I was unable to do so. Please see the attachment below. Due to the age of this issue, I'm going to go ahead and close it out. If you experience the issue again, please open up a new ticket outlining any errors that may appear in your console or network tab, along with your environment (OS, Browser, etc.). Thank you!


fix modules

for now we can't auto-include modules when we use them as intended by the original author.
It may not be possible with the current state of hugo anymore

The theme is using {{ .Content }} directly in layout.html.
Maybe(!) this issue could be solved if you put all the surrounding stuff of the content-command into baseof.html and define a main-block in single.html. (and use it in baseof.html)

The new render sequence ( baseof.html encapsulates layout encapsulates content ) could solve this...

https://gohugo.io/templates/base/#define-the-base-template


feat: Add task_type and auto_truncate to VertexAIEmbeddings

Added task_type and auto_truncate fields to VertexAIEmbeddings.
https://cloud.google.com/python/docs/reference/aiplatform/latest/vertexai.language_models.TextEmbeddingInput

cc @lkuligin

SGTM, but it has been partially addressed here: #13999 (it's waiting to be merged for a while already)

looks like there's some conflicts after #13999

going to close, as its been partially addressed and has merge conflicts
if functionality is still missing, please open a new pr off master and we'll take a look!


Test 32 checks for BF16 but not for EBF16

QEMU 'max' cpu implements FEAT_EBF16 (output of my ArmCpuInfo tool):
ISAR1 | LS64         | 63:60 |  0000 | FEAT_LS64 not implemented.
ISAR1 | XS           | 59:56 |  0000 | FEAT_XS not implemented.
ISAR1 | I8MM         | 55:52 |  0001 | FEAT_I8MM implemented.
ISAR1 | DGH          | 51:48 |  0001 | FEAT_DGH implemented.
ISAR1 | BF16         | 47:44 |  0010 | FEAT_EBF16 implemented.
ISAR1 | SPECRES      | 43:40 |  0001 | FEAT_SPECRES implemented.
ISAR1 | SB           | 39:36 |  0001 | FEAT_SB implemented.
ISAR1 | FRINTTS      | 35:32 |  0001 | FEAT_FRINTTS implemented.
ISAR1 | GPI          | 31:28 |  0000 | FEAT_PACIMP not implemented.
ISAR1 | GPA          | 27:24 |  0001 | FEAT_PACQARMA5 implemented.
ISAR1 | LRCPC        | 23:20 |  0010 | FEAT_LRCPC2 implemented.
ISAR1 | FCMA         | 19:16 |  0001 | FEAT_FCMA implemented.
ISAR1 | JSCVT        | 15:12 |  0001 | FEAT_JSCVT implemented.
ISAR1 | API          | 11:8  |  0000 | Address Authentication (API) not implemented.
ISAR1 | APA          |  7:4  |  0101 | FEAT_FPACCOMBINE implemented.
      |              |       |       | FEAT_PACQARMA5 implemented.
ISAR1 | DPB          |  3:0  |  0010 | FEAT_DPB2 implemented.

But test 32 checks only for BF16:
    /* ID_AA64ISAR1_EL1.BF16[47:44] = 0b0001 indicate FEAT_BF16 support */
    data = VAL_EXTRACT_BITS(val_pe_reg_read(ID_AA64ISAR1_EL1), 44, 47);

    if (data == 1)
        val_set_status(index, RESULT_PASS(TEST_NUM, 01));
    else
        val_set_status(index, RESULT_FAIL(TEST_NUM, 01));

Filled as https://github.com/ARM-software/sbsa-acs/issues/476


Error with docker-compose (ruby gem)

Step 7 : RUN bundle install --retry=3 && bundle binstubs phantomjs
---> Running in 6f492be2e2b4
Fetching source index from https://rubygems.org/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/Could not fetch specs from https://rubygems.org/
ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle install --retry=3 && bundle binstubs phantomjs' returned a non-zero code: 17

That sounds more like a local networking issue.


doc: Remove redundant directions

README had redundant directions for running app and setting config values.  Just cleaned it up a bit.

I accidentally


Project architecture change

Codecov Report

Merging #144 (db10f52) into master (1f96b61) will decrease coverage by 5.18%.
The diff coverage is 85.29%.

@@            Coverage Diff             @@
##           master     #144      +/-   ##
==========================================
- Coverage   90.47%   85.29%   -5.19%
==========================================
  Files          18        4      -14
  Lines         420      136     -284
==========================================
- Hits          380      116     -264
+ Misses         22        9      -13
+ Partials       18       11       -7

Impacted Files
Coverage Δ

template.go
77.77% <77.77%> (ø)

components.go
79.41% <79.41%> (ø)

actions.go
88.33% <88.33%> (ø)

nethttp.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Please do not alter the directory "initial-one"

Please do not alter the folder "initial-one". This is for us to have an unaltered initial file. I also changed the repo to public so I can get to see your PR before you merge to Main or other branches.

Ok. Noted


Support for PyTorch 2.0?

Hi, thanks a lot for this work.
I was wondering if the hard constraints ("==") to pytorch 1.13.1 and pytorch lightning 1.8.6 are necessary (link).
Particularly for PyTorch 2.0, this is fully backwards compatible with 1.13, and given the performance gains, it would be nice to add support for this by dropping the hard constraint. I can open a quick PR if that makes it easier for you.

Hey, thanks for responding. I'll keep these notes (particular that about PL) in mind and open a PR if indeed I find PyTorch 2.0 is supported


New network request: Arbitrum Nova

Network information

Name: Arbitrum Nova
ChainId: 42170
RPC http/s address: https://nova.arbitrum.io/rpc
Link to https://chainlist.org/ : https://chainlist.org/chain/42170
Blockexplorer: https://nova.arbiscan.io/

When we provide a PR please deploy the singleton and if possible post an answer on this issue with the links to the blockexplorer addresses.

We changed the steps for getting the deployment, please:

[ ] I have run RPC='http://my-rpc-address' yarn estimate
[ ] I have sent requiredFunds to 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37

And then let us know

Hey @Uxio0 , it looks like it was already deployed in this transaction => https://nova.arbiscan.io/tx/0x82a67a9c0f5730e4e76d2ca0dc699798cc5b20837f2cf119fff21db128d3ebb4


error: Could not find suitable distribution for Requirement.parse('vtk')

I tried to install Det3D with "python setup.py build develop" according to the install.md, but got error when install vtk...

how to install vtk is of Det3D's scope


⚠ Bofrost.de has degraded performance

In 4b3af7a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 912 ms

Resolved: Bofrost.de performance has improved in ed6614a.


outgoing_http: Fix type annotations

Thanks for the fix, @andersk!  Looks like I somehow got this wrong when I added it in af2684955489b2c93e86cf1e6b8d8953eaaeaa00.


access model - identify stocked streams above natural barriers

For anadromous access models, we currently remove any natural barriers that are downstream of observations (n>=5 since 1990).
In some locations, observations are of stocked populations and valid natural barriers downstream get removed from outputs. This is fine in terms of mapping/modelling potentially accessible streams - the stocked populations are valid and stream potentially accessible to these populations should be considered. However, eliminating the downstream natural barriers from the model is not ideal.
Ideally, I think we would have a column noting that given stream is potentially accessible only because it is stocked, and retain the downstream natural barriers.
Note that this explains many observations upstream of significant natural barriers (that otherwise appear to be errors).

This could be extended to trap and truck and other similar systems.


Reduce allocations on map(), filter(), mapnew() against non-materialized list.

I noticed that we can skip materializing the range() list in the argument of
map(), filter() and mapnew(). This patch builds the result list without
materializing the range() list. I think the map(range( pattern appears
often in plugins.

Hmm, this was more difficult than I though.


black screen after start on build HTML5

steps to replicate:

open MatchaNovel on defold 1.9.2
run Project/Build HTML5
choose Start on start menu

expected:  Chloe on the river, some story

got :  Black screen, no story

This should be fixed with the newest commit.

Works now, can confirm. Thanks!


Mappings can be established both ways

On the submit mapping page, if you do the same equivalent mapping but the different order, it says you established a new mapping. This should say " you already established that mapping"

Oups

When you're sorting the two entries, it needs to be on the tuple of database, name and not just database in case they are two from the same database

@cthoyt I think this also work


Create first subpage (contact.html)

Must be stored in a subfolder of the root folder

First subpage will be contact.html

Completed in main


How to calculate how many events fit in a cell?

Hi @antoniandre
I'm using fixed height cells on month view and I want to display only a number of events that would fit the cell (see the picture below) instead of overflowing out of it.

Calendar cells height is vuecal__body height devided by 6 (6 rows of cells in month view). To find out how many events would fit in the cell I divide the cell height by event's height which I get from vuecal__event.
This works when I'm in month view. But when I switch from week (or day) to month and try to calculate the number on view-change, I get the height of the events in week view (which is too big). Maybe the view-change is emitted before the calendar is redrawn.
Could you give me a better idea how could I get the number of events to show?

Hi @green-pigeon,
Yes that's right, if you use view-change, you might have to wait for the next tick if you need some information from the DOM, like event heights.
Give a try to this .$nextTick(() => { // what you want here. })
Let me know if it did not work. If so, please share your code!

Btw, as this is a quite common scenario, if you get something working, please share some code for the next interested!
You have good ideas, I am sure you have an awesome app already!

Hello @green-pigeon, that is what I was looking for! Showing just 2-3 events and number of remaining events on the cell. Could you please share how did you do that! That would be really helpful. I believe that would help many people as  @antoniandre  said.

Hi @green-pigeon, @adinai,
Looking a bit closer at it for feasibility, I created a demo here https://codepen.io/antoniandre/pen/oNXBRqM with all the logic and styles to help you out.
But it seems that you will not be able to fully accomplish what you want, you will still be limited if you try to do exactly what you presented above:
In this case, because you want to choose which event to display or hide, you need to fully render the events list yourself which is not allowed in Vue Cal.
The reason why it's not allowed so far is that there's quite a lot of things to handle if you render the list of events yourself I found it would be too complex.
I will see if I can do something about it later, but for now I am focusing on the drag and drop feature until it's released.
In the meantime, 2 other alternatives that you can do with the current system would be:

each cells with events have a scrollbar
the cells has an overflow hidden, but the button to show more is called "show all", then it opens a popup or whatever with all the events

Hope it makes sense, otherwise you can ask me your questions.

Closing this issue as a solution is given.
If you want full control on cell please create a feature request, if other users are interested I will do something.
Thanks.


Updated UglifyJS v3

@S1SYPHOS Thanks for the PR. As you can see, the changes to the internal API have changed, so this will (likely) be a breaking change for this project as well.
v3 is still not yet stable, so this will be a low priority change for the moment.

Got it, thanks for the reply anyway & keep up the good work.

Closing this in favor of my "three" branch. I hope to finish it up (and publish) soon.


pystemmer <IP_ADDRESS> (with arches)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

References:

includes #3

Changes:

[x] update recipe syntax (remove name, sort deps, etc)
[x] update for python 3.13
[x] add osx-arm64, linux-aarch64 and linux-ppc64le

Thanks for maintaining this!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@conda-forge/pystemmer ready for review

Thank you @bollwyvl !


[SPIKE] API versioning

Context

Changes proposed in this pull request

Guidance to review

Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

@mnacos @SamJamCul @JR-G

Closed as https://github.com/DFE-Digital/apply-for-teacher-training/pull/6170 is superseding


[Feature Request] Loop the jumplist

It would be nice if there's an option to loop through the jump list, so that if you're currently on the head of the jumplist, going forward will send you to the tail of the jumplist.

Hey @musjj, thanks for the feature request. I don't have plans to add wrapping right now, but happy to accept a PR for this feature


added uezo.edu.br domain

The university official website = UEZO
A page of  IT related course that is offered = UCOMP
Proof showing that the university recognizes the domain which you are submitting as an official email domain for the enrolled students. = PDF

@marcusbalo Pull request merged. Thank you!


Video load failed

Hi. I'm copying some videos from Dropbox to Teldrive using rclone. Lots of videos of some folders are getting error "Video load failed" after 5 reconnects trying to play them from Teldrive web. If I upload those videos again and same issue with those same videos. Other folders with videos playing well. Some folders error and some folders ok... When trying to play this is shown at Teldrive: DEBUG   requesting file {"name": "48 horas - S01E01 - Episodio 1.avi", "bot": "6569242707", "botNo": 4, "start": 1136130, "end": 731645351, "fileSize": 731645352}. 49 bots at TG channels.
I've tried to use another Teldrive with different TG group to upload and same errors at same folders. I can play and download those videos at Dropbox, so the source files are ok.
Any help, please? Thanks in advance.

In the case of AVI files, this is due to the XviD and DivX codecs, which are usually not supported by browsers.
MKV files and files containing x265 are also not supported.


Create Readme.md

Description

[x] I have added a folder(Named it as my GitHub user id)
[x] I have added a Readme.md file inside the folder
[x] I understand the GitHub Forking Concept fully

please approve this PR so I can add it to my Hacktoberfest 22 profile.

I hope you learned to fork while doing this.

yes I did, thank you :)