Torcx doesn't seem to work with systemd-nspawn containers

(This issue popped up during offline discussions with @lucab, so I'll write up here not to forget about it. At the moment for me this issue is not the highest priority.)
Torcx doesn't seem to work well with nspawn containers. Normally torcx wants /etc/torcx/next-profile to be specified for loading a user-defined profile. When the system then reboots, the next profile gets detected, tarball gets unpacked. But in nspawn containers, no matter how many times a container reboots, the next-profile never gets detected. Nothing but the predefined system-wide profile docker works for now. OTOH the next-profile mechanism works fine in a pure virtual machine.
It's also not trivial for me to define system-wide profile, because the docker profile is defined in coreos-overlay, which 3rd-party users won't be able to touch.
See also https://github.com/kinvolk/kube-spawn/issues/105#issuecomment-319769808

Thanks for the report. Can you please check the output of journalctl --boot 0 --identifier /usr/lib64/systemd/system-generators/torcx-generator? Or if missing any other mentions of torcx in the system journal.

I'm closing this, as I just double-checked on current ContainerLinux alpha and defining+applying a custom profile (e.g. to rollback docker) works as expected and override the default profile (with docker 18.02):
$ cat /etc/torcx/next-profile
systemd-nspawn

$ cat /etc/torcx/profiles/systemd-nspawn.json
{
  "kind": "profile-manifest-v0",
  "value": {
    "images": [
      {
        "name": "docker",
        "reference": "1.12"
      }
    ]
  }
}

$ cat /run/metadata/torcx
TORCX_LOWER_PROFILES="vendor"
TORCX_UPPER_PROFILE="systemd"
TORCX_PROFILE_PATH="/run/torcx/profile.json"
TORCX_BINDIR="/run/torcx/bin"
TORCX_UNPACKDIR="/run/torcx/unpack"

$ cat /run/torcx/profile.json
{
  "kind": "profile-manifest-v0",
  "value": {
    "images": [
      {
        "name": "docker",
        "reference": "1.12"
      }
    ]
  }
}

Note: kube-spawn uses the developer_container image, not the regular production images. I am not sure if that can be the source of any oddities.


Copyedits to release header

cc @jtattermusch @veblush

cc @ nicolasnoble

Thanks for the review @jtattermusch. Anything else to do before this is merged?

Test failures are unrelated.


[BUG]

General information

OS:  macOS v:11.2 (20D64)  MacBook Air (M1, 2020)  * Hypervisor: KVM / Hyper-V / hyperkit
Did you run crc setup before starting it (Yes)?
Running CRC on: Laptop

CRC version
# Put `crc version` output here

CRC status
# Put `crc status --log-level debug` output here

DEBU CodeReady Containers version: 1.22.0+6faff76f
DEBU OpenShift version: 4.6.15 (embedded in executable)
DEBU Running 'crc status'
DEBU Checking file: /Users/gtbanfield/.crc/machines/crc/.crc-exist
Machine does not exist. Use 'crc start' to create it

CRC config
# Put `crc config view` output here

./crc config view

consent-telemetry                     : no

Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows

Steps to reproduce

./crc setup

MacBook-Air crc-macos-1.22.0-amd64 % ./crc setup
INFO Checking if running as non-root
INFO Checking if podman remote executable is cached
INFO Checking if admin-helper executable is cached
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if /Users/XXX/.crc/cache/crc_hyperkit_4.6.15.crcbundle exists
INFO Checking minimum RAM requirements
INFO Checking if HyperKit is installed
INFO Setting up virtualization with HyperKit
INFO Using root access: Changing ownership of /Users/XXX/.crc/bin/hyperkit
Password:
INFO Using root access: Setting suid for /Users/XXX/.crc/bin/hyperkit
INFO Checking if crc-driver-hyperkit is installed
INFO Checking file permissions for /etc/hosts
INFO Checking file permissions for /etc/resolver/testing
Setup is complete, you can now run 'crc start' to start the OpenShift cluster

./crc start -p ~/Downloads/pull-secret --log-level debug
EBU CodeReady Containers version: 1.22.0+6faff76f
DEBU OpenShift version: 4.6.15 (embedded in executable)
DEBU Running 'crc start'
DEBU Total memory of system is<PHONE_NUMBER>4 bytes
DEBU No new version available. The latest version is 1.22.0
INFO Checking if running as non-root
INFO Checking if podman remote executable is cached
DEBU Currently podman remote is not supported
INFO Checking if admin-helper executable is cached
DEBU Running '/Users/XXX/.crc/bin/admin-helper-darwin --version'
DEBU Found admin-helper-darwin version 0.0.2
DEBU admin-helper executable already cached
INFO Checking minimum RAM requirements
DEBU Total memory of system is<PHONE_NUMBER>4 bytes
INFO Checking if HyperKit is installed
DEBU Running '/Users/XXX/.crc/bin/hyperkit -v'
DEBU Found hyperkit version v0.20200224-44-gb54460
INFO Checking if crc-driver-hyperkit is installed
DEBU Checking if crc-driver-hyperkit is installed
DEBU Running '/Users/XXX/.crc/bin/crc-driver-hyperkit version'
DEBU Found crc-driver-hyperkit version 0.12.11
INFO Checking file permissions for /etc/hosts
DEBU Checking if /etc/hosts ownership/permissions need to be adjusted after crc upgrade
INFO Checking file permissions for /etc/resolver/testing
DEBU Checking file: /Users/gtbanfield/.crc/machines/crc/.crc-exist
DEBU Cannot load secret from configuration: open /Users/gtbanfield/Downloads/pull-secret: no such file or directory
DEBU Using secret from keyring
INFO Loading bundle: crc_hyperkit_4.6.15.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.6.15...
DEBU Found binary path at /Users/XXX/.crc/bin/crc-driver-hyperkit
DEBU Launching plugin server for driver hyperkit
DEBU Plugin server listening at address <IP_ADDRESS>:51870
DEBU () Calling .GetVersion
DEBU Using API Version 1
DEBU () Calling .SetConfigRaw
DEBU () Calling .GetMachineName
DEBU (crc) Calling .GetMachineName
DEBU (crc) Calling .DriverName
DEBU Running pre-create checks...
DEBU (crc) Calling .PreCreateCheck
DEBU (crc) DBG | time="2021-02-12T16:58:12Z" level=debug msg="exe=/Users/xxx/.crc/bin/crc-driver-hyperkit uid=0"
DEBU (crc) Calling .GetConfigRaw
DEBU Creating machine...
DEBU (crc) Calling .Create
DEBU (crc) DBG | time="2021-02-12T16:58:12Z" level=debug msg="exe=/Users/xxx/.crc/bin/crc-driver-hyperkit uid=0"
DEBU (crc) DBG | time="2021-02-12T16:58:24Z" level=debug msg="exe=/Users/xxx/.crc/bin/crc-driver-hyperkit uid=0"
DEBU (crc) DBG | time="2021-02-12T16:58:24Z" level=debug msg="clean start, hyperkit pid file doesn't exist: /Users/xxx/.crc/machines/crc/hyperkit.pid"
DEBU (crc) DBG | time="2021-02-12T16:58:24Z" level=debug msg="Using hyperkit binary from /Users/xxx/.crc/bin/hyperkit"
DEBU (crc) DBG | time="2021-02-12T16:58:24Z" level=debug msg="Using UUID c3d68012-0208-11ea-9fd7-f2189899ab08"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="Generated MAC e:f0:e3:c7:4f:be"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="Starting with cmdline: BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/vmlinuz-4.18.0-193.41.1.el8_2.x86_64 rhcos.root=crypt_rootfs random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/0"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="Trying to execute /Users/xxx/.crc/bin/hyperkit -A -u -F /Users/xxx/.crc/machines/crc/hyperkit.pid -c 4 -m 9216M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-net -U c3d68012-0208-11ea-9fd7-f2189899ab08 -s 2:0,virtio-blk,file:///Users/xxx/.crc/machines/crc/crc.qcow2,format=qcow -s 3,virtio-sock,guest_cid=3,path=/Users/xxx/.crc/machines/crc -s 4,virtio-rnd -l com1,autopty=/Users/xxx/.crc/machines/crc/tty,log=/Users/xxx/.crc/machines/crc/console-ring -f kexec,/Users/xxx/.crc/cache/crc_hyperkit_4.6.15/vmlinuz-4.18.0-193.41.1.el8_2.x86_64,/Users/xxx/.crc/cache/crc_hyperkit_4.6.15/initramfs-4.18.0-193.41.1.el8_2.x86_64.img,earlyprintk=serial BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/vmlinuz-4.18.0-193.41.1.el8_2.x86_64 rhcos.root=crypt_rootfs random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/0"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="exe=/Users/gtbanfield/.crc/bin/crc-driver-hyperkit uid=0"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="hyperkit pid from json: 4627"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="Searching for e:f0:e3:c7:4f:be in /var/db/dhcpd_leases ..."
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="Found 1 entries in /var/db/dhcpd_leases!"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="dhcp entry: {Name: IPAddress:<IP_ADDRESS> HWAddress:22:65:27:94:98:60 ID:1,22:65:27:94:98:60 Lease:0x6027f7cc}"
DEBU (crc) DBG | time="2021-02-12T16:58:25Z" level=debug msg="error: Temporary Error: could not find an IP address for e:f0:e3:c7:4f:be - sleeping 2s"
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="retry loop 1"
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="exe=/Users/gtbanfield/.crc/bin/crc-driver-hyperkit uid=0"
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="hyperkit pid from json: 4627"
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="hyperkit pid 4627 missing from process table"
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="non-retriable error: hyperkit crashed! command line:\n  hyperkit BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/vmlinuz-4.18.0-193.41.1.el8_2.x86_64 rhcos.root=crypt_rootfs random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/0"
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU (crc) DBG | time="2021-02-12T16:58:27Z" level=debug msg="Closing plugin on server side"
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
Error creating machine: Error creating the VM: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: could not find an IP address for e:f0:e3:c7:4f:be
hyperkit crashed! command line:
hyperkit BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/vmlinuz-4.18.0-193.41.1.el8_2.x86_64 rhcos.root=crypt_rootfs random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/e987d143726ea61316e00306563367d1101d0b18ee608b632894143f3fbde302/0

Expected
Actual
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

ProductName:	macOS
ProductVersion:	11.2
BuildVersion:	20D64

./hyperkit -v
hyperkit: v0.20200224-44-gb54460
Homepage: https://github.com/docker/hyperkit
License: BSD


Mandatory service name

Mostly uninteresting except the changes to get_service_name and the third commit

at least index.rst also needs updating. may want e.g. hello_service or some other foo_service as the name (as opposed to hello_world; c.f. hello world example)

:+1:


Fixed incorrect implementation of Content-Type check in MediaService

1. Why is this change necessary?
https://github.com/shopware/platform/issues/2196
2. What does this change do, exactly?
Changes a incorrect Content-Type check fron $contentType === 'application/json' to strpos( $contentType , 'application/json' ) === 0
3. Describe each step to reproduce the issue or behaviour.
https://github.com/shopware/platform/issues/2196
4. Please link to the relevant issues (if any).
https://github.com/shopware/platform/issues/2196
5. Checklist

[x ] I have written tests and verified that they fail without my change. Not written any tests. But the changes work, I tested it
[x] I have squashed any insignificant commits
[-] I have created a changelog file with all necessary information about my changes
[-] I have written or adjusted the documentation according to my changes
[-] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 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.

Hey @samuellembke thanks for your contribution! :blue_heart: :tada:
To be able to accept your PR please accept the Contributor License Aggreement.
And please add a changeloge file as described here. You can find examples of such changelog files in the /changelog folder.

Hey @keulinho, I added the changelog file

LGTM, but the signing of the Contributor License Agreement is still missing.

LGTM, but the signing of the Contributor License Agreement is still missing.

I think I accepted the CLA now. Didn't see it

Is there still an issue that needs to be resolved in this PR?

@samuellembke no we are taking over from here, as we internally work with a private gitlab instance, we will import this PR to our internal gitlab and then proceed there, we will come back to you if there pops something up

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-19180
Please use this issue to track the state of your pull request.

I know that i'm probably late to the party, but wouldn't this be the perfect place to accept other encodings as well? It would just require to split based on ;, where the first part would be the format followed by succeeding encodings with or without accompanied by a q-value, which would require further parsing(determining, weither or not a qvalue exists attached to the current encoding or not), but would allow for a wider range of encodings supported:
Strictly speaking, multiple are allowed by the spec: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
Recommandation when multiple encodings are delivered, RFC2616(HTTP 1.1) :

If the content-encoding is in the list of Accept-Encodings, it must be accepted, unless it's q-value is 0
If there are multiple defined encodings given, the first of the list with a non-zero(or omitted) q-value is chosen;

Or is it left out for simplicity reasons? :)

