Update Jenkins version for Windows Image

What feature do you want to see added?
The jenkins base version seems to lag quite a lot in the windows container releases. This means I often get stuck with warnings like this whilst waiting for updates:

This is for an issue that was reported over a month ago now (and not the first time I've been stuck with one of these warnings).
It looks like the linux containers have been bumped to 2.373 now, whilst the windows version is stuck on 2.356.
Can the windows version be updated please? Is there a reason that the windows version often lags so much? If so it might be nice to add some documentation explaining this somewhere.
Upstream changes
No response

you an use docker official image like busybox to update

you an use docker official image like busybox to update

I'm really not too sure what you mean by this?

@timja sorry to tag you here, but you were very helpful on the last issue I raised!
Could you provide any insight on how the windows base images are updated for the docker images? Is there anything I can do to get a more up to date Jenkins version into the Windows images?

@slide possible for you to check this?

@slide possible for you to check this?

Currently checking the "normal" job on trusted.ci.jenkins.io . The Windows images should be using the same Jenkins version as Linux.
@Jonny-vb can you share with us the image name and digest of the "latest"' image you have ?
@timja can you check if there are remaining SSH deploy key on this repo (like with the docker-*-agent repositories)?

Right now, it seems that the 2.356 is still the version used: https://hub.docker.com/layers/jenkins/jenkins/windowsservercore-2019/images/sha256-f31ea7e5f4582b665826b094aa3f78a50ccfcbb81dfca4025979aac26a935bf0?context=explore
It is the same "version" has the one used by default: the build argument is probably not set up correctly so it does not override the image.

Damn: there is nothing about build arg in https://github.com/jenkinsci/docker/blob/master/make.ps1#L6 🤦

Thanks tim! I confirm that I can reproduce the issue on my Windows machine. This is a problem in the pipeline + make.ps1 script. I'll see what I can do on short term.

Hi @Jonny-vb , we've cleared any risks of an "old system" building and overriding images behind our back.
Since we reproduce the error, It means that there is an easy that can be solved in this repository.
If you are interested in helping, that would be wonderful!
I can give you guidance, pointers and help if you ping me in this issue or in the Gitter channel jenkins/docker.
The root cause here seems to be the build argument JENKINS_VERSION not being passed to Docker when https://github.com/jenkinsci/docker/blob/master/make.ps1#L6 is executed (check the linux build to compare).

So I assume make.ps1 is called from a pipeline somewhere controlled by yourselves?
Just so I'm clear, are you saying this is correctly being called and the correct version string is being passed into this script, but when the script runs the docker make, the argument isn't making it into that? So it instead builds the default 2.356 version in the dockerfile?
It looks like the JENKINS_VERSION param has to be the version number preceded by a hyphen based on the default (i.e. "-2.356" vs "2.356"). Is whatever is calling the make.ps1 script passing the version number in this correct form?

So I assume make.ps1 is called from a pipeline somewhere controlled by yourselves? Just so I'm clear, are you saying this is correctly being called and the correct version string is being passed into this script, but when the script runs the docker make, the argument isn't making it into that? So it instead builds the default 2.356 version in the dockerfile?
It looks like the JENKINS_VERSION param has to be the version number preceded by a hyphen based on the default (i.e. "-2.356" vs "2.356"). Is whatever is calling the make.ps1 script passing the version number in this correct form?

Hi @Jonny-vb !
Let me give some pointers:

First of all, the windows images are published by a Jenkins pipeline run inside a private instance (for obvious reason of security). The stage "Publish" of the Jenkinfile of this repository is responsible for calling the make.ps1 script.
The target publish is passed to the make.ps1 script, which is expected to call the following code block: https://github.com/jenkinsci/docker/blob/afabdcea8873a8ad45e956a12b763cb7f231447d/make.ps1#L151-L176

=> the goal is to check what is this script expected to do and if it is doing it correctly. A good start is to compare with the Linux make publish command.

I'm not sure that section you have highlighted is where the problem lies as that is pushing the image to docker hub. From what I can see, docker hub is updating the windows tag image, but it is the image itself that is wrong.
The dockerfile used to build the image has an argument to specify the Jenkins version which defaults to 2.356, which is the version currently used in the windows image:
https://github.com/jenkinsci/docker/blob/e2fbfa6360f32811e5d30b577b9c9f9699c38a86/11/windows/windowsservercore-2019/hotspot/Dockerfile#L41-L49
I don't fully understand how the linux builds work, but to me it looks like the version number has to be set as part of the pipeline, otherwise it will just default to the 2.356 version. So it looks like to me the pipeline needs reviewing - how does the version number to build make it there? I can't see anything in the jenkinsfile that sets this (along with the corresponding SHA for the download)

@dduportal @timja - I think this need a review of the non-public pipeline to really understand what is going wrong here - are either of you able to do this?

Reopening until validation with the next Weekly and LTS releases in two days.

Jenkins version is now set on build time, and tags containing it are now published, allowing to use and pin a specific Jenkins version, see images since today: https://hub.docker.com/r/jenkins/jenkins/tags?page=1&name=windows


3BOT : Unable to start 3bot after expiration and asked for payment again

Description
We have a user who is unable to start his 3bot and he is being asked for payment every time he tries to start his 3bot. He has lost around 80 TFTs during the process. The description of the issue is in quotes below from the user ,

I am not able to start my 3bot anymore. My original solution expired last
month so I went to 3bot Deployer site and selected my existing 3bot, than I
clicked on Start button and went through the process and made a new payment
(TFT tokens are gone from my wallet). After that 3bot initialized, but
starting failed with some error message… now it’s asking me to pay again.
Can you please help with bringing my 3bot online?

Information
3bot name =  peteruller
The wallet address would be provided by him shortly

@abdulgig Can you state the error messages please ?

@waleedhammam , sure, I have requested the user. I ll update once he gets back to us

I refunded 124 TFT to the user https://stellar.expert/explorer/public/tx/6d1fe2b13071154cee50ab5f19a25e41e487e36ae923bacdcbef05d74ad51f0c
also, I deleted the records of peterruller from 3botmain.grid.tf, managed_domains, and tcprouter service key in redis, the user should be able to deploy again now.

@xmonader , great ! We ll ask him to test again

User has reported that deployment failed again: https://forum.threefold.io/t/stopped-3bot-cannot-be-started-again/769/10

Hello,
I tried twice and paid with neuefarm2 and morebray both are "stopped" and cannot be started again!

When trying to start it takes a very long time bit response comes.
Then I am asked to pay again
I created my third attempt "morebray01" and it is running, but only for 2 days, I wanted to expand pool 4111, but there is a request for payment from thousands of TFTs ??
So somehow none of this works for you ...

We are very disappointed
inGerman__________
Hallo,
ich habe zwei mal versucht und bezahlt mit neuefarm2 und morebray beide sind "gestoppt"  und lassen sich nicht wieder starten !

Beim Versuch zu starten dauert es sehr sehr lange bit Antwort kommt.
Dann werde ich wieder aufgefordert erneut zu bezahlen
mein dritter versuch "morebray01"  habe ich erzeugt und läuft auch, aber nur 2 tage, ich wollte den Pool 4111 erweitern, aber da kommt eine Zahlungsaufforderung von tausenden TFT's ??
Also irgendwie funktioniert das alles nicht bei euch ....

Wir sind sehr enttäuscht

@morebray Hello, can you please share your telegram handle? mine is @xmonader , and I'd love to help you.

Hello,
your Network or servers is very slow, i wait and wait of a answer in my Browser ...
(We have a Fiber 1 Gb Internet access…)
See pictures…

Am 11.07.2021 um 18:30 schrieb xmonader @.***>:
@morebray https://github.com/morebray Hello, can you please share your telegram handle? mine is @xmonader https://github.com/xmonader , and I'd love to help you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/threefoldtech/js-sdk/issues/3097#issuecomment-877828728, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBAONWXWCOR2TGJAWHH72LTXHBL3ANCNFSM45EKVINA.

Hello,
i have installed the gofarmer.tar.gz  ...
and configured…
but then ??
what now ?
I can’t login

https://morebray01.3botmain.grid.ft/admin
can’t open URL ...
all ist STOPPED
when i will start  morebray01 it comes … please pay 93…. TFT  so on … ?  i dont under stand this


protobuf 2.22.0 fails to compile

rustc 1.40.0 (73528e339 2019-12-16)
error[E0658]: non-builtin inner attributes are unstable
 --> /Users/mgild/.cargo/registry/src/github.com-1ecc6299db9ec823/protobuf-2.22.0/src/descriptor.rs:9:1
  |
9 | #![rustfmt::skip]
  | ^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/54726
  = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable

Build command cargo build-bpf --manifest-path=./programs/helloworld/Cargo.toml --bpf-out-dir=dist/program

Minimum supported version of rustc is 1.44.1 since release 2.15.
If there's a reason to support older version of rustc we can think of how to make rust-protobuf support older versions. I have not found an easy way.


transfer yargs to https://github.com/yargs

There are quite a few places where yargs is linked, so we should be mindful when we make this transfer:

[ ] the yargs docs site on the website.
[ ] any links on the website that link to yargs?
[ ] coveralls
[ ] travis
[ ] appveyor

Am I missing anything?

woot woot! the transfer process has begun :tada:


Refactor DAO methods to return int64 instead of *int64

Refactors the "list" methods of the DAOs to return values instead of pointers. In the case of having errors, the zero value for the int64 is returned.
[RHCLOUD-16095]

This looks great - I was just thinking about it some more during review and since we're just using int for limit/offset we can probably do that with the count too.
If we do approach 3.4B of any model we can just go through and change int -> int64 all at once instead of just in certain spaces.

In this case gorm forces us to pass an *int64 variable to the .Count() function, so I don't think we can return an int unless we convert the int64 to an int... But then we would have to handle the potential truncates and so on.


Check if dialog resource has a specific title

Hi there,
my game contains of let's say 30 days. Per day every NPC should have a different dialog. If there is no specific dialog for the current day, a default dialog should be used instead.
For this I need to ask if a specific day dialog exists, if not, use default dialog.
For example like this:
var currentDay = 21
var resource = load("res://src/dialogs/some_dialog.dialogue")

if resource.has_dialog("npc_day%s" % currentDay):
    resource.get_next_dialogue_line("npc_day%s" % currentDay):
else:
    resource.get_next_dialogue_line("npc_default"):

Maybe this is already possible? I couldn't find anything in the docs.
Just using get_next_dialogue_line with a title that doesn't exist, ends in an exception I cannot catch.
Maybe it's as easy as this:
# @see https://github.com/nathanhoad/godot_dialogue_manager/pull/238/files#diff-2bee43b84f968052ea147b011a4360a7a8154d92be8f1d2daf12e22256c40ed9R254

func has_dialog(resource: DialogueResource, key: String = "") -> bool:
    return resource.lines.has(key)

or
func has_dialog(resource: DialogueResource, key: String = "") -> bool:
    for i in resource.lines:
        if resource.lines[i].type == "title" and resource.lines[i].text == key:
            return true

    return false

Best regards
Nick

You can do something like resource.titles.has("some_title")


axios.get doesn't make HTTP call the second time on my Windows phone

I know, Windows phone is old. :) My phone is a Lumia 920 Windows version 8.
I'm using ReactJS and axios. Below is my code
  triggerGarage = () => {
    alert('do I get called?');
    axios.get('/api/garage')
       .then(function (response) {
         alert('inside axios .then')
       })
       .catch(function (error) {
         alert('error')
       });
  }

