ARP responder replying to requests for IP on the same endpoint that owns that IP.

Bug report
It looks like the ARP responder is answering to ARP requests for IPs on the same endpoint that owns that IP. If that IP is reassigned within the pod, it may fail if there is some duplicate address detection going on which expects that nobody to answer ARP broadcasts for the IP that is being assigned.
This can happen when using kubevirt for VM instances with interfaces configured in bridge mode, where the IP of the pod is reassigned to the VM hosted within the pod.

General Information

Cilium version: 1.5.3)
Kernel version: 4.12
Orchestration system version in use: 1.15
Link to relevant artifacts (policies, deployments scripts, ...)
Upload a system dump (run curl -sLO https://github.com/cilium/cilium-sysdump/releases/latest/download/cilium-sysdump.zip && python cilium-sysdump.zip and then attach the generated zip file)

How to reproduce the issue

Deploy kubernetes with cilium and kubevirt.
Run a VM instance with pod network mode and bridge interface mode. Use a VM that does duplicate address detection. In our case we were using SLES images, probably openSUSE as well. Another way to verify is to run an arping from the VM and no answer should be expected as nobody except the VM is holding that IP.

Bug report
It looks like the ARP responder is answering to ARP requests for IPs on the same endpoint that owns that IP. If that IP is reassigned within the pod, it may fail if there is some duplicate address detection going on which expects that nobody to answer ARP broadcasts for the IP that is being assigned.

@jcaamano thanks for opening the GH issue. Can you clarify what you mean by "IPs on the same endpoint that owns that IP"?

This can happen when using kubevirt for VM instances with interfaces configured in bridge mode, where the IP of the pod is reassigned to the VM hosted within the pod.
General Information

Cilium version: 1.5.3)
Kernel version: 4.12
Orchestration system version in use: 1.15
Link to relevant artifacts (policies, deployments scripts, ...)
Upload a system dump (run curl -sLO https://github.com/cilium/cilium-sysdump/releases/latest/download/cilium-sysdump.zip && python cilium-sysdump.zip and then attach the generated zip file)

How to reproduce the issue

Deploy kubernetes with cilium and kubevirt.
Run a VM instance with pod network mode and bridge interface mode. Use a VM that does duplicate address detection. In our case we were using SLES images, probably openSUSE as well. Another way to verify is to run an arping from the VM and no answer should be expected as nobody except the VM is holding that IP.

Sorry for the crude description.
So, within a pod:
bash-5.0# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
12: eth0@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP group default
    link/ether 46:f7:31:2a:64:92 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::44f7:31ff:fe2a:6492/64 scope link
       valid_lft forever preferred_lft forever

Still in the pod:
bash-5.0# arping -I eth0 -c 1 <IP_ADDRESS>
ARPING <IP_ADDRESS> from <IP_ADDRESS> eth0
Unicast reply from <IP_ADDRESS> [4A:E8:4B:06:B8:C0]  0.571ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)

Someone is answering arp requests for the pod's IP with mac 4A:E8:4B:06:B8:C0, this is not the pod's mac.
On that pod's node:
sles@cluster1-worker-1:~> ip l show lxc8f587c18c59a
13: lxc8f587c18c59a@if12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 4a:e8:4b:06:b8:c0 brd ff:ff:ff:ff:ff:ff link-netnsid 3

It's the mac of a pod's veth on the host side.
Getting the enpoing info
kabir@kabir:~> kctl1 -n kube-system exec -ti cilium-gl4fm -- cilium endpoint get 3611
...
      "networking": {
        "addressing": [
          {
            "ipv4": "<IP_ADDRESS>"
          }
        ],
        "host-mac": "4a:e8:4b:06:b8:c0",
        "interface-index": 13,
        "interface-name": "lxc8f587c18c59a",
        "mac": "46:f7:31:2a:64:92"
      },
....

So it's the mac of that pod's veth on the host side.
From the pods perspective, I think it is reasonable to expect that nobody answers for an arp request on it's own IP if there is nothing else holding that IP on the same L2 segment.
I am assuming this is happening here and then here.
So one solution could be to compare the target ip on the arp request with LXC_IPV4 and drop or let the kernel handle it on match.
I am guessing a lot here but it sounds reasonable I can attempt to fix

The reason for the current behavior, answer to any IP, is that was difficult to correctly restore the router IP. If for some reason, the router IP cannot be restored after a restore, it is allocated from the range. This new router IP can be different than an existing configured router IP inside of an existing pod. This resulted in connectivity issues.
While we can certainly fix this, we need to be sure to not break the router IP restore problematic.

The reason for the current behavior, answer to any IP, is that was difficult to correctly restore the router IP. If for some reason, the router IP cannot be restored after a restore, it is allocated from the range. This new router IP can be different than an existing configured router IP inside of an existing pod. This resulted in connectivity issues.
While we can certainly fix this, we need to be sure to not break the router IP restore problematic.

@tgraf if I understand it correctly, not answering to the pod IP would be an improvement and I don't think it would break the above mechanic. Anyway, do you have a code pointer where this is going on so I can understand it better? Thanks!

@tgraf if I understand it correctly, not answering to the pod IP would be an improvement and I don't think it would break the above mechanic. Anyway, do you have a code pointer where this is going on so I can understand it better? Thanks!

Yes, I agree. A good fix here could be to ignore the pod IP but keep on responding to all other IPs. That would solve the DAD problem while not relying on restoring the router IP consistently.

@tgraf In regards to router IP restore problematic, if the problem is that the router IP allocated by the agent might be different to the gateway set on existing pods routing tables, would it be enough and make sense to have something like LXC_IPV4_GATEWAY in lxc_config (as part of the endpoint config static data) to reflect this?


SSL Web Socket Error: stream truncated

Hello.
I investigate boost.beast library to host web socket services in my c++ app.
I try with two examples from beast library: websocket_server_sync.cpp and websocket_server_sync_ssl.cpp.
Without SSL web socket works correctly.
But if I run SSL web socket I get following error:
Error: stream truncated
It occurs during ws.accept().
Could you please explain what the possible reason of such behavior?
BOOST_BEAST_VERSION 124
As client I use simple JavaScript:

Try using different browsers. I have noticed that some browsers work and others don't. I believe it has something to do with the self-signed certificates that the beast examples use.

Anyway "stream truncated" means that the other end closed the connection abruptly. Chrome does this often, it usually never performs the SSL closing handshake. Google says that behavior leads to better performance.

I try to open in three different browsers, results is following:
Firefox: Error: tlsv1 alert unknown ca
Chrome: Error: stream truncated
Opera: Error: stream truncated
All errors occurs during ws.accept().
Which browser do you use for this examples, or this problem specific for different machine and OS?

Microsoft Edge browser worked for me. Chrome and Firefox did not.

The problem was connected with self signed certificate.
All works fine if in Firefox I add my server (localhost:8080) to Server Exception in Certificate Manager.
And also I have tried to run ssl server with my certificate which is not self signed and which has correct Common Name (CN) = localhost and has correct Subj Alt Name = localhost. With my certificate SSL Web Sockets server works correctly in all browsers.
Many thanks for your quick replies.

Glad to hear that you got it sorted! SSL certificates are a hassle...


Highlight active cell

The active cell isn't distinguished from other cells, except by the presence of a cursor, which makes it difficult to navigate up or down with the keyboard. Perhaps the active cell's background or border should be darker than other cells', say.

yea i think something like this is a good idea.  thank you.


Support for 5-wire stepper with ULN2003

Do you think it is feasible to support the cheap stepper motors (ex. 28BYJ-48)?
If not, do you know, by any chance, an alternative with same characteristics?
Cheers

There is no plan to support 5 wire steppers without driver, which has step/dir-inputs.
Perhaps AccelStepper can do the trick.


Migrate the build shield from .org to .com

Not landing since we don't want to upstream this; just used this PR to register the checks with the branch policy in the repository.


Catalina Question Marks

Kyle,
I just tested dockutil 2.0.5 in a Mac with a freshly installed version Catalina from Apple. I've been using dockutil successfully for a couple of years now in our Jamf Server. In the last two tests  I received "?" marks in the Dock instead of the Applications that all come from the /Applications folder. Utilities and everything else shows as expected. Is this a known issue or am I just doing something incorrectly? Thanks for all the work you do!

I’m not seeing that issue but maybe usage specific.
Kyle
Sent from Mobile

On Oct 25, 2019, at 2:09 PM, Maddog1314<EMAIL_ADDRESS>wrote:
Kyle,
I just tested dockutil 2.0.5 in a Mac with a freshly installed version Catalina from Apple. I've been using dockutil successfully for a couple of years now in our Jamf Server. In the last two tests I received "?" marks in the Dock instead of the Applications that all come from the /Applications folder. Utilities and everything else shows as expected. Is this a known issue or am I just doing something incorrectly? Thanks for all the work you do!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Are you trying to use your existing dockutil scripts? We had this issue and it turns out the problem is that in Catalina many of the applications now reside in /System/Applications/. In our standard dock setup the only apps that worked as before were /Applications/Safari and /Applications/Self Service

I'm trying to put in Applications directly from the /Applications folder
like Dictionary or Automater and they show up as a "?" only. The strange
thing is that other items that I have developed and put into the
Applications folder or items from /System/Library/CoreServices/Applications
show up there. It looks like in Get Info. they still all have the same .app
after the Application name.
Jeff Madson
IT Engineer 3
<EMAIL_ADDRESS><EMAIL_ADDRESS>D:<PHONE_NUMBER>
[image: lsccom.com]
LSC Communications
655 Brighton Beach Rd.
Menasha, WI 54952
United States
lsccom.com
On Fri, Oct 25, 2019 at 1:54 PM kevindigg<EMAIL_ADDRESS>wrote:

Are you trying to use your existing dockutil scripts? We had this issue
and it turns out the problem is that in Catalina many of the applications
now reside in /System/Applications/. In our standard dock setup the only
apps that worked as before were /Applications/Safari and /Applications/Self
Service
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ALDJAOGV4FQF7RW46TPCUV3QQM6H3A5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJH4EI#issuecomment-546471441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDJAOAFSMZHDV3N4RSRZZDQQM6H3ANCNFSM4JFGZU2Q
.

You have to update your scripts for Catalina. While the paths are identical in "Finder" behind the scenes they have moved to /System/Applications with the exception of Safari.
Thanks,
Erik Gomez

