cant get cert

first time use, cant find the issue and fix around please tell me what im doing wrong.
[DBUG] Test parameter set: https://acme-staging.api.letsencrypt.org/
[DBUG] Config folder: C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org
[VERB] Settings SettingsService {ConfigPath="C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org", ClientNames=["win-acme", "letsencrypt-win-simple"], RenewalDays=55, HostsPerPage=50, ScheduledTaskRandomDelay=00:00:00, ScheduledTaskStartBoundary=09:00:00, ScheduledTaskExecutionTimeLimit=02:00:00}
[VERB] .NET Framework >=4.7 detected
[INFO] A Simple ACME Client for Windows (WACS)
[INFO] Software version 1910.0.6645.39719 (RELEASE)
[INFO] IIS version 7.5
[INFO] ACME server https://acme-staging.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/PKISharp/win-acme
[VERB] Verbose mode logging enabled
[DBUG] Renewal period: 55 days
[VERB] Store renewals in file C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org\Renewals
N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit
Please choose from the menu:
[INFO] Running in Simple mode
1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel
Which kind of certificate would you like to create?:
[DBUG] Scanning IIS site bindings for hosts
1: companyweb (SiteId 23821864) [@C:\inetpub\wwwroot\wss\VirtualDirectories\Companyweb80]
2: connect (SiteId 2) [@C:\Program Files\Windows Small Business Server\Bin\webapp\ClientDeployment]
3: sbsconnectcomputer (SiteId 2) [@C:\Program Files\Windows Small Business Server\Bin\webapp\ClientDeployment]
C: Cancel
Choose site:
[INFO] Plugin IISBinding generated target [IISBinding] companyweb (SiteId 23821864) [ @ C:\inetpub\wwwroot\wss\VirtualDirectories\Companyweb80]
[DBUG] Scanning IIS site bindings for hosts
[DBUG] Loading signer from C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org\Signer
[DBUG] Getting AcmeServerDirectory
[DBUG] Send GET request to https://acme-staging.api.letsencrypt.org/directory
[DBUG] Loading registration from C:\ProgramData\win-acme\httpsacme-staging.api.letsencrypt.org\Registration
[INFO] Authorize identifier: companyweb
[DBUG] Send POST request to https://acme-staging.api.letsencrypt.org/acme/new-authz
[EROR] Error authorizing [IISBinding] companyweb (SiteId 23821864) [ @ C:\inetpub\wwwroot\wss\VirtualDirectories\Companyweb80]
[DBUG] AcmeWebException: AcmeWebException {WebException=WebException {Status=ProtocolError, Response=HttpWebResponse {IsMutuallyAuthenticated="The property accessor threw an exception: ObjectDisposedException", Cookies="The property accessor threw an exception: ObjectDisposedException", Headers="The property accessor threw an exception: ObjectDisposedException", SupportsHeaders=True, ContentLength="The property accessor threw an exception: ObjectDisposedException", ContentEncoding="The property accessor threw an exception: ObjectDisposedException", ContentType="The property accessor threw an exception: ObjectDisposedException", CharacterSet="The property accessor threw an exception: ObjectDisposedException", Server="The property accessor threw an exception: ObjectDisposedException", LastModified="The property accessor threw an exception: ObjectDisposedException", StatusCode="The property accessor threw an exception: ObjectDisposedException", StatusDescription="The property accessor threw an exception: ObjectDisposedException", ProtocolVersion="The property accessor threw an exception: ObjectDisposedException", ResponseUri="The property accessor threw an exception: ObjectDisposedException", Method="The property accessor threw an exception: ObjectDisposedException", IsFromCache=False}, Message="The remote server returned an error: (400) Bad Request.", Data=[], InnerException=null, TargetSite=System.Net.WebResponse GetResponse(), StackTrace="   at System.Net.HttpWebRequest.GetResponse()\r\n   at ACMESharp.AcmeClient.RequestHttpPost(Uri uri, Object message)", HelpLink=null, Source="System", HResult=-2146233079}, Response=AcmeHttpResponse {StatusCode=BadRequest, Headers=["Boulder-Requester", "Replay-Nonce", "Pragma", "Connection", "Content-Length", "Cache-Control", "Content-Type", "Date", "Expires", "Server"], Links=[], RawContent=System.Byte[], ContentAsString="{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: DNS name does not have enough labels",\n  "status": 400\n}", IsError=True, Error=WebException {Status=ProtocolError, Response=HttpWebResponse {IsMutuallyAuthenticated="The property accessor threw an exception: ObjectDisposedException", Cookies="The property accessor threw an exception: ObjectDisposedException", Headers="The property accessor threw an exception: ObjectDisposedException", SupportsHeaders=True, ContentLength="The property accessor threw an exception: ObjectDisposedException", ContentEncoding="The property accessor threw an exception: ObjectDisposedException", ContentType="The property accessor threw an exception: ObjectDisposedException", CharacterSet="The property accessor threw an exception: ObjectDisposedException", Server="The property accessor threw an exception: ObjectDisposedException", LastModified="The property accessor threw an exception: ObjectDisposedException", StatusCode="The property accessor threw an exception: ObjectDisposedException", StatusDescription="The property accessor threw an exception: ObjectDisposedException", ProtocolVersion="The property accessor threw an exception: ObjectDisposedException", ResponseUri="The property accessor threw an exception: ObjectDisposedException", Method="The property accessor threw an exception: ObjectDisposedException", IsFromCache=False}, Message="The remote server returned an error: (400) Bad Request.", Data=[], InnerException=null, TargetSite=System.Net.WebResponse GetResponse(), StackTrace="   at System.Net.HttpWebRequest.GetResponse()\r\n   at ACMESharp.AcmeClient.RequestHttpPost(Uri uri, Object message)", HelpLink=null, Source="System", HResult=-2146233079}, ProblemDetail=ProblemDetailResponse {Type="urn:acme:error:malformed", Title=null, Status=400, Detail="Error creating new authz :: DNS name does not have enough labels", Instance=null, OrignalContent="{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: DNS name does not have enough labels",\n  "status": 400\n}"}}, Message="Unexpected error\n +Response from server:\n\t+ Code: BadRequest\n\t+ Content: {\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: DNS name does not have enough labels",\n  "status": 400\n}", Data=[DictionaryEntry {Key="ProblemDetail", Value="{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: DNS name does not have enough labels",\n  "status": 400\n}"}], InnerException=WebException {Status=ProtocolError, Response=HttpWebResponse {IsMutuallyAuthenticated="The property accessor threw an exception: ObjectDisposedException", Cookies="The property accessor threw an exception: ObjectDisposedException", Headers="The property accessor threw an exception: ObjectDisposedException", SupportsHeaders=True, ContentLength="The property accessor threw an exception: ObjectDisposedException", ContentEncoding="The property accessor threw an exception: ObjectDisposedException", ContentType="The property accessor threw an exception: ObjectDisposedException", CharacterSet="The property accessor threw an exception: ObjectDisposedException", Server="The property accessor threw an exception: ObjectDisposedException", LastModified="The property accessor threw an exception: ObjectDisposedException", StatusCode="The property accessor threw an exception: ObjectDisposedException", StatusDescription="The property accessor threw an exception: ObjectDisposedException", ProtocolVersion="The property accessor threw an exception: ObjectDisposedException", ResponseUri="The property accessor threw an exception: ObjectDisposedException", Method="The property accessor threw an exception: ObjectDisposedException", IsFromCache=False}, Message="The remote server returned an error: (400) Bad Request.", Data=[], InnerException=null, TargetSite=System.Net.WebResponse GetResponse(), StackTrace="   at System.Net.HttpWebRequest.GetResponse()\r\n   at ACMESharp.AcmeClient.RequestHttpPost(Uri uri, Object message)", HelpLink=null, Source="System", HResult=-2146233079}, TargetSite=ACMESharp.AuthorizationState AuthorizeIdentifier(System.String), StackTrace="   at ACMESharp.AcmeClient.AuthorizeIdentifier(String dnsIdentifier)\r\n   at PKISharp.WACS.Program.Authorize(ILifetimeScope renewalScope, Target target)", HelpLink=null, Source="ACMESharp", HResult=-2146233088}
[EROR] AcmeWebException: Unexpected error
+Response from server:
+ Code: BadRequest
+ Content: {
"type": "urn:acme:error:malformed",
"detail": "Error creating new authz :: DNS name does not have enough labels",
"status": 400
}
[EROR] Create certificate failed

@webprofusion-chrisc is right, for internal domains you will have use another solution than Let's Encrypt, e.g. AD CS: https://msdn.microsoft.com/en-us/library/ff630887.aspx?f=255&MSPPError=-2147217396

@webprofusion-chrisc @WouterTinus
Its not a internal domain. Maybe the system detect it like this way. So i used option 4 instead and used the real domainname: webaccess.jpg-bouw.nl and choosed for 2 SBS client deployment applications, getting the following error:
23821864: Companyweb
1: Default Web Site
2: SBS Client Deployment Applications
284337142: SBS SharePoint
1178717237: SharePoint Central Administration v4
3: SharePoint Web Services
Choose site to create new bindings:
[INFO] Authorize identifier: webaccess.jpg-bouw.nl
[INFO] Authorizing webaccess.jpg-bouw.nl using http-01 validation (SelfHosting)
[INFO] Answer should now be browsable at http://webaccess.jpg-bouw.nl/.well-known/acme-challenge/7OEihSfdJzyP7kN_QabN4M_qhvHgoWHtXOUN4NLjoMk
[EROR] Authorization result: invalid
[EROR] NullReferenceException: Object reference not set to an instance of an object.

You appear to be running Apache on port 80 externally, according to the 404. As you've picked the self hosting option Apache may conflicting with this? Or are you perhaps running Apache as a reverse proxy front end for  the server?

Apache doesn't share its port as IIS can do, but the SelfHosting plugin would fail if that was the case, so I guess they are not running on the same machine.
I would suggest trying v<IP_ADDRESS> instead of v<IP_ADDRESS> because it fixes a bug that prevent error messages from displaying. That we might get to the root cause.

It doesn't seem like IIS is handling port 80, because I'm seeing an nginx header on the 404 page. I'd recommend trying FileSystem validation.

do you mean a sfc /scannow?

yes IIS is binded to port 80, can we change the port of acme?

yes IIS is binded to port 80,

How do you explain the Server: nginx response header and the Apache Server at webaccess.jpg-bouw.nl Port 80 in the body of the response then if I open http://webaccess.jpg-bouw.nl/.well-known/acme-challenge/xg3mtGwraY8AoSgO1ypBAt6zVyjoN2Ni5XkyTQ6rn-c ?