When I click a button onClick={this.triggerGarage}, it calls the function and my nodejs api applications receives the GET request from my React web app. However, if I click it again, my phone will still display an alert showing "do I get called?" and also "inside axios .then". However, my api didn't receive it.
When I changed it to axios.post as well as added a new express post in my nodejs, it worked very well even if I click the button so many times. There were no issues.
What could be wrong when using .get?

Hi, did you find a solution?
I use axios.post requests. And on the Windows phone there is no action. Perhaps this technology does not work with such phones.

Yup, I went with .post
  shortGarage2WirePins = (doorNum) => {
    axios.post('/api/garage', qs.stringify({ 'doornum': doorNum }));
  }

then I use it like this
<button className="garage-props" onClick={() => this.shortGarage2WirePins(0)} onChange={() => this.shortGarage2WirePins(0)}>Door1</button>

I'm not really sure if it's an axios issue or the old ie browser on my phone. I decided to just use .post and not waste time trying to get .get working


missing changes for  v1.17.0?

current master branch doesn't have any commits for v1.17.0 (latest change is made 6 months ago),
but maven central has newer release v1.17.0.
where does it come from? can we use/trust v1.17.0?
is there any release notes? also, having tags for each release would be nice.

Hi, @vam-google released v1.17.0 from api-client-staging repo. The artifact can be trusted.

okay thanks, @hzyi-google. The published pom indicates the api-client-staging repo in scm section, so it's my bad to create an issue here. but this raises a question, what is the purpose of this repo?

This repo is very much abandoned. googleapis/googleapis is the source of truth for all public-facing protos.
(I'll check with the team, we should probably archive this repo if indeed no one else is depending on it)

Apologies for this - we were releasing this artifact from multiple repositories, but from now on, all releases of this artifact will come from https://github.com/googleapis/java-common-protos.
For the source from previous versions, those are published (and signed) as part of releases to Maven Central.


panic happens

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4433cf4]
goroutine 1 [running]:
github.com/adrg/go-wkhtmltopdf.(*objectRegistry).add(0x0, 0x7b117c0, 0x44daf40, 0xc0001c3ab0)
/Users/machel/gopath/pkg/mod/github.com/adrg/go-wkhtmltopdf@v0.3.0/object_registry.go:39 +0x34
github.com/adrg/go-wkhtmltopdf.NewConverterWithOpts(0xc0001ab440, 0xc0001a9e90, 0xc00000ed40, 0x0)
/Users/machel/gopath/pkg/mod/github.com/adrg/go-wkhtmltopdf@v0.3.0/converter.go:276 +0x1e5
github.com/adrg/go-wkhtmltopdf.NewConverter(...)
/Users/machel/gopath/pkg/mod/github.com/adrg/go-wkhtmltopdf@v0.3.0/converter.go:235
main.HtmlCvtPdf(0x459dc00, 0xc00002c0a8, 0xc00002cb6c, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0)

this is my test program, something wrong?
func HtmlCvtPdf(ctx context.Context, htmlBytes []byte) (error, []byte) {
reader := bytes.NewReader(htmlBytes)
object, err := pdf.NewObjectFromReader(reader)
if err != nil {
log.Errorf("pdf NewObjectFromReader failed:%+v", err)
return err, []byte("")
}
// Create converter.
converter, err := pdf.NewConverter()
if err != nil {
	log.Errorf("pdf NewConverter failed:%+v", err)
	return err, []byte("")
}
defer converter.Destroy()

// Add created objects to the converter.
converter.Add(object)

outBuffer := bytes.NewBuffer(nil)
writer := bufio.NewWriter(outBuffer)
if err := converter.Run(writer); err != nil {
	log.Errorf("pdf converter Run failed:%+v", err)
	return err, []byte("")
}

if len(outBuffer.Bytes()) > 0 {
	return nil, outBuffer.Bytes()
} else {
	return fmt.Errorf("convert failed, out buffer len is 0"), []byte("")
}

}

Hi @machelcheng. Thank you for your interest in the library. Did you perhaps forget to do initialize the library?
if err := pdf.Init(); err != nil {
	log.Fatal(err)
}
defer pdf.Destroy()

You only need to initialize the library once, somewhere at the beginning of your main function for example.

ok, i will try

Sure, please let me know how it goes.

After adding it is ok，but new panic happens，do you know what's going on?

QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
signal 17 received but handler not on signal stack
fatal error: non-Go code set up signal handler without SA_ONSTACK flag
runtime stack:
runtime: unexpected return pc for runtime.sigtramp called from 0x7fb9a25f4630
stack: frame={sp:0xc00027eee8, fp:0xc00027ef40} stack=[0xc000276e38,0xc00027f238)
000000c00027ede8:  000000c00027edf0<PHONE_NUMBER>45e450 <runtime.throw.func1+0>
000000c00027edf8:<PHONE_NUMBER>340c7b<PHONE_NUMBER>000039
000000c00027ee08:  000000c00027ee28<PHONE_NUMBER>447bff <runtime.sigNotOnStack+127>
000000c00027ee18:<PHONE_NUMBER>340c7b<PHONE_NUMBER>000039
000000c00027ee28:  000000c00027eed8<PHONE_NUMBER>4471ab <runtime.sigtrampgo+747>
000000c00027ee38:<PHONE_NUMBER>000011  000000c00027eec0
000000c00027ee48:  000000c00027ef40<PHONE_NUMBER>000000
000000c00027ee58:<PHONE_NUMBER>000000  000000c00027eee8
000000c00027ee68:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027ee78:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027ee88:<PHONE_NUMBER>000000  000000c000099380
000000c00027ee98:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027eea8:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027eeb8:<PHONE_NUMBER>000000  000000c0013d2000
000000c00027eec8:<PHONE_NUMBER>000000<PHONE_NUMBER>008000
000000c00027eed8:  000000c00027ef30<PHONE_NUMBER>463953 <runtime.sigtramp+67>
000000c00027eee8: <0000000000000011  000000c00027f070
000000c00027eef8:  000000c00027ef40<PHONE_NUMBER>000055
000000c00027ef08:<PHONE_NUMBER>000033<PHONE_NUMBER>000034
000000c00027ef18:  ffffffffffffffff  000000c00027ef30
000000c00027ef28:  000000c00004c000  000000c00027fd18
000000c00027ef38: !00007fb9a25f4630 >0000000000000007
000000c00027ef48:<PHONE_NUMBER>000000  000000c0013d2000
000000c00027ef58:<PHONE_NUMBER>000000<PHONE_NUMBER>008000
000000c00027ef68:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027ef78:<PHONE_NUMBER>000004<PHONE_NUMBER>000206
000000c00027ef88:  ffffffffffffffff<PHONE_NUMBER>000034
000000c00027ef98:<PHONE_NUMBER>000033<PHONE_NUMBER>000055
000000c00027efa8:<PHONE_NUMBER>000001<PHONE_NUMBER>25fff9
000000c00027efb8:  000000c00027fd18  000000c00004c000
000000c00027efc8:  000000c00027fc88<PHONE_NUMBER>000000
000000c00027efd8:<PHONE_NUMBER>47de9a <syscall.Syscall6+42>  000000c00027fc30
000000c00027efe8:<PHONE_NUMBER>47de9a <syscall.Syscall6+42><PHONE_NUMBER>000206
000000c00027eff8:  002b000000000033<PHONE_NUMBER>000000
000000c00027f008:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027f018:<PHONE_NUMBER>000000  000000c00027f100
000000c00027f028:<PHONE_NUMBER>000000<PHONE_NUMBER>000000
000000c00027f038:<PHONE_NUMBER>000000
runtime.throw(0x1340c7b, 0x39)
/usr/local/go/src/runtime/panic.go:774 +0x72
runtime.sigNotOnStack(0x11)
/usr/local/go/src/runtime/signal_unix.go:578 +0x7f
390495,1      99%

This does not seem related to this project. What file/URL are you trying to convert to PDF?
What's your version of wkhtmltopdf and how did you install it?

hello adrg:
wkhtmltopdf -V
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
wkhtmltopdf 0.12.6 (with patched qt)
i install wkhtmltopdf with this pkg:  https://wkhtmltopdf.org/downloads.html
centos 7 x86-64
and install dependent libraries:
yum install -y libX11-1.6.3
yum install -y libXext-1.3.3
yum install -y libXrender-0.9.8
yum install -y openssl-1.0.2k
yum install -y xorg-x11-fonts-75dpi-7.5
RUN yum install -y xorg-x11-fonts-Type1-7.5

it seems a problem with the installed package？

Not sure yet. What are you trying to convert? Does it work if you are using the wkhtmltopdf binary in the terminal?

$ wkhtmltopdf
You need to specify at least one input file, and exactly one output file
Use - for stdin or stdout
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed

it seems execution binary also has this error

It seems that way, yes. But try running it anyway. Does this work?
wkhtmltodpf https://www.google.com out.pdf

yes， it works， bug my test program is using the interface to convert， not binary

Can i use this libinary  to convert to image format?

ok， i trying it

hello, adrg  it works

Ok, so you have a problem in your application.  If so, take a look at HTTP server. The solution is explained in that example.

yes， i perform conversion inside a goroutine， i have seen this example, I probably know, thank you very much!
but i have two questions:

I would like to know if there are other ways to shield this signal from reporting errors, not use the solution in that http server example?

2.I would like to ask if this package can be converted into image format?

Hi @machelcheng

I would like to know if there are other ways to shield this signal from reporting errors, not use the solution in that http server example?

Unfortunately no, that's the only solution I know of. This is a limitation of wkhtmltox, not of this library (I linked the relevant discussions and issues on this my HTTP server example).

2.I would like to ask if this package can be converted into image format?