From: Maddog1314<EMAIL_ADDRESS>Sent: Friday, October 25, 2019 2:23:02 PM
To: kcrawford/dockutil<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [kcrawford/dockutil] Catalina Question Marks (#86)
I'm trying to put in Applications directly from the /Applications folder
like Dictionary or Automater and they show up as a "?" only. The strange
thing is that other items that I have developed and put into the
Applications folder or items from /System/Library/CoreServices/Applications
show up there. It looks like in Get Info. they still all have the same .app
after the Application name.
Jeff Madson
IT Engineer 3
<EMAIL_ADDRESS><EMAIL_ADDRESS>D:<PHONE_NUMBER>
[image: lsccom.com]
LSC Communications
655 Brighton Beach Rd.
Menasha, WI 54952
United States
lsccom.com
On Fri, Oct 25, 2019 at 1:54 PM kevindigg<EMAIL_ADDRESS>wrote:

Are you trying to use your existing dockutil scripts? We had this issue
and it turns out the problem is that in Catalina many of the applications
now reside in /System/Applications/. In our standard dock setup the only
apps that worked as before were /Applications/Safari and /Applications/Self
Service
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ALDJAOGV4FQF7RW46TPCUV3QQM6H3A5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJH4EI#issuecomment-546471441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDJAOAFSMZHDV3N4RSRZZDQQM6H3ANCNFSM4JFGZU2Q
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ABLL6GHOVVDO3OPSBQJFLN3QQNBRNA5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJKGSA#issuecomment-546480968, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABLL6GDUGG3Q5C5EVYKNSDDQQNBRNANCNFSM4JFGZU2Q.

Thanks Erik and Everyone,
Putting in the new paths fixed the problem.
Jeff Madson
IT Engineer 3
<EMAIL_ADDRESS><EMAIL_ADDRESS>D:<PHONE_NUMBER>
[image: lsccom.com]
LSC Communications
655 Brighton Beach Rd.
Menasha, WI 54952
United States
lsccom.com
On Fri, Oct 25, 2019 at 4:56 PM Erik Gomez<EMAIL_ADDRESS>wrote:

You have to update your scripts for Catalina. While the paths are
identical in "Finder" behind the scenes they have moved to
/System/Applications with the exception of Safari.
Thanks,
Erik Gomez

From: Maddog1314<EMAIL_ADDRESS>Sent: Friday, October 25, 2019 2:23:02 PM
To: kcrawford/dockutil<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [kcrawford/dockutil] Catalina Question Marks (#86)
I'm trying to put in Applications directly from the /Applications folder
like Dictionary or Automater and they show up as a "?" only. The strange
thing is that other items that I have developed and put into the
Applications folder or items from /System/Library/CoreServices/Applications
show up there. It looks like in Get Info. they still all have the same .app
after the Application name.
Jeff Madson
IT Engineer 3
<EMAIL_ADDRESS><EMAIL_ADDRESS>D:<PHONE_NUMBER>
[image: lsccom.com]
LSC Communications
655 Brighton Beach Rd.
Menasha, WI 54952
United States
lsccom.com
On Fri, Oct 25, 2019 at 1:54 PM kevindigg<EMAIL_ADDRESS>wrote:

Are you trying to use your existing dockutil scripts? We had this issue
and it turns out the problem is that in Catalina many of the applications
now reside in /System/Applications/. In our standard dock setup the only
apps that worked as before were /Applications/Safari and
/Applications/Self
Service
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ALDJAOGV4FQF7RW46TPCUV3QQM6H3A5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJH4EI#issuecomment-546471441
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ALDJAOAFSMZHDV3N4RSRZZDQQM6H3ANCNFSM4JFGZU2Q
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ABLL6GHOVVDO3OPSBQJFLN3QQNBRNA5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJKGSA#issuecomment-546480968>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ABLL6GDUGG3Q5C5EVYKNSDDQQNBRNANCNFSM4JFGZU2Q

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kcrawford/dockutil/issues/86?email_source=notifications&email_token=ALDJAOCRJVS6GTE7HTLJLLDQQNTR3A5CNFSM4JFGZU22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECJVKEA#issuecomment-546526480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDJAOC22A3GW5U7DIEZRUTQQNTR3ANCNFSM4JFGZU2Q
.

3.0.1 will use path from /System/Applications if it exists and the /Applications path does not exist

Kyle,
Very cool, thanks!
Jeff Madson
IT Engineer 3
@.***
D:<PHONE_NUMBER>
[image: lsccom.com]
LSC Communications
655 Brighton Beach Rd.
Menasha, WI 54952
United States
lsccom.com
On Tue, Mar 8, 2022 at 2:32 AM Kyle Crawford @.***>
wrote:

3.0.1 will use path from /System/Applications if it exists and the
/Applications path does not exist
—
Reply to this email directly, view it on GitHub
https://github.com/kcrawford/dockutil/issues/86#issuecomment-1061529348,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDJAOBEBPNJIKXIYRHI4GLU64GADANCNFSM4JFGZU2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Lab 06a invalid column name in query

Module: Load data into a Microsoft Fabric data warehouse
Lab/Demo: 06a Load data into a warehouse in Microsoft Fabric
Task: Run analytical queries
Step: 1
https://github.com/MicrosoftLearning/mslearn-fabric/blob/main/Instructions/Labs/06a-data-warehouse-load.md#run-analytical-queries
Description of issue
In the query
SELECT c.CustomerName, SUM(s.UnitPrice * s.Quantity) AS TotalSales
FROM Sales.Fact_Sales s
JOIN Sales.Dim_Customer c
ON s.SalesOrderNumber = c.SalesOrderNumber
WHERE YEAR(s.OrderDate) = 2021
GROUP BY c.CustomerName
ORDER BY TotalSales DESC;

the column to join tables on should be CustomerID; Dim_Customer does not have the column SalesOrderNumber.
Repro steps:

Follow the lab instructions.

Hello @Solita-VillePuuska
An update has been made and this issue has been fixed.
Regards,
Mihai


Extraction

Coverage increased (+0.0%) to 96.27% when pulling f2d16c7cf991518c08f9df5529a6fdf4db8a3285 on extraction into<PHONE_NUMBER>4b79af07cec3435b11ab30c09d6f56 on master.


Make the sourceId getter fallback to _stats.compendiumSource if no flag exist

Foundry V12 seem to always add the source id of a document in _stats.compendiumSource, but the system sourceId getter only look for the flag and it doesn't always exist. A fallback would be helpful.

make a PR, you bum

i was about it


[BOP-178] doc changes to support manifest

JIRA Ticket: https://mirantis.jira.com/browse/BOP-178
bctl now supports creating addons via manifest.
We can create AddOns via HelmCharts as well as Manifests. For this, you can specify the kind of addon you want to create in  the AddOnSpec. It can be set to either manifest or chart.
AddOn with kind : chart
addons:
      - name: my-grafana
        kind: chart
        enabled: true
        namespace: monitoring
        chart:
          name: grafana
          repo: https://grafana.github.io/helm-charts
          version: 6.58.7
          values: |
            ingress:
              enabled: true

AddOn with kind : manifest
addons:
      - name: calico
        kind: manifest
        enabled: true
        namespace: boundless-system
        manifest:
          url: "https://raw.githubusercontent.com/projectcalico/calico/v3.26.3/manifests/calico.yaml"

Can you add a section as website/content/docs/blueprints/addons/manifests.md that gives information on using manifests?

There is already one.
https://github.com/Mirantis/boundless/blob/main/website/content/docs/blueprints/addons/manifest.md


Could not make argcomplete work with zsh

Tried to follow zsh autocomplete configuration guide from https://pypi.org/project/argcomplete/ (section "Zsh Support") but haven't succeeded.
If I add to .zshrc this (as in guide):
autoload -U bashcompinit
bashcompinit
eval "$(register-python-argcomplete /Users/d.vinokurov/work/lptl/lptl.py)"

Then I got error on zsh start:
complete:13: command not found: compdef

Googled it and found solution, now my .zshrc is such:
autoload -Uz compinit
compinit
autoload -U bashcompinit
bashcompinit
eval "$(register-python-argcomplete /Users/d.vinokurov/work/lptl/lptl.py)"

Now zsh prints:
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?

compaudit shows:
There are insecure directories:
/usr/local/share/zsh/site-functions
/usr/local/share/zsh

So I think it is not related to argcomplete. Pressed "y" but autocomplete still don't work.
Googled more and found that I need to source bash autocomplete script. So changed my autocomplete section in .zshrc:
autoload -Uz compinit
compinit
autoload -U bashcompinit
bashcompinit
source /Users/d.vinokurov/.bash_completion.d/python-argcomplete
eval "$(register-python-argcomplete /Users/d.vinokurov/work/lptl/lptl.py)"

But it does not work too.
Please help me.

These are the instructions I have previously used to get this working with zsh: https://github.com/kislyuk/argcomplete/issues/10#issuecomment-19369876
It's possible that this is no longer working in newer versions of zsh. Which version are you running?
Have you confirmed that the script you're trying to complete works in another shell, e.g. Bash?

I ran into same issue i had to run
autoload -Uz compinit
compinit

I am using following version on a Mac
(buildtest) siddiq90@DOE-7086392 buildtest % zsh --version
zsh 5.7.1 (x86_64-apple-darwin19.0)

I have a setup.sh script which i use to install buildtest and depending on the shell i activate the auto complete feature. It's not clear if autoload -Uz compinit and compinit commands are required or it depends on user shell setup

buildtest_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)"
pip=pip3

if ! [ -x "$(command -v $pip)" ]; then
  echo "cannot find program $pip, please install $pip"
  exit 1
fi

echo "Installing buildtest dependencies"
$pip install -r ${buildtest_root}/requirements.txt &> /dev/null

bin=${buildtest_root}/bin
export PATH=${bin}:$PATH
# add PYTHONPATH for buildtest to persist in shell environment
export PYTHONPATH=${buildtest_root}:$PYTHONPATH

# autocomplete buildtest with argcomplete see: https://kislyuk.github.io/argcomplete/#
if [[ "$SHELL" == "/bin/bash" ]]; then
  eval "$(register-python-argcomplete buildtest)"
elif [[ "$SHELL" == "/bin/zsh" ]]; then
  autoload -Uz compinit
  compinit
  autoload -U bashcompinit
  bashcompinit
  eval "$(register-python-argcomplete buildtest)"
fi

buildtest_path=$(which buildtest)
echo "buildtest command: ${buildtest_path}"

Once i ran the script it worked but i was prompted with compinit which i pressed y
(buildtest) siddiq90@DOE-7086392 buildtest % source setup.sh
Installing buildtest dependencies
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y
buildtest command: /Users/siddiq90/Documents/buildtest/bin/buildtest

The tab complete was working after this
(buildtest) siddiq90@DOE-7086392 buildtest % buildtest
--debug     --version   -d          build       config      inspect     schema
--help      -V          -h          buildspec   docs        report      schemadocs

Thanks for your interest in argcomplete. After an extensive attempt to reproduce your issue, I'm unable to do so. Zsh support works for me as described in the readme, on both Mac OS 12 and Ubuntu 22.04.
If you still need help, please describe your exact environment and steps to reproduce from a new install.
To help maintainers focus, am going to close this issue for now. Please feel free to comment if you have further information.


parser,syntax,syntax/stmt: parse var and var-block

This CL implements parsing vars and var-blocks such as:
 var i = 1
 var i int = 1
 var i int
 var i, j = 1, 2
 var i, j int = 1, 2
 var i, j int

and ditto for var-blocks.
Fixes neugram/ng#106.

This needs neugram/ng#138 to go in first.

Codecov Report

Merging #141 into master will increase coverage by 0.23%.
The diff coverage is 64.07%.

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
+ Coverage   49.84%   50.08%   +0.23%
==========================================
  Files          22       22
  Lines        8845     8929      +84
==========================================
+ Hits         4409     4472      +63
- Misses       3996     4012      +16
- Partials      440      445       +5

Impacted Files
Coverage Δ

syntax/walk.go
86.33% <0%> (-3.35%)
:arrow_down:

parser/expr_equal.go
26.45% <26.31%> (+0.68%)
:arrow_up:

parser/parser.go
67.97% <79.22%> (+0.32%)
:arrow_up:

parser/scanner.go
65.97% <0%> (+1.64%)
:arrow_up:

Continue to review full report at Codecov.

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


Link schemas to directory/file name patterns that are defined in profile

Done: https://github.com/KBNLresearch/pdfbatchqa/commit/63503bdd8fd0c8fc0178f76839d092a92c821415


Retrieving an unset config value fails instead of returning that it is not set

Problem
When querying a config value that is unset cargo config get errors out instead of returning the fact that it is not set.
Steps
> env CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu" cargo config get build.target -Z unstable-options --format json-value
"x86_64-unknown-linux-gnu"

> env -u CARGO_BUILD_TARGET cargo config get build.target -Zunstable-options --format json-value
error: config value `build.target` is not set

Possible Solution(s)
When a config is not set it should just return null, so e.g. in this case the output can be directly parsed as an Option<String>.
(At least for --format=json-value, unfortunately the toml format doesn't have such a nice way to encode the lack of value, maybe just emitting nothing).
Notes
No response
Version
cargo 1.76.0-nightly (26333c732 2023-11-28)
release: 1.76.0-nightly
commit-hash: 26333c732095d207aa05932ce863d850fb309386
commit-date: 2023-11-28
host: x86_64-unknown-linux-gnu
libgit2: 1.7.1 (sys:0.18.1 vendored)
libcurl: 8.4.0-DEV (sys:0.4.68+curl-8.4.0 vendored ssl:OpenSSL/1.1.1u)
ssl: OpenSSL 1.1.1u  30 May 2023
os: NixOS 23.11.0 [64-bit]

for JSON format, returning null sounds good to me. One follow-up question is that should cargo config get populate the default value for use or not.


missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>

After installing<EMAIL_ADDRESS>i am unable to start my npm because its looking for<EMAIL_ADDRESS>to resolve this ?
Thanks !

After installing<EMAIL_ADDRESS>
its showing as invalid

and these file are missing error are appearing now.

Same problem with me, I have :
"react": "16.2.0", // latest
"react-native": "0.52.2", //latest not RC.
"prop-types": "^15.5.10"

I've got the same problem when trying to change my dependencies to match that of react native maps.   My map is working perfectly fine even though I'm getting a dependency error... so as of now I'm leaving it.  I'm not sure if that is bad?  I'm relatively new to react, I'm wondering if the react native maps  issue has anything to do with running react native link?

any one give the good solution

No one found a good solution for this issue? it's about 4 days that I am stuck looking for a solution.
I am using the latest version of expo (v25.0.0<EMAIL_ADDRESS>and<EMAIL_ADDRESS>running the command
create-react-native-app maps
I have the following warning:
warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

The only Solution I found was to downgrade react and react native Versions,
in the meantime Is solved
El 28/02/2018 6:32 p.m., "fernandoem88"<EMAIL_ADDRESS>escribió:
No one found a good solution for this issue? it's about 4 days that I am
stuck looking for a solution.
I am using the latest version of expo (v25.0.0<EMAIL_ADDRESS>and
<EMAIL_ADDRESS>running the command
create-react-native-app maps
I have the following warning:
warning<EMAIL_ADDRESS>has incorrect peer dependency
<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer
dependency<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/react-community/react-native-maps/issues/1948#issuecomment-369432715,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG3OosDFxKq9JGKobPNytXrfdi55bSPoks5tZ0GigaJpZM4RVlrF
.

@hekgarcia It works for me. I just npm install whatever the version it needs and it works. For my issue it required<EMAIL_ADDRESS><EMAIL_ADDRESS>svg and websql so here is what i did
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install react-native-svg --save
npm install websql

please help have been trying to  install reactive -native fro google maps  for 2 weeks with  no progress .Have bee geting the followiing
npm install react-native-maps --save
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Student\pac  kage.json'
C:\Users\Student
`--<EMAIL_ADDRESS>npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Student\packag  e.json'
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was in  stalled.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^0.52   || ^0.53 || ^0.54 but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^16.0 b  ut none was installed.
npm WARN Student No description
npm WARN Student No repository field.
npm WARN Student No README data
npm WARN Student No license field.

rollbackFailedOptional: verb npm-session ae2960febc501433


Plugin dashboard

Can be used without threshold, including test data of user and order information

fix error info

fix


As a Restrictive Intune Admin, unable to retrieve the Scope Tag

I have a Restrictive Intune Admin on which a Custom Role along with a Scope Tag is assigned. This user can now only create and manage apps that he/she creates and not any other apps in the tenant and also can deploy to only certain Azure AD Groups as per the scope and role.
Using the portal, this requirement is achieved, however when using the Add-IntuneWin32App.ps1, where we specify the Scope Tag parameter, it fails stating the following error:
Graph request failed with status code '403 (Forbidden)'.
When i looked at the code, you have used this API - $ScopeTag = (Invoke-IntuneGraphRequest -APIVersion "Beta" -Route "deviceManagement" -Resource "roleScopeTags?$filter=displayName eq '$($ScopeTagItem)'" -Method "GET" -ErrorAction "Stop").value
To achieve this specific requirement, I changed the API to - $ScopeTag = (Invoke-IntuneGraphRequest -APIVersion "Beta" -Route "deviceManagement" -Resource "getRoleScopeTagsByResource(resource='MobileApps')?$filter=displayName eq '$($ScopeTagItem)'" -Method "GET" -ErrorAction "Stop").value`
And this worked!
Please update accordingly.

Will be fixed in 1.4.1, thank you for sharing this!


Does it work with asp.net

Hi,
Love this multiselect control , wondering if it would work with asp.net form?
At the moment , i am using Eric Hynds multiselect widget but there is no option of Horizontal grouping.

I'm not knowledgeable in ASP.net, but if you know how to integrate AngularJs & the directive into the ASP.net form, then it should work.


Feat/29780/hide list while initial scrolling

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/29780
PROPOSAL: https://github.com/Expensify/App/issues/29780#issuecomment-1823910887
Tests

Open the app
Click FAB (+) button
Choose  'Request money'
Click currency to display currencies list

[x] list shouldn't have visible blinking on first render
[x] make sure that regression doesn't exist
[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open the app
Click FAB (+) button
Choose  'Request money'
Click currency to display currencies list

[x] list shouldn't have visible blinking on first render
[x] make sure that regression doesn't exist
[x] Verify that no errors appear in the JS console

PR Author Checklist

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

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

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

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

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/7682108/e7642c21-cd46-4c0e-becd-d04931d38736

Android: mWeb Chrome

iOS: Native
https://github.com/Expensify/App/assets/7682108/effcb793-209c-4057-adfb-87331e0d06b2

iOS: mWeb Safari
https://github.com/Expensify/App/assets/7682108/e13c3e3f-9227-457a-89ea-95f20ba5b9b9

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/7682108/6e87e9b3-aab3-490c-ba2f-1cca3b14453f

MacOS: Desktop
https://github.com/Expensify/App/assets/7682108/a1fb1ab3-9048-442d-8642-6138313b3a01

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

🚀 Deployed to staging by https://github.com/deetergp in version: 1.4.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/deetergp in version: 1.4.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/deetergp in version: 1.4.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.12-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Modded Itens.

Hi, thats not a big issue, if possible can you support modded itens? cause im having troubles with a mod of coins, and tryed use these coins in gringotts and not worked. So can give me some help?

Hello :)
Gringotts is currently supports only Spigot and PaperMC. Which server software are you using?

i solved that.


Allow for playing multiple pieces at the same time

I've found that certain pieces combine very well, especially ones that provide soundscapes when played along ones that feature distinct notation (e.g. Eyes Closed + Transmission). Thus, it might be interesting to allow for playing multiple pieces at the same time, and perhaps evolve this at some point for synchronizing key/beat and so forth, while also extending to recording features.

+1


icons for elixir files

Is it possible to add in default icons for elixir files (extensions .ex .exs and .eex) for the finder (file-explorer) to display in mac
I tried adding it to the info.plist file but it just created errors
Thanks

For file icons, we use seti-ui, so if you have any requests please make them there. Once the changes are there we update our version to the latest.


fix runid getter on detectchanges utility

this fix a mistake on writing the runId getter method invocation.

@vitorz I created an action to update the bom automatically after each PR so, for the next time, it is not needed to use update-bom profile anymore


Remove get_last_build func from --last-build

This change modifies the source interfaces and moves all arguments
regarding builds to get_builds func. The proposal is to have only a few methods
as the public source interface: get_jobs and get_builds. Later more methods
will be needed, but these two methdod should handle all arguments related to
jobs (--job-name, --job-url) and builds (--build-id, --build-status).

I am merging it as I need it to continue on my own.


Usage

Hey steven
Can you tell me how to use it?? i dont understand very well.... but i already install it with npm

This is not finished, hence there is no release. I'm not sure when I'll return to it because I'm uncertain of the direction of frontend technology. I may return to this project.

If that's the case can you update your README to say as much? I spent much of today trying to get it to work only to find this comment. Hope you finish it one day.


Use requests session for persistent connection

When working on large lock files, the script sometimes fails. (such as one used in super-productivity https://github.com/NixOS/nixpkgs/pull/334933)
One of the errors I see is Temporary failure in name resolution, and I suspect it is because requests checks the DNS on every request.
By using a session, it should use a persistent connection for all requests to npm.

This all looks good to me!


fix: avatars instantiation hiccups

This PR has:

bots.create() & bots.remove() functionality to be used in the browser console to instantiate fake local (no comms) avatars
Optimization, when adding animations in runtime during each avatar initialization, that decreases the heavy performance drop we get in that moment due to the animations adding in runtime.

Test instructions for Unity Editor:

Open profiler and focus in CPU module
In unity, check “debug scenes” in SceneController gameobject (debug scene coords should be far from 0,0 to be able to test in a more isolated way).
In WSSController gameobject, check “Use Local comms” and “use custom content server”. Use LOCAL in Environment and use coords 0,0.
Get the package with all wearables in asset bundles (ask Pravus or Brian) and unzip it.
Open a terminal and go to the directory where the wearables where unzipped and run npx<EMAIL_ADDRESS>--cors -p 1338
Open RendereableAssetLoadHelper.csand change loadingType to LoadingType.ASSET_BUNDLE_ONLY
Hit Play in Unity and after the rendering activates, wait for the friends initialization to avoid mixing its impact in CPU with avatars instantiation.
After waiting for a bit, you can create local bots from the browser console with bots.create() and see the instantiation performance impact in Unity's profiler

I'll revert the prefab changes and runtime patch based on the avatars gender.
The optimization will be in prod once the art team re-exports the avatars with the corrected animation names.


Password clear text icon wrapping to newline inside a timeline

I posted this issue yesterday and was asked to create a stackblitz example. I can't figure out how to install Clarity 4 and when installing clarity 5 I get stackblitz errors.
Here's directions to reproduce in stackblitz.

open this url https://stackblitz.com/edit/clarity-v3-dark-theme-r12emw?file=src%2Fapp%2Fapp.component.html
replace the app.component.html with the below code.
the clear text eye icon wraps to a newline and is too large.

<clr-timeline clrLayout="horizontal"> <clr-timeline-step clrState="success"> <clr-timeline-step-title>Create your account</clr-timeline-step-title> <clr-timeline-step-description>

Primary administrator
 Please enter information <clr-password-container> Password * <input clrPassword name="password" required /> </clr-password-container> <clr-password-container> Confirm password * <input clrPassword name="confirmpassword" required /> </clr-password-container>

 </clr-timeline-step-description> </clr-timeline-step> </clr-timeline>

I'm using Clarity v4, Angular 11. But this seems to happen in other version of Clarity and Angular as well.

I'm using Clarity v4, Angular 11. But this seems to happen in other version of Clarity and Angular as well.

Thank you for providing a better reproduction and details.
I see where the problem is coming from. We need a more specific css selectors in the component. And this is a bug.
Trying to find the initial designs, I see that we already have this issue logged (https://github.com/vmware/clarity/issues/5366), so I'll link and close this one to avoid duplication.
Please, follow 5366 for updates.
Also, in your specific case, you want to add configuration steps to the timeline steps, which should work much better with the stepper component. We don't explicitly discourage what you want to do, but by design the timeline is more passive and informative, with only a limited set of action buttons in selected steps. In addition to our website, you can see the initial specs here:
https://github.com/vmware/clarity/issues/1633

Thank you for providing a better reproduction and details.
I see where the problem is coming from. We need a more specific css selectors in the component. And this is a bug.
Trying to find the initial designs, I see that we already have this issue logged (https://github.com/vmware/clarity/issues/5366), so I'll link and close this one to avoid duplication.
Please, follow 5366 for updates.
Also, in your specific case, you want to add configuration steps to the timeline steps, which should work much better with the stepper component. We don't explicitly discourage what you want to do, but by design the timeline is more passive and informative, with only a limited set of action buttons in selected steps. In addition to our website, you can see the initial specs here:
https://github.com/vmware/clarity/issues/1633


Clicking a link in an error opens two copies of the file

Run some code like so in the IW
raise Exception('foo')

Click on the links
Another document opens.
I suspect this is because @rebornix fixed VS code to support the link clicking but we didn't remove our own handlers.

Crap it looks like the vscode link clicking doesn't work. It opens a new file (not the existing one) and doesn't support the line query.


Scan Github repo to cleanup CHANGELOG.md

Write script to scan commit messages to help identify changes done each week.

Installed gitchangelog , created CHANGELOG.md and will now need to group by weeks, ending Fridays.

Done.


Basic auth

新增SetBasicAuth, 优化下使用的感受.

Codecov Report

Merging #293 (be119c4) into master (0109c77) will increase coverage by 0.02%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
+ Coverage   90.96%   90.99%   +0.02%
==========================================
  Files          44       44
  Lines        1694     1699       +5
==========================================
+ Hits         1541     1546       +5
  Misses        103      103
  Partials       50       50

Impacted Files
Coverage Δ

dataflow/gout.go
100.00% <ø> (ø)

dataflow/req.go
81.37% <85.71%> (+0.18%)
:arrow_up:

dataflow/dataflow.go
90.84% <100.00%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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


Alpine: conflicting declaration of 'void* ruby_nonempty_memcpy despite having icu-dev installed

I am installing this gemfile dependency on ruby:3.0.3-alpine and despite having installed the ICU dependency, I'm running into a "conflicting declaration" error while building native extensions
I have installed the following apk libs which should have settled the problem I believe
FROM ruby:3.0.3-alpine

RUN apk add --update --no-cache \
  [...]
  icu-dev \
  ruby-full

Backtrace:
#16 1761.3 Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
#16 1761.3
#16 1761.3 current directory:
#16 1761.3 /usr/local/bundle/gems/charlock_holmes-0.7.7/ext/charlock_holmes
#16 1761.3 /usr/local/bin/ruby -I /usr/local/lib/ruby/3.0.0 -r
#16 1761.3 ./siteconf20230302-1-wqiwia.rb extconf.rb
#16 1761.3 checking for -licui18n... yes
#16 1761.3 checking for unicode/ucnv.h... yes
#16 1761.3 checking for -lz... yes
#16 1761.3 checking for -licuuc... yes
#16 1761.3 checking for -licudata... yes
#16 1761.3 creating Makefile
#16 1761.3
#16 1761.3 current directory:
#16 1761.3 /usr/local/bundle/gems/charlock_holmes-0.7.7/ext/charlock_holmes
#16 1761.3 make DESTDIR\= clean
#16 1761.3
#16 1761.3 current directory:
#16 1761.3 /usr/local/bundle/gems/charlock_holmes-0.7.7/ext/charlock_holmes
#16 1761.3 make DESTDIR\=
#16 1761.3 compiling converter.c
#16 1761.3 compiling encoding_detector.c
#16 1761.3 compiling ext.c
#16 1761.3 compiling transliterator.cpp
#16 1761.3 In file included from /usr/local/include/ruby-3.0.0/ruby/ruby.h:39,
#16 1761.3                  from /usr/local/include/ruby-3.0.0/ruby.h:38,
#16 1761.3                  from common.h:9,
#16 1761.3                  from transliterator.cpp:1:
#16 1761.3 /usr/local/include/ruby-3.0.0/ruby/internal/memory.h:276:16: error: conflicting
#16 1761.3 declaration of 'void* ruby_nonempty_memcpy(void*, const void*, size_t)' with 'C'
#16 1761.3 linkage
#16 1761.3   276 | #define memcpy ruby_nonempty_memcpy
#16 1761.3       |                ^~~~~~~~~~~~~~~~~~~~
#16 1761.3 /usr/local/include/ruby-3.0.0/ruby/internal/memory.h:266:1: note: previous
#16 1761.3 declaration with 'C++' linkage

Am I maybe missing some other OS dependency ?

#168


Memory usage not going down on macOS

What version of Go are you using (go version)?
1.9.4 and 1.10.1
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
macOS 10.13.1 darwin amd64
(edit: also macOS 10.13.4)
What did you do?
I created a super simple tcp server. Source: https://play.golang.org/p/wGAwdtU1nGY
I stress-tested it using tcpkali like so:
tcpkali -em "testing\r\n" -c 100 -r 1000 -T 60  <IP_ADDRESS>:8888
and then I waited for a few minutes, while the server is idle.
I could see that the RSS usage is going up during the test (using ps I can see RSS at 12384).
BUT this number is not going down even after 10 minutes of idle.
I ran the same test on ubuntu 14.04, and memory starts to go down as expected after around 5 minutes.
What did you expect to see?
used memory going down after a few minutes of idle
What did you see instead?
used memory not going down even after 20 minutes.
to make it worse, another stress-test makes the RSS usage increase to 12532. This number is also not going down when the server is back in idle mode.

Please repeat your test with GODEBUG=gctrace=1 and look for lines that state with scvg.
If the runtime reports that it has released memory to the operating system then that is all we can do (there is no POSIX mechanism to force the operating system to reclaim memory, we can only advise it).

I did as you suggested. I only see gc rows, no scvg at all.
The server has been idle for 20 minutes already.

gc 1 @4.044s 0%: 0.029+0.51+0.056 ms clock, 0.23+0.91/0.58/0.008+0.45 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 2 @4.918s 0%: 0.032+0.43+0.052 ms clock, 0.25+0.81/0.49/0+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 3 @5.789s 0%: 0.006+0.33+0.051 ms clock, 0.050+0.71/0.34/0.15+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 4 @6.664s 0%: 0.014+0.31+0.066 ms clock, 0.11+0.77/0.43/0.001+0.53 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 5 @7.540s 0%: 0.040+0.41+0.078 ms clock, 0.32+0.50/0.55/0+0.62 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 6 @8.414s 0%: 0.037+0.46+0.083 ms clock, 0.30+0.79/0.47/0.003+0.66 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 7 @9.288s 0%: 0.021+0.55+0.048 ms clock, 0.17+0.79/0.78/0.036+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 8 @10.165s 0%: 0.038+0.41+0.043 ms clock, 0.30+0.60/0.52/0+0.35 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 9 @11.039s 0%: 0.026+0.34+0.049 ms clock, 0.21+0.58/0.48/0.001+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 10 @11.911s 0%: 0.014+0.22+0.060 ms clock, 0.11+0.51/0.34/0.14+0.48 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 11 @12.789s 0%: 0.027+0.25+0.036 ms clock, 0.22+0.65/0.32/0+0.29 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 12 @13.663s 0%: 0.033+0.36+0.049 ms clock, 0.26+0.85/0.37/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 13 @14.534s 0%: 0.026+0.29+0.033 ms clock, 0.21+0.73/0.38/0+0.26 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 14 @15.407s 0%: 0.055+0.36+0.10 ms clock, 0.44+0.46/0.61/0+0.86 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 15 @16.285s 0%: 0.056+0.25+0.050 ms clock, 0.45+0.62/0.36/0.002+0.40 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 16 @17.165s 0%: 0.030+0.32+0.065 ms clock, 0.24+0.62/0.38/0.001+0.52 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 17 @18.039s 0%: 0.026+0.26+0.041 ms clock, 0.21+0.58/0.37/0.010+0.32 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 18 @18.914s 0%: 0.041+0.33+0.057 ms clock, 0.32+0.73/0.44/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 19 @19.779s 0%: 0.008+0.35+0.049 ms clock, 0.067+0.85/0.40/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 20 @20.655s 0%: 0.036+0.34+0.058 ms clock, 0.29+0.67/0.44/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 21 @21.530s 0%: 0.020+0.31+0.051 ms clock, 0.16+0.89/0.43/0.001+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 22 @22.401s 0%: 0.027+0.23+0.084 ms clock, 0.22+0.61/0.36/0+0.67 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 23 @23.278s 0%: 0.038+0.38+0.11 ms clock, 0.30+0.55/0.61/0+0.91 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 24 @24.155s 0%: 0.021+0.27+0.031 ms clock, 0.17+0.45/0.40/0.39+0.25 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 25 @25.029s 0%: 0.024+0.35+0.047 ms clock, 0.19+0.52/0.47/0.003+0.37 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 26 @25.904s 0%: 0.015+0.30+0.035 ms clock, 0.12+0.66/0.38/0.001+0.28 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 27 @26.780s 0%: 0.027+0.35+0.070 ms clock, 0.21+0.79/0.46/0+0.56 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 28 @27.654s 0%: 0.007+0.25+0.052 ms clock, 0.062+0.62/0.32/0.036+0.42 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 29 @28.528s 0%: 0.009+0.29+0.054 ms clock, 0.076+0.68/0.34/0.011+0.43 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 30 @29.403s 0%: 0.028+0.43+0.061 ms clock, 0.22+0.65/0.46/0.004+0.48 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 31 @30.277s 0%: 0.045+0.42+0.057 ms clock, 0.36+0.90/0.50/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 32 @31.154s 0%: 0.010+0.28+0.049 ms clock, 0.081+0.58/0.40/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 33 @32.027s 0%: 0.030+0.27+0.037 ms clock, 0.24+0.64/0.37/0+0.29 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 34 @32.903s 0%: 0.062+0.62+0.038 ms clock, 0.50+0.69/0.81/0+0.30 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 35 @33.774s 0%: 0.038+0.56+0.047 ms clock, 0.30+0.66/0.35/0+0.37 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
GC forced
gc 36 @153.886s 0%: 0.015+0.12+0.061 ms clock, 0.12+0/0.12/0.28+0.48 ms cpu, 1->1->0 MB, 4 MB goal, 8 P
GC forced
gc 37 @273.892s 0%: 0.010+0.15+0.062 ms clock, 0.087+0/0.17/0.27+0.50 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 38 @393.894s 0%: 0.008+0.16+0.064 ms clock, 0.068+0/0.13/0.31+0.51 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 39 @513.897s 0%: 0.010+0.11+0.078 ms clock, 0.082+0/0.13/0.23+0.62 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 40 @633.908s 0%: 0.009+0.15+0.045 ms clock, 0.076+0/0.16/0.28+0.36 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 41 @753.920s 0%: 0.008+0.10+0.042 ms clock, 0.067+0/0.12/0.20+0.34 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 42 @873.931s 0%: 0.009+0.11+0.031 ms clock, 0.072+0/0.11/0.25+0.25 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 43 @993.940s 0%: 0.024+0.15+0.043 ms clock, 0.19+0/0.12/0.22+0.34 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 44 @1113.950s 0%: 0.022+0.13+0.048 ms clock, 0.18+0/0.14/0.25+0.38 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 45 @1233.954s 0%: 0.009+0.14+0.051 ms clock, 0.076+0/0.16/0.13+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 46 @1353.965s 0%: 0.010+0.10+0.035 ms clock, 0.087+0/0.12/0.19+0.28 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 47 @1473.975s 0%: 0.014+0.26+0.051 ms clock, 0.11+0/0.29/0.16+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 48 @1593.982s 0%: 0.015+0.36+0.071 ms clock, 0.12+0/0.40/0.56+0.57 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 49 @1713.985s 0%: 0.007+0.12+0.065 ms clock, 0.060+0/0.13/0.18+0.52 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 50 @1833.997s 0%: 0.007+0.12+0.030 ms clock, 0.059+0/0.13/0.16+0.24 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 51 @1954.002s 0%: 0.012+0.13+0.031 ms clock, 0.096+0/0.17/0.27+0.25 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 52 @2074.015s 0%: 0.009+0.17+0.052 ms clock, 0.076+0/0.19/0.36+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 53 @2194.021s 0%: 0.009+0.11+0.033 ms clock, 0.073+0/0.12/0.21+0.26 ms cpu, 0->0->0 MB, 4 MB goal, 8 P

There is nothing to scavenge, your application is using 0 mb of memory.
On 17 April 2018 at 23:08, genbits<EMAIL_ADDRESS>wrote:

gc 1 @4.044s 0%: 0.029+0.51+0.056 ms clock, 0.23+0.91/0.58/0.008+0.45 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 2 @4.918s 0%: 0.032+0.43+0.052 ms clock, 0.25+0.81/0.49/0+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 3 @5.789s 0%: 0.006+0.33+0.051 ms clock, 0.050+0.71/0.34/0.15+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 4 @6.664s 0%: 0.014+0.31+0.066 ms clock, 0.11+0.77/0.43/0.001+0.53 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 5 @7.540s 0%: 0.040+0.41+0.078 ms clock, 0.32+0.50/0.55/0+0.62 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 6 @8.414s 0%: 0.037+0.46+0.083 ms clock, 0.30+0.79/0.47/0.003+0.66 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 7 @9.288s 0%: 0.021+0.55+0.048 ms clock, 0.17+0.79/0.78/0.036+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 8 @10.165s 0%: 0.038+0.41+0.043 ms clock, 0.30+0.60/0.52/0+0.35 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 9 @11.039s 0%: 0.026+0.34+0.049 ms clock, 0.21+0.58/0.48/0.001+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 10 @11.911s 0%: 0.014+0.22+0.060 ms clock, 0.11+0.51/0.34/0.14+0.48 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 11 @12.789s 0%: 0.027+0.25+0.036 ms clock, 0.22+0.65/0.32/0+0.29 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 12 @13.663s 0%: 0.033+0.36+0.049 ms clock, 0.26+0.85/0.37/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 13 @14.534s 0%: 0.026+0.29+0.033 ms clock, 0.21+0.73/0.38/0+0.26 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 14 @15.407s 0%: 0.055+0.36+0.10 ms clock, 0.44+0.46/0.61/0+0.86 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 15 @16.285s 0%: 0.056+0.25+0.050 ms clock, 0.45+0.62/0.36/0.002+0.40 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 16 @17.165s 0%: 0.030+0.32+0.065 ms clock, 0.24+0.62/0.38/0.001+0.52 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 17 @18.039s 0%: 0.026+0.26+0.041 ms clock, 0.21+0.58/0.37/0.010+0.32 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 18 @18.914s 0%: 0.041+0.33+0.057 ms clock, 0.32+0.73/0.44/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 19 @19.779s 0%: 0.008+0.35+0.049 ms clock, 0.067+0.85/0.40/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 20 @20.655s 0%: 0.036+0.34+0.058 ms clock, 0.29+0.67/0.44/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 21 @21.530s 0%: 0.020+0.31+0.051 ms clock, 0.16+0.89/0.43/0.001+0.41 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 22 @22.401s 0%: 0.027+0.23+0.084 ms clock, 0.22+0.61/0.36/0+0.67 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 23 @23.278s 0%: 0.038+0.38+0.11 ms clock, 0.30+0.55/0.61/0+0.91 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 24 @24.155s 0%: 0.021+0.27+0.031 ms clock, 0.17+0.45/0.40/0.39+0.25 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 25 @25.029s 0%: 0.024+0.35+0.047 ms clock, 0.19+0.52/0.47/0.003+0.37 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 26 @25.904s 0%: 0.015+0.30+0.035 ms clock, 0.12+0.66/0.38/0.001+0.28 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 27 @26.780s 0%: 0.027+0.35+0.070 ms clock, 0.21+0.79/0.46/0+0.56 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 28 @27.654s 0%: 0.007+0.25+0.052 ms clock, 0.062+0.62/0.32/0.036+0.42 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 29 @28.528s 0%: 0.009+0.29+0.054 ms clock, 0.076+0.68/0.34/0.011+0.43 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 30 @29.403s 0%: 0.028+0.43+0.061 ms clock, 0.22+0.65/0.46/0.004+0.48 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 31 @30.277s 0%: 0.045+0.42+0.057 ms clock, 0.36+0.90/0.50/0+0.46 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 32 @31.154s 0%: 0.010+0.28+0.049 ms clock, 0.081+0.58/0.40/0+0.39 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 33 @32.027s 0%: 0.030+0.27+0.037 ms clock, 0.24+0.64/0.37/0+0.29 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 34 @32.903s 0%: 0.062+0.62+0.038 ms clock, 0.50+0.69/0.81/0+0.30 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
gc 35 @33.774s 0%: 0.038+0.56+0.047 ms clock, 0.30+0.66/0.35/0+0.37 ms cpu, 4->4->0 MB, 5 MB goal, 8 P
GC forced
gc 36 @153.886s 0%: 0.015+0.12+0.061 ms clock, 0.12+0/0.12/0.28+0.48 ms cpu, 1->1->0 MB, 4 MB goal, 8 P
GC forced
gc 37 @273.892s 0%: 0.010+0.15+0.062 ms clock, 0.087+0/0.17/0.27+0.50 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 38 @393.894s 0%: 0.008+0.16+0.064 ms clock, 0.068+0/0.13/0.31+0.51 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 39 @513.897s 0%: 0.010+0.11+0.078 ms clock, 0.082+0/0.13/0.23+0.62 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 40 @633.908s 0%: 0.009+0.15+0.045 ms clock, 0.076+0/0.16/0.28+0.36 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 41 @753.920s 0%: 0.008+0.10+0.042 ms clock, 0.067+0/0.12/0.20+0.34 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 42 @873.931s 0%: 0.009+0.11+0.031 ms clock, 0.072+0/0.11/0.25+0.25 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 43 @993.940s 0%: 0.024+0.15+0.043 ms clock, 0.19+0/0.12/0.22+0.34 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 44 @1113.950s 0%: 0.022+0.13+0.048 ms clock, 0.18+0/0.14/0.25+0.38 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 45 @1233.954s 0%: 0.009+0.14+0.051 ms clock, 0.076+0/0.16/0.13+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 46 @1353.965s 0%: 0.010+0.10+0.035 ms clock, 0.087+0/0.12/0.19+0.28 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 47 @1473.975s 0%: 0.014+0.26+0.051 ms clock, 0.11+0/0.29/0.16+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 48 @1593.982s 0%: 0.015+0.36+0.071 ms clock, 0.12+0/0.40/0.56+0.57 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 49 @1713.985s 0%: 0.007+0.12+0.065 ms clock, 0.060+0/0.13/0.18+0.52 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 50 @1833.997s 0%: 0.007+0.12+0.030 ms clock, 0.059+0/0.13/0.16+0.24 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 51 @1954.002s 0%: 0.012+0.13+0.031 ms clock, 0.096+0/0.17/0.27+0.25 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 52 @2074.015s 0%: 0.009+0.17+0.052 ms clock, 0.076+0/0.19/0.36+0.41 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
GC forced
gc 53 @2194.021s 0%: 0.009+0.11+0.033 ms clock, 0.073+0/0.12/0.21+0.26 ms cpu, 0->0->0 MB, 4 MB goal, 8 P
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24892#issuecomment-381984612, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAwZasASBpPMSwHlmzB-8KHEBEBidks5tpek-gaJpZM4TX2Xd
.

My guess is that OSX is measuring RSS differently to Linux. I wouldn't
worry about it, trust the figures reported above, those are the real
amounts of memory your application is using.
17 April 2018 at 23:14, genbits<EMAIL_ADDRESS>wrote:

So how come the RSS stays high on the mac?
This doesn't happen in ubuntu...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24892#issuecomment-381987195, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAwAw5YpPo_tw6CnTDhgagkXHBPOdks5tpeqigaJpZM4TX2Xd
.

ok sir, thanks!


Extension is crashing

Which OS: Ubuntu 18.04
Which VSCode version:   1.35.1
Which extension version:  1.2.3
Which adapter type:  classic
Which LLDB version:  lldb version 6.0.0
What is the problem and how did you get there:

The LLDB extension crashes at seemingly random places when stepping through code. My program closes, but for some reason all the variables, watches and the callstack still show up on the debug panel. They will not go away until I restart code. I followed the troubleshooting steps, and when I ran the debugging server (although the code command was missing, i had to manually type it into the terminal), I saw the following:
[13:20:56 wireprotocol] --> {"command":"next","arguments":{"threadId":28614},"type":"request","seq":193}
[13:20:56 debugsession] ### Handling command: next
[13:20:56 debugsession] Command args: {
    "response": {
        "request_seq": 193,
        "command": "next",
        "type": "response",
        "success": false
    },
    "threadId": 28614
}
[13:20:56 debugsession] Command result: null
[13:20:56 wireprotocol] <-- {"request_seq":193,"command":"next","body":null,"type":"response","success":true}
[13:20:56 debugevents] $$$ Debug event: Process::ProcessEventData 0x56427098dbe0 Event: broadcaster = 0x56426f176928 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x56426f1768f0 (pid = 28614), state = running}
[13:20:56 wireprotocol] --> {"command":"scopes","arguments":{"frameId":1000},"type":"request","seq":194}
[13:20:56 wireprotocol] <-- {"body":{"allThreadsContinued":true,"threadId":0},"type":"event","event":"continued","seq":0}
[13:20:56 debugsession] ### Handling command: scopes
[13:20:56 debugsession] Command args: {
    "response": {
        "request_seq": 194,
        "command": "scopes",
        "type": "response",
        "success": false
    },
    "frameId": 1000
}
[13:20:56 debugsession] Invalid frame reference: 1000
[13:20:56 debugsession] Command result: null
[13:20:56 wireprotocol] <-- {"request_seq":194,"command":"scopes","body":null,"type":"response","success":true}
[13:20:56 debugevents] $$$ Debug event: Process::ProcessEventData 0x56426469c0d0 Event: broadcaster = 0x56426f176928 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x56426f1768f0 (pid = 28614), state = stopped}
[13:20:56 wireprotocol] <-- {"body":{"allThreadsStopped":true,"reason":"step","threadId":28614},"type":"event","event":"stopped","seq":0}
[13:20:56 wireprotocol] --> {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":195}
[13:20:56 debugsession] ### Handling command: disconnect
[13:20:56 debugsession] Command args: {
    "response": {
        "request_seq": 195,
        "command": "disconnect",
        "type": "response",
        "success": false
    },
    "restart": false
}
[13:20:56 wireprotocol] --> {"command":"threads","type":"request","seq":196}
[13:20:56 workerthread] AsyncListener thread is shutting down
[13:20:56 wireprotocol] Disconnected
[13:20:57 workerthread] AsyncListener thread has stopped
[13:20:57 eventloop] Stopping
[13:20:57 debugsession] Command result: null
[13:20:57 wireprotocol] <-- {"request_seq":195,"command":"disconnect","body":null,"type":"response","success":true}
[13:20:57 workerthread] DebugServer thread is shutting down
[13:20:57 workerthread] DebugServer thread has stopped
[13:20:57 main] Debug session has ended.
[13:20:57 main] Exiting.

Thank you for the awesome extension! Please let me know if there's anything I'm missing

I have hit a similar sporadic crash when debugging larger multi-threaded applications on Debian 9/Ubuntu 18.04 LTS. Though it seems I can more reliably reproduce the crash whenever the extension attempts to fetch locals in the current stack frame (i.e. trying to print a variable's value at the LLDB command line). In the sequence of events leading up to the crash I witness, I receive a similar Invalid frame reference: 1000 message.

Can you please try "native" adatpter?
Also, can you provide more information about the program being debugged (language, compiler, version, debug or release build, etc?

Can you please try "native" adatpter?
Also, can you provide more information about the program being debugged (language, compiler, version, debug or release build, etc?

I have experienced the same crash regardless of the adapter type (native/classic/bundled) when debugging a debug build with DWARF symbols.

I have also tried the native adapter, and the problem still persists. Like @2DLuis the program I am debugging is large and multithreaded. It is written in C++, compiled by gcc-5, and is a debug build.

Hmm, I've seen some asserts firing in the guts of liblldb's DWARF parsing code, when stepping into optimized code that was produced by older versions of gcc, but you are saying that this was a debug build...
Can you see a crash call stack in the extension log stream?  (switch to "LLDB" in VSCode's "Ouput" pane)

Hmm, I've seen some asserts firing in the guts of liblldb's DWARF parsing code, when stepping into optimized code that was produced by older versions of gcc, but you are saying that this was a debug build...
Can you see a crash call stack in the extension log stream? (switch to "LLDB" in VSCode's "Ouput" pane)

The crash log in my instance nearly mirrors the one @cradcore initially posted. The interesting thing is I do not encounter such crashes when using LLDB at the command line, leading me to surmise that the issue itself is not within the DWARF compliant symbols emitted by GCC with a debug build.

Yes, the output of LLDB shows the following:
bind: Invalid command `enable-meta-key'.
(lldb) command script import '~/.vscode/extensions/vadimcn.vscode-lldb-1.2.3/adapter'
(lldb) script adapter.run_tcp_session(0, 'e30=')
Listening on port 34731
[09:49:20 debugsession] Invalid frame reference: 1037

And then I have to restart vscode, otherwise the variables that were present (local and watch) will not go away even if I start a new debugging session. The callstack section of the debug pane however is blank after the crash.

Hmm, I've seen some asserts firing in the guts of liblldb's DWARF parsing code, when stepping into optimized code that was produced by older versions of gcc, but you are saying that this was a debug build...
Can you see a crash call stack in the extension log stream? (switch to "LLDB" in VSCode's "Ouput" pane)

Just wanted to follow up on this. Do you recall the asserts that were firing in the actual DWARF parsing code? My understanding is GCC can be configured to strictly adhere to the DWARF format at the CL.

The assert I am seeing is this: Assertion failed: (m_base_dwarf_cu->GetOffset() == die_ref.cu_offset), function GetDIE, file /home/chega/NW/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp, line 168

The assert I am seeing is this: Assertion failed: (m_base_dwarf_cu->GetOffset() == die_ref.cu_offset), function GetDIE, file /home/chega/NW/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp, line 168

To confirm; you said you only saw this assert on release builds with GCC?

As far as I can tell, yes.

I will see if I can build with clang in lieu of gcc and reproduce the crash.

Curious if you still see this crash with v1.3.0

Curious if you still see this crash with v1.3.0

I've been using the new extension now and it appears to be much more stable than the prior release (I have yet to see it crash). Command completion is fully working (where previously this would cause the debug adapter to crash). The only thing I've noticed that still seems to be an issue is dereferencing pointers when attempting to print their contents at the LLDB command console, i.e. p *myPtr. This will sometimes return $0 = { } even though I know the pointer contents are not empty.

I have also not experienced the crash since the update, although I haven't been using it very much so far. I will let you know if a crash does appear, although so far so good.

After testing for a few days, I was still getting the crash with the new update. I re-built my program using clang instead of GCC to see if that would fix it, but it is still intermittently crashing and causing me to have to restart VSCode

After testing for a few days, I was still getting the crash with the new update. I re-built my program using clang instead of GCC to see if that would fix it, but it is still intermittently crashing and causing me to have to restart VSCode

Try building LLDB from source from tip. I've done this and the crashes have for the most part, been mitigated. Are you able to print dereferenced pointers and reliably use command completion? The latter is what consistently crashes the extension for me.

It's hard to say whether this bug got fixed without a repro case.  We could be talking about completely different issues.

I can attempt to craft an isolated repro, but I’m afraid the behavior can only be reproduced when debugging larger multithreaded applications.

Sorry, I don't think I can make further progress on this without a repro.


Ordering documents in search causes error

Issue Summary
Issue was discovered by editors when searching through uploaded documents with similar names. Attempt to order them by date has failed.
Steps to Reproduce

Login to wagtail admin
Search for an existing document
In search results click Documents tab
Click Created to sort the documents
Error - Cannot sort search results

Technical details

Python version: 3.10.15
Django version: 5.0 - 5.1
Wagtail version: 6.0.6 - 6.3.1
Browser version: Chrome 131

Working on this
Error message suggests adding index.FilterField('created_at') to AbstractDocument model. Adding this line to a local instance in virtual environment has fixed the issue

Hi, I am able to reproduce this issue:
https://github.com/user-attachments/assets/30c9fe7d-f207-4226-8582-2bb1b9996d94
I would like to give it a try to fix it.

Thank you @JuraZakarija, for reporting this issue. I have added changes for the same.


NavMeshLinks are ignored by agent, if one end is on an area set by a NavMeshModifier (both variants).

I'm using a NavMeshSurface volume, and I want my agent to be able to jump onto rooftops that are marked as a separate area, as I would like to experiment with cost settings, and prevent the agent from jumping on them when not interacting with the player.  It seems NavMeshModifiers are the only way to set Areas.  When I use a Modifier to change the Area, the agent ignores the NavLink, as if it wasn't there. When I disable the Modifier, an rebuild the NavMesh, the agent traverses it as expected.
I tried both the normal Modifier and the ModifierVolume. The modifiers break the link both when affected agents is set to "All" or the specific one for the NavMesh. I also tried setting the link Area to both the start and end Area type, same result. Setting the modified area to the same area for both ends, still breaks it. In my case, the modifier is on a child object of the NavMeshSurface.

Well, I tried everything... except setting my agent's area mask.


Warning: View.propTypes has been deprecated and will be removed in a future version of ReactNative. Use ViewPropTypes instead

This is fairly common with React 16, thought you might be aware.

Added a simple pull request.

is this solved in ^5.3.0


use setuptools_scm

setuptools_scm this should let us remove some custom code. I want to wait for the next release though.

What is missing from the current release?

Cannot remember really, just remember Ronny telling me about this and that coming with the next release.

fixed with 886a3545307d6058b410f342e314

I have to say, setuptools_scm is rather confusing on it's versioning scheme. Pre-release versions are actually larger than the release that follows them.
IMHO, if we make 3 commits on top of version 0.5, it's 0.5+3, not 0.6+3 (which is the what setuptools_scm calls "distance").

I actually don't like calling it 0.6+3, that kind of suggests that 0.6 was already released. That's why before we had 0.6.0.dev-3-gaa809e7, but I'm just happy to see some pretty hacky code outsourced.

According to a PEP (https://www.python.org/dev/peps/pep-0440/#local-version-identifiers), the +-part has to semantic meaning. I think if setuptools-scm didn't bump the version number for post-releases, 0.5+asdf would be equal to 0.5 and pip would avoid to upgrade even if necessary. That's speculation on my part though.
Note that setuptools-scm's README mentions an upcoming change in the versioning scheme.


query serialization & deserialization

What problem does this feature solve?
provide a consistent query object between programmatic navigation and navigation through url
What does the proposed API look like?
When I navigate programmatically using:
this.$router.push({ name: 'foo', query: { bar: { baz: 'blablabla' } } });

The url becomes #/foo?bar=%5Bobject%20Object%5D, and I get { bar: { baz: 'blablabla' } } as query object on the next foo page.
If I reload this page, then I get { bar: "[object Object]"}.

Closing in favour of #1259


Convert README to adoc, add CHANGELOG & Priorities

Describe priorities and processes for the plugin
Describe priorities that the maintainers are currently applying to the plugin and processes that maintainers and others can use to contribute to the plugin.
Checklist

[x] I have read the CONTRIBUTING doc
[x] Unit tests pass locally with my changes
[x] I have added documentation as necessary
[x] No Javadoc warnings were introduced with my changes
[x] No spotbugs warnings were introduced with my changes

Types of changes

[x] Documentation

@MarkEWaite why adding a CHANGELOG.adoc file if release drafter is enabled in the repo?

Release drafter does not record the historical changelogs that preceded its implementation.  Rather than leave the historical changelog in the wiki, I converted it to adoc and placed it in CHANGELOG.adoc


[sitemaps] Allow to deduplicate sitemap links in sitemap indexes, fixes #262

thanks @sebastian-nagel

Why would anyone want a duplicate url in his sitemaps?
Is this really a feature we need ?

Just as a matter of fact: there are sitemap indexes out there in the wild which contain the same URL pointing to a sitemap multiple times. I doubt, that anybody "wants" this, it could be a bug in the sitemap generator. And a crawler then should smartly ignore these erroneous duplicates. This method helps a little bit to implement a cautious sitemap processor, at least, it eventually makes crawler developers aware of a potential problem.

I see, you are right.
it is not our place to fix their buggy generator, we should give them a
sitemap object representation of their actual sitemap.
Thanks for the explanation.
On Mon, Jun 22, 2020 at 10:23 AM Sebastian Nagel<EMAIL_ADDRESS>wrote:

Just as a matter of fact: there are sitemap indexes out there in the wild
which contain the same URL pointing to a sitemap multiple times. I doubt,
that anybody "wants" this, it could be a bug in the sitemap generator. And
a crawler then should smartly ignore these erroneous duplicates. This
method helps a little bit to implement a cautious sitemap processor, at
least, it eventually makes crawler developers aware of a potential problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/crawler-commons/crawler-commons/pull/293#issuecomment-647336646,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANNWW43GDX7OBXTE7G7QS3RX4BIRANCNFSM4OCQCBXQ
.


[FLINK-16655][FLINK-16657] Introduce embedded executor and use it for Web Submission

What is the purpose of the change
The EmbeddedExecutor is part of the FLIP-85 effort,  which aims at giving the user the option of running his/her main method on the cluster, rather than the client.
Running the user's main method in "Application Mode" implies:

launching a dedicated cluster for the application's jobs
running the user's main on the cluster, alongside the Dispatcher

The EmbeddedExecutor is an Executor which is assumed to run alongside the Dispatcher of the cluster, on the same machine.  Conceptually, it is like the existing Executors for session clusters, with the difference that this time there is no need to go through REST as this will be running already on the same machine as the Dispatcher.
Given that the Web Submission already runs the user's main on the cluster, this PR apart from introducing the EmbeddedExecutor, it also wires it to the JarRunHandler so that:

we can test the executor already
we get (partially for now) rid of the pattern of throwing ProgramAbortException in order to extract the JobGraph.

Brief change log
See the description above.
It introduces the EmbeddedExecutor with a custom PipelineExecutorLoader which is only aware of this executor and is used in the JarRunHandler.
The handler now, instead of extracting the JobGraph itself and submitting to the Dispatcher, now it executes the user's main method and let's the new executor do the job graph extraction and submission.
To not block any threads on the web frontend, we launch the job in detached mode, which is reasonable, as web submission is expected to be a "fire-and-forget" action, and also it is compatible with the current behaviour which does not return the results of operations like collect(), count() or print().
The only difference compared to before is that now, a job with a print() will throw an exception (as is the case for detached submission from the CLI), rather than execute the job and silently return nothing.
Verifying this change
It was tested manually on Yarn and local cluster and also it is tested through the updated tests for the JarRunHandler.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

Thanks for the review @TisonKun . I integrated your comments, let me know what you think.

@kl0u Thanks for starting this great work. I started a standalone on K8s and submit some jobs via web dashboard. It works really well.
I just have one side comments. After introducing this changes, the users will not be able to submit the job that use collect, count, etc.. Is it the same behavior before this change?

Thanks for looking into it @wangyang0918 ! Even before, batch jobs with collect() or count() were submitted but nothing was printed or could be done with the result, because we were extracting the JobGraph and submit it, without further executing the user's main(). So the only difference is that here we make it explicit.

@kl0u Thanks for your reply. I have checked the current master behavior. The only difference is after this PR the WebUI will show an internal error. Since we make the collect, count, etc. more explicit. And we could find the exception in the jobmanager logs.
I think the behavior after this PR is just what i want.

Super! Thanks @wangyang0918 ! @TisonKun do you have any additional comments on the PR?

I integrated your comments. Please have a look.


Backend support for configurable volumes and resources of the apicurio-registry deployment

#120
Main purpose of this PR is to add in support for configurable volumes to the apicurio-registry deployment that apicurio-registry-operator controls/spawns.
The resource support adds in the ability to not set requests or limits for CPU or memory as appropriate using "0". Resources will still default to what they are currently.
I haven't implemented these features in the CRD yet.
Go modules have been tidied (go mod tidy)

Pushed the CRD implementation. I'll resolve the merge conflicts


beautifulsoup4>='4.1.3' NameError: name 'beautifulsoup4' is not defined

While running the requirements.txt module I ended in this error. Am new to Python forgive me if I'm wrong

Make sure you have installed all the dependencies, included pip.
https://pypi.python.org/pypi/pip
The latest version solved all the previous issues.


Flow_model_accuarcy

hi, @bryanyzhu thanks for your nice share!
Wang[1] provide a method called Cross modality pre-training which may improve the flow model performance.
[1]. Temporal Segment Networks: Towards Good Practices for Deep Action Recognition

@liu666666 Hi, thanks for your suggestion. Yes, I actually already used the cross modality pre-training technique. Right now, my resnet101 and resnet152 flow model works good. It is just vgg16 model doesn't yield same performance. So it should be something particular about the VGG network.

@zed0630 Hi, I didn't get your point about inverting the pixel values in the x/y channels during flipping. Can you elaborate on this?

@swathikirans because when you flip your images, e.g, horizontal flip, the flow at x direction also changes.
You can refer to this code snippet, i think it will help.

@bryanzhu. Thank you!


AGENTFORCE : Dev Assistant not working on my vscode

Summary
the agentforce for dev is not working on my vscode anymore.
Expected result
when i try to explain some code or ask agentforce questions about salesforce apex, lwc i get this error
"Oops, something went wrong. Try rewording your request or clearing the chat. If the problem persists, please let us know and we'll get it sorted out for you."
it's been like this for couple of weeks now, before that it used to work before and i used to get responses and explainations out of it. So i don't know what happened.
I tried to uninstall it and reinstall it ==> still not working
I restarted the extensions ===> still not working
Additional information
Salesforce Extension Version in VS Code: 62.5.1
Salesforce Einstein For Developers Version in VS Code: 1.5.0
VS Code version: 1.95.3

Hi @oumaimazayate, Thank you for submitting the issue.  I'm sorry to hear that the Dev Assistant has not been working for you recently.
As a first step, can you confirm that Agentforce for Developers is enabled in the org you are connected to?  Go to Setup --> search "Agentforce for Developers".   A screenshot of that setup page in the org could be helpful.  Thank you!

I checked my org and the agentforce is enabled, here is the screenshot of the setup as demanded

Ok, thank you.  If you click on the A4D extension icon in the lower right corner of the IDE, what does the first line of the Status Menu display?

If you open up the developer console (Debug: Focus on Debug Console View) and reload the window, do you see any error messages in the console log?

Screenshots of both of these areas would be helpful.

My issue is the same as the above content. Below is the error content
. Salesforce Extension Pack in Code Builder: 62.9.1
. Salesforce Einstein For Developers Version in VS Code: 1.5.0
. VS Code version: 1.95.3
[Below]
console.ts:137 [Extension Host] sfApiClient.getSfApiUrl {sfApiSettingEnv: 'Production', sfApiUrl: 'https://api.salesforce.com/einstein/gpt/code/v1-alpha.1/'}
console.ts:137 [Extension Host] DefaultOrg ~ Using cached JWT. {currentJwt: {…}}
console.ts:137 [Extension Host] sfApiClient.getSfApiRegion {sfApiSettingEnv: 'Production', sfApiRegion: 'us-east-1'}
console.ts:137 [Extension Host] Tracing header sfapi /embeddings {x-client-trace-id: 'eGPT-trace_de7d2fcc-86cc-47ad-a7a5-c0615a78abd3_3cd4351d-555c-48e3-acb7-8715321c59b1'}
console.ts:137 [Extension Host] In AxiosClient, axiosClient.handleError AxiosError: Request failed with status code 500
console.ts:137 [Extension Host] Error creating embeddings {error: {…}}
log.ts:439   ERR [Extension Host] Error encountered requesting chat stream:  Error: Error while validating prompt: Error: Failed to create embedding for prompt
at t.isOnTopic (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:293:280)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async t.validatePrompt (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:291:6840)
at async $4.validateChatPrompt (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:298:150)
at async $4.buildChatRequestBody (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:297:1146)
at async $4.getChatStream (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:297:417)
at async Eu.handleWebviewMessage (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:275:20812)
at async mh.value (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:275:16233)
console.ts:137 [Extension Host] Error encountered requesting chat stream:  Error: Error while validating prompt: Error: Failed to create embedding for prompt
at t.isOnTopic (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:293:280)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async t.validatePrompt (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:291:6840)
at async $4.validateChatPrompt (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:298:150)
at async $4.buildChatRequestBody (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:297:1146)
at async $4.getChatStream (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:297:417)
at async Eu.handleWebviewMessage (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:275:20812)
at async mh.value (c:\Users\dsgp15194.id.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.5.0\dist\index.js:275:16233)
uGi @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1243
fire @ event.ts:1274
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:378
VM7:2270 An error happened Error: Sorry I couldn't connect to the backend.
at Aq (:697:5599)
at async nq (:697:5652)
at async Be (:2270:11618)
at async m (:2270:4460)
VM7:686 sendTelemetry {"commandName":"sfdx__eGPT_chat_interaction_event","commandSource":"Chat","promptId":"3cd4351d-555c-48e3-acb7-8715321c59b1","sequenceId":"","codeBlockQuantity":0,"status":"failed","sessionId":"ed8b8e32-97f9-4cfd-b87b-c5db291932ad","questionLength":"84"}


How to disable half-precision when converting checkpoint?

I've been reading about how converting to half-precision/fp16 can potentially affect the quality in the model. Is there a way to disable this feature? That way, I can compare the two versions?
Thanks for this amazing repo!

If you disable fp16 in the training, it will automatically disable it when saving the model.

THE GREAT BEN!!! WE ALL LOVE BEN!


Redirecting To Login Page While Accessing Some Other Routes

For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
It should Redirect on pages as define in Route File.
Route::middleware(['auth.shopify'])->group(function() {
    // Products
    Route::view('/products','products');

    // Customers
    Route::view('/customers','customers');

    // Settings
    Route::view('/settings','settings');
});

@extends('shopify-app::layouts.default')

@section('content')

Welcome To Dashboard

@endsection

@section('scripts')
@parent

@if(config('shopify-app.appbridge_enabled'))

@endif
@endsection

@extends('shopify-app::layouts.default')

@section('content')
Products

@endsection

@section('scripts')
@parent

@endsection

Current Behavior
After Loading app in Shopify Store, When I click on first time to any route it works fine, but at the very next moment when I click on any other route or even same route, it redirects me to Login i.e. Installation page.
However, App Works Fine outside Shopify store, By making force redirect false in App bridge
Failure Information
Session Not Working Properly, or Middleware Not working Properly.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Install app and make few Route
try Switching between those

Context

Package Version: v11.5
Laravel Version: v7.12
PHP Version: v7.3
Using a toolset = Valet:

Failure Logs

With Safari

@pazuaf Does this issue happen with Firefox?

I am having the same issue on FIrefox it is working fine on Chrome

Cookie issue, merging into main. #522


Add options to the "delete-cache" command

A CLI tool has been introduced in https://github.com/huggingface/huggingface_hub/issues/1025. It allow to scan and delete the HF cache directory. This is especially useful when hard drive gets full.
huggingface-cli delete-cache

Currently a list of repos is printed with details like revision name, size and last modified date. The user can select which revisions to delete. It can be done either via a Terminal UI (if huggingface_hub[cli] is installed) or via a temporary file to edit (if TUI not supported).
At the moment the selection is entirely manual to let the user decide what to do. To ease the process, we discussed about implementing new CLI options:

--filter to filter repo names
--sort to sort by age, alphabetically, size,...
--limit to display only the top X repos
--keep-last to keep only the last revision of each repo

Each option can be implemented separately in a different PR.  CLI implementation can be found in ./commands/delete_cache.py while the cache scan tool itself is in ./utils/_cache_manager.py

We are interested in cleaning cached models which were not accessed in the past N days. Would it make sense to provide an option like --last_accessed N which returns all repos with last access before today - N?
For the time being, I think this can be done with the Python API, but the CLI would be more convenient.
from datetime import datetime
from huggingface_hub import scan_cache_dir

expiry = 21  # in days
now = datetime.now()
cache_info = scan_cache_dir()

to_clean = []
for repo in cache_info.repos:
    delta = now - datetime.fromtimestamp(repo.last_accessed)
    if delta.days >= expiry:
        print(f"{repo.size_on_disk_str:>8}", f"{delta.days:>4} days", repo.repo_id)
        to_clean += [revision.commit_hash for revision in repo.revisions]

delete_strategy = cache_info.delete_revisions(*to_clean)
print(f"Will free {delete_strategy.expected_freed_size_str}.")
# delete_strategy.execute()

@Wauplin is this issue still open? Dose this needs a solution?


Spot loses connection and stops playing

On a pretty stable network, Spot suddenly stops playing and refuses to play again until I quit the app altogether. When I do quit though, it requests me to enter my login credentials again. This happens pretty often.
Now, I don't know how to generate a bug report; I am new to Linux and not very tech savvy in general but if there's anything I can do, I gladly will (if you guide me).
I installed Spot on Elementary OS from Flathub.

Have this issue as well, Fedora Silverblue 35

I seem to be getting the same error with Gnome keyring. OS: Ubuntu 21.04

I havent been able to reproduce it with the keyring locked today so nevermind that it is something else :/

I havent been able to reproduce it with the keyring locked today so nevermind that it is something else :/

Only happens after long periods of suspension for me. I wake up the computer, and then I try to play something and nothing plays, and then I restart spot and it prompts me for my login.

Chiming in here - I've been hitting my head against the wall about connection issues and found running spot via terminal fixes it. Not sure if it'll help anyone else but it's a nice workaround to try.

I think I'm experiencing an issue similar to this, related to an unstable (cellular) Internet connection.
My device will stop playing audio from Spot, though Spot will seemingly continue to function allowing changing songs from my album, play/pause etc.  The only way to make it work again is to pause the playback, exit Spot, typically then bounce the cellular modem and wait for a connection, restart Spot, and find the album/song and play again.  This occurs very frequently while driving about; I'm lucky if I can get through a single track before this occurs again.
Additionally, likely related, when a song ends and the next begins, Spot will seem to incur this issue; basically 100% of the time while driving and a new song comes up, this occurs.  While stationary, presumably because I'm not switching cellular towers, this rarely if ever occurs.
Sometimes, however, if I'm patient enough, Spot will seem to understand the situation and stop playback, at which point I can ensure a stable Internet connection and simply start playback again without closing Spot (and sometimes even without bouncing the cellular modem).
As well, if I'm using a Bluetooth sink, when this happens (Spot seems like it's playing but no audio is output; likely related/due to a spotty (:laughing:) Internet connection), I can stop playback, bounce the Bluetooth connection, and restart playback, without having to bounce Spot.
Looking at the pulseaudio logs, it seems like when this occurs, the pulseaudio stream/... times out, and the only way to re-initialize it is to restart Spot, or e.g. poke pulseaudio in a way that changes the configured audio sink.
This all leads me to believe there's some bug w/re: Spotify connection and how Spot conveys this to the user and how Spot manages it's pulseaudio objects.
I'll keep investigating, as Spot is the nicest graphical client I've found so far for my mobile (64-bit ARM) device.