python37Packages.elementpath: 2.1.3 -> 2.1.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.elementpath is: "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
meta.homepage for python37Packages.elementpath is: "https://github.com/sissaschool/elementpath"
meta.changelog for python37Packages.elementpath is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.1.4 with grep in /nix/store/4kjqn2wfsvy0ji4prxv8nv6crzi4cz9i-python3.7-elementpath-2.1.4

directory tree listing: https://gist.github.com/7c32b9846422b51a7fc336c4a96d3966

du listing: https://gist.github.com/05c34e4635240beff6cdf7a5089a39a3

Rebuild report (if merged into master) (click to expand)

64 total rebuild path(s)

16 package rebuild(s)

16 x86_64-linux rebuild(s)
16 i686-linux rebuild(s)
16 x86_64-darwin rebuild(s)
16 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
matrix-synapse
python37Packages.elementpath
python37Packages.fints
python37Packages.pysaml2
python37Packages.sepaxml
python37Packages.xmlschema
python38Packages.elementpath
python38Packages.fints
python38Packages.pysaml2
python38Packages.sepaxml
python38Packages.xmlschema
python39Packages.elementpath
python39Packages.fints
python39Packages.pysaml2
python39Packages.sepaxml
python39Packages.xmlschema

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4kjqn2wfsvy0ji4prxv8nv6crzi4cz9i-python3.7-elementpath-2.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.elementpath https://github.com/r-ryantm/nixpkgs/archive/7a0e4d56100963ceff7028311124bf1a1012e440.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4kjqn2wfsvy0ji4prxv8nv6crzi4cz9i-python3.7-elementpath-2.1.4
ls -la /nix/store/4kjqn2wfsvy0ji4prxv8nv6crzi4cz9i-python3.7-elementpath-2.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

16 packages built:

matrix-synapse
python37Packages.elementpath
python37Packages.fints
python37Packages.pysaml2
python37Packages.sepaxml
python37Packages.xmlschema
python38Packages.elementpath
python38Packages.fints
python38Packages.pysaml2
python38Packages.sepaxml
python38Packages.xmlschema
python39Packages.elementpath
python39Packages.fints
python39Packages.pysaml2
python39Packages.sepaxml
python39Packages.xmlschema

Maintainer pings
cc @jonringer for testing.

Result of nixpkgs-review pr 112996 at 7a0e4d56 run on aarch64-linux 1

16 packages built:

matrix-synapse
python37Packages.elementpath
python37Packages.fints
python37Packages.pysaml2
python37Packages.sepaxml
python37Packages.xmlschema
python38Packages.elementpath
python38Packages.fints
python38Packages.pysaml2
python38Packages.sepaxml
python38Packages.xmlschema
python39Packages.elementpath
python39Packages.fints
python39Packages.pysaml2
python39Packages.sepaxml
python39Packages.xmlschema


event enums: Rename to conform with oasis-core

This came up in https://github.com/oasisprotocol/oasis-indexer/pull/246/files#r1048033749
Unlike the indexer, oasis-core does not have an enum of all event types. Instead, events are represented in a nested struct that is used as a union type. So to represent a Transfer event, for example, oasis-core use an object like Event { Staking: { Transfer: { ... } } }. There's no explicit enumeration/names for event types. The indexer, OTOH, needs an enum so that clients can somehow say "give me only events of type X".
Enums were named somewhat arbitrarily. They were named after the last element of the "path" in the above composite object. In addition, the first element of the path (in practice, the originating tendermint app) was saved as a separate backend column in the DB, but it only ever makes sense to expose both backend and type at the same time, or neither.
This PR changes the enum value scheme as follows:

backend and type are merged into a single field, simplifying handling and understanding
JSON/CBOR names of fields are used, rather than Go-internal struct field names
When the "path" from the top-level Event to the leaf event struct has more than two elements, all elements are included in the enum name (e.g. staking.escrow.take)

(non-blocking) We don't foresee searching by backend?

I can't think of a use case, no. And if we need to for some niche reason, we can still do prefix matching on type.


Add files via upload

Added locShared.setRunningStateLocationService(true);  above await locShared.Run(_cts.Token); fixed the iOS app .

1st pull request... Uploaded to root folder.   Just 1 line updated.   Edited the file too.  So the dup is not needed.
regards,
Steve
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, January 23, 2021 4:27 PM, Sergio Hernandez<EMAIL_ADDRESS>wrote:

@shernandezp commented on this pull request.

Am I wrong or the iOSLocationService.cs file is duplicated?

