feat: revert back to external-secrets main chart repo

Hi @chrismellard. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign garethjevans
You can assign the PR to them by writing /assign @garethjevans in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

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

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

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

gsm
5a7198e3f9ec037be8266259092055e770b23feb
link
/test gsm

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

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

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

gsm
5a7198e3f9ec037be8266259092055e770b23feb
link
/test gsm

vault
5a7198e3f9ec037be8266259092055e770b23feb
link
/test vault

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

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

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

gsm
5a7198e3f9ec037be8266259092055e770b23feb
link
/test gsm

vault
5a7198e3f9ec037be8266259092055e770b23feb
link
/test vault

tls
5a7198e3f9ec037be8266259092055e770b23feb
link
/test tls

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

/retest

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

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

gsm
5a7198e3f9ec037be8266259092055e770b23feb
link
/test gsm

vault
5a7198e3f9ec037be8266259092055e770b23feb
link
/test vault

tls
5a7198e3f9ec037be8266259092055e770b23feb
link
/test tls

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

/test tls

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

Test name
Commit
Details
Rerun command

tls
5a7198e3f9ec037be8266259092055e770b23feb
link
/test tls

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

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

/retest

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

kube
5a7198e3f9ec037be8266259092055e770b23feb
link
/test kube

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


chore(master): release 0.75.0-alpha

:robot: I have created a release beep boop
0.75.0-alpha (2024-04-01)
Features

new (0762010)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.75.0-alpha :sunflower:


using spotdl and getting a yt-dlp error

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.02.17 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I am using an app called spotdl to download from www.spotify.com
I am getting an error when I try to download.
The error refers to yt-dlp.
Exception: ERROR:  jZGwbfVSNn0: Unable to extract uploader id; please report this issue on
https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm
you are on the latest version using  yt-dlp -U
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] I cannot run this debug as I am not using yt-dlp, although I am getting an error for yt-dlp.

Spotdl is scamming you, because that error only shows for Youtube videos
That issue can be fixed by updating yt-dlp. If you installed spotdl using pip, just run pip install --no-deps --update yt-dlp. Otherwise you'll have to wait for the next spotdl update. If you send me a link to their repo, I'd be happy to open a bug report

https://github.com/spotDL/spotify-downloader/issues

@gamer191
Thank you
https://github.com/spotDL/spotify-downloader/issues

Spotdl is scamming you, because that error only shows for Youtube videos

They don't claim to download from spotify. It downloads from youtube music and adds metadata from spotify

@pukkandan
Thanks for clearing that up for me. re:spotdl.
Does spotify_dl do the same thing?


how to download folder from google drive?

worst documentation of google drive first of all & secondly where are the sample code for python?

Hi @EhtishamSabir,
We have samples for Google Drive here and here however users have mentioned in https://github.com/googleapis/google-api-python-client/issues/531 that this documentation needs improvement. Please update https://github.com/googleapis/google-api-python-client/issues/531 which is linked to internal bug trackers if you have additional feedback for the Google Drive Samples. I'm going to close this issue as a duplicate of #531.  I'm going to update https://github.com/googleapis/google-api-python-client/issues/531 once I have an ETA from the team working on the samples.
Googlers see b/190226456 and b/185393300 for updates.

Here there is no documentation on using pickel file for saving session. because user can't manually confirm authorization each time.
Sorry I was angry after doing lot's of searching. but please guys update documentation otherwise AWS is going to lead in next few years :)
    # Check if file token.pickle exists
    if os.path.exists('token.pickle'):
        # Read the token from the file and
        # store it in the variable self.creds
        with open('token.pickle', 'rb') as token:
            self.creds = pickle.load(token)

    # If no valid credentials are available,
    # request the user to log in.
    if not self.creds or not self.creds.valid:

        # If token is expired, it will be refreshed,
        # else, we will request a new one.
        if self.creds and self.creds.expired and self.creds.refresh_token:
            self.creds.refresh(Request())
        else:
            flow = InstalledAppFlow.from_client_secrets_file(
                'credentials.json', SCOPES)
            self.creds = flow.run_local_server(port=0)

        # Save the access token in token.pickle
        # file for future usage
        with open('token.pickle', 'wb') as token:
            pickle.dump(self.creds, token)


email_gateway: Use html2text directly.

In the rare case that Zulip receives an email with only an HTML
format, we originally (code dating to 2013) shelled out to
html2markdown/python-html2text in order to convert the HTML into
markdown.
We long since added html2text as a reasonably managed Python
dependency of Zulip; we should just use it here.
@mateuszmandera this is primarily an email gateway piece of code; can you review?
@andersk FYI as well.
One thing I'm a little suspicious of is that the output for
test-backend zerver.tests.test_email_mirror.TestReplyExtraction.test_reply_is_extracted_from_html
seems to differ between the old code (apt install python3-html2text) and the new code, in terms of blank lines.  We should figure out whether this is a difference in options used by html2text by default on the command line vs. being invoked directly, and if so, fix it.
May also be related to the freshdesk webhook test failure, which is for this code path.

Fixed the test for you.

I'm going ahead and merging this, but it's probably still worth some investigation into whether there's something better we can do in terms of the html2text options.


Discourage/remove wmpage_cache.query.whitelist in favour of cache context

Instead of globally whitelisting certain query parameters using wmpage_cache.query.whitelist, we should use the url.query_args cache context instead. This way, eg. the page query parameter only influences the pages that are actually using a pager.

On hold until https://github.com/wieni/wmpage_cache/issues/14 lands.


Question about security

Great package! But I have one question:
How secure this package?
We declare this fileResctrictions:
Slingshot.fileRestrictions("myFileUploads", {
  allowedFileTypes: ["image/png", "image/jpeg", "image/gif"],
  maxSize: 10 * 1024 * 1024 // 10 MB (use null for unlimited).
});

Is it possible for a user to upload some garbage that wouldn't be an image?
Because I'm using returned link and assign it to user avatar field.  Is it possible? Or amazon somehow will restrict anything that is not image (even if it has image extension)? Thanks!

AWS will not verify the sanity of the file contents and whether it matches the content-type. However it will ensure that the content-type sent in the header is one of the given mime-types.
So if the client uploads something that is not an image with a spoofed content-type, then the browser will see it as a broken image. Normally this is not a security issue unless there is a bug in the client browser that allows some sort of buffer overflow exploit or something.
Technically that would be security issue, not with your app or this package, but with the browser.
However if you really would like to protect users from these kind of exploits, I suggest that you do some sort of image validation on AWS Lambda.


How do sentinel round reconnect to when all are down ?

Hello, when redisson work in scheme 1 master and 2 slave with sentinel daemon on each, then 2 slave go down, some time master go down too, and then one or two of slaves go up, but redisson try connect to master only sentinel/redis node.
Question: How to do round-reconnect to sentinels servers if no one server not avialable ?

Redisson will continue to connect to sentinels which were returned in the last result of SENTINEL SENTINELS command.


[PORT] Add support for Facebook Message Read event

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/4225

See https://developers.facebook.com/docs/messenger-platform/reference/webhook-events/message-reads
Description
Add support for Facebook Read Message.
It may not be used by the Bot yet but it helps to better support the Facebook events and allow better reusability of the library outside of the "Bot" context in another project for example.
Specific Changes

added FacebookRead.cs class for deserialisation of Facebook Event message_reads
added new property Reads on FacebookMessage

Changed projects

Adapters

Closing.  No Facebook Adapter in Python


WIP: [SCB-2204] Try fix test case

Coverage remained the same at 80.698% when pulling 2e2119f5ae5a90f434f49887ee4326047a2def35 on coolbeevip:SCB-2204 into<PHONE_NUMBER>5d55c580b5b410f19b80530902e696 on apache:master.

Fix alpha_records_transaction_events.feature  for an Interim fix only for CI to pass and later trace https://issues.apache.org/jira/browse/SCB-2204 to compensate for the failure count problem


fix: fix typescript types path

resolves #13

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add documentation

You added what to do and how to do, but it would be great if you still add a documentation for those who reading the source code for the first time.

Hello.
Every comment in the script starting with "#" is describing what that particular part of the script is doing.


no more notifications in High Sierra?

Updated to latest version of Mac OS and it seems the notifications are broken.
Can you confirm/fix?
Thanks

I'm on 10.13.2 and works for me, freshly installed.

Had to re-install. Did not work after upgrading the OS.
not sure what the problem is/was exactly. maybe file rights.

Still not working. It is sitting in the menu bar.
No notifications showing. Spotify is minified.


Dropout is wrong in Flow

Provided arguments are incorrect in ConvNetSharp.Flow/Ops/DropoutGradient.cs

Fixed in PR #117


Mirror option is not finding images after 1.10