i also cant find the file that should be created, but it may that im looking at the wrong directory.

SelfHosting validation doesn't create files on the disk. If you want to try that way, which has a bigger chance of success, then create the certifcate with advanced options ("M" from the main menu) and choose for FileSystem validation. Running with the --test switch freezes the program at the point before it asks Let's Encrypt to actually validate, so that you can check if the file is in the right place and being served to your browser.

can we change the port of acme?

No, the standard defines that it has to be 80.

So i checked and the website gives me a http 404 not found error.

first of all, thank you so much for youre time. second of all, im feeling so gooddamn stupid now. the domain name is jpg-sbs. so i assumed it was jpg-bouw.nl instead it was jpgbouw.nl you see? im sorry, think i worked to much last few days.
still having troubling with the apply of the certification tough, The does excist now in test mode,
[INFO] Installing certificate in the certificate store
[INFO] Adding certificate webaccess.jpgbouw.nl 2018-5-18 0:29:07  to store My
[INFO] Installing with IIS...
[EROR] Error installing
System.Exception: Unable to find IIS SiteId #-1
at PKISharp.WACS.Clients.IISClient.GetWebSite(Int64 id)
at PKISharp.WACS.Clients.IISClient.AddOrUpdateBindings(Target target, SSLFlag
s flags, CertificateInfo newCertificate, CertificateInfo oldCertificate)
[EROR] Unable to install certificate
System.Exception: Unable to find IIS SiteId #-1
at PKISharp.WACS.Clients.IISClient.GetWebSite(Int64 id)
at PKISharp.WACS.Clients.IISClient.AddOrUpdateBindings(Target target, SSLFlag
s flags, CertificateInfo newCertificate, CertificateInfo oldCertificate)
at PKISharp.WACS.Plugins.InstallationPlugins.IISWebInstaller.PKISharp.WACS.Pl
ugins.Interfaces.IInstallationPlugin.Install(CertificateInfo newCertificate, Cer
tificateInfo oldCertificate)
at PKISharp.WACS.Program.OnRenewSuccess(ILifetimeScope renewalScope, Schedule
dRenewal renewal)
i will do my own research before askin youre help again, sorry about that

[DBUG] Config folder: C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org
[VERB] Settings SettingsService {ConfigPath="C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org", ClientNames=["win-acme", "letsencrypt-win-simple"], RenewalDays=55, HostsPerPage=50, ScheduledTaskRandomDelay=00:00:00, ScheduledTaskStartBoundary=09:00:00, ScheduledTaskExecutionTimeLimit=02:00:00}
[VERB] .NET Framework >=4.7 detected
[INFO] A Simple ACME Client for Windows (WACS)
[INFO] Software version 1911.0.6706.12865 (RELEASE)
[INFO] IIS version 7.5
[INFO] ACME server https://acme-v01.api.letsencrypt.org/
[INFO] Please report issues at https://github.com/PKISharp/win-acme
[VERB] Verbose mode logging enabled
[DBUG] Renewal period: 55 days
[VERB] Store renewals in file C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org\Renewals
N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit
Please choose from the menu:
[INFO] Running in Simple mode
1: Single binding of an IIS site
2: SAN certificate for all bindings of an IIS site
3: SAN certificate for all bindings of multiple IIS sites
4: Manually input host names
C: Cancel
Which kind of certificate would you like to create?:
Enter comma-separated list of host names, starting with the primary one:
[INFO] Plugin Manual generated target [Manual] [1 binding - webaccess.jpgbouw.nl]
[DBUG] Loading signer from C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org\Signer
[DBUG] Getting AcmeServerDirectory
[DBUG] Send GET request to https://acme-v01.api.letsencrypt.org/directory
[DBUG] Loading registration from C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org\Registration
[INFO] Authorize identifier: webaccess.jpgbouw.nl
[DBUG] Send POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz
[INFO] Cached authorization result: valid
[DBUG] Certificate folder: C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org
[DBUG] Certificate store: My
[DBUG] Set private key exportable
[WARN] Using cached certificate for webaccess.jpgbouw.nl 2018-5-18 0:56:48 . To force issue of a new certificate within 24 hours, delete the .pfx file from the CertificatePath or run with the --forcerenewal switch. Be ware that you might run into rate limits doing so.
[WARN] Certificate with thumbprint C3E8BB1BD778AB814518B9B2E2836A04470F8646 is already in the store
[INFO] Installing with IIS...
[EROR] Error installing
System.Exception: Unable to find IIS SiteId #-1
at PKISharp.WACS.Clients.IISClient.GetWebSite(Int64 id)
at PKISharp.WACS.Clients.IISClient.AddOrUpdateBindings(Target target, SSLFlags flags, CertificateInfo newCertificate, CertificateInfo oldCertificate)
[EROR] Unable to install certificate
System.Exception: Unable to find IIS SiteId #-1
at PKISharp.WACS.Clients.IISClient.GetWebSite(Int64 id)
at PKISharp.WACS.Clients.IISClient.AddOrUpdateBindings(Target target, SSLFlags flags, CertificateInfo newCertificate, CertificateInfo oldCertificate)
at PKISharp.WACS.Plugins.InstallationPlugins.IISWebInstaller.PKISharp.WACS.Plugins.Interfaces.IInstallationPlugin.Install(CertificateInfo newCertificate, CertificateInfo oldCertificate)
at PKISharp.WACS.Program.OnRenewSuccess(ILifetimeScope renewalScope, ScheduledRenewal renewal)
[EROR] Create certificate failed
N: Create new certificate
M: Create new certificate with advanced options
L: List scheduled renewals
R: Renew scheduled
S: Renew specific
A: Renew all
V: Revoke certificate
C: Cancel scheduled renewal
X: Cancel all scheduled renewals
Q: Quit
Please choose from the menu:

Seems the IIS installer doesn't know which site to install to. How did you set up this renewal? Using the command line or the menu?
I'd recommending canceling it and creating it again, recording the steps exactly. I'd be happy to know which combination of commands/parameters led the renewal to get into this state.

I think I already know. There's a bug which was introduced in the latest version that makes the combination  Manual target + IIS Installer impossible to set up in interactive mode. In your case I recommend using an IIS target, e.g. ask the program to create a certificate for an IIS binding instead of inputting host names manually.

It still doesnt work arg, i went 1 version lower and it reports that its ok when i do a manual input, but its not applying to the website. When i use interactive mode it keeps failing with not anough dns labels...i have google some solution but without avail

It has been fixed. I had to select the certificate in IIS itself. Thank much


REFERENCED_BEFORE_DECLARATION error doesn't name the identifier

Analyzer currently does:
$ cat d.dart
void main() {
  j++;
  int j;
  print(j);
}
$ dartanalyzer d.dart
Analyzing [d.dart]...
[error] Local variables cannot be referenced before they are declared (d.dart, line 2, col 3)
1 error found.

As we do for many errors, I think the identifier should be named.

CC @goderbauer

Fixed in b5ffdbf5845784be0588457c92ec12262a7dc8dd.


Update some versions

Does the About Libraries version need to be updated for the string updates? There's been quite a few changes since 5.9.6's release on May 3rd

hmm I see some definitions where updated :D


terminal size change causes incorrect wrapping (or absence of such, no new line added)

I was excited to see https://github.com/asciinema/asciinema-player/commit/430b7f8c292d7e42173ee96d7f0fd86a19ed79c8 in action but then spotted that some output is not wrapped correctly if cols value differs from the original, e.g. compare those shell comments wrapping
on
https://asciinema.org/a/134832?poster=npt:225
vs
https://asciinema.org/a/134832?poster=npt:225&cols=81

Looks like a bug, yeah. I'm trying to reproduce it on a simpler case but no luck so far.

Not a bug actually :)
If you download this asciicast () and open it (for ex. in less), search for 0.021936. This is where carriage return (\r) was printed. It seems this was auto-typed using some tool during the recording, and this tool made use of terminal width which was 80 then. It artificially added \r, which does no harm when printed "on the edge of the screen", but causes this problem when printed before the edge. When you make the player 81 columns you move the edge 1 column right, but this \r is executed when cursor is 1 char left to the edge.
Anyway, this can't easily be solved by asciinema-player. It's not really player's fault (its virtual terminal emulator adheres to the ANSI standard here). We could try to add some workaround for special cases like this but I'm not sure it's worth it.
If you disagree (or have ideas for this) I'll re-open.

As a quick solution you can edit this json recording, find \r occurences like this one, delete them, and then re-upload this recording as new one.


No longer installs on Windows VSCode 1.17-insider

Just stuck on Installing...

Hi @genotrance
How about in VSCode 1.18? Do you find same issue?

Worked on 1.18.1 release on Ubuntu.


toJson return value inferred as JsonValue when passing any options

I'm trying out the connect-es v2 RC with @bufbuild/protobuf 2.2.0.
When passing any available options to the toJson function, the return type is inferred as JsonValue instead of the {Message}Json type. This happens regardless of whether or not the json_types option is set to true for the protoc-gen-es.

The expected outcome here is that the return type is the {Message}Json type; the ideal outcome is that the type also takes into account the options given and infers more specific types, e.g. when enumAsInteger is given, any enums are a number in the type.

You have to specify the options literal with as const, see https://github.com/bufbuild/protobuf-es/blob/v2.2.0/packages/protobuf/src/to-json.ts#L143.
But you'll only get the JSON type for the standard options, since that's what the generated JSON type matches.
I agree that it would be ideal if the returned type honored non-standard options, but unfortunately I don't see how we could support that.


removed hard-coded Kafka key and value deserializer

leaving default deserializer as org.apache.kafka.common.serialization.ByteArrayDeserializer.  Also added checks to ensure that any provided deserializer class extends org.apache.kafka.serialization.Deserializer and outputs a byte array.

Hi, thanks for the contribution! Could you update the PR description to add a bit of context about the purpose of this change?

Can do!
Sent from my iPhone

On Jul 19, 2019, at 14:44, Clint Wylie<EMAIL_ADDRESS>wrote:
Hi, thanks for the contribution! Could you update the PR description to add a bit of context about the purpose of this change?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Just updated the PR comment...please let me know if that addresses your request.
Sent from my iPhone

On Jul 19, 2019, at 14:44, Clint Wylie<EMAIL_ADDRESS>wrote:
Hi, thanks for the contribution! Could you update the PR description to add a bit of context about the purpose of this change?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I am a bit intimidated by the style of the tests.  Could you point me to an example that is similar in functionality?  Apart from the tests, I have implemented all of your recommendations and am waiting to update the PR once I get the test written.