No, this package is only for HTML to PDF conversion. I have been considering adding a PDF to image package, separate from this one.

Closing this issue as it has been addressed. Please reopen if there are any issues with the provided solution.


Making SSL connection configurable in Mysql

Ability to connect to Mysql over SSL should be configurable. I was not able to find any documentation related to this.
From first impression, it looks like it is hard-coded in DBConfig.scala.
One possible solution can be getting it from environment variable and setting it when initializing DBParams

I'm thinking add: MYSQL_USE_SSL as this is easy enough to make portable and is sensible as a top-level concern. This would add useSSL=true to the query line. sg?

Yes, that will do it

started looking into this, but it seems awkward to test as most of the time you need to setup custom certs. Ex. if using RDS, you need to download a pem file, etc.
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.SSLSupport
In other words there's more config than just the flag I think, and if we don't test this, then... well feels debty. Any thoughts on how to "finish the job" ex. patterns to stuff certs on disk in docker + self-signing one for mariadb? Or should we just open the flag and leave it to manual testing?

All parameters required for MySQL SSL can be passed as system properties to the JVM trying to use Mysql over SSL.
We can accept JAVA_OPTS for collector/query via environment variable, in which user can configure these parameters as:
-Djavax.net.ssl.keyStore=path_to_keystore_file
-Djavax.net.ssl.keyStorePassword=password
-Djavax.net.ssl.trustStore=path_to_truststore_file
-Djavax.net.ssl.trustStorePassword=password

Path to keystores can be mounted as a volume in container.

good point! I think this can work.

update: I've found what's needed to accomplish this, using spring-boot example for now. I've verified you only need 3 things:

append &useSSL=true to the mysql url
set javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword JVM arguments

I used Amazon RDS and zipkin-java to verify. I'll raise a pull request both here and there to make this possible.
# download the region-specific cert in PEM format, and install it (default is $HOME/.keystore)
# http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
$ keytool -import -alias mysqlServerCACertOR  -trustcacerts -file ~/Downloads/rds-ca-2015-us-west-2.pem

# Tell the JVM you trust the cert, by specifying your trustStore and password.
$ STORAGE_TYPE=mysql MYSQL_HOST=zipkin.abcdefg.us-west-2.rds.amazonaws.com MYSQL_USER=zipkin MYSQL_PASS=notetelling ./mvnw -pl zipkin-java-server spring-boot:run -Drun.jvmArguments="-Djavax.net.ssl.trustStore=/Users/acole/.keystore -Djavax.net.ssl.trustStorePassword=FOOBAR"

# check to make sure you are actually able to get data
$ curl http://localhost:9411/api/v1/services|jq .


No signature function in player script

installed v2.6.0, certain videos can't be played and the response is No signature function in player script
affected id: NUC2EQvdzmY

Same issue, my logs are:
[XCDYouTubeKit] No signature function in player script [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -2.)

The same error for me

Same here, this is the third issue from the September...YouTube...
The interesting thing that this issue is keep appearing on music videos mostly and not on the usual one.

+1 for me too...

I'm seeing Domain: XCDYouTubeVideoErrorDomain Code:   150 User Info: {     AllowedCountries = "{(\n    \"Caribbean Netherlands\",\n    Hungary,\n    Vietnam,\n    \"New Caledonia\",\n    Burundi,\n    Andorra,\n    \"Pitcairn Islands\",\n    Guinea,\n    \"Norfolk Island\",\n    Togo,\n    Eritrea,\n    Zambia,\n    China,\n    Syria,\n    Mongolia,\n    Thailand,\n    Netherlands,\n    \"French Guiana\",\n    India,\n    Sudan,\n    Nicaragua,\n    Tanzania,\n    Algeria,\n    Grenada,\n    Venezuela,\n    \"Dominican Republic\",\n    Turkey,\n    \"New Zealand\",\n    Serbia,\n    Japan,\n    Monaco,\n    Finland,\n    Paraguay,\n    Lithuania,\n    Suriname,\n    Dominica,\n    Mauritania,\n    Armenia,\n    Panama,\n    \"St. Martin\",\n    Guernsey,\n    Cambodia,\n    \"Western Sahara\",\n    Azerbaijan,\n    Gabon,\n    Macedonia,\n    Tonga,\n    Bhutan,\n    Lebanon,\n    \"Svalbard & Jan Mayen\",\n    \"Falkland Islands\",\n    Montserrat,\n    \"Cura\\U00e7ao\",\n    \"St. Helena\",\n    Peru,\n    \"Isle of Man\",\n    \"Congo - Kinshasa\",\n    Liberia,\n    Oman,\n    Ethiopia,\n    Vanuatu,\n    Romania,\n    Nepal,\n    Norway,\n    Niger,\n    \"South Sudan\",\n    \"So. Georgia & So. Sandwich Isl.\",\n    Turkmenistan,\n    Germany,\n    Aruba,\n    Comoros,\n    \"French Polynesia\",\n    Belgium,\n    Somalia,\n    \"U.S. Outlying Islands\",\n    \"American Samoa\",\n    Albania,\n    \"Sint Maarten\",\n    \"Myanmar (Burma)\",\n    Anguilla,\n    Botswana,\n    \"Faroe Islands\",\n    \"Solomon Islands\",\n    Cuba,\n    Guyana,\n    Nauru,\n    \"North Korea\",\n    \"El Salvador\",\n    Honduras,\n    Moldova,\n    Taiwan,\n    \"Equatorial Guinea\",\n    Chile,\n    Uzbekistan,\n    Bermuda,\n    \"British Indian Ocean Territory\",\n    Liechtenstein,\n    Argentina,\n    Libya,\n    Tajikistan,\n    \"Costa Rica\",\n    Canada,\n    Italy,\n    \"Congo - Brazzaville\",\n    Guam,\n    Qatar,\n    Mexico,\n    \"R\\U00e9union\",\n    Malaysia,\n    Cameroon,\n    Slovakia,\n    \"Cayman Islands\",\n    \"\\U00c5land Islands\",\n    Iran,\n    Micronesia,\n    \"San Marino\",\n    Poland,\n    Maldives,\n    Cyprus,\n    Israel,\n    Uruguay,\n    Palau,\n    Belarus,\n    Bangladesh,\n    Nigeria,\n    Russia,\n    Gibraltar,\n    \"Northern Mariana Islands\",\n    Ireland,\n    Croatia,\n    \"Timor-Leste\",\n    Brazil,\n    Barbados,\n    Colombia,\n    \"Cook Islands\",\n    Portugal,\n    \"Christmas Island\",\n    Bahamas,\n    Pakistan,\n    Bolivia,\n    \"Heard & McDonald Islands\",\n    Mali,\n    Ghana,\n    \"Antigua & Barbuda\",\n    \"Sri Lanka\",\n    Iraq,\n    \"South Africa\",\n    Kuwait,\n    \"Puerto Rico\",\n    Czechia,\n    Gambia,\n    \"Cape Verde\",\n    Latvia,\n    Fiji,\n    \"Palestinian Territories\",\n    Martinique,\n    \"St. Lucia\",\n    Mayotte,\n    Iceland,\n    \"British Virgin Islands\",\n    Switzerland,\n    Singapore,\n    \"Guinea-Bissau\",\n    Austria,\n    Namibia,\n    Mauritius,\n    Benin,\n    Tokelau,\n    Afghanistan,\n    \"St. Kitts & Nevis\",\n    Swaziland,\n    Bahrain,\n    \"United States\",\n    Chad,\n    Brunei,\n    Angola,\n    \"Papua New Guinea\",\n    \"United Arab Emirates\",\n    Kazakhstan,\n    Spain,\n    Guatemala,\n    \"Cocos (Keeling) Islands\",\n    \"U.S. Virgin Islands\",\n    Ukraine,\n    \"French Southern Territories\",\n    Philippines,\n    \"S\\U00e3o Tom\\U00e9 & Pr\\U00edncipe\",\n    \"South Korea\",\n    Djibouti,\n    Jamaica,\n    Slovenia,\n    Samoa,\n    Luxembourg,\n    Tuvalu,\n    Senegal,\n    \"Wallis & Futuna\",\n    Estonia,\n    Seychelles,\n    \"Saudi Arabia\",\n    Morocco,\n    Greece,\n    Georgia,\n    Kenya,\n    Tunisia,\n    \"Hong Kong (China)\",\n    Malta,\n    \"St. Vincent & Grenadines\",\n    \"Vatican City\",\n    \"Marshall Islands\",\n    Jersey,\n    \"Turks & Caicos Islands\",\n    \"St. Barth\\U00e9lemy\",\n    Laos,\n    Ecuador,\n    Yemen,\n    Belize,\n    Malawi,\n    Antarctica,\n    Sweden,\n    Greenland,\n    \"Bosnia & Herzegovina\",\n    Jordan,\n    Zimbabwe,\n    \"Bouvet Island\",\n    France,\n    \"Trinidad & Tobago\",\n    Mozambique,\n    Egypt,\n    \"United Kingdom\",\n    Lesotho,\n    Australia,\n    Uganda,\n    Kyrgyzstan,\n    Denmark,\n    \"Central African Republic\",\n    \"Sierra Leone\",\n    Montenegro,\n    Kiribati,\n    \"Burkina Faso\",\n    Niue,\n    Guadeloupe,\n    Indonesia,\n    Madagascar,\n    \"C\\U00f4te d\\U2019Ivoire\",\n    \"St. Pierre & Miquelon\",\n    Rwanda,\n    Haiti,\n    Bulgaria,\n    \"Macau (China)\"\n)}";     NSLocalizedDescription = "This video is unavailable.";     NSURL = "https://www.youtube.com/get_video_info?el=embedded&hl=en-US&ps=default&video_id=N3ceE43AHyw"; }

Already working on a fix. Will issue an update soon.

sorry, may I know how to install 2.6.1 in pod file?

@ansonngch Pushing the update to CocoaPods soon.

@ansonngch pod update XCDYouTubeKit

Hello, I am facing the same issue in version 2.7.7
[XCDYouTubeKit] No signature function in player script [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -2.)
also getting this error:
[XCDYouTubeKit] No signature function in player script [XCDYouTubeKit] Video operation finished with error: This video is unavailable.
I can't able to play youtube video with identifier. please help me as soon as possible.

Thanks! I'll look into this

@AnandNanavaty The console should have provided the value of the script used. Can you set a breakpoint like this:

Let me know the value of the string. I am not able to replicate this issue :-)

@AnandNanavaty The console should have provided the value of the script used. Can you set a breakpoint like this:

Let me know the value of the string. I am not able to replicate this issue :-)