@Darksider3 Can you create another PR for this?

Thanks for your contribution


CDC support in deltalog when writing delta table

Description
Current delta-rs version is not supporting CDC in deltalog. It says that CDC support will be added in Version 4 here.
What's the current timeline for this feature? How many months or years it can take to add support for CDC?
Use Case
We need to read CDC from deltalog of delta table written using delta-rs.
Related Issue(s)

We already have CDC write support for update operations, @rtyler started looking at MERGE.

We already have CDC write support for update operations, @rtyler started looking at MERGE.

That's awesome! Could you share some links?

@waddahAldrobi probably something on your side, this code works fine:
from deltalake import DeltaTable
import polars  as pl

df = pl.DataFrame({
    "foo": [1,2], "bar":['1','2']
})
for i  in range(2):
  df.write_delta('test_table', mode='append',  delta_write_options={"configuration":{"delta.enableChangeDataFeed":"true"}, "engine":"rust"})

dt= DeltaTable("test_table")
pl.from_arrow(dt.load_cdf())

shape: (4, 5)
┌─────┬─────┬──────────────┬─────────────────┬─────────────────────────┐
│ foo ┆ bar ┆ _change_type ┆ _commit_version ┆ _commit_timestamp       │
│ --- ┆ --- ┆ ---          ┆ ---             ┆ ---                     │
│ i64 ┆ str ┆ str          ┆ i64             ┆ datetime[ms]            │
╞═════╪═════╪══════════════╪═════════════════╪═════════════════════════╡
│ 1   ┆ 1   ┆ insert       ┆ 1               ┆ 2024-08-10 17:42:19.836 │
│ 2   ┆ 2   ┆ insert       ┆ 1               ┆ 2024-08-10 17:42:19.836 │
│ 1   ┆ 1   ┆ insert       ┆ 0               ┆ 2024-08-10 17:42:15.639 │
│ 2   ┆ 2   ┆ insert       ┆ 0               ┆ 2024-08-10 17:42:15.639 │
└─────┴─────┴──────────────┴─────────────────┴─────────────────────────┘

Thanks @ion-elgreco this is what we needed! 🙏


refactor!: modernize memory store and copy

What this PR does / why we need it

This PR scopes to memory target and copy
Modernize the code to utilize the latest feature of .NET 8.0 and C# 12 with nullable enabled
Refactor the code structure to match the oras-go repository while maintaining the dotnet naming conventions
Add ConfigureAwait(false) for library code
Renamed MemoryTarget to MemoryStore as one of the content store.

Which issue(s) this PR resolves / fixes
Related PR: #87
Please check the following list

[x] Does the affected code have corresponding tests, e.g. unit test, E2E test?
[x] Does this change require a documentation update?
[x] Does this introduce breaking changes that would require an announcement or bumping the major version?
[x] Do all new files have an appropriate license header?

Wait a moment. Something was not in sync. Let me review it again.


Adding hcesonepat in org domain of JetBrains

Adding hcesonepat in org domain of JetBrains

@abhishekgarg0196 First stage of verification passed, official domain is hcesonepat.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@abhishekgarg0196 Pull request merged. Thank you!


Support for File Search Customizations

Codecov Report
Attention: Patch coverage is 78.37838% with 8 lines in your changes missing coverage. Please review.

Project coverage is 89.51%. Comparing base (cda9fb5) to head (e0d485d).

Files
Patch %
Lines

...restela/openai/domain/assistant/AssistantTool.java
69.23%
4 Missing :warning:

...tela/openai/domain/assistant/ChunkingStrategy.java
87.50%
2 Missing :warning:

...irestela/openai/domain/assistant/ToolResource.java
0.00%
0 Missing and 1 partial :warning:

...tela/openai/domain/assistant/ToolResourceFull.java
66.66%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #148      +/-   ##
============================================
+ Coverage     89.10%   89.51%   +0.40%
- Complexity      680      692      +12
============================================
  Files           100      101       +1
  Lines          1432     1459      +27
  Branches         32       31       -1
============================================
+ Hits           1276     1306      +30
+ Misses          114      108       -6
- Partials         42       45       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: extend reakit box props with visibility props

This is a fix for projects using typescript. The hiddenBreakpoint and showBreakpoint does not exist on the type for components.

Published on 4.21.31


incorrect css order

System Info
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
Memory: 2.15 GB / 15.64 GB
Binaries:
Node: 16.19.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.35)
Internet Explorer: 11.0.19041.1566
Details
css output is different from using webpack
Reproduce link
https://github.com/urielvan/rspack-css-order
Reproduce Steps

run npm start
select any row by checking the checkbox, the row will have gray background, which is incorrect.
stop the devServer
open modern.config.ts, comment line 10
run npm start
select any row by checking the checkbox, the row will have blue background, which is expected.

@hyf0  can you confirm whether this is solved

Please update all modernjs-releated packages to 2.25.2. I have confirmed that the problem was fixed.


picocrypt: init at 1.34

Description of changes

Adds Picocrypt, a lightweight file encryption tool. Let me know if there is anything I need to change as this is my first PR.
Closes #321719
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4186

Result of nixpkgs-review pr 322846 run on x86_64-linux 1

1 package built:

picocrypt


paths libary

It's better to used already existing "infrastructure" to achive a global function.

also bringing your PR up to date based on dev branch


Many systems still use gz 6.x, we shoud support it.

pr的代码是（可能）支持guzzle6，而不支持guzzle7了 @solody 。如果希望pr，应同时兼容6/7。

Testings fail to static checking in phpstan, the code is which line I've make a detection for  ClientInterface::VERSION by defined() function, it's actually not a error.
I tested most api call by hand, the patch is work for me.
I think it's posibble to make all functionalities of this project compatible with both Guzzle6 & 7.
Can anyone help to do this?

pr的代码是（可能）支持guzzle6，而不支持guzzle7了 @solody 。如果希望pr，应同时兼容6/7。

defined(ClientInterface::class . '::VERSION') ? ClientInterface::VERSION : ClientInterface::MAJOR_VERSION

This code is actually compatible with both Guzzle6 & 7.

Reference discussing on the https://github.com/guzzle/guzzle/pull/2918 and https://github.com/guzzle/psr7/pull/452, Guzzle6 and Guzzle\Psr7 1.x both are EOL. It means that there no bugfixing anymore except security fixing. Most application should upgrade to Guzzle7 thus this PR makes it working on Guzzle6.
Any way, while @solody approving https://github.com/solody/wechatpay-php/pull/1, and then let's making this PR on the road.


fix: Handle ephemeral volume topology

Fixes #N/A
Description
Prior to this change, Karpenter would only handle volume topology for PVCs that were directly reference by pods through the .spec.volumes[*].persistentVolumeClaim field; however, pods can also reference dynamically-generated generic ephemeral volumes, referenced through .spec.volumes[*].ephemeral. We did not respect PVCs that were bound to pods with volume topology. This change allows us to handle ephemeral volumes and scale-out if the current nodes do not satisfy the volume topology.
How was this change tested?

make presubmit
Deploying bound PVC/PV to cluster, removing nodes and expecting Karpenter to assign volume topologies correctly

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 27 (81.48%)  changed or added relevant lines in 1 file are covered.
8 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.02%) to 79.385%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/provisioning/scheduling/volumetopology.go
22
27
81.48%

Files with Coverage Reduction
New Missed Lines
%

pkg/controllers/provisioning/scheduling/scheduler.go
1
95.48%

pkg/controllers/provisioning/scheduling/topology.go
2
86.49%

pkg/controllers/provisioning/scheduling/topologygroup.go
2
96.75%

pkg/controllers/provisioning/scheduling/volumetopology.go
3
86.71%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
7948

Relevant Lines:
10012

💛  - Coveralls

Can we write an integ test for this?

Yep, we absolutely need tests for these scenarios with volume and storage class topologies. Right now, we aren't doing integration testing against any ephemeral volume storage support either.

Two tracking issues for adding E2E volume testing for ephemeral volumes and respecting volume topologies:

https://github.com/aws/karpenter/issues/4381
https://github.com/aws/karpenter/issues/4382


Failed by CORS

Hi. Seems like I need aditional setup? Because out of the box auth doesn't work.
I got an Failed by CORS error in auth0 logs, when I run app locally.