@abossert to me, it looks easier to add unit tests to KafkaRecordSupplierTest. I guess perhaps you could parameterize that class to test both byte array serde and a simple custom serde. This custom serde doesn't have to be the one you're using. It can be any custom serde. Alternatively, you can add a new test class to only verify that the custom serde works with KafkaRecordSupplier.
I prefer the former one because we can test both default and custom serdes in a single place. But, if it's not feasible or too complex, then I'm ok with adding a new test class.


fix(dockerbuild): architectures

Changes proposed in this pull request

Context

Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass

While you are working on this, could you include this?

#1263

Also, can you add the

fixes #1263

to your description if it is actually working?


Fixing the use of JSON_BIGINT_AS_STRING causing a PHP Warning "json_d…

Fixing a bug with the use of JSON_BIGINT_AS_STRING constant, causing a PHP Warning "json_ecode(): option JSON_BIGINT_AS_STRING not implemented" on some versions of JSON library (Ubuntu 14.04 for example)

some documentation I found when trying to find a solution for this bug occuring on our Ubuntu server :

Some documentation I found when looking for reasons about this bug occuring on our server :
https://github.com/splashlab/twitteroauth/commit/3cb3f7217018db0e8325deea7f9d4030e42e3c02
https://github.com/firebase/php-jwt/issues/9

Closing it, as this wrapper is not maintained anymore, feel free to use the new one


Visuals not going back

Today while I was playing with components example (cargo run --example components --package=relm4-examples) if found an issue where toggle buttons are not going back.
 I've wasted for this test 5min to check if all is working fine.

But when I start clicking fast on buttons. Sometimes clicking twice. Go back and forth between them. In a few seconds I'm ending up with

Something similar happens when I scroll fast. In list example (cargo run --example list --package=relm4-examples) if I use a mouse wheel to scroll over the minimum position of the list I get this nice gtk glow at the top hinting hey, that's it (I can't capture it since it will disappear before I can take a screen shot).
If I use a mouse wheel to go fast over the minimum position of the list, then the glow will become permanent. Using mouse wheel I can select the level of the hint and now I know that there are 6 of them (including lack of hint). What's more if ui ends in a state when the hint is permanent on top then it's also in permanent on bottom.

Last image was captured with focus being on input after typing a few letters

I don't think this is related to Relm4 but rather an issue in GTK4. Even when I remove all the signal handling from the example I can still recreate this issue. Also the toggle buttons are in one group which means that GTK takes care that only one is active at the time or that's at least how that should work.

I'll try to prepare the examples in pure gtk-rs and c somewhere during this week to report it upstream.


Groups in Jupyter terminal are not the same as those of UNIX user

I am running Jupyterhub at high school (server OS: antiX  = essentially debian/sarge without systemd), where we have the group teachers for teachers. This group is used for access to group-readable shared materials directory.
So, for example for teacher with login name tomas3 :
# groups tomas3
tomas3 : tomas3 teachers

But in terminado terminal, started from Jupyterbub spawned Jupyter server that user  has only the base group, tomas3. Of course in Jupyter NB using ! groups we can see all groups. So the ugly solution can be - to go to shared materials directory, download the notebooks here one by one and upload them. That solution I do not like at all...  I would be glad if cleaner solution can be found.

Update.  The user in troubles was logged in to jupyterhub from yesterday, having only single-user server running, no notebooks. I myself had no problems with my (multiple) groups in terminado. What happens to him, I do not know. I tried  also as another teacher-user with no problem. Can we close this issue?

I don't think terminado does anything that should affect this. My guesses would be:

If your single user servers run inside docker or something similar, the users and groups inside the container may be different from outside. In this case, though, it would affect all users, and you say it's fine for others.
Some things in Unix are inherited from the parent process. So it may be necessary to stop the single user server (or even the whole Jupyterhub, maybe) and start it again for some changes to groups to show up.

Closing for now, let me know if you find a way to consistently reproduce it. You could also try checking it from inside a notebook - if you see the same thing there, it can't be related to terminado.


Consider switching to ESM only build/artifacts

Why
Reduce maintenance overhead of supporting multiple consumption options, currently:

commonjs
UMD bundle
UMD minified bundle
ESM wrapper
ESM bundle
ESM minified bundle

For example Chevrotain currently uses two bundling tools, both esbuild and webpack
When
Likely still too early to do so, need to give the JS / Node community time to adjust.
Some popular packages have started doing so already, we should keep track of their progress and/or success in doing so.

https://github.com/sindresorhus/meta/discussions/15
https://github.com/node-fetch/node-fetch/releases/tag/v3.0.0

How

Compile to ESM with TypeScript
Major version with breaking changes
Remove webpack, and attempt to use  onlyesbuild
Remove minified UMD packages
Update playground / benchmarks to use ESM resources.
Update docs to clearly indicate the package is ESM only.

I think this should be evaluated at April 2023 once nodejs 16 is deprecated
and all LTS nodejs versions will support ESM.

Switching to lodash-es and compiling typescript to ESM instead of commonjs seems to reduce the minified bundle size
by ~20% (40Kb).

Done in: https://github.com/Chevrotain/chevrotain/pull/1953
I'm still keeping the UMD artifacts (chevrotain.js / chevrotain.min.js) for browser usage.
But from nodejs only ESM is supported.


update release notes [skip ci]

This change is

google/cloud/bigtable/README.md, line 47 at r1 (raw file):
Previously, mr-salty (Todd Derr) wrote…
I can go either way on that, I noted that bww "pulled up" some common changes in the prior version like #3025 so I did the same for consistency. I suppose it will not matter once the repos are split.

Actually I guess the splitting makes a good argument for duplicating, so I'll do that.

Can I get a LG or do we have edits to the notes?


Fixed error when call function disable/enable control button before initializing the control

Fixed #1141

Please review my PR @Falke-Design

Can you please add a test?

Can you tell me how to write a test correctly because all tests are called after initializing control?

Look into this test. First remove the existing map, then create a new map as here

Thanks for the help in write test


Obsoletion request: GO:0030242    autophagy of peroxisome

Please provide as much information as you can:
missed from
https://github.com/geneontology/go-ontology/issues/26190

GO term ID and Label
GO:0030242    autophagy of peroxisome

Reason for deprecation Put an x in the appropriate box:

[ ] The reason for obsoletion is that the term is not clearly defined and usage has been inconsistent.
[ ]  The reason for obsoletion is that this term is pre-composed and should be represented as a GO-CAM model.
[ ]  The reason for obsoletion is that this term represent an assay and not a GO process.
[ ]  The reason for obsoletion is that this represents a phenotype.
[ ] The reason for obsoletion is that the data from the paper for which the term was requested can be accurately described using [appropriate GO term].
[ ] The reason for obsoletion is that this term represents a molecular function.
[ ]  The reason for obsoletion is that this term represents a gene product.
[ ] The reason for obsoletion is that this term refers to a class of proteins.
[ ]  The reason for obsoletion is that this term was added in error.
[ ]  The reason for obsoletion is that more specific terms were created.
[ ]  The reason for obsoletion is that this term was an unnecessary grouping term.
[ ]  The reason for obsoletion is that the meaning of the term is ambiguous.
[ ]  The reason for obsoletion is that is not known to be catalyzed by any gene product.
[ ]  The reason for obsoletion is that it more specific than the specificity of any known gene product.
[ ]  The reason for obsoletion is that there is no evidence that this function/process/component exists.

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[ ] check internal mappings: RHEA, EC, MetaCyc
[ ] check subset usage
[ ] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Annotation Review template: https://docs.google.com/spreadsheets/d/1izV3q1jnq_Ybg5MJ53O_b5BCTkGtjl_Fi-cOg3-7eBE/edit#gid=0

Instructions: https://wiki.geneontology.org/Annotation_Review_Request

[ ] create annotation review ticket: https://github.com/geneontology/go-annotation/issues/new?assignees=&labels=annotation+review&template=annotation-review-for-obsoletion.md&title=Review+annotations+to+[INSERT+GO+TERM]
[ ] find external mappings (via IEAS), include in obsoletion notice
[ ] tag curators in Annotation Review ticket. Responsible annotator for each group: https://github.com/geneontology/go-site/blob/master/metadata/group-contacts.csv

Notification

[ ] create obsoletion announcement
[ ] announce to GO friends<EMAIL_ADDRESS>[ ] paste the text in the ontology ticket

Can you please specify why this is being obsoleted? I thoght we had decided to keep some of the grouping terms?

You wrote in #25541

autophagy of peroxisome -> obsolete, unnecessary grouping class
Annotation tracker ticket https://github.com/geneontology/go-annotation/issues/4753
Oboletion notice https://github.com/geneontology/go-announcements/issues/600~
Kept as do not annotate

Yep sorry I hadn't looked back properly yet. It can  be "do not annotate"

@pgaudet  did we change our mind here?
Here it has 2 children but in the ontology
I'm not sure if they are both valid, will check
@marcfeuermann

This is what we have

I reread this thread. At one point we were going to obsolete "autophagy of peroxisome"
but then we U-turned on this and decided on 'do not annotate' which I didn't add for some reason.
Possibly because there were 2 children, both are used in annotations.
Is already in subset "do not annotate"
so this is OK


How to relate 2 fields to same model?

Hello. How to relate 2 fields to same model? In Prisma1 it works without adding @relation(name: "..") to opposite model field. If i add rel name to opposite field, it will be unnecassary fields in opposite model.
model User {
  id       String  @default(cuid()) @id
  phone    String  @unique
  password String
  cargoes  Cargo[]
}

model Cargo {
  id        String   @default(cuid()) @id
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
  fromCity  City     @relation(name: "Cargo_FromCity")
  toCity    City     @relation(name: "Cargo_ToCity")
}

model Country {
  id     String @default(cuid()) @id
  name   String @unique
  cities City[]
}

model City {
  id      String  @default(cuid()) @id
  name    String  @unique
  country Country
}

You will need to give the other model back relations like so:

model User {
  id       String  @default(cuid()) @id
  phone    String  @unique
  password String
  cargoes  Cargo[]
}

model Cargo {
  id        String   @default(cuid()) @id
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
  fromCity  City     @relation(name: "Cargo_FromCity")
  toCity    City     @relation(name: "Cargo_ToCity")
}

model Country {
  id     String @default(cuid()) @id
  name   String @unique
  cities City[]
}

