tooltip get stuck in nouislider after upgrading to the version > 10.1.0

the tooltip get stuck when upgrading to the latest verison, i have seen all the example in the plunker but they use version @9.2
so can we upgrade the version of nouislider greater then 10?

I think you can

Is the problem is from my side?

I can't say anything without a live sample illustrating the issue.


Traefik can't find IP adress for container

Hello guys,
I just tried to use the example from this repository to setup anonaddy with docker. I used the given example in the traefik folder.
But I do encounter the following error again and again no matter what I try:
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
anonaddy exited with code 1
traefik     | time="2022-01-22T21:35:35Z" level=error msg="service \"anonaddy\" error: unable to find the IP address for the container \"/anonaddy\": the server is ignored" container=anonaddy-home-4c8c65187cf700d3716f2e26c55046af7ab86d4e9c28fe360dd38d092caedd1a providerName=docker

I basically do use the default config. I was able to make it work on one test machine but on the other it fails with the given error.
My config:

My docker-compose.yml (Spoiler)
version: "3.5"

services:
traefik:
  image: traefik:2.5
  container_name: traefik
  command:
    - "--global.checknewversion=false"
    - "--global.sendanonymoususage=false"
    - "--log=true"
    - "--log.level=INFO"
    - "--entrypoints.http=true"
    - "--entrypoints.http.address=:80"
    - "--entrypoints.http.http.redirections.entrypoint.to=https"
    - "--entrypoints.http.http.redirections.entrypoint.scheme=https"
    - "--entrypoints.https=true"
    - "--entrypoints.https.address=:443"
    - "--certificatesresolvers.letsencrypt"
    - "--certificatesresolvers.letsencrypt.acme.storage=acme.json"
    -<EMAIL_ADDRESS>    - "--certificatesresolvers.letsencrypt.acme.httpchallenge"
    - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http"
    - "--providers.docker"
    - "--providers.docker.watch=true"
    - "--providers.docker.exposedbydefault=false"
  ports:
    - target: 80
      published: 80
      protocol: tcp
    - target: 443
      published: 443
      protocol: tcp
  volumes:
    - "./acme.json:/acme.json"
    - "/var/run/docker.sock:/var/run/docker.sock"
  restart: always

db:
  image: mariadb:10.5
  container_name: anonaddy_db
  command:
    - "mysqld"
    - "--character-set-server=utf8mb4"
    - "--collation-server=utf8mb4_unicode_ci"
  volumes:
    - "./db:/var/lib/mysql"
  environment:
    - "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
    - "MYSQL_DATABASE"
    - "MYSQL_USER"
    - "MYSQL_PASSWORD"
  restart: always

redis:
  image: redis:4.0-alpine
  container_name: anonaddy_redis
  restart: always

anonaddy:
  image: anonaddy/anonaddy:latest
  container_name: anonaddy
  depends_on:
    - db
    - redis
  ports:
    - target: 25
      published: 25
      protocol: tcp
  volumes:
    - "./data:/data"
  labels:
    - "traefik.enable=true"
    - "traefik.http.routers.anonaddy.entrypoints=https"
    - "traefik.http.routers.anonaddy.rule=Host(`mydomain.tld`)"
    - "traefik.http.routers.anonaddy.tls=true"
    - "traefik.http.routers.anonaddy.tls.certresolver=letsencrypt"
    - "traefik.http.routers.anonaddy.tls.domains[0].main=mydomain.tld"
    - "traefik.http.services.anonaddy.loadbalancer.server.port=8000"
  env_file:
    - "./anonaddy.env"
  environment:
    - "DB_HOST=db"
    - "DB_DATABASE=${MYSQL_DATABASE}"
    - "DB_USERNAME=${MYSQL_USER}"
    - "DB_PASSWORD=${MYSQL_PASSWORD}"
    - "REDIS_HOST=redis"
  restart: always

anonaddy.env
TZ=Europe/Berlin
PUID=1000
PGID=1000

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
LISTEN_IPV6=true
REAL_IP_FROM=<IP_ADDRESS>/32
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=http_x_forwarded_for

APP_KEY=base64:TZqfhgtADCJavbKJyA8Iqr3oNRDZZ1b7f91TiNkqM+M=
APP_DEBUG=false
APP_URL=https://mydomain.tld

<EMAIL_ADDRESS>ANONADDY_ADMIN_USERNAME=multi
ANONADDY_ENABLE_REGISTRATION=false
ANONADDY_DOMAIN=mydomain.tld
ANONADDY_ALL_DOMAINS=mydomain.tld
ANONADDY_HOSTNAME=mydomain.tld
ANONADDY_DNS_RESOLVER=<IP_ADDRESS>
ANONADDY_SECRET=okevkZxAwFqxrlmpepDpBniBenQjHrDiaRoHVTfcrLKABGb8tZf0U
ANONADDY_LIMIT=50
ANONADDY_BANDWIDTH_LIMIT=104857600
ANONADDY_NEW_ALIAS_LIMIT=50
ANONADDY_ADDITIONAL_USERNAME_LIMIT=0
ANONADDY_DKIM_SIGNING_KEY=/data/dkim/mydomain.tld.private
ANONADDY_DKIM_SELECTOR=default

MAIL_FROM_NAME=Spam-Mail
<EMAIL_ADDRESS>
POSTFIX_DEBUG=false
POSTFIX_SMTPD_TLS=false
POSTFIX_SMTP_TLS=false

DKIM_ENABLE=true

RSPAMD_ENABLE=true
RSPAMD_WEB_PASSWORD=E9IxAwoksA4Zv5eiZV