Ok, for those who unfamiliar with auth0 - you have to add http://localhost:3000 as Allowed CORS in Auth0 Dashboard.


RunZonedGuardedIntegration cannot be disabled, contrary to Flutter 3.3

Platform:

[ ]  Dart
[ ]  Flutter Android or iOS
[ ]  Flutter Web

IDE:

[ ]  VSCode
[ ]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[ ]  Disabled

Platform installed with:

[ ] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
The output goes here...
The version of the SDK (See pubspec.lock):
4.x.x

I have the following issue:
Hi thanks for the wonderful lib! Flutter 3.3 says we should not use runZoneGuarded but should use PlatformDispatcher. However, as is seen in https://github.com/getsentry/sentry-dart/blob/5a6e8fc96dd72607ae666e49f0f04c6454dffc54/dart/lib/src/sentry.dart#L114-L121, seems that RunZonedGuardedIntegration is always there, and cannot be disabled.
Steps to reproduce:

Step

Actual result:

Actual

Expected result:

Result

See https://github.com/getsentry/sentry-dart/issues/988#issuecomment-1232135479
If you don't use the appRunner callback, the zone isn't used.

Thanks! Documenting it would be quite helpful for other people as well :)

Thanks! Documenting it would be quite helpful for other people as well :)

We intend to fix it on https://github.com/getsentry/sentry-dart/issues/988 so we don't need to document anything.
I'll close this since it's a very similar/dupe of #988


Too many Covid-19 patients.

I'm running java -jar synthea-with-dependencies.jar -c synthea.properties -p 100 Minnesota and I'm getting 77% of patients with a Suspected COVID-19 and 75% of patients with a COVID-19 condition. Maybe we're missing some probability parameter?

Wear a mask, wash your hands, and don't go out to eat at a restaurant.
The module is not malfunctioning. It is possible the infection rates are too high. On the other hand, most people in Synthea are getting tested, which is not happening in the real-world, so the results might be skewed. Also, not all of those people are ending up being admitted to the hospital or ICU. As we learn more about the actual results of the pandemic, we will go back and modify the infection rates.

If you want to modify the infection rates, feel free to edit this CSV file:
https://github.com/synthetichealth/synthea/blob/master/src/main/resources/modules/lookup_tables/covid19_prob.csv

I'm running synthea on Google Colab (upstream from some deep learning) so I can't really build it every time. Any chance to fix the jar file to produce something more realistic?

I don't know anything about Google Colab... it looks similar to a hosted version of Jupyter notebooks... but even so, I have no idea of how these suggestions will work or if they are possible in your environment:

If you have access to the JAR, you can just replace the covid19_prob.csv file inside the Synthea JAR, either locally or potentially using the jar uf command (see https://docs.oracle.com/javase/tutorial/deployment/jar/update.html).

You could also try using a local set of lookup_tables using the --generate.lookup_tables command-line switch. You'll need to provide ALL the lookup tables though or you'll see a lot of exceptions.

# Lookup Table Folder location
generate.lookup_tables = modules/lookup_tables/

If you are using a hosted version of Synthea that you do not have access to, then there is nothing you can really do.

Any chance to fix the jar file to produce something more realistic?

Define realistic. If you'd like to provide different infection statistics, with the proper peer-reviewed citations, we're happy to take a pull request and update the table.

I assume that the COVID-19 dataset consists of 10K patients who tested positive using nasal swap testing, etc. I see that roughly 6000 had antibody testing (SARS-CoV-2 RNA) with many converting from positive to negative. On further thought, I can't use the dataset to predict who developed COVID versus those who did not. Great dataset nevertheless and could be used for descriptive statistics.

I don't know anything about Google Colab... it looks similar to a hosted version of Jupyter notebooks... but even so, I have no idea of how these suggestions will work or if they are possible in your environment:

If you have access to the JAR, you can just replace the covid19_prob.csv file inside the Synthea JAR, either locally or potentially using the jar uf command (see https://docs.oracle.com/javase/tutorial/deployment/jar/update.html).
You could also try using a local set of lookup_tables using the --generate.lookup_tables command-line switch. You'll need to provide ALL the lookup tables though or you'll see a lot of exceptions.

# Lookup Table Folder location
generate.lookup_tables = modules/lookup_tables/

If you are using a hosted version of Synthea that you do not have access to, then there is nothing you can really do.

Any chance to fix the jar file to produce something more realistic?

Define realistic. If you'd like to provide different infection statistics, with the proper peer-reviewed citations, we're happy to take a pull request and update the table.

Exactly what kind of statistics are you looking for?  I would be happy to do some research, I'm sure this data is available now.  It would be very helpful if the output from this module was more accurate.

See https://github.com/synthetichealth/synthea/blob/master/src/main/resources/modules/lookup_tables/covid19_prob.csv
This table models the probability of infection over time. We could also add another column, such as State, to represent different geographies.

Also, it's difficult to use the module for developing apps if Covid infection rates are hard-coded at a low number.  Gotta find the needles in the haystack.  But having an adjustable input at the beginning of the pipeline would be nice.  Sometimes we want to generate a population average, sometimes we want to generate a positive cohort, sometimes we want to generate a single patient and model disease progression.

It depends on what your definition of "hard-coded" is. It isn't compiled into the code, it is listed in a configuration file. See the link in the previous comment on October 9th.

It depends on what your definition of "hard-coded" is. It isn't compiled into the code, it is listed in a configuration file. See the link in the previous comment on October 9th.


code problem

why the code can not be runned
and it lacks someting musted

If it's some environment issue, you should be able to handle it yourself. Otherwise your issue should be explicitly described here.

Thank you for answering my question. It is not a problem with the running environment. I have configured the environment and successfully ran train.sh. The training yaml file related to the UCLA data set is missing in your file. I downloaded this part from Found it in CTRGCN. When training the ucla data set, that is, when running the training script you gave, I encountered a tensor mismatch between network layers, specifically expressed as RuntimeError: The size of tensor a (8) must match the size of tensor b (16) at non-singleton dimension 0. This problem may be related to the BLOCKGCN model. Another problem is RuntimeError: Caught RuntimeError in replica 0 on device 0. When you were training, eight GPU cards were trained at the same time. ? I used two 3090 cards to train your model. In addition, I also want to know which version of torch you used during training, because I got RuntimeError: FIND was unable to find an engine when training ntu60. to execute this computation after trying 0 plans. This may be because my torch version number is too high. Thank you for taking the time to read my question and help me answer it. Thank you very much!

This situation occurs when training data, do you know how to solve it?

This issue is not explicit enough to respond to.

Hi,
sorry for the late reply. The UCLA dataset only contains one person, while
NTU datasets assume a maximum number of two people. So NTU data has an
additional dimension with size 2, and our topological analysis has to be
adapted to such a dimension difference. In line 312-315,  the solution is
provided in the comments:
# for ntu, two people at the same frame
x = x.repeat(2,1)
# for ucla, one person only
#x = x
Could you please reopen an issue and ask this in Github, so that I can also
provide the answer there to avoid similar questions?
Best,
Yuxuan
On Mon, 27 May 2024 at 12:45, zhaokaipan @.***> wrote:

ea478345331a12c665f76061de1e0b9.png (view on web)
https://github.com/ZhouYuxuanYX/BlockGCN/assets/56015270/13d8ccb9-8986-4dee-bdf7-bd1ed25a8ad0
This situation occurs when training data, do you know how to solve it?
—
Reply to this email directly, view it on GitHub
https://github.com/ZhouYuxuanYX/BlockGCN/issues/6#issuecomment-2133203185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOZHLAM6KAD3UFPFFZWN63ZEMFDRAVCNFSM6AAAAABIJNTIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGIYDGMJYGU
.
You are receiving this because you commented.Message ID:
@.***>

感谢您的回复，我是在GitHub上给您提的问题，可能是自动发的邮件，这个关于ucla的部分我注意到了，所以我在这个问题下面删除了我之前的提问，十分感谢您的回复！

好的，麻烦您重新提交一下删除的问题呗，这样以后其他人要是也遇到同样问题就可以参考，谢谢
zhaokaipan @.***>于2024年6月6日 周四上午8:53写道：

感谢您的回复，我是在GitHub上给您提的问题，可能是自动发的邮件，这个关于ucla的部分我注意到了，所以我在这个问题下面删除了我之前的提问，十分感谢您的回复！
—
Reply to this email directly, view it on GitHub
https://github.com/ZhouYuxuanYX/BlockGCN/issues/6#issuecomment-2151537590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOZHLFXGBSQPBVFTJ4OFULZGABP3AVCNFSM6AAAAABIJNTIUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRGUZTONJZGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Fix batch pool name

Currently, when provisioning the batch account, the pool name has been created as data-cpu-pool. However, during the creation of the batch job, the pool name is passed with the environment code prefixed. As a result, the batch job is created with a pool name that doesn't exist. This PR fixes the batch pool name to include the environment code as a prefix during creation.
For the record, I have tested this PR with a new batch account and a pre-provisioned batch account; in both cases, the pool name is created with a prefixed environment code. Also, the JSON files have been corrected accordingly.
Additionally, changed the default value to false for PG deployment.

I have also noticed the batch pool name & the job name is the same. In the past, I remember we had the batch job name as 'custom-vision-model-job' with env code prefixed. I think it is good to differentiate both the names. Let me know your thoughts?

I have also noticed the batch pool name & the job name is the same. In the past, I remember we had the batch job name as 'custom-vision-model-job' with env code prefixed. I think it is good to differentiate both the names. Let me know your thoughts? I can do a follow-up PR.

I dont have a concern regarding the name, since we are generally running only type of pool it should be ok. I wont block the new change, but i dont think it is required as of now.


rio up doesn't recreate service or deployment until the hash of the Riofile content changed

rio version v0.3.1 (e4253f2e)
Steps to reproduce:

rio up
rio rm $NAMESPACE/$SERVICE
rio up
After a change of content Riofile(even adding a one # in it), it re-creates.

Thinking... The whole workflow is triggered by whether stackfile has changed...But we can change the behaviour.

The trigger can work for already created service to apply new changes, but it even doesnt re-creates a service which is already removed from a cluster.

@harutyundermenjyan This should have been fixed in v0.4.0-rc2. If you remove services that are managed by a stack, Rio will automatically re-apply stack and add it back.

The problem is that when I remove a service which is previously created by rio up -f file it doesn't recreate it again when I type the same command e.g. rio up -f file.
Steps to reproduce:

rio up -f file
rio rm $NS/$SVC (BTW, to delete it you will type the same command twice)
rio up -f file --> problem here (service is not created)

We changed the behaviour in another way. Now if controller will always sync the content of stack to make sure the resource match definition. So if you remove services, It will always be synced back.

What about the third point when rio up doesn't recreate the same service from the same rio file which has been already removed?

@harutyundermenjyan It should have been fixed in the latest rc. It will automatically recreate services that were managed by Rio if you remove it.

Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME      CREATED   ENDPOINT   REVISIONS   SCALE     WEIGHT    DETAIL

Nothing here

Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ kdev -n rio-system delete po $(kdev get po -n rio-system |grep controller|awk '{print $1}'|paste -sd' ' -)
pod "build-controller-d6c5fdbdd-njhwf" deleted
pod "controller-7b569d8785-pp9bf" deleted
pod "rio-controller-bb6f5799c-6kc97" deleted
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME            CREATED         ENDPOINT   REVISIONS   SCALE     WEIGHT    DETAIL
default/nginx   2 seconds ago
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME            CREATED          ENDPOINT                                      REVISIONS   SCALE     WEIGHT    DETAIL
default/nginx   22 seconds ago   https://nginx-default.xn81g2.on-rio.io:9443   v0          1         100%
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio rm default/nginx
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME      CREATED   ENDPOINT   REVISIONS   SCALE     WEIGHT    DETAIL

Nothing here

Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio up -f Riofile .
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME      CREATED   ENDPOINT   REVISIONS   SCALE     WEIGHT    DETAIL

nothing here

Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio --version
rio version v0.4.0-rc3 (15a7bb76)
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ kdev -n rio-system delete po $(kdev get po -n rio-system |grep controller|awk '{print $1}'|paste -sd' ' -)
pod "build-controller-d6c5fdbdd-7d84h" deleted
pod "controller-7b569d8785-zkvxk" deleted
pod "rio-controller-bb6f5799c-gklzt" deleted
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME            CREATED          ENDPOINT                                      REVISIONS   SCALE     WEIGHT    DETAIL
default/nginx   15 seconds ago   https://nginx-default.xn81g2.on-rio.io:9443   v0          0/1       100%      v0: not ready
Harutyuns-MacBook-Pro:rio harutyun.dermenjyan$ rio ps
NAME            CREATED          ENDPOINT                                      REVISIONS   SCALE     WEIGHT    DETAIL
default/nginx   33 seconds ago   https://nginx-default.xn81g2.on-rio.io:9443   v0          1         100%
Could you please take an attenttion above I've typed that commands sequentially.
Every time I delete the controller the service is recreated again.
Also rio up doesn't recreate already removed service.

@harutyundermenjyan Hi, thanks for testing this. Can you try the following steps to see if that works?
1. `Create a new stack using Riofile`. Use `rio up` or `rio up -f /path/to/rio-file`. Make sure you delete the old stack and create a new one. Use `rio stack` and `rio rm ${name}`.
2. Check services. Remove your services. And check if service get re-created.

I just pulled rc3 and tested this workflow and it worked. Also make sure you are running controller in v0.4.0-rc2 or later(the fix went into rc2). You can upgrade that by rerun rio install

Ok, I think I see the funkiness in here. @harutyundermenjyan You are right, this doesn't work as expected. Looking into this now.


calculating score of layout with minor tweaks

I was just wondering how I can run your code to calculate the score of default layout with 1 or 2 keys moved and/or swapped.
Given the higher frequency of letter G compared to J/K, and bigrams such as gh and ing, I wanted to know why it got assigned to current position (lower row of left pinky!!!).
What if we swap G and Y, or G and J, or G and K? what would be the score compared to the original layout?

The following is from the jupyter notebook under "Test 5" and is used to score layout variants/tweaks:
https://github.com/binarybottle/engram/blob/master/engram_layout_v2.0.ipynb
Assign letters Z and Q and test left/right swap
Test to see if equal or higher scores are obtained for the following:

Assign Z and either Q or J to keys 112 and 113
Swap left and right sides
layouts_26letters = [
['B','Y','O','U','C','I','E','A','G','X','J','K','L','D','W','V','H','T','S','N','R','M','F','P', '-','-','-', '-','-','-', 'Z','Q'],
['B','Y','O','U','C','I','E','A','G','X','J','K','L','D','W','V','H','T','S','N','R','M','F','P', '-','-','-', '-','-','-', 'Q','Z'],
['V','W','D','L','N','S','T','H','P','F','M','R','U','O','Y','B','A','E','I','C','K','J','X','G', '-','-','-', '-','-','-', 'Z','Q'],
['V','W','D','L','N','S','T','H','P','F','M','R','U','O','Y','B','A','E','I','C','K','J','X','G', '-','-','-', '-','-','-', 'Q','Z']]
data_matrix = Factors32x32
scores_26letters = []
for layout_26letters in layouts_26letters:
scores_26letters.append(score_layout(data_matrix, layout_26letters, bigrams, bigram_frequencies, verbose=False))

scores_26letters_sorted, ranks_26letters_sorted, Isort_26letters = rank_within_epsilon(scores_26letters,
factor32, factor=True, verbose=False)
print('\n    Rank                                                                   Score')
for i, rank in enumerate(ranks_26letters_sorted):
layout_string = layouts_26letters[Isort_26letters[i]]
layout = ' '.join(layout_string)
print('    {0}:  {1}    {2}'.format(rank, layout, scores_26letters_sorted[i]))
print('')
print_layout24(layouts_26letters[0])
#bigram_strings = [['f','l'],['f','r'],['p','l'],['p','r'],['w','r'],['w','l']]
#for bigram_string in bigram_strings:
print_bigram_frequency(bigram_string, bigrams, bigram_frequencies)
Z above Q received the highest score:
Rank                                                                   Score
1:  B Y O U C I E A G X J K L D W V H T S N R M F P - - - - - - Z Q    0.621987268013091
1:  B Y O U C I E A G X J K L D W V H T S N R M F P - - - - - - Q Z    0.6219870422703005
1:  V W D L N S T H P F M R U O Y B A E I C K J X G - - - - - - Q Z    0.6219847143830128
1:  V W D L N S T H P F M R U O Y B A E I C K J X G - - - - - - Z Q    0.6219774708803041

Or better still, run the comparison jupyter notebook, and at the bottom, tweak to your heart's content!:
https://github.com/binarybottle/engram/blob/master/compare_layouts.ipynb
Workspace for manual comparisons
layouts_26letters = [
['B','Y','O','U','C','I','E','A','G','X','J','K','L','D','W','V','H','T','S','N','R','M','F','P', "'",',','-', '"','.','?', 'Z','Q'],
['W','Y','O','U','C','I','E','A','G','P','J','K', 'V','L','D','X','H','T','S','N','R','M','F','B', "'",',','-', '"','.','?', 'Z','Q']]
data_matrix = Factors32x32
scores_26letters = []
for layout_26letters in layouts_26letters:
scores_26letters.append(score_layout(data_matrix, layout_26letters, bigrams, bigram_frequencies, verbose=False))
scores_26letters_sorted, ranks_26letters_sorted, Isort_26letters = rank_within_epsilon(scores_26letters,
factor32, factor=True, verbose=False)
print('\n    Rank                                                                   Score')
for i, rank in enumerate(ranks_26letters_sorted):
layout_string = layouts_26letters[Isort_26letters[i]]
layout = ' '.join(layout_string)
print('    {0}:  {1}    {2}'.format(rank, layout, scores_26letters_sorted[i]))
print('')
print_layout24(layouts_26letters[0])
print('')
bigram_strings = [['f','l'],['f','r'],['p','l'],['p','r'],['w','r'],['w','l']]
for bigram_string in bigram_strings:
print_bigram_frequency(bigram_string, bigrams, bigram_frequencies)

Thanks 🙏

This is an excellent question:

Given the higher frequency of letter G compared to J/K, and bigrams such as gh and ing, I wanted to know why it got assigned to current position (lower row of left pinky!!!).

I think the answer is inward rolls! :sparkles:  Since G is more frequent than J/K, its placement on the pinky finger allows it to engage with the vowel cluster for inward rolls: git, get, gat, got, gut.  Consequently, if we were to swap G with J or K as you suggested*, that may result in suboptimal G + vowel bigrams for most vowels compared to the infrequent J and K letters taking G's place:

get and got would be same-finger bigrams
git would contain an outward roll for G -> I

*Great idea by the way! :star_struck: I was consumed by this possibility until I realized the significance of placing G on the pinky finger.

That's exactly right!

From: Suraj N. Kurapati @.>
Sent: Friday, October 6, 2023 11:55:29 PM
To: binarybottle/engram @.>
Cc: Arno Klein @.>; Comment @.>
Subject: Re: [binarybottle/engram] calculating score of layout with minor tweaks (Issue #69)
[EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.
This is an excellent question:
Given the higher frequency of letter G compared to J/K, and bigrams such as gh and ing, I wanted to know why it got assigned to current position (lower row of left pinky!!!).
I think the answer is inward rolls! ✨ Since G is more frequent than J/K, its placement on the pinky finger allows it to engage with the vowel cluster for inward rolls: git, get, gat, got, gut. Consequently, if we were to swap G with J or K as you suggested*, that may result in suboptimal G + vowel bigrams for most vowels compared to the infrequent J and K letters taking G's place:

get and got would be same-finger bigrams
git would contain an outward roll for G -> I

*Great idea by the way! 🤩 I was consumed by this possibility until I realized the significance of placing G on the pinky finger.
—
Reply to this email directly, view it on GitHubhttps://github.com/binarybottle/engram/issues/69#issuecomment-1751627015, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABZX5B773WI7UA7Z7KWG7DX6D4GDAVCNFSM6AAAAAA5L2AEBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGYZDOMBRGU.
You are receiving this because you commented.Message ID: @.***>
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message and any attachments


#23837 Added long flag to docker ps for checking latest n containers

- What I did
Add a long flag to the existing short flag named --latest-n in docker ps --help associated with listing latest n containers.
- How I did it
updated api/client/container/ps.go
- How to verify it
Run docker -ps --help and verify the line containing Show n last created containers (includes all states)
- Description for the changelog

Fixes  #23837 : Added long flag for CLI help option for listing latest n containers.
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Shoubhik Bose<EMAIL_ADDRESS>

LGTM (non-binding)

Please use present tense in commit summaries and descriptions.

Add long flag to docker ps for checking latest n containers

Additionally to being grammatically(?) correct, it’s shorter and the git commands revert and merge do the same in their default messages: Revert … and Merge ….
The rest looks good.

Thanks for the feedback. I see * windowsTP5 — Jenkins build Docker-PRs-WoW-TP5 3640 is running* stuck for the last 12 hours - is that a matter of concern from a code perspective , @vdemeester  ?

LGTM (IANAM)

I'm invoking @thaJeztah for the name of the flag :joy:, --latest-n doesn't really speak to me but I have no other ideas :sweat: and that's why I did put design review :angel:
@sbose78 I'll restart the windowsTP5 build :wink:

Yes, I was already thinking about this one, first thing coming to mind was --limit, but possibly that's confusing, because there's no n in there. wdyt?

I looked around a bit for similar use cases and found:

docker daemon has --max-concurrent-downloads and --max-concurrent-uploads, but this prefex is not used elsewhere.
docker service create and docker service update have --limit-cpu and --limit-memory, this prefix also not being used elsewhere.
--limit is used in docker search and nowhere else.
docker logs has --tail.
The unix command head uses -n|--lines.

How about --head? It's in line with docker logs and intuitive because you could also limit the output by piping it into head. It also indicates that the given number of heading lines will be preserved. --limit does not say which lines will be stripped.

@albers nice, thanks ! I kinda like -n|--lines, --head would also make sence and less confusing than --limit.

--limit is OK for me as well. It is also in line with docker  search. Both usages suffer from not being specific: what is limited, and how is the limit applied? But for consistency, I think it's the best choice.

Can we fix the flags package to not expect a long version of the flag?  Instead of adding a long version just to make the help output pretty we can fix the package to make it pretty.
I don't think there is a rush to fix this so lets modify the upstream and fix the issues there.

It looks like this is a good place to start to fix this issue:
https://github.com/spf13/pflag/blob/master/flag.go#L490

I'm not sure it's going to be that easy to change pflags. The long flag is used as the "name" of the flag all over the library, it's not just a display issue. If a flag doesn't have a long name there's no way to check if it's set or return the flag by name.
Does it really hurt to have a more descriptive (long form) flag for this?

@dnephin no it does it hurt if that is the right fix.  It just seemed like a stop gap initially after reading the comments.
Probably need to think more on the flag name, --latest-n does not flow very well

I agree, we should be able to find a more appropriate name for the flag.
--lines, --head, and --limit all sound like reasonable proposals.
The variable we use is last (which is also in the help text), so --last is another option

Let's go for --last, all options are equally good/bad 😇

@sbose78 can you update the code with --last then :angel:

Done, folks. :+1:

LGTM 🐮

LGTM (IANAM)

LGTM too (IANAM)

LGTM, thanks!

hmf, missed the docs changes,
my bad :cry:


⚠ ClamAV has degraded performance

In 98c7553, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 561 ms

Resolved: ClamAV performance has improved in 8354e77.


Doesn't like direct links to imgur images

❯ java -jar ../ripme.jar --url https://i.imgur.com/0irAxHr.jpg
Loaded file:/home/ripme/ripme.jar!/rip.properties
Loaded log4j.properties
Initialized ripme v1.6.10
[!] Error while ripping URL https://i.imgur.com/0irAxHr.jpg
java.lang.Exception: No compatible ripper found
        at com.rarchives.ripme.ripper.AbstractRipper.getRipper(AbstractRipper.java:371)
        at com.rarchives.ripme.App.rip(App.java:65)
        at com.rarchives.ripme.App.ripURL(App.java:177)
        at com.rarchives.ripme.App.handleArguments(App.java:169)
        at com.rarchives.ripme.App.main(App.java:56)

Also makes me wonder if ripme could attempt to download images directly if they have a .jpg/.png/.etc extension, but that's for another issue.

At this point ripme can't download direct imgur images.

Also  makes me wonder if ripme could attempt to download images directly if  they have a .jpg/.png/.etc extension, but that's for another issue.

I did some work on that in PR #78

You're on a Linux, so use wget or curl to DL it.


fix(versions): update Activiti/example-runtime-bundle versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies to: 7.1.214

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.1.214


[Mgmt] record eh mgmt tests and update requirements

Currently, the Event Hubs mgmt tests are failing in the build pipeline. We need to re-record the mgmt tests to get these to pass. Fixed 2 things:

Added necessary dependencies to azure-mgmt-eventhub/dev_requirements.txt
Updated the method names in different tests from create/create_or_update to begin_create/begin_create_or_update.

/azp run python - azure-mgmt-eventhub - tests-weekly

/azp run python - azure-mgmt-eventhub - tests-weekly

/azp run python - azure-mgmt-eventhub - tests-weekly

/azp run python - azure-mgmt-eventhub - tests-weekly

not needed by mgmt team.


Update goscaleio version

Description
Update go clients (goscaleio) to new release version
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/1091

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have inspected the Grafana dashboards to verify the data is displayed properly
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
go test -count=1 -cover -race -timeout 30s -short ./...
        github.com/dell/karavi-metrics-powerflex/cmd/metrics-powerflex          coverage: 0.0% of statements                                                              ok      github.com/dell/karavi-metrics-powerflex/internal/entrypoint    4.137s  coverage: 53.1% of statements
        github.com/dell/karavi-metrics-powerflex/internal/k8s/mocks             coverage: 0.0% of statements                                                              ok      github.com/dell/karavi-metrics-powerflex/internal/k8s   1.246s  coverage: 86.4% of statements
        github.com/dell/karavi-metrics-powerflex/opentelemetry/exporters/mocks          coverage: 0.0% of statements                                                              github.com/dell/karavi-metrics-powerflex/internal/service/mocks         coverage: 0.0% of statements
        github.com/dell/karavi-metrics-powerflex/opentelemetry/exporters                coverage: 0.0% of statements
ok      github.com/dell/karavi-metrics-powerflex/internal/service       2.132s  coverage: 94.1% of statements

Manual inspection of the GUI
I have verified that the dashboards show the data properly while generating I/O and storage resources

[ ] Yes
[x] No

e2e pass


Clarification on Join Behavior with @SoftDelete in Paginated Criteria Queries

I would like to seek clarification regarding the behavior of implicit joins when using Hibernate's @SoftDelete annotation in combination with a @ManyToOne relationship, particularly when the related entity is soft-deleted.
By default, implicit joins are usually generated as JOIN. This behavior can typically be adjusted using Blaze Persistence's joinDefault configuration. However, when the query involves pagination, the configured join type does not appear to take effect. Even when explicitly specifying the join type using joinOn, the generated query consistently includes a default JOIN to the soft-deleted entity.
Is this behavior expected, or is there an alternative approach to ensure the desired join type is respected in paginated queries?
Version:
Blaze-Persistence: 1.6.14
JPA-Provider:         Hibernate 6.6.2.Final
DBMS:                   PostgreSQL 16
Application:           Spring Boot 3.4.0

Hi, when fetching entities, Hibernate ORM has to eagerly join such associations to determine nullity. You could use Entity-Views instead, or enable enhancement to defer the join/query to the first access of the association.


Problems with .equals

Hi, I'm using redis-om 0.3.6 and I noticed a problem with equals.
Here's a screenshot of my DB:

Here's the code of the schema:
const { Schema, Entity } = require('redis-om');

class NewsArticle extends Entity {};

const newsArticleSchema = new Schema(NewsArticle, {
    url: { type: 'string' },
    img: { type: 'string' },
    title: { type: 'text' },
    description: { type: 'text' },
    content: { type: 'text' },
    metaScrapedAtTimestamp: { type: 'date' },
    metaPublishedOnDiscord: { type: 'boolean' }
});

module.exports = client.then(c => {
    const newsArticleRepository = c.fetchRepository(newsArticleSchema);
    newsArticleRepository.createIndex();
    return newsArticleRepository;
});

I have this function which checks if there's already an article in my DB by checking the url.
checkIfArticleExists(url) {
        return newsArticleRepository.then(nar => {
            return nar.search().where('url').equals(url).return.count().then((count) => {
                if (!count) {
                    return false;
                } else {
                    return true;
                }
            });
        });
    }

While debugging it says it cannot find this record.

Count is 0:

Does the URL:
https://www.repubblica.it/esteri/2023/07/21/news/patrick_zaki_italia_gasparri_amnesty-408496548/?ref=RHLF-BG-I408498033-P2-S1-T1
Have something that Redis or Redis-OM might not like when it's defined as a string in the schema? Or is it me using the equals function wrong? I pretty much followed your tutorial on YT.
This function works for many different urls in my DB.

I suspect this is something in the URL that 0.3.6 doesn't escape or something like that. I'll see if I can reproduce and let ya know. Also, 0.4.0 is out and might be worth a look. The YouTube video doesn't use that version, but the README should cover everything you need to know.

Hi, thanks for getting in touch this fast. I have removed the ?ref=RHLF-BG-I408498033-P2-S1-T1 portion from the URL and it seems to have worked... quite strange. Although I don't know how redis or the library works under the hood at all!
About the new version... I gave it a read before starting with the older version. I might upgrade to it soon :)

Try removing just the question mark. That’s my guess. I know that RediSearch changed a while back to add wildcards to tags. Might have introduced something I need to escape but didn’t in the past.

Yeah, just removed the question mark, and now it works pretty well...
Coming from a totally different background (MySQL) I would never expect wildcards to be inside data.
Sounds like a bit of sorcery, haha.

I'll need to escape those for the next release. Let's keep this issue open until I do.

Resolved with PR #202. Published with Redis OM 0.4.2.


[fix] Dynamic fallback for 404 Not Found

fix: https://github.com/sveltejs/kit/issues/2454
As a result, I implemented a dynamic fallback for 404.
Before implementing this PR, always render root __error.svelte in case of 404.
But in this PR, it renders __error.svelte according to a path.
Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

@benmccann
What do you think about this PR?
My understanding is that you are currently working on rebuilding the router.
So I understood that this PR is pending until that is done.
Is that correct?
If this PR is fundamentally wrong, I would like to close it to clean up the PRs.
So I hope you can give me some comments when you have time.
Related issues : https://github.com/sveltejs/kit/issues/2454 , https://github.com/sveltejs/kit/issues/2866

No, I don't have other PRs that would block this. But I haven't been able to keep up with reviewing all the PRs. Rich has been diving in now that he's full-time on Svelte, so hopefully we can get caught up at some point

Do you have any news when you can review / merge this PR ?

Thank you, but the current behaviour is intended — closing per https://github.com/sveltejs/kit/issues/2454#issuecomment-1004051345


HTML - Line breaks changing code output

Description
I have this problem with the html formatter in VSCode, which I believe is done with js-beautify.
In this case I have a label and an input. I don't want any space between them so I can style them as a single box.
When there is whitespace or a line break between the elements, spacing is automatically added between the elements.
When I put the elements together in this way, the formatter automatically breaks them up onto separate lines, changing the output. I don't think that the formatter should be changing the meaning or output of the code it is formatting.
Input
The code looked like this before beautification:
Every<input class="scheduler__minutes-input" type="text">

Expected Output
The code should have looked like this after beautification:
Every<input class="scheduler__minutes-input" type="text">

Actual Output
The  code actually looked like this after beautification:
Every
<input class="scheduler__minutes-input" type="text">

Environment
OS: Windows 10
Editor: VSCode
Settings
Default VSCode settings.

Yes, this is an issue with the way the beautifier understands HTML.  It is a bug and it would be great to get it fixed.
The short term workaround would be to wrap those two elements in a .  Then they'd stay together.


Read only function to determine device size.

Added read-only function to determine device size. This to prevent unnecessary device writes and possibility that data is changed during a test failure.

Thanks,
Will look into this later this week

Had a sneak preview, and it looks like a clever trick.
Which eeprom sizes did you test?

Looks good to me, will merge and release later today

Created develop branch (after some minor edits) and a PR.
build is running.

Build successful,
released 1.8.1 and pushed to PlatformIO


Update content

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified commit because branch smoke-test has been deleted or has been force pushed: fatal: Could not parse object '32f414fe64cd087f54001752c4f7dc2499629704'.

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


Redefinition of m_mask in TaskJointPosture

Hello,
There is a small issue in TaskJointPosture.hpp (so I'm not sure this is worth a Pull request).
With the redefinition of m_mask in TaskJointPosture.hpp, getMask() does not work properly for me and prints the m_mask of the parent class TaskMotion (where m_mask is not initialized).
Best regards,

Well spotted! It's weird that this is tolerated by the compiler.


sudoku example doesn't work

following the README I do:
$ snapp example sudoku
✔ Fetch project template
✔ Extract example
✔ Initialize Git repo
✔ NPM install
✔ Set project name
✔ Git init commit

Success!

Next steps:
  cd sudoku
  git remote add origin <your-repo-url>
  git push -u origin main

To run the example:
  cd sudoku
  npm run test
  npm run build
  npm run start

but when I run the last suggest command (npm run start) I get:
❯ npm run start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR!     npm star # Mark your favorite packages
npm ERR!     npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

Yeah, it's not written yet. Waiting for Brandon to do this when time allows: https://github.com/o1-labs/snapp-cli/issues/43
Here's the current sudoku code lol

Here's the current sudoku code lol

I just realized that x)


[Chore] Investigate developing with node.js 18

It looks like this error reported to us could be caused by node.js 18:
[1] [mf:wrn] Cache operations will have no impact if you deploy to a workers.dev subdomain!
[1] TypeError: Value of "this" must be of type Crypto
[1]     at new NodeError (node:internal/errors:372:5)
[1]     at getRandomValues (node:internal/crypto/webcrypto:732:11)
[1]     at Proxy.<anonymous> (/Users/.../Desktop/JS/jsonhero-web/node_modules/@miniflare/core/src/standards/helpers.ts:35:16)
[1]     at /Users/.../Desktop/JS/jsonhero-web/app/jsonDoc.server.ts:115:14
[1]     at /Users/.../Desktop/JS/jsonhero-web/node_modules/nanoid/index.js:26:19
[1]     at createId (/Users/.../Desktop/JS/jsonhero-web/app/jsonDoc.server.ts:119:10)
[1]     at createFromRawJson (/Users/.../Desktop/JS/jsonhero-web/app/jsonDoc.server.ts:67:17)
[1]     at createFromUrlOrRawJson (/Users/.../Desktop/JS/jsonhero-web/app/jsonDoc.server.ts:36:12)
[1]     at action2 (/Users/.../Desktop/JS/jsonhero-web/build/route:/Users/.../Desktop/JS/jsonhero-web/app/routes/actions/createFromUrl.ts:26:21)
[1]     at processTicksAndRejections (node:internal/process/task_queues:95:5) {
[1]   code: 'ERR_INVALID_THIS'
[1] }
[1] POST /actions/createFromUrl?_data=routes%2Factions%2FcreateFromUrl 500 Internal Server Error (1157.81ms)

@ericallam Maybe we should close this issue since you fixed it with the miniflare update?


Avoid Jackson dependencies conflicts

Fixes #37
-Jackson dependency updated
-Embedded Jackson packages renamed to avoid conflicts when importing JCurl in another project that may use a different Jackson version

Hello @ldrozdz can take a look on it? I spent some time to detect an issue I had in my project because it uses JCurl and with shaded Jackson embedded, the class loader takes some classes from it and other from another Jackson version...
So I modified to rename the embedded packages. Thanks


Fix: Test data leaking into dev

This issue happened because we didn't clear the recent-files from localStorage after operator-mode-test is executed. As we can see in other tests we always clear the recent-files after we're executing the tests.
https://github.com/cardstack/boxel/blob/7a4b13e6a51936df4ed52e4273e362004b37dc2a/packages/host/tests/acceptance/code-submode/recent-files-test.ts#L182
https://github.com/cardstack/boxel/blob/7a4b13e6a51936df4ed52e4273e362004b37dc2a/packages/host/tests/acceptance/code-submode/file-tree-test.ts#L199

It’s really strange though that the real local storage was used in the first place. I see we use the mock storage in the test. Can you confirm that we also use import window in the place where this value is set?

It’s really strange though that the real local storage was used in the first place. I see we use the mock storage in the test. Can you confirm that we also use import window in the place where this value is set?

ya if we use the setupWindowMock test helper like in other tests, we shouldn’t need to clear things manually.

@habdelra @backspace Thanks for the feedbacks. I had added setupWindowMock to the test.

I opened #1234 to see if I’m correct that we don’t need window.localStorage.removeItem in the hooks, I think that clearing the mock localStorage comes for free and these are redundant, let’s see if the tests pass

I opened #1234 to see if I’m correct that we don’t need window.localStorage.removeItem in the hooks, I think that clearing the mock localStorage comes for free and these are redundant, let’s see if the tests pass

It worked! There are some lint errors as I failed to remove the window import. Feel free to merge in that PR if you want, or close it if not.


My Http request just returns undefined on my tv while my emulator gives the result.

Hi,
I am currently developing a TOAST application. I made it able to run it on an actual tv with some work-arounds(had to upload my certificates through the old Samsung TV IDE). So it runs good now, but the problem is that my tv does not execute the http request properly. This is possible with the simulator/emulator. Just not with the device. The TOAST application is built from scratch with the guide how you provided it on this GitHub page.
I have looked alot online on tizen forums, this toast page, samsung developers portal. I can't find a working solution. I even added some config stuff to the config file after building the toast application to tizen.
My request:
httpGetAsync("http://randomuser.me/api");
function httpGetAsync(url)
    {
    	$
    		.ajax({ url : url, type : "GET" })
    		.then( function( data, status, xhr ) {
    			console.log( data );
    			document.getElementById("error").innerHTML = String(data);
    		});
    }

My config file:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/NetTVClient" version="1.0.7" viewmodes="maximized">
    <tizen:application id="qitg5q58xo.NetTVClient" package="qitg5q58xo" required_version="2.3"/>
    <content src="index.html"/>
    <feature name="http://tizen.org/feature/screen.size.all"/>
    <icon src="img/logo.png"/>
    <name>NetTVClient</name>
    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
    <tizen:privilege name="http://developer.samsung.com/privilege/productinfo"/>
    <tizen:privilege name="http://developer.samsung.com/privilege/network.public"/>
    <tizen:privilege name="http://developer.samsung.com/privilege/drmplay"/>
    <tizen:privilege name="http://tizen.org/privilege/tv.inputdevice"/>
    <tizen:privilege name="http://tizen.org/privilege/tv.window"/>
    <tizen:privilege name="http://tizen.org/privilege/tv.channel"/>
    <tizen:privilege name="http://tizen.org/privilege/tv.audio"/>
    <tizen:privilege name="http://tizen.org/privilege/download"/>
    <tizen:privilege name="http://tizen.org/privilege/network.get"/>
    <access origin="*" subdomains="true"></access>
	<tizen:allow-navigation>https://randomuser.me/api</tizen:allow-navigation>
	<tizen:privilege name="http://tizen.org/privilege/internet"/>
    <tizen:profile name="tv"/>
</widget>

I am running on Windows 10 Professional with the following specs:
Processor: Intel(R) Xeon(R) CPU E5-1603 0 @ 2.80 GHz 2.80 GHz
Installed memory (RAM): 16.0 GB
System type: 64-bit Operation System, x64-based processor
This is a freshly installed desktop with the new Tizen Studio 1.1.1 version.
The TV we're talking about is a Samsung 6-Series FHD TV UE55J6240 that runs on Tizen 2.3 and the latest software version.
I hope you can help me.
With kind regards

I found the solution myself after trying more.
I forgot to add the following two headers to the tizen platform in config.xml of my toast project:
<access origin="*" subdomains="true"></access>
<tizen:privilege name="http://tizen.org/privilege/internet"/>

Hi @richardman1.
I've got à simular issue with ajax requests but O do have the above lines in my config file at the tizen platform section.
Are there any other specifics you did to make it work?
My app works perfect on emulator but I can't find the correct setting to make it work on the tv device.


recover file generate-sol-log.sh.in and vnc_record.sh.in

@iceiilin @panpan0000 @iceiilin

👍

+1


blocked using bot 24/7

I'm using the API as 24/7 bot to respond to several people at the same time, I am now getting the message "not-authorized" I tried to re-register and received the message, status: fail, reason: blocked.
how can I put the bot not to be blocked? what I need to send to each User simultaneously?

there is something wrong, how can I improve?
my code receive and reply:

public void ReplayText(string to, string msg, bool last = true)
{
new System.Threading.Tasks.Task(() =>
{
Thread.Sleep(500);
this.Instance.SendQueryLastOnline(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendPresenceSubscriptionRequest(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendComposing(WhatsApp.GetJID(to));
Thread.Sleep(2000);
this.Instance.SendPaused(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendMessage(WhatsApp.GetJID(to), msg);
            if (Sessions.ContainsKey(Fnx.ClearJid(to)))
            {
                if (last)
                    Sessions[Fnx.ClearJid(to)].LastMsg = msg;
                Sessions[Fnx.ClearJid(to)].ReceiveSend = true;
            }

            }).Start();
    }

private void Instance_OnGetMessage(ProtocolTreeNode messageNode, string from, string id, string name, string message, bool receipt_sent)
{
new System.Threading.Tasks.Task(() =>
{
//reply to from
ReplayText(from, "text reply...");
}).Start();
}

We have same problem.
What is the solution?
Sincerely,
Vladimir

On 23 ביולי 2015, at 05:07, yndmai45<EMAIL_ADDRESS>wrote:
there is something wrong, how can I improve? my code receive and reply:
public void ReplayText(string to, string msg, bool last = true)
{
new System.Threading.Tasks.Task(() =>
{
Thread.Sleep(500);
this.Instance.SendQueryLastOnline(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendPresenceSubscriptionRequest(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendComposing(WhatsApp.GetJID(to));
Thread.Sleep(2000);
this.Instance.SendPaused(WhatsApp.GetJID(to));
Thread.Sleep(300);
this.Instance.SendMessage(WhatsApp.GetJID(to), msg);
        if (Sessions.ContainsKey(Fnx.ClearJid(to)))
        {
            if (last)
                Sessions[Fnx.ClearJid(to)].LastMsg = msg;
            Sessions[Fnx.ClearJid(to)].ReceiveSend = true;
        }

        }).Start();
}

private void Instance_OnGetMessage(ProtocolTreeNode messageNode, string from, string id, string name, string message, bool receipt_sent)
{
new System.Threading.Tasks.Task(() =>
{
//reply to from
ReplayText(from, "text reply...");
}).Start();
}
—
Reply to this email directly or view it on GitHub.

@yndmai45 @vovanb any kind of bulk sending / receiving will be blocked by WhatsApp, no matter if it's spam or not, when you manage huge data, WhatsApp will block you.

No I am not using bulk sending - the reply sent manually by live agent
On Thu, Jul 23, 2015 at 11:18 AM, mgp25<EMAIL_ADDRESS>wrote:

@yndmai45 https://github.com/yndmai45 @vovanb
https://github.com/vovanb any kind of bulk sending / receiving will be
blocked by WhatsApp, no matter if it's spam or not, when you manage huge
data, WhatsApp will block you.
—
Reply to this email directly or view it on GitHub
https://github.com/mgp25/Chat-API-NET/issues/38#issuecomment-124018829.

--
Sincerely,
Vladimir

thanks for the answer @mgp25
what is the solution?
place users in a queue and not send ack reading?
if I put a greater delay time to read and answer and send SendUnsubscribeHim before responding to another User solve the blocking problem?
some command sent when it leaves the chat screen and goes to the historical conversations, and when you open a new chat screen?

someone who can help? I am willing to share part of the profit of this project who can help me to stay stable


Adds user namespace support to libcontainer

The build will fail as this depends on golang 1.4
I am sending the PR, hoping to get people to test it and give feedback.
There are still log statements for debugging that I will clean up (but keeping them now to make it easier to catch issues).
@crosbymichael @vmarmol @rjnagal PTAL and try it out :)

@avagin Yes, we need to add support for userns to nsenter. I was thinking of doing that in follow on patches after this one gets in.

This is looking good, just installed Go 1.4 for testing

Maybe we can get this merged this week.
ping @LK4D4 @vmarmol

Cool, I will rebase it and address comments.

Ping anyone? :)

@mrunalp Hah, sorry, will review now.

@LK4D4 Any more comments? :)

LGTM

LGTM

Really looking forward to this. Out of impatience when can we expect to make use of uid and gid mappings with docker run?

@brauner Don't know when that will land, but work has started on basic docker integration. Keep an eye on the PRs :)

@mrunalp excellent! :)

This is great! Can you please link a relevant PR from Docker to this one?

@slafs We will link when we create it :)

@slafs https://github.com/docker/docker/pull/12648


The URL on the page doesn't match the address bar of the browser

The URL component under the map gets out of sync with the address bar in the browser, there's something going on where it doesn't update with every change.

Check Routing Configuration:
Make sure that your routing configuration is correctly set up. In the context of a Django project, ensure that your URL patterns in urls.py are correctly configured to handle the expected URLs.
Use Proper Navigation:
If you're using JavaScript to navigate within your web application (e.g., using AJAX or JavaScript libraries), make sure that you're updating the browser's history properly. This is particularly important for ensuring that the URL in the address bar stays in sync with the application's state.
Use History API:
Modern web browsers provide the History API, which allows you to manipulate the browser's history and change the URL without triggering a full page reload. If your application relies heavily on dynamic updates without full page reloads, consider using the History API to update the URL.
Check for Redirects:
If your application uses redirects, make sure that they are configured correctly and are not causing unexpected URL changes.
Debugging Tools:
Use browser developer tools to inspect network requests, console logs, and any JavaScript errors. This can help you identify what's causing the URL to go out of sync.
Hash Routing:
If you're using hash routing (e.g., example.com/#/page), the URL after the hash symbol is typically handled by JavaScript on the client side. Ensure that your JavaScript is properly managing the hash routing and updating the browser's history as needed.
AJAX and History Changes:
If you're making AJAX requests to update content on the page without a full reload, ensure that these updates are correctly manipulating the browser's history to reflect the changes.
Browser Extensions:
Sometimes browser extensions or caching can interfere with URL updates. Try testing your application in an incognito/private browsing window or with browser extensions disabled to see if the issue persists.
React to Browser Events:
If you're using JavaScript libraries like React or Angular, ensure that you're properly handling browser events such as popstate to respond to changes in the browser's history.
Consult Documentation:
Check the documentation of the libraries or frameworks you're using. They might have specific recommendations or troubleshooting steps for maintaining URL synchronization.


Add new method read_frame

Hello,
I added a method, read_frame to support efficient reading of data marked by a delimiter character (e.g. "\n" or "\0"). In my case, I'm reading binary frames of data, but it would also be useful for reading line-based protocols.
I've included spec tests for the new functionality as well.

Looks good! Thanks for contributing


Create first directories tree for application code

Create a directory src and packages App and Utils in it. We will then create other packages while designing "on the fly" the software architecture of the application.

It finally appears that Buffers, Cameras and Display will be internal entities for the application.
The code of some classes has been implemented also.

It finally appears that Buffers, Cameras and Display will be internal entities for the application.
The code of some classes has been implemented also.

Furthermore, package Utils embeds now two modules and the avt application main function is now ready: its lauching is ok, its internal coding is in progress.

Furthermore, package Utils embeds now two modules and the avt application main function is now ready: its lauching is ok, its internal coding is in progress.

Completed.

Completed.


Suggested GFortran coarray cleanup patch

For GFortran 8 (expected to be released spring 2018) character lengths have been changed to be size_t rather than int. This patch does the same changes to the coarray API, and also to use plain int rather than int32_t for process exit values.
See https://gcc.gnu.org/ml/fortran/2018-02/msg00039.html

Thanks so much for reminding us to address this, Janne!


dev_login: Move owners to the top

Since owners have the highest privilege level, it made little sense to sandwich them between administrators and guests.

This is probably a good change; one thing I'm unsure about is whether we should swap which of Iago and Desdemona is an owner vs. administrator, so that Iago (our default admin type user in tests) remains the user on top.

I don’t see what that question has to do with the display order, but I claim it’s actually more correct for those tests to verify that only the lower admin privilege level is needed, even if that’s only a retroactive justification.

Yeah, I'm OK with seeing what the impact is before taking more action here.  There is a small amount of manual testing data setup we have for Iago we'll probably want to add for Desdemona, but that can happy naturally over time.


Issues About Move Spectator Freely in the Replay

CARLA version: 0.9.14
Platform/OS: Windows 10
Problem you have experienced: The spectator cannot be moved during replay using the mouse and keyboard
What you expected to happen: Move the spectator freely during the replay
Hi, I am trying to move the spectator during replay in CARLA 0.9.14 and I realize that set_replayer_ignore_spectator is no longer available. Here is part of my code and camera is set to 0:
client = carla.Client('localhost', 2000)
client.set_timeout(10.0)
start = 0
duration = 0
camera = 0
client.set_replayer_ignore_spectator(True)
# client.set_replayer_ignore_hero(True)

client.replay_file(selectedReplayFile, start, duration, camera)

Is there any way I can move the spectator during replay? Thank you very much!

Hey I have been able to repro your bug and we are aware of it... I have found in my case if i do not call client.set_replayer_ignore_spectator(True) it is ignored by default. Is strange behaviour we will look at it


facebook  get-duration is null

$ youtube-dl --get-duration https://www.facebook.com/DonaldTrump/videos/10159664271045725/
WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

No such metadata available.


Give an actionable error message if an optional parameter is not set

Resolves #25

Unfortunately, this approach does not work (see failing tests).


Update support info for service workers

The website linked says that service workers are now ready 🎉
A version of #4676 that targets next instead of master.

Thanks!


'M_PI' is deprecated

'M_PI' is deprecated: Please use 'Double.pi' or '.pi' to get the value of correct type and avoid casting.

Sorry, it was solved.


--primary-only fix

Ensures that only posters from the primary set are pulled when --primary-only is used

Looks good, seems to be working for me 👍🏻
Closes #6


Implement MockDeviceMapAddressSize::Byte2

Feature Request
Implement efficient form of the device map for MockDeviceMapAddressSize::Byte2.

This can be solved with the implementation of this: #1330


[Bug] Wrong cursor position if editor has transform: scale(0.4);

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Link
Playground Link
Monaco Editor Playground Code
JS:
const value = `'''
Try to click in the area
between the lines.
The cursor might appear in the wrong
place
'''

def main():
    print("Hello World!")

if __name__ == "__main__":
    main()
`;

const myEditor = monaco.editor.create(document.getElementById("container"), {
	value,
	language: "python",
	automaticLayout: true,
	fontSize: 30
});

// remeasureFonts() doesn't help
setTimeout(() => {
	console.log('remeasure fonts');
	monaco.editor.remeasureFonts();
}, 1000);

HTML:

CSS:
.scaled {
    height: 100%;
    transform: scale(0.4);
}

Reproduction Steps

Apply transform: scale(0.4); to the container with monaco-editor
Click the area BETWEEN any code lines

Actual (Problematic) Behavior

The cursor is placed in an unexpected place 2 lines away from the click

Expected Behavior

The cursor is placed in the line directly above or below the clicked area

Additional Context
https://github.com/microsoft/monaco-editor/assets/2017344/90f90f94-e704-41c3-89fc-7ccd1bbde096
The problem doesn't appear if clicked directly on the line.
Possibly related to https://github.com/microsoft/monaco-editor/issues/2347

Could someone please take a look? This bug is easy to reproduce on the playground.

I have also encountered this problem, is there a corresponding solution? Thank you very much

This is a problem for me also, a solution would be great, thanks.

This is reproducible for me too


chore(devimint): workaround flakiness in setting up LN gateways

There's a complicated web of initialization dependencies in areas of LN that leads to flakes.
Most importantly devimint expects gateway-cli info to tell if gatewayd started. This doesn't currently work well, because it will hang for 60s or until gateway gets a channel opened. But then in a "new way" of opening channel doing so can't happen until gateway is ready to respond to API calls.
And then 60s of timeout is as much as other steps in devimint are actually polling some stuff. Some then sometimes it works, sometimes it doesn't.
Then fedimint-cli connect-fed also has the same behavior of waiting for a route hint from the channel. I don't change that, because it would probably spook many places in the tests that expect the hint to be there.
But generally currently it's all messed up to the point where it's hard to keep track of write a reliable code that would setup up devimint with gateways.

@fedimint/lightning for awarness

Before:

After:


DCG translator has (+)/1 translation missing

I have some DCG code, with (\+)/1 in it. When I try to consult it, nothing happens
reader_primary(X, _, 0) --> ['('], !, reader(X, 1200), reader_close.
reader_primary(H, L, R) --> [A], {current_op(R, M, A), is_prefix(M, E)}, \+ reader_stopper, !,
   {L < R -> throw(error(syntax_error(operator_clash),_)); true},
   {T is R-E}, reader(Z, T), {H =.. [A,Z]}.
reader_primary(_, _, _) --> reader_stopper,
   {throw(error(syntax_error(cannot_start_term),_))}.
reader_primary(X, _, 0) --> [X].

jburse@DESKTOP-L6JQ5T0:~/trealla$ ./tpl
?- ['reader2.p'].
 true.
?- listing(reader_primary/5).
 true.

When I uncomment the DCG rule that has (\+)/1, then I see something:
...
% reader_primary(H, L, R) --> [A], {current_op(R, M, A), is_prefix(M, E)}, \+ reader_stopper, !,
%     {L < R -> throw(error(syntax_error(operator_clash),_)); true},
%     {T is R-E}, reader(Z, T), {H =.. [A,Z]}.
...

?- ['reader2.p'].
 true.
?- listing(reader_primary/5).
reader_primary(_0,_1,0,_10,_11):-_10=['('|_48],(! , _48=_96),reader(_0,1200,_96,_119),reader_close(_119,_11).
reader_primary(_0,_1,_2,_12,_13):-reader_stopper(_12,_50),throw(error(syntax_error(cannot_start_term),_3)),_50=_13.
reader_primary(_0,_1,0,_10,_11):-_10=[_0|_11].
 true.

The expectation would be rather that (\+)/1 as per DCG draft is supported.

The negation rule is commented out (ask @UWN why, it's his code) as it is
in Scryer.
%% dcg_constr(+ _). % 7.14.11 - not (existence implementation dep.)
You could try enabling it (and recompiling Trealla) to see how it goes.
On Thu, May 5, 2022 at 5:02 PM Jean-Luc-Picard-2021 <
@.***> wrote:

I have some DCG code, with (+)/1 in it. When I try to consult it,
nothing happens
reader_primary(X, , 0) --> ['('], !, reader(X, 1200), reader_close.
reader_primary(H, L, R) --> [A], {current_op(R, M, A), is_prefix(M, E)}, + reader_stopper, !,
{L < R -> throw(error(syntax_error(operator_clash),)); true},
{T is R-E}, reader(Z, T), {H =.. [A,Z]}.
reader_primary(_, _, ) --> reader_stopper,
{throw(error(syntax_error(cannot_start_term),))}.
reader_primary(X, _, 0) --> [X].
@.***:~/trealla$ ./tpl
?- ['reader2.p'].
true.
?- listing(reader_primary/5).
true.
When I uncomment the DCG rule that has (+)/1, then I see something:
...
% reader_primary(H, L, R) --> [A], {current_op(R, M, A), is_prefix(M, E)}, + reader_stopper, !,
%     {L < R -> throw(error(syntax_error(operator_clash),_)); true},
%     {T is R-E}, reader(Z, T), {H =.. [A,Z]}.
...
?- ['reader2.p'].
true.
?- listing(reader_primary/5).
reader_primary(_0,_1,0,_10,_11):-_10=['('|_48],(! , _48=_96),reader(_0,1200,_96,_119),reader_close(_119,_11).
reader_primary(_0,_1,_2,_12,_13):-reader_stopper(_12,_50),throw(error(syntax_error(cannot_start_term),_3)),_50=_13.
reader_primary(_0,_1,0,_10,_11):-_10=[_0|_11].
true.
The expectation would be rather that (+)/1 as per DCG draft is supported.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/549, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSETZIPTJUHA64F4KUJLVINW7LANCNFSM5VED2F6Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

So far ECLiPSe Prolog, SWI-Prolog, GNU Prolog, SICStus Prolog have it.
Why should it not be part of the default DCG implementation of a Prolog system?
It doesn't require something that a Prolog system couldn't deliver.
It only requires negation as failure, which is part of ISO core standard.
I find that Trealla Prolog has negation as failure:
?- \+ 1=2.
 true.

The translation is straight forward:
p --> \+ q, r.

?- listing.

p(A, B) :-
   \+ q(A, _),
   A = C,
   r(C, B).

I don't know whether UWNs code does it right. UWNs code is known to have problems.

Yes UWNs code doesn't make any sense:
dcg_cbody(\+ GRBody, S0, S, ( \+ phrase(GRBody1,S0,_), S0 = S ), M) :-
    module_call_qualified(M, GRBody, GRBody1).

He does not compile (+)/1, makes it a call to phrase/3.

It is commented out because there is not much agreement for this construct. See this question a decade ago. The very same person like this one here was the only answerer.

The question has two former answers from me. Stackoverflow didn't allow
me to delete them. Nobody else has answered, and you are asking
the wrong question.
I find that ECLiPSe Prolog, SWI-Prolog, GNU Prolog and
SICStus Prolog support it. They all translate are able to support
(\+)/1 inside DCG.

The declarative reading is relatively trivial.
Take this example from above:
p(A, B) :-
   \+ q(A, _),
   A = C,
   r(C, B).

The declarative reading is as follows:
p(A, B) <-
   ~EXISTS(D): q(A, D) &
   A = C  &
   r(C, B).

Its not really rocket science.

I changed dcgs.pl into the below attached file,
and called make, and I have now a version with (+)/1.
But I am not sure whether this dcgs.pl will survive my next git pull.
dcgs.pl.txt

Not yet everybody, lets say a majority? Dunno exactly...


fixed incorrect tx hashes

Solves Issue #7.

Good work here. This must have been a change in the RPC return at some point... it used to be formatted strangely, but I guess it was made simpler.


libsForQt5.alkimia: 8.1.0 -> 8.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/alkimia/versions.
meta.description for libsForQt5.alkimia is: "Library used by KDE finance applications"
meta.homepage for libsForQt5.alkimia is: ""
meta.changelog for libsForQt5.alkimia is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.1.1 with grep in /nix/store/cl6mmv41gpqvj5461n93nridrmwy9s63-alkimia-8.1.1
found 8.1.1 in filename of file in /nix/store/cl6mmv41gpqvj5461n93nridrmwy9s63-alkimia-8.1.1

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

11 total rebuild path(s)

6 package rebuild(s)

6 x86_64-linux rebuild(s)
5 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
kmymoney
libsForQt5.alkimia
libsForQt512.alkimia
libsForQt514.alkimia
libsForQt515.alkimia
plasma5Packages.alkimia

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cl6mmv41gpqvj5461n93nridrmwy9s63-alkimia-8.1.1 \
  --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 libsForQt5.alkimia https://github.com/r-ryantm/nixpkgs/archive/e696a4f2e2f91cdf7d0979dd8f4aaa9c8b7b81a0.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/cl6mmv41gpqvj5461n93nridrmwy9s63-alkimia-8.1.1
ls -la /nix/store/cl6mmv41gpqvj5461n93nridrmwy9s63-alkimia-8.1.1/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

2 packages marked as broken and skipped:

libsForQt512.alkimia
libsForQt514.alkimia

2 packages built:

kmymoney
libsForQt5.alkimia

Maintainer pings

Result of nixpkgs-review pr 174402 run on x86_64-linux 1

2 packages marked as broken and skipped:

libsForQt512.alkimia
libsForQt514.alkimia

2 packages built:

kmymoney
libsForQt5.alkimia (libsForQt515.alkimia ,plasma5Packages.alkimia)


Add CentOS7-compatible target for aarch64

Add Dockerfile.aarch64-unknown-linux-gnu.centos for centos7, using glibc-2.17

it's the force-pushes that make github not happy, since the branch is the default branch. On a non-default branch it'd be fine.
git checkout -b aarch64-centos

To add the image to ci, edit
https://github.com/cross-rs/cross/blob/47df5c76e7cba682823a0b6aa6d95c17b31ba63a/.github/workflows/ci.yml#L151-L212
and add
- { target: aarch64-unknown-linux-gnu, sub: centos, os: ubuntu-latest,  cpp: 1, dylib: 1, std: 1, run: 1, runners: native qemu-user qemu-system }

then run cargo xtask codegen

it's the force-pushes that make github not happy, since the branch is the default branch. On a non-default branch it'd be fine.
git checkout -b aarch64-centos

Thanks for advice. I'll checkout a  new branch and add the image to ci in that branch


Course plagiarism cases don't work and show internal server error

Describe the bug
The instructor cannot access the plagiarism cases of the particular course. By trying to do so, the Internal server error appears.
To Reproduce

Go to a course which contains the plagiarism cases
Click on 'Plagiarism Cases' button
See error

Expected behavior
The instructor can access the overview of the plagiarism cases without getting an error.
Screenshots

What browsers are you seeing the problem on?
Chrome, Safari, Firefox
Additional context
No response
Relevant log output
No response

This issue was recently fixed


Remove custom project load style

This had been in place for some performance issues in VS. It does make
development challenging, and with the refactoring of the framework from
the strongly typed classes, Visual Studio seems to handle this better.

/azp run

/azp run

/azp run

/azp run


BD-UHD demux with eac3to issue

Trying to make a demux of the BD-UHD with staxrip (<IP_ADDRESS>) always results in an error (1) for eac3to (3.34).
Log: MiB3 - Log.txt

thx for the headsup....good to know I should stick to <IP_ADDRESS>.0 for a while longer :)


Dev login index

mj add login to project

LGTM! @smmtaheri Please review and merge it

we should think about storing of core objects in session.. maybe redis is a good solution