Must use "http" prefix (--insecure-registry http://example.com:5000) with docker 1.5?

I tried setting  EXTRA_ARGS="--insecure-registry <IP_ADDRESS>:5000" in /var/lib/boot2docker/profile but could not get past the below error until I made it --insecure-registry http://<IP_ADDRESS>:5000. The error message does not indicate http:// is required and I think this worked in docker 1.4.1.
$ docker login -u ${USER} -p secret -e<EMAIL_ADDRESS>http://<IP_ADDRESS>:5000
FATA[0004] Error response from daemon: v1 ping attempt failed with error: Get https://<IP_ADDRESS>:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry <IP_ADDRESS>:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/<IP_ADDRESS>:5000/ca.crt

But although that allowed docker login to work, I still get the same error on docker push:
$ docker tag s3ql <IP_ADDRESS>:5000/s3ql
$ docker push <IP_ADDRESS>:5000/s3ql
FATA[0004] Error: v1 ping attempt failed with error: Get https://<IP_ADDRESS>:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry <IP_ADDRESS>:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/<IP_ADDRESS>:5000/ca.crt

Do private docker registries really have to be https now?

Are you sure you were previously able to use authentication over plain http?
cc @shin- on this but I'm pretty sure auth+plain-http never was supported.

Hi, I can confirm this, as I've just run into the exact same problem.
Prior to upgrading to 1.5, I had EXTRA_ARGS="--insecure-registry <IP_ADDRESS>:5000" in /etc/sysconfig/docker and this worked. Post the upgrade I get the same FATA[00040] Error.
I changed the entry to -> EXTRA_ARGS="--insecure-registry http://<IP_ADDRESS>:5000" in /etc/sysconfig/docker, restarted and its working again.
I'm running this on Cent OS 6.5

cc @tibor @dmcgowan

Same here.

Hi,
I am on Docker 1.5 running on CoreOS -- and I am NOT experiencing this problem, another one, yes, but not this one.
I am launching docker with:
ExecStart=/usr/lib/coreos/dockerd --daemon --insecure-registry=<IP_ADDRESS>:5000 --host=fd:// $DOCKER_OPTS $DOCKER_OPT_BIP $DOCKER_OPT_MTU $DOCKER_OPT_IPMASQ
(no http://) and I am able to connect to my registry without any certificate errors - perhaps the fact I'm using the = sign changes something..? Haven't reviewed the code to know.

Same issue here.

Same issue here.

ping @tiborvass
Is there documentation about that and/or info about whether the syntax changed?

@dmp42 not that I know of. I must say I didn't know people could use the prefix, I thought it was only the hostname. I'll look into it.

I have the same issue, if I have the extra arguments:
--insecure-registry hostname.goes.here:5000
--insecure-registry http://hostname.goes.here:5000

it fails. If I change to:
--insecure-registry=hostname.goes.here:5000

It works.

Same problem here on my boot2docker after changing /var/lib/boot2docker/profile
EXTRA_ARGS="--insecure-registry=http://:5000"
i can login... but I can't push and docker.log prints :

time="2015-04-09T21:07:02Z" level="debug" msg="Calling POST /images/{name:.*}/push"
time="2015-04-09T21:07:02Z" level="info" msg="POST /v1.17/images/:5000/helloworld/push?tag="
time="2015-04-09T21:07:02Z" level="info" msg="+job push(:5000/helloworld)"
time="2015-04-09T21:07:02Z" level="info" msg="+job resolve_repository(:5000/helloworld)"
time="2015-04-09T21:07:02Z" level="info" msg="-job resolve_repository(:5000/helloworld) = OK (0)"
time="2015-04-09T21:07:02Z" level="debug" msg="pinging registry endpoint https://:5000/v0/"
time="2015-04-09T21:07:02Z" level="debug" msg="attempting v2 ping for registry endpoint https://:5000/v2/"
time="2015-04-09T21:07:02Z" level="debug" msg="hostDir: /etc/docker/certs.d/:5000"
time="2015-04-09T21:07:02Z" level="debug" msg="attempting v1 ping for registry endpoint https://:5000/v1/"
time="2015-04-09T21:07:02Z" level="debug" msg="hostDir: /etc/docker/certs.d/:5000"
invalid registry endpoint https://:5000/v0/: unable to ping registry endpoint https://:5000/v0/
v2 ping attempt failed with error: Get https://:5000/v2/: tls: oversized record received with length 20527
 v1 ping attempt failed with error: Get https://:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registime="2015-04-09T21:07:02Z" level="info" msg="-job push(:5000/helloworld) = ERR (1)"
time="2015-04-09T21:07:02Z" level="error" msg="Handler for POST /images/{name:.*}/push returned error:  v1 ping attempt failed with error: Get https://:5000/v1/_ping: tls: oversized record received with length 20527. If this prtime="2015-04-09T21:07:02Z" level="error" msg="HTTP Error: statusCode=500  v1 ping attempt failed with error: Get https://:5000/v1/_ping: tls: oversized record received with length 20527.

It really seems that docker daemon doesn't consider http protocol on push command.
Log files doesn't print any attempt to connect to server using http. All tries are on https.
...

This issue has gotten very confusing, let me clarify what should be expected based on Docker 1.5.
docker login http://registryname will only work if insecure registry is set as --insecure-registry http://registryname.  However even though login works in this case (a value is set in config), http://registryname is never a valid argument for --insecure-registry since it only expects registry names as would be seen in an image name.  Subsequent actions to registryname/image will not be treated as insecure.  The correct use in this scenario is docker login registryname name paired with --insecure-registry registryname.  Then registryname/image will actually be treated as insecure and you will see http is attempted only after an https connection is failed to be established.
Now as @dmp42 mentioned, all this is rather pointless since Docker will never send your credentials over http, you must use https if you want to use basic auth.  You should see a message in the daemon logs or console that looks like "Docker will not send auth headers over HTTP" if an action is attempted on a registry which uses http and returns 401. Insecure can be used to respect self signed certificates though, this is the recommended solution.
The case of including = or not doesn't seem to be an issue in my testing, not sure what is going on there.
If the behavior I described is not desired or causing your problems, I would suggest opening up an issue or proposal on the engine to change it. Sending credentials over http has already been discussed at length but here is an example of such an issue https://github.com/docker/docker/issues/9570.

I guess one scenario is using corporate LDAP with Docker. I need to disable all the authentication in Docker, and let all the operations fall through and use a different layer that deals with AAA.  This guy wanted something similar:
http://stackoverflow.com/questions/29172678/connecting-docker-container-to-corporate-ldap-server-through-ssl

I'm running in to this issue as well. Is it necessary that --insecure-registry be passed to the daemon at start time? Or can you pass it to the command itself? For example:
docker --insecure-registry registry.host:5000 pull registry.host:5000/image

I can't get the above command to work. Any ideas?

On Ubuntu 14.10, I used "... --insecure-registry <IP_ADDRESS>:5000" and it worked.
On Ubuntu 14.04.2 LTS (trusty) using DOCKER_OPTS="$DOCKER_OPTS --insecure-registry=<IP_ADDRESS>:5000" solved the problem.
Docker version and build are the same:
    $ docker -v
    Docker version 1.6.0, build 4749651

This information was helpful with same issue in Windows boot2docker.

debian with docker 1.6.2 -- working for me is -->
BOTH server hosting registry and node trying to push to it:
DOCKER_OPTS="--insecure-registry=<IP_ADDRESS>:5000"

[root@docker ~]# rpm -qa | grep docker
docker-1.7.1-115.el7.x86_64
[root@docker ~]# docker --insecure-registry=ldap.kartikv.com.com:5001 login https://ldap.kartikv.com:5001
Username: testuser
Password:
Email:
Error response from daemon: invalid registry endpoint https://ldap.kartikv.com:5001/v0/: unable to ping registry endpoint https://ldap.kartikv.com:5001/v0/
v2 ping attempt failed with error: Get https://ldap.kartikv.com:5001/v2/: dial tcp <IP_ADDRESS>:5001: connection refused
v1 ping attempt failed with error: Get https://ldap.kartikv.com:5001/v1/_ping: dial tcp <IP_ADDRESS>:5001: connection refused. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add --insecure-registry ldap.kartikv.com:5001 to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/ldap.kartikv.com:5001/ca.crt
Please help

Trust the certificate at the os level.

That worked! Thank you for your invaluable advise.
Is there a way to get a web page describing all the images in the private registry?
I followed this to create the private registry:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04

I am facing the same issue as @pilerou . Is there a fix?

Here are some instructions to install docker private registry in a
container:
[root@docker registry]# cat >/etc/yum.repos.d/docker.repo <<-EOF
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
yum install docker-engine
systemctl enable docker.service
systemctl start docker.service
docker run -d -p 5000:5000 --name kartiksregistry registry:2
docker ps
docker pull busybox
docker images
docker tag busybox localhost:5000/kartiksbusybox
docker images
docker push localhost:5000/kartiksbusybox
docker ps
docker stop kartiksregistry && docker rm kartiksregistry
[root@docker ~]# cat /etc/sysconfig/docker
/etc/sysconfig/docker

Other arguments to pass to the docker daemon process
These will be parsed by the sysv initscript and appended
to the arguments list passed to docker daemon
other_args=""
DOCKER_OPTS="--insecure-registry=localhost:5000"
[root@docker ~]#
systemctl restart docker
docker images
mkdir /root/registry
cd /root/registry
[root@docker registry]# cat docker-registry.sh
#!/bin/bash
docker run -d -p 5000:5000
-v /registry:/var/lib/registry
--restart=on-failure
--name docker-registry-v2
registry:2
[root@docker registry]#
[root@docker registry]# cat docker-registry-web.sh
#!/bin/bash
docker run -d -p 8080:8080
-e REGISTRY_HOST=<IP_ADDRESS>
-e REGISTRY_PORT=5000
-e REGISTRY_AUTH="ZkpyOTVLZmhDaQ=="
--restart=on-failure
--name docker-registry-web
hyper/docker-registry-web
[root@docker registry]#
another method using docker compose
yum install epel-release
yum install -y python-pip
pip install -U docker-compose
docker stop $(docker ps -q)
docker rm $(docker ps -aq)
[root@docker registry]# cat docker-registry.yml
registry:
restart: always
image: registry:2
ports:
- 5000:5000
environment:
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /var/lib/registry
volumes:
- /registry:/var/lib/registry
container_name:
docker-registry-v2
web:
restart: always
image: hyper/docker-registry-web
ports:
- 8080:8080
links:
- registry
environment:
REGISTRY_HOST: docker-registry-v2
container_name:
docker-registry-web
[root@docker registry]#
docker-compose -f docker-registry.yml up -d
On Wed, Nov 4, 2015 at 4:12 PM, Shriram Sharma<EMAIL_ADDRESS>wrote:

I am facing the same issue as @pilerou https://github.com/pilerou . Is
there a fix?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker-registry/issues/936#issuecomment-153885621
.

People, this here "docker-registry" is deprecated - if you are using registry:2 (and you should) please ask for support on forums or irc (#docker-distribution).
If you have actual bugs, please report them to https://github.com/docker/distribution
Also, there is comprehensive documentation including getting started in two lines over here: http://docs.docker.com/registry/deploying/
Closing this since this ticket is getting really messy.


How to add a filesystem

@cfenollosa @ss18 @sapsaldog @wellingguzman @alhaad
How would I add a filesystem to this os. I ave been reading the os the os dev wiki the FAT file system is the easiest on to add! But i don't know how to add it to this os

It isn't so simple clearly to be explained here, but there are lots of resources related to this. I recommend you to research and read books more though.
Basically, a filesystem is a tool to determine how to read and save data by using a disk.
You need to integrate your code with a disk device driver, the filesystem you choose, and commands(or API) related to this.
The simpler version of your filesystem can be by using only memory (like memory disks) instead of disk-related things.

@sapsaldog I know what a filesystem dose, but I dont know how to code one in

No offences, but I don't think there is someone who willing to teach this every detail at least on Github. Hope you find your answer.

thank you, also i did add a FizzBuss "command" to the shell

You need a disk driver first. Then you can start implementing a specification.
here are some examples: https://github.com/qloader2/qloader2/tree/master/src/fs

ngl you could probably implement a tar fs in the same amount of lines as a fizzbuzz command


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit fc2b989:
:clock10: Pending: waiting for processors (21 builds ahead of you)
:warning: Docs Build is busy, currently there are 21 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit fc2b989:
:clock10: Full build: the average full build time is 5 min(s) 53 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit fc2b989:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/testing.md

[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.
[Warning] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Warning] Missing attribute: title.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add AirSend to tools.

Hello!
I'm part of CodeLathe, a company that build amazing products such as FileCloud, we would love to have our most recent app AirSend listed on this project.
AirSend is a simple collaboration tool that features fantastic Markdown support.
Thanks in advance!

Great, thank you.


Attach Evaluation Report to Email

[ ] When user creates an evaluation the email they receive should have the evaluation report attached

Verify as part of regression testing

Not sure if this issue is related to this ticket, but feedback emails are not being sent if an evaluation includes Test Extension/Exemption records. This issue does not occur in the staging environment.

Not sure if this issue is related to this ticket, but feedback emails are not being sent if an evaluation includes Test Extension/Exemption records. This issue does not occur in the staging environment.

@lgiannini1 Can you test this in dev?  Please test once for each type of data (MP, QA - including test, extensions, and exemptions, EM).
Please document your tests and results as a comment on this ticket.
If testing is not 100&% successful on dev, please leave this ticket in In Development.
If testing is 100% successful on dev, please move this ticket to Ready for QA and retest on test.

Evaluation emails sent with an attachment for:

MP evaluation
QA Test evaluation
QA Cert Event evaluation
EM evaluation

Evaluation email sent with no attachment for:

MP evaluation with critical errors

Evaluation email did not send for:

Test Extension/ Exemption evaluation

This ticket #5954 should be deployed to test and a requirements meeting needs to be scheduled to gather the Eval Report requirements and generate tickets the appropriate tickets.
Also, this ticket #5954 is related to ticket #5894. The three error messages should still be checked with ticket #5954 is pushed into test:

If any errors occur while generating any report:

display "An error has occurred therefore a report cannot be generated at this time. Please check back later or contact support."

If the reportCode contains "EVAL" and the evaluation status is "Pass":

display "Evaluation has passed without errors"

If the reportCode contains "EVAL", evaluation status is NOT "Pass", and no errors:

display "Evaluation is old or expired and error data is no longer available"

Discussed with EPA on 4/11/24. Leaving this ticket open to resolve these issues:
Evaluation email sent with no attachment for:

MP evaluation with critical errors

Evaluation email did not send for:

Test Extension/ Exemption evaluations

We will also be updating the email/attachment text via #6080.

I cannot reproduce the first issue: evaluations of MPs with critical errors results in an email w/ attachment for me.
I have opened a PR with the fix for the second issue, but it won't be possible to test it in DEV until the CDX bypass is removed, because the "to" email address is provided by CDX.

Need to verify if this is still an issue.

Blocked by #5986

Verified that evaluation reports are sent with an attachment for all data types using ORIS 628, 2GTA and ORIS 6137, 3

Tested and looks good to me.


Unused gulp dependency added to package.json when Webpack is chosen

What happened?
package.json has reference to "gulp-concat": "^2.6.1" even though it is not used when Webpack has been chosen
What should've happened instead?
No reference to gulp-concat at all when using Webpack
Additional details
Host system configuration:
    Cookiecutter 2.1.1
    Ventura 13.5
    Python 3.11.4
    Docker version 24.0.2, build cb74dfc
    Docker Compose version v2.19.1

Good catch! For anyone who wants to contribute to the project, the value should be added here:
https://github.com/cookiecutter/cookiecutter-django/blob/master/hooks/post_gen_project.py#L182-L192

Tks, will directly send a pull request next time then👍🏼On 11 Aug 2023, at 15:02, Bruno Alla @.***> wrote:
Good catch! For anyone who wants to contribute to the project, the value should be added here:
https://github.com/cookiecutter/cookiecutter-django/blob/master/hooks/post_gen_project.py#L182-L192
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Llama3.1 models do not allow configuring max_seq_len

Llama 3.1 model builders hardcode the max context length, even though the component builders allow specifying it:

Llama 3.1 8B
Llama 3.1 70B
Llama 3.1 405B
Llama 3.1 8B LoRA
Llama 3.1 70B LoRA
Llama 3.1 405B LoRA

And since the QLoRA versions also use these, it affects that too. This prevents anyone from specifying the model's max_seq_len from a config or CLI. E.g. this config will throw an error:
output_dir: /tmp/torchtune/llama3_1_8B/lora # /tmp may be deleted by your system. Change it to your preference.
max_seq_len: 8192

# Tokenizer
tokenizer:
  _component_: torchtune.models.llama3.llama3_tokenizer
  path: /models/meta-llama/Llama-3.1-8B-Instruct/original/tokenizer.model
  max_seq_len: ${max_seq_len}

# Model Arguments
model:
  _component_: torchtune.models.llama3_1.lora_llama3_1_8b
  lora_attn_modules: ['q_proj', 'v_proj', 'output_proj']
  apply_lora_to_mlp: True
  apply_lora_to_output: False
  lora_rank: 8  # higher increases accuracy and memory
  lora_alpha: 16  # usually alpha=2*rank
  lora_dropout: 0.0
  max_seq_len: ${max_seq_len}

[rank4]: Traceback (most recent call last):
[rank4]:   File "/torchtune/recipes/lora_finetune_distributed.py", line 938, in <module>
[rank4]:     sys.exit(recipe_main())
[rank4]:   File "/torchtune/torchtune/config/_parse.py", line 99, in wrapper
[rank4]:     sys.exit(recipe_main(conf))
[rank4]:   File "/torchtune/recipes/lora_finetune_distributed.py", line 932, in recipe_main
[rank4]:     recipe.setup(cfg=cfg)
[rank4]:   File "/torchtune/recipes/lora_finetune_distributed.py", line 272, in setup
[rank4]:     self._model = self._setup_model(
[rank4]:   File "/torchtune/recipes/lora_finetune_distributed.py", line 453, in _setup_model
[rank4]:     model = config.instantiate(cfg_model)
[rank4]:   File "/torchtune/torchtune/config/_instantiate.py", line 112, in instantiate
[rank4]:     return _instantiate_node(OmegaConf.to_object(config), *args)
[rank4]:   File "/torchtune/torchtune/config/_instantiate.py", line 33, in _instantiate_node
[rank4]:     return _create_component(_component_, args, kwargs)
[rank4]:   File "/torchtune/torchtune/config/_instantiate.py", line 22, in _create_component
[rank4]:     return _component_(*args, **kwargs)
[rank4]: TypeError: lora_llama3_1_8b() got an unexpected keyword argument 'max_seq_len'

In my workload, and I'm sure for others as well, I need to specify the context length differently.

@felipemello1 yes I understand that, however the transformer implementation does throw an error if it gets a seq_len longer than it was expecting from init. I've run into this when e.g. training Llama 3.1 405b LoRA with tokenizer.max_seq_len = 16384; if you don't specify in the model config as well it by default expects max_seq_len = 8192. Especially pertinent with data packing.
This is an example config that I've been using to ensure the tokenizer & model both produce/expect the same thing
max_seq_len: 16384

# Tokenizer
tokenizer:
  _component_: torchtune.models.llama3.llama3_tokenizer
  ...
  max_seq_len: ${max_seq_len}

# Model Arguments
model:
  _component_: torchtune.models.llama3_1.lora_llama3_1_405b
  ...
  max_seq_len: ${max_seq_len}

Let me know if this explains what I'm running into, or if I can clarify further :)

Oh, i see! Ok, there is a deeper problem that we set max_seq_len for 405B as 8k, which is wrong. The model was trained for >131k. Thanks for raising it.
I left a comment in your PR (https://github.com/pytorch/torchtune/pull/2203/files): Lets just update the docstring and I will approve it. By the way, should you try llama 3.3 70B? It has better or equivalent performance to 405B.

@ebsmothers , can you sanity check that its wrong that we set max_seq_len to 8k? https://github.com/pytorch/torchtune/blob/aa8f365f91a69aa36aaea14cf6f03ccd45310bb6/torchtune/models/llama3_1/_model_builders.py#L239C9-L239C26


Add numSubscribers to app

Pull Request
Is you/your team sponsoring this project

[ ] Yes
[x] No

If your team sponsoring this project, please attach here your team lead or who purchased license GitHub login
What you changed

[x] Code changes
[ ] Tests changed
[ ] Typo fixes

If you change code, tests should be passed
Note

Your every change to feature/code should be documented
📝 Documentation fixes should be filled here
🔗 Middlewares fixes should be filled here

Hi @Najsar
thank you for contributing. can you please add comment to using semantic-release commit styleguide to trigger CI release a new build?

Hi @dalisoft
Done, is that ok?


Adjust POST /requests spec

current state is at
http://docs.accountjsonapi.apiary.io/#reference/requests/request-collection/create
source is here:
https://github.com/hoodiehq/account-json-api/blob/master/apiary.apib#L725

[ ] start a PR
[ ] Add 201 response: links.self is optional. If no resource is persisted in the database, it will not be set
[ ] specify a response if request handler is not implemented (403 maybe)?
[ ] review & merge

As discussed with @gr2m, we'll always return links.self but until the persistence layer for requests is implemented, GET /requests/<request_id> will return 404.

[ ] Add 201 response: links.self is optional. If no resource is persisted in the database, it will not be set


18 create projects page (frontend)

I decided to push the frontend part of this page and now start working in the backend. I hope everything is ok

LGTM let me know if I can help with the backend part

I'm pretty sure I will need some help, so I will let you know. thanks for your offer


Importing issue of xarray when using numpy 1.21

After installing numpy v1.21, I have a problem importing xarray 0.18.2 in python3.7.9. This problem does not occur using numpy v1.20.3.
Steps to reproduce:
Numpy and xarray libraries are installed using pip3 install
Error message:
Python 3.7.9 (default, Apr 30 2021, 20:11:56)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-12)] on linux
Type "help", "copyright", "credits" or "license" for more information.
        import xarray
        Traceback (most recent call last):
        File "", line 1, in
        File "/home/rainbow/.local/lib/python3.7/site-packages/xarray/init.py", line 3, in
        from . import testing, tutorial, ufuncs
        File "/home/rainbow/.local/lib/python3.7/site-packages/xarray/testing.py", line 8, in
        from xarray.core import duck_array_ops, formatting, utils
        File "/home/rainbow/.local/lib/python3.7/site-packages/xarray/core/duck_array_ops.py", line 16, in
        from . import dask_array_compat, dask_array_ops, dtypes, npcompat, nputils
        File "/home/rainbow/.local/lib/python3.7/site-packages/xarray/core/npcompat.py", line 81, in
        from numpy.typing import ArrayLike, DTypeLike
        File "/home/rainbow/.local/lib/python3.7/site-packages/numpy/typing/init.py", line 315, in
        from ._shape import _Shape, _ShapeLike
        File "/home/rainbow/.local/lib/python3.7/site-packages/numpy/typing/_shape.py", line 15, in
        _ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]]
        File "/usr/lib64/python3.7/typing.py", line 254, in inner
        return func(*args, **kwds)
        File "/usr/lib64/python3.7/typing.py", line 634, in getitem
        params = tuple(_type_check(p, msg) for p in params)
        File "/usr/lib64/python3.7/typing.py", line 634, in
        params = tuple(_type_check(p, msg) for p in params)
        File "/usr/lib64/python3.7/typing.py", line 142, in _type_check
        raise TypeError(f"{msg} Got {arg!r:.100}.")
        TypeError: Parameters to generic types must be types. Got NotImplemented.

What happens if you write from numpy.typing import ArrayLike, DTypeLike without using Xarray at all? This looks a like it may be a NumPy installation issue, not directly related to Xarray.

It is indeed a Numpy issue that occurs with python 3.7. I have posted the same issue on https://github.com/numpy/numpy/issues/19310.
Quote:
"A fix for the issue is currently up at #19311 and should be in the next release.
In the meantime there two possible ways of remedying the situation:
Upgrade to python >=3.8.
Install typing-extensions.

"

Thanks @TiemoMathijssen . Closing this


Can't display any text on Chinese language Windows and crashes

Describe the bug
This bug makes Supermium completely unable to function properly in Simplified Chinese language Windows!(Since Version 124R2)
To Reproduce
Steps to reproduce the behavior:

Install a Windows with Chinese(Simp) language.
Install Supermium on this OS (Step 1).
Run Supermium.

Expected behavior
You will see that any text on the webpage cannot be displayed properly and will crash in a short period of time.
This issue has not been fixed since version 124R2 and we hope to resolve it as soon as possible!(Version 124R1 is functioning properly.)
Desktop

OS: Windows 7 SP1 with Update Jan 2023 Monthly Rollup (6.1.7601.26321)
Both IA-32 Based and AMD64 Based version Supermium.

Does it work if dwrite.dll is renamed/removed? There was a bug with displaying Latin characters in some Chinese fonts which I had fixed previously. Anyway, I will patch dwrite to work with newer Chinese Windows.

Does it work if dwrite.dll is renamed/removed? There was a bug with displaying Latin characters in some Chinese fonts which I had fixed previously (but on Windows XP). Anyway, I will patch dwrite to work with newer Chinese Windows.

I will test this operation in the next few days and inform you of the results. I hope this issue can be resolved as soon as possible, not just limited to newer Windows.

Does it work if dwrite.dll is renamed/removed? There was a bug with displaying Latin characters in some Chinese fonts which I had fixed previously (but on Windows XP). Anyway, I will patch dwrite to work with newer Chinese Windows.

Supermium is OK after I removed “dwrite.dll”
It looks like that's the problem are.

After installing the January 2023 rollup, DWrite was still functional, but fonts were in GDI compatiblity font rendering mode, with both English and Simplified Chinese UI (and websites in both languages). However, DirectWrite began to throw exceptions with the Noto Color Emoji font installed, but in my case the browser itself did not crash. Is this or any other similar font installed? I am going to make another patch that should eliminate the exceptions that occur when that font is in use on such a system.

Not only Jan 2023 Monthly Rollup, I use UpdatePack7R2-23.2.4 to update my OS to 6.1.7601.26321, My PC installed both IA32-Based and AMD64-Based Windows and used this. this program includes KB2761217(Calibri Light), KB2729094-v2(Segoe UI for Windows7 Version IE11), and Internet-Explorer on my PC is upgraded (IE11).
visit https://blog.simplix.info you can see more infomation abot UpdatePack7R2.
I copy the "Segoe UI Emoji" Font from Windows10(10.0.18363) to my Windows7(6.1.7601), maybe Supermium use this font first.
I removed DWrite.dll and now Supermium Ver126R3 is OK.
At 2024-10-11 03:01:27, "Shane Fournier" @.***> wrote:
After installing the January 2023 rollup, DWrite was still functional, but fonts were in GDI compatiblity font rendering mode, with both English and Simplified Chinese UI (and websites in both languages). However, DirectWrite began to throw exceptions with the Noto Color Emoji font installed, but in my case the browser itself did not crash. Is this or any other similar font installed? I am going to make another patch that should eliminate the exceptions that occur when that font is in use on such a system.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Here is a test version of dwrite.dll:
dwrite.zip

Look like this file solved nothing……
At 2024-10-11 14:24:07, "Shane Fournier" @.***> wrote:
Here is a test version of dwrite.dll:
dwrite.zip
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


(PDOC-71) Workaround for spurious error failures

This patch catches and reports on issues that have occurred during YARD
processing of the data to be processed.
The issue itself is not resolved but this does provide you with as much
documentation as can be reasonably generated for your materials without
crashing the build.
This was the result of the Baltimore Puppet Users Group Meetup of 22
June 2016.

@hlindberg How would you feel about merging this into strings? It's a complete hack, but at least will stop strings from dying on that exception and allow it to produce as much documentation as possible

This is good to merge once the Exception class is changed to StandardError.

@hlindberg @HAIL9000 PR has been updated to catch StandardError and SystemStackError, the latter being what was destroying the parsing process.


Need ability add optional action header fields

In particular I want to use the “serve-from-zip” feature. In order to do this I need to append index-zip=1 to the end of the action header
It would be great if you could add this to the Python module. Preferably in a very generic implementation to cater for any other such requirements by other users.

@dineshdh Okay, I will add soon !

Fantastic. Thank you, much appreciated

Hi, @dineshdh
Update done !

update your package
$ pip install --upgrade netstorageapi

Use INDEX_ZIP
upload(local_source, ns_target, True)

please be aware that INDEX_ZIP supports only for FileStore
Thanks !


Please invite me to the GitHub Community Organization

Name
Khushi Marothi
Discord Username (if applicable)
khushi_marothi#5182
Additional Context
It will provide me a platform to connect with diverse group of people.

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


Session Service and Event Service should be enabled according authentication mode

Event Service should not be enabled in "session" mode.
Session Service should not be enabled in "conf" mode.

Closes #438

Coverage increased (+0.2%) to 91.363% when pulling 1fd129d1d9fbae76ec8d7838d3220381c52d4758 on feature/event_service_and_session_service into 470c86cb5fc63df48fd260c4f16bdd96a21ced98 on master.


update scheduler.JSON file

support scan windows with a array of scanIDs
EX:
{
"scans": [
{scanID: "0000000", "start_scan_window": "100920190028", "end_scan_window": "000000000"},
{scanID: "0000000", "start_scan_window": "100920190028", "end_scan_window": "000000000"}
]
}

done


When using s(): AttributeError: module 'numpy' has no attribute 'int'.

When I try to use a spline term through s(), I get the following error message:
AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

i thought this was fixed in pygam v0.9.0!
which version of pygam are you using?
can you please run
import pygam
pygam.__version__

Oh, seems like I am using 0.8.0. I just ran "pip install pygam" and did not check which version it installed. Because I'm running Python Python 3.12.1, it picked pygam 0.8.0.

Ok! i will add python 3.12 to the build tests to ensure that it works. this will require publishing a new release...
in the mean time. if you can use and older version of python, like 3.11, then you can already install pygam v0.9.0


Serial Port Console

Hi
Thanks a lot for your great work. I have a little question, is it possible to use tcell over a serial port? Can I set the screen in and out to "/dev/ttyS0"?
Best regards,
snmed

@snmed Were you ever to get tout tcell based application working over a serial console ? I am facing the same issue right now. Thanks.

What issue?  Are you not getting output?
I'd pay particular attention to serial line settings (e.g. baud rate, stop bits, parity).
As far as tcell is concerned, you need to have set $TERM properly too.  There may be options available if you need to override that, but generally getty should be able to set that by default.

@gdamore serial console works great but when I start my Go application It shows nothing in serial console mode (works great over an SSH connection.
I believe I have found a fix by setting the tty size with stty rows 25 cols 60 and then starting my application via screen. I will report later on on the result of this.

Even with the stty and screen it's nowhere near as neet as in an ssh session:

vs

So... it maybe that your session is not 8-bit clean.  Those border characters are UTF-8.
Also, you might want to make sure that the locale is set to a UTF-8 locale -- that might be something you need to set up explicitly.

The other option is to explicitly set the locale to not UTF-8.  If you're using the views framework from tcell, then it should find fallback characters.  The double box characters are definitely not in  the range of safe ASCII, and displaying them means that both sides have to agree on UTF-8.

@gdamore  Ok so it was a terminal emulator software issue. I was using minicom which gave me the above results. I just tried using screen (command line is screen port baudrate for example screen /dev/ttyS0 115200 in my case) and it worked perfectly. I also tested using Putty in Windows and it also works beautifully.
Thanks for the hints and keep up the amazing job on this project !

Just adding a note for anyone else who struggles with serial or a non-xterm...
For non-xterm console in pid 1 (init process, nothing's set up) I had to

ensure that env TERM is set
ensure that I had a controlling tty

to check: attempt to open /dev/tty; you should not get an error if you have a controlling tty. I used O_RDONLY but probably unnecessary.
to set, use ioctl unix.TIOCSCTTY; you probably need unix.Setsid() first.

See also busybox commands setsid and cttyhack.

For serial, I also had to

set window size with stty (mentioned in @NetForces comment) or ioctl unix.TIOCSWINSZ


title tags not working

The tags that are appended at the end of a url seems not to work properly.
e.g.:
https://docs.software-challenge.de/allgemein/wettkampf#die-begegnungen
https://docs.software-challenge.de/spiele/penguins/regeln#wertung

Thanks. I think I know what is causing the bug. The markdown is loaded after the anchor tag is search. I will try to implement a fix.

I think I found a solution d92c89e099476c0b941ed9fea83ca75fd24c034d


237 graph model refactor 2

Description

Fixes #237

Is the plan to remove the previous class definitions of Compose, Rollout, and Parallel?

Is the plan to remove the previous class definitions of Compose, Rollout, and Parallel?

yeah idea is to rename Graph to Pipeline and then move everything from current Pipeline to new Pipeline.

yeah idea is to rename Graph to Pipeline and then move everything from current Pipeline to new Pipeline.

Nice! Could we start doing this now, or are we waiting on something?

Also I noticed the tests aren't passing for me on my local. Do you know what's needs to be changed to fix those?


Handle moved tags

Fixes #693 (again...)

I'm going to go ahead and self-merge some things so they don't pile up this week. I'm letting it run for a good while (>= 3h) on staging before merging and tagging.


Run with tags using before and beforeEach

I am trying to create a login script that saves the cookies and then re-uses them through the test.
The problem I have is following, I can't use before and beforeEach with tags, I have tried:
beforeEach("@landlordLogin", () => {
beforeEach({ tags: "@landlordLogin" }, () => {

I have more then one users, thats why I would like to run them with tags.

Hi
See https://github.com/TheBrainFamily/cypress-cucumber-preprocessor#before-and-after-hooks
Can you use the Cucumber Hooks rather than the mocha ones?
Would that work for you

I need to run the login Before ALL the other tests and then one that is grabbing/restoring the cookies.
So, I need more then just 'before' and need to be able to use tags.

This is quite a common requirement I would think. The way we handle this in our acceptance tests is as follows
In a Cucumber Before block for the user type associated with a tag we'd do something like
Given The landlord has logged in
or
Given The tenant has logged in
Which, for us, maps to a step definition like
Given(/^The (.+) has logged in$/, (user) => {
    cy.login(user);
});

We created a cypress command to look after, and abstract away, all of the login state gnarliness associated with our systems
It does a bunch of things including cy.getCookie and cy.setCookie calls and if tests to see if appropriate cookies already exist
Essentially

in your Cucumber Before always login. Use tags if appropriate to setup the type of user who is logging in for this set of features/scenarios if thats how you have structured things
write some JS in a helper or a command to make the login actually happen for your DUT and to store the token/key/whatever to a cookie or local storage from this code
surround that login logic with an if block that checks if the answer is already there and if it is don't do it all again

Would that sort of approach work for you?

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


⚠ Bofrost.de has degraded performance

In 6302d79, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1221 ms

Resolved: Bofrost.de performance has improved in 7673cc9 after 8 minutes.


ProcessName not shown in analysis

Describe the bug
ProcessName is not shown in Ports findings (ASA > Results > Ports).
To Reproduce
Steps to reproduce the behavior:

Open asa gui with admin rights
Scan the computer with asa (Select only Ports collector)
Open PowerShell window and open a new port:

$Listener = [System.Net.Sockets.TcpListener]9999;
$Listener.Start();

Check with netstat -abn that port 9999 is opened and see what process is listening this port (pwsh.exe)
Scan the computer again with asa (Select only Ports collector)
Open Results and compare these two baselines and select Ports
Port 9999 is shown but the ProcessName is empty

Expected behavior
ProcessName should be shown as it is available in netstat -abn. It is kind of essential information, which would help a lot in the analysis phase.
Screenshots

System Configuration (please complete the following information):

OS: Windows
OS Version: Windows 10 20H2
Application Version: ASA 2.2.78
CLI or GUI: gui

Additional Context

Thanks for the report.  This should be being collected. I'll investigate this week.

This will be fixed in #582 for 2.3.  Gathering the process names requires running as administrator (it will fail to gather them silently if you run as regular user)

I tried to test this:
C:\Users\masty> dotnet tool uninstall -g Microsoft.CST.AttackSurfaceAnalyzer.CLI
C:\Users\masty> dotnet tool install -g --version 2.3.142-beta Microsoft.CST.AttackSurfaceAnalyzer.CLI
warning NU1603: restore depends on Microsoft.CST.AttackSurfaceAnalyzer.CLI (>= 2.3.142-beta) but Microsoft.CST.AttackSurfaceAnalyzer.CLI 2.3.142-beta was not found. An approximate best match of Microsoft.CST.AttackSurfaceAnalyzer.CLI 2.3.142-beta-ge7cc357c64 was resolved.
You can invoke the tool using the following command: asa
Tool 'microsoft.cst.attacksurfaceanalyzer.cli' (version '2.3.142-beta-ge7cc357c64') was successfully installed.

But when I ran "asa gui" I got:
C:\Users\masty> asa gui
[09:52:49 INF] AttackSurfaceAnalyzer v.2.3.142-beta+e7cc357c64
[09:52:49 FTL] Database has schema version 10 but database has schema version 12.
[09:52:49 FTL] CouldNotSetupDatabase
C:\Users\masty>

@gfs
Tested with 265-beta:
We collected information from Linux and then I used my Windows 10 laptop to check json file:
asa export-collect --disableanalysis --shards 1
Json file did not include ProcessName information at all, see PORT_CREATED section below. Manually taking "netstat -anop" in Linux shows that port 8080 and 8081 is a java program. In Windows scans ProcessName is shown correctly.
"PORT_CREATED": [
      {
        "BaseRunId": "baseline",
        "ChangeType": "CREATED",
        "Compare": {
          "Address": "::",
          "AddressFamily": "InterNetworkV6",
          "Identity": ":::InterNetworkV6:TCP:8080:",
          "Port": 8080,
          "Type": "TCP",
          "ResultType": "PORT"
        },
        "CompareRunId": "product",
        "Identity": ":::InterNetworkV6:TCP:8080:",
        "ResultType": "PORT"
      },
      {
        "BaseRunId": "baseline",
        "ChangeType": "CREATED",
        "Compare": {
          "Address": "::",
          "AddressFamily": "InterNetworkV6",
          "Identity": ":::InterNetworkV6:TCP:8081:",
          "Port": 8081,
          "Type": "TCP",
          "ResultType": "PORT"
        },
        "CompareRunId": "product",
        "Identity": ":::InterNetworkV6:TCP:8081:",
        "ResultType": "PORT"
      },

We actually use ss per recommendation from the man page for netstat.
It looks like this is an oversight and the data is indeed not being collected and I need to pass -p (and parse the new field)
https://www.binarytides.com/linux-ss-command/ has an example of the output.
On Mon, Aug 16, 2021 at 2:38 AM, masty1982 @.***> wrote:

@.***(https://github.com/gfs)
Tested with 265-beta:
We collected information from Linux and then I used my Windows 10 laptop to check json file:
asa export-collect --disableanalysis --shards 1
Json file did not include ProcessName information at all, see PORT_CREATED section below. Manually taking "netstat -anop" in Linux shows that port 8080 and 8081 is a java program. In Windows scans ProcessName is shown correctly.
"PORT_CREATED": [
{
"BaseRunId": "baseline",
"ChangeType": "CREATED",
"Compare": {
"Address": "::",
"AddressFamily": "InterNetworkV6",
"Identity": ":::InterNetworkV6:TCP:8080:",
"Port": 8080,
"Type": "TCP",
"ResultType": "PORT"
},
"CompareRunId": "product",
"Identity": ":::InterNetworkV6:TCP:8080:",
"ResultType": "PORT"
},
{
"BaseRunId": "baseline",
"ChangeType": "CREATED",
"Compare": {
"Address": "::",
"AddressFamily": "InterNetworkV6",
"Identity": ":::InterNetworkV6:TCP:8081:",
"Port": 8081,
"Type": "TCP",
"ResultType": "PORT"
},
"CompareRunId": "product",
"Identity": ":::InterNetworkV6:TCP:8081:",
"ResultType": "PORT"
},
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Autowidth-non-loop  not working on iOS

Issue description:  Hi, seems like autoWidth-non-loop demo not working on iPhone Safari, can't go to next slide using nav buttons, controllers, or touch events. Slider seems to move wrapper div and not slide itself.
Demo link/slider setting:   http://ganlanyuan.github.io/tiny-slider/demo/#autoWidth-non-loop_wrapper
Tiny-slider version:   2.9.1 (demo page version)
Browser name && version:   iOS Safari 11
OS name && version:   iOS iPhone

Same here, seems like you can only swipe 1 time. after that the slider is stuck

3 years and nothing has changed (except covid pandemy ;). Do you know is there any possible solution to use tiny slider with auto width and non loop option on apple devices?


feat: add google-java-format for java

add built-in support for google-java-format for java.
If it sounds good to you, I can further update default formatter of java to this one. google-java-format seems to be the most adopted formatter nowadays.

Thank you. LGTM.

I can further update default formatter of java to this one. google-java-format seems to be the most adopted formatter nowadays.

Sure, why not. The most popular choice is usually the best default.

Updated.

Thanks!


get cart info from checkout info storage instead of legacy cart record

Codecov Report

Merging #10 (d3b9b93) into main (be5c718) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         4    +1
  Lines           45        58   +13
  Branches         9        10    +1
=========================================
+ Hits            45        58   +13

Files
Coverage Δ

src/converter/checkout-converter.ts
100.00% <100.00%> (ø)

src/service/cart-service.ts
100.00% <100.00%> (ø)


Fix default pager environment

Motivation for this change
Causes dmesg -H (aka dmesg --human) to actually work.
see https://github.com/NixOS/nixpkgs/pull/13470#issuecomment-680702220

@ofborg eval
(Sorry, ofborg's certs recently had an issue, meaning that it was unable to
react to PRs. This has been fixed, but all PRs filed in this period will need
ofborg to be manually kicked off.)

This might justify a release notes entry for 21.11 as a "Other Notable Changes"?


feat(data-classes): add missing batch response

Is your feature request related to a problem? Please describe.
Simple util to build responses for SQS/Kensis and Dynamodb Streams. Other runtimes like Java, Go includes this:

https://github.com/aws/aws-lambda-java-libs/blob/master/aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/S3BatchResponse.java

Describe the solution you'd like
Support what is inline with the existing AWS Lambda docs
from aws_lambda_powertools.utilities.data_classes.batch_response import BatchResponse
from aws_lambda_powertools.utilities.data_classes.event_source import event_source
from aws_lambda_powertools.utilities.data_classes.sqs_event import SQSEvent

@event_source(data_class=SQSEvent)
def handler(event: SQSEvent, context):
    cur_record_sequence_number = ""

    for record in event.records:
        try:
            # Process your record
            cur_record_sequence_number = record.message_id
        except Exception:
            # Return failed record's sequence number
            return BatchResponse([cur_record_sequence_number]).asdict()

    return BatchResponse().asdict()

Describe alternatives you've considered
Using the batch processing tools
Additional context

Thanks for the feature request, Michael! Added the label to hear from more customers on this, as we have the Batch utility to handle this and other concerns that comes with it.

@heitorlessa in general a response builder is as useful (and time saving as the request handling). I have shot myself in the foot on a number of occasions by this.

@heitorlessa  this will allow for more flexible use cases when the batch processor does not work ie:

https://github.com/awslabs/aws-lambda-powertools-python/discussions/1238


ENTESB-19366 Create jira sink kamelets

Add a jira issue.
Add comments to an existing issues in jira
Update fields on an existing issue in jira
Transition the status of a jira issue

https://issues.redhat.com/browse/ENTESB-19366

@squakez for review


Prevent rendering twice, how? (v2.x)

Issue Summary
We have an external lib which creates a clone of a DOM element with rendered MathJax. After this, the environment (a Drupal site) re-runs the MathJax rendering process. This results in the clone receiving twice the rendered output.
In the DOM there are more than one indications that MathJax already finished rendering this element (added classes, DOM elements, etc), but still MathJax takes the

Using cloneNode() on MathJax output can cause problems, as you have found.  In particular, there are important things that aren't cloned, including event handlers for things like the contextual menu and the various actions for the action extension.  But the other important item that is not copied is a property that MathJax attaches to the <script> element for the math.  This is an object that contains the information MathJax needs in order to manage the math expression.  For one thing, it is this that MathJax uses to tell that the math has been typeset, but there is a lot of other data there as well; it is also used by the MathJax menu, and for other features of MathJax.
The options, as I see it, are

Don't clone the output, but use the original elements instead, so that all the data are properly attached.  In case you are, you shouldn't have two copies of the MathJax output in the DOM at once, as the ids need to be unique.  If not, and you are removing the original elements, then there is no reason to make a copy; just use the originals.
Remove the script tags before cloning and only leave the output.  Since you aren't copying the event handlers, you won't be getting the contextual menu or any of the other features that need the script tags, so there is no need to keep them.  That way the second pass of MathJax over the content won't find any math to typeset.  (I see this is your item 3 above.)
Since you are running MathJax again anyway, why render it originally?  Just pass the source TeX or MathML and let the second pass render it, or if you need to display it before cloning, then remove the rendered output before hand.

I hope one of those will work for you.  But cloning is not going to work as you hope it will, I'm afraid.

Thanks @dpvc!
I think I have to go for option 2, as 1 and 3 our not under my control.


SelfQueryRetriever alloowed operators does not allow contain Chroma

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
retriever = SelfQueryRetriever.from_llm(
llm, vectorstore, document_content_description, metadata_field_info, verbose=True
)
Error Message and Stack Trace (if applicable)
contain also doesn't work
ValueError: Received disallowed comparator contain. Allowed comparators are [<Comparator.EQ: 'eq'>, <Comparator.NE: 'ne'>, <Comparator.GT: 'gt'>, <Comparator.GTE: 'gte'>, <Comparator.LT: 'lt'>, <Comparator.LTE: 'lte'>]
Description
Allowed operators in SelfQueryRetriever not allowing contain and in.
System Info
Python 3.12
langchain 0.2.12
chroma 0.5.5

@codenamics @dosubot The problem still exists, the problematic chroma definition is in that file: https://github.com/langchain-ai/langchain/blob/a0534ae62a3a9022a8ec7148ea6b63e9f5487d02/libs/community/langchain_community/query_constructors/chroma.py
I see the 'in' and 'nin' operators have not been implemented yet, and the 'contain' operator is not allowed in the Chroma engine.

same problem,  how can we limit SelfQueryRetriever to use the allowed comparator.


⚠ Samsung has degraded performance

In c4fe3ad, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3125 ms

Resolved: Samsung performance has improved in 18020ab.


Implement gRPC Storage

ref #263
make both client and server sides usable again
Phase 1:
support 1 to 1 invoke

[ ] Port gRPC Storage back, Single Remote gRPC Storage, adapt engula-futures  #331

add protobuf (like list_bucket, list_object and additional  update param)
implement new storage IO trait for both side

Phase 2:
combinate multiple phase1 result, to support invoke multiple nodes or retry between multiple nodes

[ ] Implement wrapper storage that can sequentially invoke multiple gRPCClient Storage
[ ] Implement wrapper storage that can invoke one gRPCClient Storage and retry another if fail

The shared storage development work has been migrated to another repo, the related issue has be replaced with https://github.com/zojw/shared-storage/issues/4, so close this first


Reclaimable memory for cache

The filesystem block cache should be reclaimed when memory is low and hence should not count towards used memory

It should be counted because it's actually used though.


Fix invocation of gradlew

Gradle wrapper is typically in the current directory, not on PATH.
Closes #4166

Should the gradle line be updated as well?
cc @gnagy @ziegs @@matthewmccullough

I believe not: gradle is typically in the PATH, while gradlew is in the project directory (i.e. the current directory, as a best approximation)

More info: https://docs.gradle.org/current/userguide/gradle_wrapper.html

Ok thanks for the link. You have my :+1:

Can you rebase the branch so there are no conflicts?

Sure thing! done.

Oh, one more thing: can you add Closes #4166 in your PR description to autoclose #4166 when this is merged? That is a duplicate of this PR. Thanks!
:+1: /cc @robbyrussell

you mean the commit message?

In the PR description is enough, Github reads that as well. See Closing Issues via Pull Requests.

Gotcha. Then it's done


fast_server log location

I don't see logs for the fast server. As best as I can ascertain, it should be /opt/postal/log/puma.fast.log.
I don't have any logs for it.  I've even touched the above file.  No love.
What am I missing?

What are you looking for in a log?  I have found process related to fast server in the puma.log

I'm looking for any hint why fast_server is failing.  my puma.log doesn't really have anything useful in it.

in /opt/postal/log/,  doing cat * |grep -i fast gives me crickets. Fast server fails with no trace for debugging.

Please see https://github.com/atech/postal/issues/851#issuecomment-513218504


MarksToggleSigns does not appear to apply to specific buffers, contrary to documentation

There are certain buffers for which I would not like marks.nvim to show marks, for example fzf buffers. I've tried turning off marks with MarksToggleSigns in after/ftplugin/fzf.vim; however, it seems this turns off marks globally across NeoVim for all buffers (I'm not sure if this is what was intended).
It would be nice to have a way to disable marks on a buffer-by-buffer basis, either by buffer type or (better in my opinion) with a toggle command/variable.
Thanks!

For anyone else who uses popup fzf windows, a workaround for your after/ftplugin/fzf.vim:
augroup FZFLeave
  autocmd!
  autocmd BufLeave <buffer> MarksToggleSigns
augroup END

MarksToggleSigns


Node.js  Performance Team Meeting 2023-06-26

Time
UTC Mon 26-Jun-2023 17:00 (05:00 PM):

Timezone
Date/Time

US / Pacific
Mon 26-Jun-2023 10:00 (10:00 AM)

US / Mountain
Mon 26-Jun-2023 11:00 (11:00 AM)

US / Central
Mon 26-Jun-2023 12:00 (12:00 PM)

US / Eastern
Mon 26-Jun-2023 13:00 (01:00 PM)

EU / Western
Mon 26-Jun-2023 18:00 (06:00 PM)

EU / Central
Mon 26-Jun-2023 19:00 (07:00 PM)

EU / Eastern
Mon 26-Jun-2023 20:00 (08:00 PM)

Moscow
Mon 26-Jun-2023 20:00 (08:00 PM)

Chennai
Mon 26-Jun-2023 22:30 (10:30 PM)

Hangzhou
Tue 27-Jun-2023 01:00 (01:00 AM)

Tokyo
Tue 27-Jun-2023 02:00 (02:00 AM)

Sydney
Tue 27-Jun-2023 03:00 (03:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Performance Team+Meeting+2023-06-26&iso=20230626T1700
or https://www.wolframalpha.com/input/?i=05PM+UTC%2C+Jun+26%2C+2023+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1ZWPQoedWL2k003cZ0o7KHH5TMf2lCWnQwV7fcn0dMi0/edit

Agenda
Extracted from performance-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/performance

Performance of WHATWG ReadableStream.read() #82
Expensive isTraceHTTPEnable #81
Improve legacy CJS resolve #73
MakeCallback is very slow #24

Invited

Performance team: @nodejs/performance

Observers/Guests
Notes
The agenda comes from issues labelled with performance-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: https://zoom.us/j/94710602723

I will host the meeting 👍


exclude_from_weight_decay for AdamW

Hello,
please can you add an exclude_from_weight_decay parameter to AdamW? Some parameters during weight decay must be excluded.
For more details please look here.
Thanks a lot.
Have a nice day.

@markub3327,
Can you please elaborate about your feature and please specify the use cases for this feature. Thanks!

I need to exclude some parameters from the weight decay process. Useful during training the Transformer model. List of regex patterns of variables excluded from weight decay. Variables whose names contain a substring matching the pattern will be excluded.
Here is the use case.
The code behind exclude_from_weight_decay from tensorflow/addons is here.

@markub3327 What is the difference between this issue when compared to https://github.com/keras-team/keras/issues/16195?
Can you please state the differences clearly or close this issue this is a duplicate of https://github.com/keras-team/keras/issues/16195. Thanks!

This is a proposal to add exclude_from_weight_decay in AdamW that was added in Keras 30 days ago (it was already in TFA).
https://github.com/keras-team/keras/issues/16195 is related to port  RectifiedAdam (a new optimizer) with exclude_from_weight_decay  in Keras from TFA

@bhack
Thanks a lot ... Very good explanation!

@chenmoneygithub Any comments on this?

@markub3327 Thanks for reporting the issue! Are you willing to open a PR to add exclude_from_weight_decay to AdamW? Thanks!

Yes. Thanks.


Sponsors

The sponsors listed on the site now come from /data/sponsors.json
I've also deleted all the other .json files which were in the root and not being used.

As this PR will conflict slightly with the one that adds the image gallery id say its better to get the image gallery merged first and I will resolve any conflicts on this branch afterwards

looks good, but will wait


How can I inherit propTypes

I'm getting errors such as: 11:15  warning  'map' is missing in props validation for Select                 react/prop-types
in cases where I have inheritance:
export default class Select extends MapTool ....

MapTool.propTypes = {
  map: React.PropTypes.instanceOf(ol.Map).isRequired,
  toggleGroup: React.PropTypes.string
};

How can I overcome this without having to redeclare all the propTypes from the base class?

Similar to #68 and #106 but I do not have any real solution for this case right now (beside disabling the react/prop-types rule for this class).

Okay, thanks for the feedback. I'll do just that for now.

bump


W2vy patch 1

Was able to pass lint so may be worthy of a review
I do have 3 global variables and the ThreadedSocket Server code uses some calls that are deprecated in python 3.10
We can address that later, if important
Who else should review? @TheTrunk

@w2vy
Are there some more test instructions? Sorry not a python guy. So after clonning and creating temp folder running it like this getting erros
root@vmi358829:~/NODE# ./vault.py Node --port 39898 --vault localhost --dir temp/ quotes.txt readme.txt
Traceback (most recent call last):
  File "./vault.py", line 538, in <module>
    main()
  File "./vault.py", line 530, in main
    run_node(args)
  File "./vault.py", line 490, in run_node
    error = check_node_args(base_dir, myport, vault, files)
  File "./vault.py", line 473, in check_node_args
    return error
UnboundLocalError: local variable 'error' referenced before assignment
r

root@vmi358829:~/NODE# python --version
Python 3.6.9

fixed code error and updated instructions, tested on clean machine


Cache transcript html?

Generating the transcript html is some heavy lifting: network request + xslt. Maybe the result should be cached? or would that be premature optimization?

Put caches_page :show in the transcripts_controller. I have not profiled, but I think that's the solution.


Rename addMemo -> setMemo

lgtm +1 btw i switched it to setMemo in ts sdk as well: stellar/typescript-wallet-sdk#39
just curious was there a specific reason for changing it?

Yes, I forgot to publish my comment on TS PR 🤦🏼