model City {
  id       String  @default(cuid()) @id
  name     String  @unique
  country  Country
  fromCity Cargo   @relation(name: "Cargo_FromCity")
  toCity   Cargo   @relation(name: "Cargo_ToCity")
}

Notice the city model. That will tell prisma how to store them as we can't infer them if they are referred twice in a model.

@pantharshit00 this creates unnecessary relationships in the database, cities not should have cargoes. Now i did it through resolvers.
cityFrom: {
  type: 'City',
  resolve({ id: cityFromId }, args, { photon }) {
    return photon.cities.findOne({ where: { id } })
  }
}

Yes, if you want to just store the id and compute them you surely can do that.


Uninstaller Known Issues

Uninstaller fails to find Git if the script is run from a non-administrator Windows user account and Git is installed in user directory e.g. %LOCALAPPDATA%\Programs\Git.

Possibly fixed by:
@echo off
setlocal enabledelayedexpansion

set "userLocalAppData=%LOCALAPPDATA%"
set "locations[0]=%ProgramFiles%\Git"
set "locations[1]=%SystemDrive%\Program Files (x64)\Git"
set "locations[2]=%ProgramFiles(x86)%\Git"
set "locations[3]=%SystemDrive%\Git"
set "locations[4]=%userLocalAppData%\Programs\Git"
set "found_installations=0"

    IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" (
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) ELSE (
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)

if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params= %*
    echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /B

:gotAdmin
    pushd "%CD%"
    CD /D "%~dp0"

echo Checking for Git installations...

for /L %%i in (0,1,4) do (
    if exist "!locations[%%i]!\unins*.exe" (
        set "uninstaller=!locations[%%i]!\unins*.exe"
        for %%f in ("!uninstaller!") do (
            set "found_uninstaller=%%f"
            set /a found_installations+=1
        )
    )
)

if %found_installations% equ 0 (
    echo No Git installations found in standard locations.
    echo This might be because Git is installed in a non-standard location.
    echo If you think Git is still installed, try to uninstall it through Control Panel or locate the installation folder and run the uninstaller manually.
    timeout /t 5 /nobreak
    exit /b 7
)

for /L %%i in (0,1,4) do (
    if exist "!locations[%%i]!\unins*.exe" (
        echo Found Git installation in !locations[%%i]! with uninstaller !found_uninstaller!

        echo Terminating running Git processes...
        taskkill /F /IM "bash.exe" 2>nul
        taskkill /F /IM "putty.exe" 2>nul
        taskkill /F /IM "puttytel.exe" 2>nul
        taskkill /F /IM "puttygen.exe" 2>nul
        taskkill /F /IM "pageant.exe" 2>nul

        echo Uninstalling Git from !locations[%%i]!...
        start /wait "Uninstalling Git" "!found_uninstaller!" /SP- /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS

        if !errorlevel! neq 0 (
            echo Failed to uninstall Git from !locations[%%i]!
            set "uninstall_error=1"
        ) else (
            echo Successfully uninstalled Git from !locations[%%i]!

            echo Cleaning up remaining files in !locations[%%i]!...
            timeout /t 2 /nobreak >nul

            rd /s /q "!locations[%%i]!" 2>nul
            if !errorlevel! neq 0 (
                echo Warning: Could not remove remaining files in !locations[%%i]!
                set "cleanup_error=1"
            ) else (
                echo Successfully removed remaining files in !locations[%%i]!
            )
        )
    )
)

if defined uninstall_error (
    echo One or more Git uninstallations failed.
    timeout /t 5 /nobreak
    exit /b 5
) else if defined cleanup_error (
    echo Git was uninstalled but some cleanup operations failed.
    echo Please check the listed locations and remove remaining files manually.
    timeout /t 5 /nobreak
    exit /b 6
) else (
    echo All Git installations were successfully uninstalled and cleaned up.
    timeout /t 5 /nobreak
    exit /b 0
)

Header
Header

Cell
Cell

Cell
Cell


Add nicemc.xyz to webring

The webring link is in the support section at the right of the homepage.

change webring logo to buttom-left

Thanks for your interest in joining the webring. Unfortunately, at its current state, I cannot add it to the webring.

Since the webring needs to link from one page to the other, we expect that each site in the webring has a high uptime, so that the ring is not broken.
I checked the website from time to time and more often than not, I cannot access it.

A bulletin board may not be a good fit. Although it is your personal site, it’s kinda expected that the homepage will be information about the website owner or their writings, rather than a front page of a bulletin board.

Again, thank you for your participation, and thanks for understanding.


Additional islicer functionality

Describe your changes
Added two additional sliders to islicer, allowing selection of the ROI, and a toggle for keeping the the aspect ratio equal to 1 or letting the axis fill the figure.
The default plotting behaviour, with the slice selector show and ROI selection hidden. The aspect ratio is 1 by default.

Using one of the ROI sliders. The axis is resized because the aspect ratio is set to 1.

The axis resizes to fill the figure but with a non-equal aspect.

Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Link relevant issues
Closes #1357
Closes #1371
Checklist when you are ready to request a review

[x] I have performed a self-review of my code
[x] I have added docstrings in line with the guidance in the developer guide
[ ] I have implemented unit tests that cover any new or modified functionality
[x] CHANGELOG.md has been updated with any functionality change
[x] Request review from all relevant developers
[x] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

Thanks! I would expect however that the image gets repainted and zoomed in.

Maybe the advanced controls could be added in an Accordion

A by-product of drawing the UI elements in this different way (using interactive_output) is that the slice-selection slider is no longer rendered twice (previously, it would appear both above and below the figure).

The Accordion doesn't seem to show up on my VSCode?

I've changed the display to use the Tab widget as I think it looks a bit nicer

Both the Tab and Accordion widgets appear to work/render correctly for me in VSCode and in a standalone Jupyter Notebook.
Versions I'm working with:

VSCode 1.72.2
VSCode Jupyter Extension v2022.9.1202862440
ipywidgets 7.6.5

In a working environment (namely with ipywidgets=7.7.2), islicer now produces output like this:

The behaviour of the 'Aspect ratio=1' toggle could be expected to be the opposite of what it is currently (it means 'use square pixels' in this context, but could be thought of as 'ensure a square image'). Should we change it? Maybe just to 'Square pixels'?

Or it could be "Pixel aspect ratio=1"

Also please mention the play/pause buttons in the changelog

It's looking great! Some observations about the behaviour are below. I think the link_islicer is the only problem that prevents merging. But the others might be simple fixes.
Test code
from cil.utilities.dataexample import SIMULATED_CONE_BEAM_DATA
from cil.recon import FDK
from cil.utilities.jupyter import islicer

#%%
data = SIMULATED_CONE_BEAM_DATA.get()
data.log(out=data)
data*=-1
recon = FDK(data).run()

#%%
islicer(recon)

labels are clipped. Maybe moving the labels to the right hand side would better fit any label length. They aren't clipped if i show islicer(data) which is odd as the dimensions are the same.
I would move the vertical slice selector down to the same group and keep all the sliders together, but that's just my preference. @paskino @lauramurgatroyd ?
I would remove the note in the brackets on pixel aspect ratio.
If  I set size=20 the cropped image is towards the left of the canvas rather than roughly centred, again not a big deal but slightly odd.

with pixel aspect ratio fixed:

changing roi horizontal_x works as expected and maintains the same height
changing roi horizontal_y works does not maintain the same width between the full image and cropped image at least on the initial crop. I think the colour bar is changing size too? Which is probably not important but it would look neater.

link_islicer isn't working. I get an Error
TypeError: Each object must be HasTraits, not <class 'NoneType'>
Test code
from cil.utilities.dataexample import SIMULATED_CONE_BEAM_DATA
from cil.recon import FDK
from cil.utilities.jupyter import islicer, link_islicer

#%%
data = SIMULATED_CONE_BEAM_DATA.get()
data.log(out=data)
data*=-1
recon = FDK(data).run()

#%%
h1 = islicer(recon)
h2 = islicer(recon)
link_islicer(h1,h2)

I do not mind where the vertical slice selector slider is 😄

Thanks for the feedback! I've made a couple of the simple changes locally - there's a screenshot of these below. On the remaining points:

labels are clipped. Maybe moving the labels to the right hand side would better fit any label length

It doesn't seem to be easy to move the labels to the right side, so I've moved them above the sliders (see below)

I would move the vertical slice selector down to the same group and keep all the sliders together, but that's just my preference.

See below for how this looks

If  I set size=20 the cropped image is towards the left of the canvas rather than roughly centred, again not a big deal but slightly odd.

I guess this is just how matplotlib draws things to maximise usage of the space it's given - I'll look into keeping the image more central.

changing roi horizontal_y works does not maintain the same width between the full image and cropped image at least on the initial crop. I think the colour bar is changing size too? Which is probably not important but it would look neater.

This is similar to the above point I think. Is it a problem that the image width changes? I figured that if I'm decreasing the size of the ROI, then I am interested in that region and so it being blown up would be a benefit if anything - or does it just look too messy?

Screenshot of new layout

link_islicer should now work as it did before (and without duplicating widgets).
Usage:
from cil.utilities.dataexample import SIMULATED_CONE_BEAM_DATA
from cil.recon import FDK
from cil.utilities.jupyter import islicer, link_islicer
from IPython.display import display

#%%
data = SIMULATED_CONE_BEAM_DATA.get()
data.log(out=data)
data*=-1
recon = FDK(data).run()

#%%
h1 = islicer(recon)
h2 = islicer(recon)
link_islicer(h1, h2)
display(h1, h2)

This only links the 'slice selector' slider to replicate the previous functionality - it might make more sense to link all the widgets between diffrent 'islicers', but I've left that for now.

I think we probably all need to sit down together and have a look at this and what we want it to look/act like

I agree - islicer is more complex/flexible than before, and unfortunately I don't think the interface can remain quite as simple because of that.
Including functionality to link islicers means keeping a reference to the widgets we want to link, but displaying and then returning widgets from the same function causes them to be displayed twice. With islicer as a function, the only solution I could come up with is the current one - I think a class would make more sense going forward, since we can maintain references to widgets via attributes.


Trading issues

[x] open order not disappearing from order book when a user gets filled while offline / has tab closed
[x] open order not disappearing from open orders if a user exits after getting bell alert filled but before UI removes the open order
[x] self trade fill not working right in UI, UI says failed but really succeeded

open order not disappearing from order book when a user gets filled while offline / has tab closed - fixed
open order not disappearing from open orders if a user exits after getting bell alert filled but before UI removes the open order - fixed
self trade fill not working right in UI, UI says failed but really succeeded - goes through for me