EDIT:
Whole log incase that helps
docker-compose up
Starting anonaddy_redis ... done
Starting anonaddy_db    ... done
Starting traefik        ... done
Starting anonaddy       ... done
Attaching to anonaddy_db, anonaddy_redis, traefik, anonaddy
anonaddy_db | 2022-01-22 21:47:11+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.13+maria~focal started.
anonaddy_db | 2022-01-22 21:47:12+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
anonaddy_db | 2022-01-22 21:47:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.13+maria~focal started.
anonaddy_db | 2022-01-22 21:47:12 0 [Note] mysqld (mysqld 10.5.13-MariaDB-1:10.5.13+maria~focal) starting as process 1 ...
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Uses event mutexes
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Number of pools: 1
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
anonaddy_db | 2022-01-22 21:47:12 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Using Linux native AIO
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Completed initialization of buffer pool
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: 128 rollback segments are active.
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Creating shared tablespace for temporary tables
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: 10.5.13 started; log sequence number 45118; transaction id 20
anonaddy_db | 2022-01-22 21:47:12 0 [Note] Plugin 'FEEDBACK' is disabled.
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
anonaddy_db | 2022-01-22 21:47:12 0 [Note] InnoDB: Buffer pool(s) load completed at 220122 21:47:12
anonaddy_db | 2022-01-22 21:47:13 0 [Note] Server socket created on IP: '::'.
anonaddy_db | 2022-01-22 21:47:13 0 [Warning] 'proxies_priv' entry '@% root@dcfe60fb80a3' ignored in --skip-name-resolve mode.
anonaddy_db | 2022-01-22 21:47:13 0 [Note] Reading of all Master_info entries succeeded
anonaddy_db | 2022-01-22 21:47:13 0 [Note] Added new Master_info '' to hash table
anonaddy_db | 2022-01-22 21:47:13 0 [Note] mysqld: ready for connections.
anonaddy_db | Version: '10.5.13-MariaDB-1:10.5.13+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
anonaddy_redis | 1:C 22 Jan 21:47:11.754 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
anonaddy_redis | 1:C 22 Jan 21:47:11.754 # Redis version=4.0.14, bits=64, commit=00000000, modified=0, pid=1, just started
anonaddy_redis | 1:C 22 Jan 21:47:11.754 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
anonaddy_redis | 1:M 22 Jan 21:47:11.756 * Running mode=standalone, port=6379.
anonaddy_redis | 1:M 22 Jan 21:47:11.756 # Server initialized
anonaddy_redis | 1:M 22 Jan 21:47:11.756 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
anonaddy_redis | 1:M 22 Jan 21:47:11.757 * DB loaded from disk: 0.001 seconds
anonaddy_redis | 1:M 22 Jan 21:47:11.757 * Ready to accept connections
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Configuration loaded from flags."
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Traefik version 2.5.7 built on 2022-01-20T16:16:23Z"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://doc.traefik.io/traefik/contributing/data-collection/\n"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Starting provider aggregator.ProviderAggregator {}"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Starting provider *traefik.Provider {}"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Starting provider *docker.Provider {\"watch\":true,\"endpoint\":\"unix:///var/run/docker.sock\",\"defaultRule\":\"Host(`{{ normalize .Name }}`)\",\"swarmModeRefreshSeconds\":\"15s\"}"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Starting provider *acme.ChallengeTLSALPN {\"Timeout\":4000000000}"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Starting provider *acme.Provider {\"email\":\"mail@mydomain.tld\",\"caServer\":\"https://acme-v02.api.letsencrypt.org/directory\",\"storage\":\"acme.json\",\"keyType\":\"RSA4096\",\"httpChallenge\":{\"entryPoint\":\"http\"},\"ResolverName\":\"letsencrypt\",\"store\":{},\"TLSChallengeProvider\":{\"Timeout\":4000000000},\"HTTPChallengeProvider\":{}}"
traefik     | time="2022-01-22T21:47:12Z" level=info msg="Testing certificate renew..." providerName=letsencrypt.acme
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
traefik     | time="2022-01-22T21:47:18Z" level=error msg="service \"anonaddy\" error: unable to find the IP address for the container \"/anonaddy\": the server is ignored" container=anonaddy-home-4c8c65187cf700d3716f2e26c55046af7ab86d4e9c28fe360dd38d092caedd1a providerName=docker
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
anonaddy exited with code 1
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
anonaddy exited with code 1
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
anonaddy exited with code 1
traefik     | time="2022-01-22T21:47:34Z" level=error msg="service \"anonaddy\" error: unable to find the IP address for the container \"/anonaddy\": the server is ignored" providerName=docker container=anonaddy-home-4c8c65187cf700d3716f2e26c55046af7ab86d4e9c28fe360dd38d092caedd1a
anonaddy    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
anonaddy    | [s6-init] ensuring user provided files have correct perms...exited 0.
anonaddy    | [fix-attrs.d] applying ownership & permissions fixes...
anonaddy    | [fix-attrs.d] done.
anonaddy    | [cont-init.d] executing container initialization scripts...
anonaddy    | [cont-init.d] 00-env: executing...
anonaddy    | [cont-init.d] 00-env: exited 0.
anonaddy    | [cont-init.d] 00-fix-logs.sh: executing...
anonaddy    | [cont-init.d] 00-fix-logs.sh: exited 0.
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: executing...
anonaddy    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
anonaddy    | [cont-init.d] 02-fix-perms.sh: executing...
anonaddy    | Fixing perms...
anonaddy    | [cont-init.d] 02-fix-perms.sh: exited 0.
anonaddy    | [cont-init.d] 10-config.sh: executing...
anonaddy    | ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive
anonaddy    | [cont-init.d] 10-config.sh: exited 1.
anonaddy    | [cont-finish.d] executing container finish scripts...
anonaddy    | [cont-finish.d] done.
anonaddy    | [s6-finish] waiting for services.
anonaddy    | [s6-finish] sending all processes the TERM signal.
anonaddy    | [s6-finish] sending all processes the KILL signal and exiting.
anonaddy exited with code 1
traefik     | time="2022-01-22T21:47:39Z" level=error msg="service \"anonaddy\" error: unable to find the IP address for the container \"/anonaddy\": the server is ignored" providerName=docker container=anonaddy-home-4c8c65187cf700d3716f2e26c55046af7ab86d4e9c28fe360dd38d092caedd1a

Maybe you guys have an idea where to look at? Thanks in advance!

@multimill
ERROR: Rspamd and OpenDKIM/OpenDMARC are mutually exclusive

You can't enable both as described in the README.


adding a long hardlink without _fs APIs

Similar to #108, the internal helper method for appending long links is only accessible through APIs that attempt to access the filesystem.
It would be great if it were possible to pass a header (with symlink or hardlink entry_type) and a name + link_name as Path and have the builder insert the necessary long-name headers. I.e. an equivalent to append_data
Maybe some general intermediate-level API is missing for adding headers and data separately to orthogonalize the construction of complicated headers that must be written in several parts (long name, long links, sparse header) and their associated data chunks. A single function taking several enums to cover all those combinations might work too.

I'm hitting this in https://github.com/ostreedev/ostree-rs-ext/issues/162
I'm willing to work on a PR here.  But reading the code, one thing that strikes me as somewhat odd is that we have this "base interface" in tar::Header and APIs to "cast" it to e.g. a GnuHeader.
But why do we not directly expose all the API methods like set_link_name() on GnuHeader?  In my case, I know I am writing a GNU-formatted tar archive.  I always want that behavior.
It seems weird to me how many of the Header methods do things like:
    fn _set_path(&mut self, path: &Path) -> io::Result<()> {
        if let Some(ustar) = self.as_ustar_mut() {
            return ustar.set_path(path);
        }
        ...
    // Or base case here

The inverse problem here is that the append_data() behavior of trying the base case but silently "upgrading" to GNU may not be what some people want - they may want to fail instead of writing a GNU entry.  I admit this use case is probably obscure, but to rephrase I think we should be consistent in our interface - the format of an archive as a whole is either GNU or PAX or base, etc.

PR in https://github.com/alexcrichton/tar-rs/pull/273

(Regarding my confusion around Header above, the reason we need a special case append_data() is internally it's represented as two tar entries, so we need to handle it via Builder)


POST http://localhost:55591/auth/facebook 404 (Not Found)

getting this error
POST http://localhost:55591/auth/facebook 404 (Not Found)
What can I do ?

guess you need a server that handles the authentication process
examples can be looked here: https://github.com/sahat/satellizer/blob/master/examples/server/node/server.js

@Chakrakin How to use its ?

Duplicate of #632.

Are README instructions really that unhelpful that people just skip over server-side examples and just assume authorization will magically work on client-side only?


How do i uninstall all the changes i made

Can u please add some instructions on how to revert back completely? Thanks

just run ninja uninstall and it will remove everything.


Add support for specifying compute profile for a pipeline

The cdap application resource should support a "profile" field to specify the name of the compute profile to use when starting this pipeline.
https://docs.cask.co/cdap/5.1.2/en/developer-manual/cloud-runtimes/profiles/assigning-profiles.html#overriding-profile-configuration

This may include adding support for runtime arguments.

Closing in favor of #52


Add Azure Dapr state store Recipe

This PR adds a Recipe for Dapr state stores hosted in Azure as a storage account

I'm curious if there is a specific use case that's driving addition of this recipe.
Also, the description says dapr secret store recipe, but seems like we are using dapr state store to store secret, am I missing something?

@kachawla  Working on a lab for Radius (https://github.com/radius-project/lab) and wanted to show a local dev to Azure progression, and Azure Cache for Redis takes too long to deploy so needed something that is much faster like Azure storage. Will also reuse this as part of some upcoming Dapr + Radius sessions.
And yep, late afternoon PR had the wrong title 😅

I'm curious if there is a specific use case that's driving addition of this recipe.
Also, the description says dapr secret store recipe, but seems like we are using dapr state store to store secret, am I missing something?

@kachawla Working on a lab for Radius (https://github.com/radius-project/lab) and wanted to show a local dev to Azure progression, and Azure Cache for Redis takes too long to deploy so needed something that is much faster like Azure storage. Will also reuse this as part of some upcoming Dapr + Radius sessions.
And yep, late afternoon PR had the wrong title 😅

Sorry just seeing this. Makes sense, thanks for the context.


Honeycomb support for Terraformer

@sergeylanzman thanks for the workflow approval! I fixed those linter errors (whoops!)


Add note about additional kernel modules for cloud vms

Closes #26 by mentioning extra modules may be needed for cloud VMs such as in the case of Azure.

@roalexan sorry for the delay on this. Do you think this provides the extra info that would be helpful for Azure users (ref #26)?

I think it is a welcome addition and good enough - with the caveat that I myself could only get it working for 20.04 (failed for me for 18.04, didn't try 16.04).


Fix CONFIG_KEYS check in contrib/check-config.sh

LGTM

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain ventureacceleration.com has exceeded the max emails per hour (59/50 (118%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o1.sgmail.github.com ([<IP_ADDRESS>]:43804)
by eaglepeak.ovasp.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.86)
(envelope-from<EMAIL_ADDRESS>id 1aarns-0008FK-Cm
for<EMAIL_ADDRESS>Tue, 01 Mar 2016 16:26:00 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com;
h=from:reply-to:to:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=1bqXp8DdjrduykW7MFtZihbrM5k=; b=pz8uInXqIPBLb1Ym
dIDasRThrqOKh9B0BImpPq+c2uEv1Fkk1mrjOvOmPMJGhXWwIPFJexEG5ry7idlx
Ujyj4SEw/GtAxFcY1DK+5mjR2txB7OmWko4dGoYjLObcZZiTBGAOuuE+AnocpR/s
4VYaGv9K+JJC43ROVU7kOPFFcUI=
Received: by filter0635p1mdw1.sendgrid.net with SMTP id filter0635p1mdw1.15149.56D608BA5B
2016-03-01 21:25:14.957728868 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [<IP_ADDRESS>])
by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id pa5IEEBLRySux9FyAfmRWA
for<EMAIL_ADDRESS>Tue, 01 Mar 2016 21:25:14.794 +0000 (UTC)
Date: Tue, 01 Mar 2016 13:25:14 -0800
From: David Calavera<EMAIL_ADDRESS>Reply-To: docker/docker<EMAIL_ADDRESS>To: docker/docker<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [docker] Fix CONFIG_KEYS check in contrib/check-config.sh
(#20826)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_56d608ba9f2ce_72563fc1ba84d29c92578";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: calavera
X-GitHub-Recipient: Fredjet
List-ID: docker/docker <docker.docker.github.com>
List-Archive: https://github.com/docker/docker
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AAfUEuMNqxLsxmTPM747e5CMyCw_byTHks5ppK66gaJpZM4HmtCX
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-SG-EID: /aNWuXPyopvw4qiiGgPIYW5MImGqgRpoeVP5yLCCgspYvGzc503XdDYJJQcVxBHBfuU1Cfa8HlOYcU
01HHoJX0fdT4VhRZkHwxvLvI38uLnq418NlmZPximB+rJIpFM3KVgNH+KivXekUGK0WhDWW1fbN8CZ
UA84Atd+FmwBG6c4Oly4nGUf+/SQed2iEClaQe/0J6cHi5SKrnGkSqplVjX008v0mNpm+cMbQFnZA1
0=
----==_mimepart_56d608ba9f2ce_72563fc1ba84d29c92578
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
LGTM

Reply to this email directly or view it on GitHub:
https://github.com/docker/docker/pull/20826#issuecomment-190911832
----==_mimepart_56d608ba9f2ce_72563fc1ba84d29c92578
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
LGTM
—Reply to this email directly or view it on GitHub.

----==_mimepart_56d608ba9f2ce_72563fc1ba84d29c92578--

LGTM


Different deployment mode to support good performance

Describe the problem/challenge you have
I need to use kpack in a cluster to support build for 200 customers, and each customer has about 50 cnbimages. Totally we have more than 10000 cnbimages in the cluster.

The reconcile queue is blocked because of so many cnbimages
More pods can't help because each pod shares the same queue, they will conflict.
If one customer start lots of cnbimages, other customers will wait, I hope each customer can has they own queue and quota.

Describe the solution you'd like
Add deployment mode support for kpack, there are normal, cluster and namespace deployment mode support

Normal as current implementation
Cluster Model only reconcile the resource for cluster resource, like clusterstore , cluster stack and cluster builder
In Namespace deployment model, each deployment can define the work namespace environment parameter in deployment, and the deployment only reconcile the resource in the give namespace, like cnbimage and build
In this way, the namespace deployment will process the CRDs in its own namespace, and cluster deployment process the cluster CRDs

Anything else you would like to add:
There is similar issue for cartographer and kapp-controller, and there are some test data for kapp-controller as https://github.com/vmware-tanzu/carvel-kapp-controller/issues/792.
Current situation

Namespace deployment after change

@showpune Thank you for this issue!
I'm curious, have you tried scaling the resource requests and limits for the kpack-controller deployment? Does it mitigate the problem at all?

Yes and I scaled both the request and limit of CPU to 2 and memory to 2048m, it helps little

Thanks again for this issue. I think this is a relevant use case and problem. This would require a drastic change to the kpack installation and api which we will hopefully prioritize soon!
We also are happy to accept RFCs or PRs!

Totally we have more than 10000 cnbimages in the cluster.

@showpune The size of this deployment is unheard of with other kpack users. Could you provide a bit more context on what your environment looks like?

@matthewmcnew: Let me share more context for our environment. We have a cluster shared by 200 customers, the customers working on different projects/products and each customer produces around 50 CNB images, The images for different customers are totally different. Customers are isolated by K8S namespace. For our business scenario, the customers have to share the same cluster.
@showpune and I are doing some investigation to scale up kpack controller pods to improve performance.  The idea is:

kpack webhook and controller pods are deployed in kpack namespace. the controller in kpack namespace reconciles cluster resources such as ClusterStore and ClusterStore.
For every customer namespace, there's a kpack controller deployed  to reconcile namespaced resources such as Builder and Image.
kpack webhook is only deployed in kpack namespace.

we have done a POC for this idea and will do some performance test to see the performance improvement.

Hi @matthewmcnew ,
Now we want to isolate the resource for control plan and data plan into different K8S cluster and kpack will be installed in control plan K8S.

For data plan, every customer will own a K8S cluster
For control plan, we will focus on the work for build and deployment, to cutdown the cost, we want customers share a K8S cluster and customers have they own resource quota

We are open to this idea. Would you be open to submit an RFC with proposed changes so that community can review them ?


[upload_workflow_data] Added support for workflow upload_data method

Added upload_data method to support this functionality - https://monkeylearn.com/api/v3/?javascript#upload-workflow-data

Thank you for your PR!
I'm closing this because this endpoint is already supported through ml.workflows.data.create. The reason why it's implemented under another namespace (unlike classifiers.upload_data) is that on workflows there is also a list data endpoint, for retrieving the workflow results.
Cheers!
(PS Sorry, I approved it by mistake at first.)

Yep, I noticed the methods I was after on the workflows object after I did this PR and neglected to close it like the goof that I am.
Thanks much!
-n8


Squiggle-Lang: Watcher doesn't work with ".gen.tx" extention

Also, weirdly, when I remove the warnings, it's fine. (See the "warnings" section)

Is this closed by https://github.com/QURIresearch/squiggle/pull/64 @Hazelfire ?

Yea, I think so


[Feature] Constructing links INTO New Relic

Feature Description
The links for New Relic One look something like this:
https://one.newrelic.com/launcher/nrai.launcher?pane={base64}&sidebars[0]={base64}&platform[accountId]={account}

…where {base64} is a Base64-encoded JSON string with keys/values.
My feature request is to provide a helper to make it easier to construct these deep-links into New Relic One. If any values are enums, then to use enums in Golang so that it's harder to do things incorrectly.
Describe Alternatives
I had started writing some code to construct these manually, but I don't know what all of the possible values are for the keys inside the Base64-encoded JSON strings. Probably not the end of the world, though.

Hey @skyzyx , we reecently put an item on the backlog to allow decoding these URLs from the CLI (newrelic/newrelic-cli#623).  This would be a nice complement to that functionaliity.
We will look to add this to the CLI as well.  We'll make sure to allow for programmatic use as well.   I'll move this FR over to the CLI repo.

Hey @skyzyx , we reecently put an item on the backlog to allow decoding these URLs from the CLI (newrelic/newrelic-cli#623).  This would be a nice complement to that functionaliity.
We will look to add this to the CLI as well.  We'll make sure to allow for programmatic use as well.   I'll move this FR over to the CLI repo.

Duplicate of newrelic/newrelic-cli#634

Duplicate of newrelic/newrelic-cli#634


ValueError on clear-sky models page in Users Guide

The clear-sky docs page has an issue:
In [156]: clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, 10)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-156-a86cb0f5cb3e> in <module>
----> 1 clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, 10)

~/checkouts/readthedocs.org/user_builds/pvlib-python/checkouts/stable/pvlib/clearsky.py in detect_clearsky(measured, clearsky, times, infer_limits, window_length, mean_diff, max_diff, lower_line_length, upper_line_length, var_diff, slope_dev, max_iterations, return_components)
    823     if len(times) < samples_per_window:
    824         raise ValueError(f"times has only {len(times)} entries, but it must \
--> 825                            have at least {samples_per_window} entries")
    826
    827     # generate matrix of integers for creating windows with indexing

ValueError: times has only 30 entries, but it must                            have at least 50 entries

Presumably the problem is that this code is passing the value 10 by position to the new infer_limits parameter added in #1784 instead of to window_length like it used to.  I expect it would be fixed by editing that line in clearsky.rst to specify the parameter by name: window_length=10.

I'd like to tackle this issue.
Seems like your fix suggestion worked (output after running make html:

I have a question about PR's since this is only my second issue.  What is the procedure for updating my fork of the repo as I move from issue to issue?  Should I delete each such branch and create a new fork for a new issue (a little inefficient).  Right now my branch is actually ahead of main by 10 commits, I think because a PR gets squashed into 1 commit.
Thanks.

Should I delete each such forked repo and create a new fork for every new issue

I update my main branch, then create a new branch for each PR. I don't think deleting your fork and creating a new one is needed.
If you don't make new branches, then the new PR may contain commits in other PRs that haven't yet been merged.

@cwhanse , that makes sense, thanks.  Should I also commit the updated clearsky.html file as part of the PR?


System.ObjectDisposedException from BluetoothDevice.Finalize

Package: InTheHand.BluetoothLE Version="4.0.22"
OS: Microsoft Windows [Version 10.0.19044.1586]
Just started to check if BluetoothLE may work for me.
I've created  .net 5 Windows console app, an async devices scanner that scans bluetooth devices around.
Project file:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0-windows10.0.19041.0</TargetFramework>
    <LangVersion>9.0</LangVersion>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="InTheHand.BluetoothLE" Version="4.0.22" />
    <PackageReference Include="System.Runtime.InteropServices.WindowsRuntime" Version="4.3.0" />
  </ItemGroup>
</Project>

Program.cs:
using InTheHand.Bluetooth;
using System;
using System.Threading.Tasks;

namespace InTheHand_BluetoothLE_Tests
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            Bluetooth.AdvertisementReceived += Bluetooth_AdvertisementReceived;
            BluetoothLEScan lescan = await Bluetooth.RequestLEScanAsync(new BluetoothLEScanOptions { AcceptAllAdvertisements = true });

            Console.ReadLine();

            lescan.Stop();
        }

        private static void Bluetooth_AdvertisementReceived(object sender, BluetoothAdvertisingEvent e)
        {
			Console.WriteLine($"Bluetooth_AdvertisementReceived: {e.Name}");
        }
    }
}

It works for some minutes writing out names of discovered devices. After some time it crashes:
Unhandled exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
   at WinRT.IObjectReference.ThrowIfDisposed()
   at WinRT.IObjectReference.TryAs[T](Guid iid, ObjectReference`1& objRef)
   at WinRT.IObjectReference.As[T](Guid iid)
   at WinRT.IObjectReference.As[T]()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at WinRT.SingleInterfaceOptimizedObject..ctor(Type type, IObjectReference objRef, Boolean requireQI)
   at Windows.Devices.Bluetooth.BluetoothLEDevice.Make__lazy_global__System_IDisposable()
   at Windows.Devices.Bluetooth.BluetoothLEDevice.Dispose()
   at InTheHand.Bluetooth.BluetoothDevice.DisposeAllNativeObjects()
   at InTheHand.Bluetooth.BluetoothDevice.Finalize()

Is this an issue in InTheHand.BluetoothLE or did I forget to dispose something?

Even in quite place, no devices detected I've ran into the same after some minutes:
InTheHand.BluetoothLE
Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ObjectReference'.
   at WinRT.IObjectReference.ThrowIfDisposed()
   at WinRT.IObjectReference.TryAs[T](Guid iid, ObjectReference`1& objRef)
   at WinRT.IObjectReference.As[T](Guid iid)
   at WinRT.IObjectReference.As[T]()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at WinRT.SingleInterfaceOptimizedObject..ctor(Type type, IObjectReference objRef, Boolean requireQI)
   at WinRT.SingleInterfaceOptimizedObject..ctor(Type type, IObjectReference objRef)
   at Windows.Devices.Bluetooth.BluetoothLEDevice.Make__lazy_global__System_IDisposable()
   at Windows.Devices.Bluetooth.BluetoothLEDevice.AsInternal(InterfaceTag`1 _)
   at Windows.Devices.Bluetooth.BluetoothLEDevice.Dispose()
   at InTheHand.Bluetooth.BluetoothDevice.DisposeAllNativeObjects()
   at InTheHand.Bluetooth.BluetoothDevice.Finalize()

Seems to be thrown inside Windows.Devices.Bluetooth.BluetoothLEDevice.Dispose(). Possibly the object is being disposed more than once. Will investigate further.

Looks like this one:
https://github.com/MicrosoftDocs/windows-uwp/issues/498

Just hitting this now as well, but I could possibly submit a PR if I know where this problem lies?

Actually, I think this could be caused by this PR: https://github.com/inthehand/32feet/pull/133
Line 39 in BluetoothDevice.windows.cs has this in the destructor for the object:
 ~BluetoothDevice()
        {
            DisposeAllNativeObjects();
        }

Commenting out the destructor stopped this issue from happening. I'll see if this causes any other obvious issues...

@lewcianci

Commenting out the destructor stopped this issue from happening.

But it may lead to the memory leaks.

We can't remove this because it was necessary to support correct disconnection and free up the native objects. The issue is why a Dispose is getting called twice for a native object. The messy solution would be to wrap the Dispose call inside DisposeAllNativeObjects in a try/catch. It needs some additional logging so we can try and recreate and see which threads it is being called from.

Maybe some book keeping shall be done in OnGattServerDisconnected()? Now BluetoothDevice just informs subscribers by calling triggering event:
        internal void OnGattServerDisconnected()
        {
            GattServerDisconnected?.Invoke(this, EventArgs.Empty);
        }

        /// <summary>
        /// Fired when an active GATT connection is lost.
        /// </summary>
        public event EventHandler GattServerDisconnected;

@lewcianci This is what @peterfoot said and he called it a messy solution (I agree):

The messy solution would be to wrap the Dispose call inside DisposeAllNativeObjects in a try/catch.

I am currently experiencing the same thing.  In my case I maintain a list of the advertisements to display in a UI.
I found that if I always append to the list indefinitely, things are fine (obviously since the destructor never gets called).
If I update previously seen advertisements in the list by replacing them then the issue occurs.
If I do absolutely nothing with the items the issue occurs as well which makes sense because the destructor would be getting called.
This seems like what's happening is we have multiple instances of BluetoothAdvertisementEvent, each with their own BluetoothDevice, but I believe each of those instances are referencing the same instance of BluetoothLEDevice so the first one gets disposed and disposes BluetoothLEDevice in all instances of BluetoothAdvertisementEvent.  This seems extremely problematic since you may be using the BluetoothAdvertisementEvent that has not yet been disposed so I agree that a simple try/catch is not the correct solution here.
@peterfoot Can you confirm if I'm on the right track with my thinking?  If so, any ideas on how to resolve it?

Did a little test and called BluetoothLEDevice.FromBluetoothAddressAsync(args.BluetoothAddress, args.BluetoothAddressType); multiple times to get multiple instances and Disposed one of them and the others stayed intact so it doesn't look like this is what's happening after all

I also threw a counter in DisposeAllNativeObjects and it appears it's only being called once prior to the exception being thrown, kind of out of ideas on this one, it's starting to seem more and more like the OS has actually disposed it out from underneath us for some reason

This definitely looks to be related to the use of the destructor.  To test I used the following...
public class Test
{
private readonly BluetoothLEDevice _device;
public Test(ulong bluetoothAddress)
{
    IAsyncOperation<BluetoothLEDevice> deviceAsync = BluetoothLEDevice.FromBluetoothAddressAsync(247023104633615);

    // https://github.com/inthehand/32feet/issues/96
    // Wait some time for this task to complete otherwise the event will fire
    // before the 'Device' property as been set.
    if (deviceAsync.AsTask().Wait(7000))
    {
        _device = deviceAsync.GetResults();
    }
    else
    {
        try
        {
            // The documents state that it is not possible to cancel 'FromBluetoothAddressAsync'
            // so mask any exceptions before calling this.
            deviceAsync.Cancel();
        }
        catch
        {
        }
    }
}

~Test()
{
    _device.Dispose();
}

}
and invoked it with....
var address = {whatever device address you have}
for (var i = 0; i < 500; i++)
{
var x = new Test(address);
}
That seems to be enough to repro it and isolate it from being impacted by any other code

Even more interesting....the following works fine, note, I even kicked it all the way up to 2k instances and it does not throw
public class Test2 : IDisposable
{
private readonly BluetoothLEDevice _device;
public Test2(ulong bluetoothAddress)
{
    IAsyncOperation<BluetoothLEDevice> deviceAsync = BluetoothLEDevice.FromBluetoothAddressAsync(247023104633615);

    // https://github.com/inthehand/32feet/issues/96
    // Wait some time for this task to complete otherwise the event will fire
    // before the 'Device' property as been set.
    if (deviceAsync.AsTask().Wait(7000))
    {
        _device = deviceAsync.GetResults();
    }
    else
    {
        try
        {
            // The documents state that it is not possible to cancel 'FromBluetoothAddressAsync'
            // so mask any exceptions before calling this.
            deviceAsync.Cancel();
        }
        catch
        {
        }
    }
}

public void Dispose()
{
    _device.Dispose();
}

}
        var items = new List<Test2>();
        var address = {whatever device address you have}

        for (var i = 0; i < 2000; i++)
        {
            items.Add(new Test2(address));
        }

        foreach (var item in items)
        {
            item.Dispose();
        }


sdl: add integer scale bindings for Renderer

Add the missing SDL_RenderGetIntegerScale and SDL_RenderSetIntegerScale methods on the Renderer struct.
I'm not aware of an easy way to test using older versions of sdl (since both these functions are >=2.0.5).
Got any tips on how to do that easily?
I'd like to make sure it works as expected on older versions before merge.

Thanks @flga for implementing missing bindings! The PR looks really good 😃
If you want to test if it builds with older SDL2, you could do similar thing as our Travis CI where we compile and install SDL2 from source and run go build or go install to make sure it builds successfully.
Or.. I believe you can also enable Travis CI build on your repository but that does require you to push it to Github first.

@veeableful thanks for the tip, I'll give it a go tomorrow!

@veeableful fixed error handling on getIntegerScale, it returns 0 on error not -1.
Added a more descriptive error on sdl < 2.0.5, I wasn't setting the error before so it would just return the last one.
And finally added some tests to make sure that on sdl < 2.0.5 it returns the appropriate error.

@veeableful just noticed that error handling isn't ok yet, I need to clear the error before call and check the error after call when it returns SDL_FALSE.

@veeableful ok, I think it's ready now :smile:

@flga Thanks for the touch-ups! I thought it is fine without clearing the error because you are returning nil when it succeeds. Am I missing something?

@veeableful when it succeeds there's no problem, it's when it returns 0, without failing, having a previous error set.
Here's a quick writeup of what happens if we do not clear the error:
// create a streaming texture and set it as a render target,
// it will fail with "Texture not created with SDL_TEXTUREACCESS_TARGET"
tex, _ := dummy.CreateTexture(PIXELFORMAT_ABGR1555, TEXTUREACCESS_STREAMING, 200, 200)
dummy.SetRenderTarget(tex)

// now get the scale value, which is SDL_FALSE, since we have not modified it
v, err := dummy.GetIntegerScale()
// since we have not cleared the error, and sdl returns false, we call GetError()
// and it will return the "texture not created with" error from before

That's why we need to explicitly clear the error.

@flga Ah! So renderer.GetIntegerScale() also returns SDL_FALSE when it's not an error? That's really interesting! I wonder if SDL2 people are doing this too. I will merge this then and thank you for the explanation! :relaxed:


apk is invalid

idk if the project is alive or not, but still. the problem is that when installing it gives the following: “The application is not installed because its package is invalid (e.g. corrupted)”. maybe it should be installed in some other way but I don't know. phone: realme c30s

download the apk from the Actions page first
apk on the Releases page may not be installed due to signature issues


Skipping static properties during serialization #1379

Description

Skipping static properties while serializing classes

Motivation and Context

Fixes nanoFramework/Home#1379

How Has This Been Tested?

Just unit test in this project

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[X] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[X] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[X] I have read the CONTRIBUTING document.
[X] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[X] I have added new tests to cover my changes.

Looks good for me. @josesimoes care to take a look?


Remove incorrect key from meta data access example

Just a tiny fix in the documentation.
Since the provided json:api document some lines above doesn't define a "self" attribute within the meta tag you would run into an error when trying to access the "created" attribute using the specified example.

Thanks @erikpaperik, good spot


add more information about deep link for expo projects

done :)

💯

added a bit more clarification on the expo stuff :)

cool! thanks for add that awesome clarification. :)


Why the second matrix of the mlp layer has the same shape of the first one?

It's more a question than an issue. The tensor w2 of class SparseMLP has the same shape as the w1, is it because of the DSD operation? like, it requires the two matrices to have the same shape? Usually, the shape of w2 is the   transpose of w1, e.g. MLP of GPT2. Thanks in advance.

Hi! Excellent question!
We get significantly better performance with SparseMLP by using weight data layouts where the inner-most dimension is hidden_size - likely because of cache effects, although I haven't looked into it more deeply than observing the difference :)


Only 50 subscriptions retreived

Hi,
I have over 180 subscriptions, it appears that the management.azure.com/subscriptions API call is only retrieving 50 subscriptions.     So I have extracted using powershell the full subscription list, and appended it into the AllSubscription table.   However, when I refresh, whilst the number of subscriptions increases, the resources groups, virtual machines etc are not pulled from the full list of subscriptions in the AllSubscription table.
Is this expected behaviour? or can you advise how this could be resolved please.
Thanks
Colin

I am trying the changes related to manage tenant to see if that fixes this.    will reopen otherwise.

ok - still have this issue, only 50 subscriptions are being retrieved from the api call; meaning that for all of the data tables, only the first 50 subscription are queried and populated.  I had tried to modify all subscriptions table, but discovered that rather than each table build, build from that table, they all make the same query.   Any ideas how I can fix?

actually we have dashboards with hundreds of subscriptions working. So the 50 subscriptions limitation issue is new. We might need to see the exact error with the PBIX file. can you share an email and we will reach out to you?

<EMAIL_ADDRESS>I am using the standard pbix 7.1 file without modification.   welcome your assistance.

I have an interesting development.    I downloaded the compliance dashboard, and don't have the same problem with it - it has downloaded my 174 subscriptions.   bizzare as both seem to be using the same API call and version.

Taking your issue offline for now until we identify if its a unique issue for your environment. Will post the resolution later on after working with you remotely

We detected during the troubleshooting session with @CeeeBeee that sometimes the Subscriptions API returns only the first 50 subscriptions and the nextlink field.
We're currently adapting the dashboard to receive all the subscriptions.

Many thanks.
Best Regards
COLIN BRADFORD
BluePrismCloud COO
e<EMAIL_ADDRESS>t: +44<PHONE_NUMBER>

From: Jordi Suñé<EMAIL_ADDRESS>Sent: Tuesday, April 21, 2020 8:42:35 PM
To: Azure/ccodashboard<EMAIL_ADDRESS>Cc: Colin Bradford<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/ccodashboard] Only 50 subscriptions retreived (#85)
Closed #85 . — You are receiving this because you were mentioned. Reply to thi
Email scanned - Sender unknown | CORVID Email Protectionhttps://corvid.it/cyber-solutions/email-protection/
⚠ Replying may not go to displayed sender
View email infohttps://pernixconsole.corvid.it/emaildetailbrief/405CECBC-8408-11EA-80A2-3721971E80B0  |  View all emailshttps://pernixconsole.corvid.it/genotl  |  Report as suspiciousmailto:pernixsus@ultra-cpg.com?subject=Reporting Suspicious Pernix Email&body=The email 405CECBC-8408-11EA-80A2-3721971E80B0 is suspicious  |   Sender<EMAIL_ADDRESS>Closed #85https://github.com/Azure/ccodashboard/issues/85.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/ccodashboard/issues/85#event-3257623499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APCRRVMSETRIL3FIDGB54O3RNXZKXANCNFSM4MDAIOPQ.
This e-mail from Blue Prism Group plc or a member of its group of companies is intended exclusively for the addressee and may contain legally privileged or confidential information. If you are not the intended recipient you must not read use nor disclose the information in the email or attachments. Please notify Blue Prism by replying to this email and permanently delete the email from your records. Blue Prism operates an anti-virus policy but does not accept responsibility for any damage caused by viruses transmitted. Blue Prism Group plc Registered in England No: 09759493. Registered Office: 2 Cinnamon Park, Warrington, Cheshire, WA2 0XP


Create free-text search

I think it's great for now. Suggest we close it and open a new one for any styling tweaks needed. Does that sound ok @gilesdring?

Have added #188.
@gilesdring I will leave you to add any additional styling search related tickets needed


treewide: more makeDesktopItem cleanups

Description of changes
Somehow missed those on the first pass
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Having the absolute path does weird things to some desktop environments that track things by path (notably Plasma), and even if you really want the full path, you need to use placeholder "out", not $out,  as the latter gets passed through as-is.

Ah, that makes sense 👍


Error unknown send request

I ran it once last night and it worked fine but now it comes up with this error wherre its not sending.
\Downloads\Instagram-Page-Automator-main\Instagram-Page-Automator-main\memepage.py", line 74, in
submitted_memes.append(i[0])
IndexError: list index out of range
2022-08-28 12:07:11,551 - INFO - Total requests: 31
Any ideas?

Hey!
Could you send me the contents of posted.csv?

Please do respond or i'll have to close this issue

Hey sorry I didn’t see this until now but I. Will send them tomorrow when I have access to my computer
Sent from my iPhone

On Aug 29, 2022, at 4:41 AM, Divyanshu Verma @.***> wrote:

Please do respond or i'll have to close this issue
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Alright

sample,2022-01-01
wzhfq0,2022-08-28
Those are the only contents

could you check if theres a blank line in the file?

Try changing lines 73 to 75 (both included) with this block of code:
for i in csv.reader(f):
    if i:
        submitted_memes.append(i[0])
f.close()

Yep I’ll try those today
Sent from my iPhone

On Aug 31, 2022, at 7:40 AM, Divyanshu Verma @.***> wrote:

Try changing lines 73 to 75 (both included) with this block of code:
for i in csv.reader(f):
if i:
submitted_memes.append(i[0])
f.close()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Thats what the code looks like now and the error now says this
if i:
^
IndentationError: expected an indented block after 'for' statement on line 73
I tried to change the indentation but I wasn't sure wehre or how?

Ah, make sure it's looking like this:

Make sure f.close() at the same indent as the line f = open(...) and if i statement is moved one indent inside and the submitted_memes.append() statement is also moved an indent inside.

Ok so that worked and now its saying its logged in and says
})
}

})
}());

2022-09-01 08:42:50,322 - ERROR - Error unknown send request
Then it loads more and after a couple of seconds says
raise ResponseException(response)

prawcore.exceptions.ResponseException: received 401 HTTP response
2022-09-01 08:42:57,390 - INFO - Total requests: 31
Before that line is a bunch of lines where its just saying where the files are (ex. C:\Users\Downloads" line 33, in refresh)
And nothing gets posted

That seems to be an error in the reddit api.
I can't replicate it, maybe try again after a while?
I'll look further into it, and update you accordingly.

Ok thanks maybe I’ll try making another api and do that
Sent from my iPhone

On Sep 1, 2022, at 12:05 PM, Divyanshu Verma @.***> wrote:

That seems to be an error in the reddit api.
I can't replicate it, maybe try again after a while?
I'll look further into it, and update you accordingly.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Hold on, try this. Change the whole line to this:
reddit = praw.Reddit(
client_id="client id",
client_secret="client secret",
redirect_uri="http://localhost:8080",
user_agent="memeboi",
)

Which line?
Sent from my iPhone

On Sep 1, 2022, at 12:23 PM, Divyanshu Verma @.***> wrote:

Hold on, try this. Change the whole line to this:
reddit = praw.Reddit(
client_id="client id",
client_secret="client secret",
redirect_uri="http://localhost:8080",
user_agent="memeboi",
)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

The creating a reddit instance line (line 45)

sorry, do you have any update?

Hey! So I'm not sure why this error is caused, probably you're on cooldown by the Instagram API. Try again after maybe 2 days? I'm not really sure.

Ok I will thanks
Sent from my iPhone

On Sep 4, 2022, at 1:52 AM, Divyanshu Verma @.***> wrote:

Hey! So I'm not sure why this error is caused, probably you're on cooldown by the Instagram API. Try again after maybe 2 days? I'm not really sure.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Did you manage to get it to work? I need to close this issue.

Closed due to no response


How to Check the Accessibility of the Static and Non-Static Variables by a Static Method

Proposed title of article
How to Check the Accessibility of the Static and Non-Static Variables by a Static Method
Introduction paragraph (2-3 paragraphs):
Variables, methods, and blocks of code can be protected with Java's static keyword. They are initialized once at the beginning of the execution, which makes them a class variable. Due to the fact that they are static variables, they are accessible simply by class name and do not require an instance.
Statically accessed variables can also only be accessed by Static methods because they belong to a class and not an instance and they can only be accessed by static methods.
Key takeaways:

How static methods can access static variables
How to access non-static variables inside a static method.
Reasons why static methods cannot access non – static variables.

References:
N/A

Good afternoon and thank you for submitting your topic suggestion. @SusanKiptoo
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Hi, @SusanKiptoo. Thanks for submitting your topic suggestion. How will your article differ from this GeekstoGeeks one with the same topic?

Hi, @louisefindlay23. I will be calling a non-static method from another class and use static methods to access instance variables in my article. Thank you.

Thanks, @SusanKiptoo. Topic approved 🚀.


v3 beta requires RN-web to use in a web build

In V2 it did not require RN web to use the library with react native and a separate react web app pulling in a Shared JS only library with MMKV to zustand integration).  When I moved to V3(RN 74 with Fabric enabled) it required me to add RN Web to use the module with my web setup.
Thanks for the v3 beta BTW, working great

I'm planning to take a look at this issue and test it this weekend,  I reviewed code tonight and the fix seems straight forward.
Quick summary of items.
There are 2 types in NativeMmkv.ts that are pulled into MMKV that cause a whole chain of RN code to be pulled in.
Move the 2 types into Types directory and update imports
The AppState usage in MMKV.ts needs to be handled, likely push that out to another file so I can add the web overload.  Need to determine if there is an equivalent listener for memoryWarning I can attach for web.

Looks like separating the interfaces to disconnect pulling in react-native is not currently possible due to some issues in codegen.  I'll hold my changes to a future date where codegen allows this.

hi @amutsch @mrousavy  does it mean that mmkv is dropping support for react-native-web when using v3?

@gituser8796 , no the lib still works great in web.  With 2.x a web build did not require react-native-web to build with this lib.  With 3.x react-native-web alias is required to use the lib in a web build.

Thanks for letting me know @amutsch !

With 3.x react-native-web alias is required to use the lib in a web build.

How so? Can this be avoided? If yes I'd appreciate any help / PRs here, I am not using react-native-mmkv in web myself. 🙏

@mrousavy I have changes but until some changes occur in react native codgen we are stuck. I will open a new issue with pr if codegen updates to support this.

@gituser8796 if you add react-native-web there will be some warnings but the module will work fine.  react-native-codegen currently does not support separating the turbomodule interface from the spec definition which is causing the RN code to need to be pulled in.  I have changes in a branch can fix the RN-web requirement once codegen supports separating interface and module definition

@mrousavy I looked into a vite issue for someone and it looks like some of the exploratory work I was doing for a PR for this will be needed to get react-native-mmkv to work with vite in web project.  If you can re-open this I will try and get a PR.  It is fixable just one thing I don't like with how I need to fix that I'm working out which I will either document on PR or get fixed


Momentum displacement leads to softlock in The Duel

I just discovered another bug. If you play at a higher difficulty, after you kill an opponent, your momentum will be kept when you are placed in autorun mode and can cause Joanna to miss the target destination, leading to the same softlock as in #532. This time, I had no trouble capturing it with OBS.
https://github.com/user-attachments/assets/710f6739-48e1-4155-9e77-4120f5c25b97
Tested in d747588. x86_64 build.

Would this be an N64 bug then? Wonder why it hasn't been reported before.

Just tested the N64 version. Joanna seems to only walk to her destination there, but she runs to it in the PC port. The displacement is present in the N64 version, too, but because she walks, it's a much smaller displacement and it doesn't end up causing the bug. I wonder what's causing her to run in the PC port, then?

Might be related to extended controls being enabled. I don't remember if they force maximum speed anywhere.


Add Homebrew libraries to the library search on Apple Silicon/darwin-arm64, or how to find them from other software?

Provide a detailed description of the proposed feature
I wonder why Homebrew does not seem to add the libraries it installs to the system library search path on Apple Silicon/darwin-arm64.
Specifically, the case I care about here is Ruby FFI and other dlopen() users, and how they are supposed to find libraries installed via Homebrew: https://github.com/ffi/ffi/issues/880#issuecomment-1167806989
I'm also interested in the general question: "How should software compiled from source (e.g., ruby) find Homebrew-installed headers+libraries?"
There is some discussion in https://github.com/Homebrew/brew/issues/9177 and notably https://github.com/Homebrew/brew/issues/9177#issuecomment-733556853
But I am not clear on what's really a solution there.

brew --prefix wget is unusable for FFI purposes as we only get the library name, no the package name.
brew shellenv does not seem applicable as we need to stay in the same process

What is the motivation for the feature?
Make it easier for Ruby FFI and other dlopen() users to use Homebrew-installed libraries.
How will the feature be relevant to at least 90% of Homebrew users?
By making it easier (ideally automatic with no user intervention) for Ruby FFI and other dlopen() users to use Homebrew-installed libraries (and even software compiled from source in general) to find Homebrew packages, there is less need to know about lots of details (e.g., how to pass the openssl dir for ruby, actually not trivial it's --with-openssl-dir + PKG_CONFIG_PATH) and workarounds to make it work.
My observation is many macOS users in particular seem to not know much about their system, so the less they need to tweak the better chance they do not mess it up (which seems to happen a lot given a lot more report from macOS rather than Linux on most softwares).
What alternatives to the feature have been considered?

Another way to think about this is every single platform supported by Ruby FFI needs no special search path, except darwin-arm64, how can we avoid it?

There was some discussion in https://github.com/orgs/Homebrew/discussions/1600 related to this, cc @larskanis, but it does not seem to lead to a clear or official solution to me.

To understand better, would it make sense to add /opt/homebrew/lib to e.g. DYLD_FALLBACK_LIBRARY_PATH?

By Homebrew or by FFI? I'd say "probably" for us and "maybe" for you 😁
We'd need to set it in brew shellenv and I'm not convinced that:

this is used widely enough to be useful
this would have no other negative effects

Or Homebrew on darwin-arm64 wants on purpose to be found by no build system/dlopen() unless added explicitly? (to avoid potential conflicts?)

No, this is not intentional.

I meant by Homebrew, but maybe it's interesting to see if that'd work for FFI. I'm not sure that modifications to this env var are considered after the process started, would need to check.

No, this is not intentional.

Interesting, then I think it'd be worth considering if setting DYLD_FALLBACK_LIBRARY_PATH and/or other env vars to make packages installed by Homebrew available by default would make sense (e.g., PATH is already set).
Making Homebrew packages available by default already worked on darwin-amd64 without needing env vars, due to being in a standard /usr/local prefix which is already considered by compilers/linkers/etc, so in some sense there is some regression here on darwin-arm64 in that it's much harder to use Homebrew packages for compiled-from-source software and dlopen().

Interesting, then I think it'd be worth considering if setting DYLD_FALLBACK_LIBRARY_PATH and/or other env vars to make packages installed by Homebrew available by default would make sense (e.g., PATH is already set).

Yup. @Homebrew/maintainers any thoughts here?
I don't think we can rely on brew shellenv alone, here. We'd probably also need a brew doctor check.

Making Homebrew packages available by default already worked on darwin-amd64 without needing env vars, due to being in a standard /usr/local prefix which is already considered by compilers/linkers/etc, so in some sense there is some regression here on darwin-arm64 in that it's much harder to use Homebrew packages for compiled-from-source software and dlopen().

That's fair 👍🏻

this is used widely enough to be useful

Probably a bit of a chicken-and-egg problem, i.e., if brew shellenv would set everything needed to use Homebrew packages then it'd probably see a lot more usage.

this would have no other negative effects

Yes, definitely something to consider, and should system packages be in front or behind Homebrew packages, should a package/library/header exists for both.

Probably a bit of a chicken-and-egg problem, i.e., if brew shellenv would set everything needed to use Homebrew packages then it'd probably see a lot more usage.

Sorry, I don't agree here. I'm thinking partly "people who don't need brew shellenv to set their environment shouldn't be forced to do so" and also "things I run through e.g. VSCode may not run brew shellenv".

Be aware that there are some security restrictions to the use of DYLD_LIBRARY_PATH:

Any dynamic linker (dyld) environment variables, such as DYLD_LIBRARY_PATH, are purged when launching protected processes.

Not a fan of DYLD_[FALLBACK_]LIBRARY_PATH, and neither is Apple:
❯ FOO=foo /bin/bash -c 'echo ${FOO-unset}'
foo
❯ DYLD_LIBRARY_PATH=foo /bin/bash -c 'echo ${DYLD_LIBRARY_PATH-unset}'
unset

This is basically the security restriction that @fxcoudert references above.
I am open to adding $HOMEBREW_PREFIX/lib to binary RPATH entries as needed to specific formulae. This will allow those formulae to call dlopen on libraries that are linked into $HOMEBREW_PREFIX/lib. It doesn't help with things users have built themselves, but I suppose we can add documentation suggesting adding the necessary RPATH entries wherever needed.

Is there something like an actual system library search path on macOS, which can be set globally and permanently?
Something like /etc/ld.so.conf on Linux.

@eregon no I am pretty sure there is not

For Ruby FFI, we'll probably search directories for now, any opinion on what should be the order between:
/usr/lib
/usr/local/lib
/opt/local/lib
/opt/homebrew/lib

Specifically, where should /opt/homebrew/lib be in that list? (the other 3 paths are preexisting and we probably should not change their order for compatibility).
(from https://github.com/ffi/ffi/pull/965#issuecomment-1169897827)

Not a fan of DYLD_[FALLBACK_]LIBRARY_PATH, and neither is Apple:
[...]
This is basically the security restriction that @fxcoudert references above.

In particular, since env is a sip-protected binary, this fails for any script that shebangs with #!/usr/bin/env whatever like python and lua scripts tend to do. (eg: https://github.com/vsergeev/luaradio/issues/13#issuecomment-354427312)

Somewhat related discussion (since Python reads all of the DYLD_* variables): https://github.com/orgs/Homebrew/discussions/3424

In particular, since env is a sip-protected binary, this fails for any script that shebangs with #!/usr/bin/env whatever like python and lua scripts tend to do.

This is quite a notable shortcoming.

Let's close this, thanks for the discussion.
It seems macOS has no way to globally add a directory in the library search path, and so there is way besides explicitly looking in /opt/homebrew/lib (well, except pkg-config maybe) to find Homebrew libs. I blame Apple for this.
That is an unfortunate regression from /usr/local where it just worked, but that's how it is.


Broken api calls on swagger UI

JIRA - https://issues.redhat.com/browse/TC-307
On Swagger UI, Some of the API requests has been broken and they are failing while execution.

SPOG API: https://api.trustification.dev/swagger-ui/
Error "Resolver error at paths./api/v1/advisory.get.responses.200.content.application/json.schema.$ref Could not resolve reference: Could not resolve pointer: /components/schemas/Csaf does not exist in document" Occurs while accessing the end points

Below End points loaded with error either Query deserialize error: missing field id or Query deserialize error: missing field q
- /api/v1/advisory
- /api/v1/advisory/search
- /api/v1/package
- /api/v1/package/search

Consider spog api internal for the console.


trailing negator is not caught

TypeScript Version:  3.1 TS playground @ 11 NOV 2018
TypeScript is being over-generous in allowing a hanging negator that should really be highlighted as a syntax error, despite the fact that it transpiles away the error in the JS version.
Priority: low
Search Terms:
Hanging negator / negation operator.
Code
var answer = true! || true;

Expected behavior:
var answer = true! || true;
.................................^
SyntaxError: Unexpected token !
Actual behavior:
Transpiles to var answer = true || true;
Playground Link: https://www.typescriptlang.org/play/index.html#src=var answer %3D true! || true%3B

Related Issues:

That's not a negator, it's TypeScript's non-null assertion operator.


added support for insert from_select

@bogensberger the builds are passing here : https://travis-ci.org/crate/crate-python/builds/183249227


Update OpenSearch upstream to 1.0.0

Description
Update upstream and remove qualifier
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Job failure due to this known issue.

Codecov Report

Merging #58 (1ee0232) into main (ff057f0) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main      #58      +/-   ##
============================================
- Coverage     82.70%   82.64%   -0.06%
+ Complexity      476      475       -1
============================================
  Files            69       69
  Lines          1821     1821
  Branches        178      178
============================================
- Hits           1506     1505       -1
- Misses          253      254       +1
  Partials         62       62

Impacted Files
Coverage Δ

.../java/org/opensearch/knn/index/util/KNNEngine.java
89.47% <0.00%> (-5.27%)
:arrow_down:

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 ff057f0...1ee0232. Read the comment docs.


coverity 1021925: Missing break in switch

Problem:
CID 1021925 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value TS_EVENT_VCONN_WRITE_COMPLETE is not terminated by a 'break' statement.
Solution:
It was intended not to have a break (not a bug), so refactored the code to make coverity happy.

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/382/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/394/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/378/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2077/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1970/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/507/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/640/


Increase core count to 4 for CI

Description of the problem

Public github actions now have 4 cores instead of 2 like in the past. They should be leveraged

Description of the solution

Increase the core count to 4 for serial jobs and compilation

How Has This Been Tested?

Will it work? we shall see

EDIT
It seems to remove 10-15 minutes from the CI. I like this

So it compile with 4 cores instead of 2? Just for Release part?
With Maxwell, the bottle neck is still the Debug part, right?
Is it possible to run the multicore tests first?

So it compile with 4 cores instead of 2? Just for Release part?
With Maxwell, the bottle neck is still the Debug part, right?
Is it possible to run the multicore tests first?

So it compile with 4 cores instead of 2? Just for Release part?

All jobs compile with 4 cores now other than the Debug which runs on our own machines

With Maxwell, the bottle neck is still the Debug part, right?

Yes and no. The issue is we only have one CI machine for the Debug. If we find a second machine as efficient as Maxwell to dedicate to the CI, this won,t be an issue.

Is it possible to run the multicore tests first?

Yes, but I am not sure if there will be any benefit. Feel free to make a PR to try it out though, no worries.

I don't remember how many cores Maxwell have? Should the github actions use the maximum number of core or only a part of it?

I don't remember how many cores Maxwell have? Should the github actions use the maximum number of core or only a part of it?

Maxwell has 12 cores but 24 threads. In general compiling with threads is sometimes better, but running with threads is not. In the case of Maxwell I already optimized and tested all that.
@OresteMarquis  Accept the pr (with the green checkmark) when you are ok with it :)


[AutoPR network/resource-manager] Add application gateway backendHealthOnDemand operation

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5549

Build output:

dist/com.microsoft.azure.network.v2018_12_01/azure-mgmt-network-1.0.0-beta.jar
dist/com.microsoft.azure.network.v2018_12_01/azure-mgmt-network-1.0.0-beta-javadoc.jar
dist/com.microsoft.azure.network.v2018_12_01/azure-mgmt-network-1.0.0-beta.pom
dist/com.microsoft.azure.network.v2018_12_01/azure-mgmt-network-1.0.0-beta-sources.jar


Include protocol version into MNAUTH

(As discussed in Slack a couple days ago) now that PoSe relies on a protocol version send by other MNs, it makes sense to include it into MNAUTH message to make sure it wasn't forged by a mitm attacker somehow.
Note: bumping MIN_MASTERNODE_PROTO_VERSION will trigger another PoSe-score increase/ban wave for currently deployed testnet nodes running on 70217 once enough nodes are upgraded to this commit which is fine and might even be a desirable thing cause it allows us to test PoSe during protocol bumps once again.

Thats a good one, utACK

backported in https://github.com/dashpay/dash/pull/3670


Fix 'declaration changes meaning' error when compiling in C++

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Fix for custom builds where a certain header is included in C++ code.
Which issue(s) this PR fixes:
Fixes #439
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

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

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

Hi @yo348 thank you for this!
/ok-to-test

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

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

/hold

/unhold

/approve

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

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

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


CORS policy blocked fetch requests

Encountering CORS policy issues when attempting to fetch data from the /items endpoint. The error messages indicate that cross-origin requests are being blocked due to the absence of the Access-Control-Allow-Origin header in the response.
When making a GET request to the /items endpoint, the following CORS-related errors are observed in Windows PowerShell:
Access to fetch at 'https://tlx.3lift.com/header/auction?lib=prebid&v=8.38.0&referrer=https%3A%2F%2Ftraderie.com%2Froyalehigh%2Fproducts%3Fpage%3D0&tmax=1500' from origin 'https://traderie.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Expected Behavior:
The API should return a JSON response with item names and values without CORS errors. The Access-Control-Allow-Origin header should be present to allow cross-origin requests.
Current Behavior:
The API responds with a 500 Internal Server Error, and the browser console shows multiple CORS-related errors.
Potential Causes:

CORS Policy on External Resources: The resources we are trying to access from https://traderie.com might be subject to CORS policies that are beyond our control.
Dynamic Content Loading: The content might be dynamically loaded via JavaScript, which can complicate the scraping process and potentially lead to CORS issues if the data isn't accessible through direct requests.

Possible Solutions:

Check and Update Scraping Code: Ensure that the scraping code is correctly configured and that it handles dynamically loaded content properly.
Use a Proxy Server: Implement a server-side proxy to handle requests to the external site and avoid CORS issues. This proxy can act as an intermediary that fetches the data and serves it to the client.

Please investigate the CORS issues and suggest possible fixes or workarounds. If there are changes needed to the current scraping approach or additional configurations required, kindly provide guidance on how to proceed.

The solution has been identified to be "Ensure that Flask is configured to allow cross-origin requests."

Issue appears to have been resolved by implementing flask-cors.


Live reloading with custom JS

I have a custom JS script I'm separately building and including in my extension (outside of webpack).
If I include it in ./scripts/, I get a $RefreshSig$ is not defined error as I believe the webpack processing on top is causing a conflict.
If I include it in ./public/, everything works great, but live reloading doesn't work and I have to restart the browser fully every time my script changes.
Ideally, I'd like for my custom JS (and other assets like images) to refresh without restarting the browser or throwing the webpack error.
No worries if out of scope, just figured I'd ask if there's an existing option or a bug I'm hitting – I could feasibly work around this.
Thank you for the awesome tool!

Hi there! Thanks!
If you are trying to load a source (not bundled) file in scripts/ and you get a $RefreshSig$ is not defined, that's a bug.
However if this file is bundled somewhere else outside Extension.js (like you said -- separately building and including in your extension), then scripts/ will fail if there are variables and imports outside the scope, as it has no access to the external bundling system. In this case, adding them to public/ might be the right choice. However, since it was designed for static assets, it does not listen for file changes.
I think having public/ to listen to file changes wouldn't affect existing functionality, but this is currently far from priorities. If you're feeling adventurous, editing the CopyPublicFolder file is the alternative for handling reload of public/ assets. I theorize that adding a listener to the change event in there would make your request possible. Something like:
watcher.on('change', (filePath: string) => {
  const target = path.join(output, path.relative(projectPath, filePath))
  this.copyFile(filePath, target)
})

The manual test would be adding a file to public/ and asserting that Extension.js reloads if they change. I added some instructions to run the project locally in CONTRIBUTING.md. If you want to give it a go, I can definitely review.

Great tip, that did it! @cezaraugusto I've tested and submitted a PR for here and updated docs, linked above.

Fixed by #64


fix: scroll date of birth year list on first mount only

Details

This PR modifies the logic inside the SectionList, such that it scrolls to the focus index only on the first layout.
Fixed Issues

$ https://github.com/Expensify/App/issues/22689
PROPOSAL: https://github.com/Expensify/App/issues/22689#issuecomment-1631541669
Tests

Open the App on mweb.
Go to Settings > Profile > Personal details > Date of birth
Tap on the year to open year list
With the keyboard on, scroll up the list and verify that the list does not scroll back to the focused index.

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Open the App on mweb.
Go to Settings > Profile > Personal details > Date of birth
Tap on the year to open year list
With the keyboard on, scroll up the list and verify that the list does not scroll back to the focused index.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/30054992/d4acfb2a-05ee-4044-a0ec-61c246d9a865

Mobile Web - Chrome

https://github.com/Expensify/App/assets/30054992/366eb6db-6b15-407c-bd76-da3a44d3f8ca

Mobile Web - Safari

https://github.com/Expensify/App/assets/30054992/73308adb-2fe0-43c8-9fa0-72780375be4c

Desktop

https://github.com/Expensify/App/assets/30054992/f165c757-011a-4ff6-8eb6-82448ebcf124

iOS

https://github.com/Expensify/App/assets/30054992/bbdd99e3-2d49-4ec5-93f7-8f609e735096

Android

https://github.com/Expensify/App/assets/30054992/9483b534-77e3-4a8d-b28b-c9106d9a612f

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.44-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


HAWKULAR-1026 unshallow the git clone so that license plugin stopps flagging fil

A duplicate of https://github.com/hawkular/hawkular-agent/pull/155 closing this one


Update Uninstall-AzureRM docs to include cmdlet link

OPS Build status updates of commit fd25fdd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-1.5.0/uninstall-az-ps.md
:white_check_mark:Succeeded
View (azps-1.5.0)

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


Fails to render files for each parent using a shared chunk

When you have two or more files which require the same file in such a way that it yields a shared chunk, the ExtractTextPlugin will fail to correctly render files for each of the original files. Instead it will render one file (for the one chunk) and randomly name it based on one of its parents.
I created an example repo to show off this behavior: https://github.com/trappar/ExtractTextPlugin-Bug

:+1:

+1

+1

+1

Can you try with webpack 2?

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!


Add boost version explicitly

so that a package depending on 1.69.0 can also be built

Checklist

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

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

@conda-forge-admin, please rerender


Add gnark plonk bn254 verifier

This PR adds plonk with the curve bn254
To send a task using the TaskSender CLI, you can specify the proving system (e.g., bls12_381 or bn254) when running the command.
make send-plonk_bls12_381-proof

or
make send-plonk_bn254-proof

lgtm


Implemented get_current_tree

Builds a tree of the current repository consisting of all commits, branches, tags, and the HEAD. In addition, commits lists all parents, branches lists all target commits, and tags lists all target commits.

Thanks for the code, Brain. It does exactly what I need it to do!
You traverse some of the commits a few extra times, but that's a good opportunity for someone interested in algorithms to optimize the code. It's only when there's a lot of commits that this would be an issue anyways. I'll open an issue for anyone who's interested!

fixes #1


[ALLUXIO-1887] Add UFS properties for mounting

https://alluxio.atlassian.net/browse/ALLUXIO-1887

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9348/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.worker.block.BlockWorkerClientRestApiTest.requestBlockLocationTest
Test FAILed.

Jenkins, test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9349/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.worker.block.BlockWorkerClientRestApiTest.requestBlockLocationTest
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, test this please

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9351/
Test PASSed.

LGTM. Thanks for the improvement!