Envoy segfaults when validating TLS ADS cluster

Title: Envoy segfaults when validating TLS ADS cluster definition
Description:
When we run Envoy with --mode validate on a configuration file with a TLS ADS cluster, it segfaults. This doesn't happen for a non-TLS ADS cluster, and it doesn't happen when Envoy isn't running in validation mode. This is a problem for us because we use --mode validate in production to check before reloading a new configuration from disk.
Repro steps:
Step 1: Save this Envoy configuration to test.yaml
admin:
  access_log_path: "/tmp/access.log"
  address:
    socket_address:
      address: "<IP_ADDRESS>"
      port_value: 9901

static_resources:
  clusters:
    - name: "test-cluster"
      type: "STRICT_DNS"
      connect_timeout:
        seconds: 1
      hosts:
        - socket_address:
            address: "<IP_ADDRESS>"
            port_value: 8081
      http2_protocol_options: {}
      tls_context:
        common_tls_context:
          tls_certificates:
            certificate_chain:
              filename: "/tmp/test.txt"
            private_key:
              filename: "/tmp/test.txt"

dynamic_resources:
  ads_config:
    api_type: GRPC
    grpc_services:
      envoy_grpc:
        cluster_name: 'test-cluster'
  cds_config: {ads: {}}

Step 2: Run envoy --mode validate -c test.yaml --service-cluster mydev --service-node test
Call Stack:

If the Envoy binary is crashing, a call stack is required.