Hi.
We have Sonatype Nexus 3 server acting as docker registry and mirror: https://support.sonatype.com/hc/en-us/articles/215781148-Nexus-Repository-Manager-3-0-Milestone-7-Release- running at https://servername:8085
It is setup so that we have a virtual "group repository" that federates several registries, two of which are:
-internal repo
-on-the-fly mirror/cache of dockerhub
The daemons are configured with the mirror option:
--registry-mirror https://servername:8085
Using docker 1.8.2 (working):
installed sw details:
-bash-4.2$ docker info
dContainers: 0
Images: 6
Storage Driver: btrfs
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-327.4.4.el7.x86_64
Operating System: Red Hat Enterprise Linux
CPUs: 2
Total Memory: 9.602 GiB
Name: jls-slave29
ID: 2IDF:FG2O:MBF2:NARP:YH6R:N6O4:V3CA:R5KG:6ALA:4TQI:22BA:IJUI
Debug mode (server): true
File Descriptors: 15
Goroutines: 23
System Time: 2016-02-08T08:51:25.339339439+01:00
EventsListeners: 0
Init SHA1: f7bb40c7220474256047ddbd63b447496387e4d2
Init Path: /usr/libexec/docker/dockerinit
Docker Root Dir: /var/lib/docker
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
-bash-4.2$ docker version
Client:
Version:      1.8.2-el7
API version:  1.20
Package Version: docker-1.8.2-10.el7.x86_64
Go version:   go1.4.2
Git commit:   a01dc02/1.8.2
Built:
OS/Arch:      linux/amd64
Server:
Version:      1.8.2-el7
API version:  1.20
Package Version:
Go version:   go1.4.2
Git commit:   a01dc02/1.8.2
Built:
OS/Arch:      linux/amd64
-bash-4.2$
Having a docker-compose file with:
image: myInternalImagePrefix/myImage
it will be pulled (via the mirror) when I do a docker-compose pull.
However - when upgrading to 1.10 (and docker-compose 1.6.0) on my ubuntu box, this will no longer be found.
IF I however prefix the image with servername:8085:
image: servername:8085:myInternalImagePrefix/myImage
it will be pulled on docker 1.10 - but not on the old docker 1.8.2
1.10 version details:
et2448@ubuntu:~$ docker info
Containers: 7
Running: 0
Paused: 0
Stopped: 7
Images: 24
Server Version: 1.10.0
Storage Driver: btrfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
Volume: local
Network: host bridge null
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 14.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.32 GiB
Name: ubuntu
ID: Q5T2:MOE6:ZQ72:MWDU:EGBH:XHBW:XDZ7:XFSS:RP3Z:5TPF:AUP6:ZSOR
Debug mode (server): true
File Descriptors: 10
Goroutines: 31
System Time: 2016-02-08T08:52:06.288959198+01:00
EventsListeners: 0
Init SHA1: e2f80f7797c61007e141f1b60f5b469775a8f712
Init Path: /usr/lib/docker/dockerinit
Docker Root Dir: /var/lib/docker
Username: davidkarlsen
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
et2448@ubuntu:~$
Steps to reproduce:

define the mirror option for the daemon
have the mirror serve internal and docker hub images
have an image in the internal repo myInternalImagePrefix/myImage:latest
have a compose file, with an image definition of myInternalImagePrefix/myImage:latest

Results received:
Will pull on 1.8.2
Will not find image on 1.10
Expected:
Should still work on 1.10 as it is on 1.8.2

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Does this work with 1.9.1? Also do the daemon logs show anything useful?
Also; does the mirror successfully work with official images (e.g. is docker pull ubuntu successfully pulled from the mirror?)
Basically, if this only fails for pulling internal images, I'm wondering if this was actually supported, and if this relates to https://github.com/docker/docker/issues/18818

/cc @stevvooe @aaronlehmann

It worked on 1.9.1 yes - I forgot to add that.
It does not seem to successfully use the mirror-registry option because if I do netstat's there are no connections to the proxy, and if I tcpdump towards host registry-1.docker.io I see packets during a pull

I'm not able to reproduce this using the official Docker registry as a mirror. When I specify --registry-mirror, Docker 1.0 pulls from the specified mirror instead of Docker Hub. I do see that when the specified image doesn't exist on my mirror, Docker fails to pull from it and ends up pulling from Hub. Posting the daemon log running in debug mode (-D) may be helpful in diagnosing this.

Here it is (I just cancelled the pull)
docker.log.txt

it seems like coming from a broken pipe error.

broken pipe?

@davidkarlsen based on the logs it looks the mirror was attempted Trying to pull elasticsearch from https://fsnexus.evry.com:8085/ v2   Unfortunately there is no debug logs indicating what failure caused it to be skipped. Is there any indication on the proxy server that a connection was made and the pull was attempted?

I'm still not able to reproduce this. I've tried a few configurations - with/without TLS, official images, non-official images, and so on.
For me, Docker 1.10 always attempts to pull from the mirror first, and only pulls from Hub if the mirror doesn't have the repository.
@davidkarlsen, you mentioned that you tcpdumped towards registry-1.docker.io and saw traffic. Did you also tcpdump traffic towards your mirror and confirm that no connection is made?

@davidkarlsen: One more question - do you know if the registry/mirror is using the v1 protocol or v2 protocol? Based on the documentation, it can be configured to support either. The daemon log from Docker 1.8 or 1.9 doing a successful pull would provide this information, and might also shed some light on what it's doing differently from 1.10.

I have dug a bit more in access logs, I see these two on the serverside:
<IP_ADDRESS> - - [10/Feb/2016:00:24:15 +0100] "GET /v2/ HTTP/1.1" 401 113
<IP_ADDRESS> - - [10/Feb/2016:00:24:15 +0100] "GET /v2/evryfs/oracle12c/manifests/latest HTTP/1.1" 401 -