—

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or unsubscribe.[https://github.com/notifications/beacon/AAHEJM2SOJT6R6NRCX3RV5DS3NEMFA5CNFSM4WQARS22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEJB72CA.gif]

1st pull request... Uploaded to root folder.   Just 1 line updated.   Edited the file too.  So the dup is not needed.
regards,
Steve
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, January 23, 2021 4:27 PM, Sergio Hernandez<EMAIL_ADDRESS>wrote:

@shernandezp commented on this pull request.

Am I wrong or the iOSLocationService.cs file is duplicated?

—

You are receiving this because you authored the thread.

Reply to this email directly, view it on GitHub, or unsubscribe.[https://github.com/notifications/beacon/AAHEJM2SOJT6R6NRCX3RV5DS3NEMFA5CNFSM4WQARS22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEJB72CA.gif]


Let us decide which profile is the default

Please let us decide which is the default profile which we want to use when VSCode start. The last used profile is not always became the default for next start.
Or provide an option for make the default profile empty.
Maybe VSCode can figure out by file types, etc... and ask me to select if can't decide

this really bothers me too. hug...
also, should be able to cover default settings by custom ones.
ez to realize this feature.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Webapp not loading

I'm getting the following error message when I try to open the webapp link:

Back up now (server had run out of storage for an unrelated reason), thanks @eleanormurray for letting us know!


Support ^U

If I make a typo in my password and press Ctrl+U, it would be nice if it erased my entire password (like in a regular readline session).
It seems like Ctrl+H (backspace) is supported already, but when typing my password "blindly" I often don't realize where the typo is, so it's simpler to start over.

Good catch! :+1: If anyone if willing to make a PR for that I'll review it.


Apply SIGHUP Pause/Resume-enforcing "gate" to package fuse

Much like jrpcfs, package fuse is the top-most entrypoint for
proxyfsd and, as such, bears the responsibility to ensure it
follows the convention that, once paused, no traffic to the
layer below it (package fs in this case) will receive any
requests... and that this protection continues until having
completed the resume phase.

I've created this PR branched off of 1.7.1 as a proposed hotfix to resolve the NFS-only rsync CHO failures. Once we nail down reproduction steps on stock 1.7.1, I'd like to try those steps against this PR to verify the fix.

Leaving this branch alive so as to easily find the commit that is a candidate for a 1.7.1 "hotfix".


Error on startup : error while loading shared libraries: libwatcher-c.so.0: cannot open shared object file

What happened?
I tried rebuilding a docker image this morning, i get this error when starting it : frankenphp: error while loading shared libraries: libwatcher-c.so.0: cannot open shared object file: No such file or directory
It's using a builder to add souin, following the instructions from api platform's docs ( https://api-platform.com/docs/main/core/performance/ ) :
FROM dunglas/frankenphp:builder-php8.3 AS builder
COPY --from=caddy:builder /usr/bin/xcaddy /usr/bin/xcaddy

RUN apt-get update && apt-get install --no-install-recommends -y git

ENV CGO_ENABLED=1 XCADDY_SETCAP=1 XCADDY_GO_BUILD_FLAGS="-ldflags \"-w -s -extldflags '-Wl,-z,stack-size=0x80000'\""
RUN xcaddy build \
    --output /usr/local/bin/frankenphp \
    --with github.com/dunglas/frankenphp=./ \
    --with github.com/dunglas/frankenphp/caddy=./caddy/ \
    --with github.com/dunglas/mercure/caddy \
    --with github.com/dunglas/vulcain/caddy \
    --with github.com/dunglas/caddy-cbrotli \
    --with github.com/darkweak/souin/plugins/caddy \
    --with github.com/darkweak/storages/otter/caddy

FROM dunglas/frankenphp:1.2.5-php8.3 AS frankenphp_upstream
COPY --from=builder --link /usr/local/bin/frankenphp /usr/local/bin/frankenphp

[...]

An update from caddy:builder maybe?
Build Type
Docker (Debian Bookworm)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Not relevant AFAIK - and can't include it since the container doesn't start anyway.

Relevant log output
No response

The same exact Dockerfile produced a working image yesterday and i can't pinpoint which component got updated here...

It seems like adding COPY --from=builder --link /usr/local/lib/libwatcher* /usr/local/lib does the trick. I'm still not sure where the change comes from though.

It's because we released version 1.3. Be sure to use the same version for both the builder image and the final image.
Changing FROM dunglas/frankenphp:1.2.5-php8.3 AS frankenphp_upstream to FROM dunglas/frankenphp:php8.3 AS frankenphp_upstream should fix the issue.

hadn't noticed version 1.3 this morning, thanks!


Clarify how to work on remote-only Gerrit projects

After reading the README.md it's still unclear to me whether it's possible to review / vote on Gerrit changes whose project I have not cloned to a local Git repository (and thus have also not configured them in IntelliJ).
The REDAME.md says "By default, you will only see changes to Git repositories that are configured in the current project of your IntelliJ IDE". Ok, but how do I configure the non-default case then?
Whatever I tried, when selecting a change in the Gerrit view for which I have no local project set up, I get the "No repository found for Gerrit project" error. But why is that even required if all I want is to vote on a change and submit it?
@uwolfer Could you please clarify on that?

Looking a bit deeper into it, it seems odd that getRepositoryForGerritProject() returns an Optional<GitRepository>, but on the other hand writes an error if no repository is found. Shouldn't the caller of getRepositoryForGerritProject() decide whether the Optional<GitRepository> is actually mandatory in its context, and only then write an error at the caller level?

This is related to #76. It is not possible to view diffs of non-checked-out projects. You can only view it in list an execute some actions against it.
I'll clarify this in README.

Ah, thanks, #76 is indeed related. But in my case, I would be even fine with not being able to see the diff. I just want to be able to vote on a change and submit it. That should be much easier to implement that allowing to really review the change by displaying the diff.

I think voting is already possible without checking it out?

To be honest, I did not try after getting the "No repository found for Gerrit project" error in the UI. Maybe voting would still be accessible in the UI, though. I need to check.


ARTEMIS-5101 Deprecate default codec two-way algorithm

Throughout the years, the standard mechanism for storing passwords has evolved. In the beginning, passwords were stored in plaintext. Developers are now encouraged to leverage adaptive one-way functions to store a password. Using a two-way function by default for storing passwords without a warning could lead users to a false sense of security.

LGTM


Button commit/rollback active after a SELECT statemnte

Hello,
when i execute select on DB2 tables the transactions count increase and buttons commit/rollback are active.
In version 4 this didn't happen.
Version of software 5.0.4.
Thank you for patience,
Federico

Yes, because generally select  may produce changes (by executing functions/triggers).


need to press submit twice

stop this from happening on the 2nd form page

On my phone it is fine. Just one press.
On my laptop Firefox is needs twice.
Maybe it's not ready to submit? My laptop is slow and low on memory due to running the frontend and the backend.


guest has not initialized the display (yet) kubevirt windows vm

Hi Team,
We are following this doc https://kubevirt.io/2022/KubeVirt-installing_Microsoft_Windows_11_from_an_iso.html to configure a windows VM in kubevirt, but not able to get inside the VM as its showing "guest has not initialised the display (yet).
Platform - AWS EKS
% kubectl get pods
NAME                              READY   STATUS    RESTARTS   AGE
virt-launcher-vmi-windows-5bhlt   2/2     Running   0          25m
% kubectl get vmi -A
NAMESPACE   NAME          AGE     PHASE     IP               NODENAME                                      READY
default     vmi-windows   25m     Running   <IP_ADDRESS>    ip-100-64-84-165.eu-west-1.compute.internal   True
kubevirt    xxxvm         7d15h   Running   <IP_ADDRESS>   ip-100-64-84-165.eu-west-1.compute.internal   True

I am guessing you are trying to use VNC to access the machine? Would console show anything?

Hey @xpivarc, I will explain you our architecture, so we are using kubevirt in our eks cluster that is we are using EC2 VM as our host. In this case we are only using QEMU as we don't have any KVM.

Then you are using emulation mode.
How many minutes did you wait for the screen to appear?
Emulation mode is magnitudes slower than KVM.
On Wednesday, July 31, 2024, bhat39a @.***> wrote:

Hey @xpivarc, I will explain you our architecture, so we are using
kubevirt in our eks cluster that is we are using EC2 VM as our host. In
this case we are only using QEMU as we don't have any KVM.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.<
https://ci3.googleusercontent.com/meips/ADKq_NanHZ84F4cTDtvAy1iHAwgh9LEIJashW5yvO-iQTQJ3iYnH_ft55t5_VKo7U7dGr0sz1bBRxQ7GIuDOOjEleSGhJWCG9wtPribXmzkR59Yg01kDhuY32WJ6r6guEFdl3xW88R2SHFuCXSbm13Zrz_a8rAJMsgauamYJYkwfDL3YJ6F3zVusilEu9lBi-pZmkU-cXattmkRvwoQiyfbtY21ZaVGbh3LjPaYjodmA6V4sml3G5YM0Jm8=s0-d-e1-ft#https://github.com/notifications/beacon/AAAUMAAFSZ572OPGF6RBIGDZPEJKXA5CNFSM6AAAAABLV7EPUKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUGYOBRG.gif>Message
ID: @.***>

Hello @fabiand yes we are using software emulation, that is we are just using QEMU. Almost 18hours have passed its still showing the same page and the same process are showing in the pod containers, i wonder if anything is happening or not?
bash-5.1$ ps -ef
UID          PID    PPID  C STIME TTY          TIME CMD
qemu           1       0  0 Jul31 ?        00:00:00 /usr/bin/virt-launcher-monitor --qemu-timeout 256s --name vmi-windows --uid f0eb9f8d-291f-404d-8f75-108cb2201369 --namespace default --kubevirt-
qemu          12       1  0 Jul31 ?        00:00:20 /usr/bin/virt-launcher --qemu-timeout 256s --name vmi-windows --uid f0eb9f8d-291f-404d-8f75-108cb2201369 --namespace default --kubevirt-share-di
qemu          23      12  0 Jul31 ?        00:00:01 /usr/sbin/virtqemud -f /var/run/libvirt/virtqemud.conf
qemu          24      12  0 Jul31 ?        00:00:00 /usr/sbin/virtlogd -f /etc/libvirt/virtlogd.conf
qemu          88       1  0 Jul31 ?        00:00:00 /usr/bin/swtpm socket --ctrl type=unixio,path=/var/run/libvirt/qemu/run/swtpm/1-default_vmi-windows-swtpm.sock,mode=0600 --tpmstate dir=/var/run
qemu          90       1 99 Jul31 ?        1-06:46:21 /usr/libexec/qemu-kvm -name guest=default_vmi-windows,debug-threads=on -S -object {"qom-type":"secret","id":"masterKey0","format":"raw","file"
qemu         160       0  0 07:49 pts/0    00:00:00 bash
qemu         167     160  0 07:49 pts/0    00:00:00 ps -ef
bash-5.1$
bash-5.1$ cat /proc/90/cmdline
/usr/libexec/qemu-kvm-nameguest=default_vmi-windows,debug-threads=on-S-object{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/run/kubevirt-private/libvirt/qemu/lib/domain-1-default_vmi-windows/master-key.aes"}-blockdev{"driver":"file","filename":"/usr/share/OVMF/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}-blockdev{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}-blockdev{"driver":"file","filename":"/var/run/kubevirt-private/libvirt/qemu/nvram/vmi-windows_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}-blockdev{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}-machinepc-q35-rhel9.4.0,usb=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,hpet=off,acpi=on-acceltcg-cpuEPYC,acpi=on,ss=on,monitor=on,hypervisor=on,erms=on,mpx=on,pcommit=on,clwb=on,umip=on,pku=on,vaes=on,la57=on,rdpid=on,pks=on,fsrm=on,fzrm=on,fsrs=on,fsrc=on,3dnowext=on,3dnow=on,xsaveerptr=on,wbnoinvd=on,npt=on,vgif=on,svme-addr-chk=on,vme=off,xsavec=off,fxsr-opt=off,misalignsse=off,osvw=off,topoext=off,nrip-save=off,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff-globaldriver=cfi.pflash01,property=secure,value=on-msize=4194304k-object{"qom-type":"memory-backend-ram","id":"pc.ram","size":4294967296}-overcommitmem-lock=off-smp4,sockets=1,dies=1,clusters=1,cores=4,threads=1-object{"qom-type":"iothread","id":"iothread1"}-uuid5d307ca9-b3ef-428c-8861-06e72d69f223-smbiostype=1,manufacturer=KubeVirt,product=None,uuid=5d307ca9-b3ef-428c-8861-06e72d69f223,family=KubeVirt-no-user-config-nodefaults-chardevsocket,id=charmonitor,fd=20,server=on,wait=off-monchardev=charmonitor,id=monitor,mode=control-rtcbase=utc,driftfix=slew-globalkvm-pit.lost_tick_policy=delay-no-shutdown-bootstrict=on-device{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}-device{"driver":"pcie-pci-bridge","id":"pci.2","bus":"pci.1","addr":"0x0"}-device{"driver":"pcie-root-port","port":17,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x1"}-device{"driver":"pcie-root-port","port":18,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x2"}-device{"driver":"pcie-root-port","port":19,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x3"}-device{"driver":"pcie-root-port","port":20,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x4"}-device{"driver":"pcie-root-port","port":21,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x5"}-device{"driver":"pcie-root-port","port":22,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x6"}-device{"driver":"pcie-root-port","port":23,"chassis":9,"id":"pci.9","bus":"pcie.0","addr":"0x2.0x7"}-device{"driver":"virtio-scsi-pci-non-transitional","id":"scsi0","bus":"pci.6","addr":"0x0"}-device{"driver":"virtio-serial-pci-non-transitional","id":"virtio-serial0","bus":"pci.7","addr":"0x0"}-blockdev{"driver":"file","filename":"/var/run/kubevirt-private/vmi-disks/pvcdisk/disk.img","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":true,"no-flush":false}}-blockdev{"node-name":"libvirt-2-format","read-only":false,"discard":"unmap","cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}-device{"driver":"ide-hd","bus":"ide.0","drive":"libvirt-2-format","id":"ua-pvcdisk","bootindex":1,"write-cache":"on","werror":"stop","rerror":"stop"}-blockdev{"driver":"file","filename":"/var/run/kubevirt-private/vmi-disks/winiso/disk.img","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":true,"no-flush":false}}-blockdev{"node-name":"libvirt-1-format","read-only":true,"cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}-device{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-1-format","id":"ua-winiso","write-cache":"on","werror":"stop","rerror":"stop"}-netdev{"type":"tap","fd":"21","id":"hostua-default"}-device{"driver":"e1000","netdev":"hostua-default","id":"ua-default","mac":"96:31:4e:e8:87:b9","bus":"pci.2","addr":"0x1","romfile":""}-add-fdset=0,fd=19,opaque=serial0-log-chardevsocket,id=charserial0,fd=17,server=on,wait=off,logfile=/dev/fdset/0,logappend=on-device{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}-chardevsocket,id=charchannel0,fd=18,server=on,wait=off-device{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}-chardevsocket,id=chrtpm,path=/var/run/libvirt/qemu/run/swtpm/1-default_vmi-windows-swtpm.sock-tpmdevemulator,id=tpm-tpm0,chardev=chrtpm-device{"driver":"tpm-tis","tpmdev":"tpm-tpm0","id":"tpm0"}-audiodev{"id":"audio1","driver":"none"}-vncvnc=unix:/var/run/kubevirt-private/f0eb9f8d-291f-404d-8f75-108cb2201369/virt-vnc,audiodev=audio1-device{"driver":"VGA","id":"video0","vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}-globalICH9-LPC.noreboot=off-watchdog-actionreset-device{"driver":"virtio-balloon-pci-non-transitional","id":"balloon0","free-page-reporting":true,"bus":"pci.8","addr":"0x0"}-sandboxon,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny-msgtimestamp=onbash-5.1$

We have seen problems with Windowns when using emulation in the past. Few have been even fixed I believe. Unfortunately Kubevirt is not at fault and we can't help. You will need to file a bug with qemu.

Hello @xpivarc any inputs on how to ensure on what the processes are doing in the vm pods, i can see them still there just not sure what's happening or if anything is progressing. Do we have any use case of kubevirt with windows vm on ec2 ( not bare metal) or it is not supported at all?

Hello @xpivarc any inputs on how to check on what the processes are doing in the vm pods, i can see them still there just not sure what's happening or if anything is progressing.

@andreabolognani anything you can think of?

Do we have any use case of kubevirt with windows vm on ec2 ( not bare metal) or it is not supported at all?

Emulation on its own is slow and we do not really support it. It is for testing/demo.

any inputs on how to check on what the processes are doing in the vm pods, i can see them still there just not sure what's happening or if anything is progressing.

I don't have any clever ideas I'm afraid, so I'll just suggest the obvious thing: check whether the QEMU process is consuming CPU time. Additional tools that are virtualization-aware and might thus provide deeper insight: virt-top, virsh vcpuinfo and virsh domstats.
In all those cases though, I'm not sure you'd be able to tell apart a guest OS that's stuck due to some issue with the emulated hardware from one that's simply idle.
18 hours is way too long for graphical output to show up anyway, even when using emulation. I don't think it's a matter of waiting things out: you can probably assume that the VM configuration is simply broken. I suggest poking around at various bits (CPU model, for example) and see whether that improves things. Start with as minimal an hardware configuration as you can, then build out from there.
Good luck.


Get conversations in the order they were last updated?

Thank you for creating this repo and sample app! It's helpful to see a new one built around Conversations 2.0.0.
In an existing application we're trying to get a list of a user's conversations and then display the most recent ones along with each conversation's most recent message. A problem we're running into is scaling this as a user belongs to 100+ conversations. We have to get that entire list, sort by the time it was last updated, then get the last message for each one of those conversations . It looks like you're doing something similar in convoReducer.js with case ActionType.LIST_CONVERSATIONS:.
We could delete a ton of client code, reduce app complexity, and (we believe) dramatically speed things up if we could have an orderBy parameter when fetching a list of a user's conversations. That way we could have them pre-sorted by date, then fetch the most recent message for the first 20 that we need to display.
Does this exist or will it exist? The docs for the Conversations API are a bit vague on what arguments Client.getSubscribedConversations accepts.
getSubscribedConversations(args?: any): Promise<Paginator<Conversation>>
Get the current list of all the subscribed conversations.

Parameters
Optional args: any

Hey @nring
First of all, apologies for not answering earlier. This issue has somehow slipped through the cracks. In previous versions of the Conversations SDK, something like that was indeed possible, however, due to a multitude of internal refactors, the args argument can no longer be used for filtering. This looks like a bug and we're currently looking into fixing it. I will leave this issue up for now.

@nring hi, there was a bit of confusion about this.
First, the sorting of the conversations has been removed from the SDK because it is largely a client-side-specific action - after you fetch the subscribed conversations you are free to sort them however you want.
Second, we are working on a better interface at the moment, that would allow to query more flexibly and with a lower overhead - we will see if sorting would be a good thing to add there (it will be present in the sort of predicate filtering, e.g. return only unread channels, or only recently updated channels - then this would also include appropriate sorting).


Exposition format: Specify how to deal with UTF-8 BOMs

As discussed in the original issue (https://github.com/prometheus/prometheus/issues/1679), some MS Windows client seem to insist to add UTF-8 BOM, despite contrary recommendations:
"A protocol SHOULD forbid use of U+FEFF as a signature for those textual protocol elements that the protocol mandates to be always UTF-8, the signature function being totally useless in those cases."
(https://tools.ietf.org/html/rfc3629)
It seemed consensus to filter out those BOMs. A PR is dangling for quite some time: https://github.com/prometheus/common/pull/42 . It is only missing a test and the removal of logging.
However, we need to specify the official handling of the protocol. Something like: "BOMs are not part of the protocol. Creators MUST not add BOMs but consumers MAY filter them out instead of error out."

Without wanting to bikeshed, principle of resilience would mean consumers SHOULD filter them out.

The current decision is that we won't be allowing this, as OpenMetrics forbids it.


feat: use webpki as rustls roots on non-desktop platforms

Automatically choose to use rustls-webpki if the platform doesn't support rustls-native-certs (ie: non-desktop platforms).
Main motivation is rustls-native-certs is not supported by all platforms, and therefore HTTPs calls will error with 0 native roots
Partially fixes: #1399

Looks like CI is checking for librespot-core with --no-default-features, but we need at least either rustls-native-roots or rustls-webpki-roots to be enabled, never both (upstream dependency fails to build if we specify both). And since there's interdependency from other crates to core and is also checked in CI, looks like fixing CI is not simple

Question is whether this should be exposed as feature flags or can we just quietly default to rustls-webpki on other platforms that rustls-native-certs don't support (other than Windows/Linux/Mac), Doing it the feature flags way makes librespot-core not compilable with --no-default-features, so apart from just breaking CI, it's also a breaking change downstream. Is there any value for allowing users on desktop platforms to choose rustls-webpki?

I don't recall anyone asking for it, a feature is likely not necessary.

Sounds reasonable, now it's implemented as target-specific feature only

Thanks, if you would write a CHANGELOG message then we can merge this.


Fail to create container

After starting the master and worker, it is reported by master that "container created failed". And in the worker's log, it is reported that there is an error at line 133 in "container.py".  The log is "ERROR container[133] 'disk' ".

To fix the bug, we should add some codes in "guest_control.py" at about line 28 like this:
user_info["data"]["groupinfo"]["disk"] = 2000

Done


Fix all in round logic

This fixes the case where two players go all in sometime before the river. Now it will keep moving the round forward in a loop if there is no actions to be taken in a given round.

Refactored the table into a test and a mod file, since it was getting large as well.


Cannot identify image file 'cut_mask.png' error

Hi guys,
Everything was set up correctly but I got the following error when making a photo from my phone.

Any ideas on this one?
Thank you!

same issue Here.

I found a hack . Just paste bold line  lines below . For me this worked for low size images
with open('cut_mask.png', 'wb') as f:
f.write(res.content)
shutil.copyfileobj(res.raw, f)
**im1 = Image.open(r'cut_received.jpg')
im1.save(r'cut_mask.png')**

logging.info(' > opening mask...')
mask = Image.open('cut_mask.png').convert("L")

I tried it. It doesn't work. What do your mean by "for low size images"? Do I need to resize an image to a small size when capturing it


Remove non-dynamic constraint on plugin versions.

Fixes #14704
This is already merged in master from request #16046. However, we would also like this included in the next 6.x release if at all possible. There was also a related update to release notes for 7.0 here: https://github.com/gradle/gradle/commit/748a816d779965621313a6b705b9b534a3ed59a0
Signed-off-by: Ståle Undheim<EMAIL_ADDRESS>Context
This updates so that we can use version ranges in the plugin block. We have several internal plugins that we use, which we also make patch changes to that will benefit all our projects, without them having to do anything but rebuild. We have over 40 projects that depend on our core plugins, and it would be a rather large task to have to update all of them to use the new version of the plugins on each path change.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass sanity check: ./gradlew sanityCheck
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

This was merged back to the release6x line in https://github.com/gradle/gradle/commit/a09be0d10d012c798940d28e99692f24decb800d


Add a timeout before automatically releasing lift

It's been discovered that a race condition can cause a deadlock when lift session usage is combined with lane mutexes.
If a robot locks the lane mutexes for the lift and begins a lift session but then a replan occurs before the robot enters the lift, there is a narrow window where the robot might automatically drop the lift session. If another robot is also summoning the lift simultaneously then that other robot could manage to take over the lift session. However the first robot will still be holding the lane mutexes. At that point, one of the robots will be waiting to lock the lift session while the other will be waiting to lock the lane mutex.
The automatic dropping of the lift session happens because of a blunt force mechanism that tries to identify when a robot is holding onto a lift session without really needing it. When a replan occurs while the robot is outside of the lift, it creates a very narrow window where that blunt force mechanism will pick up a false positive and trigger the release. This PR attempts to soften that mechanism by requiring a 30 second window to pass before doing the release automatically. This ensures that a situation where a quick replan occurs will not trigger the mechanism.
Remaining Issues / Rationale:

In theory if something else blocks up the fleet adapter for more than 30 seconds, then the issue can still happen. However, if the fleet adapter is blocked up for 30 seconds then something much worse than this is happening and the system will likely need intervention anyway.
We do not generally rely on this automatic release mechanism to end lift sessions. There are two other finer tuned mechanisms for knowing when a lift should be released, and the mechanism affected by this PR is only meant to be a desperate last resort. Adding a 30 second delay to mitigate harmful unintended effects seems like a reasonable measure before resorting to this mechanism.
I've considered whether we can introduce a blunt force mechanism to catch and resolve this deadlock situation in general, but every approach I can think of carries a risk of introducing other deadlocks due to race conditions in other situations.

This case will be taken into serious consideration as we work on the next generation traffic + resource locking mechanisms.

is this PR good to merge to main?

Thanks for the reminder @cwrx777


Protected namespaces

What problem does this PR solve?
#414
What is changed and how does it work?
Check List
Tests

Unit test
E2E test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #661 into master will decrease coverage by 0.08%.
The diff coverage is 48.43%.

@@            Coverage Diff             @@
##           master     #661      +/-   ##
==========================================
- Coverage   55.78%   55.69%   -0.09%
==========================================
  Files          68       67       -1
  Lines        4383     4417      +34
==========================================
+ Hits         2445     2460      +15
- Misses       1768     1782      +14
- Partials      170      175       +5

Impacted Files
Coverage Δ

controllers/networkchaos/ipset/ipset.go
37.14% <0.00%> (ø)

pkg/store/experiment/experiment.go
32.20% <0.00%> (-6.58%)
:arrow_down:

pkg/utils/chaosdaemon.go
51.21% <0.00%> (ø)

pkg/utils/grpc.go
0.00% <0.00%> (ø)

pkg/webhook/inject/inject.go
73.49% <0.00%> (-0.68%)
:arrow_down:

controllers/twophase/types.go
54.20% <40.00%> (-1.68%)
:arrow_down:

controllers/networkchaos/netem/types.go
47.27% <50.00%> (ø)

pkg/utils/selector.go
53.15% <66.66%> (+0.91%)
:arrow_up:

controllers/podchaos/containerkill/types.go
64.38% <100.00%> (ø)

controllers/timechaos/types.go
61.44% <100.00%> (ø)

... and 1 more

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 699993e...f4ac05a. Read the comment docs.

The code looks good. Just curious about the design, do we only need one regex instead of a list of regex?

@yeya24 I think one regular expression is enough.
For example, you want chaos tasks to be performed on a namespace with either the DEV- prefix or the TEST- suffix. The allowedNamespaces  can be set to TEST-\w+|\w+-DEV.

/merge

/merge


License?

Hello, I was hoping you could add a license to this repo. Having no license chosen usually defaults to retaining all rights (http://choosealicense.com/no-license/). Thanks

Hello,
added license of the repo this project is based on (https://github.com/jasny/jquery.smartbanner).

Thanks.
On Sat, Jan 10, 2015 at 3:52 AM, Vitaly Glibin<EMAIL_ADDRESS>wrote:

Hello,
added license of the repo this project is based on (
https://github.com/jasny/jquery.smartbanner).
—
Reply to this email directly or view it on GitHub
https://github.com/glibin/smart-app-banner/issues/7#issuecomment-69450286
.


Add proper type checking in the Messages.parse method

Describe the bug
When a uint8_t invalid type code which is not in TaggedUnion::Tag tries to get static casted into TaggedUnion::Tag, a segfault occurs.
Expected behavior
We could define a data structure which associates all tag uint8_t values with TaggedUnion::Tag enum values; if a uint8_t value isn't in the data structure, we return an error instead of trying to do a static_cast. We'll need to figure out what kind of data structure to use.

I'm unable to reproduce this bug in the actual deployment setup (firmware + Python backend server, configured so that the backend server sends messages with unrecognized type code value 1 to the firmware). @rohanpurohit Can you reproduce the issue via a segfaulting Catch2 test (I remember we discussed the scenario which triggers this, and I think there's commented-out code for it in PR #269) and check whether the applying the changes from the feature/messages-type-checking branch causes the test to run successfully?

Yes @ethanjli  the changes from feature/messages-type-checking fixes the issue.
the segfaulting Catch2 tests :

type code value greater than descriptor array > 7.
type code value 1
github actions

Great, I'll create a PR tomorrow. I'm surprised the first one is segfaulting, I thought the parse method specifically checked for that case - I'll take a closer look at what's going on

Oh ya I think this was the edge case where it's equal to the array size.
https://github.com/pez-globo/pufferfish-software/blob/develop/firmware/ventilator-controller-stm32/Core/Inc/Pufferfish/Protocols/Messages.tpp#L62
should be
if (type >= pb_protobuf_descriptors.size()) {

Right, I remember discussing that but I don't think the fix has been made yet. Maybe that was the final GIthub Issues item I had lost and forgotten about hahaha. I'll include that fix in this PR.


bind mdpPlaceholder as '@'

Hi, I'd like to let my placeholder dynamic, so I can define it on my controller, like so:
$scope.customPlaceholder = 'My Date';

<mdp-date-picker
        mdp-placeholder="{{customPlaceholder}}">

Is there a way to bind it?
As it's not a $scope, but an attribute only, I believe attributes.$observe will help to make it happen.
Cheers

I've edited the template
from:
'<input type="{{ ::type }}" aria-label="' + placeholder + '" placeholder="' + placeholder + '"' + (openOnClick ? ' ng-click="showPicker($event)" ' : '') + ' />' +

to
'<input type="{{ ::type }}" aria-label="{{placeholder}}" placeholder="{{placeholder}}"' + (openOnClick ? ' ng-click="showPicker($event)" ' : '') + ' />' +

It works just fine, but I found a bug on Angular Material while try to bind placeholder. It gets duplicate if you don't set md-no-float

Seems that the problem with duplicate placeholder from Angular Material has been solved at 1.1.0-rc.5 version. I tested here and works fine. If you want I could provide a pull request changing the mdpDatePicker and updating angular material dependency at bower.json

Hi @marcomafessolli, thanks for that.
That would be awesome.

@leocaseiro I've created a pull request. #127

Thanks for that @marcomafessolli.
I think that should be merged with the next Material release. But yeah, I can definitely use for the time being.


Refactor the reask messages component

Not particularly important but we should probably refactor the reask messages logic at some point. It's a bit convoluted at the moment and this makes it challenging to add new client support

This has been addressed in the latest main branch so closing this issue


License?

I would love to extend this. Can you please add a LICENSE file?

I'm interested too. Please add a LICENSE.

make a PR and I'll take a look!


Probems configuring stats groups

When starting up the server with -bind.stats-groups=system,view,tasks the exporter tries to export duplicate metrics, which causes errors.  Appears to be because the -bind.stats-groups switch only appends to the existing default rather than overwriting it.
Sep 26 08:49:34 dns01.dmacc.net bind_exporter[2982]: {"level":"info","msg":"Configured to collect statistics \"server,view,server,view,tasks\"","source":"bind_exporter.go:449","time":"2016-09-26T08:48:41-05:00"}

[root@dns01 ~]# curl http://<IP_ADDRESS>:9119/metrics
An error has occurred during metrics collection:

74 error(s) occurred:
* collected metric bind_boot_time_seconds gauge:<value:1.474896667e+09 >  was collected before with the same name and label values
* collected metric bind_config_time_seconds gauge:<value:1.474897059e+09 >  was collected before with the same name and label values
* collected metric bind_incoming_queries_total label:<name:"type" value:"A" > counter:<value:3 >  was collected before with the same name and label values
* collected metric bind_incoming_queries_total label:<name:"type" value:"SOA" > counter:<value:52 >  was collected before with the same name and label values
* collected metric bind_incoming_requests_total label:<name:"opcode" value:"QUERY" > counter:<value:55 >  was collected before with the same name and label values
* collected metric bind_incoming_requests_total label:<name:"opcode" value:"IQUERY" > counter:<value:0 >  was collected before with the same name and label values
* collected metric bind_incoming_requests_total label:<name:"opcode" value:"STATUS" > counter:<value:0 >  was collected before with the same name and label values

Thanks for the report. The append-only behavior is the (undesired) side-effect of allowing the flag to be repeated. I'll fxi the behavior and remote the option to repeat the flag (for the sake of simplicity).


Kernel dies for SVMRetriever with Huggingface Embeddings Model

System Info
langchain==0.0.245
python==3.9
Who can help?
@hw
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[X] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
I am trying to use HuggingFace Embeddings model for SVMRetriever method as follows:
from langchain.embeddings import HuggingFaceEmbeddings
from langchain.retrievers import SVMRetriever

embedding = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
retriever = SVMRetriever.from_texts(["foo", "bar", "world", "hello", "foo bar"],
                                                           embedding,
                                                           k=4, relevancy_threshold=.25)

Kernel looks busy for a while and then dies when I run above snippet.
Expected behavior
I expect to run this smoothly and upon completion, should be able to retrieve similar documents as:
result = retriever.get_relevant_documents("foo")

Hello @dosu-beta, it works with HuggingFaceHubEmbeddings, where I can specify task=feature-extraction as follows:
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_my_key"
from langchain.embeddings import HuggingFaceHubEmbeddings

embedding = HuggingFaceHubEmbeddings(repo_id="sentence-transformers/all-mpnet-base-v2", task="feature-extraction")
retriever = SVMRetriever.from_texts(["foo", "bar", "world", "hello", "foo bar"],
                                                           embedding,
                                                           k=4, relevancy_threshold=.25)
result = retriever.get_relevant_documents("foo")

But I don't want to use HuggingFaceHub API. I want to download the model locally and then run with HuggingFaceEmbeddings. But HuggingFaceEmbeddings doesn't accept  task=feature-extraction as a parameter. Is there any alternate way?

@dosu-bot Can you give example script to pass above doc_embeddings to SVMRetriever method? And how to retrieve similar documents?

@dosu-bot It doesn't work. It's giving the error as follows-
---> 25         return np.array(list(executor.map(embeddings.embed_query, contexts)))
     26
     27

AttributeError: 'list' object has no attribute 'embed_query'

Can someone look into this issue?

@AjinkyaBankar Are you able to run the code as Python script instead of within a Jupyter notebook? The error message you get from a local script will likely be more helpful than what is getting swallowed by the kernel.
Sometimes kernels can die silently from out of memory issues too (local models can be resource intensive)

@devstein Sorry, I can't run the script as a local python code instead of a Jupyter notebook.

@AjinkyaBankar Ok that helps narrow down the issue. Can you use sentence transformer models without LangChain in a GPU environment? My guess is this is unrelated to LangChain and would recommend looking at Hugging face issues or ask their community

@devstein I ran the following lines in Google Colab notebook (without Langchain):
!pip install sentence_transformers

from sentence_transformers import SentenceTransformer
model = SentenceTransformer('all-mpnet-base-v2')

#Sentences we want to encode. Example:
sentence = ['This framework generates embeddings for each input sentence']

#Sentences are encoded by calling model.encode()
embedding = model.encode(sentence)

print(embedding)

It executes with GPU and CPU without any issues. I also tried with other paraphrase-MiniLM-L6-v2 model. My kernel freezing for SVMRetriever shouldn't be related to Hugging Face?

@AjinkyaBankar Got it. Not sure what the issue is then 🤷♂  The only suspect lines in SVMRetriever code is this coroutine code

Thanks @devstein for taking time to help debug the issue. Can someone else from Langchain check this issue?

I faced the same issue using HuggingFaceEmbeddings and SVMRetriever. In my case the issue was with create_index in svm.py
The Threadpool executer was somehow failing on executor.map(embeddings.embed_query, contexts) so I made my own without a Threadpool ( I know I know, yet to implement multithreading on it)
But the idea is to build index yourself so you can just do
embeddings = HuggingFaceEmbeddings()

def create_svm_index(docs, embeddings):
     result = []
     for doc in docs:
          result.append(embeddings.embed_query(doc))
     return np.array(result)

index = create_svm_index(docs, embeddings)
svm_retriever = SVMRetriever(index = index, texts = docs, embeddings = embeddings)

#instead of:
#svm_retriever = SVMRetriever.from_texts(texts=docs, embeddings=embeddings)


Issue with postUploadPackage

I can't for the life of me figure out how to actually use postUploadPackage (or the api endpoint itself in any shape) via a nodeJS process.
I've tried variations such as:
`
let data = fs.createReadStream("HelloWorld.1.0.0.nupkg");

orchestrator.v2.odata.postUploadPackage(
      data,
      (err, response) => {
        if (err) {
          console.log(err);
        }
        console.log(response);
      }
    );`

as well as:
`
let data = fs.readFileSync("HelloWorld.1.0.0.nupkg");

orchestrator.v2.odata.postUploadPackage(
      data,
      (err, response) => {
        if (err) {
          console.log(err);
        }
        console.log(response);
      }
    );`
`

and even
    const form = new FormData();
    form.append("file", fs.readFileSync("HelloWorld.1.0.0.nupkg"));

    orchestrator.v2.odata.postUploadPackage(
       form,
      (err, response) => {
        if (err) {
          console.log(err);
        }
        console.log(response);
      }
    );`

but none of them work - I get the same error back from the api every time:
message: 'The package file is required.',
errorCode: 1677,
I've been banging my head against this for about 6 hours now and I just can't get it to work. Sorry for writing here but I'm utterly confused.

Hello, and sorry for taking so long to notice your report.
You are correct, the library does not implement postUploadPackage properly as Orchestrator expects an incoming form-data payload while this library enforces JSON payloads for now (which is the relevant encoding for the vast majority of the available API)
I will leave this issue open as it is definitely an improvement opportunity.

Hello, and sorry for taking so long to notice your report.
You are correct, the library does not implement postUploadPackage properly as Orchestrator expects an incoming form-data payload while this library enforces JSON payloads for now (which is the relevant encoding for the vast majority of the available API)
I will leave this issue open as it is definitely an improvement opportunity.


Add Getting Started section README

README Update
Please add a getting started section to README so folks know how to start with this project.

Added Getting Started section in README file.


multi-core

Hi, How to install and run autoGluon in multi-core environment? Please help, thanks!

Please clarify what you mean by multi-core. All modern processors have multiple cores by default.


Report an error if there are two instances of the exact same impl

We need to report an error if the same impl appears twice:
trait Trait { }
struct A { }
impl Trait for A { }
impl Trait for A { }

The current overlap code does not. One simple way to do this is to check the list of all impls in the crate to see if there are duplicates and report an error if so.

There is an existing test for this:
Currently, the overlap code gets invoked with a particular trait impl (TraitImplDecl) along with a list of all crates (DeclProgram):
https://github.com/nikomatsakis/a-mir-formality/blob/3c8f6741d6f41caac44708735d261bc1b1ee8739/src/check/coherence-overlap.rkt#L30
From this we select a list of all impls in any crate...
https://github.com/nikomatsakis/a-mir-formality/blob/3c8f6741d6f41caac44708735d261bc1b1ee8739/src/check/coherence-overlap.rkt#L27
One simple way to do this check is to report an error if TraitImplDecl appears in that list more than once. We could write a metafunction for example that returns a boolean:
(define-metafunction formality-check
  impl-appears-more-than-one : TraitImplDecls_all TraitImplDecl -> boolean

and when add a condition here
https://github.com/nikomatsakis/a-mir-formality/blob/3c8f6741d6f41caac44708735d261bc1b1ee8739/src/check/coherence-overlap.rkt#L26-L30
so that it says something like
  [(where/error (impl _ (TraitId _) where _ _) TraitImplDecl)
   (where/error [TraitImplDecl_all ...] (all-impls-of-trait DeclProgram TraitId))
   (where #f (impl-appears-more-than-once [TraitImplDecl_all ...] TraitImplDecl)) ;; <<---- this is the new condition!
   (✅-ImplsEqualOrNotOverlap DeclProgram TraitImplDecl TraitImplDecl_all) ...
   -------------------------------
   (✅-OverlapRules DeclProgram TraitImplDecl)]

The impl-appears-more-than-once can be done really simply, with just two clauses. The first would try to match TraitImplDecls_all with something like [_ ... TraitImplDecl _ ... TraitImplDecl _ ...] -- if that match succeeds, then TraitImplDecl appears more than once.

(@spastorino is going to look into this)


Update: active-directory definition file

Which category is the feature part of?

[ ] Carbon Black Response
[ ] Threat Hunter
[x] Definition File
[ ] Code Feature - impacts all products
[ ] New product support

Use Cases
Proposal
Update the contents of the active-directory definition file
Additional context
Add any other context or screenshots about the feature request here.

Myself and @alafrenz42 will take this one.


When building, qunit test fails - PhantomJS timed out

Description
Issues building application on Debian Jessie
Expected / Actual behavior
When building, qunit test fails - PhantomJS timed out. I have no idea why this is timing out. At first I thought this was due to me using pbuilder inside a chroot, but it fails using debuild too. This is during the run of grunt release.
Reproduction steps

Build either using the debian files below and debuild or using the main steps in the readme of this repository

Environment details (operating system, etc.)

Debian 8, debuild.
Debian files

Comments, logs, screenshots, etc.
Using debuild
Running "qunit:all" (qunit) task
Testing http://localhost:8000/test/tests.html
>> PhantomJS timed out, possibly due to a missing QUnit start() call.
Warning: 1/1 assertions failed (0ms) Use --force to continue.

Aborted due to warnings.

Building from this repository (manually):
Running "qunit:all" (qunit) task
Testing http://localhost:8000/test/tests.html
>> PhantomJS timed out, possibly due to:
>> - QUnit is not loaded correctly.
>> - A missing QUnit start() call.
>> - Or, a misconfiguration of this task.
Warning: 1/1 assertions failed (0ms) Use --force to continue.

Aborted due to warnings.

Are all npm and bower dependencies installed correctly?
Running grunt test --debug may give you some informations why PhantomJS failed, but sometimes it's not logging everything. You can also try to run grunt connect:test:keepalive and open http://localhost:8000/test/tests.html in your webbrowser to see what's happening, although it's a different env then.

i had the same problem.
simply doing bower install ember and selecting version 2.4.1 by hand worked for me (you have to run grunt releaseagain)

selecting version 2.4.1 by hand

???
I don't see any version conflicts.
cd livestreamer-twitch-gui
rm -rf node_modules src/vendor
npm cache clean
bower cache clean
sudo npm install -g grunt-cli bower
npm install

This should work without conflicts.
Even if there were conflicts, bower should resolve these by installing the versions defined in the bower.json file by passing --config.interactive=false to the install param (see here). This does of course only work when executing npm install, but the config parameter could be added to the bower.json file instead, so it'll work with a simple bower install call, too.

I am running ubuntu 15.10 and I too have encountered this issue.
I may be abusing permissions? In order to install ember I had to execute:
sudo bower --allow-root install ember and that did not work. running the commands @bastimeyer recommended brings me back to the issue in the bug report (although I did need to use sudo for the npm install step though, idk if this is an issue)

sudo bower

Why are you running bower as root? Bower is meant to be run as normal user, because it installs the packages locally. Never run bower as root...
Npm is different, because by using the -g parameter, packages can be installed globally. Usually, these are packages with additional CLI stuff (like bower or grunt-cli), so they can be accessed globally from $PATH (/usr/bin or /usr/local/bin) instead of $PWD/node_modules/package_name/bin.
See npm help install, npm help folders and npm help cache.
Running npm as root also uses a different cache folder in /root/.npm (since it's using $HOME/.npm as default configuration), so write permission issues should not occur. If you're having those issues, then you did something wrong earlier or your config is messed up.
Run this to fix your permission issues: sudo chown -R USERNAME:GROUPNAME ~/.npm ~/.cache/bower


Report: The top X populated cities in the world where X is provided

A report which need to contain the following columns

Name.
Country.
District.
Population.

provide a Report on The top number populated cities in the world where the number  is provided by the user,
e.g. provide a report on the top 5 cities in the world.


German Translation and Fix for a Problem with PrettyEnum and i18n

Hi! I've added a German translation and a fix for a type error caused by using gettext_lazy translated strings as verbose_name :-)

Thanks! These changes look good. I'm attempting to get write access to this repository again so I can merge these changes in.

Thank you for maintaining django-enumchoicefield! :)

Version 1.0.1 has been released with your changes: https://pypi.org/project/django-enumchoicefield/1.0.1/


Truncate long plan labels and refer to "print-plans"

Properly treat graphviz compiled with the default 16K label max
Closes #2710.
Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build


Icon

Type
No response
Info
Here are some icons some are for web page. Feel free to keep or discard.
Bible Website
Icon(s)

Hey, the icon is too low in quality to be added. Feel free to re-open if you have a better version.


GetAppListEntriesAsync raises STATUS_ACCESS_VIOLATION

Describe the bug
Invoking Package.Current.GetAppListEntriesAsync() results in STATUS_ACCESS_VIOLATION (0xC0000005).
My knowledge with native debugging is very limited. I have a minidump which can be sent upon request. My email is available form my GitHub profile.
To Reproduce

Create a WPF app and packaging project.
Invoke and await Package.Current.GetAppListEntriesAsync()
Package and install app
Run app

Expected behavior
No error is raised.
  Is there anything else you had to do such as maybe with your configuration of the packaging project?

@trympet I tried to repro this, but don't seem to be hitting a crash with your repro steps.  Is there anything else you had to do such as maybe with your configuration of the packaging project?

Hi. I have been unable to reproduce the issue consistently. In the managed debugger, I have also observed COMExceptions with hresult 0x80070490 (Element not found) in the managed debugger. I don't know if this is related.
I am encountering similar issues with the TileUpdater.Update() method also throwing 0xC0000005 Access violation. Would you like a memory dump?
Trace:
wpnapps.dll	_lambda_2619649b95572be61c6cb2e74b069ec2_::_lambda_invoker_cdecl_	0x0000000000000000
wpnapps.dll	wil::details::static_lazy_WpnApiTelemetry_::get	0x0000000000000032
wpnapps.dll	wil::TraceLoggingProvider::IsEnabled_	0x0000000000000015
wpnapps.dll	WpnApiTelemetry::Update_Windows::Internal::NativeString_Windows::Internal::CoTaskMemPolicy_unsigned short_ _ &,long &_	0x0000000000000036
wpnapps.dll	Windows::UI::Notifications::TileUpdater::Update	0x000000000000003C
wpnapps.dll	Windows::UI::Notifications::TileUpdater::Update	0x0000000000000000
coreclr.dll	JIT_GetSharedGCThreadStaticBase	0x0000000000000070
KERNELBASE.dll	QueueUserAPC	0x0000000000000090
coreclr.dll	ThreadpoolMgr::ChangeTimerQueueTimer	0x0000000000000080
coreclr.dll	InlinedCallFrame::`vftable'	0x0000000000000000
coreclr.dll	CallDescrWorkerInternal	0x0000000000000083
coreclr.dll	MethodDescCallSite::CallTargetWorker	0x0000000000000268
coreclr.dll	ThreadpoolMgr::FlushQueueOfTimerInfos	0x0000000000000060
coreclr.dll	AppDomainTimerCallback_Worker

Hi. I have been unable to reproduce the issue consistently. In the managed debugger, I have also observed COMExceptions with hresult 0x80070490 (Element not found) in the managed debugger. I don't know if this is related.
I am encountering similar issues with the TileUpdater.Update() method also throwing 0xC0000005 Access violation. Would you like a memory dump?
Trace:
wpnapps.dll	_lambda_2619649b95572be61c6cb2e74b069ec2_::_lambda_invoker_cdecl_	0x0000000000000000
wpnapps.dll	wil::details::static_lazy_WpnApiTelemetry_::get	0x0000000000000032
wpnapps.dll	wil::TraceLoggingProvider::IsEnabled_	0x0000000000000015
wpnapps.dll	WpnApiTelemetry::Update_Windows::Internal::NativeString_Windows::Internal::CoTaskMemPolicy_unsigned short_ _ &,long &_	0x0000000000000036
wpnapps.dll	Windows::UI::Notifications::TileUpdater::Update	0x000000000000003C
wpnapps.dll	Windows::UI::Notifications::TileUpdater::Update	0x0000000000000000
coreclr.dll	JIT_GetSharedGCThreadStaticBase	0x0000000000000070
KERNELBASE.dll	QueueUserAPC	0x0000000000000090
coreclr.dll	ThreadpoolMgr::ChangeTimerQueueTimer	0x0000000000000080
coreclr.dll	InlinedCallFrame::`vftable'	0x0000000000000000
coreclr.dll	CallDescrWorkerInternal	0x0000000000000083
coreclr.dll	MethodDescCallSite::CallTargetWorker	0x0000000000000268
coreclr.dll	ThreadpoolMgr::FlushQueueOfTimerInfos	0x0000000000000060
coreclr.dll	AppDomainTimerCallback_Worker

@trympet - can you share a pointer to a repo that demonstrates this bug? We have not been able to recreate.

@trympet - can you share a pointer to a repo that demonstrates this bug? We have not been able to recreate.

@trympet - if you create a memory dump, you can create an issue in Feedback Hub and attach the dump. Then share the link here.

Hello @AdamBraden, sorry for the slow reply.
I created an issue in Feedback Hub with some dumps attached.
I have attempted to replicate the bug, but have been unable to do so in my test env.
However, I am pretty sure this issue is related to the live tile updater; @andrewleader. The entire API is throwing errors left and right. They are all thrown while invoked from an async context. This might be due to the way the tile updater was being instantiated. See example below.
TileUpdater tileUpdater = null;
while (tileUpdater is null)
{
    try
    {
        tileUpdater = TileUpdateManager.CreateTileUpdaterForApplication();
        tileUpdater.EnableNotificationQueue(false);
    }
    catch (COMException e) when (e.HResult == unchecked((int)RPC_E_WRONG_THREAD))
    {
        // Attempt to create tile updater again and again until new (internal) singleton
        // is dispatched.
    }
}

Some of the errors I have observed from the TileUpdater API include:
Error 1
Exception message: The notification platform is unavailable. (0x803E0105)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at ABI.Windows.UI.Notifications.ITileUpdater.global::Windows.UI.Notifications.ITileUpdater.Update(TileNotification notification)
   at TileNotification.TileManager.PublishTile(IEnumerable`1 notifications, CancellationToken cancellationToken)

Error 2
Exception message: Insertion failed because database is full (0x87AF000D)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at ABI.Windows.UI.Notifications.ITileUpdater.global::Windows.UI.Notifications.ITileUpdater.EnableNotificationQueue(Boolean enable)
   at TileNotification.TileManager.PublishTile(IEnumerable`1 notifications, CancellationToken cancellationToken)

Error 3
This error had 2 nested exceptions.
Exception type: TargetInvocationException
Exception message: Exception has been thrown by the target of an invocation
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
   at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
   at System.Activator.CreateInstance[T]()
   at WinRT.WeakLazy`1.get_Value()
   at Windows.UI.Notifications.TileNotification.<>c__DisplayClass8_0.<.ctor>b__0()
   at Windows.UI.Notifications.TileNotification..ctor(XmlDocument content)
   at TileNotification.Notification..ctor(ILiveTileData data)
   at TileNotification.TileManager.PublishTile(IEnumerable`1 notifications, CancellationToken cancellationToken)

Inner exception type: TargetInvocationException
Inner exception message: Exception has been thrown by the target of an invocation
Inner exception HResult: -2146232828
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
   at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
   at System.Activator.CreateInstance[T]()
   at WinRT.WeakLazy`1.get_Value()
   at Windows.UI.Notifications.TileNotification._ITileNotificationFactory..ctor()

Nested inner exception type: ArgumentException
Nested inner exception message: Value does not fall within the expected range
Nested inner exception HResult: -2147024809
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at WinRT.BaseActivationFactory..ctor(String typeNamespace, String typeFullName)

Error 4
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Windows.Foundation.Metadata.IApiInformationStatics.global::Windows.Foundation.Metadata.IApiInformationStatics.IsTypePresent(String typeName)
at TileNotification.TileManager.PublishTile(IEnumerable`1 notifications, CancellationToken cancellationToken)

HResult: -2147024809
Error 5
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at Windows.UI.Notifications.TileNotification._ITileNotificationFactory.CreateTileNotification(XmlDocument content)
   at Windows.UI.Notifications.TileNotification.<>c__DisplayClass8_0.<.ctor>b__0()
   at Windows.UI.Notifications.TileNotification..ctor(XmlDocument content)
   at TileNotification.Notification..ctor(ILiveTileData data)
   at TileNotification.TileManager.PublishTile(IEnumerable`1 notifications, CancellationToken cancellationToken)

HResult: -2147417842

There are more errors, but hopefully this is enough to go by. I also have access to minidumps, courtesy of WER.

@trympet if you're getting tile errors like DB full, maybe your PC or VM you're testing on is corrupted? Have you tried the same code on another computer?

@andrewleader none of these stacktraces above (or the dumps in Feedback Hub) are from my machine. I should have prefaced this by stating that the errors are from a Microsoft Store application with a significant user base.
I have not been able to recreate the issue on my computer. However, several thousands users, running various builds of Windows, are encountering the same issues. I have access to dumps and minidumps from Windows Error Reporting via Partner Center, and managed stacktraces from Elasticsearch.
Below is a screenshot illustrating the impact of the issue:

@andrewleader If you'd like, you can send me a message on the email address on my Github profile, and I'll send over some managed and unmanaged dumps captured by WER, along with symbols.

I should also add that the Database is full errors began cropping up after explicitly assigning a value to the TileNotification.ExpirationTime. In prior versions, when the property was not set, Database is full was not among the exceptions that were thrown.

Hmm interesting! I'll reach out to your email. Thank you so much for sharing all of this info, super helpful! Btw, if this tile notifications issue is the extent of your issue, you can close this issue (since it's not a CsWinRT bug but instead a Windows Platform bug and we track those internally). Look for an email from me in ~10 mins!


[Popup] - Tooltip on a progress bar get blurred as the animation goes on.

Steps to Reproduce

Create a progress bar with a tooltip.

$('.progress').progress();

Move the mouse on the progress bar.
Observe the appearence of the tooltip.

Expected
Show a text balloon normally.
Result
The text in the tooltip get blurred as the animation of the progress bar goes on. This happens on Chrome (using Chrome Version 55.0.2883.87).
Testcase
http://jsfiddle.net/kgn5atvu/1/
It may be an issuse of the webbrowser itself but I'm not sure. Maybe this can be solved by modifying the implementation of progress or popup.

Here is the activity.

Here is the activity, again.


Setting validation drop list from one sheet to another

Description
I want to set up data validation drop list from one sheet to another, but property Formula1 in DataValidation struct not fills correctly in method SetSqrefDropList, so drop down list doesn't work properly.
For example:
dvRange := excelize.NewDataValidation(true)
dvRange.ShowErrorMessage = true
dvRange.Sqref = "A1:A1"
dvRange.SetSqrefDropList("Sheet2!A$1$:A$3$" true)
f.AddDataValidation("Sheet1", dvRange);

Possibly, instead of just setting variable
datavalidation.go:157 : dd.Formula1 = sqref
we may use special formatting
datavalidation.go:157 : dd.Formula1 = fmt.Sprintf("<formula1>%s</formula1>", sqref)
After this changes drop down list works normally.

Output of go version:
go version go1.16.4 linux/amd64

Excelize version or commit ID:
v2.4.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):
OS: Linux 5.11.0-34-generic #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Office: LibreOffice Calc <IP_ADDRESS>

Thanks for your issue, there is an incorrect absolute cell reference expression in your code, please use"Sheet2!$A$1:$A$3" instead of "Sheet2!A$1$:A$3$", it will work correctly.

Excuse me, I've made a mistake in this example, because I'm calculating adresses with excelize.CoordinatesToCellName and wrote there by memory :)
So, problem still exists..

Could you provide a sample code to reproduce this issue?

This issue seems duplate with #979, it has been fixed in commit cf9fbaf,  please try to use the master branch code.

This issue seems duplicate with #986, it has been fixed in commit cf9fbaf,  please try to use the master branch code.

This issue seems duplicate with #986, it has been fixed in commit 43a057b,  please try to use the master branch code.

Ok, sorry for duplicate, thank you!


Update section 4.4.2 Comment Markup Notation for HTML

the version number of the Metamath program should be removed

the list of markup-features should be updated according to the current output for help language in metamath.exe. The following items are missing:
< HTML >...< /HTML >" - do not convert "<" and ">" enclosed
in these tags.  All other markup processing is normal.
(These tags may be replaced by a space in the HTML
output, so don't use them in the middle of a word.)
(Contributed by < author >, < date >.)
(Revised by < author >, < date >.)
(Proof shortened by < author >, < date >.)
The above dates are checked by VERIFY MARKUP.
(New usage is discouraged.)
(Proof modification is discouraged.)
See HELP SHOW DISCOURAGED and HELP SET DISCOURAGEMENT.
Note:  Comments may not be nested.

by the way: VERIFY MARKUP,  SHOW DISCOURAGED and SET DISCOURAGEMENT are also not mentioned/explained yet!

VERIFY MARKUP, SHOW DISCOURAGED and SET DISCOURAGEMENT are also not mentioned/explained yet!

I have no objections to adding that, but I don't think the book needs to list everything the Metamath program can do.  They can always run "help ..." to see that information.  In set.mm, it will be run automatically.
I've already done a number of related things, so I propose that we close this issue.

I had a look at the changes, they are fine! Therefore, I close this issue.


Angular UI and bootsrap case

I'm starting user bower with wiredep I tried the following:
bower install --save angular-ui bootstrap animate.css
And that's downloading jquery ... so as we know if I'm using bootstrap with angularjs I don't want to use jquery at all, also something strange I'm noticying is that none bootstrap css is being added after runnin wiredep -s index.html
I'm starting user bower with wiredep I tried the following:
bower install --save angular-ui bootstrap animate.css
So we know that when using bootstrap and angular together we don't  want to use jquery, which is being downloaded and added ... Also, something strage is that none bootstrap css is being added when running wiredep -s index.html
This is what my markup looks like:
<!DOCTYPE html>
<html lang="en"></html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <!-- bower:css -->
  <link rel="stylesheet" href="bower_components/animate.css/animate.css" />
  <!-- endbower -->
</head>
<body>
  <!-- bower:js -->
  <script src="bower_components/jquery/dist/jquery.js"></script>
  <script src="bower_components/angular/angular.js"></script>
  <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
  <script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
  <!-- endbower -->
</body>

@diegoaguilar the problem you're describing seems to be an issue for wiredep instead of bower.


Improve functionality available for manipulating status records.

Provide updateStatusRecord function which allows clients to update a status record that is already registered with the task. Provide more versatile removeStatusRecord functions and update clients to use them
Radar-Id: rdar://problem/101864092

@swift-ci please test

@swift-ci please test


SMSI-666: Add new smart signal: Velocity

No strong opinion @makma, I was just treating IP as a single entity (It's not exactly PascalCase as the first letter to be capitalised) But you guys can take a final call (This change makes sense if the previous conventions are of the same property)
I am on It (good point), will rename this to VelocityIntervals.

Pls @soniabhishek, what if there's no velocity info eg for the last 5min but there's for 1 hour? What's the Server API example response format?

In this case @makma count would be 0

null would be present if we are not aggregating the response (suppose the linkedId is not sent by the customer) so the value for distinctLinkedId: null whereas in the other scenario this would be
"distinctIP": {                     "intervals": {                         "5m": 1,                         "1h": 0,                         "24h": 1                     }                 },

null would be present if we are not aggregating the response (suppose the linkedId is not sent by the customer) so the value for distinctLinkedId: null whereas in the other scenario this would be "distinctIP": { "intervals": { "5m": 1, "1h": 0, "24h": 1 } },

Thank you!

Switcing back to draft as implementation is still being tweaked
@soniabhishek switch to back to Ready, when ready again :)

Hi @JuroUhlar, We are planning to move forward with this PR on Tuesday (as per our current plans), let me know If there are any concerns left and you can take a final review or resolve our previous conversations.


Build does not complete

Describe the bug
NPM getting stuck.
To Reproduce

Follow local install steps for Chatbot-UI
using Ubuntu 23.10.1 Mantic LXC in Proxmox 8.1
Node.js 22.11.0 via Voltra

Expected behavior
Chatbot-ui will build and launch to localhost.
Additional context
NPM gets hung up here:
><EMAIL_ADDRESS>dev
> next dev

   ▲ Next.js 14.0.2
   - Local:        http://localhost:3000
   - Environments: .env.local

 ✓ Ready in 2.1s

Sometimes it will progress slightly further but then installs indefinitely. Restarting LXC, re-creating LXC, etc. does not solve the issue.

Same here!

Bump! I got it running on Windows + WSL, but I tried deploying to both Debian and Ubuntu server and it didn't work for me. Having some weird Webpack bug or other similar stuff. Will keep you guys updated if I find a fix

I forgot to install Ollama, that fixed the build bug for me.


Avoid traversing unused model during endpoint discovery setup

When performing setup on our EndpointDiscoveryHandler, we traverse our model to determine if any identifiers are required for performing endpoint discovery. This had previously only been done on operations where all members were required. In new releases, these members may become optional, requiring us to ignore them during setup.
This PR will properly scope model traversal in this case and avoid considering information that isn't relevant to the operation.

Codecov Report

Merging #2169 into develop will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #2169      +/-   ##
===========================================
+ Coverage    98.29%   98.32%   +0.02%
===========================================
  Files           58       58
  Lines        10556    10556
===========================================
+ Hits         10376    10379       +3
+ Misses         180      177       -3

Impacted Files
Coverage Δ

botocore/discovery.py
100.00% <100.00%> (ø)

botocore/credentials.py
98.95% <0.00%> (+0.31%)
:arrow_up:

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 930f416...5dab8fa. Read the comment docs.


Drop rustc-serialize dependency

It has been deprecated: announcement.
Is there any functionality you would need from Serde or another library before this would be possible?

Yes we rely on rust-quire which uses rustc-serialize

Seems to be done in the master now, thank you for reporting!


Fix content type error

Fixes #10
It looks like untappd started returning charset in the content-type header, which broke the content-type check. The fix checks that the content type starts with application/json.

😄

LGTM


Add The Bush School

@Parkerscholes bush.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


Ft restart user rgistration db #158140254

What does this PR do?
Modify the User Registration endpoint to store users in database
Description of Task to be completed?

Use Test Driven Development to create the following endpoints:
POST api/v1/auth/register

How should this be manually tested?

Clone this repository under the ft-Restart-User-Registration-DB-#158140254 branch.

If the branch is deleted you can view the latest commit on the above branch here

cd into the directory where this repository was cloned.

create a virtual environment using the code below
pip install virtualenv
virtualenv venv

install the requirements needed
pip install -r requirements.txt

run the code below to set the environment variables.
Windows
setx APP_CONFIG_NAME development
setx DB_NAME testdb
setx DB_USER <your postgresql user>
setx DB_PASSWORD <your postgresql user's password>
Ensure your user has read and write privilleges
Mac/Linux
export APP_CONFIG_NAME=development
export DB_NAME=testdb
export DB_USER=<your postgresql user>
export DB_PASSWORD=<your postgresql user's password>
Ensure your user has read and write privilleges

run the code below to start the server:
python maintenanceTracker.py

Test the above endpoints using Postman.

The endpoints documentation can be found on the path
api/v1 inside the browser.

To run tests:
nosetests -v ./MaintenanceTrackerAPI/_tests

Screenshot

What are the relevant pivotal tracker stories?
#158140254
Signed-off-by: Dave Mathews<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 125

14 of 14 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.8%) to 78.821%

Files with Coverage Reduction
New Missed Lines
%

MaintenanceTrackerAPI/api/v1/database.py
3
89.23%

Totals

Change from base Build 121:
0.8%

Covered Lines:
361

Relevant Lines:
458

💛  - Coveralls

I like the fact that you detailed everything inclusive of how to tests in various OS. Nice PR


Jeden lub wszystkie skrypty nie działają na Twoim obecnym oprogramowaniu układowym.

Make sure you've ran one of the remap-functions BEFORE you open up a new issue. This is mandatory for the files you need for this issue
Describe your desired behaviour / problem:
What button do you want to remap and what new function should be available?
Attach a picture of your screen, including the buttons beside it (IDs must be readable / shown!):
Drag and drop a picture here and wait for the upload to be finished!
Attach the configurationmanager.res file out of the /backup/buttons folder:
Drag and drop the mentioned file here and wait for the upload to be finished!

support.zip

Invalid request.


Tile Scriptable Object

A tile scriptable is needed in the unity project to avoid unnecessary work with creating custom code per new tile added.

OK so good news bad news
Good news: making a scriptable tile object is easy. It just includes the base model, carbon added, carbon decreased, cost, etc.
Bad news: I have no idea how to implement these scriptable tiles into our grid system.
Overall: I've done a bunch of video research on chessboard and gameboard unity stuff using scriptable objects, and might be able to rewrite some of Aidan's stuff to match it. After the massive wiki and project overall of the fall semester, this will be my #1 focus.


Database reached a seemingly irrecoverable state

Hey,
Since today I am experiencing an issue with my application that uses fjall 1.1.3, in that it can no longer resume operation when starting the application and it fails on decoding one of the UTF-8 strings in the journal as shown by the backtrace below:
thread 'main' panicked at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/marker.rs:126:65:
should be utf-8: Utf8Error { valid_up_to: 26, error_len: Some(1) }
stack backtrace:
   0: rust_begin_unwind
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
   3: core::result::Result<T,E>::expect
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1034:23
   4: <fjall::journal::marker::Marker as lsm_tree::serde::Deserializable>::deserialize
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/marker.rs:126:33
   5: <fjall::journal::reader::JournalShardReader as core::iter::traits::iterator::Iterator>::next
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/reader.rs:46:15
   6: fjall::journal::shard::JournalShard::recover_and_repair
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/shard.rs:101:25
   7: fjall::journal::Journal::recover_memtables
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/mod.rs:44:17
   8: fjall::journal::Journal::recover
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/journal/mod.rs:66:25
   9: fjall::keyspace::Keyspace::find_active_journal
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/keyspace.rs:508:32
  10: fjall::keyspace::Keyspace::recover
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/keyspace.rs:528:13
  11: fjall::keyspace::Keyspace::create_or_recover
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/keyspace.rs:279:13
  12: fjall::keyspace::Keyspace::open
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/keyspace.rs:264:24
  13: fjall::config::Config::open
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fjall-1.1.3/src/config.rs:199:9
  14: my_project::db::Database::open
             at ./src/db.rs:39:24
  15: my_project::main::{{closure}}
             at ./src/main.rs:380:14
  16: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/park.rs:282:63
  17: tokio::runtime::coop::with_budget
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/coop.rs:107:5
  18: tokio::runtime::coop::budget
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/coop.rs:73:5
  19: tokio::runtime::park::CachedParkThread::block_on
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/park.rs:282:31
  20: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/context/blocking.rs:66:9
  21: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/scheduler/multi_thread/mod.rs:87:13
  22: tokio::runtime::context::runtime::enter_runtime
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/context/runtime.rs:65:16
  23: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/scheduler/multi_thread/mod.rs:86:9
  24: tokio::runtime::runtime::Runtime::block_on
             at /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.0/src/runtime/runtime.rs:350:45
  25: my_project::main
             at ./src/main.rs:522:5
  26: core::ops::function::FnOnce::call_once
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Unfortunately, due to a license agreement I have for some of the data used in this database, I cannot share the files, but I would like to debug this myself and I am looking for some pointers on how to approach this since I am not familiar with the underlying disk format used by lsm-tree/fjall. Any tips would be appreciated.

I changed the code at src/journal/marker.rs:126 to show me what bytes it actually failed to parse as UTF-8, so I could then grep what journal files have the same byte occurrence and removing them at least causes the database to reach some state where it does not panic anymore, but I think it would be useful to figure out how it got into this state in the first place so we can prevent this from happening.

Oh wow, thanks for looking into this. I ran workloads with >64K values before, but I think I never recovered them, so I had a false sense of security.

are the values allowed to be longer than 64K? According to the README, the values can be up to 2^32 in length

Yes. I don't recommend large values before 2.0, but yes.

but the code here seems to write out the value length as u16

Yeah that should be 32. lsm-tree supports values up to 2^32. I will add a regression test case, however changing it to u32 would be a format breaking change, so I need to look into how to handle this.

I also think that another issue is that the recovery should always reach some operational state, i.e. it should be panic-free and shouldn't use Result<T, E>, but it should have a way of indicating that something could be amiss with the database in these cases, such that the user can decide to turn that into a panic or simply log it somewhere. Currently, an irrecoverable journal would lead to a denial-of-service, which is not great.

Yeah that should be 32. lsm-tree supports values up to 2^32. I will add a regression test case, however changing it to u32 would be a format breaking change, so I need to look into how to handle this.

Thanks for confirming this! I understand that it would break the format, thus that it would be incompatible with fjall 1.x. Fortunately, I can work around this for now and restructure my database again once fjall 2.x is ready.

I also think that another issue is that the recovery should always reach some operational state, i.e. it should be panic-free and shouldn't use Result<T, E>

I think it should be panic-free yes, however it needs to return a Result, because depending on your consistency requirements, replaying the journal may fail (kind of like https://github.com/facebook/rocksdb/wiki/WAL-Recovery-Modes). In that case, the error variant would be variant that says something like "ConsistencyFailed", and the user could decide to recover with a more lax replay mode. That's WIP however, right now everything gets recovered up until the journal is invalid (which is kTolerateCorruptedTailRecords).

However, for fjall 1.x, it might be an idea to check that the value isn't larger than 64K when inserting data to avoid people from running into this situation. It would probably be better to have insertion fail prematurely, rather than to end up with irrecoverable journal files.

Yeah, my plan was to assert the values are not larger than 64K (they are asserted in lsm-tree to fit in a u32), and update the docs, and then v2 will support values larger than 64K, which plays well with the key-value separation feature that will come with it anyway.

Fortunately, I can work around this for now and restructure my database again once fjall 2.x is ready.

I have pushed a pre-release of v2 now. I don't expect any further breaking changes at this point and will probably release it on Friday (with announcement).
Here's an example for large values:
use fjall::{Config, PartitionCreateOptions};
use nanoid::nanoid;

fn main() -> fjall::Result<()> {
    let keyspace = Config::default().open()?;
    let partition = keyspace.open_partition(
        "default",
        PartitionCreateOptions::default().use_kv_separation(true),
    )?;

    let large_value = "a".repeat(128_000);
    partition.insert(nanoid!(), &large_value)?;

    for kv in partition.iter() {
        let (k, v) = kv?;
        let k = String::from_utf8_lossy(&k);
        println!("{k:?} => <{} bytes>", v.len());
    }
    println!("len: {}", partition.approximate_len());

    Ok(())
}

Thanks for the update! I am slowly working on migrating towards Fjall 2 and I will let you know if I run into any issues again.


Update Compose Navigation snippets to include type safe APIs

What have I done and why
Updated the snippets for Fragments -> Compose navigation migration to include the new type safe APIs introduced in Navigation 2.8.0.
Accompanying docs CL: cl/664965811
Please do not merge as I need to sync the CL and PR submissions once both are approved.

Creating separate PR to merge into latest branch.


sponsorship: Fix alignment of inputs in sponsorship form.

All the inputs of form has 'width: 100%' property but then
also the width of inputs were different because of box-sizing
property. The select input had 'box-sizing: border-box' style
but the others did not, so this commit adds this style to
the other inputs - text type input and the textarea input to
fix the alignments of input.
Adding 'box-sizing: border-box' changes the actual height of
the normal text type input because the default input height
of 20px set by bootstrap now includes padding and border also,
so we add 'height: 30px' style to make its height same as the
select input.
Fixes #19332.

GIFs or screenshots:

This is great, merged, thanks @sahil839!


fix issue #53

Fix issue #53 based on the refactored code after removing redundant data.

fixed a bug in metachunkWS, the condition of whether the field is a userMetaField is wrong.

Please do a rebase to the current dev such that changes by this PR are make obvious

@liuchangshiye please open another pr to clean the pr for better readability. Thanks


rgw: add rgw bucket logging test

Signed-off-by: Enming Zhang<EMAIL_ADDRESS>

@ZVampirEM77 can you rebase? thanks

@yehudasa  OK, I have done it~


Extra space after list item is placing contents in code block

Rendering LLM output (gpt-4o) and I've observed the contents after the header for a numbered list item is getting placed in a code block (See content after 10):

Looking at the raw text and I see that there is an extra space between the Numbered header and the content

As the images states there are 4 spaces after 10 and 3 spaces after all other numbered headers.
When I pasted the raw text to have it rendered and remove the extra space, the text renders without the code block:

Using Markdig v 0.36.2

There is not much we can do. Their Markdown output is invalid CommonMark, as 4 spaces will always result in a code block as per the spec here.


Added my name

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

https://www.loom.com/share/cb528f1637d049bb8770ab0b586e69aa