Bump versions for API category plugin release v4.0.4

Description of changes

Relase version bumps to consume API category v4.0.4

Update call to getAuthRules to match the new input signature. Refer https://github.com/aws-amplify/amplify-category-api/pull/772

Add new provider util method to get AWS config to make SDK calls

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@ac31ec0). Click here to learn what that means.
The diff coverage is 50.00%.

@@          Coverage Diff           @@
##             dev   #11031   +/-   ##
======================================
  Coverage       ?   48.20%
======================================
  Files          ?      670
  Lines          ?    32448
  Branches       ?     6598
======================================
  Hits           ?    15640
  Misses         ?    15188
  Partials       ?     1620

Impacted Files
Coverage Δ

...rovider-awscloudformation/src/utility-functions.js
11.17% <50.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@phani-srikar this needs a rebase

Closing in favor of https://github.com/aws-amplify/amplify-cli/pull/11111


[Vintellij] Possibility to toggle auto refresh file and health check within a vim session

Some improvements:

Possibility to toggle autocmd of refresh file and health check within a vim session. E.g to enable auto file refresh, just use the command VintellijEnableAutoRefreshFile or VintellijEnableAutoRefreshFile! to disable it
Enable kotlin filetype on opening the definition

Duplicated


Inventory System Storage Bug

Issue Description:
Inventory system storage is not storing its maximum capacity.
What happens:
You start filling up the system storage with items and it caps out even though it is supposed to hold more.
What you expected to happen:
It would hold its full capacity.
Steps to reproduce:

Attempt to fill a system storage and it will cap out.

...

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.10.2-3.1.186
EnderCore: EnderCore-1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: forge-<IP_ADDRESS>1

Your most recent log file where the issue was present:
https://www.dropbox.com/s/nv0s35501j7zp02/latest.log?dl=0
http://imgur.com/a/eaz8v

The Inventory System Storage blocks are like massive chests.  They have a limited number of slots available.  What is most likely going on is that all slots are full, but the stacks are not (so TOP shows there is more room available).

Oh so these work similar to AE cells? I didn't know that.

@whitestarx0312 no - the inventory storage are chests without a GUI - you can only access them via automation (conduits, hoppers etc).
And they have the remote awareness upgrade build in - so you don't need one on the conduit connecting to it.

so you don't need one on the conduit connecting to it.

Which reminds me; in case anyone asks (or opens a bug report), with the latest version you cannot insert an awareness upgrade into the conduit when it is connected dto a storage anymore.


What is the purpose of this extension?

I try to figure out what this extension does? Whats the goal, to which persons is this extension aimed? What problems does it solve?

See Summary https://github.com/markshust/magento2-module-simpledata#summary

I already saw it, but it does not really explain anything in detail. Not sure how this extension gives any benefit, when do I need it.

For example, here is a data patch script to update the content of a CMS page with and without SimpleData:

It's quite simple really. Without SimpleData, your data patch scripts look like the left. With it, it looks like the right.


Pin descriptions missing in gpio list

Is there a reason why the pin description was removed from gpio list?
Output now looks a little empty for buttons without function (like GND and VCC):
01
02
03 GPIO I2C
04
05 GPIO I2C

Yes, we changed gpio to use the public api instead of hackily recovering the platform config. There's currently no public API to get the pin 'name'.
A function of the style char* mraa_pin_name(int pin); could be implemented if there's interest.

Yes, there's interest ;-)
Assign it to me, then I will add this and change gpio to use it.

Closd by 827e1974bf12d9b318883818b9078f9b44335ad8


udp: add optional send/recv handler

usecase: use udp_sock with external/custom sockets

hi @sreimers
could you please take a look at this one
The usecase is to use external send handlers or external filedescriptors:

Application creates a socket (fd) and then allocates udp_sock with that FD.
Application creates udp_sock with custom send handler, and uses that one instead of FD.

Alfred


datapar_execution + zip iterator: lambda arguments aren't references

Reopened issue in this repository, as I mistakenly started it in the octotiger repository. For the history of the issue see @https://github.com/STEllAR-GROUP/octotiger/issues/22.