Also, client side I see:
SC[37mDEBUESC[0m[3101] Trying to pull evryfs/oracle12c from https://fsnexus.evry.com:8085/ v2 <-- why the ending slash here???
ESC[37mDEBUESC[0m[3102] Trying to pull evryfs/oracle12c from https://registry-1.docker.io v2

Here is log when I address the image fully qualified (prefixed with host and ip), and don't rely on the mirror finding it by itself:
ESC[37mDEBUESC[0m[3101] Calling POST /v1.22/images/create
ESC[37mDEBUESC[0m[3101] POST /v1.22/images/create?fromImage=evryfs%2Foracle12c%3Alatest
ESC[37mDEBUESC[0m[3101] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3101] Trying to pull evryfs/oracle12c from https://fsnexus.evry.com:8085/ v2
ESC[37mDEBUESC[0m[3102] Trying to pull evryfs/oracle12c from https://registry-1.docker.io v2
ESC[37mDEBUESC[0m[3105] Increasing token expiration to: 0 seconds
ESC[37mDEBUESC[0m[3106] Trying to pull evryfs/oracle12c from https://index.docker.io v1
ESC[37mDEBUESC[0m[3106] hostDir: /etc/docker/certs.d/docker.io
ESC[37mDEBUESC[0m[3106] [registry] Calling GET https://index.docker.io/v1/repositories/evryfs/oracle12c/images
ESC[37mDEBUESC[0m[3106] Not continuing with error: Error: image evryfs/oracle12c not found
ESC[37mDEBUESC[0m[3290] Calling GET /v1.22/images/json
ESC[37mDEBUESC[0m[3290] GET /v1.22/images/json?filters=%7B%22dangling%22%3A%7B%22true%22%3Atrue%7D%7D
ESC[37mDEBUESC[0m[3301] Calling POST /v1.22/images/create
ESC[37mDEBUESC[0m[3301] POST /v1.22/images/create?fromImage=fsnexus.evry.com%3A8085%2Fevryfs%2Foracle%3Alatest
ESC[37mDEBUESC[0m[3301] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3301] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3301] Trying to pull fsnexus.evry.com:8085/evryfs/oracle from https://fsnexus.evry.com:8085 v2
ESC[37mDEBUESC[0m[3303] Trying to pull fsnexus.evry.com:8085/evryfs/oracle from https://fsnexus.evry.com:8085 v1
ESC[37mDEBUESC[0m[3303] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3303] attempting v2 ping for registry endpoint https://fsnexus.evry.com:8085/v2/
ESC[37mDEBUESC[0m[3303] [registry] Calling GET https://fsnexus.evry.com:8085/v1/repositories/evryfs/oracle/images
ESC[37mDEBUESC[0m[3305] Not continuing with error: Error: image evryfs/oracle not found
ESC[37mDEBUESC[0m[3318] Calling POST /v1.22/images/create
ESC[37mDEBUESC[0m[3318] POST /v1.22/images/create?fromImage=fsnexus.evry.com%3A8085%2Fevryfs%2Foracle12c%3Alatest
ESC[37mDEBUESC[0m[3318] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3318] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
ESC[37mDEBUESC[0m[3318] Trying to pull fsnexus.evry.com:8085/evryfs/oracle12c from https://fsnexus.evry.com:8085 v2
ESC[37mDEBUESC[0m[3318] Pulling ref from V2 registry: fsnexus.evry.com:8085/evryfs/oracle12c:latest
ESC[37mDEBUESC[0m[3318] pulling blob "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"
ESC[37mDEBUESC[0m[3318] pulling blob "sha256:cfa774c4de28156d392b1b75a76febcad3c1257ef0df1d1c50cd5add43c44a29"
ESC[37mDEBUESC[0m[3318] pulling blob "sha256:d7ec68632efbec830591ed1415db23b06f2c50280c6d5c00475a044f2354e397"
ESC[37mDEBUESC[0m[3318] Downloaded a3ed95caeb02 to tempfile /var/lib/docker/tmp/GetImageBlob730570261
ESC[37mDEBUESC[0m[3318] pulling blob "sha256:53e0929f2be73af0b3340a603657938b1fc392badb3d7c2bf726a4e0f30cc579"
ESC[37mDEBUESC[0m[3318] Start untar layer
ESC[37mDEBUESC[0m[3318] Untar time: 0.04859563s
ESC[37mDEBUESC[0m[3318] Applied tar sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef to ff5ee60b254a508f817f1684a41bfd6b6dda66540d5329d2de3316da0bd852f2, size: 0
ESC[34mINFOESC[0m[3345] Pull session cancelled
ESC[37mDEBUESC[0m[3345] Error trying v2 registry: context canceled
ESC[37mDEBUESC[0m[3345] Not continuing with error: context canceled
ESC[34mINFOESC[0m[3345] Layer sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef cleaned up

Ah - sorry - now realized that you wanted the log from a 1.8.x or 1.9.x - I can check that tomorrow.

@davidkarlsen: This is still very helpful. The 401 in the first log suggests a credentials handling issue. I'll do some digging and see if I can figure out what's going on.

I still haven't figured out exactly what's going on, but this does appear to be related to credentials. The 401s show that Docker is trying to pull from the mirror, but there's an authentication issue.
Does your mirror require authentication? If so, can you share your ~/.docker/config.json file? (obviously, redacting the base64 strings that contain obfuscated passwords).
I experimented with a mirror that requires authentication, and in all of 1.8, 1.9, and 1.10, I had to edit the config.json file manually to get this setup to work. Docker will use the hub credentials when talking to the mirror, so unless they happen to be the same as the credentials for the mirror, this setup doesn't seem to work without manual intervention.

Yes! There you have it! I created a user in our own registry which matches the docker hub one - and then it worked! But this seems like a regression in 1.10

So to sum up:
Did not work:
{
        "auths": {
                "fsnexus.evry.com:8085": {
                        "auth": "REMOVED  - seemed b64 encoded ending in ==",
                        "email"<EMAIL_ADDRESS>                },
                "fsnexus.evry.com:8087": {
                        "auth": "REMOVED - seemed b64 encoded ending in ==",
                        "email"<EMAIL_ADDRESS>                },
                "https://index.docker.io/v1/": {
                        "auth": "REMOVED",
                        "email"<EMAIL_ADDRESS>                }
        }
}

Will work:
{
        "auths": {
                "fsnexus.evry.com:8085": {
                        "auth": "VALUEHEREMATCHES",
                        "email"<EMAIL_ADDRESS>                },
                "https://index.docker.io/v1/": {
                        "auth": "VALUEHEREMATCHES",
                        "email"<EMAIL_ADDRESS>                }
        }
}

e.g. if the two users "are the same" (name && pw) it will work

Would it not be better if it chose the credentials matching the servername:port, and fall back to dockerhub ones if not given?

@davidkarlsen: Great, I'm glad we're making progress on figuring this out.
Just to make sure I understand, are you saying that in 1.8 and 1.9, the username and password didn't have to match between the two auth entries? I tried this yesterday and couldn't get it to work with any version unless the username and password were the same between the hub and the mirror.

I now tried:

downgrading to 1.9.1 (apt-get install docker-engine=1.9.1-0~trusty)
removing my whole ~/.docker
deleted the user that matched docker.io on the nexus mirror

and then

docker login to docker hub
and could still pull

docker login to mirror address
and could still pull

Then upgraded to 1.10 and not able to pull

@davidkarlsen: I'm still having trouble reproducing this with 1.9. Can you please take a look at this list of steps and see if it differs in some way from what you're doing:

rm ~/.docker/config

docker login - enter hub credentials

docker pull aaronlehmann/busybox - doesn't pull from the mirror because I don't have credentials for it; ends up pulling from hub:

DEBU[0760] Trying to pull aaronlehmann/busybox from https://registry:5000/ v2
DEBU[0760] Pulling tag from V2 registry: "latest"
DEBU[0760] v2 error: errcode.Error unauthorized: authentication required
DEBU[0760] Error trying v2 registry: unauthorized: authentication required
DEBU[0760] Trying to pull aaronlehmann/busybox from https://registry-1.docker.io v2

docker pull registry:5000/aaronlehmann/busybox - this fails because I have not logged in to the mirror yet.

docker login registry:5000 - enter mirror credentials, which are different from hub credentials

docker pull registry:5000/aaronlehmann/busybox - this succeeds now that I have logged in to the mirror.

This is where it gets interesting:

docker pull aaronlehmann/busybox - still ends up using the hub, because the credentials associated with the repository aaronlehmann/busybox are hub credentials, not credentials for the mirror:

DEBU[1053] Trying to pull aaronlehmann/busybox from https://registry:5000/ v2
DEBU[1053] Pulling tag from V2 registry: "latest"
DEBU[1053] v2 error: errcode.Error unauthorized: authentication required
DEBU[1053] Error trying v2 registry: unauthorized: authentication required
DEBU[1053] Trying to pull aaronlehmann/busybox from https://registry-1.docker.io v2

@aaronlehmann A bit unsure of this - what you are doing is not exactly what is my case (see initial posting). The regression I posted is that the repo federates several repos, among them an internal one with my internal images which I am no longer able to fetch through using the mirror option.
The closest we can get between our two different cases are:

OK (but I think you mean .docker/config**.json**)
OK
3):

root@ubuntu:~# DEBU[1984] Calling GET /v1.22/info
DEBU[1984] GET /v1.22/info
DEBU[1984] Calling POST /v1.22/images/create
DEBU[1984] POST /v1.22/images/create?fromImage=aaronlehmann%2Fbusybox%3Alatest
DEBU[1984] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
DEBU[1984] Trying to pull aaronlehmann/busybox from https://fsnexus.evry.com:8085/ v2
DEBU[1984] Trying to pull aaronlehmann/busybox from https://registry-1.docker.io v2
DEBU[1985] Increasing token expiration to: 0 seconds
DEBU[1987] Pulling ref from V2 registry: aaronlehmann/busybox:latest
DEBU[1987] pulling blob "sha256:d7e8ec85c5abc60edf74bd4b8d68049350127e4102a084f22060f7321eac3586"
DEBU[1987] pulling blob "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"
DEBU[1988] Downloaded a3ed95caeb02 to tempfile /var/lib/docker/tmp/GetImageBlob952064329
DEBU[1989] Downloaded d7e8ec85c5ab to tempfile /var/lib/docker/tmp/GetImageBlob541625876
DEBU[1989] Start untar layer
DEBU[1989] Untar time: 0.104060764s
DEBU[1989] Applied tar sha256:9508eff2c6877c4ae2275863cc8eae93bdac3d1b1943b0037976024be6af417f to ae78f91b26fd9d0a5a6d3ccc9541c3d0ab06eb48dec5716f0c7a0d911f92755a, size: 1113436
DEBU[1989] Start untar layer
DEBU[1989] Untar time: 0.042709337s
DEBU[1989] Applied tar sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef to 23e100d992ddab0738db38c30eadfea5d0b2a35c50326cc0e3862610662b0391, size: 0

I can not do that, a similar case would for me be:
et2448@ubuntu:~/projects/tac/jfr/tac-jfr-server$ docker pull fsnexus.evry.com:8085/evryfs/wmq8:fp4
Error response from daemon: Get https://fsnexus.evry.com:8085/v2/evryfs/wmq8/manifests/fp4: no basic auth credentials
OK
docker pull: docker pull fsnexus.evry.com:8085/evryfs/wmq8:fp4 will now work (but I have to add the server:ip - which I did not have to before - see initial posting)
7):

root@ubuntu:~# DEBU[2272] Calling GET /v1.22/info
DEBU[2272] GET /v1.22/info
DEBU[2272] Calling POST /v1.22/images/create
DEBU[2272] POST /v1.22/images/create?fromImage=aaronlehmann%2Fbusybox%3Alatest
DEBU[2272] hostDir: /etc/docker/certs.d/fsnexus.evry.com:8085
DEBU[2272] Trying to pull aaronlehmann/busybox from https://fsnexus.evry.com:8085/ v2
DEBU[2272] Trying to pull aaronlehmann/busybox from https://registry-1.docker.io v2
DEBU[2273] Increasing token expiration to: 0 seconds
DEBU[2274] Pulling ref from V2 registry: aaronlehmann/busybox:latest
DEBU[2274] Layer already exists: d7e8ec85c5ab
DEBU[2274] Layer already exists: a3ed95caeb02

Did you also see my comment in : https://github.com/docker/docker/issues/20097#issuecomment-182243950 ?

@davidkarlsen: Thanks for taking the time to investigate this. I'm sorry for all the back-and-forth!
I'm still at a loss in understanding how this setup worked in Docker 1.9. I've been trying to replicate the setup in Docker 1.9 to understand what changed between Docker 1.9 and Docker 1.10. My testing in https://github.com/docker/docker/issues/20097#issuecomment-182983481 showed that even Docker 1.9 uses credentials based on the repository reference you try to pull... i.e. if you pull a reference without an explicit registry hostname, it will use the credentials for Docker Hub.
But based on https://github.com/docker/docker/issues/20097#issuecomment-182243950, it sounds like when using 1.9, the login and password for the mirror could be different from Docker Hub, even when you pull an image with a command like docker pull evryfs/oracle12c. I don't see how this pull would actually use the mirror successfully - it should be trying with the hub login/password and failing, unless the mirror is somehow passing through the username and password to the hub with 1.9 and not with 1.10. There could be some peculiarity of the Sonatype registry involved here.

@aaronlehmann @davidkarlsen I just noticed that one of your servers is running Red Hat Enterprise, with the Red Hat modified version of Docker 1.8.2 see the commit; https://github.com/projectatomic/docker/commit/a01dc02d9c369141f8bbbea0f51e8759dd6e5b93 not sure if it's relevant in finding possible difference in behavior here. Differences between the Red Hat version and Docker 1.8.2; https://github.com/projectatomic/docker/compare/v1.8.2...a01dc02d9c369141f8bbbea0f51e8759dd6e5b93

@thaJeztah That's irrelevant - as that's only the server hosting nexus (which is a java app) - and docker is not even installed on it.

@davidkarlsen sorry, must've misinterpreted, because you mentioned "Using docker 1.8.2 (working):", referring to the RHEL host.
Did you also check with sonartype; given that we have a hard time reproducing this with the docker registry, wondering if other users using Nexus are running into this issue (if it's a combination of changes in docker 1.10 and Nexus)

I mentioned this GitHub issue to Sonatype, and found out that they're aware of a few compatibility issues between Docker 1.10 and Sonatype Nexus 3. There are fixes in progress for the issues they know about that will be part of their next release.
I'd encourage anyone experiencing problems using Docker 1.10 with Sonatype Nexus to mention them to<EMAIL_ADDRESS>to get help or at least make sure they are aware of the issue.

@aaronlehmann I'll put it forward to them (we're a paying customer w/ support-contract). They are currently working on another case that surfaced w/ 1.10.

@aaronlehmann if you're in contact with them, can you inform if they have people that we can add to our "testers" mailinglist for upcoming releases?

@thaJeztah I work for Sonatype support. We would very much appreciate being on your testers mailing list. The subscribing email for such a list would be<EMAIL_ADDRESS>.
Can you add us?

@peterlynch absolutely! if you have separate e-mails for individual testers, feel free to email me at
<EMAIL_ADDRESS>

@davidkarlsen I managed to resolve this problem by

making sure the anonymous user in nexus can read from the group repo
specifying the anonymous user's credentials registry mirror url, e.g. https://anonymous:anonymous@nexus.local:5001

I'm closing this: thanks everyone for participating, and feel free to ping me if you feel that it needs reopening.

@dweomer Are you still using your workaround (--registry-mirror=https://anonymous:anonymous@nexus.local:5001)? I cannot get it to work. I still keep getting the error:
time="2016-09-16T12:24:20.615918563Z" level=error msg="Attempting next endpoint for pull after error: Get https://internal.nexus:15000/v2/mycompany/ubuntu/manifests/16.04: no basic auth credentials"
@davidkarlsen how are you doing with nexus? still problems?
I am using the docker toolbox for windows:
`docker version
Client:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.3
Git commit:   23cf638
Built:        Thu Aug 18 17:52:38 2016
OS/Arch:      linux/amd64
Server:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.3
Git commit:   23cf638
Built:        Thu Aug 18 17:52:38 2016
OS/Arch:      linux/amd64`
Thanks in advance!

@icecrime
Arnaud, I'm having the same problem with "registry-mirror" and the workaround is not working. See details here : http://stackoverflow.com/questions/42143395/docker-registry-mirror-not-used


"Out of stock" when selling a product with variations

Can you reproduce this issue on default Wordpress theme (eg Storefront)?
Yes
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
What product versions and settings are you using when this issue occurs?

PHP: 7.3.27
WordPress: 5.6.1
WooCommerce: 4.9.2
Polylang: [state if using Polylang PRO] 2.9.2 free
Hyyan WooCommerce Polylang Integration: 1.4.5 (prerelease)
Browser: chrome

Steps to Reproduce

Buying a product with variations
After buying, the product goes out of stock in one of the languages

What I Expected
Variations have enough stock, so it should keep showing the product as available. All issues of the past months regarding variations seem to be fixed, but I'm still having this one. The only solution I've found for this has been not updating Polylang since version 2.7.4 (approximately september 2020).
What Happened Instead
Goes out of stock.
Thanks a lot to all contributors for the amazing work
Best regards

duplicates #475
should be fixed now, please try new draft release here:
https://github.com/hyyan/woo-poly-integration/releases/tag/1.4.5
if this is ok there will be a full release sometime over the next week

I've tried 1.4.5 but the issue isn't fixed at least for me

ok, reopen, some issue still remaining.

ok the problem can be seen in the changelog for Polylang 2.8:
https://plugins.svn.wordpress.org/polylang/trunk/changelog.txt

Always filter WP_Query by the current language

this has caused various problems with workarounds implemented in other places since whenever we are trying to synchronise data in other languages, Polylang is interfering with this by filtering every query, more so than previous versions.
In this particular case the problem occurs when updating variable product on the other languages here:
WooCommerce class-wc-product-variable.php
public function save() {
		$this->validate_props();

before validate_props, all is ok and instock, however after validate_props although stock status is still "instock", the changes property now  contains stock_status "outofstock" .. this will be because WooCommerce can no longer find any child variationa with stock because Polylang has filtered them out because they are not in the "current" language.
Unlike some other areas of the plugin we can't change the query or add the language parameter because it's not our query, it's WooCommerce internal validation check $this->data_store->sync_stock_status( $this ),
To solve definitively we might need to switch current language for every variation language which needs stock synchronised.  That's a more major change which might have functional an performance impacts, needs more thought and testing.
In the meantime it will probably work with Polylang 2.7.4 ..
It would be great if someone else contributed, I don't have any use for WooCommerce stock features, though this is symptom of a potentially wider problem.

root cause:  WooCommerce class-wc-product-variable-data-store-cpt method read_children() internally uses WordPress get_posts which uses WPQuery which has a language filter added by Polylang.
However there is a filter woocommerce_variable_children_args:
$children['all']     = get_posts( apply_filters( 'woocommerce_variable_children_args', $all_args, $product, false ) );
In theory hooking this filter and adding empty lang parameter would suppress Polylang adding an additional current language filter.  As per recent change to Variation.php and related Polylang documentation:
                    //JM2021:empty lang parameter required otherwise polylang adds language filter
                     'lang' => '',

Thanks for checking it Jon007, wish I could help

no worries I'll check something in later, fix along the lines above does work but there were some additional edge cases where may not synchronise properly, just working through those.

changes to several files to ensure:

ensure child_is_in_stock() still works with Polylang 2.8+
ensure all children are synchronised (was only synchronising available children)
ensure variation parent stock status is syncd after updates

caveats: if problems continue, go to WooCommerce, Status, Tools ie /wp-admin/admin.php?page=wc-status&tab=tools  and:

clear transients.  not convinced WooCommerce clear transients always works, also clear Redis cache etc if you use that.
Regenerate product lookup tables
save any affected product
repeat 1 and 2 if necessary

generally any time the product is saved or sold the stock should resync itself and correct any issues that are already there, but getting the files alone will not automatically clear  existing issues especially where out-of-sync information is already cached


CI/cd section requires cloud9?

Reported during workahop. Exact details TBD.

Looks like cloud9 has git helper installed by default. Adding cloudshell commands to add the git helper.


ProjectNotConfigured

Is there any way we can make it so commands that are unrelated to a project do not require a project to be configured?
I would expect this to work from any path (on vagrant box) but it doesn't.
delta vagrant:restart-services

This is available in 3.10.0.


no response on bkash payment img or pay now button

bkash sandbox setup. but bkash payment img or pay now button not working. no response any action.

This happens when the javascript is failed.
Can you please check the developer console and show me the logs?


Document how to inject a certain script of commands into the command line debugger to be executed one by one similar to gdb's --command flag

Hi!
Please document how to inject a certain script of commands into the command line debugger to be executed one by one similar to gdb's --command flag.
See:
https://stackoverflow.com/questions/59291241/how-can-i-script-automate-node-jss-node-inspector-debugger-by-giving-a-sequen
No one on freenode's ##javascript or ##node.js could enlighten me on that and I was referred to https://nodejs.org/api/inspector.html but there isnt an example like that there. So I'm filing an issue for lacking documentation/example code.

I think the short answer is that reliable scripting, especially on startup, isn't really supported right now. If you're willing to write a bit of JS, you could copy what the node-inspect test suite does. You can find an example here: https://github.com/nodejs/node-inspect/blob/af55a32c0f91c7e7214ad816313c6ea4ed2e50e2/test/cli/exec.test.js#L14-L16
It should be possible to implement proper support for this but it would take some work. I'd be happy to assist / guide you through it if you want to give it a shot!

On Tue, 17 Dec 2019 08:03:27 -0800
Jan Olaf Krems<EMAIL_ADDRESS>wrote:

I think the short answer is that reliable scripting, especially on startup,
isn't really supported right now. If you're willing to write a bit of JS, you
could copy what the node-inspect test suite does. You can find an example
here:
https://github.com/nodejs/node-inspect/blob/af55a32c0f91c7e7214ad816313c6ea4ed2e50e2/test/cli/exec.test.js#L14-L16
It should be possible to implement proper support for this but it would take
some work. I'd be happy to assist / guide you through it if you want to give
it a shot!

Thanks! I'm willing to write some JS. I'll try your suggestion and let you know.
--
Shlomi Fish       https://www.shlomifish.org/
https://www.shlomifish.org/humour/bits/facts/Summer-Glau/
Knuth is not God! Unless you confuse him with Dijkstra.
— http://www.shlomifish.org/humour/bits/facts/Knuth/
Please reply to list if it's a mailing list post - http://shlom.in/reply .

Hi all and happy holidays! Sorry if I am being too needy but why does this program - https://github.com/shlomif/fc-solve/blob/89110ad906bf608a5a8290c46ddac425bae0fced/fc-solve/site/wml/bin/node_inspect_debugger_exec.js - gives me this error:
++ pwd
+ export NODE_PATH=/home/shlomif/progs/freecell/git/fc-solve/fc-solve/site/wml/lib/for-node/js
+ NODE_PATH=/home/shlomif/progs/freecell/git/fc-solve/fc-solve/site/wml/lib/for-node/js
+ node bin/node_inspect_debugger_exec.js
TAP version 13
# Subtest: startCLI
    1..0
ok 1 - startCLI # time=2.129ms

sparkle

< Debugger listening on ws://<IP_ADDRESS>:9229/92532de5-cf89-41d1-833e-e92b8c16ec4f
< For help, see: https://nodejs.org/en/docs/inspector
connecting to <IP_ADDRESS>:9229 ... okdebug> < Debugger attached.
Break on start in node_modules/qunit/bin/qunit.js:5
  3 "use strict";
  4
> 5 const program = require( "commander" );
  6 const run = require( "../src/cli/run" );
  7 const FindReporter = require( "../src/cli/find-reporter" );
debug>
apploo idx=0;

vwooby idx=1 cmd=sb(7);

cli.command returned error at idx=1; error=<<<Error: Child quit while waiting for />\s+$/; found: undefined>>>

1..1
# time=136.851ms

what am I doing wrong?

Hi all!
An update: after experimenting with several approaches, I ended up debugging using console.log and was able to write an ugly fix/workaround: https://github.com/shlomif/fc-solve/blob/8c33a1afc820821f4cbb09388fc72d4a8a641151/fc-solve/site/wml/bin/qunit-for-fc-solve-site#L19-L25 . You can find some attempts at automating node inspector here: https://github.com/shlomif/fc-solve/tree/emcc-tests-investigation--take3-api .
I do wish the reported issue to be made easier for future needs. From what I recall I was unable to print the entire output as in the manually controlled debugger.

The stable protocol for automating debugging already exists and it's the Chrome DevTools protocol. Making it easier to automate a CLI client on top of that already existing protocol seems backwards.
If you'd like to reopen this issue, it would likely be best to open it directly in nodejs/node since we're planning to archive this repo.


Babel broken on Windows

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

$ hugo version
Hugo Static Site Generator v0.70.0/extended windows/amd64 BuildDate: unknown

Does this issue reproduce with the latest release?
yup
So, I tried to test drive the new Babel pipes addition :) On Windows I get the following error:
C:\Users\xmr\Desktop\bootstrap>ver

Microsoft Windows [Version 10.0.18363.815]

C:\Users\xmr\Desktop\bootstrap>node -v && npm -v
v12.16.3
6.14.4

C:\Users\xmr\Desktop\bootstrap>npm ls @babel/cli @babel/core
<EMAIL_ADDRESS>C:\Users\xmr\Desktop\bootstrap
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>deduped

C:\Users\xmr\Desktop\bootstrap>npm run docs-serve
><EMAIL_ADDRESS>docs-serve C:\Users\xmr\Desktop\bootstrap
> hugo server --port 9001 --disableFastRender

Building sites … Built in 1828 ms
Error: Error building site: BABEL: failed to transform "js/main.js" (application/javascript): fork/exec<EMAIL_ADDRESS>%1 is not a valid Win32 application.
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>docs-serve: `hugo server --port 9001 --disableFastRender`
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>docs-serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\xmr\AppData\Roaming\npm-cache\_logs\2020-05-06T13_08_14_971Z-debug.log

How can something new be broken? :-)
I'll admit, I haven't tested this on Windows, but it works fine on MacOS. Can you tell me if there are any executables inside C:\Users\xmr\Desktop\bootstrap\node_modules\@babel\cli\bin?

The file is there, but Windows doesn't support shebangs. Hence if you want to run that file you need to do node foo.js or node.exe foo.js.
C:\Users\xmr\Desktop\bootstrap\node_modules\@babel\cli\bin>node babel.js --version
7.8.4 (@babel/core 7.9.6)

My guess is that it's due to that. How are you calling postcss BTW? It should be the same way.

@bep Now that I think about it more, I believe if one has installed the 2 packages globally, they won't hit this issue, because npm adds executable files in PATH. If you want to access the local executable files, you should access them in ./node_modules/.bin/babel.
So this issue should be present only for local installations.

I think I see it now ... I based the Babel implementation on top of an old PR -- and that was based on an older PostCSS implementation. We have since fixed this for PostCSS. I will get these in line and test on Windows.


SilkService and SilkETW have the same Event Log source causing SilkService to fail

The sourcename for SilkService "ETW Collector" is the same as SilkETW, if they are both registered, it will prevent silkservice from logging to the eventlog.

Thank you for the report, I will get a fix for this in the next release :thumbsup:

This is fixed now in v0.8. At runtime I am checking if "ETW Collector" exists as a source and remove it if it does. I then associate a unique source name with the eventlog log ("SilkETW Collector" or "SilkService Collector").
You don't need to remove the existing log before using the update but you should be aware that until you reboot the source name will incorrectly show "ETW Collector" for new events. This doesn't stop it from working though.


Android JUnit Test Support

Created an Android project under the testing/ folder to allow performing unit tests for the library

Closed it, it has some issues with classloader incompatibility, which causes that the tables cannot be created under certain conditions.


Support LICENSES directory, fixes #1544

Modify details of the license_location criteria to expressly support
having a LICENSES directory.
In addition, modify the automation code to look for this LICENSES
directory, and presume that license_location is probably met (confidence
level 3/5) if a LICENSES directory is present at the top level.
We don't give it higher confidence (which would FORCE it) because
the directory might merely contain a discussion about licenses instead
of actually stating the licenses. That said, we're more likely to
determine the correct answer if a LICENSES directory exists, and that
is the point.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

All agree that #1544 is an improvement, and unanimity is rare anywhere :-). So let's merge it!

All agree that #1544 is an improvement, and unanimity is rare anywhere :-). So let's merge it!


When start favorites are hidden even when they are unfolded

Description
When I start Files each time I've to folde and unfold the favorites (and some times others such as cloud drives) in order to access them, watch the video so you can understand.
Steps To Reproduce

Start Files
Unfold Favorites
Close Files
Open Files Again
Favorites are hiden
you need to click twice on favorites in order to access them.

Expected behavior
If i unfold the favorites and close the program an reopen again they should be visible.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.282
Windows Version
Version	10.0.22000 Build 22000
Relevant Assets
https://user-images.githubusercontent.com/52377122/141315834-aa5c96d3-0a4d-48ec-bf5a-006138850413.mp4

Thanks for the report. It's like the icon is correct but the section is still collapsed. Merging with #5676.


when using ${project.artifactId} for the service/DC/RC metadata.name we should trim to 24 characters

if an archetypeId is too long we should automatically trim it to avoid creating an invalid kubernetes/openshift set of resources

we might want to also convert to lowercase and remove any invalid characters too

We already have the truncation when creating the default resource names.
We can add even more name mangling here. Are there any other spots where this should be done ?

so in the new arquillian system tests for the quickstarts I was getting failures - do to Service metadata.name being too big for a few of the quickstarts. I worked around it for now by manually truncating the artifactId:
https://github.com/fabric8io/ipaas-quickstarts/blob/master/archetype-itests/src/test/java/io/fabric8/tooling/archetype/generator/ArchetypeTest.java#L229-L230
I suspect the failure is probably that we don't truncate the yaml files such as this:
https://github.com/fabric8-quickstarts/cdi-cxf/blob/master/src/main/fabric8/service.yml
i.e. we maybe wanna check we're doing the truncation when we post process partial yaml files

Note that service names up to 63 characters will be allowed in Kubernetes v1.4 (from RFC-952 to RFC-1035) as per kubernetes/kubernetes#29523.
So we should ideally adjust to that new limit at some point and this will come handy with longer names like quickstart names.


Escaping Equals Signs

I appended escaping equals signs to escape_value and escape_key functions.
I wonder that equals signs are not escaped in a tag key, a tag value or a field value,
referring to "Escaping Characters" in https://influxdb.com/docs/v0.9/write_protocols/write_syntax.html.
In fact, when I attempt to write a record containing equals signs on InfluxDB through "fluent-plugin-influxdb",
I received the following error.
2015-11-11 16:52:58 +0900 [warn]: temporarily failed to flush the buffer. next_retry=2015-11-11 16:52:58 +0900 error_class="InfluxDB::Error" error="unable to parse 'test_escaping_characters,invalid==\\ \\, value=\"spam\"<PHONE_NUMBER>': missing tag value\n" plugin_id="object:16d78f0"

Please point it out, if I'm mistaken.
Regards,

@toddboom ping? Other uses also hit this problem.
We need new version including this patch.

@toddboom ping? How about this patch?

Failures are on JRuby only. Merging. Thanks @TrickyMonkey!

Reverting this to see if using #121 is more effective.


New package: BastianPedersen.lazydocker version 0.23.1

[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] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

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

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

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Manual Validation ended with:

2024/01/15 10:47:21 > could not determine host context "default" does not exist 2024/01/15 10:47:21 unable to parse docker host ``

(Automated response - build 566.)

Hi. This is a known issue and will be fixed in the root repository. Once the fix is deployed I will re-upload with the new binaries.

This has nothing to do with lazydocker. It is something wrong with your Docker configuration.

Hi @bastianpedersen,
I have some items out of order here. Let me explain:

This package installs and launches normally in a Windows 10 VM.
This package gives the Error from my 2nd message. Does this mean Docker is a dependency?
When trying with Docker.DockerDesktop as a dependency, I got the error from my first message.

Hi @bastianpedersen,
I have some items out of order here. Let me explain:

This package installs and launches normally in a Windows 10 VM.
This package gives the Error from my 2nd message. Does this mean Docker is a dependency?
When trying with Docker.DockerDesktop as a dependency, I got the error from my first message.

Yes, Docker is a core dependency for this application. Hence the name lazydocker 😅 . Please make sure you have clean install of Docker Desktop on your system.

Can I please get some help here? The application installs just fine on my Windows 11 build.

Automatic Validation ended with:

Installation failed with exit code -1978334972

(Automated response - build 599.)

@wingetbot waivers Add Validation-Installation-Error

Thanks for your patience.

This PR adds noise with a new package ID for a package that already existed in the system as JesseDuffield.Lazydocker... Now the same product exists twice with two names (BastianPedersen.lazydocker + JesseDuffield.Lazydocker) and for the same version, referencing the same installer.😞
PR #135365 is the correct version of what this should have been, adding a new version to the existing package ID instead of registering a new package.
@stephengillie Does the winget repo ever do retractions for cases of duplicates like these?

Thank you for pointing this out.

https://github.com/microsoft/winget-pkgs/pull/155072


MINOR: Add a new system test for resilience

Rolling hard-kill and restart streams with broker temporarily unavailable and make sure the restarting can still be successful eventually.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@bbejeck for reviews.


Wanna contribute but can not see proper guide for contribute

Hi! Javascripter with CSE,
I would like to also contribute but do not see contribute.md.
Please anybody can help me to init guide.

Hey @jsroyal, great to hear you're willing to help the project! You can open an issue with a suggestion for a missing algorithm. Right after that just make sure you have tests and the CI build passes.
Thanks again!


Getting traceback with bdgcmp

Dear developers,
I'm trying to create a continuous coverage signal by comparing ChIP bedGraph to control bedGraph using bdgcmp option. For that purpose I'm using macs2 generated _control_lambde.bdg and _treat_pileup.bdg .
The command and traceback shown here:
macs2 bdgcmp -t s_treat_pileup.bdg -c s_control_lambda.bdg --outdir fold_enrichment_above_input_bdg -o s.bdg -m FE
INFO  @ Fri, 03 Jul 2015 15:03:39: Read and build treatment bedGraph...
Traceback (most recent call last):
File "/usr/local/bin/macs2", line 614, in
main()
File "/usr/local/bin/macs2", line 72, in main
run( args )
File "/usr/local/lib/python2.7/dist-packages/MACS2/bdgcmp_cmd.py", line 40, in run
tbtrack = tbio.build_bdgtrack()
File "MACS2/IO/BedGraphIO.pyx", line 108, in MACS2.IO.BedGraphIO.bedGraphIO.build_bdgtrack (MACS2/IO/BedGraphIO.c:1257)
IndexError: list index out of range
Any help?

It seems the s_treat_pileup.bdg file is broken. Could you check the last few lines of the 's_treat_pileup.bdg' file to see if they all have FOUR columns? You can use 'tail -10 s_treat_pileup.bdg' command in Linux.

Close due to inactivity. Reopen if needed.

Hi everyone,
I assume, that I might have the same problem?
When performing bdgdiff using MACS2 for ChIP-Seq data following error occurs shortly after starting the procedure: "IndexError: list index out of range"
_MacBook-Air: xxx_bdgdiff $ macs2 bdgdiff --t1 cond1_treat_pileup.bdg --c1 cond1_control_lambda.bdg --t2 cond2_treat_pileup.bdg --c2 cond2_peaks_control_lambda.bdg --d1 76813950 --d2 67194613 -g 60 -l 200 --o-prefix diff_cond1_vs_cond2
INFO @ Mon, 10 Dec 2018 09:34:23: Read and build treatment 1 bedGraph...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/macs2", line 4, in
import('pkg_resources').run_script('MACS2==2.1.2', 'macs2')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/init.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/MACS2-2.1.2-py2.7-macosx-10.9-x86_64.egg/EGG-INFO/scripts/macs2", line 622, in
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/MACS2-2.1.2-py2.7-macosx-10.9-x86_64.egg/EGG-INFO/scripts/macs2", line 93, in main
File "build/bdist.macosx-10.9-x86_64/egg/MACS2/bdgdiff_cmd.py", line 60, in run
File "MACS2/IO/BedGraphIO.pyx", line 108, in MACS2.IO.BedGraphIO.bedGraphIO.build_bdgtrack (MACS2/IO/BedGraphIO.c:1213)
IndexError: list index out of range_
I installed the latest versions of MACS and Python.
Callpeaks just worked fine before.
Does anyone have an idea on how to solve the problem?
Thank you in advance!
Leo


Compress csvs by default

Bug with dfcat. Should pass filename and ext with automatically detects compression with pandas to_csv

Intake-esm subcatalogs now compress by default. dfcat doesn't but I don't think this is necessary, at least yet


export CMake Target

This allows other build systems to easily locate libjpeg under Windows.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] 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)
[ ] Ensured the license file is being packaged.

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

@conda-forge-admin, please rerender

I'm not comfortable merging this one. I don't know cmake at all and don't understand the patch.
Maybe someone from @conda-forge/jpeg can look at it?

It is unfortunate that me renaming the .patch file also obscures the actual changes.
I thought that renaming the .patch file is necessary, because it now creates 2 files instead of 1.
For better readability, here is the patch in more readable form (without some of the cosmetic changes I also did):
diff -Nru a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2022-03-08 20:59:49.202400075 +0100
+++ b/CMakeLists.txt	2022-03-08 21:00:20.642490548 +0100
@@ -5,9 +5,13 @@
 # to use cmake and set the WINDOWS_EXPORT_ALL_SYMBOLS property
 # to create a DLL with all symbols exported and a implib (.lib)
 # that can be linked against.
+# This way we can also easily provide package configs for use
+# with other projects.

 cmake_minimum_required (VERSION 3.4)
-project (JPEG)
+project (libjpeg VERSION 9)
+
+include(GNUInstallDirs)

 set(JPEG_SRC jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c
         jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c
@@ -18,8 +22,11 @@
         jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c
         jquant2.c jutils.c jmemmgr.c jmemansi.c)
 add_library (libjpeg SHARED ${JPEG_SRC})

-target_include_directories (libjpeg PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories (libjpeg PUBLIC
+  $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
+  $<INSTALL_INTERFACE:include>)
+
 set_target_properties(libjpeg PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
 add_definitions(-D_CRT_SECURE_NO_WARNINGS)

@@ -36,10 +43,33 @@

 add_library(jpeg STATIC ${JPEG_SRC})

+set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
+
 install(TARGETS libjpeg cjpeg djpeg jpegtran rdjpgcom wrjpgcom jpeg
+  EXPORT ${TARGETS_EXPORT_NAME}
   RUNTIME DESTINATION bin
   LIBRARY DESTINATION lib
   ARCHIVE DESTINATION lib)

 install(FILES jpeglib.h jconfig.h jmorecfg.h jerror.h jpegint.h DESTINATION include)

+
+include(CMakePackageConfigHelpers)
+
+set(TARGETS_FILENAME "${TARGETS_EXPORT_NAME}.cmake")	# this variable is used by cmake-config.in
+set(JPEG_CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}")
+set(JPEG_PROJECT_CONFIG "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake")
+set(JPEG_VERSION_CONFIG "${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake")
+set(JPEG_TARGETS_CONFIG "${PROJECT_BINARY_DIR}/${TARGETS_FILENAME}")
+configure_package_config_file("${PROJECT_SOURCE_DIR}/cmake-config.in" "${JPEG_PROJECT_CONFIG}"
+  INSTALL_DESTINATION "${JPEG_CONFIG_INSTALL_DIR}")
+write_basic_package_version_file("${JPEG_VERSION_CONFIG}"
+  VERSION ${PROJECT_VERSION}
+  COMPATIBILITY SameMajorVersion)
+export(EXPORT ${TARGETS_EXPORT_NAME}
+  FILE ${JPEG_TARGETS_CONFIG})
+
+install(FILES ${JPEG_PROJECT_CONFIG} ${JPEG_VERSION_CONFIG}
+  DESTINATION ${JPEG_CONFIG_INSTALL_DIR})
+install(EXPORT ${TARGETS_EXPORT_NAME}
+  DESTINATION ${JPEG_CONFIG_INSTALL_DIR})
diff -Nru a/cmake-config.in b/cmake-config.in
--- a/cmake-config.in	1970-01-01 01:00:00.000000000 +0100
+++ b/cmake-config.in	2022-03-08 21:00:20.642490548 +0100
@@ -0,0 +1,4 @@
+@PACKAGE_INIT@
+
+include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_FILENAME@")
+check_required_components("@PROJECT_NAME@")

All the previously installed files are still installed the same way and to the same paths.
I only additionally install a CMake package config into lib/cmake/libjpeg/.
This allows users to find the package using CMake's find_package function.

I think I was involved in the original development of this patch. We did so since there was no MSVC support in jpeg and using cmake to do this seemed easiest, although I am definitely no expert in using it. @isuruf may have some thoughts?
My main concern with this is that it is only for Windows. Linux and OSX won't be improved by this patch - I think we should try to keep the platforms as similar as possible although I'm happy to be overruled.

@kuepe-sl does #36 address this problem? I think cmake has pkg_config support.

Sorry for the late reply.
Yes, the pkg-config files solve the problem.
I confirmed that GStreamer's install process can locate the jpeg library using pkg-config.


Transfer learning

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2242. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

To contributor, We have used 'Signed-off-by:' notation by default to handle the license issues, that result from contributors. Note that 'Is there a Signed-off-by line?' is important because lawyers tell us we must have to it to cleanly maintain the open-source license issues even though it has nothing to do with the code itself.

We generate a report if there are dangerous coding constructs in your code. Please read http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2242-202307071249220.30176997184753-6d4db1211887ce5520b29b0f73f0f70047444506/report/.

To contributor, We have used 'Signed-off-by:' notation by default to handle the license issues, that result from contributors. Note that 'Is there a Signed-off-by line?' is important because lawyers tell us we must have to it to cleanly maintain the open-source license issues even though it has nothing to do with the code itself.


[bug] hub install in notebook does not install validator dependencies

Describe the bug
If you install a validator inside a notebook with the latest version of guardrails v0.4.3, the validator's dependencies do not get installed.  This behaviour does not occur if the installation is performed from a terminal.
To Reproduce
Install any validator that has additional dependencies from inside a notebook:
i.e. !guardrails hub install hub://guardrails/detect_pii
Expected behavior
The validator should be installed (it is), then it's dependencies should be installed (they are not).
Library version:
0.4.3

Addressed in: https://github.com/guardrails-ai/guardrails/pull/808


Allow EVM to delegate a chunk of execution

Augment EVM so that there's an option to delegate a part of a given ExecuteCode to a method. The amendments could be done in execute method and hold in the env of EVM. A check could be as simple as HasOverrides(pc) or similar so that if it's false it should move fast.
Interesting points:

https://github.com/NethermindEth/nethermind/blob/fe2b14e89a6b07767b460a0f509a5437af881093/src/Nethermind/Nethermind.Evm/VirtualMachine.cs#L808
https://github.com/NethermindEth/nethermind/blob/fe2b14e89a6b07767b460a0f509a5437af881093/src/Nethermind/Nethermind.Evm/VirtualMachine.cs#L781C33-L781C33

Plan of Action

[ ]  EvmState

[ ] introduce a method for checking whether delegation should occur (pass just PC as an argument)
[ ] introduce the method performing the execution (much wider signature)

so HasOverrides checks some store somewhere if the following sequence of opcode can be delegated to IL? since we will be only Jitting a portion of the bytecode wouldn't we need to know the pc to which we will return ? or the ig the store it self keeps track of that, ig makes sense

My thinking was: HasOverrides would be a simple fast check to whether the given PC is overwritten or not. On success, another call would be performed to delegate the actual call. It could return an increment of PC. This issue could be combined with others if needed


Unable to use the "--env" option on finch container run

Describe the bug
Cannot use --env option
Steps to reproduce
finch container run -it --rm --env="E=v" busybox env

Expected behavior
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TERM=xterm
HOME=/root
E=v

Screenshots or logs
Actual result
FATA[0000] unknown shorthand flag: 'e' in -e

Additional context
Note: Updated to Finch 1.1.2 -- error still present
As a test I ran nerdctl (installed via Rancher Desktop) and it worked as expected
$ nerdctl container run -it --rm --env="E=v" busybox env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
E=v
TERM=xterm
HOME=/root

To help debug the issue as quickly as possible, we recommend generating a support bundle with finch support-bundle generate and attaching it to this issue. This packages all Finch-related configs and logs into one file.
finch-support-20240222101339.zip

Thanks for the issue. The command works properly when you use finch run, but fails with finch container run:
$ finch run -it --rm --env="E=v" busybox env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
E=v
TERM=xterm
HOME=/root

$ finch container run -it --rm --env="E=v" busybox env
FATA[0000] unknown shorthand flag: 'e' in -e
FATA[0000] exit status 1

The --debug option shows improper ordering of nerdctl arguments, where -e argument is passed before the run command:
$ finch --debug container run -it --rm --env="E=v" busybox env
DEBU[0000] Creating limactl command: ARGUMENTS: [shell finch sudo nerdctl container -e E=v run -it --rm busybox env], LIMA_HOME: /Applications/Finch/lima/data
...

In the following code:
limaArgs = append(limaArgs, append([]string{nerdctlCmdName}, strings.Fields(cmdName)...)...)

var finalArgs []string
for key, val := range envVars {
	finalArgs = append(finalArgs, "-e", fmt.Sprintf("%s=%s", key, val))
}
finalArgs = append(finalArgs, nerdctlArgs...)
// Add -E to sudo command in order to preserve existing environment variables, more info:
// https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo/8633575#8633575
limaArgs = append(limaArgs, finalArgs...)

The environment variables (such as -e E=v) are appended first, followed by rest of the arguments. For most cases, such as finch run, this should be fine because run is used as the command appended before any arguments. However, for cases like finch container run, run is treated as another argument and appended after the environment variables.

Tested release 1.1.3
The original bug report is now fixed.
However as explained in the PR the following does not work
finch container run -it --rm -e "E=v" busybox echo -e "hello\tbye"

Thank you for this. Waiting for the next release to test

Tested with my original use case, now works.
Thank you


On the internal use of JavaScript in Docusaurus

How can I receive the data that I want to request from JS and display it in the code block?

This is better asked over Stack Overflow instead. You could ask on Stack Overflow and post the question link back here


Binary flang package for Linux

Hello @carlocab !
As discussed on Fortran Discourse, it would be very nice if a binary flang package for Linux can be made available so that it can be easily usable in GitHub Actions (with ubuntu-latest). There is a binary release available, but it is a bit old, dating back to March 2019. I understand that it will take quite some work to prepare such a package, but it will be much appreciated by the Fortran community. I look forward to seeing it when you find time to do so. Thank you very much!
Best regards,
Zaikun

Do you plan to use this only on GitHub Actions, or will you use it locally too?
The former is easy; the latter is what might require a little work (needed to guarantee portability).

Ok, I pushed some changes that should hopefully let me build a binary package for Linux. Let's see if it works.

Closed in c51927ed4cc72de0ed47091bb9bbbdfcd800bc2f. brew install carlocab/personal/flang should now work on GitHub Actions runners.

Sorry for the delayed reply. I confirm that it works with GitHub Acrtions. Excellent! Thank you very much for your efforts!


CUDA OOM error not caught with auto microbatching

When using device_train_microbatch_size="auto", I get a CUDA OOM memory error that is not caught but I believe it should be.
The _is_cuda_oom method in trainer/trainer.py detects CUDA OOM errors using if 'CUDA out of memory' in str(e).
It seems the error I got has the message CUDA error: out of memory, so is not caught by the _is_cuda_oom error.
I suspect this is dependent on CUDA version; it has worked on one system with v12.1 but failed on another with v12.4.
Potential fixes:

Change _is_cuda_oom to use if 'out of memory' in str(e)
Change _is_cuda_oom to check for both CUDA out of memory and CUDA error: out of memory.

Happy to open an MR for either of the above fixes.
Environment
Where it failed:
---- COMPOSER ENV ----

Collecting system information...
---------------------------------
System Environment Report
Created: 2024-06-12 14:14:28 UTC
---------------------------------

PyTorch information
-------------------
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.2
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.10.217-205.860.amzn2.x86_64-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.4.131
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: Tesla T4
Nvidia driver version: 535.183.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.1.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.1.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               48
On-line CPU(s) list:                  0-47
Vendor ID:                            GenuineIntel
Model name:                           Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
CPU family:                           6
Model:                                85
Thread(s) per core:                   2
Core(s) per socket:                   24
Socket(s):                            1
Stepping:                             7
BogoMIPS:                             4999.98
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke avx512_vnni
Hypervisor vendor:                    KVM
Virtualization type:                  full
L1d cache:                            768 KiB (24 instances)
L1i cache:                            768 KiB (24 instances)
L2 cache:                             24 MiB (24 instances)
L3 cache:                             35.8 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-47
Vulnerability Gather data sampling:   Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:          KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                   Mitigation; PTE Inversion
Vulnerability Mds:                    Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Vulnerable
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Vulnerable
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] onnx==1.16.1
[pip3] pytorch-ranger==0.1.1
[pip3] torch==2.3.0
[pip3] torch-optimizer==0.3.0
[pip3] torch-tb-profiler==0.4.3
[pip3] torchaudio==2.3.0
[pip3] torchlibrosa==0.1.0
[pip3] torchmetrics==1.3.2
[pip3] torchvision==0.18.0
[pip3] triton==2.3.0
[conda] Could not collect

Composer information
--------------------
Composer version: 0.22.0
Composer commit hash: None
Host processor model name: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
Host processor core count: 24
Number of nodes: 1
Accelerator model name: Tesla T4
Accelerators per node: 1
CUDA Device Count: 1

---- NVCC ----
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0

Where it worked:
---- COMPOSER ENV ----
Collecting system information...
---------------------------------
System Environment Report
Created: 2024-06-12 13:59:33 UTC
---------------------------------

PyTorch information
-------------------
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: 14.0.0-1ubuntu1.1
CMake version: version 3.24.1
Libc version: glibc-2.35

Python version: 3.10.14 (main, Apr 12 2024, 10:51:19) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.10.192-183.736.amzn2.x86_64-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: Tesla V100-SXM2-16GB
GPU 1: Tesla V100-SXM2-16GB

Nvidia driver version: 535.161.07
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.2
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             32
On-line CPU(s) list:                0-31
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
CPU family:                         6
Model:                              79
Thread(s) per core:                 2
Core(s) per socket:                 16
Socket(s):                          1
Stepping:                           1
CPU max MHz:                        3000.0000
CPU min MHz:                        1200.0000
BogoMIPS:                           4600.00
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx xsaveopt
Hypervisor vendor:                  Xen
Virtualization type:                full
L1d cache:                          512 KiB (16 instances)
L1i cache:                          512 KiB (16 instances)
L2 cache:                           4 MiB (16 instances)
L3 cache:                           45 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-31
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                 Mitigation; PTE Inversion
Vulnerability Mds:                  Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Meltdown:             Mitigation; PTI
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown

Versions of relevant libraries:
[pip3] flake8==7.0.0
[pip3] hs-infrastructure-flake8-plugins==0.2.0
[pip3] mypy==1.10.0
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] onnx==1.16.1
[pip3] pytorch-ranger==0.1.1
[pip3] torch==2.3.0
[pip3] torch-optimizer==0.3.0
[pip3] torch-tb-profiler==0.4.3
[pip3] torchaudio==2.3.0
[pip3] torchlibrosa==0.1.0
[pip3] torchmetrics==1.3.2
[pip3] torchvision==0.18.0
[pip3] triton==2.3.0
[conda] Could not collect

Composer information
--------------------
Composer version: 0.22.0
Composer commit hash: None
Host processor model name: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
Host processor core count: 16
Number of nodes: 1
Accelerator model name: Tesla V100-SXM2-16GB
Accelerators per node: 1
CUDA Device Count: 2

---- NVCC ----
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Mon_Apr__3_17:16:06_PDT_2023
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0

@JAEarly thanks for flagging this! I would prefer option (2), which is a bit more explicit. We'd love a PR

@JAEarly thanks for flagging this! I would prefer option (2), which is a bit more explicit. We'd love a PR

Please see https://github.com/mosaicml/composer/pull/3400

Closing as merged in https://github.com/mosaicml/composer/pull/3400


Too verbose logging in func checkVolumesForMigration

Is this a BUG REPORT or FEATURE REQUEST?:
/kind enhancement
Logs are pretty chaty:

{"component":"virt-handler","kind":"","level":"info","msg":"VMI is in phase: Running | Domain status: Running, reason: Unknown","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:1549","timestamp":"2022-02-09T22:18:06.735227Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk0 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:06.742091Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk1 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:06.742131Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"VMI is in phase: Running | Domain status: Running, reason: Unknown","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:1549","timestamp":"2022-02-09T22:18:07.742299Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk0 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:07.749615Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk1 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:07.749666Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"VMI is in phase: Running | Domain status: Running, reason: Unknown","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:1549","timestamp":"2022-02-09T22:18:08.749789Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk0 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:08.757559Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}
{"component":"virt-handler","kind":"","level":"info","msg":"migration is block migration because of disk1 volume","name":"testvmi-nm8f2","namespace":"kubevirt-test-default1","pos":"vm.go:2213","timestamp":"2022-02-09T22:18:08.757599Z","uid":"d764dfa9-dd31-46e9-be3a-dd355e6f976e"}

The source is this line
log.Log.Object(vmi).Infof("migration is block migration because of %s volume", volume.Name)
What happened:
What you expected to happen:
I expect to print this only the first time or on change(hotplug and so on).
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/reopen
I am not sure this was addressed will have a look this week.

/reopen
I am not sure this was addressed will have a look this week.
/remove-lifecycle rotten.

/reopen
/remove-lifecycle rotten

/good-first-issue

/label good-first-issue

/assign


Asking for permission cause the intro not slide

I don't know why but whenever I add ask permissions in the activity, and I launch the application I can't go to the next slide by swiping the screen, but I have to press the arrow key and this is the only way I can get to the next slide

@Andrew-Quebe This needs to be added to the README in bold in the permissions section.
@mohamed-elsabagh Swiping is disabled when requesting permissions.
Note: There was a comment on how to address this behavior on a prior discussion but I'm not sure if it went anywhere after that.


Are dropdowns with checkboxes possible?

Something like this (first result from google):
https://codepen.io/elmahdim/pen/hlmri
That is, I'm looking for kinda the opposite of https://react.semantic-ui.com/modules/dropdown#dropdown-example-multiple-selection
So the items would be checked but the display text shown when collapsed would never change.
Is this possible with the existing library?

@levithomason Isn't it an option to have this in Semantic-UI-React? We could have an option that we could keep the items when selected and display the checkbox. I can make a PR for this feature. Let me know if there is any other place to track new features like this.

Hi, @hugomn @panpingo did you guys manage to get react-semantic dropdowns with checkboxes ? any solution for that ?

HI @piyushkathayat! I have a local version of SUIR dropdown working with checkbox and multi-levels. I was planning to push it to our SUIR fork, but I'm not sure if that will be merged, because it's not on the official SUI specs and they are now planning SUIR v2.0 that will be totally independent of CSS frameworks. I'm waiting for @levithomason advice here to understand the best way to proceed.

@hugomn looks cool. nice work. Thanks. lets wait for @levithomason comments.

any news on this?

Any news on this?

It seems like dropdowns with multiple selection won't be part of Semantic-ui specs. 🤷🏻♂

Well that's too bad :(

It seems like dropdowns with multiple selection won't be part of Semantic-ui specs. 🤷🏻♂

How about packaging this as a separate package?

@hugomn could you share with us this menu version with multi-levels and checkboxes? It is just what I need.

@hugomn would you mind in sharing your code of this menu version with multi-levels and checkboxes?

Even though the issue is closed, it makes sense to provide everyone with a working example. This works for me:
<Dropdown item simple text="Select...">
  <Dropdown.Menu>
    <Dropdown.Item>
      <Checkbox label="Choice one" />
    </Dropdown.Item>
    <Dropdown.Item>
      <Checkbox label="Choice two" />
    </Dropdown.Item>
  </Dropdown.Menu>
</Dropdown>

However, some additional CSS is required to fix labels width and to make the list scrollable.
Here is also a CodeSandbox with some interaction: https://codesandbox.io/s/semantic-ui-dropdown-checkboxes-kxvq0

    scope.getLabel = function (item) {         return '<input type="checkbox">' + item;     };
<sm-dropdown  items="property.values"                          label="getLabel(item.value)"                          value="item.value"                          />
I managed to do it in this way, in my angularJs project.
Maybe, it will help..


[docs] False statement about Next.js support

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[x] This is a related to documentation only 📃
[x] I am running the latest version
[x] I checked the documentation regarding this
[x] I checked to make sure that this request has NOT already been made

Description
As of now, this line in documentation should be removed:

It's just false statement. Library not only incompatible with latest Next 13.4, but any other as well.
There are some window. calls in
AuthProvider.defaultProps = {
  cookieDomain: window.location.hostname,
  cookieSecure: window.location.protocol === 'https:',
};

After fixing that in local copy, there are next challange:

That doesn't seems like next.js support (using Next.js 13 with plain old pages directory, no App Router).
Also rollup as for now does not support 'use client' directives which means no support for Next.js 13 App Router in nearest future.
Though this could be a great library for specific needs like admin areas or so (for anything bigger there is NextAuth).
My Suggestion either to provide a full Next.js support, or remove this line from documentation, because for now it produces many question in project issues.

@ForeshadowRU You are right. I had never gotten the time to test the next JS comfortability. My thought process was straightforward, both are based on React JS, so there shouldn't be any problem. I'll see, what next step I can take. Thanks!

@ForeshadowRU You are right. I had never gotten the time to test the next JS comfortability. My thought process was straightforward, both are based on React JS, so there shouldn't be any problem. I'll see, what next step I can take. Thanks!

@darkmatter18 any update ? and does this lib support next.js in future ?


Claude 3 Sonnet model doesn't require temperature, Top P, Top K input parameters

Hi Team,
I noticed in sample examples that Claude v3 Sonnet FM doesn't allow users to pass temperature, Top P and Top K parameters to control the randomness/hallucinations (driven by temperature field) and repetitiveness of words etc. Is that assumption correct ?

@sunnygoel87 Hello! All of our models support these parameters. Please see the API reference here.


Backfill entity_type in evaluation_rule_entities

[Left in draft pending the production deploy of #3980]
This backfill this column and makes it non nullable. The DB query used for listing evaluation history is also changed to use this column.
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[x] Checked that related changes are merged.

coverage: 54.313% (+0.002%) from 54.311%
when pulling 5310b7a114d38be73412936c6d7c1e237f4c8c7b on migrate-entity-type
into 211f5f3fdd0c83969a8b452319b51f8e277f5568 on main.


Creating a Cookie based authentication

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[x] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

I am looking to integrate Cookie based authentication in my FastAPI App. I want the same to work seamlessly with swagger as well.
I want to have a route (eg: /login) which sets my browser cookies. All other protected route uses Depends in the decorator to verify the key present in cookie. How do I get this to work with OpenAPI authorize button?

hi have a look at this https://medium.com/data-rebels/fastapi-how-to-add-basic-and-cookie-authentication-a45c85ef47d3
hope it helps.

hi have a look at this https://medium.com/data-rebels/fastapi-how-to-add-basic-and-cookie-authentication-a45c85ef47d3
hope it helps.

Hey,
Thanks for this. I will try this out and give an update.

Hi 👋🏾
In a slightly broader scope, you can also use FastAPI-Users for what you want to do. https://frankie567.github.io/fastapi-users/


CB.Image and CB.ImageView

These two classes should be used for image displaying

Basic feature added.


chore(package): update @rollup/pluginutils to version 3.0.9

Coverage remained the same at 100.0% when pulling 0f6c66f0900d13b7041fd3fe7b938bf6007982d3 on<EMAIL_ADDRESS>into 309098be73275485ff09b25a345597918691d9f7 on master.