lint fix: add missing semicolon

@mnibecker (the outrigger equivalent was done here https://github.com/juttle/outrigger/pull/34)

+1


Tools and Equipment

Part 1
Share link to personal Fastpages / GitHub pages running on github.io: https://vunsh.github.io/blogging
Share link to a new page (_posts) in your Fastpages project show use of Markdown
Share link to Python Jupyter notebook (_notebooks) showing usage of Python: print (“Hello”)
Share link to Java Jupyter notebook (_notebooks) showing usage of Java: System.out.println(“Hello”)
Capture image/screen capture of Fastpages project:

Share link showing your GitHub insights. This is your personal activity of commit history.
Part 2
Screen Capture Java project running on personal laptop localhost:<IP_ADDRESS>:8080

Share link of GitHub code commit Java on project

Test

test

test

test


Update use.md

Grammatical Errors

I made some changes regarding some grammatical errors. Please have a look at those errors.

Thanks


RDS Cluster needs KMS ARN instead of KMS Key ID

What happened?

In a composition which contains a KMS key and an RDS cluster I expected to be able to use the kmsKeyIdSelector key of the RDS cluster to properly match the KMS key in the composition. Unfortunately the query used seems to fetch the KMS Key ID instead of the ARN. I suspect the issue si somewhere around https://github.com/upbound/provider-aws/blob/main/apis/rds/v1beta1/zz_cluster_types.go#L441 but I lack sufficient understanding of how the provider code works at the moment to provide a solution.
How can we reproduce it?

Create a composition with a KMS key and and RDS cluster
In the RDS cluster set the following for spec.forProvider:

kmsKeyIdSelector:
  matchControllerRef: true

Instantiate a claim for that composition and see this error in the cluster status:
observe failed: cannot run refresh: refresh failed: "kms_key_id" (mrk-4847128a609f4ba981df90ecfff90907) is an invalid ARN: arn: invalid prefix:

Complete resource example:
    - name: kms-key
      base:
        apiVersion: kms.aws.upbound.io/v1beta1
        kind: Key
        spec:
          forProvider:
            deletionWindowInDays: 7
            multiRegion: true
          providerConfigRef:
            name: provider-aws-upbound-kms
      patches:
        - type: PatchSet
          patchSetName: location
        - type: FromCompositeFieldPath
          fromFieldPath: spec.claimRef.name
          toFieldPath: metadata.annotations[crossplane.io/external-name]
          transforms:
            - type: string
              string:
                type: Format
                fmt: "%s-key"
      base:
        apiVersion: rds.aws.upbound.io/v1beta1
        kind: Cluster
        spec:
          forProvider:
            allowMajorVersionUpgrade: true
            applyImmediately: true
            kmsKeyIdSelector:
              matchControllerRef: true
            storageEncrypted: true
            masterUsername: root
            manageMasterUserPassword: true
            masterUserSecretKmsKeyIdSelector:
              matchControllerRef: true
            skipFinalSnapshot: true
            dbSubnetGroupNameSelector:
              matchControllerRef: true
            vpcSecurityGroupIds:
              - sg-0a6dee57df5ea8255
          providerConfigRef:
            name: provider-aws-upbound-rds
      patches:
        - type: PatchSet
          patchSetName: location
        - type: PatchSet
          patchSetName: engine
        - type: PatchSet
          patchSetName: engineVersion
        - type: FromCompositeFieldPath
          fromFieldPath: spec.claimRef.name
          toFieldPath: metadata.annotations[crossplane.io/external-name]
        - type: FromCompositeFieldPath
          fromFieldPath: spec.claimRef.name
          toFieldPath: spec.forProvider.dbClusterParameterGroupName
          transforms:
            - type: string
              string:
                type: Format
                fmt: "%s-cluster-parameter-group"
        - type: FromCompositeFieldPath
          fromFieldPath: spec.claimRef.name
          toFieldPath: spec.forProvider.dbInstanceParameterGroupName
          transforms:
            - type: string
              string:
                type: Format
                fmt: "%s-db-parameter-group"

What environment did it happen in?

Crossplane Version: 1.13.2
Provider Version: 0.40
Kubernetes Version:

Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.26.7-eks-2d98532

Kubernetes Distribution:

EKS 1.26.7

To switch from kms ids to ARNs, the change will be in https://github.com/upbound/provider-aws/blob/main/config/rds/config.go, updating the other kms key references to use the ARN extractor like on line 103, instead of the default, which probably just gets the key id, then running make generate.
Honestly we should probably do this for all kms key references. If the key is in the same account, generally the id works just as well as the ARN. But if you're referencing a key in a different account using just the id, AWS tries to find a key with that id in your account and fails.
If nobody else beats me to it, I could probably do this next week. But I'm also happy for someone else to take it.
But I don't think that's actually the issue here. I'm suspicious of your patch to the external name annotation. I think that might be somehow setting the id of the key to something other than what AWS uses. mrk-1234567890abcedf1234567890abcdef is not how I remember kms key ids being formatted.

@mbbush I tried to remove the external name but I have the same issue. Here is a kubectl describe of the key and the cluster:
key
Name:         cristi-test-89j2v-gf2xh
Namespace:
Labels:       crossplane.io/claim-name=cristi-test
              crossplane.io/claim-namespace=sandbox
              crossplane.io/composite=cristi-test-89j2v
Annotations:  crossplane.io/composition-resource-name: kms-key
              crossplane.io/external-create-succeeded: 2023-10-02T11:25:48Z
              crossplane.io/external-name: mrk-b65b8bb7943e4b92a1b5c5be4f654cf6
              upjet.crossplane.io/provider-meta: null
API Version:  kms.aws.upbound.io/v1beta1
Kind:         Key
Metadata:
  Creation Timestamp:  2023-10-02T11:25:45Z
  Finalizers:
    finalizer.managedresource.crossplane.io
  Generate Name:  cristi-test-89j2v-
  Generation:     3
  Owner References:
    API Version:           fm-tech.net/v1alpha1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  XDBCluster
    Name:                  cristi-test-89j2v
    UID:                   8d703fdb-93be-4559-af4e-47f58186edee
  Resource Version:        176766382
  UID:                     a59289c4-4987-4d77-b6ad-9bdb14bbd1d5
Spec:
  Deletion Policy:  Delete
  For Provider:
    Customer Master Key Spec:  SYMMETRIC_DEFAULT
    Deletion Window In Days:   7
    Is Enabled:                true
    Key Usage:                 ENCRYPT_DECRYPT
    Multi Region:              true
    Policy:                    {"Id":"key-default-1","Statement":[{"Action":"kms:*","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::027159582536:root"},"Resource":"*","Sid":"Enable IAM User Permissions"}],"Version":"2012-10-17"}
    Region:                    eu-west-1
    Tags:
      Crossplane - Kind:            key.kms.aws.upbound.io
      Crossplane - Name:            cristi-test-89j2v-gf2xh
      Crossplane - Providerconfig:  provider-aws-upbound-kms
  Init Provider:
  Management Policies:
    *
  Provider Config Ref:
    Name:  provider-aws-upbound-kms
Status:
  At Provider:
    Arn:                                 arn:aws:kms:eu-west-1:027159582536:key/mrk-b65b8bb7943e4b92a1b5c5be4f654cf6
    Bypass Policy Lockout Safety Check:  false
    Custom Key Store Id:
    Customer Master Key Spec:            SYMMETRIC_DEFAULT
    Deletion Window In Days:             7
    Description:
    Enable Key Rotation:                 false
    Id:                                  mrk-b65b8bb7943e4b92a1b5c5be4f654cf6
    Is Enabled:                          true
    Key Id:                              mrk-b65b8bb7943e4b92a1b5c5be4f654cf6
    Key Usage:                           ENCRYPT_DECRYPT
    Multi Region:                        true
    Policy:                              {"Id":"key-default-1","Statement":[{"Action":"kms:*","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::027159582536:root"},"Resource":"*","Sid":"Enable IAM User Permissions"}],"Version":"2012-10-17"}
    Tags:
      Crossplane - Kind:            key.kms.aws.upbound.io
      Crossplane - Name:            cristi-test-89j2v-gf2xh
      Crossplane - Providerconfig:  provider-aws-upbound-kms
    Tags All:
      Crossplane - Kind:            key.kms.aws.upbound.io
      Crossplane - Name:            cristi-test-89j2v-gf2xh
      Crossplane - Providerconfig:  provider-aws-upbound-kms
  Conditions:
    Last Transition Time:  2023-10-02T11:26:10Z
    Reason:                Available
    Status:                True
    Type:                  Ready
    Last Transition Time:  2023-10-02T11:25:48Z
    Reason:                ReconcileSuccess
    Status:                True
    Type:                  Synced
    Last Transition Time:  2023-10-02T11:25:54Z
    Reason:                Success
    Status:                True
    Type:                  LastAsyncOperation
    Last Transition Time:  2023-10-02T11:25:54Z
    Reason:                Finished
    Status:                True
    Type:                  AsyncOperation
Events:
  Type     Reason                           Age    From                                          Message
  ----     ------                           ----   ----                                          -------
  Normal   CreatedExternalResource          4m44s  managed/kms.aws.upbound.io/v1beta1, kind=key  Successfully requested creation of external resource
  Warning  CannotInitializeManagedResource  4m44s  managed/kms.aws.upbound.io/v1beta1, kind=key  Operation cannot be fulfilled on keys.kms.aws.upbound.io "cristi-test-89j2v-gf2xh": the object has been modified; please apply your changes to the latest version and try again
  Warning  CannotUpdateManagedResource      4m36s  managed/kms.aws.upbound.io/v1beta1, kind=key  Operation cannot be fulfilled on keys.kms.aws.upbound.io "cristi-test-89j2v-gf2xh": the object has been modified; please apply your changes to the latest version and try again

cluster
Name:         cristi-test-89j2v-hcsh9
Namespace:
Labels:       crossplane.io/claim-name=cristi-test
              crossplane.io/claim-namespace=sandbox
              crossplane.io/composite=cristi-test-89j2v
Annotations:  crossplane.io/composition-resource-name: db-cluster
              crossplane.io/external-name: cristi-test
API Version:  rds.aws.upbound.io/v1beta1
Kind:         Cluster
Metadata:
  Creation Timestamp:  2023-10-02T11:25:45Z
  Generate Name:       cristi-test-89j2v-
  Generation:          3
  Owner References:
    API Version:           fm-tech.net/v1alpha1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  XDBCluster
    Name:                  cristi-test-89j2v
    UID:                   8d703fdb-93be-4559-af4e-47f58186edee
  Resource Version:        176766564
  UID:                     6dfbc135-9c66-4b72-abd2-791b17cac23d