@DavidPfander-UniStuttgart: please verify that things work as expected if the lambda takes a reference (see test added by #2407)

Still not compiling with a reference, see https://gist.github.com/DavidPfander-UniStuttgart/2bde59559f003128c6dcaa1a02cc4501.

The compilation problem is caused by the concept checking. Disabling the concept checking (in particular the parallel::traits::is_indirect_callable<...>;;value) makes things compile and run just fine. The solution is related to solving #2402. Specializing is_indirect_callable for the datapar execution policies and zip_iterators should prevent this from happening.

This has been fixed by merging #2407


Restore migrated container with container creation timeout

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description

Steps to reproduce the issue:

podman run --tmpfs /run --security-opt=seccomp=unconfined -v /dira:/dirb sqldb /bin/bash /home/ubuntu/tmpscripts.sh

podman container checkpoint --tcp-established -l --export=/tmp/1.tar.gz

rsync -avzP --delete /dira/ root@hostb:/dira/    # this step ensures that dirs are in sync

scp /tmp1.tar.gz hostb:/tmp

podman container restore --tcp-established -i /tmp/1.tar.gz

Describe the results you received:
root@hostu18b:~# podman container restore --tcp-established -i /tmp/1.tar.gz
container init still running
ERRO[0260] Error removing container 04a8849a64faa5da42c144f46544a13fe17191adc36b0efd77be4ad68057a4a8 from runtime after creation failed
Error: failed to restore container 04a8849a64faa5da42c144f46544a13fe17191adc36b0efd77be4ad68057a4a8: container creation timeout: internal libpod error
Describe the results you expected:
successful restore
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.7.0-rc1
RemoteAPI Version:  1
Go Version:         go1.10.1
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.1
  podman version: 1.7.0-rc1
host:
  BuildahVersion: 1.11.6
  CgroupVersion: v1
  Conmon:
    package: 'conmon: /usr/libexec/podman/conmon'
    path: /usr/libexec/podman/conmon
    version: 'conmon version 2.0.8, commit: d35534bc4b9bc722bf1ab6f4e828fcaa6bee236a-dirty'
  Distribution:
    distribution: ubuntu
    version: "18.04"
  MemFree: 652050432
  MemTotal:<PHONE_NUMBER>0
  OCIRuntime:
    name: runc
    package: 'runc: /usr/sbin/runc'
    path: /usr/sbin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree: 993243136
  SwapTotal: 993243136
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: hostu18
  kernel: 4.15.0-66-generic
  os: linux
  rootless: false
  uptime: 24h 1m 8.46s (Approximately 1.00 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 3
  GraphDriverName: overlay
  GraphOptions: {}
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 2
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
ubuntu18
podman/unknown,now 1.7.0~0~dev1 amd64 [installed]

Additional environment details (AWS, VirtualBox, physical, etc.):
aliyun ecs

Can you run the restore with --log-level debug? I have not seen this error before. Not sure what is happening here.

Hi, the output is shared at https://gist.github.com/zhuguoliang/51bcd54093a42a1ae56d38cea178de9d
The cmd stuck at line:

INFO[0012] Running conmon under slice machine.slice and unitName libpod-conmon-04a8849a64faa5da42c144f46544a13fe17191adc36b0efd77be4ad68057a4a8.scope

for about 30s and then output final error

Are there any conmon messages in the journal? It would also be interesting to know how conmon calls runc. I usually try to use execsnoop from the bcc-tools to run it.
How I can try to reproduce this locally? Which container are you using? I see sqldb in podman run; is that container image available at any public registry?

I'll pack and upload to dockerhub, a moment pls

podman pull docker.io/elasticsearch:7.5.1
podman run  --security-opt=seccomp=unconfined  -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" 2bd69c322e98
podman container checkpoint --tcp-established -l --export=/tmp/1.tar.gz
scp /tmp/1.tar.gz root@hostb:/tmp/

on host B

podman container restore --tcp-established -i /tmp/1.tar.gz

Thanks for the details. Running this with latest git I see an error, but not the one you described (timeout).
I get an error related to the file system changes. Something in the container changes /usr/share/elasticsearch from 755 to 775. CRIU sees this and aborts the restore because the file-system should be the same. This actually is a limitation I accepted because I am ignoring any directory mode changes. This could be fixed in Podman if necessary. A workaround for this is:
# cat Containerfile
FROM docker.io/elasticsearch:7.5.1
RUN chmod 755 /usr/share/elasticsearch
# podman build .
STEP 1: FROM docker.io/elasticsearch:7.5.1
STEP 2: RUN chmod 755 /usr/share/elasticsearch
STEP 3: COMMIT
f052a22497f8ec1227064c4592d3c5e1580f4ad20805476577fa5ad281507833
f052a22497f8ec1227064c4592d3c5e1580f4ad20805476577fa5ad281507833

Using this image has the directory in the correct mode and now chekpointing and restore works:
# podman run -d --rm --security-opt=seccomp=unconfined  -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"  f052a22497f8ec
# podman container checkpoint  -l --export=/tmp/1.tar.gz
# podman container restore -i /tmp/1.tar.gz

The restore works and the container is running. Unfortunately the application in the container is not really happy as it seems to get confused by one of its lockfiles:
{"type": "server", "timestamp": "2020-01-08T10:05:19,899Z", "level": "DEBUG", "component": "o.e.a.a.c.n.s.TransportNodesStatsAction", "cluster.name": "docker-cluster", "node.name": "b0587c202c62", "message": "failed to execute on node [dgZvwhpLSUGzwYUJKopJmA]", "cluster.uuid": "jPAYwJb8QSGLFRSKAZgnog", "node.id": "dgZvwhpLSUGzwYUJKopJmA" ,
"stacktrace": ["org.elasticsearch.transport.RemoteTransportException: [b0587c202c62][<IP_ADDRESS>:9300][cluster:monitor/nodes/stats[n]]",
"Caused by: org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an external force at 2020-01-08T10:04:38Z, (lock=NativeFSLock(path=/usr/share/elasticsearch/data/nodes/0/node.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid],creationTime=2020-01-08T10:04:38.272378Z))",
"at org.apache.lucene.store.NativeFSLockFactory$NativeFSLock.ensureValid(NativeFSLockFactory.java:191) ~[lucene-core-8.3.0.jar:8.3.0 2aa586909b911e66e1d8863aa89f173d69f86cd2 - ishan - 2019-10-25 23:10:03]",
"at org.elasticsearch.env.NodeEnvironment.assertEnvIsLocked(NodeEnvironment.java:1039) ~[elasticsearch-7.5.1.jar:7.5.1]",

During restore the lock file is re-created and probably gets another inode which might be the reason why the lockfile code breaks. This is, however, just me guessing. You probably need to talk to the developers of the software running in the container why this is happening.
From Podman's side everything works almost correct. The only real Podman bug here is that checkpointing does not correctly track the directory mode change from 755 to 775.

Thanks for your patience but It seems that I cannot reproduce it in my dev env.
I rebuild the images with podman build the containerfile above,
I took the following steps:

podman save -o a.tar 93afe57d19e4
scp a.tar hostb:/tmp
podman load -i /tmp/a.tar
podman container restore --log-level debug --tcp-established -i /tmp/3.tar.gz
(Note that 3.tar.gz is the checkpoint file)

The log is attached in the following link.
https://gist.github.com/zhuguoliang/214f7875f98e0491c834b23c7e31c55c

https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/store/NativeFSLockFactory.java
“FileTime ctime = Files.readAttributes(path, BasicFileAttributes.class).creationTime();
if (!creationTime.equals(ctime)) {
throw new AlreadyClosedException("Underlying file changed by an external force at " + ctime + ", (lock=" + this + ")");
}”
looks like the locker file creation time is not restored correctly, and make this lock vaild method failed.

looks like the locker file creation time is not restored correctly, and make this lock vaild method failed.

Thanks for looking into this. On my system the file creation time is correct and the same as before
checkpointing. The file date is the same as the container initial creation time. I am wondering how is
creationTime created. Where does creationTime come from. Is that maybe confused, that the process was not running for some time. Maybe lucene cannot handle that the time of the system changed, but the process was not running. Maybe this also needs a time namespace.
My main question is how is the value of creationTime created? I am pretty sure the ctime of the lock file is correct.

@zhuguoliang I do not see the timeout you are still seeing. One big difference on my test VM is, that I do not have an IPv6 address. Container checkpoint and restore only looks at the IPv4 address right now, so maybe the problem you are seeing is somehow IPv6 related. Maybe you can somehow try to create a container without IPv6 addresses. At least to verify if that is the problem.

@superligen I had a look at the lucene code and a closer look at the error message, the problem seems to be that the creation time is only restored with seconds as precision. Looking at the output of stat I can see the file time as 10:04:38.000000000 the original time of the file, before checkpoint and restore was 10:04:38.272378 and this is also part of the error message:
changed by an external force at 2020-01-08T10:04:38Z and creationTime=2020-01-08T10:04:38.272378Z.
This seems to be a limitation of tar and timestamps, because the files are migrated using tar.
If I put the lock file outside of the container it works:
# mkdir /tmp/data
# chown 1000:1000 data
# podman run -d --rm -v /tmp/data:/usr/share/elasticsearch/data:Z --security-opt=seccomp=unconfined  -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"  f052a22497f8ec
# podman container checkpoint  -l --export=/tmp/1.tar.gz
# podman container restore -i /tmp/1.tar.gz

For the migration transferring /tmp/data via rsync should restore the lock file with the correct timestamp (up to the nano second (I hope)).
This still does not solve the problems @zhuguoliang is seeing, but I cannot reproduce those errors locally.
@superligen Maybe opening a ticket at upstream lucene to only check the timestamp of the lockfile up to the second and ignore the nano-seconds. Not sure if they will like this however. It would make migrating much easier.

@adrianreber Hi Mr.Reber, I kept on seeing timeout when restoring containers. The logs says that I am stuck at running conmon.
root@hostb:~# podman container restore  --log-level debug    -i /tmp/3.tar.gz
DEBU[0000] Reading configuration file "/usr/share/containers/libpod.conf"
DEBU[0000] Merged system config "/usr/share/containers/libpod.conf": &{{false false false false false true} 0 {   [] [] []}  docker://  runc map[crun:[/usr/bin/crun /usr/sbin/crun /usr/local/bin/crun /usr/local/sbin/crun /sbin/crun /bin/crun /run/current-system/sw/bin/crun] kata-fc:[/usr/bin/kata-fc] kata-qemu:[/usr/bin/kata-qemu] kata-runtime:[/usr/bin/kata-runtime] runc:[/usr/bin/runc /usr/sbin/runc /usr/local/bin/runc /usr/local/sbin/runc /sbin/runc /bin/runc /usr/lib/cri-o-runc/sbin/runc /run/current-system/sw/bin/runc]] [crun runc] [crun] [] [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin] systemd   /var/run/libpod -1 false /etc/cni/net.d/ [/usr/libexec/cni /usr/lib/cni /usr/local/lib/cni /opt/cni/bin] podman []   k8s.gcr.io/pause:3.1 /pause false false  2048 shm    false false}
DEBU[0000] Using conmon: "/usr/libexec/podman/conmon"
DEBU[0000] Initializing boltdb state at /var/lib/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver
DEBU[0000] Using graph root /var/lib/containers/storage
DEBU[0000] Using run root /var/run/containers/storage
DEBU[0000] Using static dir /var/lib/containers/storage/libpod
DEBU[0000] Using tmp dir /var/run/libpod
DEBU[0000] Using volume path /var/lib/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""
DEBU[0000] cached value indicated that overlay is supported
DEBU[0000] cached value indicated that metacopy is not being used
DEBU[0000] cached value indicated that native-diff is usable
DEBU[0000] backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false
INFO[0000] [graphdriver] using prior storage driver: overlay
DEBU[0000] Initializing event backend journald
WARN[0000] Error initializing configured OCI runtime kata-qemu: no valid executable found for OCI runtime kata-qemu: invalid argument
WARN[0000] Error initializing configured OCI runtime kata-fc: no valid executable found for OCI runtime kata-fc: invalid argument
DEBU[0000] using runtime "/usr/sbin/runc"
WARN[0000] Error initializing configured OCI runtime crun: no valid executable found for OCI runtime crun: invalid argument
WARN[0000] Error initializing configured OCI runtime kata-runtime: no valid executable found for OCI runtime kata-runtime: invalid argument
INFO[0000] Found CNI network podman (type=bridge) at /etc/cni/net.d/87-podman-bridge.conflist
WARN[0000] Error loading CNI config file /etc/cni/net.d/99-loopback.conf: error parsing configuration: missing 'type'
WARN[0000] Default CNI network name podman is unchangeable
DEBU[0003] parsed reference into "[overlay@/var/lib/containers/storage+/var/run/containers/storage]@93afe57d19e4a696a27214babc247b2a71486beea485d8f53f3b0b48a09c0e9f"
DEBU[0003] Allocated lock 5 for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
DEBU[0003] Setting CGroups for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 to machine.slice:libpod:0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
DEBU[0003] parsed reference into "[overlay@/var/lib/containers/storage+/var/run/containers/storage]@93afe57d19e4a696a27214babc247b2a71486beea485d8f53f3b0b48a09c0e9f"
DEBU[0003] exporting opaque data as blob "sha256:93afe57d19e4a696a27214babc247b2a71486beea485d8f53f3b0b48a09c0e9f"
DEBU[0003] created container "0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8"
DEBU[0003] container "0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8" has work directory "/var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata"
DEBU[0003] container "0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8" has run directory "/var/run/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata"
DEBU[0003] Trying to restore container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
DEBU[0007] Created OCI spec for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 at /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/config.json
DEBU[0007] Made network namespace at /var/run/netns/cni-7c235053-a15f-cfcc-a2ee-bf4b8a48bc54 for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
INFO[0007] About to add CNI network lo (type=loopback)
DEBU[0007] overlay: mount_data=lowerdir=/var/lib/containers/storage/overlay/l/4BACK6HMQIMCPTCVW3XJJAUYM2:/var/lib/containers/storage/overlay/l/KP6MGBEI2HTO6C3AYMFKGILS3N:/var/lib/containers/storage/overlay/l/RCWO4YCPOL5KTHYDTILG66Q2ZI:/var/lib/containers/storage/overlay/l/UTAQE5Q7E2KARV2UGKP2DMJEUT:/var/lib/containers/storage/overlay/l/JKE2UWQTMVCAYET55O4LOT2QXS:/var/lib/containers/storage/overlay/l/YTD33BGFLV6Y3FBXO3NUOWPGYU:/var/lib/containers/storage/overlay/l/626AG7DCXZ6PQHA3T5ROY2T4N7:/var/lib/containers/storage/overlay/l/GX6FJFSRA7JFLUNHH5ZVPQS3N3,upperdir=/var/lib/containers/storage/overlay/90d1382f9129d1045f3ffa4d8d3d48c6083ece5d69017e3640839072eca56add/diff,workdir=/var/lib/containers/storage/overlay/90d1382f9129d1045f3ffa4d8d3d48c6083ece5d69017e3640839072eca56add/work
DEBU[0007] mounted container "0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8" at "/var/lib/containers/storage/overlay/90d1382f9129d1045f3ffa4d8d3d48c6083ece5d69017e3640839072eca56add/merged"
DEBU[0007] Created root filesystem for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 at /var/lib/containers/storage/overlay/90d1382f9129d1045f3ffa4d8d3d48c6083ece5d69017e3640839072eca56add/merged
INFO[0007] Got pod network &{Name:pensive_chatterjee Namespace:pensive_chatterjee ID:0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 NetNS:/var/run/netns/cni-7c235053-a15f-cfcc-a2ee-bf4b8a48bc54 Networks:[{Name:podman Ifname:}] RuntimeConfig:map[podman:{IP:<IP_ADDRESS> MAC:56:26:0c:57:6c:ac PortMappings:[{HostPort:9200 ContainerPort:9200 Protocol:tcp HostIP:} {HostPort:9300 ContainerPort:9300 Protocol:tcp HostIP:}] Bandwidth:<nil> IpRanges:[]}]}
INFO[0007] About to add CNI network podman (type=bridge)
DEBU[0008] [0] CNI result: Interfaces:[{Name:cni-podman0 Mac:8a:2c:20:7e:4d:a1 Sandbox:} {Name:veth90ad59ef Mac:9e:f8:5f:eb:9a:c5 Sandbox:} {Name:eth0 Mac:56:26:0c:57:6c:ac Sandbox:/var/run/netns/cni-7c235053-a15f-cfcc-a2ee-bf4b8a48bc54}], IP:[{Version:4 Interface:0xc000427278 Address:{IP:<IP_ADDRESS> Mask:ffff0000} Gateway:<IP_ADDRESS>}], Routes:[{Dst:{IP:<IP_ADDRESS> Mask:00000000} GW:<nil>}], DNS:{Nameservers:[] Domain: Search:[] Options:[]}
DEBU[0008] generate.NewFromFile at /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/config.json
INFO[0008] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver <IP_ADDRESS> nameserver <IP_ADDRESS>]
INFO[0008] IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]
DEBU[0008] /etc/system-fips does not exist on host, not mounting FIPS mode secret
DEBU[0008] Created OCI spec for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 at /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/config.json
DEBU[0008] parsed reference into "[overlay@/var/lib/containers/storage+/var/run/containers/storage]localhost/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8:latest"
DEBU[0008] reference "[overlay@/var/lib/containers/storage+/var/run/containers/storage]localhost/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8:latest" does not resolve to an image ID
DEBU[0008] Applying tar in /var/lib/containers/storage/overlay/90d1382f9129d1045f3ffa4d8d3d48c6083ece5d69017e3640839072eca56add/diff
DEBU[0008] /usr/libexec/podman/conmon messages will be logged to syslog
DEBU[0008] running conmon: /usr/libexec/podman/conmon    args="[--api-version 1 -s -c 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 -u 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 -r /usr/sbin/runc -b /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata -p /var/run/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/pidfile -l k8s-file:/var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/ctr.log --exit-dir /var/run/libpod/exits --socket-dir-path /var/run/libpod/socket --log-level debug --syslog --conmon-pidfile /var/run/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/conmon.pid --exit-command /usr/local/bin/podman --exit-command-arg --root --exit-command-arg /var/lib/containers/storage --exit-command-arg --runroot --exit-command-arg /var/run/containers/storage --exit-command-arg --log-level --exit-command-arg error --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /var/run/libpod --exit-command-arg --runtime --exit-command-arg runc --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg container --exit-command-arg cleanup --exit-command-arg --rm --exit-command-arg 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 --restore /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/checkpoint]"
INFO[0008] Running conmon under slice machine.slice and unitName libpod-conmon-0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8.scope
DEBU[0249] Cleaning up container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
DEBU[0249] Tearing down network namespace at /var/run/netns/cni-7c235053-a15f-cfcc-a2ee-bf4b8a48bc54 for container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8
INFO[0249] About to del CNI network lo (type=loopback)
INFO[0249] Got pod network &{Name:pensive_chatterjee Namespace:pensive_chatterjee ID:0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 NetNS:/var/run/netns/cni-7c235053-a15f-cfcc-a2ee-bf4b8a48bc54 Networks:[{Name:podman Ifname:eth0}] RuntimeConfig:map[podman:{IP: MAC: PortMappings:[{HostPort:9200 ContainerPort:9200 Protocol:tcp HostIP:} {HostPort:9300 ContainerPort:9300 Protocol:tcp HostIP:}] Bandwidth:<nil> IpRanges:[]}]}
INFO[0249] About to del CNI network podman (type=bridge)
DEBU[0249] container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8 failed to unmount /var/lib/containers/storage/overlay-containers/0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8/userdata/shm : invalid argument
DEBU[0249] unmounted container "0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8"
ERRO[0249] failed to restore container 0028b68f9a8959c6f6fd92f03f63104f9e649b777a77eb549b4f84fe1d0a90e8: container creation timeout: internal libpod error

@adrianreber I'll leave this issue open and ask about the timeout in a new issue.


run as admin needed

for info and not request for fixing as i'm more than happy running it as admin
os is win 7
gemcraft latest version
.net is 4.5
game exe is in "C:\Program Files (x86)\Steam\steamapps\common\GemCraft Chasing Shadows\GemCraft Chasing Shadows.exe
combiner exe is in C:\Users\dave\Favorites\Desktop\wGemCombiner-master\WGemCombiner-v1.1\WGemCombiner-v1.1\WGemCombiner.exe
I start both from desktop shortcuts
checked permissions for user 'dave'  to c:\users\dave(and beyond) and all ticked,
running as non admin i can click combine and move mouse over gem. pressing the hotkey will make the combine 'counter'/eta meter move but mouse will not move. if i do a long combine and move the mouse and click the combine app window mid combine, the mouse will start moving (but obviously mid combine and its focus on where i clicked and not on A1.
i also get the file issues mentioned in the error message i posted (will repost here is needed?)
as a side to those file issues - when i manually created those files first and ran as non admin all is fine,(will recheck that is correct).
running the app as admin has zero issues.
the old app ran without the focus/interaction with the game window.
i'll move the app exe out of my user dir's once my latest endurance is over and see if that makes any difference. will also relog system on as a guest and see what happens there too.
as i say, this does not need fixing for me as it works when running as admin, but if you want to delve into it just say if you need any screen shots of stuff or me to change things this end

as a side to those file issues - when i manually created those files first and ran as non admin all is fine,(will recheck that is correct).
As in the file issues are. The game focus / mouse movement is still inactive

only moved wgem exe to "C:\Program Files (x86)\wgem" and opened with shortcut on desktop whilst still logged as user dave and both issues solve, no idea why running the exe as non admin from within dave's desktop dir stops file creation in appdata folder yet from where it is now is fine. And super shrug on the mouse issue.
still if anyone else has or reports similar issues its at our end and easily solved.

Uhm...
My current guess is: C:\Users\dave\Favorites\Desktop\wGemCombiner-master\WGemCombiner-v1.1\WGemCombiner-v1.1\WGemCombiner.exe is a path too long for some function we use, whilst C:\Program Files (x86)\wgem is not. Or maybe dashes or dots are hated by some other function.
@davehale : could be of huge help if you could try out some different length of path (simply lengths, subfolders probably don't matter) and paths with dashes or dots.
@RobinHood70 : I'll try to have a look, but I'm not sure my VM can replicate this, otherwise I'll leave it to you.
Thank for the followup, @davehale .

with wgem exe running as non admin from
C:\Users\Guest
C:\Users\dave
C:\Users\dave\Favorites
C:\Users\dave\Favorites\temp
all is fine.
running from original place at  C:\Users\dave\Favorites\Desktop\wGemCombiner-master i get  both issues.
if i simply right click, copy and paste the folder i get the same issues with the copied exe now at  C:\Users\dave\Favorites\Desktop\wGemCombiner-master - Copy
then (.... and it gets stranger )
if i rename that folder to C:\Users\dave\Favorites\Desktop\wGemCombiner-master2 all works
however if i then rename that folder or even as 1st rename to 'C:\Users\dave\Favorites\Desktop\wGemCombiner-master new'  both errors reoccur
or if i copy and move the working C:\Users\dave\Favorites\Desktop\wGemCombiner-master2 folder to C:\Users\dave\Favorites\wGemCombiner-master2 without any other changes both issues return
i have a properties option to unblock the exe's (working ones or not) as its from another computer yet in all the above cases that makes no difference
changing the exe name in any location it does not work has no effect but changing it to wgem.exe in moved/renamed folder locations where it then works causes the exe to mis behave again.
there is obviously some sort of security / access issue with my system and the exe that makes no sense to me. grabbing another fresh exe download and dropping it to c:\ before dropping it onto my desktop. btw i do have git installed on my comp so maybe the fact i've downloaded the source via that and the exe direct has it scratching its head

I'm completely appalled (and also completely unable to replicate the problem on my system).
I have only one question, you said you downloaded the source, did you by any chance compile the original .exe by yourself?
Because VS runs as admin by default, which might have a role here.
If that is the problem, grabbing a fresh .exe should solve it.

half solved it.
the exe is running with the user group  Users(dave-HP\Users) permissions despite me being logged in and downloaded the exe while on as dave(dave-HP\dave)

yeap i did compile, but fresh download after all traces of old deleted has same issues but due the app not installing(?) with my user permissions but defaulting to generic user group permissions
allowing it write as a permission for that user group solves both. removing write however obviously prevents config file creation but disables the app from mouse control when not focused on the wgem app window. still no idea why it wont pick up my permissions as the user logged on and defaulting to generic User group

the exe 's properties security tab deff says the exe owner is dave(dave-HP\dave) and i'm deff logged on as that user. But anyway, i can get it to run and it works a treat so unless others are struggling to get it to work for the same reason i'm happy to run it as administrator

Not really an "error", just the closest label I have.
I'll now close it, as I believe it's on the @davehale 's end, nothing we can't do.
If there is additional information feel free to reopen it


Feature request: graceful configuration reload

What did you do?
I have 2 Alertmanagers installed in HA and am using Opsgenie integration. Sometimes the configuration is updated and reloaded automatically on both instances at around same time.
What did you expect to see?
No alerts notifications towards integrations are dropped.
What did you see instead? Under which circumstances?
Sometimes the alert would remain open on Opsgenie, even though it's resolved on Prometheus. After some investigation I pinpointed the issue on config reload.
If one AM reloads configuration slightly before the other, no problems (which happens most of the time). But sometimes, when the configuration reloads align just right, some notifications are dropped due to top level context being canceled on both of them. (Logs attached)
I fixed this for me by setting up different moments in time for config reload, so that at least one AM is "active" at a time, but was wondering if some kind of graceful shutdown of integrations wound be a good idea.
Environment

Alertmanager version:

alertmanager, version 0.17.0 (branch: HEAD, revision: c7551cd75c414dc81df027f691e2eb21d4fd85b2)
  build user:       root@932a86a52b76
  build date:       20190503-09:10:07
  go version:       go1.12.4

Logs:

level=debug ts=2019-12-17T08:05:00.481869442Z caller=dispatch.go:264 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post https://api.eu.opsgenie.com/v2/alerts: context canceled"
level=debug ts=2019-12-17T08:05:01.504148372Z caller=dispatch.go:264 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post https://api.eu.opsgenie.com/v2/alerts: context canceled"
level=debug ts=2019-12-17T08:05:01.650700099Z caller=dispatch.go:264 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post https://api.eu.opsgenie.com/v2/alerts: context canceled"

I can confirm that I am reloading (with /-/reload endpoint) but it seems that I jumped to conclusion too early.
I created a minimal 2 node cluster which resembles our setup, with mocked Opsgenie endpoint, and tried to reproduce the issue without success. Reason why I thought this was an issue in the first place was alertmanager_notifications_failed_total metric alongside with debug logs.
I would kindly suggest to document that retry logic exists and that metric doesn't track final failure of notification.

This also seems related to issues #3407 (which has a lot more detail and proposes a fix), #3410 , #2492 and #3037 .


[Feature Request] Smarter variable type inference

Is it possible to add smarter variable type inference to detect all the different variable types that Featuretools supports like PhoneNumber, ZipCode etc. using regex or other rules?

this is something we've been thinking about. i think it breaks into 2 categories, both of which would be valuable

validation
inference

Hmm validation could be done based on a random sample or to be more thorough scan all values and using a confidence threshold although the latter might be computationally expensive


🚀  RELEASE: v0.1.1

Codecov Report

Merging #78 (057a743) into master (c7691fd) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   73.12%   73.12%
=======================================
  Files           2        2
  Lines         227      227
=======================================
  Hits          166      166
  Misses         61       61

Flag
Coverage Δ

pytests
73.12% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

quantecon_book_theme/__init__.py
68.47% <100.00%> (ø)

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 c7691fd...057a743. Read the comment docs.

Codecov Report

Merging #78 (057a743) into master (c7691fd) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   73.12%   73.12%
=======================================
  Files           2        2
  Lines         227      227
=======================================
  Hits          166      166
  Misses         61       61

Flag
Coverage Δ

pytests
73.12% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

quantecon_book_theme/__init__.py
68.47% <100.00%> (ø)

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 c7691fd...057a743. Read the comment docs.


Add Global DevOps Experience 2024 event

This pull request includes changes to the src/pages/meetups/2024/global-devops-experience-2024-no-pain-no-gain-madrid.mdx file. The changes add a new event page for the 'Global DevOps Experience 2024 edition - NO PAIN, no GAIN'. The page includes details about the event such as the date, time, location, organizers, sponsors, registration link, event details, objectives, organizers, and a link to the event's tweet.
The most important changes are:

src/pages/meetups/2024/global-devops-experience-2024-no-pain-no-gain-madrid.mdx: Created a new event page with details about the 'Global DevOps Experience 2024 edition - NO PAIN, no GAIN' event. This includes the event's date, time, location, organizers, sponsors, registration link, event details, objectives, organizers, and a link to the event's tweet.

Ready ;)

Un par de fixes y... ✅

Un par de fixes y... ✅

Joder que desastre no he dado una jajaja. Muchas gracias tío 😘, para la próxima lo hago bien ;)


ToggleSwitch and ToggleSwitchButton works differently depending whether user clicked on it or dragged it

ToggleSwitch and ToggleSwitchButton works differently depending whether user clicked on it or dragged it
To Reproduce
xaml:
<StackPanel Orientation="Vertical">
<mah:ToggleSwitch  IsChecked="{Binding IsA, Mode=TwoWay}" OnLabel="A" OffLabel="Not A"></mah:ToggleSwitch>
 <mah:ToggleSwitchButton  IsChecked="{Binding IsA, Mode=TwoWay}" >A?</mah:ToggleSwitchButton>
 <ToggleButton  IsChecked="{Binding IsA, Mode=TwoWay}" >A??</ToggleButton>
<CheckBox  IsChecked="{Binding IsA, Mode=TwoWay}" >A??</CheckBox>
 </StackPanel>

view model (PropertyChanged is injected by Fody.PropertyChanged)
 public class TestViewModel : INotifyPropertyChanged {
        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnPropertyChanged ([System.Runtime.CompilerServices.CallerMemberName] string propertyName = null) {
            PropertyChanged?.Invoke (this, new PropertyChangedEventArgs (propertyName));
        }

        private bool _IsA { get; set; }
        public bool IsA { get { return _IsA; } set { MaybeSetA (value); } }

        private void MaybeSetA (bool value) {
            var rand = new Random ();
            if (rand.NextDouble () > 0.5) {
                Trace.WriteLine ("set new value");
                _IsA = value;
            } else {
                Trace.WriteLine ("ignore new value");
            }
        }

    }

Expected behavior
I expect state of the control to change depending whether MaybeSetA() decides to accept new value or not. This is so if user clicks on ToggleSwitch/ToggleSwitchButton, but not if user drags indicator. ToggleButton and CheckBox work as expected (but they are not part of MahApps). All the controls should be in the same  state all the time, as they are bound to the same property.
Screenshots

Environment(please complete the following information):

MahApps.Metro, tested both with newest and newest -pre

Repo
https://github.com/DomasM/TestMahAppsToggleSwitch
run Update-Package Fody -Reinstall after clone

Additionally, in case of ToggleSwitch, on label and off label are shown correctly (i.e. bound to property).


Fix: Fixed issue where Alt-Up focused on the column header

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

Closes #10567

Validation
How did you test these changes?

[x] Built and ran the app

Can you share a screen recording of the new behavior?

Here it is
https://user-images.githubusercontent.com/102259289/205747735-4e4ff7ba-dfff-4b70-b766-4f168a94b797.mov

Is it selecting the "Name" column header now?

Is it selecting the "Name" column header now?

The Name header selection is probably a side effect of #10439. The detailed view focused first the header while the view is loading the items, and then the first element.

What's the best path forward here?

An idea I cannot test for now, we may get away with a proper unfocus on line 449 in src/Files.App/Views/LayoutModes/DetailsLayoutBrowser.xaml.cs.
Feels like a makeshift solution though.

The focus is set correctly when clicking the toolbar buttons, can we try to replicate this with the shortcuts?

@yaira2 @QuaintMako
I fixed the focus problem. Basically, the issue was that FileList had IsTabStop set to false for some reason when it should default to true.
Can you tell me if now it's working as intended?

@yaira2 do you know how to fix the problem with the pipeline?

Did you try running the tests locally to see why it's failing?

The behavior is better but it still doesn't match the behavior when clicking the up button in the toolbar.

The behavior is better but it still doesn't match the behavior when clicking the up button in the toolbar.

Can you tell me more about this?

Notice the black rectangle as the focus changes
https://user-images.githubusercontent.com/39923744/208308528-b104a686-9935-4b76-8b77-bbee21cd64c7.mp4

With the latest commit the bug is almost fixed (occurs in < 1/10). I don't think it can be 100% fixed, since you can't focus on specific items, but you need to focus the ListView.

@yaira2 could you test with the latest changes if focus behaviour is good?


Update link to Issue Tracker

Bug Report
Problem
The footer of https://cordova.apache.org/ has a link labeled "Issue Tracker" leading to a seemingly semi-abandoned JIRA. I understand issues are currently tracked here, on GitHub. The link should either be updated or removed.
Checklist

[x] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

I think perhaps the best replacement link might be https://github.com/apache/cordova#filing-a-bug


Cannot build tests for the iOS simulator

Hi, I created a test project following the instructions in the README, but I cannot run tests in the iOS simulator, it fails with several errors that have this kind of message for many modules:
While building for iOS Simulator, no library for this platform was found in '/Users/MY_USER/Library/Developer/Xcode/DerivedData/TestMacro-csquftvfoocdvoepolblzlbwwmof/SourcePackages/artifacts/swift-syntax-xcframeworks/_SwiftSyntaxTestSupport/_SwiftSyntaxTestSupport.xcframework'.

I need to be able to execute tests in the simulator because my macro code is part of a larger package that contains iOS-specific code. I think I can work around this by extracting the macro code into a different package, and only run the tests for that package in macOS, but I was wondering if the issue is that the binaries are not also generated for the iOS simulator, and if it's possible to generate them.
Thanks

Hi, could you please elaborate on your setup? I created the default macro package, added the latest XCFramework, changed the target to iPhone 16 simulator and tests build just fine.
They won't actually run, since all code there is gated behind #if canImport, but I don't see the error that you posted.

Hi, thanks for the answer, I was able to fix the issue, it looks like it was a misconfiguration on my side. I'll close it.


OpenJ9 Dockerfile unusable -XX option (+UseG1GC)

https://github.com/itzg/docker-minecraft-server/blob/480b7645ba6a5cc7842ef0f232607521390a42d4/Dockerfile#L69
I was having a look at the different ENV settings and I found this dockerfile has this hard-coded. I'm still and infant in openj9 parameters but I believe this option does nothing. I'm I correct? Please disregard this issue if this has no real impact whatsoever.
Thanks!

Totally fair question since I'm also new to OpenJ9 (and actually still not using it that much). Speaking of which, I had forgotten that in that branch I had removed that JVM option:
https://github.com/itzg/docker-minecraft-server/commit/007f9426bf76ec4301cf187515b47609c92ba739#diff-3254677a7917c6c01f55212f86c57fbf
which results in this tag/branch specific Dockerfile
https://github.com/itzg/docker-minecraft-server/blob/openj9/Dockerfile
So, all is good, but thanks for double checking.

Sorry, it's me again... so If I understood correctly you changed it in openj9 branch but not in openj9-nightly?  Nevertheless there is no real impact in having this because openj9 VM just ignores it, right?
Thanks!

Oops, I did miss that change in the nightly branch
https://github.com/itzg/docker-minecraft-server/blob/openj9-nightly/Dockerfile

There were a few changes I missed from the openj9 branch, but they're all brought over now.

Thanks!!! I'm testing a lot with openj9 and having great results server side, now with nightly I finally have good results client side too.


feat(express_route_fix): change route to original path

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Dt rt/search contact

hihi! remember to leave screenshots of your pages when you make pull requests!! :)


Stop checking quotas from the Check API method.

Checking quota must now be done using the Quota method.

This change is

Jenkins job mixer/presubmit passed


As a content editor, I want the option of a display title for use in the timetree so that I can use different titles in the leaf detail view and in the tree.

dev notes

[x] update parse script to look for display title field
[x] update json template to include display title in data used for the timetree
[x] update tree logic to use display title first if set (full title as fallback)

implemented in #99


update wasm latest

Current dependencies on/for this PR:

main

PR #104   👈

PR #102

This comment was auto-generated by Graphite.


Add go vet & go fmt commands & build badge

@dickeyxxx could you review?  I just dropped in a window batch file to help emulate test -z & updated the README with the appveyor badge

lgtm


E2E Tests on profile page

Closes https://github.com/Zenika/skillZ/issues/219

Its working with Electron v102

Seems good, all tests passed it's ok for me :+1:

Hello, I have a suggestion, you might want to try https://testing-library.com/docs/cypress-testing-library/intro/ for selectors so you don't have to set ids and have weird selectors in cypress 😄

Thanks for the suggestion @Ked57 !
I don't like using the text of element to select it. First if the text changes, you also have to change all e2e tests using it. Second it can be more difficult if we want to test with different languages.
However, I've installed this library to simplify the selectors with data-testid instead of id attributes

Using test, labels and roles to select elements allow you to write tests to be as close as possible to the way users use your application, that's the goal of testing-library (you can read details here https://testing-library.com/docs/dom-testing-library/intro ) and the guiding principles ( https://testing-library.com/docs/guiding-principles/ ).
So yes, if text changes you have to update your tests because the way users use the app changed, makes sense to me 😄 It goes the other way around, and that's where this method is interesting. If the user experience changed and this was not intended, your tests might still pass using data-testid and common selectors whereas selecting by text, label or role is much more likely to alert of that change.
In the end it's an industry wide, generally accepted good practice to do it this way: The more your tests resemble the way your software is used, the more confidence they can give you.

It makes sense even if I still believe it can be more difficult for specific situation like button without text (icon only).
I've tried to implement it for all profile page tests in the last commit 😃


Upon winning, do something fun (gif?)

We now provide a happy winning message. Adding a gif would be overkill for the bot - humans tend to provide relevant and fun gifs


support embedding cosponsorship form

moved from asana task
mana has already made a form for this, we just need to embed it in a similar manner to the consult form, see this template.

the form in question is this one: https://docs.google.com/forms/d/1eZKulM0fJWMxb5CdMfr8r4ydscCIn2bJFq9gJHtkyFU/edit

was able to successfully embed this by:

creating a new page under "events"
setting the new pages' URL to events/cosponsor

you can see it in qa here

worked with elizabeth to change some aspects of the form and determine what richtext content should be there. we're good to go


Drop initialize check

This does not seem to be needed anymore and in fact causes an error on the delete window.gl line for me.

LGTM but before we merge it it would be nice if @jbeezley can have a look at it.

It's baffling to me why delete window.gl would cause an error, but I'm will to accept the change.

FYI for some reason it said that window.gl was undefined. Perhaps I was double-initializing before the gl field was created again?

Maybe, but even if gl was undefined, it shouldn't cause an error.


Print versions of Rust used in some Pipeline jobs

Please help keep the CHANGELOG up to date by providing a one sentence summary of your change:
N/A - build configuration changes for debugging https://github.com/rusoto/rusoto/pull/1647.

Updated VMs available from https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent and we now print the default rustc version on all jobs.


Add a feature to set distance between buttons

New feature allows setting of distance between buttons. Several changes in MGSwipeTableCell have been made. buttonsDistance property was added which has a default value of 0. The new feature is tested for all possible cases and does not affect on older projects as the default value is set to 0.

+1 Would love to have this merged in!

@MortimerGoro is there any reason this PR can't be merged?

Merged, sorry for the long delay!


[FLINK-2769] [dashboard] Remove hard coded job server URL

Removes the hard coded job server URL for the client scripts. This was preventing the web server port configuration to be picked up by the client.

Remember to assign the JIRA to yourself ;)

+1
I built it and ran it on a custom port, data seems to be displayed correctly

+1, looks good.
I think the ports / URLs were in there, because originally we had two backend servers running (the old one and the new one) while gradually transitioning requests and adding more REST requests. For a time, the frontend connected to two different backends and did some tunneling/proxy magic to get around XSS restrictions...

Merging this...


Dex freezes when selecting an egg-move

Hey this Pokedex is the best one out there. Very fast, good overview!
I noticed that (for quite some time now), when you select an egg move from a Pokémon's move pool, the dex just freezes.
To replicate, just search "Charizard" and select "Belly Drum" from it's egg moves. Nothing happens. When you then select any other move, nothing happens either. Reloading gets the Dex working again.
Cheers, and thanks for this awesome Dex

Looks like it's fixed now. I'm guessing it was probably one of the gen updates. Sorry about that!


Integration Test - Release - 2021/12/31 02:55:15

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign NonAllowedUser

#reassign PRMergerTest2

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign PRMergerTest1

#unassign NonAllowedUser


make it work in 2021

https://turntable.fm is back on line, with only a few minor changes to their API. That means ttapi can be used almost as is!
this PR:

used decaffeinate to convert coffeescript to ES6
uses the ws module from npm instead of shipping a websocket implementation
uses https and wss URLs
hardcodes the chat server URL since the old which_chatserver endpoint is not working
uses node-fetch for HTTPS requests because it is easier than the http module
uses ES modules for the examples: this is because ES modules in node.js let you do import 'modulename' to import the current module as well, so the examples can be run both inside the repo or copy-pasted into your own project

No API changes, so old bots should be able to use this version with no code changes.

That's awesome ! How do I join turntable.fm ?
Do I need an invitation ? it's asking me for a password.

“Speakeasy"

On Mar 4, 2021, at 11:07 AM, Alain Gilbert<EMAIL_ADDRESS>wrote:
That's awesome ! How do I join turntable.fm ?
Do I need an invitation ? it's asking me for a password.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/alaingilbert/Turntable-API/pull/265#issuecomment-790857323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAL2GZMDMS3DDG6ODXVOB3TB7K75ANCNFSM4YS7ZVBA.

Will a new NPM module version be published soon? Trying to help a friend bring his bot back online.

oh god, I forgot how to do that XD

I deployed version 4 !


Configure Business Rules, Workflow and Process Visibility

Tutorials: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-2-configure.html
Write here how you think we can improve the tutorial ...

After setting up the BusinessApplicationStudio and creating a new space there is no File>Open Workspace avlaible but a  File> Open Workspace from File or Import Porject but both seems to need a anlready exising project or at least a folder in the users projects folder.

mybee its also possible to use Clone from git, but as far as i understood you have more than one project in your cloud-workflow-samples?

Please guide the reader how to create a Porject.

Ps: i am working on a trial account.

Archana, as the original author, can you please respond to this issue?


Newbie question.. doesn't build not sure how to start.

Hi,
Sorry for possibly annoying question.
Just wanted to get a demo going.
Not sure do i start with a .net core console app or an asp.net web app?
I pullled down the repo just to see the example but the repo doesn't build.. I get the following error:
NETSDK1045	The current .NET SDK does not support targeting .NET 6.0.  Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0.
Apologies if there is an obvious answer to this..
Just trying to see if this would be a good fit for a project I have to do..

Sorry, I got it working by changing the targe of the example to 3.1 and it appears to be working now...
Thanks


Could we provide a setting to change the location of the working status of python interactivate?

In the recent release, the location of the working status of python interactive has been moved.

Sometimes it's frustrating because if the Python code is long, you have to navigate to the top of the section to see that the script working status. So, could we provide a configuration for it? Thanks.

Thanks for the suggestion.

Status of cells should be more visible now.


Hydra error when loading pretrained BART XSum model

🐛 Bug
When I load a pretrained BART XSum model with
bart = BARTModel.from_pretrained('checkpoints/bart.large.xsum', checkpoint_file='model.pt')

I get the following error:
hydra.errors.ConfigCompositionException: Error merging override task.eval_bleu_args=null

To Reproduce
Steps to reproduce the behavior (always include the command you ran):

Download BART XSum pretrained model

wget https://dl.fbaipublicfiles.com/fairseq/models/bart.large.xsum.tar.gz
tar -xzvf bart.large.xsum.tar.gz

Load model in Python

import torch
from fairseq.models.bart import BARTModel
bart = BARTModel.from_pretrained('checkpoints/bart.large.xsum', checkpoint_file='model.pt')

I get the following error:
Traceback (most recent call last):
  File "/env/lib/python3.8/site-packages/hydra/_internal/config_loader_impl.py", line 513, in _apply_overrides_to_config
    OmegaConf.update(cfg, key, value, merge=True)
  File "/env/lib/python3.8/site-packages/omegaconf/omegaconf.py", line 613, in update
    root.__setattr__(last_key, value)
  File "/env/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 285, in __setattr__
    raise e
  File "/env/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 282, in __setattr__
    self.__set_impl(key, value)
  File "/env/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 266, in __set_impl
    self._set_item_impl(key, value)
  File "/env/lib/python3.8/site-packages/omegaconf/basecontainer.py", line 398, in _set_item_impl
    self._validate_set(key, value)
  File "/env/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 143, in _validate_set
    self._validate_set_merge_impl(key, value, is_assign=True)
  File "/env/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 156, in _validate_set_merge_impl
    self._format_and_raise(
  File "/env/lib/python3.8/site-packages/omegaconf/base.py", line 95, in _format_and_raise
    format_and_raise(
  File "/env/lib/python3.8/site-packages/omegaconf/_utils.py", line 694, in format_and_raise
    _raise(ex, cause)
  File "/env/lib/python3.8/site-packages/omegaconf/_utils.py", line 610, in _raise
    raise ex  # set end OC_CAUSE=1 for full backtrace
omegaconf.errors.ValidationError: child 'task.eval_bleu_args' is not Optional
        full_key: task.eval_bleu_args
        reference_type=Optional[TranslationConfig]
        object_type=TranslationConfig

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/proj/fairseq/fairseq/models/bart/model.py", line 128, in from_pretrained
    x = hub_utils.from_pretrained(
  File "/proj/fairseq/fairseq/hub_utils.py", line 74, in from_pretrained
    models, args, task = checkpoint_utils.load_model_ensemble_and_task(
  File "/proj/fairseq/fairseq/checkpoint_utils.py", line 339, in load_model_ensemble_and_task
    state = load_checkpoint_to_cpu(filename, arg_overrides)
  File "/proj/fairseq/fairseq/checkpoint_utils.py", line 273, in load_checkpoint_to_cpu
    state = _upgrade_state_dict(state)
  File "/proj/fairseq/fairseq/checkpoint_utils.py", line 550, in _upgrade_state_dict
    state["cfg"] = convert_namespace_to_omegaconf(state["args"])
  File "/proj/fairseq/fairseq/dataclass/utils.py", line 353, in convert_namespace_to_omegaconf
    composed_cfg = compose("config", overrides=overrides, strict=False)
  File "/env/lib/python3.8/site-packages/hydra/experimental/compose.py", line 31, in compose
    cfg = gh.hydra.compose_config(
  File "/env/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 507, in compose_config
    cfg = self.config_loader.load_configuration(
  File "/env/lib/python3.8/site-packages/hydra/_internal/config_loader_impl.py", line 151, in load_configuration
    return self._load_configuration(
  File "/env/lib/python3.8/site-packages/hydra/_internal/config_loader_impl.py", line 277, in _load_configuration
    ConfigLoaderImpl._apply_overrides_to_config(config_overrides, cfg)
  File "/env/lib/python3.8/site-packages/hydra/_internal/config_loader_impl.py", line 520, in _apply_overrides_to_config
    raise ConfigCompositionException(
hydra.errors.ConfigCompositionException: Error merging override task.eval_bleu_args=null

Expected behavior
When I try the above with bart.large (not finetuned) or bart.large.cnn it works.
Environment

fairseq Version (e.g., 1.0 or master): '1.0.0a0+cfbf0dd'
PyTorch Version (e.g., 1.0): 1.4
OS (e.g., Linux): Linux
How you installed fairseq (pip, source): pip
Build command you used (if compiling from source): git clone + pip install
Python version: Python 3.8.5
CUDA/cuDNN version: 10.1
GPU models and configuration: Titan V
Any other relevant information:

Thank you!

For now, I can get around this bug by using
bart = BARTModel.from_pretrained('checkpoints/bart.large.xsum', checkpoint_file='model.pt',
                                  eval_bleu_args='', eval_bleu_detok_args='')

For now, I can get around this bug by using
bart = BARTModel.from_pretrained('checkpoints/bart.large.xsum', checkpoint_file='model.pt',
                                  eval_bleu_args='', eval_bleu_detok_args='')

Having the same bug with a model that I trained around summer 2020.

Having the same bug with a model that I trained around summer 2020.


Login page Server error

Hello,
When I click on the Login button, I get the following error: Server error
There is a problem with the server configuration.
Check the server logs for more information.
In my logs, there's the following error: [next-auth][error][NO_SECRET]
https://next-auth.js.org/errors#no_secret,
Even through I specified it in the .env file:
NEXTAUTH_SECRET=a299eaexxxxxxxxxxxxxxxxxx88f7783

If you are experiencing it on vercel you have to setup the environment variable and redeploy it.
If you are experiencing it on your local environment you have to restart the server.

Worked, thanks, have a nice day/evening!


ROCm 3.6 merge develop into master

Seems like on hcc, we have a test failure with the ReplacementKernel bad_file test. Other tests pass

Thanks, updated with a more permanent replacement kernel name this time.

Not a good idea.  The short kernel name doesn't exist in COv3 subdirectory.  Oh well, back to the ever-changing kernel name.


Handle changes to CurrentDisplay to allow switching active display

This used to work and likely regressed with the SDL implementation at some point.  Note that this implementation is MVP and may not work in certain configurations or on certain platforms, but is better than nothing (in theory).
See https://github.com/ppy/osu-framework/issues/5055.
Worth noting that this is now adding an extra pending mode change request on startup due to the initial trigger flag. In my limited testing this didn't seem to adversely affect anything on windows, but I'd appreciate testing on other platforms (and even on windows to confirm this).

On linux this only seems to work when windowed, although this is likely related to the fact that I have two displays with different resolutions. Either way this is better than nothing, platform kinks can get worked out later.


Update README.md

@shahidkhuram,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Update getting_started.org

Added clarification about updating an existing doom config to use Chemacs

Hi! Thanks for the PR, but I cannot accept it because an overhaul of our documentation is in the works (and already includes this tidbit), which makes this PR redundant. In any case, thanks for the help!


4913 5036 5159, what document is this?How can you disable the creation of such a file?

4913 5036 5159, what document is this?How can you disable the creation of such a file?

What are you talking about?

This is the file produced by vim. I want to forbid vim to produce such file

3.10.0-957.el7.x86_64 centos7

Your Vim is too old. Please update to 8.1.xxxx and show a reproducible way using vim --clean.
(--clean is a new option since 8.0.0716. If you still need to use 7.4, try with vim -N -u NONE -i NONE.)

Thank you very much!
Another question:
I added set nobackup to /etc/vimrc, but when I looked at the distributed file system log, it was still generated, only it was deleted.
How do I disable backup files?Create a backup file first, then delete the backup file, after all, produced a backup file

See :help 'writebackup'.

4913 5036 5159

You are not giving much details. However, my guess is, that are you are seeing those filenames whenever Vim writes a buffer. Vim writes a buffer to the disk, it checks whether it is possible to write new files or not by writing arbitrary 4 digit letter files starting with 4913 (and incrementing by 123). I am not sure, why those filenames persist for you, is there anything unusual in your setup?
We had reports about those files because on Windows anti-virus software opened those files and thus prevented proper file deletion. But I suppose that is not your problem.
In any case, you could try to :set backupcopy=yes (not auto)


Cli removal v2

removing cli from cassandra and hdfs

@jsancio first...   I thought I was up against my forked repo when I was doing my tests... and I was not.   So I reverted the branch back to its original position.  second.. cassandra looks good but there is an issue with the hdfs.  let me do some more testing.

@jsancio ok.. this is ready to go


V3: Transferring NodejsAsset contents via buffer

Migrated Asset.code from Arc<Code> to just Code
Copying bytes from rust into JavaScript buffer
Transferring buffer from Rust to JavaScript
Changed nodejs worker.js#runTransformerTranform() to accept the buffer as the contents

Benchmarks
16 cores 16 workers
30 copies 3js
10 javascript plugins

branch
time
%

main:v2
7.49s
~

main:v3
19.53s
~

alsh/transformer-zero-copy-buffer
15.40s
-21%

can we use get_element instead of unchecked version
and just use Buffer directly?
    let mut result = env.create_buffer(buffer.len())?;
    // This is faster than moving the vector in
    result.copy_from_slice(&buffer);
    result.into_unknown()

can we use get_element instead of unchecked version

Updated. We don't really need runtime type checking because we control both sides of the integration, but I'm not fussed.

and just use Buffer directly?

Unfortunately JsCallable doesn't take a Vec<impl NapiRaw> because it's tricky to use traits there so instead it takes an Vec<JsUnknown> which most napi types can be converted into.
I can look at addressing that in a future PR


Fetch init.signal error

Error: packRequest: init.signal
    at packRequest (blob:null/74878e83-1a35-4f3c-a67a-93d94adee03e:1003:50)
    at blob:null/74878e83-1a35-4f3c-a67a-93d94adee03e:765:22
    at fetchWithTimeout (blob:null/b9119e73-2aec-4ae2-bd38-1b596890bc68:32228:28)
    at fallback (blob:null/b9119e73-2aec-4ae2-bd38-1b596890bc68:32263:29

Code to reproduce:
async function fetchWithTimeout(resource: RequestInfo, options: RequestOptions = {}): Promise<Response> {
  const controller = new AbortController()

  console.log('fetch', resource)
  const { timeout = 5000 } = options
  console.log('timeout', timeout)

  const id = setTimeout(() => {
    console.log('timeout')
    controller.abort()
  }, timeout)
  const response = await fetch(resource, {
    signal: controller.signal,
  })
  clearTimeout(id)
  return response
}

Line causing: here

I do not think I can to be honest

hmm, try providing a full path

{
  "$schema": "https://raw.githubusercontent.com/skymethod/denoflare/v0.5.12/common/config.schema.json",
  "scripts": {
    "main": {
      "path": "./main_router.ts",
      "localPort": 3030,
      "bindings": {
        "STRIPE_WEBHOOK_SECRET": {
          "value": "test"
        },
        "STRIPE_SECRET_KEY": {
          "value": "test"
        },
        "API_SECRET": {
          "value": "testsecret"
        },
        "PLAN_MAKER": {
          "value": "test"
        },
        "PLAN_SOLO": {
          "value": "test"
        },
        "PLAN_TEAM": {
          "value": "test"
        }
      }
    }
  }
}

Here is how my .denoflare looks. It work perfectly without this flag. Let me know how I should change this

change  "path": "./main_router.ts", to a fully qualified path
in general, denoflare can be called from any directory using named config scripts like this

So an absolute path?

Ah, I'm able to reproduce only if I'm running denoflare in "no-install mode"
i.e. deno run --unstable --allow-read --allow-net --allow-env --allow-run
https://raw.githubusercontent.com/skymethod/denoflare/v0.5.12/cli/cli.ts serve x
the import statement is considered relative to the running remote script path in this case
workaround for now is to try and prefix your absolute path in the config with file://
I'll add a separate issue for the --local-isolation none mode not working when running in no-install mode as a new issue
can you verify your denoflare setup and also your os environment and output of deno --version


DuckDNS addon constantly stops without reason

I am running hass.io (hossos) on a Raspberry Pi 3. I am currently on version 0.100.3.
Every time I go into Hass.io in the side panel, the DuckDNS is not running. I start it manually, but a while later it has stopped again and looks like this:

My setup looks as follows:
{
  "lets_encrypt": {
    "accept_terms": true,
    "certfile": "fullchain.pem",
    "keyfile": "privkey.pem"
  },
  "token": "***764",
  "domains": [
    "[mydomain].duckdns.org"
  ],
  "seconds": 300
}

The log file seems to be empty, because nothing shows after a refresh.

This behaviour is new since some weeks, but I can't really tell from which version it started to act up. Mostly, my DuckDNS domain is accessible from the outside, but I have occasional instances when my clients can't connect, which is fixed by a restart of the hass.io server.

My DuckDNS certificate has expired 3 days ago at not been renewed automatically by this addon.
Found this in the DuckDNS log today:
# INFO: Using main config file /data/workdir/config
ERROR: Lock file '/data/workdir/lock' present, aborting.

What does that mean?

I uninstalled and reinstalled the addon, and after that it worked!


Fix skinning initialization in MeshInstance when loaded from thread

Fixes #48152 based on suggestion by @lawnjelly in https://github.com/godotengine/godot/issues/48152#issuecomment-826308569
This is a fix for a regression from software skinning support (PR #40313):
instance_attach_skeleton wasn't called in set_mesh before, and it's causing issues when the mesh instance is loaded from a thread.

Call from a thread queues instance_attach_skeleton with RID() in the visual server.
Call from the main thread when entering tree calls instance_attach_skeleton immediately with a valid skeleton
Queued instance_attach_skeleton resets the attached skeleton

This change prevents that to happen by making sure instance_attach_skeleton is not called on set_mesh, the same way it was done before #40313.
This fix seems to be fine for the specific case in #48152. I've tested with different projects from #40313 and things seem to still work correctly.
But:
There might be a more general problem to solve in how server commands are executed when resources are loaded from a different thread.
At the moment, they can be executed in the wrong order if the first ones are queued and the next ones are executed immediately. This could have other unpredictable side effects.
Maybe queued commands should be flushed when an immediate command is executed? I'm not sure if that would be ok for performance but it would make things much safer.

Agree, that sounds a good explanation - that the underlying cause is different call order due to resources loading from a thread.
It is possible it was working before 'by accident' rather than by design, and by making these changes we are re-establishing the accident that allows them to be called in the wrong order.
I can't independently review as these are basically the changes I came up with (and it was more applying a band aid than knowing the cause). So maybe @clayjohn can take a look. It might be we would have to ask reduz to confirm / deny the out of order calls idea, but whether he originally wrote this I don't know, and it may not be fresh in his memory.

Thanks!

Cherry-picked for 3.3.1.


[TODO] Ensure MIDI 1.0 APIs (WinMM / WinRT) have WinMM-compatible or better naming for devices/ports under new enumeration code.

Many existing editors and configuration apps rely on an exact port name as they appear in WinMM MIDI. We will need to ensure our new names for MIDI 1.0 devices through the MIDI 1.0 APIs are consistent with the older WinMM names, and use those same names in the older WinRT MIDI API. In addition, we may consider not allowing renaming of MIDI 1.0 device names as they appear in MIDI 1.0 ports (always enumerate with the manufacturer-supplied names in WinMM). Note that this is only for USB MIDI 1.0 byte stream devices.

For MIDI 1.0 devices, this is currently how the naming works.
If there's an iJack value provided, we use that and the filter name
If there's no iJack value provided, we use the filter name  . We may add a differentiator number to that.
The user-provided name always overrides this naming approach, although we do make all names available.

@Psychlist1972
I have some questions about this issue:

For MIDI 1.0 devices, this is currently how the naming works.
If there's an iJack value provided, we use that and the filter name
If there's no iJack value provided, we use the filter name . We may add a differentiator number to that.
The user-provided name always overrides this naming approach, although we do make all names available.

On DP7 now,  is the naming for port names for MIDI 1.0 device above working?
When the MIDI 1.0 device having multiple ports is connected, are each iJack values used without vendor specific driver?

@tosugawara In DP7, the naming for the generated Group Terminal Blocks for aggregated MIDI 1.0 ports in the SDK follows the above formula. Currently, the naming of WinMM Ports does not. We're working on it.
One of the challenges with naming is we're limited to a maximum of 32 characters for WinMM MIDI 1.0 Port names and we'll need to include the group number in them.
Did you run into something unexpected?

@tosugawara In DP7, the naming for the generated Group Terminal Blocks for aggregated MIDI 1.0 ports in the SDK follows the above formula. Currently, the naming of WinMM Ports does not. We're working on it.

Thanks. I thought the GTB names would be also used for WinMM Port names, and I just wanted to confirm this.

@tosugawara In DP7, the naming for the generated Group Terminal Blocks for aggregated MIDI 1.0 ports in the SDK follows the above formula. Currently, the naming of WinMM Ports does not. We're working on it.

Thanks. I thought the GTB names would be also used for WinMM Port names, and I just wanted to confirm this.

Yes and no. We have to modify it because the iJack (pin) names are not always helpful. We use the pin names as the port name in WinRT MIDI 1.0. As a result, the names are pretty bad in some cases. For example, the MOTU Express 128 has all pin names as "MIDI" so you end up with a list of ports just named "MIDI". In that case, it would make more sense to also have the filter name as part of the name. In this case, the filter name is 20 characters.

Others like the UM-One have no pin names

And then others include the device name in the pin name:

When you combine all that with the 32 character limitation for WinMM port names, you can see there is no single formula which satisfies all devices and ports.
So the decision tree for naming is more complex than just using the pin/jack information and includes things like checking to see if the device name is in the pin name, and more.
For native MIDI 2.0 devices the naming is decided in a different way.

The DP8 SDK includes a tool named midiusbinfo.exe which displays raw information from our USB stack for kernel streaming devices. From it, you can see the names we see after our stack has processed the headers.
Examples:

On the UM-One, you can see our USB stack auto-generated pin names based on the device name, so we end up having to detect this and ignore these types of names.

same with the mio

And here's a case where the vendor driver (from MOTU) breaks each in/out pair out into its on filter instead of as separate pins on the same filter, making the physical device show up as 8 logical devices each with a single pair. You can also see that the pin names are not super helpful :)

That's all to say that we're going to do our best here, but the variation between devices makes this a challenge.

That's all to say that we're going to do our best here, but the variation between devices makes this a challenge.

I have understood. Thanks for your detailed explanation.


how to ignore general foreign key constraints  with gorm when doing migrate

in gorm framework has a config "DisableForeignKeyConstraintWhenMigrating" ，but when I use atlas to general migrate sql , it will general the foreign key constraints
how to config it to ignore general the foreign key constraints

Hey @qbright. Please have a look at the README of the atlas-gorm-provider repository. It has an example for exactly that use-case.
If there are any problems, don't hesitate to reach out.


Add gpg flag to prompt for a GPG key ID when adding a user

Hi, thanks for the tool, it's really useful.
I'd like to use the program to configure which GPG key should be used to sign commits for a given user. I've added this capability by prompting for a GPG key ID when the --gpg flag is specified. I don't know whether this is a feature you're interested in integrating, but if you are, I'm open to any feedback/suggestions.
I thought it would be cool if the tool could display candidate keys in an interactive selection list, but integrating with the GPG keyring/agent seemed a bit complicated, so this PR just allows the key ID to be input as a string.

@Morley93 Thank you for your contribution! I think it sounds good. I'll take a look later :)

@Morley93 Thank you for your contribution! I think it sounds good. I'll take a look later :)

@Morley93 Sorry for the delay. I think it looks great to me! Could you update README?

@Morley93 Sorry for the delay. I think it looks great to me! Could you update README?

Thanks @matsuyoshi30, I've just added the flag to the README (as in the program usage). I think the usage is reasonably self-explanatory for any users of GPG, but let me know if there's any other specific instructions/context you feel should be added.
One thing worth considering is that any manually set signing keys will be removed from the active git configuration scope (local or global) when switching to a non-GPG enabled profile. I can imagine a potentially tricky scenario when an existing user switches profile and expects a manually set key ID to be preserved, but gitsu will remove it. I personally think this is okay, as I don't think using the same signing key for several git users is a very common usecase. Another workaround to support this would be adding the same key ID to multiple gitsu profiles.

Thanks @matsuyoshi30, I've just added the flag to the README (as in the program usage). I think the usage is reasonably self-explanatory for any users of GPG, but let me know if there's any other specific instructions/context you feel should be added.
One thing worth considering is that any manually set signing keys will be removed from the active git configuration scope (local or global) when switching to a non-GPG enabled profile. I can imagine a potentially tricky scenario when an existing user switches profile and expects a manually set key ID to be preserved, but gitsu will remove it. I personally think this is okay, as I don't think using the same signing key for several git users is a very common usecase. Another workaround to support this would be adding the same key ID to multiple gitsu profiles.

One thing worth considering is that any manually set signing keys will be removed from the active git configuration scope (local or global) when switching to a non-GPG enabled profile. I can imagine a potentially tricky scenario when an existing user switches profile and expects a manually set key ID to be preserved, but gitsu will remove it. I personally think this is okay, as I don't think using the same signing key for several git users is a very common usecase. Another workaround to support this would be adding the same key ID to multiple gitsu profiles.

I agree. When users switch to git user which doesn't have GPG key, I think signing key should be removed. If  users would like to use the same key ID for different users, they should set the some key ID to multiple gitsu profiles.
Sorry for the delay again and thank you for your great contribution. I really appreciate it!

One thing worth considering is that any manually set signing keys will be removed from the active git configuration scope (local or global) when switching to a non-GPG enabled profile. I can imagine a potentially tricky scenario when an existing user switches profile and expects a manually set key ID to be preserved, but gitsu will remove it. I personally think this is okay, as I don't think using the same signing key for several git users is a very common usecase. Another workaround to support this would be adding the same key ID to multiple gitsu profiles.

I agree. When users switch to git user which doesn't have GPG key, I think signing key should be removed. If  users would like to use the same key ID for different users, they should set the some key ID to multiple gitsu profiles.
Sorry for the delay again and thank you for your great contribution. I really appreciate it!


chore: remove husky and lint-staged

Migrates Husky 4 to 8 to resolve pnpm/pnpm#4790. PNPM doesn't seem to play nice with a husky + lint-staged mix on my device.

@privatenumber, that works too. Not a big fan of lint-staged either since it slows IDE commits without much feedback. I've adjusted the PR accordingly.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Recommended Change for WebProxy

Added a recommended change for the WebProxy type

Hi @SidharthNabar, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Sidharth Nabar). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Thanks @SidharthNabar


fix!: force through a rebuild on vercel

I don't have access to the CD branch on Vercel, but i need to force a rebuild to try to get new events from the calendars up. (Women in Tech event tomorrow evening and Nov 14th)

thx! hopefully this triggers a build and fetches new events from the calendars


Rate limiting

Hey there!
Still on a trip?
I was just wondering about the techniques I could use to avoid rate limiting. ie: proxying  requests
I have been looking at the streamlink doc and read it was possible to use a specifc configuration file and pass several options through this config file.
I've tried but it didn't work for me, do you have any hints?
Thanks

Hey there!
Still on a trip?
I was just wondering about the techniques I could use to avoid rate limiting. ie: proxying  requests
I have been looking at the streamlink doc and read it was possible to use a specifc configuration file and pass several options through this config file.
I've tried but it didn't work for me, do you have any hints?
Thanks

Hello there,
Yes I'm still abroad for work, I shall check the config documentation when I can.

Just thought about it now. On my code there's an extension called "Flask-Limiter". This can permit, using the remote IP of the end-user, to fix to each IP a certain number of accesses possible. If this limit is reached, it goes onto rate limit until the next minute.

That's exactly what I have disabled on the app side since in our case everything incoming goes masqueraded through the app firewall. Only app fw IP visible to the app.
But i'm interested in knowing how the limits work
#@limiter.limit("20/minute")
#@limiter.limit("1/second")
I assume the first line allows a single IP to establish 20 connections per minute total with a rate of max 1 per second?
Please correct if I'm wrong.

That's exactly what I have disabled on the app side since in our case everything incoming goes masqueraded through the app firewall. Only app fw IP visible to the app.
But i'm interested in knowing how the limits work #@limiter.limit("20/minute") #@limiter.limit("1/second") I assume the first line allows a single IP to establish 20 connections per minute total with a rate of max 1 per second? Please correct if I'm wrong.

You are right. Limiter will rate limit users to 1 request / second and up to 20 requests per minute.


Support for keymap (langmap)

When keymap is turned on, it is not working in lightspeed

P.S. I do not know, but maybe root of this issue is the same to #137

P.S. Thanks for a great project. I used Sneak and EasyMotion years ago. Lightspeed perfectly combines the speed and convenience of Sneak and fast transition to long distances in the presence of a large number of matches of EasyMotion

Used text is:
Сегодня, я вижу, особенно грустен твой взгляд,
И руки особенно тонки, колени обняв.
Послушай: далеко, далеко, на озере Чад
Изысканный бродит жираф.

Options:
keymap=russian-jcukenmac

In Sneak this works, but I had a hard time understanding that part of the code, I will make another attempt sometime. (PR-s are welcome too.)

Note: check leap.nvim, if you haven't already, keymap support is implemented there. It cannot be copy-pasted to Lightspeed though, because of the jump-to-unique-characters feature.


Object storage package version update

In this PR:

Bumped object storage dependency versions to 1.0.0

/azp run


Windows installer + Portable version

Provide a portable version of the software and a setup installer (x86/x64), based on Inno Setup program.

I was just about to open an Issue for that. You could also offer a portable zip version without installer (I would prefer that)

@dieterhatnkleinen Thanks for your comment. I have edited the issue ;)

Any idea when it will be ready? I'd be glad to try it out

@dieterhatnkleinen The pre-release will be delivered soon, may be next month. I want to implement the most features as possible before releasing a first version, this allows me to see where bugs are and the optimisations to do. You can star the repo on Github if you want to stay up to date. Be patient, thanks for your support ;-)

is it dead?

@dieterhatnkleinen No. I was in vacation the last two weeks, so I didn't work on the project. The dev will restart this week and an alpha version will be published when the "Message snippet" issue will be coded. Sorry for the wait :-)

@dieterhatnkleinen I have published the alpha release: https://github.com/xavierfoucrier/gmail-notifier/releases/tag/v1.0-alpha. Thanks for your feedback! ;-)

Installer is coded and under testing.


Force finishing activity team.uptech.motionviews/.ui.MainActivity

I am using same sample app, I just added one LaunchActivity and in this activity I have only a start button nothing else, onclick I am starting MainActivity of sample app. 2-3 times if I navigate between these two activities(doing operations like adding text in MainActivity and increase the size). The app is crashing.
team.uptech.motionviews W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (720x17777, max=8192x8192)
Complete logcat:
12-14 11:45:20.450 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:22.440 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:23.940 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:25.770 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:30.000 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:35.250 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:45:38.030 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:46:02.370 22047-22047/team.uptech.motionviews W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-14 11:46:27.480 15995-15995/? W/Conv2QueryExtension: Conv2Query not enabled due to current app [team.uptech.motionviews] not in whitelist
12-14 11:46:36.370 22047-22056/team.uptech.motionviews A/libc: Fatal signal 11 (SIGSEGV) at 0x00000006 (code=1), thread 22056 (FinalizerDaemon)
12-14 11:46:36.370 22047-22054/team.uptech.motionviews A/libc: Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 22054 (Compiler)
12-14 11:46:37.030 478-22215/? W/ActivityManager:   Force finishing activity team.uptech.motionviews/.ui.MainActivity
12-14 11:46:37.100 478-543/? W/InputDispatcher: channel '223e24c8 team.uptech.motionviews/team.uptech.motionviews.ui.LaunchActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
12-14 11:46:37.100 478-543/? E/InputDispatcher: channel '223e24c8 team.uptech.motionviews/team.uptech.motionviews.ui.LaunchActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
12-14 11:46:37.120 478-4184/? W/InputDispatcher: Attempted to unregister already unregistered input channel '223e24c8 team.uptech.motionviews/team.uptech.motionviews.ui.LaunchActivity (server)'
12-14 11:46:37.280 22219-22219/team.uptech.motionviews E/IMGSRV: :0: PVRDRMOpen: TP3, ret = 50

@ghanatep seems like it's not the bug of the library


Lang error

I'm getting this error in the suggestion(s) section.
Lang::messages.standard.error_message.alphabets(xxx)

Hello @emresasi,
Can you please share the exact scenario when you are facing this issue?

After including it in my project that I am currently developing, after running php artisan db:audit and selecting the standard, I select the db I want to look at and this problem appears.

Which versions of PHP, Laravel, and DB Auditor are you currently using?

PHP 8.3.3-1
laravel 10
DB Auditor latest

@emresasi - As per my analysis of this issue. You are using another language in your .env other than "EN", if this is the case than i suggest you can also generate the PR for another language. Path of the language folder - "src/Lang/en/"

I don't believe it, so I'm sorry I bothered you.


GitHub CI test

This adds a new workflow for GitHub to run the model and request specs.
In order to keep this fast by reducing the dependencies required, the tests are configured to use the 'async' (in-process thread pool) adapter rather than redis, and the requests specs mock Keycloak. Elasticsearch and the antivirus services also aren’t required.

This is currently failing because the GitHub setup-ruby action doesn’t yet support 2.5.7: https://github.com/actions/setup-ruby/issues/36 😞


Switch to Material Design Lite

Drop Bootstrap and switch to Material Design Lite. Will make it look more modern and more app-like.

Use this PR to get typeahead functionality: https://github.com/google/material-design-lite/pull/5061

Or just pick Vuematerial


Generate docs for packages like Passport

I would like to know how to generate docs for packages like Passport, where controllers is loaded via composer?
Since I can't edit this without changing core files of Passport.
Thanks

Ah, I'm not sure how that can be done. This package is only set up to handle routes created by your application. Maybe you can use the append/prepend functionality to achieve what you want?

https://github.com/mpociot/laravel-apidoc-generator#automatically-add-markdown-to-the-beginning-or-end-of-the-documentation


Mega Menu Header

https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?node-id=496-6550&t=DLRVkL9fwo9gSd31-0

Based on our discussion with Keith - going by what is in production now on the site and not the search icon etc..
It looks like this


add docs about formatter

This PR also changed the order of "syntax" section and "plugins" section.

Great. Thank you!


only show abandon zone button to zone admins

Fixes #606.
Changes in this pull request:

only show the Abandon zone button to zone admins (members of the group that owns the zone and super users)
note: support users don't have the ability to change zones so shouldn't see the button
renamed isGroupMember function to canAccessGroup that applies to zone admins, support users and super users. This is used to determine if the group name should be linked to in the Zones table.
added isZoneAdmin function that applies to zone admins and super users. This is used to to determine if the Abandon zone button is visible.

Updates
I removed the Abandon zone button from the Zones tab
Benefits:

Removes the need to check the zone members for every zone admin group to determine whether the Abandon zone button should be visible.
Frees up space in the table

Moved the Abandon Zone button into the Manage Zone tab in the Zone Detail page
Benefits:

Makes sense to put it here since this is the only places where changes to the zone itself take place

Allow support users and ACL users to view the ACL rules (without the create and update buttons)
Benefits:

This was restricted to zone admins, support users and super users previously, with no restrictions on the create and update buttons. Now allows ACL users to see their rules without the ability to edit.

Expectations by user type:
It should be noted all of these expectations are supported by the API, the portal has lagged behind in correctly reflecting what users can and can't do.

Super users:

Zones table: can see links to zone admin group
Manage Records tab: can see Sync Zone button
Manage Zone tab: can see Abandon Zone button and related modal
ACL rules table: can see ACL rules table, Create Rule button and Update buttons on existing rules

Zone admin:

Zones table: can see links to zone admin group
Manage Records tab: can see Sync Zone button
Manage Zone tab: can see Abandon Zone button and related modal
ACL rules table: can see ACL rules table, Create Rule button and Update buttons on existing rules

Support admin:

Zones table: can see links to zone admin group
Manage Records tab: cannot see Sync Zone button
Manage Zone tab: cannot see Abandon Zone button and related modal
ACL rules table: can see ACL rules table, cannot see Create Rule button and Update buttons on existing rules

User with ACL-only zone access:

Zones table: cannot see links to zone admin group
Manage Records tab: cannot see Sync Zone button
Manage Zone tab: cannot see Abandon Zone button and related modal
ACL rules table: can see ACL rules table, cannot see Create Rule button and Update buttons on existing rules

updated my explanations of changes https://github.com/vinyldns/vinyldns/pull/616#issuecomment-491160689


Skip to save unused tensor in dynamic_k_matching function

Skip to save unused tensor in dynamic_k_matching function for saving memory usage
Actually, I didn't profile the memory usage of this function after modifying code.

@developer0hye Thank you for your contribution. This modification looks good to me.


Project profile and review process extension

We are essentially extending models
Goals:
Extend the project profile with more sections to capture theme
Extend the review process to accept additional inputs for those sections, but primarily to capture a discrete yes/no
The inputs will only be applied once review is verified

Further priorities to note include:
Extend the current auth check to use auth api and including a proper signup/signin
Retaining user data


Add support for environment variables

Hi,
What do you think about adding support for environment variables ?
I was inspired by your code in Stouts.wsgi: https://github.com/Stouts/Stouts.wsgi/blob/develop/templates/upstart-uwsgi.conf.j2#L13-L15

Cool, Thank you!

Just started reviewing :) :octocat: Sent from GH.


Remove references to Microsoft.DotNet.InternalAbstractions

Microsoft.DotNet.InternalAbstractions was refactored and renamed as part of 1.1 to Microsoft.DotNet.PlatformAbstractions. We should update our code to no longer reference this package:
https://github.com/aspnet/Scaffolding/search?utf8=✓&q=Microsoft.DotNet.InternalAbstractions&type=

This should be fixed with #460