Here's what Envoy prints out. Note that it prints configuration 'test.yaml' OK (so this configuration seems to be valid)
[2018-08-21 16:41:19.998][76728][info][config] external/envoy/source/server/configuration_impl.cc:50] loading 0 static secret(s)
[2018-08-21 16:41:19.999][76728][info][upstream] external/envoy/source/common/upstream/cluster_manager_impl.cc:133] cm init: all clusters initialized
[2018-08-21 16:41:20.000][76728][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:240] gRPC config stream closed: 14, no healthy upstream
[2018-08-21 16:41:20.000][76728][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:41] Unable to establish new stream
[2018-08-21 16:41:20.000][76728][info][config] external/envoy/source/server/configuration_impl.cc:60] loading 0 listener(s)
[2018-08-21 16:41:20.000][76728][info][config] external/envoy/source/server/configuration_impl.cc:94] loading tracing configuration
[2018-08-21 16:41:20.000][76728][info][config] external/envoy/source/server/configuration_impl.cc:116] loading stats sink configuration
configuration 'test.yaml' OK
[2018-08-21 16:41:20.000][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:125] Caught Segmentation fault, suspect faulting address 0x10
[2018-08-21 16:41:20.001][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:94] Backtrace thr<0> obj</pay/jenkins-artifacts/envoy/git-b1831c66cc33258118da96fe86a91c5f4f6bcaa1/envoy-stripe> (If unsymbolized, use tools/stack_decode.py):
[2018-08-21 16:41:20.002][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #0 0x85c028 Envoy::Ssl::ContextManagerImpl::releaseContext()
[2018-08-21 16:41:20.003][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #1 0x855e34 Envoy::Ssl::ContextImpl::~ContextImpl()
[2018-08-21 16:41:20.004][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #2 0x8560c9 Envoy::Ssl::ClientContextImpl::~ClientContextImpl()
[2018-08-21 16:41:20.006][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #3 0x6c9451 Envoy::Ssl::ClientSslSocketFactory::~ClientSslSocketFactory()
[2018-08-21 16:41:20.007][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #4 0x7d3120 Envoy::Upstream::ClusterInfoImpl::~ClusterInfoImpl()
[2018-08-21 16:41:20.008][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #5 0x7d32d0 Envoy::Upstream::ClusterInfoImpl::~ClusterInfoImpl()
[2018-08-21 16:41:20.009][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #6 0x46ea55 std::_Sp_counted_base<>::_M_release()
[2018-08-21 16:41:20.010][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #7 0x80debc Envoy::Router::Filter::~Filter()
[2018-08-21 16:41:20.011][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #8 0x808ab5 Envoy::Http::AsyncStreamImpl::~AsyncStreamImpl()
[2018-08-21 16:41:20.012][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #9 0x6bff7d Envoy::Event::DispatcherImpl::~DispatcherImpl()
[2018-08-21 16:41:20.013][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #10 0x6932b7 Envoy::Event::ValidationDispatcher::~ValidationDispatcher()
[2018-08-21 16:41:20.015][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #11 0x68f64e Envoy::Server::ValidationInstance::~ValidationInstance()
[2018-08-21 16:41:20.016][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #12 0x690f82 Envoy::Server::validateConfig()
[2018-08-21 16:41:20.017][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #13 0x476ca8 Envoy::MainCommonBase::run()
[2018-08-21 16:41:20.018][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #14 0x417b52 main
[2018-08-21 16:41:20.018][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:104] thr<0> obj</lib/x86_64-linux-gnu/libc.so.6>
[2018-08-21 16:41:20.018][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:117] thr<0> #15 0x7fb679dbbf44 (unknown)
[2018-08-21 16:41:20.018][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:104] thr<0> obj</pay/jenkins-artifacts/envoy/git-b1831c66cc33258118da96fe86a91c5f4f6bcaa1/envoy-stripe>
[2018-08-21 16:41:20.019][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:114] thr<0> #16 0x46c838 _start
[2018-08-21 16:41:20.019][76728][critical][backtrace] bazel-out/k8-opt/bin/external/envoy/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:121] end backtrace thread 0

@PiotrSikora thoughts? In general, it's entirely possible that config_validation gets out of sync with server initialization/teardown in places, because it's a parallel implementation. We should definitely fix.

Using current master build (i.e. 56a3dc94ae3be13b3264800ed201d62fb85ac643):
$ bazel-bin/source/exe/envoy-static --mode validate -c /tmp/test.yaml --service-cluster mydev --service-node test
[2018-08-21 21:03:04.479][25636][info][config] source/server/configuration_impl.cc:50] loading 0 static secret(s)
[2018-08-21 21:03:04.481][25636][critical][main] source/server/config_validation/server.cc:49] error initializing configuration '/tmp/test.yaml': Failed to load incomplete certificate from /tmp/test.txt, /tmp/test.txt

Perhaps content of /tmp/test.txt matters? What do you have there, @julia-stripe?

Ah, sorry, it seems to be busted only in dbg builds, since it crashes on ASSERT(contexts_.empty());.

/tmp/test.txt is an empty file. This happened with https://github.com/envoyproxy/envoy/commit/08fadcc41f34b5816f2dc9412a1614efca4d9667 which is a slightly older version -- maybe the validation of certs has changed since then?

@julia-stripe this has been fixed since (as a side-effect of other changes, but still...), so you need to roll forward.
The only remaining issue is that dbg builds are crashing on ASSERT(contexts_.empty()) during teardown, because real httpAsyncClientForCluster() is called and started instead of ValidationClusterManager::httpAsyncClientForCluster(), when creating Config::GrpcMuxImpl, so the cluster and its TLS contexts are still referenced somewhere.

Thanks very much! Verified that this is fixed from our perspective.

@PiotrSikora can you tell me which commit fixed this bug? We'd like to cherry pick it because the latest Envoy master introduces other incompatible protobuf changes that we'd like to avoid.

@julia-stripe it was fixed (by loading the certificate at the config time and not startup time) in 98037ed375edc2e7df34b4ea78acb52b85ed2386 (#4086).


Not able to save the model_state_dict.

Hi I was trying to save the model checkpoints after each epoch using the below code.But only the state dictionary of the zeroth epoch got stored and none of the others.Does the ranger optimiser object support state_dict ? If yes then how can I save it after each epoch?
out_model = os.path.join(args.model_dir, 'model.th')     with open(out_model, 'wb') as f:         torch.save(model.state_dict(), f)     print("Model is dumped")

Hi @shikha10799  - Ranger won't impact your ability to save your state_dict.
Looking at the code above, I think you just need to simplify it to the path rather than passing in a file handle:
torch.save(model.state_dict(),path) is all that is needed.
PyTorch will do the file opening etc and I suspect your issue is the file handle may not be closed in your code (ideally you should use a with context manager) and thus it can't re-save on the second and later attempt.
I'll go ahead and close this for now but let me know if any other questions.


loging in with hex shows hex after log in

Description
env used : devnet
version :  e22810a
used my hex to login to my account instead of my mnemonic and then tried to know my mnemonic for this account but it shows like this

if the user will not be able to do this i think that if i logged in with hex that your hex should be written instead of your mnemonic

verified
env used : devnet
version : b43ea4c

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422331#case_4150322


Bug:  OperationDelaySeconds with update leads to endless reconcile

Minimal reproduce step
set OperationDelaySeconds for collaset，and apply inplaceifpossible update
What did you expect to see?
normally wait OperationDelaySeconds and do update
What did you see instead
endless reconsile
What is your KusionStack components and its version?
0.6.0

fixed by https://github.com/KusionStack/kuperator/pull/296


Dockerfile installation conflicts with Flower version

Installation with Dockerfile wants to install the Flower recent version from the requirement file which creates conflicts with the Numpy version. Tried different version of Flower framework which created new errors. Could not able to run FL-NILM using Dockerfile. Hoping to hear from you which version of Flower would work.

I tried all versions of Flower framework, all of them can't run FL-NILM with Dockerfile, which version is used for the project? Looking forward to your reply.

I honestly lost the the files that I used. But, I am working on a new version of the toolkit to address the versioning problems and decouple everything from NILMtk. I hope that you will be a bit patient!


new gitignore for GameMaker Studio 2

Reasons for making this change: There is no gitignore for GameMaker, so I made it.

Rules: http://docs2.yoyogames.com/source/_build/1_overview/2_quick_start/6_compiling.html

If this is a new template:

The homepage of YoYoGames: https://yoyogames.com/

Envoyé depuis Yahoo Mail pour Android
Le dim., sept. 15, 2019 à 7:30<EMAIL_ADDRESS>a écrit :
There is no gitignore for GameMaker, so I made it.

Rules: http://docs2.yoyogames.com/source/_build/1_overview/2_quick_start/6_compiling.html

If this is a new template:

The homepage of YoYoGames: https://yoyogames.com/

You can view, comment on, or merge this pull request online at:
https://github.com/github/gitignore/pull/3181
Commit Summary

new gitignore for GameMaker Studio 2
Gitignore for GameMaker Studio 2 modified.
Gitignore for GameMaker Studio 2 modified.
Rename .gitignore to GameMaker-Studio-2.gitignore

File Changes

A GameMaker-Studio-2.gitignore (26)

Patch Links:

https://github.com/github/gitignore/pull/3181.patch
https://github.com/github/gitignore/pull/3181.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


feat: support additional explorers

Overview
Provide a simple overview of what you wish to see added. Please include:

What you are trying to do: use this plugin with other networks and other explorers
Why Ape's current functionality is inadequate to address your goal: currently only supports etherscan

Specification
This should support bscscan and polygonscan etc
Dependencies
n/a

because etherscan has a bunch of different explorers they are also maintaining using the same basic API, it might make sense to just "Extend" by subclassing Etherscan with some modifications for how the URI is set

also FtmScan

since we now have ftmscan I'm going to close this issue. @fubuloubu


nginx-letsencrypt    | 2017-10-28 16:57:45,016:WARNING:simp_le:1304: xxx.domain.com was not successfully self-verified. CA is likely to fail as well!

I keep having this exact issue with one specific container I am trying to make.
Here is the nginx docker-compose file:
version: '3'
services:
  nginx:
    image: nginx
    labels:
        com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
    container_name: nginx
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro

  nginx-gen:
    image: jwilder/docker-gen
    command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
    container_name: nginx-gen
    restart: unless-stopped
    environment:
      VIRTUAL_PROTO: "https"
      DEFAULT_HOST: "mydefaulthost.com"
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - ${NGINX_FILES_PATH}/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro

  nginx-letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion
    container_name: nginx-letsencrypt
    restart: unless-stopped
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      NGINX_DOCKER_GEN_CONTAINER: "nginx-gen"
      NGINX_PROXY_CONTAINER: "nginx"

networks:
  default:
    external:
      name: nginx

Then I have this docker-compose file working perfectly:
version: '3'

services:
  transmission:
    container_name: transmission
    image: linuxserver/transmission
    restart: unless-stopped
    ports:
      - 51413:51413
      - 51413:51413/udp
    volumes:
      - ./data/torrents:/downloads
      - ./data/watch:/watch
      - ./data/config:/config
    environment:
      VIRTUAL_HOST: "host.domain.com"
      VIRTUAL_PORT: 9091
      LETSENCRYPT_HOST: "host.domain.com"
      LETSENCRYPT_EMAIL: "myemail"

networks:
  default:
    external:
      name: nginx

And, finally, the one that doesn't work at all:
version: '3'

services:
  rtfm:
    container_name: rtfm
    image: rtfm
    restart: unless-stopped
    volumes:
      - ./config.json:/app/config.json:ro
    environment:
      VIRTUAL_HOST: "host2.domain.com"
      LETSENCRYPT_HOST: "host2.domain.com"
      LETSENCRYPT_EMAIL: "myemail"

networks:
  default:
    external:
      name: nginx

The Dockerfile of this image exposes PORT 80.
If I run my container directly (docker run -i -p 80:80 rtfm) it works perfectly.
My nginx docker-compose file was taken/inspired from https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion

I'd like to add that both of my containers are meant to be accessed from subdomains of my domain. I tried setting LETSENCRYPT_HOST to my domain ignoring the subdomains but it didnt work either.

Does the letsencrypt container correctly generate your certificates anyway ?
The self verification is not reliable and have been discarded from the next version of simp_le.

I don't think it does, how do I know?
When I try to access my site I get an error from chrome saying this website is not secure. (It works fine for transmission though)
Even strangier, if I tell chrome to process anyway I notice that the vhost for my second website points in fact to transmission!
So host2.domain.com points to host.domain.com but without https... I don't understand at all!

Looks like your nginx container don't even get a correct proxy configuration from docker-gen.
Have you tried adding an explicit VIRTUAL_PORT: 80 on the non working container ?
Are you using the latest versions of jrcs/letsencrypt-nginx-proxy-companion and nginx.tmpl ?
Adding DEBUG: "true" to your nginx-letsencrypt container will give you more verbose logs.

$ docker-compose up
Recreating nginx-letsencrypt ...
Recreating nginx-letsencrypt
Starting nginx ...
Starting nginx
Starting nginx-gen ...
Recreating nginx-letsencrypt ... done
Attaching to nginx, nginx-gen, nginx-letsencrypt
nginx-gen            | 2017/11/02 09:29:10 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-gen            | 2017/11/02 09:29:10 Watching docker events
nginx-letsencrypt    | Sleep for 3600s
nginx-gen            | 2017/11/02 09:29:10 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-letsencrypt    | 2017/11/02 09:29:10 Generated '/app/letsencrypt_service_data' from 2 containers
nginx-letsencrypt    | 2017/11/02 09:29:10 Running '/app/update_certs'
nginx-letsencrypt    | 2017/11/02 09:29:10 Watching docker events
nginx-gen            | 2017/11/02 09:29:10 Received signal: hangup
nginx-letsencrypt    | Reloading nginx docker-gen (using separate container nginx-gen)...
nginx-gen            | 2017/11/02 09:29:10 Received signal: hangup
nginx-letsencrypt    | Reloading nginx (using separate container nginx)...
nginx-gen            | 2017/11/02 09:29:10 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification ''
nginx-letsencrypt    | Creating/renewal mydomain.com certificates... (mydomain.com  rtfm.mydomain.com)
nginx-letsencrypt    | 2017/11/02 09:29:10 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/update_certs'
nginx-letsencrypt    | 2017-11-02 09:29:10,560:INFO:simp_le:1213: Generating new account key
nginx-letsencrypt    | 2017-11-02 09:29:13,518:ERROR:acme.challenges:311: Unable to reach http://rtfm.mydomain.com/.well-known/acme-challenge/qp-Mexz7a6ir5p3TTBA8X-JdIl8y5H7Ypoz0AWGWYfA: ('Connection aborted.', error(104, 'Connection reset by peer'))
nginx-letsencrypt    | 2017-11-02 09:29:13,518:WARNING:simp_le:1304: rtfm.mydomain.com was not successfully self-verified. CA is likely to fail as well!
nginx-letsencrypt    | 2017-11-02 09:29:13,758:ERROR:acme.challenges:311: Unable to reach http://mydomain.com/.well-known/acme-challenge/BcfNme8jZRbIcWjDX69PDI1j9JqwUJO-jTnCUBI9rGg: ('Connection aborted.', error(104, 'Connection reset by peer'))
nginx-letsencrypt    | 2017-11-02 09:29:13,758:WARNING:simp_le:1304: mydomain.com was not successfully self-verified. CA is likely to fail as well!
nginx-letsencrypt    | 2017-11-02 09:29:14,005:INFO:simp_le:1314: Generating new certificate private key
nginx-letsencrypt    | 2017-11-02 09:29:14,810:ERROR:simp_le:1272: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Is there a warning log entry about unsuccessful self-verification? Are all your domains accessible from the internet? Failing authorizations: https://acme-staging.api.letsencrypt.org/acme/authz/O-YzfQbv74efzYFftT5AxeJmTkjJf4OfHVSK02eXit0, https://acme-staging.api.letsencrypt.org/acme/authz/_zGn7_PQtU03hCQ7uHgHd7_YVO2waU3ArGVZP0H6-I4
nginx-letsencrypt    | Challenge validation has failed, see error log.
nginx-letsencrypt    |
nginx-letsencrypt    | Debugging tips: -v improves output verbosity. Help is available under --help.
nginx-letsencrypt    | Sleep for 3600s

I don't get it, nothing works at all.
Here is a recap of my current docker-compose.yml files:
The one containing nginx stuff
version: '3'
services:
  nginx:
    image: nginx:latest
    labels:
        com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
    container_name: nginx
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro

  nginx-gen:
    image: jwilder/docker-gen:latest
    command: -notify-sighup nginx -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
    container_name: nginx-gen
    restart: unless-stopped
    environment:
      VIRTUAL_PROTO: "https"
      DEFAULT_HOST: "mydomain.com"
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - ${NGINX_FILES_PATH}/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro

  nginx-letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion:latest
    container_name: nginx-letsencrypt
    restart: unless-stopped
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      ACME_CA_URI: "https://acme-staging.api.letsencrypt.org/directory"
      NGINX_DOCKER_GEN_CONTAINER: "nginx-gen"
      NGINX_PROXY_CONTAINER: "nginx"

networks:
  default:
    external:
      name: nginx

The one for my app:
version: '3'

services:
  rtfm:
    container_name: rtfm
    image: rtfm
    restart: unless-stopped
    volumes:
      - ./config.json:/app/config.json:ro
    environment:
      DEBUG: "true"
      VIRTUAL_PORT: 80
      VIRTUAL_HOST: "rtfm.mydomain.com"
      LETSENCRYPT_HOST: "mydomain.com, rtfm.mydomain.com" # I tried lots of things here
      LETSENCRYPT_EMAIL<EMAIL_ADDRESS>

networks:
  default:
    external:
      name: nginx

I switched to test mode because let's encrypt wasn't happy of all my attempts.

DEBUG: "true" goes to the jrcs/letsencrypt-nginx-proxy-companion container, not the proxyed one.
You should remove VIRTUAL_PROTO and DEFAULT_HOST, adding optional stuff certainly won't help troubleshooting.
As you use the NGINX_PROXY_CONTAINER on the letsencrypt container with a fixed nginx container name, the label on the nginx container isn't needed, but that probably is of no consequence.
Are you sure your mydomain.com and rtfm.mydomain.com A records point to this host ? Do you have AAAA records on this domain and its subdomain ?

The log shows that your nginx container is not even receiving the GET request from the Letsencrypt servers, you definitely have a DNS or network issue somewhere.

Alright, I tried some things.
First of all, I had a firewall that I disabled.
I tried using nginx-proxy alone, without SSL and it worked.
I removed docker-gen and now use nginx-proxy alone.
Here is the new docker-compose.yml file:
version: '3'
services:
  nginx:
    image: jwilder/nginx-proxy:latest
    container_name: nginx-proxy
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/tmp/docker.sock:ro

  nginx-letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion:latest
    container_name: nginx-letsencrypt
    restart: unless-stopped
    volumes:
      - ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      ACME_CA_URI: "https://acme-staging.api.letsencrypt.org/directory"
      DEBUG: "true"
      NGINX_PROXY_CONTAINER: "nginx-proxy"

And here is the full log of docker-compose up: https://pastebin.com/MCXURRL4
As a reminder, the docker-compose.yml of my app:
networks:
  default:
    external:
      name: nginx

version: '3'

services:
  rtfm:
    container_name: rtfm
    image: rtfm
    restart: unless-stopped
    volumes:
      - ./config.json:/app/config.json:ro
    environment:
      VIRTUAL_PORT: 80
      VIRTUAL_HOST: "rtfm.mydomain.com"
      LETSENCRYPT_HOST: "rtfm.mydomain.com"
      LETSENCRYPT_EMAIL<EMAIL_ADDRESS>

networks:
  default:
    external:
      name: nginx

Now, it's better but when I go to https://rtfm.mydomain.com, chrome warns me that the website is not secured. (HTTPS in red)

That's to be expected, test certificates obtained from https://acme-staging.api.letsencrypt.org/directory are signed by an intermediate that is not in browsers trust store. When the LE rate limiting has elapsed you can switch back to the production ACME API endpoint and get a trusted certificate for you domain.
The three container setup (nginx / docker-gen / letsencrypt) seems to be extremely prone to misconfiguration, I don't think this repo should ever have designed it as the "recommended method" (the nginx-proxy repo certainly does not imply that it is recommended to run it this way).
If this works for you, keep this configuration.

I think that'll work. I'll see once the "ACME server returned an error: urn:acme:error:rateLimited :: There were too many requests of a given type :: Error creating new registration :: too many registrations for this IP" message disappear. It seems to be one hour according to the forums.
Thank you very much for your help. Docker stuff is really not easy to debug!


Cartpole example not working

When running:
python cartpole.py
After changing the Path to include the desired modules:
import sys
sys.path.insert(0, '/PATH_TO/PIMBRL')
sys.path.insert(0, '/PATH_TO/PIMBRL/src')

I  get the following error:
Traceback (most recent call last):
File "/PATH_TO/PIMBRL/examples/cartpole.py", line 34, in <module>
RL = TD3(**RLinp)
TypeError: __init__() got an unexpected keyword argument 'net_type'

Package Version
python=3.9.7

Thank you for pointing this bug out. This bug is due to the outdated API. I have fixed it.
As we keep developing this package and may modify some interfaces, there may be more outdated APIs/misuse of modules. Please feel free to report the bugs here and I will try my best to fix them.


Add arrayFormat option

The arrayFormat option recognizes 3 values: brackets, indices, and
repeat. It defaults to bracket indices.
See the comments in #46

This would be a breaking change, but I think we can tweak it to not be breaking fairly easily..
Change the default if arrayFormat is not supplied to be indices, which lines up with old behavior.
Allow passing indices as an option and if it is set to false, set the generateArrayPrefix to repeat, that way that behavior continues working as before.

Note that with those tweaks, I'd feel better if you left the old existing tests in place and only added new ones so we can be certain we're not breaking anything.

@nlf I thought this change might be worth breaking backwards compat instead of having two separate options for specifying the same thing. e.g. if you use both the old indices option and the new arrayFormat option, which one takes precedence?
IMHO it would be cleaner to just say "if you're using >=2.4 use arrayFormat". But if you'd still like to preserve compat with the indices option I'll happily keep it around. arrayFormat would take precedence though.

@nlf I updated the PR so the default is indices though I'd still like to break backwards compat if you'd be game.

I'd definitely prefer to not make this a breaking change just yet. I think we document the indices option as deprecated and that arrayFormat takes precedence though.
I have a few other things I intend to work on for the next major version bump, so when that stuff is complete is when we'll remove the indices option completely.

@nlf Gotcha. I've updated the PR to support the indices option. All existing tests pass unmodified. Only new tests :)

BTW, it looks like this may supersede #65

Perfect! This looks great, thanks!

Awesome. Thanks for being so responsive @nlf ! :)

Hi, can we get this version published on npm in the near future? We have similar feature request here https://github.com/request/request/issues/1473

Just published 2.4.0, I had it all primed and everything and just never hit enter. Sorry about that!

Thanks :+1:


Proposal: replace labels.Compare with labels.Less

Proposal
The three-valued Compare is only ever used by Prometheus (outside of test code) as labels.Compare(...) < 0.
So we should change it to labels.Less and simplify the code.
This would have some impact on downstream projects.

This is less attractive now slices.SortFunc takes a ternary comparison function.


Add zh-CN(Simplified Chinese) Translation

Update Simplified Translation in dev

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...
Related #issue...

Details of Changes
Add details of changes here.
目前在FluentHub Dev提供了一次简单的简体中文翻译，待到您的项目完成之后我再进行其余剩下的翻译
FluentHub Dev currently provides a simple simplified Chinese translation, I will do the rest after your project is completed

Added...
Fixed...

Validation
How did you test these changes?

[×] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

LGTM!

@BobbyESP Do you have any ideas that run Azure pipelines in fork repos?

Bruh

@Gaoyifei1011 Thank you!


To use rdkit.Chem.Fragments module to extract a substructure indices

Discussed in https://github.com/rdkit/rdkit/discussions/7503

Originally posted by zmahnoor14 June  6, 2024
Hi RDKit community,
thanks for the awesome tool : )
So, I am using rdkit.Chem.Fragments module to detect functional groups in my molecules. Let's take an example of amide functional group.
smile_secondaryAmide = "CN(CCCNC(=O)C1CCCO1)C2=NC3=CC(=C(C=C3C(=N2)N)OC)OC"
mol1 = Chem.MolFromSmiles(smile_secondaryAmide)
Chem.Fragments.fr_amide(mol1)

This code returns that my molecule has 1 amide functional group. Now, if I want to extract the substructure of this amide, I simply use the following code:
amide_smiles = "*C(N*)=O"
amide_substructure = Chem.MolFromSmarts(amide_smiles)
mol1.GetSubstructMatches(amide_substructure)

This code gives me the indices: ((8, 6, 5, 4, 7),) PERFECT!!!!
The problem arises when I have a primary amide in my list of amides. Here I use the same code on the primary amide structure:
smile_primaryAmide = "CC(C)NCC(COC1=CC=C(C=C1)CC(=O)N)O"
mol2 = Chem.MolFromSmiles(smile_primaryAmide)
Chem.Fragments.fr_amide(mol2)

This code returns that my molecule has 1 amide functional group. BUT, the mol1.GetSubstructMatches function doesnt detect this with the smiles "*C(N*)=O", rather "*C(N)=O".
# with "*C(N*)=O" gives no indices
amide_smiles = "*C(N*)=O"
amide_substructure = Chem.MolFromSmarts(amide_smiles)
mol2.GetSubstructMatches(amide_substructure)
# output is ()

# with "*C(N)=O" gives no indices
amide_smiles = "*C(N)=O"
amide_substructure = Chem.MolFromSmarts(amide_smiles)
mol2.GetSubstructMatches(amide_substructure)
# output is ((14, 15, 17, 16),)

There could be some solutions for this; but I was wondering, if rdkit.Chem.Fragments can be directly used to extract the indices as well along with the number of functional groups. Could anyone let me know if this is possible? Or an easier solution to this problem? I also couldn't find the source code for rdkit.Chem.Fragments in the github? If someone can direct me to the link, that would also be great
Goal: I would like to write one function that detects any kind of amide and gives me the indices; instead of writing a separate condition for the primary amide.
Any suggestions would be very appreciated. Thank you!
Kind regards,
Mahnoor

I'm closing this because it is a question, not a bug report or enhancement request.
Please ask questions using the "Discussions" tab.

Dear Greg,
thanks for your reply; I also have the question under the discussion tab and here is the link: https://github.com/rdkit/rdkit/discussions/7503
Kind regards,
Mahnoor


feat(runner): return japa Hook instance

Proposed changes
I was desperately trying to specify a timeout to my Suite hooks, without having to change the Suite &/or global timeout. It is a japa feature that was not reachable because of the vow implementation not returning the hook (returned by japa on hook declaration).
This PR aims to fix this bug, &/or to add the japa feature to vow.
Types of changes
What types of changes does your code introduce?

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added necessary documentation (if appropriate)

Example code & before/after
Example code:
const { test, trait, before, after } = use('Test/Suite')('my_test')

before(async () => {

  await longInitOperation()

}).timeout(10000)

Without calling timeout:
  1. my_test
  Error: Hook timeout, ensure "done()" is called; if returning a Promise, ensure it resolves.
    at Hook._parseError (/home/.../node_modules/japa/src/Hook.js:42:16)

With calling timeout, before:
error: message=Cannot read property 'timeout' of undefined, stack=TypeError: Cannot read property 'timeout' of undefined
    at Object.<anonymous> (/home/.../my_test.spec.js:85:1)

With calling timeout, after : the test runs successfully :)
   PASSED

  total       : 6
  passed      : 6
  time        : 8s

Lemme get it released tomorrow :)


MTC docs update

This is simply a docs update for MTC. Some of the commits will be cherry-picked into a larger update for the dev/master branches, but others need to stay separate because they are only relevant for the MTC context.

Codecov Report

Merging #458 into mtc-docs will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           mtc-docs    #458   +/-   ##
========================================
  Coverage      4.92%   4.92%
========================================
  Files           324     324
  Lines         15362   15362
  Branches       4636    4636
========================================
  Hits            756     756
  Misses        12446   12446
  Partials       2160    2160

Continue to review full report at Codecov.

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


[ISSUE-644] Support non default CSI deployment at Openshift platform

Purpose
Issue dell/csi-baremetal#644
Supported validation csi-node-sa and csi-baremetal-extender-sa for priveleged SCC:

In case of absence operator will not deploy node and scheduler extender daemonsets and write events about it;
When privileged SCC will appear for the service accounts bellow, operator will create node and scheduler daemonsets

PR checklist

[x] Add link to the issue
[x] Choose Project
[x] Choose PR label
[x] New unit tests added
[ ] Modified code has meaningful comments
[ ] All TODOs are linked with the issues
[ ] All comments are resolved

Testing
Testing details

Please add testing details as well


Missing warning or documentation for upcast in sparse_softmax_cross_entropy_with_logits?

In the "sparse_softmax_cross_entropy_with_logits" function inside tensorflow/python/ops/nn_ops.py, logits that are in fp16 are automatically upcasted to fp32. At the end of the function, the result is cast back down to fp16.
This functionality ought to be exposed in documentation and/or a warning. For users doing mixed precision training, the expected behavior would be that the entire loss (softmax + cross entropy) is done in fp16.
Relevant lines:
logits = ops.convert_to_tensor(logits)
precise_logits = math_ops.cast(logits, dtypes.float32) if (dtypes.as_dtype(
	logits.dtype) == dtypes.float16) else logits
...
cost, _ = gen_nn_ops.sparse_softmax_cross_entropy_with_logits(
	precise_logits, labels, name=name)

Thanks so much.

@anshulsamar I know this is a stale issue. There were lot of improvements with mixed_precision.  Is this still an issue for you?
If this is still an issue, can you please share a simple standalone code to reproduce the issue. Thanks!


Linux dlopen() hook doesn’t respect RUNPATHs

Description
I’m developing a game with SDL3 (specifically libsdl-org/SDL#9312) while running NixOS, and RenderDoc’s dlopen() hook is causing SDL3 to not be able to find its dependencies.
Some background: Nix (and thus NixOS also) uses RUNPATHs extensively to try to solve the “dependency hell” problem: every executable and library has its RUNPATH set so it finds the specific version it was compiled with, and the /lib and /lib64 directories are empty (except for a “stub” dynamic linker that prints a message and exits: https://github.com/NixOS/nixpkgs/blob/3c02efecddd1a55dbf797f038aa97405973e47f8/nixos/modules/config/stub-ld.nix).
$ patchelf --print-rpath "$(which cat)"
/nix/store/jrwzc846rmzv74axmzyn0j6hagz23sna-acl-2.3.2/lib:/nix/store/6dm3hpmqmskkb024bz130fv5h29w8k2g-attr-2.5.2/lib:/nix/store/h676f70iisfd9chl08v3745gr3650s1p-gmp-with-cxx-6.3.0/lib:/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib

For shared libraries linked with the executable/library, this works fine, because they are resolved before RenderDoc has the opportunity to hook dlopen().  SDL3, however, loads most of its dependencies at runtime with dlopen().
When I run the game normally, it works fine (e.g. finding libdbus, output from LD_DEBUG=all):
   1275066:	file=libdbus-1.so.3 [0];  dynamically loaded by /nix/store/s8ghhgv2ycqh5rmqij0180qc50gzli44-SDL3-3.1.2+d22cf05bb5202dd65c28d96f73ee65b481e1207a/lib/libSDL3.so.0 [0]
   1275066:	find library=libdbus-1.so.3 [0]; searching
   1275066:	 search path=/nix/store/fr89g4mi5zsplmjfl56y0ckl7pzzdskq-vulkan-loader-1.3.283.0/lib		(LD_LIBRARY_PATH)
   1275066:	  trying file=/nix/store/fr89g4mi5zsplmjfl56y0ckl7pzzdskq-vulkan-loader-1.3.283.0/lib/libdbus-1.so.3
   1275066:	 search path=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib		(system search path)
   1275066:	  trying file=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libdbus-1.so.3
   1275066:	 search path=/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib/glibc-hwcaps/x86-64-v3:/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib/glibc-hwcaps/x86-64-v2:/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib:/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib/glibc-hwcaps/x86-64-v3:/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib/glibc-hwcaps/x86-64-v2:/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib:/nix/store/3lc70x3rsx2dmbwwrpk877kaa4b7d333-systemd-minimal-libs-256.2/lib/glibc-hwcaps/x86-64-v3:/nix/store/3lc70x3rsx2dmbwwrpk877kaa4b7d333-systemd-minimal-libs-256.2/lib/glibc-hwcaps/x86-64-v2:/nix/store/3lc70x3rsx2dmbwwrpk877kaa4b7d333-systemd-minimal-libs-256.2/lib:/nix/store/5mlcqyhcnv3nqn76kyakqcwac7g8qbxz-libdecor-0.2.2/lib/glibc-hwcaps/x86-64-v3:/nix/store/5mlcqyhcnv3nqn76kyakqcwac7g8qbxz-libdecor-0.2.2/lib/glibc-hwcaps/x86-64-v2:/nix/store/5mlcqyhcnv3nqn76kyakqcwac7g8qbxz-libdecor-0.2.2/lib:/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/lib/glibc-hwcaps/x86-64-v3:/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/lib/glibc-hwcaps/x86-64-v2:/nix/store/dhn51w2km4fyf9ivi00rz03qs8q4mpng-pipewire-1.2.1/lib:/nix/store/kqxqiyhflq7f72z4ldbhd0b8mf9h9ick-libpulseaudio-17.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/kqxqiyhflq7f72z4ldbhd0b8mf9h9ick-libpulseaudio-17.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/kqxqiyhflq7f72z4ldbhd0b8mf9h9ick-libpulseaudio-17.0/lib:/nix/store/hgvky83ijhl0fl625g4hwllwzmpdnksl-wayland-1.23.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/hgvky83ijhl0fl625g4hwllwzmpdnksl-wayland-1.23.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/hgvky83ijhl0fl625g4hwllwzmpdnksl-wayland-1.23.0/lib:/nix/store/gkhma9q8dm7vgjzqhjg1p34pflmpz6jz-libusb-1.0.27/lib/glibc-hwcaps/x86-64-v3:/nix/store/gkhma9q8dm7vgjzqhjg1p34pflmpz6jz-libusb-1.0.27/lib/glibc-hwcaps/x86-64-v2:/nix/store/gkhma9q8dm7vgjzqhjg1p34pflmpz6jz-libusb-1.0.27/lib:/nix/store/jszyncc1s8hkg9qw17nmi0lfrckhas2n-libxkbcommon-1.7.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/jszyncc1s8hkg9qw17nmi0lfrckhas2n-libxkbcommon-1.7.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/jszyncc1s8hkg9qw17nmi0lfrckhas2n-libxkbcommon-1.7.0/lib:/nix/store/rcvwvfgk5dkwc3a8sza5q0351h8axbkh-libglvnd-1.7.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/rcvwvfgk5dkwc3a8sza5q0351h8axbkh-libglvnd-1.7.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/rcvwvfgk5dkwc3a8sza5q0351h8axbkh-libglvnd-1.7.0/lib:/nix/store/94sinl3kmf4byyjgfpy4mmm9crwj8imc-libX11-1.8.9/lib/glibc-hwcaps/x86-64-v3:/nix/store/94sinl3kmf4byyjgfpy4mmm9crwj8imc-libX11-1.8.9/lib/glibc-hwcaps/x86-64-v2:/nix/store/94sinl3kmf4byyjgfpy4mmm9crwj8imc-libX11-1.8.9/lib:/nix/store/053wlpj13qsrvq01fmky8gjj4amz2wbj-libXext-1.3.6/lib/glibc-hwcaps/x86-64-v3:/nix/store/053wlpj13qsrvq01fmky8gjj4amz2wbj-libXext-1.3.6/lib/glibc-hwcaps/x86-64-v2:/nix/store/053wlpj13qsrvq01fmky8gjj4amz2wbj-libXext-1.3.6/lib:/nix/store/0awsl91layljahrj5lpbdrx5xbll4m1f-libXcursor-1.2.2/lib/glibc-hwcaps/x86-64-v3:/nix/store/0awsl91layljahrj5lpbdrx5xbll4m1f-libXcursor-1.2.2/lib/glibc-hwcaps/x86-64-v2:/nix/store/0awsl91layljahrj5lpbdrx5xbll4m1f-libXcursor-1.2.2/lib:/nix/store/99k9431pk5m5zr0n1hvqby398785j43s-libXfixes-6.0.1/lib/glibc-hwcaps/x86-64-v3:/nix/store/99k9431pk5m5zr0n1hvqby398785j43s-libXfixes-6.0.1/lib/glibc-hwcaps/x86-64-v2:/nix/store/99k9431pk5m5zr0n1hvqby398785j43s-libXfixes-6.0.1/lib:/nix/store/zj91xq030vl12ixm62kpwfsib56ifcnj-libXi-1.8.1/lib/glibc-hwcaps/x86-64-v3:/nix/store/zj91xq030vl12ixm62kpwfsib56ifcnj-libXi-1.8.1/lib/glibc-hwcaps/x86-64-v2:/nix/store/zj91xq030vl12ixm62kpwfsib56ifcnj-libXi-1.8.1/lib:/nix/store/dkdpymarl3qjjx16bxdc5qnm6mvw2cck-libXrandr-1.5.4/lib/glibc-hwcaps/x86-64-v3:/nix/store/dkdpymarl3qjjx16bxdc5qnm6mvw2cck-libXrandr-1.5.4/lib/glibc-hwcaps/x86-64-v2:/nix/store/dkdpymarl3qjjx16bxdc5qnm6mvw2cck-libXrandr-1.5.4/lib:/nix/store/vphcxrp0528cbzbrhhxs3ky0wv5xiyg9-libXScrnSaver-1.2.4/lib/glibc-hwcaps/x86-64-v3:/nix/store/vphcxrp0528cbzbrhhxs3ky0wv5xiyg9-libXScrnSaver-1.2.4/lib/glibc-hwcaps/x86-64-v2:/nix/store/vphcxrp0528cbzbrhhxs3ky0wv5xiyg9-libXScrnSaver-1.2.4/lib		(RUNPATH from file /nix/store/s8ghhgv2ycqh5rmqij0180qc50gzli44-SDL3-3.1.2+d22cf05bb5202dd65c28d96f73ee65b481e1207a/lib/libSDL3.so.0)
   1275066:	  trying file=/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib/glibc-hwcaps/x86-64-v3/libdbus-1.so.3
   1275066:	  trying file=/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib/glibc-hwcaps/x86-64-v2/libdbus-1.so.3
   1275066:	  trying file=/nix/store/3drzwzpbhpi3s7ddw67p8ip9z182a1ak-alsa-lib-1.2.11/lib/libdbus-1.so.3
   1275066:	  trying file=/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib/glibc-hwcaps/x86-64-v3/libdbus-1.so.3
   1275066:	  trying file=/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib/glibc-hwcaps/x86-64-v2/libdbus-1.so.3
   1275066:	  trying file=/nix/store/fs6fjxv9ls9r3xqk3ms76zxilkqlpvwv-dbus-1.14.10-lib/lib/libdbus-1.so.3
   1275066:
   1275066:	file=libdbus-1.so.3 [0];  generating link map
   1275066:	  dynamic: 0x00007f7411b61e28  base: 0x00007f7411b0b000   size: 0x00000000000582d0
   1275066:	    entry: 0x00007f7411b0b000  phdr: 0x00007f7411b0b040  phnum:                 11

However, if I run the game using RenderDoc, it doesn’t:
   1275120:	file=libdbus-1.so.3 [0];  dynamically loaded by /nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/lib/librenderdoc.so [0]
   1275120:	find library=libdbus-1.so.3 [0]; searching
   1275120:	 search path=/nix/store/fr89g4mi5zsplmjfl56y0ckl7pzzdskq-vulkan-loader-1.3.283.0/lib:/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/lib:/nix/store/rcvwvfgk5dkwc3a8sza5q0351h8axbkh-libglvnd-1.7.0/lib:/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/bin:/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/bin/../lib		(LD_LIBRARY_PATH)
   1275120:	  trying file=/nix/store/fr89g4mi5zsplmjfl56y0ckl7pzzdskq-vulkan-loader-1.3.283.0/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/rcvwvfgk5dkwc3a8sza5q0351h8axbkh-libglvnd-1.7.0/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/bin/libdbus-1.so.3
   1275120:	  trying file=/nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/bin/../lib/libdbus-1.so.3
   1275120:	 search path=/run/opengl-driver/lib:/nix/store/cp4bas285jiglfch3nxbmzv44cyq53ap-libxcb-1.17.0/lib:/nix/store/94sinl3kmf4byyjgfpy4mmm9crwj8imc-libX11-1.8.9/lib:/nix/store/l7wi654ndpw5yyanchg27frdjjpvxz5j-xcb-util-keysyms-0.4.1/lib		(RUNPATH from file /nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/lib/librenderdoc.so)
   1275120:	  trying file=/run/opengl-driver/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/cp4bas285jiglfch3nxbmzv44cyq53ap-libxcb-1.17.0/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/94sinl3kmf4byyjgfpy4mmm9crwj8imc-libX11-1.8.9/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/l7wi654ndpw5yyanchg27frdjjpvxz5j-xcb-util-keysyms-0.4.1/lib/libdbus-1.so.3
   1275120:	 search path=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib		(system search path)
   1275120:	  trying file=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libdbus-1.so.3
   1275120:	 search path=/nix/store/kgmfgzb90h658xg0i7mxh9wgyx0nrqac-gcc-13.3.0-lib/lib		(RUNPATH from file /nix/store/xfdsqkw504aci9pwdf8h621q6cqybj7y-renderdoc-1.33/lib/librenderdoc.so)
   1275120:	  trying file=/nix/store/kgmfgzb90h658xg0i7mxh9wgyx0nrqac-gcc-13.3.0-lib/lib/libdbus-1.so.3
   1275120:	 search cache=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/etc/ld.so.cache
   1275120:	 search path=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib:/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib		(system search path)
   1275120:	  trying file=/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libdbus-1.so.3
   1275120:	  trying file=/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libdbus-1.so.3

As can be seen in the logs from the dynamic linker (specifically the RUNPATH from file… parts), it’s looking in librenderdoc’s search path and not libSDL3’s, because the call to the real dlopen() happens in librenderdoc.
I’ve been able to work around this by having RenderDoc instead launch a wrapper script that adds SDL3’s RUNPATH to LD_LIBRARY_PATH before starting the game, but it would be nice to not need this (especially because I have to use “capture child processes”, which makes me need to open the capture manually from /tmp/RenderDoc instead of listing them.  Sometimes it doesn’t, though?  Maybe that’s a bug too?):
#!/usr/bin/env bash
set -euo pipefail
GAME='zig-out/bin/x86_64-linux-gnu/game'
IFS=':' read -ra GAME_RPATH <<< "$(patchelf --print-rpath "$GAME")"
for path in "${GAME_RPATH[@]}"; do
    if [[ $path == *"SDL3"* ]]; then
        SDL3_LIBS="$path"
        break
    fi
done
LD_LIBRARY_PATH="$(patchelf --print-rpath "$SDL3_LIBS/libSDL3.so"):$LD_LIBRARY_PATH" \
    exec "$GAME"

Steps to reproduce
// foobar.c
int foobar_doImportantTask(void) {
    return 42;
}

// main.c
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>

typedef int (*FoobarProc)(void);

int main(void) {
    void *foobar_handle = dlopen("libfoobar.so", RTLD_NOW);
    if (foobar_handle == NULL) {
        fprintf(stderr, "Couldn't load libfoobar.so!\n");
        return EXIT_FAILURE;
    }
    FoobarProc foobar_doImportantTask = (FoobarProc)dlsym(foobar_handle, "foobar_doImportantTask");
    printf("Important task result: %d\n", foobar_doImportantTask());
    dlclose(foobar_handle);
    return EXIT_SUCCESS;
}

$ cc -shared -o libfoobar.so foobar.c
$ cc '-Wl,-rpath,$ORIGIN' -ldl -o main main.c
$ ./main
Important task result: 42
$ renderdoccmd capture -w ./main
Launching './main'
Couldn't load libfoobar.so!
'./main' finished executing.

Environment

RenderDoc version: 1.33
Operating System: NixOS unstable (NixOS/nixpkgs@cb9a96f23c491c081b38eab96d22fa958043c9fa)
Graphics API: Vulkan

I'll need to investigate this, but my initial reaction is that this looks like it may not be feasible to fix especially seeing as when googling I found a bug that address sanitiser has the same issue with the same cause and the same LD_LIBRARY_PATH workaround (28164 on llvm-project github, not linking to avoid the annoying auto-backlink github does).
Can you give more details about this please?

especially because I have to use “capture child processes”, which makes me need to open the capture manually from /tmp/RenderDoc instead of listing them. Sometimes it doesn’t, though? Maybe that’s a bug too?

There is no circumstance where you should have to load a capture from manually - if you have enabled child process capturing then when you launch e.g. bash it should display a list of child processes and you can select your program to connect to it. Does your shell script exit early after launching your program? Normally I'd expect the script's lifetime to be a superset of the program but as long as it lives at least long enough to notify the UI of the child process you should follow this UI flow naturally. If the script exits immediately after launching the process then the parent-child link may be lost, though in that situation you could use File -> Attach to running instance.
Please also note, renderdoccmd is not a user-facing tool and should not be used or relied on, it is for internal use only and you should launch programs for capture from the UI instead.

I'll need to investigate this, but my initial reaction is that this looks like it may not be feasible to fix […]

Ah, that’s unfortunate.  Since this is only a development tool, continuing to use the workaround should be fine either way.
I was looking through the man pages of things libdl provides, and it seems like there could be a solution involving dlmopen()… although if the ASAN developers were unable to find one, then maybe not.

There is no circumstance where you should have to load a capture from manually […]

Most of the time, when capturing a frame with F12 with that script, it doesn’t get added to the list of captures in the GUI, and it doesn’t open it automatically if there was only one.  The tab that appears when a process is connected to also seems to briefly appear (on the order of a frame or a few) and then closes.  The script doesn’t seem to be exiting early, if I remove exec and add an echo afterwards it still does this.

[…] it is for internal use only and you should launch programs for capture from the UI instead.

The same issue also occurs when using the GUI.

If the process tab is only appearing for a frame or two that sounds like the bash script is exiting very quickly.
Can you do this:

Add something to the start and end of the script that prints its PID to a file so that you know its PID and when it starts and exits.
Launch the script with child process capturing, let it launch your program, and then pause while your program is running.
Verify that both the bash script and your program are both alive and that the bash script has not exited yet.
Go into File -> Attach to running instance in the UI and see which processes are listed.

The bash script and the game are both remain alive, and Attach to Running Instance shows the bash script and the game.

Ah, I think the issue is that env exits too quickly.  Not really sure how to avoid that.

Oh I see so env is running as an extra process as an immediate parent of bash that runs and exits instantly.
I don't know anything about NixOS but do you have a normal PATH that can find programs? What happens if instead of running the script directly you put just bash as the executable to run, allow it to be found in PATH, and pass the script as a command line argument. Presumably running via bash directly will omit the invocation of env.

NixOS does have a normal $PATH, it’s definitely longer than other distributions but it does work:
$ echo $PATH
/nix/store/n49v63dcj6058jrwazjaqqycv2bl50jx-harfbuzz-9.0.0-dev/bin /nix/store/wv2j9r10cq7xhkwrwf8rqhnzpg1bprsx-graphite2-1.3.14/bin /nix/store/65lhpq7pbc6nnngfp030ddglb71xixg9-pkg-config-wrapper-0.29.2/bin /nix/store/mi8ylnwvsvsjmnh85x33pi74xivpgcwi-qoi-unstable-2023-08-10/bin /nix/store/q27x7z1drmhk6yc518fv65sr0rszxjy0-shaderc-2024.0-bin/bin /nix/store/ws9fz232czsmrvl8hhzqsqfhwj73g260-msdf-atlas-gen-1.3/bin /nix/store/xhgs2p5dn42jhiaiwr4ryvnf0qg2f3rk-zig-0.13.0/bin /nix/store/0av1a7ya0y4p30qgay933f31prb2m1xk-zls/bin /nix/store/dv5vgsw8naxnkcc88x78vprbnn1pp44y-patchelf-0.15.0/bin /nix/store/62zpnw69ylcfhcpy1di8152zlzmbls91-gcc-wrapper-13.3.0/bin /nix/store/zw4dkm2hl72kfz7j2ci4qbc0avgxzz75-gcc-13.3.0/bin /nix/store/xfk033jdxdc5758wrpb0h2w462zlsb73-glibc-2.39-52-bin/bin /nix/store/cnknp3yxfibxjhila0sjd1v3yglqssng-coreutils-9.5/bin /nix/store/pg90p34kys2famxnq7925sbgj4jrnsi8-binutils-wrapper-2.42/bin /nix/store/qsx2xqqm0lp6d8hi86r4y0rz5v9m62wn-binutils-2.42/bin /nix/store/cnknp3yxfibxjhila0sjd1v3yglqssng-coreutils-9.5/bin /nix/store/5my5b6mw7h9hxqknvggjla1ci165ly21-findutils-4.10.0/bin /nix/store/fy6s9lk05yjl1cz2dl8gs0sjrd6h9w5f-diffutils-3.10/bin /nix/store/9zsm74npdqq2lgjzavlzaqrz8x44mq9d-gnused-4.9/bin /nix/store/k8zpadqbwqwalggnhqi74gdgrlf3if9l-gnugrep-3.11/bin /nix/store/2ywpssz17pj0vr4vj7by6aqx2gk01593-gawk-5.2.2/bin /nix/store/nzzl7dnay9jzgfv9fbwg1zza6ji7bjvr-gnutar-1.35/bin /nix/store/7m0l19yg0cb1c29wl54y24bbxsd85f4s-gzip-1.13/bin /nix/store/cx1220ll0pgq6svfq7bmhpdzp0avs09w-bzip2-1.0.8-bin/bin /nix/store/70anjdzz5rj9lcamll62lvp5ib3yqzzr-gnumake-4.4.1/bin /nix/store/i1x9sidnvhhbbha2zhgpxkhpysw6ajmr-bash-5.2p26/bin /nix/store/6rv8ckk0hg6s6q2zay2aaxgirrdy4l6v-patch-2.7.6/bin /nix/store/xzdawyw3njki7gx2yx4bkmhdzymgjawm-xz-5.6.2-bin/bin /nix/store/rnndls2fiid1sic81i06dkqjhh24lpvr-file-5.45/bin /home/quinn/Documents/game/.direnv/bin /run/wrappers/bin /home/quinn/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin /home/quinn/.nix-profile/bin /nix/profile/bin /home/quinn/.local/state/nix/profile/bin /etc/profiles/per-user/quinn/bin /nix/var/nix/profiles/default/bin /run/current-system/sw/bin
$ bash --version
GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

If I put bash in the “Executable Path” field and click Launch, RenderDoc shows an error popup that says “Invalid application executable: bash”.

Putting /nix/store/i1x9sidnvhhbbha2zhgpxkhpysw6ajmr-bash-5.2p26/bin/bash in the executable field, correcting the working directory, launching, double-clicking on the child process and then doing a capture with F12 or the GUI does work as expected, maybe except for the fact that RenderDoc names the capture starting with bash.

That commit should allow you to run just plain bash as an executable, as long as it's in PATH it will run, and you can run the script from there. I looked at the options for addressing the original issue and none of them I feel are merited for the marginal benefit but potentially high costs.


SyntaxWarning: invalid escape sequence '\s' in azure-batch

Package Name: azure-batch
Package Version: 14.2.0
Operating System: windows
Python Version: 3.12

Describe the bug
In azure-batch-14.2.0.tar.gz, azure/batch/models/_models_py3.py line 4846 raises SyntaxWarning in Python 3.12. \s should be \\s.

Node. (AZ_BATCH_NODE_ROOT_DIR\shared), or starting a local service on the

Expected behavior
No syntax warning.
I'm not sure if there are more syntax warnings in sdk package.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Related issue: https://github.com/Azure/azure-cli/issues/28829#issuecomment-2485161285

to me this still happens when I do
az webapp ... (anything)
/opt/homebrew/Cellar/azure-cli/2.67.0/libexec/lib/python3.12/site-packages/azure/mgmt/web/v2023_01_01/models/_models_py3.py:20621: SyntaxWarning: invalid escape sequence '\S'
"""Configuration of an App Service app.
/opt/homebrew/Cellar/azure-cli/2.67.0/libexec/lib/python3.12/site-packages/azure/mgmt/web/v2023_01_01/models/_models_py3.py:20981: SyntaxWarning: invalid escape sequence '\S'
"""
/opt/homebrew/Cellar/azure-cli/2.67.0/libexec/lib/python3.12/site-packages/azure/mgmt/web/v2023_01_01/models/_models_py3.py:21292: SyntaxWarning: invalid escape sequence '\S'
"""Web app configuration ARM resource.
/opt/homebrew/Cellar/azure-cli/2.67.0/libexec/lib/python3.12/site-packages/azure/mgmt/web/v2023_01_01/models/_models_py3.py:21680: SyntaxWarning: invalid escape sequence '\S'
"""
but everything else works normally

az --version

azure-cli                         2.67.0

core                              2.67.0
telemetry                          1.1.0

Extensions:
account                            0.2.5
azure-devops                       1.0.1
logic                              1.1.0
ssh                                2.0.6

Dependencies:
msal                              1.31.0
azure-mgmt-resource               23.1.1

Python location '/opt/homebrew/Cellar/azure-cli/2.67.0/libexec/bin/python'
Extensions directory '/Users/gerruiz/.azure/cliextensions'

Python (Darwin) 3.12.7 (main, Oct  1 2024, 02:05:46) [Clang 16.0.0 (clang-16<IP_ADDRESS>)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

To me, it happens when I try to fetch my iOS certificate password from Azure Keyvault and because, it happens for the first time. My pipeline breaks while uploading the .ipa build to App Store as it always run from scratch.
az keyvault secret show --name <secret-name> --vault-name <keyvault-name>
Created this bug for more detail.
https://github.com/Azure/azure-cli/issues/30440
Thanks @bebound for pointing to right place for this bug.


ARTEMIS-1680 - Message load balancing type isn't updated in the linke…

…d bindings when wildcards are used
This makes the linked address consistent  when a message is sent to a linked address and after the wildcard address is subscribed

can you tidy up the commit message...
I'm a bit flexible with long names.. some people are strict with 80 characters on the first line... but your line is way too big.. it's hard to read with a git log

Hi @clebertsuconic ,
I hope it's good now. Let me know if you have any thing else.
Thanks


Missing Bottleneck package on new gcp-uscentral1b

Hello,
I started playing with the new pangeo server.
I started running an old script and I got this error:
ModuleNotFoundError: No module named 'bottleneck'

my script uses bfill()
In fact, if I go on a new notebook and try
import bottleneck as bn
I get
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-d82a72844dfa> in <module>
----> 1 import bottleneck as bn

ModuleNotFoundError: No module named 'bottleneck'

I just thought to report it.
thanks so much!

Adding that seems reasonable. It would go in
https://github.com/pangeo-data/pangeo-docker-images/blob/master/pangeo-notebook/environment.yml
.
On Sat, Jun 27, 2020 at 9:45 AM Chiara Lepore<EMAIL_ADDRESS>wrote:

Hello,
I started playing with the new pangeo server.
I started running an old script and I got this error:
ModuleNotFoundError: No module named 'bottleneck'
my script uses bfill()
In fact, if I go on a new notebook and try
import bottleneck as bn
I get

ModuleNotFoundError                       Traceback (most recent call last)
 in
----> 1 import bottleneck as bn
ModuleNotFoundError: No module named 'bottleneck'
I just thought to report it.
thanks so much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/pangeo-docker-images/issues/87, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIRUZSZ2DZ75I66WQFLRYYAYHANCNFSM4OKB4PVQ
.

that would be great - I will follow this issue for updates on when it is merged.

bottleneck is now in pangeo/pangeo-notebook:2020.06.30
https://github.com/pangeo-data/pangeo-docker-images/blob/f8fd2a86eaec56fa5156bf17d419cadb486e8b26/pangeo-notebook/conda-linux-64.lock#L248

Thanks Scott! We'll need to manually update the image tag we use in the GCP
hub. I'll do that today as part of some other work.
On Tue, Jun 30, 2020 at 6:01 PM Scott Henderson<EMAIL_ADDRESS>wrote:

Closed #87 https://github.com/pangeo-data/pangeo-docker-images/issues/87
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/pangeo-docker-images/issues/87#event-3499962588,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIX2JPJON442I4PMKLLRZJVFPANCNFSM4OKB4PVQ
.

Just a note - I still get the error for bottleneck on staging of us-central1-b
ModuleNotFoundError: No module named 'bottleneck'bfill

The tag in Dockerfile in pangeo-cloud-federation will need to be updated.
On Sun, Jul 5, 2020 at 11:48 AM Chiara Lepore<EMAIL_ADDRESS>wrote:

Just a note - I still get the error for bottleneck on staging of
us-central1-b
ModuleNotFoundError: No module named 'bottleneck'bfill
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/pangeo-docker-images/issues/87#issuecomment-653911204,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIVSQMXSQTOSKSVHGLTR2CVF5ANCNFSM4OKB4PVQ
.


split-duckdb-index config

Moving config to worker folder since it is not used from any other project.
Also adding doc in the readme file.

Codecov Report
Patch coverage has no change and project coverage change: -5.71 :warning:

Comparison is base (10ecac7) 91.72% compared to head (43fe181) 86.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1474      +/-   ##
==========================================
- Coverage   91.72%   86.02%   -5.71%
==========================================
  Files          75       63      -12
  Lines        5006     1867    -3139
==========================================
- Hits         4592     1606    -2986
+ Misses        414      261     -153

Flag
Coverage Δ

jobs_cache_maintenance
99.08% <ø> (?)

jobs_mongodb_migration
84.62% <ø> (?)

services_admin
86.07% <ø> (?)

services_worker
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 138 files with indirect coverage changes

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


come on guys, how agar infinity works, there gotta be something to do

even myb edit agar infinity to have 10 bots

I only get 2 bots, pretty lame.

In a few weeks, I will start working on bots for SCRAMBLED Ogar and MultiOgar servers :). Check it out at ZfsrGhS953/agario-client

@sejo153  how did u edit it....

Currently it's not working. It will be started in a few weeks.

@ZfsrGhS953 please don't make minions for Ogar instead make it for agar.io

Yes, but I need to make minions for Ogar first to understand how to make them for agar.io.

@ZfsrGhS953 i already made bots for multiogar, add me on skype :nuclear.agar i can help you

You mean you made bots for scramble level 2 and 3?

no it's lvl 1 :P but it's not possible to make for scramble lvl 3 anyway official agario uses something like scramble lvl 1

Did you decrypt protocol 9?

no i'm sending in order:
[!] Sent: fe 09 00 00 00
[!] Sent: ff  00 35 fa dd
server response:
[!] Recv: ff 2b 00 00 00 f0 1c 40 ae 06 d6 76 8c b2 c1 c0 8b 03 c5 95 b1 8d c1 c0 a3 93 90 ca 09 d9 b3 40 ea 99 b2 8c bf 22 b4 40 08 00 00 00 38 2e 30 2e 32 00 : world size
[!] Recv: f1 4b 09 5e a7 : IDK
[!] Recv: 3b 0b 92 4e 7a 04 95 4c 7d 0f 9d 4a 7f 09 91 4b 7e 08 9c 49 : world update or lb

Reason why agarinfinity works is because the bots are based on a "Peer 2 Peer" System which basically means, It's hard to ban the IP's used for the bots because they keep switching


Strange code generated in enum_map_derive?

If we have an enum like this:
pub enum Scens {
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
}

doing #[derive(Enum)] produces code that looks like this:
pub fn from_usize(v: usize) -> Scens {
    use Scens::*;
    if v < 1 {
        Zero
    } else if v < 2 {
        One
    } else if v < 3 {
        Two
    } else if v < 4 {
        Three
    } else if v < 5 {
        Four
    } else if v < 6 {
        Five
    } else {
        unreachable!()
    }
}

This seems strange to me and the compiler: building with optimisation results in a large chain of comparisons and conditional jumps.
If instead we would generate
pub fn from_usize(v: usize) -> Scens {
    use Scens::*;
    if v == 0 {
        Zero
    } else if v == 1 {
        One
    } else if v == 2 {
        Two
    } else if v == 3 {
        Three
    } else if v == 4 {
        Four
    } else if v == 5 {
        Five
    } else {
        unreachable!()
    }
}

or the less-verbose
pub fn from_usize(v: usize) -> Scens {
    use Scens::*;
    match v {
        0 => Zero,
        1 => One,
        2 => Two,
        3 => Three,
        4 => Four,
        5 => Five,
        _ => unreachable!()
    }
}

both of these produce simpler and faster code: check if the value is in range (< 6 in this case) and then accept an answer as-is.
However I assume the if v < x + 1 implementation wasn't pick at random: is there some information about this? Is there a downside of the proposed methods? It seems very simple to switch the code over to equality check which compiler is much happier about.
These generated methods are quite hot in our code-base which is how I stumbled upon this.
Godbolt link: https://rust.godbolt.org/z/a7E3oE81s

Thanks for quick reaction!
w.r.t. why it was this way: I'm looking at handle_named_variant and that looks very similar except in that case we have fields which means <  comparison catches it: perhaps unit was modeled on it and never adapted to do something more efficient. Maybe a range match is better there or something but that's for another day – unit variant is what I care about in this ticket.

handle_named_variant uses < because it needs to (the number of variants is variable for named variants), and I assume handle_unit_variant got < from it.
As for why if is used rather than match, this is because match arms don't accept const expressions (inline-const is currently nightly only). At some point I think I would like to implement a special case for enums that only have unit variants that uses match for those (to shorten compilation times when having a lot of enums), but I never got to write that code.


Parse SDK version from "version" file instead of "revision"

The "revision" file that pub parses is being renamed to "version". Pub should start reading that one.

This issue has been moved to dart-lang/pub#235.


update  '伸缩' to '拓展'

update：line22, modify '伸缩' to '拓展',  Because ''伸缩'' includes both expansion and contraction
Signed-off-by: Mathkey<EMAIL_ADDRESS>Describe your changes
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[ ] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[ ] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

I'll close this PR. @Allen47


Guerilla Render not showing in the supported applications

Hello,
as discussed with Carol Payne, I wanted to point out that Guerilla Render is missing from the list of supported applications on the website.
Here is a link to the website : http://guerillarender.com/
Here is a quick mention to add : Guerilla 2.2 and up.
Here is a couple of logos for you to use :

Thanks,
Chris

This issue was fixed with this Pull request : https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1119
I am closing the issue. Thanks everyone !


Update Main.java

SonarQube analysis reported 1 issue

 1 blocker

Watch the comments in this conversation to review them.


Fix pinv for complex datatypes

Closes #2581
Thanks to @YoujinShin

Jenkins, test this please.

Jenkins CI test (for commit 90df247d5a764a66f0115f9757b7f7f32be61179, target branch master) succeeded!

LGTM.


Avoid pinned dependencies

On 8de43ea the dependencies were pinned in setup.py. The problem with that is that now is now longer possible to install this library and, for instance, the latest release of requests alongside.
Since I believe this project has the vocation of being a library and not a standalone project I suggest to instead of pinning the dependencies just force minimum versions*.
I'd be very happy to do a PR if you agree with it.
*I know that jwt 2.* is problematic. For that particular dependency we could just set a minimum and a maximum version.

Hi @josepanguera, thanks for reporting this issue.
By "installing this library" do you mean system wide? I have never had this issue as I always use virtualenvs. What is your use case?
But anyway I don't see any reasons for setting only a minimum version dependency on requests. Please submit a PR

No, I meant inside a virtualenv but within a project that does uses other libraries. I explain myself badly :)
Anyway, I created the pr on #36.

No, I meant inside a virtualenv but within a project that does uses other libraries.

OK make sense!
I'll merge the PR, I just let a comment about the cryptography package.

PR merged, thank you @josepanguera

hi @ppawlak could you cut a release on pypi with this change please 🙏

hi @ppawlak could you cut a release on pypi with this change please 🙏

Wow, I didn't realized it was not released yet.
I'll do it shortly.

@louisguitton
Version 0.9.1 including this fix is available : https://pypi.org/project/appstoreconnect/0.9.1/
Can you confirm this fixes dependencies on your project?

it does :) thank you @ppawlak for the quick response !


ReadOnly claims can be updated through admin service calls

Even though a claim is marked as ReadOnly through the management console, it can be updated through the admin service call. Editing the claim value is restricted only through only on UI level.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Update related_website_sets.JSON with victory medium test sites

One of the reasons this PR is failing checks is the additional comma on the end of line 10 of https://victorymedium.com/.well-known/related-website-set.json. This makes it an invalid JSON.

Thanks @aselya - one thing I haven't been clear on. When fixing external files like https://technology-revealed.com/.well-known/related-website-set.json will the review bot auto-check back the files after X days/hours or should a new push be executed to initiate the checks?

It's ok


Microsoft.Authorization 2020-09-01 policy entity APIs

Adding minor new properties to both policyAssignments.json and policyDefinitions.json in a new api-version.  policySetDefinitions.json has no changes to the spec but inherits the parameter definition change from policyDefinitions.json.
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.  Now
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.  Now
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[x] SDK of Java
[ ] SDK of Js
[x] SDK of Go
[x] PowerShell
[x] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@ArcturusZhang , @msyyc, @leni-msft , this is a new api version change, could you have a look at the SDK/schema generation failures?

@raych1 The schema is generated, but with test case failure. It's not blocking issue to this PR.

@ArcturusZhang Dapeng Zhang FTE , @msyyc Yuchao Yan FTE, @leni-msft Lei Ni FTE , this is a new api version change, could you have a look at the SDK/schema generation failures?

for python sdk, according to log, there is circular ref, please check it.

/azp run unifiedpipeline

/azp run

/azp run

@raych1 I'm OK to merge whenever you are


Updating SDP to be aligned to newer versions of JSEP.

@pererikb @adam-be could you please have a look at this?

This looks fine, but I haven't yet been able to find the comment in the spec about the default port changing from 1 to 9. However, I do seem to remember it being 9 and have no memory of it being 1. :)

The changes are described/specified in:

default port=9 thing: https://datatracker.ietf.org/doc/draft-ietf-rtcweb-jsep/?include_text=1, section 5.2.1, early on page 30. (search for '"dummy" port value of 9 (Discard) MUST be used')
update of msid line in sdp: https://datatracker.ietf.org/doc/draft-ietf-mmusic-msid/?include_text=1,  e.g. section 3.3


Legacy chain check and tests

Motivation
We need to have a check after Nu5 activation when zebra starts to make sure we are not following a legacy chain. Close https://github.com/ZcashFoundation/zebra/issues/2308
Solution
Implement what is detailed in the ticket: https://github.com/ZcashFoundation/zebra/issues/2308
Review
I know a lot here can be improved so i will like @jvff to make an initial review before passing it into @teor2345 later on.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

I think is ready for a second round of review. The panic changes were not done, i think we should do them in a new ticket with lower priority. I didn't updated https://github.com/ZcashFoundation/zebra/issues/1841 yet, i think the rest is more or less covered even if sometimes not exactly as suggested.

This appears to work locally on mainnet and testnet, with and without cached state, and before and after the mandatory checkpoint.


Add continueOnError to Bundle Comparision Task

This change ensures we won't fail the pipeline if the bundle comparison task fails:
https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/steps-task?view=azure-pipelines

Good preventive change. Just noting that it won't have any effect on our current issue (the task isn't failing because we're swallowing the error in our tool code; and the change I'm working on will convert the error into a handled case).

exactly. this will let us freely change the tool, and not have to worry about failing the pipeline


Bot: decide on what the UX of unlockables is

Right now, we have .gets/.sets commands in the bot (which can be dmed to manage unlockables).
However perhaps the best user facing way to handle it is in the bots that if the .get key is unlockable, then the value becomes automatically encrypted. The alternative is to keep it as .gets/.sets.
Looking for feedback.

The decision was to use only the unlockable key.


nixos/prometheus: add process exporter

Motivation for this change
The package already exists for a while, this just adds it as services.prometheus.exporters.process.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

cc @1000101

Looks good to me. Are you okay to merge or do you want an explicit review from somebody else?

Adding a test would be nice!

Thanks for the comments! I added a test and also changed the configFile to a settings option as someone noticed in #125573.
@happysalada I’m okay with this being merged, but I don’t have the permissions to do it myself.


Add documentation for AStarGrid2D class

Just a bit of documentation. Of course this need to be properly checked - cc @mhilbrunner @akien-mga

Thanks!


Added TOC

I think I could flesh it out more, but I wanted to get a general idea out to hear what everyone thinks.
Happy Sunday 🎃

Coverage remained the same at 100.0% when pulling 968b9b23718b71051f75de52a7961e6afebb6a00 on Haugf:tableOfContents into 5a42fcb458fb7150f685b8a4ed7fbe0b78e7e62a on zemirco:master.

Coverage remained the same at 100.0% when pulling 968b9b23718b71051f75de52a7961e6afebb6a00 on Haugf:tableOfContents into 5a42fcb458fb7150f685b8a4ed7fbe0b78e7e62a on zemirco:master.


Add node about make unit-tests

What changed?
Simple edition to the readme.  Mainly to test skipping GH actions
[skip actions]

Why?
test skipping a run of GH actions

How did you test it?

Release notes
no

Documentation Changes
no

[skip actions]


Format the code with new elixir formatter!

With elixir 1.6 we have the new oficial formatter 😄 ( https://medium.com/blackode/code-formatter-the-big-feature-in-elixir-v1-6-0-f6572061a4ba )
I was doing the changes to fix #53 but I was also changing the format of the files, because my editor auto format the source code on save.
I'll open this PR with the actual source code formatted, feel free to accept or reject it if you don't like the formatter.
Cheers, and welcome back!

Thanks! I think the formatter is cool~ I like it 😺


Assigning between sets of dataframe columns throws ValueError

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian GNU/Linux 10
Modin version (modin.__version__): 0.10.1
Python version: 3.7.3
Code we can use to reproduce:

# works

import pandas as pd
df = pd.DataFrame({'a':[0],'b':[0]})
cols = ['a','b']
df[cols] = df[cols]

# does not work

import modin.pandas as pd
df = pd.DataFrame({'a':[0],'b':[0]})
cols = ['a','b']
df[cols] = df[cols]

Describe the problem
With pd.DataFrame, assigning from a set of columns to a set of columns leads to the following exception with modin.pandas but not pandas.
Source code / logs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/xxx/lib/python3.7/site-packages/modin/pandas/dataframe.py", line 2540, in __setitem__
    self._default_to_pandas(setitem_unhashable_key)._query_compiler
  File "/xxx/lib/python3.7/site-packages/modin/pandas/base.py", line 459, in _default_to_pandas
    result = op(pandas_obj, *args, **kwargs)
  File "/xxx/lib/python3.7/site-packages/modin/pandas/dataframe.py", line 2536, in setitem_unhashable_key
    df[key] = value
  File "/xxx/lib/python3.7/site-packages/pandas/core/frame.py", line 3597, in __setitem__
    self._setitem_array(key, value)
  File "/xxx/lib/python3.7/site-packages/pandas/core/frame.py", line 3648, in _setitem_array
    return self._setitem_array(key, value)
  File "/xxx/lib/python3.7/site-packages/pandas/core/frame.py", line 3643, in _setitem_array
    self._iset_not_inplace(key, value)
  File "/xxx/lib/python3.7/site-packages/pandas/core/frame.py", line 3670, in _iset_not_inplace
    raise ValueError("Columns must be same length as key")
ValueError: Columns must be same length as key

Closed by #3330

@YarShev @devin-petersohn
Thanks a lot! Awesome!


AssetIndexer Error: 2018.3.0f + UMA 2.8RC3 Win10

Hi there
Not sure if this is "serious" - the DCS Demo scene appears to work. Just starting with UMA so not really sure about anything yet :)
Let me know if I can provide more info. Cheers!
Unity 2018.3.0f2
Win 10
UMA 2.8 RC3
Unable to load the AssetIndexer. This item is used to index non-asset bundle resources and is required.
UnityEngine.Debug:LogError(Object)
UMA.UMAAssetIndexer:get_Instance() (at Assets/UMA/Core/Extensions/DynamicCharacterSystem/Scripts/UMAAssetIndexer.cs:109)
UMA.UMAEditorUtilities:.cctor() (at Assets/UMA/Core/Scripts/Editor/UMAEditorUtilities.cs:40)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

lol @kenamis  I'm a coder - so I always say "appears" - without any real testing and especially if I am just starting out - I may have missed a button.
I've just gone through the examples and they all work fine. (Female expressions don't work - I'll let you know when I play some more)
No this is a clean install of RC3 on an empty 2018.3 project.
Do let me know if I can help out tracking this down. Cheers

Getting the same errors.  Unity 2018.3.4f1, UMA 2.8 RCS from Github, clean install into new Unity project. Downloaded the .unitypackage and imported.
Only other assets in the project are Cinemachine and the new NavMesh Components
Unable to load the AssetIndexer. This item is used to index non-asset bundle resources and is required.
UnityEngine.Debug:LogError(Object)
UMA.UMAAssetIndexer:get_Instance() (at Assets/UMA/Core/Extensions/DynamicCharacterSystem/Scripts/UMAAssetIndexer.cs:109)
UMA.CharacterSystem.UMAAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/UMA/Core/Extensions/DynamicCharacterSystem/Scripts/UMAAssetModificationProcessor.cs:14)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])

Sometimes I can get the error to appear too when upgraded from a previous version of Unity, but it doesn't prevent compile and everything still works.  The error goes away after the first run.  @jwvanderbeck are you not able to run the scenes at all?
I think the issue is with Unity not loading the Resources in time which is odd.

@Jaimi
http://www.createdbyx.com/post/2013/02/17/Unity-Tip-101-55-–-InitializeOnLoad-ResourcesLoad-gotcha’s.aspx

AssetDatabase is not available outside of the editor.  I will put in a change to delay load the AssetIndex in the editor utilities, and then remove the warning when it is null. We only put it in because one person deleted the file, causing it not to be found. Being not found in the post processor is not a problem, so it shouldn't warn anyway.  Fixed in Release-28-prep


App works in debug/profile but crash in release

Hi, when I build the app on release mode it crash on calling initSession, working perfectly on debug/release mode, here is the complete logs - https://gist.github.com/swarupbhc/0dc2ad644f15ad35d301d30bddb10f65.
Android version - Android 13, Android 11
Logs - https://gist.github.com/swarupbhc/0dc2ad644f15ad35d301d30bddb10f65
Is there a way to fix that?
Thx.

Thank you for the bug report. Judging by
F/example.auction(10457): runtime.cc:683] No pending exception expected: java.lang.ClassNotFoundException: com.opentok.android.SubscriberKit$SubscriberAudioStats
I'm going to guess that ProGuard is automatically enabled in your instant of Android studio.
You can either build using the --no-shrink  flag when running flutter build. Or you can take a look at https://tokbox.com/developer/sdks/android/#proguard-rules-needed-by-the-vonage-android-sdk for the ProGuard rules that need to be setup so that the Vonage SDK doesn't get shrunk.

Thank you again @devwithzachary


Taxon constraint: GO:0017015

Please provide as much information as you can:

GO term ID label:
GO:0017015    JSON
regulation of transforming growth factor beta receptor signaling pathway

Request to add a taxon constraint:

never in fungi

**only in taxon: **

**never in taxon: **

Request to remove a taxon constraint:
Please specify

Supporting evidence if available (e.g PMID):

Also added never in Fungi to positive and negative regulation terms.


td_send or td_receive contains @type?

meta data like that
type meta struct {
	Type     string `json:"@type"`
	Extra    string `json:"@extra"`
	ClientId int    `json:"@client_id"`
}
``
whether send or receive all contains meta ?

You must specify @type in all sent objects, for which the type is ambiguous, and receive it in all objects.


[Feature Request] : Need to support LoRA and QLoRA

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Motivation

Solution
No response
Alternatives
No response
Additional context
No response

#16

#16 LoRA and QLoRA supported in this pr

Feel free to ask @yongzhemiaolegemi if you encounter any issues!


Download button?

Hello.
I wanted your help to make a download button so the user can download the image if he likes it!
What is the file that handle the full screen view of the image?

Take a look at the ImageSlideshow class.

I've managed to make an icon "save" at the FullScreenSlideshowViewController.swift But now i have to get the image which is displayed. Any idea of how to do it?

https://github.com/zvonicek/ImageSlideshow/pull/51


content feedback

Adds the routing, as well as the flow, for handling responses when we send a push message asking the user to give their feedback on the content that they just viewed

@rudigiesler it looks like there have been some minor copy changes to the Miro board for these states


Fix linker scripts to define _end correctly

_end must point past the last address of statically allocated RAM in the application. Adjust the linker scripts to use a new fragment which does this. Adjust the cmake linker script generator to do the same.

How does the new symbol differ from _kernel_ram_end?

What "new" symbol?

How does the new symbol differ from _kernel_ram_end?

Aside from the fact that _end is already defined in most of the linker scripts (just incorrectly), _kernel_ram_end points at the end of memory, not the end of memory that is statically assigned by the linker.

Can you please fix the compliance check failure regarding the first commit message?

1: UC3 Commit title does not follow [subsystem]: [subject] (and should not start with literal subsys:): "Fix linker scripts to define _end after all static RAM data"

Yup.

@stephanosio -- could this be considered for 3.4? It's a fatal error when linking with picolibc using the default common malloc configuration settings on smaller targets for most architectures.

@galak PTAL


[CognitiveLanguage] language-conversations - remove deprecated luis sample

As per discussion in #35561 , we want to remove this deprecated sample and avoid confusion that may come from customers expecting this sample to work.

API change check
API changes are not detected in this pull request.


Ranking error - conversion failed when converting date and/or time from character string

I'm getting the following error when opening ranking.
An exception occurred while executing 'SELECT t0_.UserJID AS UserJID_0 FROM BlockedUser t0 WHERE t0_.timeEnd >= ? GROUP BY t0_.UserJID' with params ["2017-07-29 19:41:42.644175"]:
SQLSTATE[22007]: [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Conversion failed when converting date and/or time from character string.

looks like in your blockeduser table is the  timeend col not datetime, please change it than it works

http://epvpimg.com/wxCRcab
It's datetime already

is there wrong data stored in the table?
maybe you can clean the table and check it again.
other way could be check the settings for default datetime cast, if that format is correct.
if all not work please send me a screen of the data in your table, the mssql version and the setting info.

I cleaned the table still getting the same error.
http://epvpimg.com/2hR0dab
Here is a screenshot of the contents that were in the table before cleaning it.
My mssql version is 2014 enterprise, what do you mean with check the settings for default datetime cast? The format is the original one which comes with sql 2014, I haven't messed with it.

I solved this by making the format of timeEnd datetime2 instead of datetime. Will see if globalmanager will be able to read this or not later when I restart the server. Meanwhile please try to find a solution for this :)

you are the first person with that problem, i tested this with 2012 and 2016, no problems there.
it works also live on some servers.


Since 3.0.0 version get "Error: Cannot find module" when using file paths with '~'

Hie!
This is my project https://github.com/g1un/path-resolve-issue
I added "src/fonts" to my resolve.modules in webpack.config.js (https://github.com/g1un/path-resolve-issue/blob/test/webpack.config.js#L33) and tried to use fonts with path with '~' (https://github.com/g1un/path-resolve-issue/blob/test/src/scss/components/_fonts.scss#L4).
It works with<EMAIL_ADDRESS>but do not with<EMAIL_ADDRESS>giving:
ERROR in ./src/scss/style.scss
Module build failed (from ./node_modules/extract-loader/lib/extractLoader.js):
/Users/ilyasmal/work/bogdanovka/node_modules/resolve/lib/sync.js:45
    throw err;
    ^

Error: Cannot find module 'roboto-light.woff2' from '/Users/ilyasmal/work/bogdanovka/src/scss'
    at Function.module.exports [as sync] (/Users/ilyasmal/work/bogdanovka/node_modules/resolve/lib/sync.js:43:15)
    at /Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:100:60
    at require (/Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:93:86)
    at /Users/ilyasmal/work/bogdanovka/src/scss/style.scss:7:8341
    at ContextifyScript.Script.runInContext (vm.js:59:29)
    at ContextifyScript.Script.runInNewContext (vm.js:65:15)
    at /Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:132:20
    at Generator.next (<anonymous>)
    at step (/Users/ilyasmal/work/bogdanovka/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /Users/ilyasmal/work/bogdanovka/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
    at new Promise (<anonymous>)
    at new F (/Users/ilyasmal/work/bogdanovka/node_modules/core-js/library/modules/_export.js:36:28)
    at /Users/ilyasmal/work/bogdanovka/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12
    at evalModule (/Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:150:63)
    at evalDependencyGraph (/Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:152:12)
    at Object.<anonymous> (/Users/ilyasmal/work/bogdanovka/node_modules/extract-loader/lib/extractLoader.js:32:31)
 @ ./src/js/app.js 3:0-30
 @ ./src/js/dev.app.js
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080 ./src/js/dev.app.js

Ended up using https://github.com/webpack-contrib/mini-css-extract-plugin.
It works with '~' properly.

Also hitting this ATM.

I am seeing this issue too, and it's with an HTML file so the mins-css-extract-plugin doesn't work :(


Show breadcrumb trail in edit view too

Not immediately sure how to do this or if it's possible.

[ ] Check what the selector becomes when in edit mode.

Currently it is div.markdown-preview-view

@victor-IT @HEmile this is now optional (off by default) in 1.8.0 :)


[QUESTION] How to validate prohibited?

How can you validate an input if only one field is allowed to have a value, but no field has to have a value?
'channel_1_id' => ['prohibits:channel_2_id,channel_3_id', 'ulid'],
'channel_2_id' => ['prohibits:channel_1_id,channel_3_id', 'ulid'],
'channel_3_id' => ['prohibits:channel_1_id,channel_2_id', 'ulid']

可以根据这个文档自己完成规则：https://hyperf.wiki/3.1/#/zh-cn/validation?id=自定义验证规则


Update header icon and tools used in home page

Description
Update the following:

header icon
tools icon and conent

Suggested solution
In homepage update the new icon and the tools used.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

[ Triaged ] Good to start development


Recheck Requirements for Installation in a conda environment

Hello, I am a newbie in conda as well as in python, with former experiences in script programming. Could you please recheck yout list in requirements for the installation and use of TreeTool!? There are many duplicate entries in the list of packages thta neede to be installed. I am very interested in applying TreeTool to my LiDAR point clouds.
Best regards, C.Hess
UPDATE: I asked because I got issues in running TreeTool under ubuntu, but following your requirements and "dublicate" steps under Windows 10 your QuickDemo Script looks and works fine.

Thanks for the comment, I've removed the duplicate steps so the requirements are clearer

C. Hess,
I will be interested in receiving your feedback on whether the changes
worked for you.
Thanks!
On Tue, Jan 25, 2022 at 8:27 AM Joaquin Salas @.***> wrote:

Thanks for your email.
Thanks for pointing this out. We will take a look at it.
Best
On Tue, Jan 25, 2022 at 1:36 AM chess @.***> wrote:

Hello, I am a newbie in conda as well as in python, with former
experiences in script programming. Could you please recheck yout list in
requirements for the installation and use of TreeTool!? There are many
duplicate entries in the list of packages thta neede to be installed. I am
very interested in applying TreeTool to my LiDAR point clouds.
Best regards, C.Hess
—
Reply to this email directly, view it on GitHub
https://github.com/porteratzo/TreeTool/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLU4SEGAHWQWSXRB6GM3P3UXZHI3ANCNFSM5MXPCBCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--

Joaquin Salas

--

Joaquin Salas


Fix after private-chain merge

After doing the same merge three basically times (feat-1.6, #4109 and #4228) there's two issues fixed in this PR after #4109 :

Due to conflicts, VFTA tests for locked amounts were incorrect (default should be 0 lockup, tests should exercise 90 days) - this was introduced in #3231, but conflicts in private chain changes made it revert to 90days.
Payment errors penalty could've been paid to block proposer regardless of fee_handling/refund_handling option.

Once merged I'll apply this to both feat-1.6 (again) and feat-2.0

bors r+

bors r-

bors r+