Spec:
  Deletion Policy:  Delete
  For Provider:
    Allow Major Version Upgrade:       true
    Apply Immediately:                 true
    Db Cluster Parameter Group Name:   cristi-test-cluster-parameter-group
    Db Instance Parameter Group Name:  cristi-test-db-parameter-group
    Db Subnet Group Name:              cristi-test-subnet-group
    Db Subnet Group Name Ref:
      Name:  cristi-test-89j2v-f4cnm
    Db Subnet Group Name Selector:
      Match Controller Ref:  true
    Engine:                  aurora-postgresql
    Engine Version:          15.2
    Kms Key Id:              mrk-b65b8bb7943e4b92a1b5c5be4f654cf6
    Kms Key Id Ref:
      Name:  cristi-test-89j2v-gf2xh
    Kms Key Id Selector:
      Match Controller Ref:  true
    Master Password Secret Ref:
      Key:                password
      Name:               master-password
      Namespace:          sandbox
    Master Username:      root
    Region:               eu-west-1
    Skip Final Snapshot:  true
    Storage Type:
    Tags:
      Crossplane - Kind:            cluster.rds.aws.upbound.io
      Crossplane - Name:            cristi-test-89j2v-hcsh9
      Crossplane - Providerconfig:  provider-aws-upbound-rds
    Vpc Security Group Ids:
      sg-0a6dee57df5ea8255
  Init Provider:
  Management Policies:
    *
  Provider Config Ref:
    Name:  provider-aws-upbound-rds
  Write Connection Secret To Ref:
    Name:       cristi-test-connection-secret
    Namespace:  sandbox
Status:
  At Provider:
  Conditions:
    Last Transition Time:  2023-10-02T11:26:15Z
    Message:               observe failed: cannot run refresh: refresh failed: "kms_key_id" (mrk-b65b8bb7943e4b92a1b5c5be4f654cf6) is an invalid ARN: arn: invalid prefix:
    Reason:                ReconcileError
    Status:                False
    Type:                  Synced
Events:
  Type     Reason                           Age                   From                                              Message
  ----     ------                           ----                  ----                                              -------
  Warning  CannotInitializeManagedResource  5m15s                 managed/rds.aws.upbound.io/v1beta1, kind=cluster  Operation cannot be fulfilled on clusters.rds.aws.upbound.io "cristi-test-89j2v-hcsh9": the object has been modified; please apply your changes to the latest version and try again
  Warning  CannotResolveResourceReferences  5m2s (x4 over 5m15s)  managed/rds.aws.upbound.io/v1beta1, kind=cluster  cannot resolve references: mg.Spec.ForProvider.KMSKeyID: referenced field was empty (referenced resource may not yet be ready)
  Warning  CannotObserveExternalResource    7s (x7 over 4m45s)    managed/rds.aws.upbound.io/v1beta1, kind=cluster  cannot run refresh: refresh failed: "kms_key_id" (mrk-b65b8bb7943e4b92a1b5c5be4f654cf6) is an invalid ARN: arn: invalid prefix:

oh, the mrk-... id format is for multi region keys.
This is just a bug. The terraform provider docs for aws_rds_cluster.kms_key_id specify that it should be the ARN (despite being named _id grumble grumble).
I'll see if I can open a PR to fix this.

@cristicalin Can you please validate that if you edit the Cluster.rds managed resource to remove the kmsKeyIdSelector and kmsKeyRef, and specify the output of status.atProvider.arn from the Key.kms managed resource in spec.forProvider.kmsKeyId, the db cluster becomes ready and works properly?

@mbbush I already tested the workaround after @haarchri recommended it on slack https://crossplane.slack.com/archives/C01718T2476/p1695650328337859 and it works but that doesn't look like the proper solution to this problem


Add a method to create and clean up a temporary directory to the standard library

Discussion
What aspect of the language would you like to see improved?
A method should be added to the standard library which allows users to create and clean up a temporary directory.
It should have the ability to not only create a temporary directory but also expose a temporary directory in a block and then clean up that directory when the block scope ends.
What are the reasons?
There have been attempts in the past to add a method that creates and cleans up temporary directories. This shows that users of other programming languages expect to find this functionality in the standard library.
Previous PRs:

https://github.com/crystal-lang/crystal/pull/2911
https://github.com/crystal-lang/crystal/pull/4096