Thank you so much for replay, but I am using - (id) getVideoWithIdentifier:(NSString *)videoIdentifier cookies:(NSArray<NSHTTPCookie *> *)cookies completionHandler:(void (^)(XCDYouTubeVideo * _Nullable, NSError * _Nullable))completionHandler this method.

hi is there any update on this error from @AnandNanavaty ?  I am getting a similar issue, but only for certain videos on youtube.

@AnandNanavaty Sorry, for the late reply. That method is located in the XCDYouTubePlayerScript implementation file here: https://github.com/0xced/XCDYouTubeKit/blob/6db80694e48b6fa5d4d7ef36e4562ad93dcc9d85/XCDYouTubeKit/XCDYouTubePlayerScript.m#L18


fatal: unable to find remote helper for 'https' due to snap confinement

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.115.0-67caf50698783d3b3d78559ac81483d83e5e1a35+extended linux/amd64 BuildDate=2023-06-29T15:56:39Z VendorInfo=snap:0.115.0

Does this issue reproduce with the latest release?
Yes, it happens with the following build too:
$ hugo version
hugo v0.116.0-DEV-0ff8e13c1cb603109204f88116746067f0344f77+extended linux/amd64 BuildDate=2023-06-30T13:57:46Z VendorInfo=snap:0.115.0+git4.0ff8e13c

How to reproduce
On Ubuntu 22.04.2 LTS,
$ sudo snap install --channel extended/stable hugo

$ git clone https://github.com/wowchemy/starter-hugo-academic.git
$ cd starter-hugo-academic/

$ hugo

Then, the following error happens.
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
hugo: collected modules in 897 ms
Total in 906 ms
Error: failed to load modules: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
go<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /tmp/hugo_cache_nobuto/modules/filecache/modules/pkg/mod/cache/vcs/0c88995f39c54fe356dd74460b6359b56b0fb376c52289c9656c86270b2c006d: exit status 128:
	fatal: unable to find remote helper for 'https'
 *errors.errorString

It's likely from the snap confinement because I see the following kernel messages:
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.951:2485): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/proc/334993/mountinfo" pid=334993 comm="hugo" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.955:2486): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libpthread-2.31.so" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.955:2487): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libc-2.31.so" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.963:2488): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libnss_files-2.31.so" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.963:2489): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.963:2490): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libresolv-2.31.so" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 01 21:34:13 t14 kernel: audit: type=1400 audit(1688214853.963:2491): apparmor="DENIED" operation="open" profile="snap.hugo.hugo" name="/snap/core20/1950/usr/lib/x86_64-linux-gnu/libnss_dns-2.31.so" pid=335035 comm="go" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

And it's not reproducible if I by-pass the confinement.
$ /snap/hugo/current/bin/hugo
hugo: downloading modules …
hugo: collected modules in 6550 ms
Start building sites …
hugo v0.115.0-67caf50698783d3b3d78559ac81483d83e5e1a35+extended linux/amd64 BuildDate=2023-06-29T15:56:39Z VendorInfo=snap:0.115.0

                   | EN
-------------------+-----
  Pages            | 55
  Paginator pages  |  0
  Non-page files   | 16
  Static files     |  9
  Processed images | 69
  Aliases          | 15
  Sitemaps         |  1
  Cleaned          |  0

Total in 8944 ms

For the record, I didn't see this issue on June 17, 2023 so it might be a new issue with snap builds since then.

Unable to reproduce with hugo v0.115.0-67caf50698783d3b3d78559ac81483d83e5e1a35+extended linux/amd64 BuildDate=2023-06-29T15:56:39Z VendorInfo=snap:0.115.0.

@jmooring Thank you for trying to reproduce it. May I ask what host OS version did you run the hugo snap on?

Ubuntu 22.04.2 LTS for x86_64

Somehow it's reliably reproducible on a clean VM.
At least in my case, there is a clear difference between:
[known to fail - fatal: unable to find remote helper for 'https']

extended/stable:    0.115.0               2023-06-29 (16457) 103MB -

hugo v0.115.0-67caf50698783d3b3d78559ac81483d83e5e1a35+extended linux/amd64 BuildDate=2023-06-29T15:56:39Z VendorInfo=snap:0.115.0

[known to work]
$ sudo snap refresh --channel extended/stable --revision 16307 hugo

installed:            0.114.1                          (16307) 103MB -

hugo v0.114.1-e9b716ad9869b79e7c374bbdae4daf5ee6406bd4+extended linux/amd64 BuildDate=2023-06-23T11:02:58Z VendorInfo=snap:0.114.1

So on my env, it looks like the update on Jun 30 started to see the failure.
$ grep hugo /var/log/syslog | grep revision
Jun 26 10:38:21 t14 systemd[1]: Mounting Mount unit for hugo, revision 16307...
Jun 26 10:38:21 t14 systemd[1]: Mounted Mount unit for hugo, revision 16307.
Jun 26 14:01:41 t14 systemd[1]: Mounting Mount unit for hugo, revision 16238...
Jun 26 14:01:41 t14 systemd[1]: Mounting Mount unit for hugo, revision 16307...
Jun 26 14:01:41 t14 systemd[1]: Mounted Mount unit for hugo, revision 16238.
Jun 26 14:01:41 t14 systemd[1]: Mounted Mount unit for hugo, revision 16307.
Jun 30 17:42:03 t14 systemd[1]: Mounting Mount unit for hugo, revision 16457...
Jun 30 17:42:03 t14 systemd[1]: Mounted Mount unit for hugo, revision 16457.

What host OS version did you run the hugo snap on?

What host OS version did you run the hugo snap on?

Ubuntu 22.04.2 LTS with amd64 so it should be the same as your version so I'm wondering what's a difference on my side.

I'll spin up a virgin VM and repeat the test.

I can reproduce on a virgin VM, and am trying to track down the cause.

Experiencing the same issue with
$ hugo version
hugo v0.115.0-67caf50698783d3b3d78559ac81483d83e5e1a35+extended linux/amd64 BuildDate=2023-06-29T15:56:39Z VendorInfo=snap:0.115.0

on ubuntu 20.04 (worked yesterday, before I did the update)

The Snap package is fixed on the "edge" channel, but will not be promoted to the "stable" channel until we roll the next Hugo release.  In the interim, switch to the "edge" channel:
sudo snap refresh hugo --channel=edge

@nobuto-m @mihovilkolaric  Please confirm that this is resolved. Thanks.

Brilliant. I've confirmed it works with the extended/edge channel. Thank you for the prompt turnaround.
extended/edge:      0.115.0+git10.c1eac616 2023-07-02 (16547) 103MB -
hugo v0.116.0-DEV-c1eac616d55945c28ea364f44d1e9ae12e672e11+extended linux/amd64 BuildDate=2023-07-02T00:55:23Z VendorInfo=snap:0.115.0+git10.c1eac616
$ hugo
hugo: downloading modules …
hugo: collected modules in 9673 ms
Start building sites …
hugo v0.116.0-DEV-c1eac616d55945c28ea364f44d1e9ae12e672e11+extended linux/amd64 BuildDate=2023-07-02T00:55:23Z VendorInfo=snap:0.115.0+git10.c1eac616

                   | EN
-------------------+-----
  Pages            | 55
  Paginator pages  |  0
  Non-page files   | 16
  Static files     |  9
  Processed images | 36
  Aliases          | 15
  Sitemaps         |  1
  Cleaned          |  0

Total in 15691 ms

@nobuto-m With the release this morning of 0.115.1, you can use the "latest/stable" track/channel. The "latest" and "extended" tracks are identical, and "latest" is the default track. Using the "stable" channel will auto-update on releases (major, minor, and patch).


javascript dist file?

Hi, I need to use this, but am in a Magento 2 project 🤢 so have to use their flavour of requireJs...
Is there a .js file available I can load in myself using this?
I have tried unsuccessfully to get it working in Magento2 using npm.
Cheers!!

Once you install it like npm install scrollscene navigate to node_modules/scrollscene can check out all the files. There's only a few there. You can import each file are you see fit. Let me know if that works.
Technically you should be able to
const plugin = require('scrollscene');

console.log(plugin.ScrollScene);
console.log(plugin.ScrollObserver);

Thanks, I did try that but couldn't get it to work. Tried again but no more luck. Loads of requirejs errors. Possibly because the .js files in node_modules are 'esm' or 'commonjs' flavours?
e.g. "Uncaught Error: Module name "@babel/runtime/helpers/interopRequireDefault" has not been loaded yet for context: _. Use require([])"  and  "require.js:166 Uncaught Error: Module name "is-client" has not been loaded yet for context: _.

@BB-000 are you on the latest version? That is a babel error, and I have that set as a dependency.

Just wanted to call out as well if you're interested in using ScrollMagic like this, just reference it on the CDN. https://cdnjs.cloudflare.com/ajax/libs/ScrollMagic/2.0.7/ScrollMagic.min.js
The entire purpose of this package was really to combat ESM issues. I'd give it a shot with just using script inclusions like the good ol' days. Nothing wrong with that!

Unfortunately even just using

After the script inclusion, can you do
<script>
  var gsap = require('gsap');
  gsap.from('.anim-els-fadeinup', { scale: 5, duration: 5 });
</script>

?

Thanks for the info!! Much appreciated :)
Unfortunately none of that works though, hate to admit defeat but instead of pulling out any more hair fighting I'm just going to use a different scroll detection method..!  😿

give waypoints.js a shot


Bug 1760426: [release-4.6] Enhance Uninstall logging and comments

This is a cherrypick of #753

/assign @jarrpa

/bugzilla refresh

/retest
/override ci/prow/ocs-operator-e2e-aws

/override ci/prow/red-hat-storage-ocs-ci-e2e-aws
this is not needed and usually fails. no point in waiting


Dashboard Errors in Developer Console

Discord username
Zylinderman#4528
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
When I start the IDE the developer console instantly shows the following error:
Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>.
As soon as I open a project the following error shows up:
Warning: Cannot update a component (Dashboard) while rendering a different component (ProjectActionButton). To locate the bad setState() call inside ProjectActionButton, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
I do not see any cloud projects, when I move to the cloud tab it displays:

Expected behaviour
No errors in developer console.
How we can reproduce it?
No response
Screenshots or screencasts
No response
Logs
router.ts:62 Warning: validateDOMNesting(...):  cannot appear as a descendant of .
at button
at div
at div
at button
at TemplatesRender (http://localhost:8080/index.js:56865:11)
at div
at div
at Templates (http://localhost:8080/index.js:56907:11)
at div
at Dashboard (http://localhost:8080/index.js:57899:11)
at RenderedRoute (http://localhost:8080/index.js:35163:5)
at Outlet (http://localhost:8080/index.js:35348:26)
at ProtectedLayout (http://localhost:8080/index.js:55732:23)
at RenderedRoute (http://localhost:8080/index.js:35163:5)
at Routes (http://localhost:8080/index.js:35408:5)
at ModalProvider (http://localhost:8080/index.js:55822:11)
at AuthProvider (http://localhost:8080/index.js:55510:11)
at BackendProvider (http://localhost:8080/index.js:54912:11)
at SessionProvider (http://localhost:8080/index.js:55442:11)
at LoggerProvider (http://localhost:8080/index.js:55020:11)
at AppRouter (http://localhost:8080/index.js:62410:19)
at Router (http://localhost:8080/index.js:35355:15)
at MemoryRouter (http://localhost:8080/index.js:35292:5)
at App
consume @ router.ts:62
router.ts:62 Warning: Cannot update a component (Dashboard) while rendering a different component (ProjectActionButton). To locate the bad setState() call inside ProjectActionButton, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
at ProjectActionButton (http://localhost:8080/index.js:56351:5)
at div
at td
at tr
at Rows (http://localhost:8080/index.js:56779:11)
at tbody
at table
at div
at Dashboard (http://localhost:8080/index.js:57899:11)
at RenderedRoute (http://localhost:8080/index.js:35163:5)
at Outlet (http://localhost:8080/index.js:35348:26)
at ProtectedLayout (http://localhost:8080/index.js:55732:23)
at RenderedRoute (http://localhost:8080/index.js:35163:5)
at Routes (http://localhost:8080/index.js:35408:5)
at ModalProvider (http://localhost:8080/index.js:55822:11)
at AuthProvider (http://localhost:8080/index.js:55510:11)
at BackendProvider (http://localhost:8080/index.js:54912:11)
at SessionProvider (http://localhost:8080/index.js:55442:11)
at LoggerProvider (http://localhost:8080/index.js:55020:11)
at AppRouter (http://localhost:8080/index.js:62410:19)
at Router (http://localhost:8080/index.js:35355:15)
at MemoryRouter (http://localhost:8080/index.js:35292:5)
at App
Enso Version
90df5adfb0641d8c771b3ae50f3bc5092b5f01af
Browser or standalone distribution
Standalone distribution (cloud project)
Browser Version or standalone distribution
standalone
Operating System
Linux
Operating System Version
Manjaro  5.15.114-2-MANJARO #1 SMP PREEMPT Sun Jun 4 10:32:43 UTC 2023 x86_64 GNU/Linux
Hardware you are using
No response

I cannot seem to reproduce it, but it might depend on the state of the dashboard (in this example there are no cloud projects).

What is interesting I get it in Electron, Firefox and Google Chrome.

CC @somebody1234


Perms > Colctn-Lvl [APL] > 2 Mssng Subsectns + 1 in Err

In the Collection-level permissions section, Auditing and Policies subsections are missing from documentation text and from the screenshot. Please add them. Thanks in advance.
In the General subsection, the View audit log item is mentioned but it’s not in that subsection on the web portal any more (as the screenshot also shows). It has been moved to the new Auditing subsection. Please remove the item.

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

ID: 68686c2b-c69a-d9e4-3e21-a46d231b649c
Version Independent ID: 049659da-1772-3166-f909-4feeb8a97730
Content: What are all the default permissions and groups? - Azure DevOps
Content Source: docs/organizations/security/permissions.md
Product: devops
Technology: devops-security
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@dennis-thomas-o  - Thank you for the feedback. I'm making the updates to the content today.


Lack of documentation

This project has great potential. One thing that can go a long way is to update the documentation to at least give some directions on setup and getting started.

C API documentation would be nice too.


How to save deformation map and displacement map as texture? (.png or .jpg)

Hi!
My goal: is to import highly detailed meshes and textures into 3D software like Blender, Unreal for rendering
I found displacement_map and deformation_map in output
output['displacement_map']  (64, 64, 3)
output['deformation_map'] (256, 256, 1)
How to save deformation map and displacement map as texture? (.png or .jpg as pictured above)
Thank you very much!

up

up


readme => 'patch' not 'app'

Codecov Report

Merging #57 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #57   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines         115    115
  Branches       34     34
=====================================
  Hits          115    115

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 af5641b...5f71daf. Read the comment docs.

Thanks! @whaaaley 👍


Merge auth to dev

Purpose

Handle EDIT/DELETE routes for user

Approach/Fixes

Setup user profile page
Setup EDIT component for profile page
Edit username route

Handle edge cases

Delete user entirely

Re-route to homepage

Testing

Download this PR to your local device
Run npm install to make sure you're up to date on dependencies
Ensure your config directory is updated as well
Startup your local mongoDB with mongod in the terminal
Run npm run serve to fire up the app on localhost://8000
Create a new user
Check to make sure the user has been added in your mongo DB
Try editing the username

New usernames should save

Check in the DB that new username has saved

If the username is already taken, an alert box should appear

We will need to handle these errors differently later

Try deleting the user account altogether

Check in the DB that the user is completely removed

Notes

UI for profile page is minimal (skeleton, no styling)

looks good!


Switch to forge fmt when named args bug gets fixed

Track https://github.com/foundry-rs/foundry/issues/4020.

Done via https://github.com/PaulRBerg/prb-test/commit/e324768868effa7e52c3dcccd92d4c6beb40dd09.


server: fix duplicate listeners in lds response

Signed-off-by: Rama<EMAIL_ADDRESS>Description: Validates duplicate listeners in LDS response and rejects the update if duplicates are found.
Risk Level: Low
Testing: Unit and Integration tests added
Docs Changes: N/A
Release Notes: N/A

@mattklein123 PTAL , this is for listener duplicates in LDS.


Feature/cypress test case heatmap

Cypress test case for heatmap data configuration panel are created
@abasatwar @spattnaik

closing this, as created a separate individual files for each chart


Filters do not support their custom process

What steps will reproduce the problem?
Currently cannot implement own filter. For example, I want a regexp filter, or custom group filter with scoring system.
What is the expected result?
        $filter = new CustomRegexpFilter('name' /* field */, '!^a[g]?!' /* pattern */, 'ui' /* modifier*/);
        $reader = (new ArrayDataReader($this->getDataSet()))
            ->withFilter($filter);

        $filter = new CustomScoringGroupFilter(new Filter(), new Filter()...);
        $reader = (new ArrayDataReader($this->getDataSet()))
            ->withFilter($filter);

What do you get instead?
This function throw exception if i using custom filter. As I look at eg. ArrayDataReader, I have no chance of implementing a custom filter (for example, inheritance, but all filtering functions are private).
private function matchFilter(array $item, array $filter): bool

Q
A

Version
1.0.0 under development

PHP version
-

Operating system
-

That is correct. I found no easy way to implement that because how filter is applied differs per data reader implementation. In array reader that's directly checking an item, in SQL reader that's forming a query.

In this form, it severely limits the opportunity. Simply put, I know I use ArrayDataProvder or ActiveDataProvider, so why can't I add my own custom filter.
At worst, the filter you create is limited to some DataProviders.
Suggest: different data providers need to define separate interfaces, and if you define it on a filter, you can use it.
In this case, e.g. the regexp filter:

define function for ArrayDataProvider: preg_match(...)
define function for ActiveDataProvider: new Expression('REGEXP ...')
not define function for XxxxxDataProvider: throw exception not supported filter.

I want to build GridView on top of this package and it should not be aware which data provider is used and rely on interface.

GridView also has to work with Filter classes, I see no reason to define a GridView custom ColumnFilter, which can also be defined by Custom Filter.
I will think about this problem, but I think there is something wrong between the layers if you don't allow it.

Yes, I'd like to allow it as well. Just had no immediate idea on how to do it best.

Although I was thinking of a similar solution, I feel a bit hurried about the topic. It is true that it is currently applicable on its own at this layer, but as the upper layers enter, it may not be the right solution at all. It seems to be a detour rather than a layered approach.

This one is solved now.


Improve documentation for LIBPROCESS_IP

There have been several tickets which were resolved by setting LIBPROCESS_IP in /etc/default/marathon, and recently an issue on the community mailing list related to upgrading between Marathon versions.
We should offer better documentation around the behaviour of this configuration option, (or possibly a 'troubleshooting' page in the docs).

Specifying --hostname correctly should resolve this issue since 0.11. See #1671.

Out of date.


Unable to clear Cache

In the latest dev a error is thrown when trying to clear the Application cache:
LogicException
Unable to prepare route [logout] for serialization. Another route has already been assigned name [logout].
https://flareapp.io/share/DPy8Z6m9

Is this through the admin panel?

Yes its a new and clean install and through the admin panel

Error still occurs with latest dev-branch:
https://flareapp.io/share/VP6aNRmJ

Reference for myself: https://github.com/Laravel-Backpack/CRUD/issues/2523


It does not work in MS edge

[ ] I have searched through existing Issues and confirmed that this particular issue has not already been reported.
[ ] I have read and performed all the steps listed in the Wiki.

What steps will reproduce the problem?

What is the expected result?
What happens instead?
Screenshot:

Upload to GitHub directly, do not post to a different site.

System Information:

Version:
Language:
Timezone Offset:
User Agent:

Because only Chrome is supported: https://github.com/manastungare/google-calendar-crx/wiki/Supported-Browsers


Incorrect parameter in example 3 of #list-existing-app-consent-policies

Issue:
In following section there is an outdated or incorrect information for the command given:

View the "excludes" condition sets:

Get-AzureADMSPermissionGrantConditionSet -Id "microsoft-application-admin" `
                                         -ConditionSetType "excludes"

Verification:
When performing the command as given following result is returned:
cmdlet Get-AzureADMSPermissionGrantConditionSet at command pipeline position 1
Supply values for the following parameters:
PolicyId:

Resolution:
Changing the command to the following output is returned correctly. Please mind that the paremeter -Id was changed to -PolicyId.
Get-AzureADMSPermissionGrantConditionSet -PolicyId "microsoft-application-admin" `
                                          -ConditionSetType "excludes"

Tested version of module:
Verified on AzureADPreview module version <IP_ADDRESS>.

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

ID: 819bffaf-da09-9370-762f-fe657a6cc7d0
Version Independent ID: ec50883b-345f-db49-1127-267456733c00
Content: Manage app consent policies in Azure AD
Content Source: articles/active-directory/manage-apps/manage-app-consent-policies.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @kenwith
Microsoft Alias: kenwith

@stefandoh
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for this! I'm closing this out because it looks like someone updated this 9 hours ago. The change aligns with existing documentation.


Hey! All the dependencies issues will be fixed starting next year.

The core solving functionality works fine, but I don't have time to look into other issues at the moment.

What are some of the issues? Maybe we could lend a hand.

What are some of the issues? Maybe we could lend a hand.

Pillow 10.x is one of that

@renatopejon see here:
https://github.com/a-maliarov/amazoncaptcha/pull/117


Plugin for displaying Exif informations

Hello!
I just made an Instagram-like website with Gridsome and plan to release it as a starter.
(You can see it live here: https://photos.jeremiecook.com/)
I'd like to display some exif information from my photos (camera, lens, aperture...) with "exifr" and maybe make a plugin, but I'm clearly way out of my league here.
I can't just use onCreateNode as the callback can't be asynchronous.
I'm confused on how to achieve this, and didn't find any similar plugin to get inspiration
Any help or hints or examples would be really usefull.
Thanks!

Somehow, I made it work.
So, if anyone need this, in gridsome.server.js :
const exifr = require("exifr");

module.exports = function(api) {
  api.loadSource(async ({ addCollection, getCollection }) => {
    const exif = addCollection("EXIF");
    exif.addReference("photo", "Photo");
    const photos = getCollection("Photo").data();

    await Promise.all(
      photos.map(async (photo) => {
        const exifs = await exifr.parse(photo.src);
        //console.log(photo.src);
        //console.log(exifs);
        exif.addNode({
          ...exifs,
          id: photo.id,
          photo: photo.id,
        });
      })
    );
  });

And my query :
<page-query>
query($path: String) {
   photo: photo(path: $path) {
    id
    src (width: 1000)
    title
    date (format: "YYYY-MM-DD")
    belongsTo {
      edges {
        node {
          ... on EXIF {
            Make,
            Model,
            FNumber,
            LensMake,
            LensModel,
            ISO,
            FocalLength,
            ExposureTime,
          }
        }
      }
    }
   }
}
</page-query>

Right now it only works with the main photo field, I'm still not sure how to make it work with any image, or to make a proper plugin.


Some Questions about cc1352p

I bought a CC1352P chip (http://www.ebyte.com/pdf-down.aspx?id=1371), and I wanted to connect it to the raspberry pie through the UART port. Can you use this firmware directly?

I expect it can be connected through UART but i'm not sure.


new search feature autocomplete using github cookies?

Hey just wanted to let you know that it looks like the search is pulling some default autocomplete results from github search history cookies (see image below)? I know its still a basic implementation, just wanted to make sure you were aware.
Great site btw 👍 Would love to contribute if I can find some time in the future.

seems like that's just your browser's autocomplete feature. i'll disable autocompletion, thanks

Ah yeah, good point. Hadn't considered that 👍


Ensure that '*Fixer::fix()' won't crash when running on non-candidate collection

don't you need the PHP version test and token count > 0 test to fix all cases of calling the fix method while not a candidate?

I do, should be done globally.
For now, we assume that one will always call isCandidate, which may not happen.
We need to always check restrictions in fix, while isCandidate should be only quick check that is helpfull, but is optional.
IMO, we should make isCandidate removed from the interface at v3 and call them directly in AbstractFixer.

what do you think @SpacePossum about always call isCandidate in fix method ?
Then, we could remove isCandidate at v3 or maybe keep it for custom runners (like integrations into IDEs)

Maybe keeping the isCandidate method is the best route and indeed call it from the fix method.
For performance we should not no longer call isCandidate than when fixing, but just fix.

@SpacePossum , reworked


Bug found in ps code

Hello, in your last script you've this wrong line:
$userDisabledPlans = $license.ServiceStatus | where {$_.ProvisioningStatus -ieq "Disabled"} | Select -ExpandProperty ServicePlan | Select -ExpandProperty ServiceName
it should be:
$userDisabledPlans = $license.ServiceStatus | where {$_.ProvisioningStatus -ine "Disabled"} | Select -ExpandProperty ServicePlan | Select -ExpandProperty ServiceName
Best Regards.

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

ID: b5905fd6-5899-f2c6-ff56-f90c4183b5f4
Version Independent ID: d4ac0732-5985-702c-3260-f6b615f24292
Content: PowerShell and Graph examples for group licensing - Azure AD
Content Source: articles/active-directory/enterprise-users/licensing-ps-examples.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @curtand
Microsoft Alias: curtand

@aleixsr
Thanks for your feedback! We will investigate and update as appropriate.

Thanks! I made a pull request to update the line. https://github.com/MicrosoftDocs/azure-docs-pr/pull/196180
@curtand


azure function and deployment

these are changes needed to work in Azure.   this is already up to date with dev and can be merged, but other branches need to be re-based on dev after this is merged in.

this also includes commits for PR  #249 ( now closed) which closes issue #243


DO NOT MERGE! Fast Forward stable to 4133437e6cef106028216dbfcfbb6bf8912eace6.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed

Jenkins job mixer/e2e-suite passed


Allow ArchiveContext to be configured with an instance of AeronContext

I hope to start an ArchivingMediaDriver with an non-default Aeron directory.  I can't do this using only Java code by way of building the required contexts (Archive.Context and MediaDriver.Context).  I believe I can change the directory using command-line provided properties, however I'd like to be able to do the former.
Using Aeron.Context, the directory can be changed with the call Aeron.Context().aeronDirectoryName("/tmp"). However when trying to create an ArchivingMediaDriver, the only mechanism to supply this setting is by passing in an already instantiated instance of Aeron as follows: new Archive.Context().aeron(aeron).  As there is currently no MediaDriver running (remember the aim is to start one), calling Aeron.connect() fails.
I believe allowing an instance of Archive.Context to be configured with an instance of Aeron.Context would solve the issue.  This would allow Archive.Context to create an instance of Aeron with the provided settings.

This was addressed with the following commit and will be in the next release.
https://github.com/real-logic/aeron/commit/ef13afbd1cdd21d8e89af2e60b7c2cb15ec86f63

Thanks for the quick reply.


Public mailing list

It would be cool to have access to a public mailing list without having to send a PM.

@JohnnySheffield  done - https://groups.google.com/forum/#!forum/xchange
Feel free to add this somewhere on the README as well, or else I'll get to it later this weekend

will leave this ticket open until it's added to the readme

Added the link to the mailing list in readme.md. Change available on #4


Tribol Lassen

Fixes #974

Codecov Report

Merging #983 (e63c5a3) into develop (ef92950) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #983   +/-   ##
========================================
  Coverage    89.35%   89.35%
========================================
  Files          138      138
  Lines        10722    10722
========================================
  Hits          9581     9581
  Misses        1141     1141

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

Tribol built on lassen at my user workspace okay.
Appending +raja+umpire to Tribol actually caused the build to fail, so I removed it. I believe its because it propagates those variants to mfem as well, and normally serac builds mfem with ~raja~umpire.

@jamiebramwell Getting weird error in quartz clang src: https://lc.llnl.gov/gitlab/smith/serac/-/jobs/1386872#L11488
/usr/WS1/bramwell/gl/builds/Nf6K8XKU/000/gitlab/smith/serac/src/serac/numerics/functional/tests/functional_shape_derivatives.cpp:329: Failure
The difference between mfem::InnerProduct(ones, dr) and 0.0 is 0.010675778755879772, which exceeds tolerance, where
mfem::InnerProduct(ones, dr) evaluates to 0.010675778755879772,
0.0 evaluates to 0, and
tolerance evaluates to 0.01.

@white238 All the sudden im getting unused -Xlinker errors on lassen builds. I unset the flag so its ignored, but this may not be the best solution..
https://lc.llnl.gov/gitlab/smith/serac/-/jobs/1391276#L677
One example:
clang-10: error: argument unused during compilation: '-Xlinker=-rpath,/usr/WS2/smithdev/libs/serac/blueos_3_ppc64le_ib_p9/2023_08_21_16_54_16/clang-10.0.1/hypre-2.26.0-gjqvcse6zfdb5k425vgqsvxskoj7ul4h/lib' [-Werror,-Wunused-command-line-argument]


clang-format: fix member initializer formatting

clang-format formats the member initializer of a constructor as a single long line regardless of the length of this line.
For long lines clang-format should introduce line breaks in some sensible way.

@ohadmo this should be a good starter task. @ahehn-nv mentioned that some initialized lists in cuda aligner are being formatted into a single line after running make format. I believe the file is one of the aligner global files (either Myers global or hirschberg or ukkonen). The ideal formatting would.put the different member initializer lists on different lines

closed by #197


Bit.index may make transition from tuples confusing

When transitioning code from using tuples to using Bits, a pain point has been updating a reference from qubit[1] to qubit.index (while updating qubit from a tuple to a Bit). If a case is missed such that qubit can still be a tuple, the updated code will not immediately throw an error, since tuple.index exists as a function.
Renaming Bit.index to e.g. Bit.position or Bit.location would address the issue, though I do think Bit.index is probably the most fitting name. Do people think this is significant enough to warrant a change, or some other accommodation during the transition?

this is going to be hard to change now. hopefully this problem does not arise too often, and it is transient.


Android Basics: Activities and intents

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-activities-intents?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-activities-intents#9
In which task and step of the codelab can this issue be found?
When downloading the starter project
Describe the problem
The content of the downloaded zip is not from starter branch.
After clicking the github link and doing step 3 in code lab, the downloaded zip is a main branch project.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

looks like you downloaded the main branch. Here's the link to the starter branch:
https://github.com/google-developer-training/android-basics-kotlin-words-app/tree/starter
And when you download it the filename should look like this:
android-basics-kotlin-words-app-starter.zip

Thanks @PhenixFine for helping solve the confusion! Since there's no actionable task and things are working as expected, we'll be closing this issue now.


Large partitions will probably be broken by 80592c72f214ca46502442cb60c1b37e69bd971d

Investigate and fix.

FYI, 80592c72 is :
"    Option to disable small tx size for intra chroma
This is essentially an implementation of Mozilla's big_chorma_tx
proposal, and CFL is already using this.

The option is turned on by default."

So, to remedy this problem, we can start implementing multiple transform sizes.

#128 will address this.


Fix tweets.py script, fetching access_token properly, sending image a…

Fix tweets.py script, fetching access_token properly, sending image a…
There were 2 problems with the script:

You need to authenticate before sending an image. You do not use Bearer Token for that, you need to get access key from API which we now do
You are sending an image as parameters of the request, not as data. https://stackoverflow.com/a/31595029 - see here for the difference. Instead of sending the image as post data in the request you append the content of the image in the address of the request that is being sent. Thats why you get 431 error, because the address becomes too long

I have yet to test this though, because upon execution I see this error
'{'errors': [{'message': 'You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve', 'code': 453}]}'
I applied for elevated access on my twitter account so I can see it working for me. But I'm fairly confident this code will succeed.

Thanks @AlphaPL.  We'll get this tested within the GitHub Actions setup and then we should be able to close out Issue #9.  @shotor is going to give that a shot and we'll see how it goes.  I've got the Twitter API creds provisioned per our offline conversation and crossing fingers that this will just work.  🤞


[feat] SendContact Method

close #187 implemented sendContact method with relative test, doc and snapshot

maybe we should add the vcard field too

maybe we should add the vcard field too

implemented


meta: remove meta password

close #3002

Codecov Report
Base: 58.81% // Head: 58.65% // Decreases project coverage by -0.15% :warning:

Coverage data is based on head (417da07) compared to base (56f2f44).
Patch coverage: 29.10% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3003      +/-   ##
==========================================
- Coverage   58.81%   58.65%   -0.16%
==========================================
  Files         141      141
  Lines       24613    24723     +110
==========================================
+ Hits        14476    14502      +26
- Misses       8254     8333      +79
- Partials     1883     1888       +5

Impacted Files
Coverage Δ

pkg/meta/base.go
66.75% <0.00%> (-0.90%)
:arrow_down:

pkg/meta/interface.go
45.45% <0.00%> (ø)

pkg/meta/sql.go
63.35% <16.66%> (-0.58%)
:arrow_down:

pkg/meta/redis.go
69.01% <22.22%> (-0.79%)
:arrow_down:

pkg/meta/tkv.go
74.69% <27.27%> (+0.25%)
:arrow_up:

cmd/status.go
52.85% <30.00%> (-17.88%)
:arrow_down:

pkg/meta/sql_lock.go
71.72% <100.00%> (+1.43%)
:arrow_up:

pkg/vfs/reader.go
75.42% <0.00%> (-3.58%)
:arrow_down:

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Adds the Show Labels on Layers sample

This sample is nearly identical to the macOS implementation, so I don't expect the review to be too taxing.

@pgruenler I fixed the unsafe unwrapping.


Bug: notification images aren't downloaded in case of certificate mismatch

Hi - for my particular deployment I use https with DuckDNS.  For some reason my company has put DuckDNS on a blocklist so any URL with DuckDNS in it is being blocked so I planned to use the local IP address instead.
Of course that means that the full URL doesn't match the certificate path so I assume that's why the actual picture isn't showing up for notifications (as it works perfectly well if I use an http source, or an https source with the correct URL.
A workaround might be to just ignore, or add an option to ignore, certificate errors?  At least for image URLs.
Cheers,
Andy

Thanks very much!

Hey @andystewart999, I was busy adding the ignore certificate errors for images function in HASS.Agent (actually completed it), but afterwards I found out that's not the issue 😅
It's because when you're using duckdns, you can't access HA locally anymore. I've fixed it by using the NGINX Home Assistant SSL proxy addon.
There were a few caveats I had to fix, I'll write them here so you won't have to (hopefully):

Install NGINX Home Assistant SSL proxy addon
Configure as follows:

certfile: fullchain.pem
cloudflare: false
customize:
  active: false
  default: nginx_proxy_default*.conf
  servers: nginx_proxy/*.conf
domain: your_domain.duckdns.org
hsts: max-age=31536000; includeSubDomains
keyfile: privkey.pem

Start the addon, it'll give errors in the log, don't mind those
You probably changed the http section of configuration.yaml for the duckdns addon, change it to the following:

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - <IP_ADDRESS>/24

Reboot Home Assistant
If you set port forwarding in your router, you need to change the destination port from 8123 to 443
You can ofc keep the source port the same, as long as it forwards to 443

You should now be able to access your Home Assistant instance both throug the duckdns url and through its local IP, and use the local IP to retrieve notification images.
Let me know if you have any issues!

OK, I'll give that a whirl.  Thanks for the research and effort :-)


added initial parser files and code test structure

Modified overall file structure into src directory and test directory
Added .gitignore and License files
Created parse class to parse input contracts/checks text file
Created check class to store check data attributes and methods
Created contract class to store contract data attributes and methods


changing username to username1 for testing

Changing 'username' param to 'username1' for testing purposes.

looks good.

can't approve own pull request


Custom fields for text tags

I'm trying to use a text tag with a preset value
In the document I have
[text-merge|req|sender|client_name|client_name]
in the C# SDK I do not see an AddCustomField method on the SignatureRequest object like I do with TemplateSignatureRequest
Instead I'm adding the fields to the CustomFields List
request.CustomFields.Add(new CustomField { Name = "client_name", Value = "My Test", ApiId = "client_name" });
However the value is not rendered in the final document

Any update on this? I'm running into the same issue.

I am creating an internal ticket to get this looked at. In the meantime, here is an example workaround using the catchall AdditionalParameters.Add() method. The AdditionalParameters.Add() method allows you to add any parameter that the API supports for an endpoint. It takes two arguments - the name of the parameter (which is "custom_fields" in this case) and a value, which is equal to a stringified array of objects. Each object represents one custom field. Every custom field has two required parameters - "name" and "value", and two optional parameters: "editor" and "required." See the signature_request/send_with_template  documentation for more information on how to structure custom fields.
client.AdditionalParameters.Add("custom_fields", "[{\"name\": \"Address\", \"value\": \"123 Main Street\"},{\"name\": \"Phone\", \"value\": \"555-5555\"}]");
Please see the README for more details on how to use this method.

The SDK still has this issue but the workaround works
Also, remember to remove the AdditionalParameter from the client if you re-use the client for multiple calls
client.AdditionalParameters.Remove("custom_fields");


Find crashing with a specific string

VSCode Version: 1.44.0-insiders
OS Version: Windows 10 v1809 (17763.1098)

Steps to Reproduce:

Open this file (others may work too?)
Open Find and Replace, and turn on regexes.
Type ( +- \w+\n)+ +href: \w+\W+(\w+.)+ +
Type t
Crash!

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

doesn't appear to be duplicate, I can't seem to find a relation to the problem referenced in that issue (the one which it duplicates, actually).
That said, you never know.

Still
/duplicate of #30874
Same problem here: catastrophic backtracking happens when you have pattern like (\w+)+ because RegExp engine need to verify all possible \w+ patterns and for each of match need to verify that it can be repeated.
If you need to match dot character in last matching group (need to escape it) - situation may improve and there is chance that RE won't cause backtracking.


nix: simplify nix check logic

this also adds the benefit of showing all decline reasons and not just the one that matched

this is replaced by #39


Add documentation about selection of chunk encoding

@fabxc @brian-brazil
Note: This goes into the next-release branch.

:+1:


🐛 Bug Report: Compound references are not parsed from yaml files

📜 Description
Using the example of compound reference from the official documentation does not work.
Entity Reference
👍 Expected behavior
Resources with compound references are ingested into backstage catalog.
👎 Actual Behavior with Screenshots
The catalog processor shows a warning that the entity doesn't contain a string in the relationship link.
[1] 2023-06-02T14:00:02.719Z catalog warn Processor BuiltinKindsEntityProcessor threw an error while validating the entity component:default/petstore; caused by TypeError: /spec/owner must be string - type: string type=plugin entity=component:default/petstore location=file:[SNIP]/backstage/examples/entities.yaml
👟 Reproduction steps

Insert the following component into a yaml file

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: petstore
  description: Petstore
spec:
  type: service
  lifecycle: experimental
  owner:
    kind: Group
    name: aegis-imports/pet-managers

Configure the yaml file to be ingested into the catalog
Start backstage

📃 Provide the context for the Bug.
We want to use the compound reference in order to add some additional information on the relationship. For example have APIs that have role/claims based permissions. We want to use compound references for consumes/producesApis and dependsOn relationships.
consumesApis:
- name: myapi
  role: myapi.admin
- name: myapi2
  role: myapi2.reviewer

🖥 Your Environment
OS:   Linux <IP_ADDRESS>-microsoft-standard-WSL2 - linux/x64
node: v18.15.0
yarn: 1.22.19
cli:  0.22.7 (installed)
backstage:  1.13.0
Dependencies:
@backstage/app-defaults                          1.3.1
@backstage/backend-app-api                       0.4.3
@backstage/backend-common                        0.18.5
@backstage/backend-dev-utils                     0.1.1
@backstage/backend-plugin-api                    0.5.2
@backstage/backend-tasks                         0.5.2
@backstage/catalog-client                        1.4.1
@backstage/catalog-model                         1.3.0
@backstage/cli-common                            0.1.12
@backstage/cli-node                              0.1.0
@backstage/cli                                   0.22.7
@backstage/config-loader                         1.3.0
@backstage/config                                1.0.7
@backstage/core-app-api                          1.8.0
@backstage/core-components                       0.13.1
@backstage/core-plugin-api                       1.5.1
@backstage/errors                                1.1.5
@backstage/eslint-plugin                         0.1.3
@backstage/integration-aws-node                  0.1.3
@backstage/integration-react                     1.1.13
@backstage/integration                           1.4.5
@backstage/plugin-api-docs                       0.9.3
@backstage/plugin-app-backend                    0.3.45
@backstage/plugin-auth-backend                   0.18.3
@backstage/plugin-auth-node                      0.2.14
@backstage/plugin-catalog-backend-module-azure   0.1.16
@backstage/plugin-catalog-backend-module-msgraph 0.5.4
@backstage/plugin-catalog-backend                1.9.1
@backstage/plugin-catalog-common                 1.0.13
@backstage/plugin-catalog-graph                  0.2.30
@backstage/plugin-catalog-import                 0.9.8
@backstage/plugin-catalog-node                   1.3.6
@backstage/plugin-catalog-react                  1.6.0
@backstage/plugin-catalog                        1.11.0
@backstage/plugin-github-actions                 0.5.18
@backstage/plugin-org                            0.6.8
@backstage/plugin-permission-common              0.7.5
@backstage/plugin-permission-node                0.7.8
@backstage/plugin-permission-react               0.4.12
@backstage/plugin-proxy-backend                  0.2.39
@backstage/plugin-scaffolder-backend             1.14.0
@backstage/plugin-scaffolder-common              1.3.0
@backstage/plugin-scaffolder-node                0.1.3
@backstage/plugin-scaffolder-react               1.4.0
@backstage/plugin-scaffolder                     1.13.1
@backstage/plugin-search-backend-module-catalog  0.1.1
@backstage/plugin-search-backend-module-pg       0.5.6
@backstage/plugin-search-backend-module-techdocs 0.1.1
@backstage/plugin-search-backend-node            1.2.1
@backstage/plugin-search-backend                 1.3.1
@backstage/plugin-search-common                  1.2.3
@backstage/plugin-search-react                   1.6.0
@backstage/plugin-search                         1.3.0
@backstage/plugin-tech-radar                     0.6.4
@backstage/plugin-techdocs-backend               1.6.2
@backstage/plugin-techdocs-module-addons-contrib 1.0.13
@backstage/plugin-techdocs-node                  1.7.1
@backstage/plugin-techdocs-react                 1.1.6
@backstage/plugin-techdocs                       1.6.2
@backstage/plugin-user-settings                  0.7.3
@backstage/release-manifests                     0.0.9
@backstage/test-utils                            1.3.1
@backstage/theme                                 0.2.19, 0.3.0
@backstage/types                                 1.0.2
@backstage/version-bridge                        1.0.4
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

Documentation fixed by #18095.
What you want to do in terms of expressing additional metadata is unfortunately not possible at all. Sorry that the documentation was misleading. Refs are only ever single strings.
There's been some related types of requests before, see discussion here for example https://github.com/backstage/backstage/issues/14875


Gaps on track

Hi again,
Using the Gap.ToFocused.OnTrack property to calculate the gap ahead/behind myself, I notice the result will include cars in the pitlane. Would it be possible to exclude cars in the pitlane with this property or am I overlooking another property that will achieve this?
Simhub has a built in quick component (Opponent gap) that will allow to select a gap "Leaderboard Position Relative to Player on Track" that can solve this but the internal gap calculation is not stable like you have corrected nicely in your plugin.
I have tried setting Simhub's gap computation mode to "game" or "Simhub" but the results are the same.
(BTW thanks for the additional valid.lap properties, they work great!)

Currently there is no prebuilt way to exclude all the cars in the pits. I believe a javascript extension to filter out the cars in the pits is possible.
But why do you even want to exclude the cars in the pitlane?

Excluding pitlane cars is sometimes useful when viewing car(s) ahead and behind while on track, without having opponents and gap data randomly change as you pass cars in the pitlane in a qualy or race setting. This is even more apparent when driving on a track with long pitlanes like Spa for example.
In addition, it's a nice to see actual time data while you are in the pits yourself compared to cars on track if you want to see what gaps you might have on exit or to time your exit to avoid traffic.

Ok, I can see how that can be useful. I'm up for adding support for it.
We can add new leaderboard type, which is like RelativeOnTrack but without any cars that are in the pitlane, except the focused car.

It would be nice to have option to hide cars in pit lane only if they lap down (or more).

Ok, I can see how that can be useful. I'm up for adding support for it.
We can add new leaderboard type, which is like RelativeOnTrack but without any cars that are in the pitlane, except the focused car. Would that work?

Ok thanks, I guess that would work, I assume there would be a new property created? Or I could use the same property (i.e.  gap.tofocused.ontrack) just applied differently to exclude pitlane cars  within that leaderboard type?

It would be nice to have option to hide cars in pit lane only if they lap down (or more).

I think if this was added you could then make the result conditional on the other property "RelativeOnTrackLapDiff" == -1.

Ok thanks, I guess that would work, I assume there would be a new property created? Or I could use the same property (i.e. gap.tofocused.ontrack) just applied differently to exclude pitlane cars within that leaderboard type?

It would be the same property but you'll need to switch to new leaderboard type.
The properties are effectively always the same (except few ..Dynamic... properties, which change based on the leaderboard type) and then the leaderboard type decides which cars are shown.

It would be nice to have option to hide cars in pit lane only if they lap down (or more).

I think if this was added you could then make the result conditional on the other property "RelativeOnTrackLapDiff" == -1.

I was thinking about this option myself too and I think it's the way to go. In the qualy/practice they would be equivalent and in the race I would definitely like to know about the cars in the pits but on the same lap.
However, is there still a reason why hiding all the cars in the pitlane in a race would be useful too? Only thing I can think of is the case of when exiting the pitlane and you want to know where you are about to exit relative to on track traffic, and there are a lot of other cars in the pit at the same time. In the most cases I think I would still care about the cars in the pit too.

Ok thanks, I guess that would work, I assume there would be a new property created? Or I could use the same property (i.e. gap.tofocused.ontrack) just applied differently to exclude pitlane cars within that leaderboard type?

It would be the same property but you'll need to switch to new leaderboard type.
The properties are effectively always the same (except few ..Dynamic... properties, which change based on the leaderboard type) and then the leaderboard type decides which cars are shown.

Ok, sounds good!

I was thinking about this option myself too and I think it's the way to go. In the qualy/practice they would be equivalent and in the race I would definitely like to know about the cars in the pits but on the same lap. However, is there still a reason why hiding all the cars in the pitlane in a race would be useful too? Only thing I can think of is the case of when exiting the pitlane and you want to know where you are about to exit relative to on track traffic, and there are a lot of other cars in the pit at the same time. In the most cases I think I would still care about the cars in the pit too.

Yes, I would agree with all of this. It can probably be toggled if someone wanted in a specific case, while they are in the pitlane, to have info on their gap relative to cars only on track by utilizing a condition to switch to "gap to on track cars only" based on if "IsInPitLane" == 1, for example.

I was just thinking, if we agree on the following:

During practice/qualy have a leaderboard type to filter out all cars in pits (except for focused) from gaps
During race, same leaderboard type will filter cars out all cars in pits except those on the same lap

The new javascript extension you would write would need to cover both of these specific conditions, right? Otherwise in a race situation I'm not sure how we could neatly write code to account for the gap ahead if there are 2 or more cars in the pits on different lap numbers.

.. It can probably be toggled if someone wanted in a specific case, while they are in the pitlane, to have info on their gap relative to cars only on track by utilizing a condition to switch to "gap to on track cars only" based on if "IsInPitLane" == 1, for example.

Not really, we would need to add a new action on the plugin side for this switch, like the leaderboard type switch works, but in that case it would be better to just add both leaderboard types instead.

I was just thinking, if we agree on the following:

During practice/qualy have a leaderboard type to filter out all cars in pits (except for focused) from gaps
During race, same leaderboard type will filter cars out all cars in pits except those on the same lap

Yes

The new javascript extension you would write would need to cover both of these specific conditions, right? Otherwise in a race situation I'm not sure how we could neatly write code to account for the gap ahead if there are 2 or more cars in the pits on different lap numbers.

Javascript extension wouldn't really work here actually, so it will be an addition to the plugin. But yes we need to cover them separately in code but in the end all the end user should need to do is select the new leaderboard type when they want to only see the cars on the track and it should just work. Plugin will do the filtering and only show the wanted cars.

.. It can probably be toggled if someone wanted in a specific case, while they are in the pitlane, to have info on their gap relative to cars only on track by utilizing a condition to switch to "gap to on track cars only" based on if "IsInPitLane" == 1, for example.

Not really, we would need to add a new action on the plugin side for this switch, like the leaderboard type switch works, but in that case it would be better to just add both leaderboard types instead.

Ok, I see.

I was just thinking, if we agree on the following:

During practice/qualy have a leaderboard type to filter out all cars in pits (except for focused) from gaps
During race, same leaderboard type will filter cars out all cars in pits except those on the same lap

Yes

The new javascript extension you would write would need to cover both of these specific conditions, right? Otherwise in a race situation I'm not sure how we could neatly write code to account for the gap ahead if there are 2 or more cars in the pits on different lap numbers.

Javascript extension wouldn't really work here actually, so it will be an addition to the plugin. But yes we need to cover them separately in code but in the end all the end user should need to do is select the new leaderboard type when they want to only see the cars on the track and it should just work. Plugin will do the filtering and only show the wanted cars.

Yes, sounds good. Thanks

I uploaded a new prerelease 1.2.2_beta1 with new leaderboard RelativeOnTrackWoPit.
@Mtrade @serek4 Could you give it a quick try and see if it works as expected? You need to enable it for the existing configurations in the settings under "Leaderboard rotation" section.

I did some limited testing in a practice/qualy session and so far it seems to work as intended, filtering out all cars in the pits.
Will continue to test that as well as the behaviour in a race session.
Thanks!

Did more testing in various scenarios in all session types and the behaviour is exactly as expected. I.E. all cars filtered out in practice/qualy, and cars not on the same lap in race filtered out. This is a great addition, thanks so much for adding.
Just out of curiosity (rather than starting another thread again), do you have a discord group to discuss anything related to the plugin or is github the best place for this?
And are there any plans to port the plugin to other sims?
Thanks again for all the added functionality.

Thank you for testing. I'll post the final update soon.

Just out of curiosity (rather than starting another thread again), do you have a discord group to discuss anything related to the plugin or is github the best place for this?

There is no discord group. Github or Racedepartment's forum are the places for discussion at the moment.

And are there any plans to port the plugin to other sims?

Not really. I don't really play other sims (actually haven't even played ACC since summer) and so most likely there will not be support for other sims.

Released in 1.2.2 🎉

Thank you for testing. I'll post the final update soon.

Just out of curiosity (rather than starting another thread again), do you have a discord group to discuss anything related to the plugin or is github the best place for this?

There is no discord group. Github or Racedepartment's forum are the places for discussion at the moment.

And are there any plans to port the plugin to other sims?

Not really. I don't really play other sims (actually haven't even played ACC since summer) and so most likely there will not be support for other sims.

Ok then, thank you again!


cuda11.0: Add version 11.0.3_451.82

This adds CUDA 11.0 to the bucket.

I named the package as cuda11.0 according to #341.

The install script is taken from main/cuda

Add .json 🤣 and, if there is no autoupdate, please use sha256 that calculated locally.

Add .json 🤣 and, if there is no autoupdate, please use sha256 that calculated locally.

Sorry. I immidiately noticed that after I see the PR check failure.

/verify

INFO: Hashes
Log of Output:
Downloading http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_451.48_win10.exe#/dl.7z (2.6 GB)...
cuda11.0:
Mismatch found
	URL:		http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_451.48_win10.exe#/dl.7z
	First bytes:	4D 5A 60 00 01 00 00 00
	Expected:	5df6f6337427e09466bcaa7bc9c9460d6d03bc04fa59796132fb9a8e8ff82d3f
	Actual:		eb1506723f78fd9523f23bcbe88f91474c09eff6bc8bdc2c74e37ac05bfc9624

INFO: Hashes done

/verify

/verify


Superfluous bracket

Codecov Report

Merging #207 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #207   +/-   ##
=========================================
  Coverage     79.51%   79.51%
  Complexity      206      206
=========================================
  Files             7        7
  Lines           708      708
=========================================
  Hits            563      563
  Misses          145      145

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 6b1c502...ca6a594. Read the comment docs.