I was personally looking to diff two directories and being able to create temporary directories in that scenario would be useful.
Building a naive solution for this is not difficult (see https://github.com/crystal-lang/crystal/pull/4096#issuecomment-753679477) but it'd be great to have a more robust solution that users can use without having to worry about the implementation.
Optionally add one (or more) proposals to improve the current situation.

Add Dir.mktempdir method and recursive option to Dir.delete

As far as I can tell, the main reason that the other PRs and discussions stalled out was that there was disagreement over how tightly coupled the Dir, File and FileUtils modules should be. Specifically there were concerns raised about using FileUtils in either Dir or File.
One of the proposals that got buried in the discussion was to add new functionality to the Dir module so that it wouldn't have to rely on FileUtils anymore to remove a temporary directory at the end of a block. Adding a new Dir.delete(directory, recursive = false) method would help solve these problems because we would be able to avoid using FileUtils.rm_r.
I believe that the change to Dir.delete change was first proposed by @ysbaddaden in https://github.com/crystal-lang/crystal/issues/5231#issuecomment-343418239.
Proposed Changes:

Add Dir.mktempdir
Update Dir.delete(dir) to Dir.delete(dir, recursive = false)

Potential Follow-ups:

Update FileUtils.rm_r and FileUtils.rm_rf to use Dir.delete(dir, recursive = true

Add FileUtils.mktemp_d

The advantage here is that we don't have to worry about this method sharing code with FileUtils though it does mean it's not exactly where people would expect it to be. It also acknowledges that this command does multiple things including deleting files which might not be what you expect to find in the Dir module.
It seems like there is disagreement about whether adding new methods to FileUtils is even a good idea in the first place so this might be controversial.
Proposed Changes:

Add FileUtils.mktemp_d

Related Links

https://github.com/crystal-lang/crystal/issues/5231
https://github.com/crystal-lang/crystal/pull/2911
https://github.com/crystal-lang/crystal/pull/4096

Sounds good. I think it makes a lot of sense to have a Dir method for recursive deletion.

Nitpick for the future: on Unix systems this should call the system's mkdtemp(3) rather than making up its own names like the current File.tempfile does, if possible.  (There's equivalents on Windows but idk what they're called.)  Otherwise you can have race condition attacks where something nefarious makes the directory for you and then has access to the stuff you put in it.


Can't build app

Describe the bug
Npm says that the .cargo-lock is partially locked by another process, although there are no processes with the file in use. I've also tried deleting the file.
To Reproduce
Steps to reproduce the behavior:

enter 'npm run build'
The error occurs at 197/199

Expected behavior
Tauri should be succesfully compiled and it should continue with the build.
Error Code
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Users\\Saxon Brooker\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'run',
npm verb cli   'tauri',
npm verb cli   'build',
npm verb cli   '-Z',
npm verb cli   'macro-backtrace',
npm verb cli   '--verbose'
npm verb cli ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb run-script [ 'pretauri', 'tauri', 'posttauri' ]
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
><EMAIL_ADDRESS>tauri C:\Users\Saxon Brooker\Documents\electron\saxobroko
> tauri "build" "macro-backtrace"

[tauri]: running build
 app:spawn Running "cargo tauri-bundler --features embedded-server --release" +0ms

   Compiling saxobroko v0.1.0 (C:\Users\Saxon Brooker\Documents\electron\saxobroko\src-tauri)
   Compiling tauri v0.9.1
error: couldn't read C:/Users/Saxon Brooker/Documents/electron/saxobroko/src-tauri/target/release/.cargo-lock: The process cannot access the file because another process has locked a portion of the file. (os error 33)
     --> C:\Users\Saxon Brooker\Documents\electron\saxobroko\src-tauri\target\release\build\tauri-1207208a8ac84fc3\out/data.rs:75774:142
      |
75774 | ...ession::None, include_bytes!("C:/Users/Saxon Brooker/Documents/electron/saxobroko/src-tauri/target/release/.cargo-lock") as &'static [...
      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

 app:tauri Shutting down tauri process... +11m=====================> ] 197/199: tauri

Platform and Versions (please complete the following information):

OS:  Windows_NT(10.0.19041) - win32/x64
Node: 14.5.0
NPM: 6.14.7
Yarn: 1.22.4
Rustc: 1.47.0-nightly
Additional context
I'm trying to convert from electron

The error message says that another process has locked that file. Restarting your computer should fix the problem.

Restarting did not solve the issue

Do you have RLS or Rust Analyzer running?

Try removing the target directory then rebuilding.

This error occurs with some different files.
error: couldn't read C:/Users/Saxon Brooker/Documents/electron/saxobroko/src-tauri/target/release/deps/sysinfo-4a87a90655087ce6.sysinfo.5kg5tej0-cgu.5.rcgu.o: The system cannot find the file specified. (os error 2)
     --> C:\Users\Saxon Brooker\Documents\electron\saxobroko\src-tauri\target\release\build\tauri-1207208a8ac84fc3\out/data.rs:42847:190
      |
42847 | ...e, include_bytes!("C:/Users/Saxon Brooker/Documents/electron/saxobroko/src-tauri/target/release/deps/sysinfo-4a87a90655087ce6.sysinfo.5kg5tej0-cgu.5.rcgu.o") as...
      |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

    Building [=====================================================> ] 197/199: tauri

Just to rule it out, would you mind testing on stable rust? (not nightly)

Since this issue is so old and we haven't seen any new reports nor have we been able to reproduce it ourselfs, I'm going to close it.

I'm having a similar issue with:
Tauri: cargo-tauri 1.0.5
OS: Windows 11 Pro (10.0.22000) x64
Rustc: 1.62.1
Also tried with node and got the same:
Node: 16.16.0
NPM: 8.11.0
Info Watching C:\Users\galla\Desktop\kansel\kansel-app\src-tauri for changes...
Compiling app v0.1.0 (C:\Users\galla\Desktop\kansel\kansel-app\src-tauri)
error: failed to read asset at C:\Users\galla\Desktop\kansel\kansel-app\src-tauri\.\target\debug\.cargo-lock
because The process cannot access the file because another process has locked a portion of the file. (os error 33)
 --> src\main.rs:8:10
  |
8 |     .run(tauri::generate_context!())
  |          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `tauri::generate_context` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `app` due to previous error```

I use VS Code but I don't have rust-analyzer and restarting/deleting .cargo-lock didn't solve it.
I was following [this](https://tauri.app/v1/guides/getting-started/setup/) guide from tauri.app

nvm, it was the same issue as the one on #4723 so using absolute paths solved it.


Close hamburger menu

I cannot see close button when I opened the hamburger menu. It is uncomfortable to use.

This is part of material design, and due to that, as well as simplicity reasons, it isn't necessary to add a close button. Click outside of the navigation drawer, or press the Q key on your keyboard, which toggles it between open and closed.


Change DragPreview opacity

Hi. Thank u for awesome solution. I would like to change an opacity of drag preview. It's dim by default. I read similar issues but there was mostly custom things like getting actual state for item in drag. I only wish to change opacity. I suppose it is dim cuz of some style's opacity. So, maybe it will be easy to change styles of preview image?

The browser is what is setting the lower opacity, so we can't override that unfortunately. One workaround would be to use a custom DragLayer, which lets you customize the look of the drag preview 100%.

thanks

as i am facing opacity issue in windows while dragging the item in react-dnd any soultion ?


Pin pytorch-lightning<1.2

What does this PR do?
This PR pins the latest version of PL <1.2 to avoid the following errors.
Description of errors with pytorch-lighting>=1.2
On the current master, the following tests:
test_logistic_regression_model
test_cli_run_log_regression[--max_epochs 1 --max_steps 2]
test_cli_run_self_supervised_simclr[--data_dir /home/runner/work/pytorch-lightning-bolts/pytorch-lightning-bolts/datasets --gpus 0 --fp32 --max_epochs 1 --max_steps 3 --fast_dev_run 1 --batch_size 2 --online_ft]
test_cli_run_self_supervised_byol[ --data_dir /home/runner/work/pytorch-lightning-bolts/pytorch-lightning-bolts/datasets --max_epochs 1 --max_steps 3 --fast_dev_run 1 --batch_size 2 --num_workers 0 --online_ft]
test_cli_run_self_supervised_simsiam[ --dataset cifar10 --data_dir /home/runner/work/pytorch-lightning-bolts/pytorch-lightning-bolts/datasets --max_epochs 1 --max_steps 3 --fast_dev_run 1 --batch_size 2 --num_workers 0 --online_ft --gpus 0 --fp32]

fail with the error:
ValueError: The `preds` should be probabilities, but values were detected outside of [0,1] range.

(Found while fixing ssl tests in https://github.com/PyTorchLightning/pytorch-lightning-bolts/pull/541/.)
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[x] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Failing due to the same error only on latest:
ubuntu-20.04, 3.6, latest
ubuntu-20.04, 3.8, latest
macOS-10.15, 3.6, latest
macOS-10.15, 3.8, latest

Failing due to the same error only on latest:
ubuntu-20.04, 3.6, latest
ubuntu-20.04, 3.8, latest
macOS-10.15, 3.6, latest
macOS-10.15, 3.8, latest

This change has also been merged in #541.

This change has also been merged in #541.


Prevent selecting unselectable EditorProperty with RMB

Fixes #75126

Thanks!

Cherry-picked for 4.0.4.


Create a Contact Component

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Contact/contact-3.html.
If you need to use any icon please use it from Hero Icons
Good luck.

@Rajdip019 assign me this I have almost done code for this component..


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

turmeric as far as I know is no longer maintained by Ebay that I'm aware.  So I doubt I ever update this.  Thanks for the info though.

Thanks for the patch update.  Turmeric isn't actively maintained any more so I doubt that it will ever be updated.  I did merge the pull request just in case anybody was using turmeric-bot.

Thanks.  Even if no one is using it actively, better safe than sorry. :)


Display something when no longer a member

I am not a member. But it was hard for me to know that I was not a member anymore.

The account status is displayed on the wallets tab. Isn't it enough ?

Where?

Your last membership document expired on July the 13th, but yeah, something more obvious should be displayed.


PageViewport no longer accessible

Link to PDF file here:
https://github.com/ElModdy/public-resources/blob/main/algebra.pdf
Configuration:

Web browser and its version: Google Chrome 84.0.4147.89
Operating system and its version: Arch Linux
PDF.js version: latest
Is a browser extension: no

What I would like to do
I would like to render only a portion of the pdf and from this tutorial seems like it was possible in older version.
What went wrong
My problem is that PageViewport is no longer accessible from pdfjsLib

PDF.js version: latest

For future reference: Please remember to provide an actual version number, since "latest" isn't entirely clear. (E.g. do you mean the latest stable release, the latest beta release, the master-branch, or something else.)

I would like to render only a portion of the pdf and from this tutorial seems like it was possible in older version.

First of all, please keep in mind that that example is not an official one, which means that there's no guarantee that it ever illustrated best practices. Secondly, that example is really old (from 2014 apparently) and the PDF.js code-base has changed quite a bit since then.

My problem is that PageViewport is no longer accessible from pdfjsLib

Please note that PageViewport was never purposely exposed in the official API, but it was rather an artifact of the old build system.
The correct way to obtain a PageViewport-instance is by calling the PDFPageProxy.getViewport method, which takes a number of parameters that allows you to customize the effective viewport; please see:
https://github.com/mozilla/pdf.js/blob/3787bd41ef861c8c00ebd987241e6cc89708aa5f/src/display/api.js#L1100-L1120
and
https://github.com/mozilla/pdf.js/blob/3787bd41ef861c8c00ebd987241e6cc89708aa5f/src/display/api.js#L935-L948

Thank you !

I still haven't figured out how to solve the problem.
I am a beginner so I apologize for any errors.
That's what I've tried:
SOLUTION 1
index.html
<!DOCTYPE html>
<html>
<body>
  <canvas id="the-canvas"></canvas>
  <script src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
  <script>
    console.log(pdfjsLib.PDFPageProxy)  //undefined
    console.log(PDFPageProxy)  //undefined
  </script>
</body>
</html>

Problem: Returns undefined
SOLUTION 2 ( Typescript + webpack )
import { PDFPageProxy } from 'pdfjs-dist';

PDFPageProxy.getViewport()

Problem: Returns this error: 'PDFPageProxy' only refers to a type, but is being used as a value here..
It seems like PDFPageProxy is an interface but how can I call a function on an interface?

Please refer to the official examples, see e.g. https://mozilla.github.io/pdf.js/examples/ and https://github.com/mozilla/pdf.js/tree/master/examples/
Furthermore, since this is first and foremost a bug tracker, please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.


Addition of an AsyncPipeline than consumes a normal pipeline, and gen…

…erator as a data source, and provides and async generator for the pipeline output

@Baileymnm1999 I am merging your contribution to a fork here. Will that be alright with you?

Sounds fine to me, tbh this was a while ago and I forget my use case or even writing this. I am interested though, what prompted this MR? Was there a need for this functionality?

@Baileymnm1999 I just started yesterday working with mpipe. I am building a realtime pipeline (infinite life) say pipeline X with camera reader as first stage so there is no need to put data in pipeline.
I can customize https://vmlaker.github.io/mpipe/examples2.html#handling-many-tasks for my needs. A single stage pipeline with never ending loop to insert message into another pipeline to keep collecting camera but I would rather extend using your approach which is far more generic and cleaner.


Top level links

Support creation of the top level links hash.
I think this should be done in the setup of the request object and provided to the serializer in the initializer. Otherwise the serializer will require full knowledge of the request in order to create the proper links.
Links should include a full query string, including filter, sort, and `page parameters.

@lgebhardt I decided to start implementing this and I found this branch https://github.com/cerebris/jsonapi-resources/tree/toplevel_links. So I have a question: do you continue to implement top-level links or I can help with something?

I think that branch is likely to be very out of date, and it would be better to just start again. Feel free to look at the branch, but if I remember I didn't get very far on it, and the spec has completely changed regarding top level links.

any status on this?

@mmartinson sorry to say I haven't done any work on this one yet (well since the very out of date branch listed above).

It's something I might look into for my own project. If I was going to write something that might make it for a PR, is there are starting point for this that you have considered. Or any approaches that you have ruled out?

A few thoughts:

A configuration option for whether to support top level links globally
Maybe a config option to determine which of the optional links to produce. I'd rather just have it all or nothing to start. But if there's a good reason I'm open to making them configurable.
The serializer should have options for any info it needs to construct the related links. It may already have all it needs with the @base_url option and access to the configuration.
Constructing the self and pagination links is going to be where I see most of the work. I think if the serializer is provided with the fields, include, and page parameters from the request it should be straight forward.
We can add some methods on the Paginators to help with the link building based on the current params.

This is as far as I've really thought about it. I'm sure I'm missing some stuff that will be obvious once we start coding this. If you wish to produce a PR to handle this it would be very much appreciated. I'd also be glad to collaborate on it.
There will probably be a bit of overlap with populating the meta sections with pagination data. We should consider #126 as we design this.

What's everyone thinking now about pagination links in the top level links object? There are a couple of issues that reference it, but it doesn't look like any PRs are merged. Can we organize an effort to get these in?

+1 for optional top level links

As I said in #126 we hope to add top level links in a similar manner to the way top level meta is now implemented. This will probably be the next feature I work on.

Am I wrong or has this been fixed in 0.4.1 ?

The paginators do output top level links now. I don't have any guidance for using them with ember-data. Hopefully someone else can chime in.

Ember data does not currently support JSON API pagination links. You can see progress here as "Sugar for pagination" https://github.com/emberjs/data/issues/2905

Closing as links were added a while ago

As of 0.10.2 I do not see a top level "links" object, nor a way to configure one to be included. This is not regarding any kind of meta or pagination information, just the basic, default top level "links" that is shown here https://jsonapi.org/format/#fetching-resources-responses-200
{
  "links": {
    "self": "http://example.com/articles"
  },
  "data": []
}


How to remove image before in canvas inside modal ?

i write in stackoverflow
here is the detail...
https://stackoverflow.com/questions/58212098/how-to-remove-image-on-canvas-cropper-when-you-want-change-the-image
https://youtu.be/8-dgUahd5sM
video ^

Maybe you are binding these events too many times. Try to use $().once() instead of $().on().


absl/numeric/int128_have_intrinsic.inc: No such file or directory

Current tf-nightly-gpu fails to compile with CUDA-aware custom ops like this:
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
    In file included from /usr/local/lib/python2.7/dist-packages/tensorflow/include/absl/strings/numbers.h:37:0,
                     from /usr/local/lib/python2.7/dist-packages/tensorflow/include/absl/strings/str_cat.h:62,
                     from /usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/stream_executor/lib/strcat.h:21,
                     from /usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/stream_executor/launch_dim.h:40,
                     from /usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/stream_executor/stream.h:36,
                     from horovod/tensorflow/mpi_ops.cc:29:
    /usr/local/lib/python2.7/dist-packages/tensorflow/include/absl/numeric/int128.h:698:50: fatal error: absl/numeric/int128_have_intrinsic.inc: No such file or directory
     #include "absl/numeric/int128_have_intrinsic.inc"
                                                      ^
    compilation terminated.

cc @yuefengz

@annarev Do you know how to fix this?

apparently it just needs an empty file: https://github.com/abseil/abseil-cpp/blob/master/absl/numeric/int128_have_intrinsic.inc

PR #22719 fixes this

apparently it just needs an empty file: https://github.com/abseil/abseil-cpp/blob/master/absl/numeric/int128_have_intrinsic.inc

This did not work for me.


lalinference v1.11.7

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The build section contained an unexpected subsection name. error_overdepending is not a valid subsection name.
The build section contained an unexpected subsection name. error_overlinking is not a valid subsection name.

@skymoo, are there any dependency changes in this release?

Have read through the release request ticket, no dependency changes


In dev: support PlutusIR type synonyms

Validators in PlutusIR turn out to make use of type synonyms.
https://github.com/tweag/pirouette/blob/dev/src/Language/Pirouette/PlutusIR/ToTerm.hs#L205
Handling those is necessary to progress on #88.

Closed by #103


ndt_matching  process died ~

Fill-out only one section depending on whether you are reporting a bug or a new feature.
ndt.align 1100 col   process died
if run  "ndt.align(*output_cloud2, init_guess)"
Bug
Expected Behavior
Actual Behavior
ndt_matching: /usr/include/eigen3/Eigen/src/Core/products/CoeffBasedProduct.h:430: static void Eigen::internal::product_packet_impl<0, -1, Lhs, Rhs, Packet, LoadMode>::run(Eigen::internal::product_packet_impl<0, -1, Lhs, Rhs, Packet, LoadMode>::Index, Eigen::internal::product_packet_impl<0, -1, Lhs, Rhs, Packet, LoadMode>::Index, const Lhs&, const Rhs&, Packet&) [with Lhs = Eigen::Block<const Eigen::Matrix<double, 6, 6>, 6, -1, true>; Rhs = Eigen::Matrix<double, -1, 1, 0, 6, 1>; Packet = __vector(2) double; int LoadMode = 1; Eigen::internal::product_packet_impl<0, -1, Lhs, Rhs, Packet, LoadMode>::Index = long int]: Assertion `lhs.cols()>0 && "you are using a non initialized matrix"' failed.
Aborted (core dumped)
Steps to Reproduce the Problem

Specifications

Ubuntu version:  14.04
ROS Version:  indigo
Autoware branch: ndt_matching.cpp

New Feature
Describe where does new feature request come from. Add high-level picture of how the new feature should work.

i solved the problem:    catkin_make -DCMAKE_BUILD_TYPE=Release

Hi,
I am also experiencing the same error but I build it with [catkin_make -DCMAKE_BUILD_TYPE=Debug]. Is there any way to make this work on a DEBUG build? I just want to understand the code.
Thanks.


Adding Workflow for GitHub Team Linting

Overview/Summary
This PR includes PowerShell modules and Workflows to automate issue creation for GitHub Teams. The logic uses the following flow:

Examples

Pipeline

Example Issue

https://github.com/Azure/GHPolicyTest/issues/95

As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[x] Checked for duplicate Pull Requests
[ ] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Ensured PR tests are passing
[x] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

@ChrisSidebotham do you have permissions to add secrets to this repo as they'll be required 👍

@ChrisSidebotham do you have permissions to add secrets to this repo as they'll be required 👍

Yep it appears so :) and will need to add those before the scheduled run of the workflow (10AM) each day. I already named them appropriately so we do not get any clashes. Once we are utilising the Application, I will transfer ownership to the Azure Org where we can assign the core team or likewise

Another question I'd have is if in case of the Terraform repos we're checking whether the -owners- and -contributors- teams have been added with the necessary permissions as documented in SNFR20? Are we planning to implement this in vNext?

Another question I'd have is if in case of the Terraform repos we're checking whether the -owners- and -contributors- teams have been added with the necessary permissions as documented in SNFR20? Are we planning to implement this in vNext?

Feature added (Already had some development work in progress) vNext will include:

Interaction & validation from CODEOWNERS file in BRM


Updated TeamViewer.TeamViewerHost to version 15.20.6

PS C:\Users\WDAGUtilityAccount\Desktop\manifests> winget install -m "C:\Users\WDAGUtilityAccount\Desktop\manifests\t\TeamViewer\TeamViewerHost\15.20.3"
Found TeamViewer Host [TeamViewer.TeamViewerHost]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.teamviewer.com/download/version_15x/TeamViewer_Host_Setup.exe
  ██████████████████████████████  19.4 MB / 19.4 MB
Successfully verified installer hash
Starting package install...
Successfully installed

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

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

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

Microsoft Reviewers: Open in CodeFlow

You really don't like TeamViewer do ya :p

@ryfu-msft

This bot is a real comedy show :D

I am even more confused now, @vedantmgoyal2009 have also approved PRs minutes after i did and it moved along...


Traces in a rolled-over index are unable to be hotlinked via /trace/{id}

Describe the bug

Search a trace in your 'history' that should be in an index that is in a rollover'd index.
You are able to find this via the search and click on it. This gives a working view of your trace at /trace/{your-id}
Open a new tab
Insert the link
You get a 404 when directly going to the //trace/{your-id} page

When using a trace that is 'fresh' i.e. has not been in a rollover index, the /trace/{your-id} works.
Expected behavior
Directly 'hotlinking' to any /trace/{your-id} should work. Regardless if this lives in a roll-over'd index.
Version (please complete the following information):

Jaeger version: 1.21

What troubleshooting steps did you try?
So many things, but your own tracing and debug lvls are empty.
Additional context
I'm aware of other issues before, I have searched them. The key difference here is:

We can find the traces via search. It's merely based on the direct link to /trace/{your-id}

I think, but I got no evidence for this, that the direct page on /trace/{your-id} does not account for the flag es.use-aliases

Without knowing your storage configuration it's impossible to understand whether this is a bug or misconfiguration. Could you please share all jaeger flags and rollover script configuration?

We are using Elasticsearch as storage. The flags regarding es.use-alias are implemented over all the components. We use jobs for rollovers and clean up. These come from Jaeger itself.
Basically nothing special, rollover on size.
I'm open to share more tomorrow but I'm somewhat confident that this ain't a misconfiguration as everything works fine. Traces can be found/searched for. It's merely not working for specific traces that are "older".
This gives an 404 when using the URL directly. Even though these can be found in ES. When just searching by date, these traces can be accessed. Again, this behavior is only for "older" traces.
Stats wise, we ingest about 350 billion spans per month. Or for the sane European, that's 350 miljard.

The real configuration values would help here, but if you don't want to share that is fine.
Setting --es.max-span-age to match rollover's "lookback" (https://github.com/jaegertracing/jaeger/blob/7636530bbfe36fdd9f8e50f71cc8307787851056/plugin/storage/es/esRollover.py#L54) should solve your issue.

Welp, this is awkward. That indeed fixed it. I still don't really understand how one could get a trace from the search UI part, but not from the URL. Anyhow, thank you so much!

Let's keep this open and improve docs so the other people don't run into the same issue.
Where did you learn how to configure rollover? In the initial setup did you configure --es.max-span-age?

I'm using the helm chart, but we've edited this quite some bit so this is not perse in line with upstream anymore.
So we use that rollover feature there: https://github.com/jaegertracing/helm-charts/blob/main/charts/jaeger/values.yaml#L577
but instead of days, we use
    - name: CONDITIONS
      value: '{"max_size": "75gb"}'

And basically this works like a charm and you can also see your traces via the search (also on rollover'd indexes).

I still don't really understand how one could get a trace from the search UI part, but not from the URL

@wiardvanrij I think this is a good question and I'll attempt (because I didn't understand myself until looking over the code just now) to explain why this behaviour is the way it is. Feel free to correct me if I'm wrong @pavolloffay.

Searching for traces uses the search UI's lookback time for both Trace ID discovery and fetching spans for that trace ID.

Getting a trace by ID limits the index being searched to just the read alias and the corresponding span search to start from now - max-span-age.

If you're executing the lookback action as per the docs and the max-span-age doesn't match, it may mean that some spans were evicted from the read alias, causing the search by TraceID to fail because it's looking only at the read alias. If the spans were still in the read alias, the mismatch in max-span-age could lead to the query still missing the window of time where the spans existed:

It means that old data will not be available for search. This imitates the behavior of --es.max-span-age flag used in the default index-per-day deployment.


App is force close in release mode: undefined is not an object (evaluating 'f(r)')

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.11.3
Yarn: Not Found
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4670197
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4
Description
In debug mode app is working , But app is force close in release mode.
After archive app also force close in real devices.

The reason behind asking bug reports to use the latest version is to verify this is an issue that is not yet fixed in the latest release.


Bug: Figure out why updating markdwon files breaks custom domain during CI

Needed to add a CNAME file with the custom domain.


fix(image): set oci image build and remove edge repo

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


Increase Kyma worker on PROD

Description
Based on Plutono metrics, there is around 20s delay of Kyma CR reconcliation. The reason is we haven't configure enough worker to handle current amount of Kyma CR.
Reasons
Affect user experience.
Acceptance Criteria

[ ] double the amount of kyma worker to 50
[ ] if the latency is not improved, and CPU usage also not affect hugely, increase the amount of Kyma worker until there is no significant latency appears.

Feature Testing
No response
Testing approach
No response
Attachments
No response

Since we saw some improvements of the latest changes on STAGE (1.1.1), we are going to wait until this release is deployed to prod. From there, we can determine if we want to increase Kyma workers (and may decrease Manifest workers).


how to Predict with GPU

Hi, I've trained with GPU, and now wanna predict using GPU.
Add these lines in frontend.py, but it didn't work. pls help
import tensorflow as tf
import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

from keras.backend.tensorflow_backend import set_session
config = tf.ConfigProto()
config.gpu_options.allow_growth=True
set_session(tf.Session(config=config))

@Paul0M  How exactly did you solve that issue? Can you please explain in detail? I already have tf-gpu installed.