Turbo prune creating recursive out directories

What version of Turborepo are you using?
1.4.2
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
Running turbo prune from the base of the repository and putting an outdir in the app directory causes it to create a deeply nested directory structure.
Eg. turbo prune --scope=myapp --docker --out-dir apps/myapp/out gets you repo-base/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out/full/apps/myapp/out...
We want the output in the app folder because that's where the Dockerfile we load it into is, but this obviously isn't useful.
Expected Behavior
Not to create deeply nested directories/links
To Reproduce
In a repository with a workspace apps/myapp run turbo prune --scope=myapp --docker --out-dir apps/myapp/out

I'm currently looking at this area of the codebase. I have a hypothesis about this, but I'll quick confirm. Thanks for reporting!

Until this gets resolved could you just create an npm script that does the moving at the end for you? e.g.
  "scripts": {
    "docker": "turbo prune --scope=myapp --docker --out-dir out && mv out apps/myapp",

Looking at this a little more, I think it makes more sense to explicitly disallow this and encourage people to just move/copy output after the pruning happens. Fixing this would involve implementing a special case and version of a recursive copy that detects when the destination is part of the source. At the moment our behavior matches cp which I believe is reasonable:
cp -R apps apps/out
cp: apps/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out/out: name too long (not copied)

Feel free to reopen if you have strong feelings that this should be supported behavior.

Until this gets resolved could you just create an npm script that does the moving at the end for you? e.g.
  "scripts": {
    "docker": "turbo prune --scope=myapp --docker --out-dir out && mv out apps/myapp",

Yeah this is similar to the workaround I've ended up implementing.
To explain the use case a bit more, we would prefer to run this from the app directory itself rather than the root, so they look more like this
app/myapp/package.json:
"scripts": {
  "turbo:prepare": "rm -rf out/ && yarn --cwd ../.. run turbo prune --scope=myapp --docker --out-dir apps/myapp/out",
  "docker:build": "docker build ..."
}

That way we keep everything related to the build of myapp contained in it's own directory, and different apps can handle this their own way without thinking about common build output areas.
I wouldn't call them strong feelings but just wanted to let you know why this could be useful, even failing like cp does to make it more obvious would be nice.


Basic GA usage tracking

Add function to send basic usage metrics to GA via the Measurement Protocol

https://github.com/99-metrics/ga-realtime-alerting/pull/7


New-SSHSession : Session operation has timed out on Cisco SF350

Hello, I am using Posh-SSH ver. 3.0.0.
I do have an issue "New-SSHSession : Session operation has timed out" when trying to create connection to Cisco SF350, SF550, etc. It uses SSH-2.0-OpenSSH_7.3p1.RL protocol version.
When I am trying to create connection to older models like SF300, that uses SSH-2.0-OpenSSH_5.9p1.RL, it works great!
Cisco updated OpenSSH from 5.9 to 7.3 couse some known vulnerabilities. There is no way to change it back on 5.9.

Is there any error logged on the device?
Sent from my iPhone

On Jan 25, 2022, at 8:48 AM, SleeperCZ @.***> wrote:

Hello, I am using Posh-SSH ver. 3.0.0.
I do have an issue "New-SSHSession : Session operation has timed out" when trying to create connection to Cisco SF350, SF550, etc. It uses SSH-2.0-OpenSSH_7.3p1.RL protocol version.
When I am trying to create connection to older models like SF300, that uses SSH-2.0-OpenSSH_5.9p1.RL, it works great!
Cisco updated OpenSSH from 5.9 to 7.3 couse some known vulnerabilities. There is no way to change it back on 5.9.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.

Not at all. Process stops before key exchange. I have tried some calls, and catched them by wireshark.

Calling SF350 with SSH-2.0-OpenSSH_7.3p1.RL on server side. Client waits for key exchange Init from server side and than timeout and close connection

.
Calling SF300 with SSH-2.0-OpenSSH_5.9p1.RL on server side. Client receive key exchange packet from server and continue with secure the connection. All works fine...

.
Calling SF350 with  SSH-2.0-OpenSSH_7.3p1.RL on server side. Client starts key exchange itself and server answer. All work fine than

.

Hello,
is there any progress? Can I assist somehow? Maybe to capture more communication? Or try some another scenario? whatever.... :)

Can you check what is the algorithms set on the device and what are the ones used for the hose key? Could be it moved to a version of AES not supported by the module.

Hello,
I published one of devices at address <IP_ADDRESS> TCP 22
It's Cisco SF250 seriess.
According the Log of putty during connection, it uses cyber AES256 and SHA1
Auth.
"
2022-02-22 09:23:16 Looking up host "<IP_ADDRESS>" for SSH connection
2022-02-22 09:23:16 Connecting to <IP_ADDRESS> port 22
2022-02-22 09:23:16 We claim version: SSH-2.0-PuTTY_Release_0.74
2022-02-22 09:23:16 Remote version: SSH-2.0-OpenSSH_7.3p1.RL
2022-02-22 09:23:16 Using SSH protocol version 2
2022-02-22 09:23:16 No GSSAPI security context available
2022-02-22 09:23:16 Doing Diffie-Hellman group exchange
2022-02-22 09:23:16 Doing Diffie-Hellman key exchange using 2048-bit
modulus and hash SHA-1 (unaccelerated) with a server-supplied group
2022-02-22 09:23:17 Server also has ssh-dss host key, but we don't know it
2022-02-22 09:23:17 Host key fingerprint is:
2022-02-22 09:23:17 ssh-rsa 2048
91:d9:a7:95:1a:45:e1:5c:41:9b:bd:15:e1:5c:01:dd
2022-02-22 09:23:17 Initialised AES-256 SDCTR (AES-NI accelerated) outbound
encryption
2022-02-22 09:23:17 Initialised HMAC-SHA-1 (unaccelerated) outbound MAC
algorithm
2022-02-22 09:23:17 Initialised AES-256 SDCTR (AES-NI accelerated) inbound
encryption
2022-02-22 09:23:17 Initialised HMAC-SHA-1 (unaccelerated) inbound MAC
algorithm
"
po 21. 2. 2022 v 13:55 odesílatel Carlos Perez @.***>
napsal:

Can you check what is the algorithms set on the device and what are the
ones used for the hose key? Could be it moved to a version of AES not
supported by the module.
—
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/442#issuecomment-1046848455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROHKLQZ67JEMICKIPY4ZBTU4IY5TANCNFSM5MYFFISQ
.
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:
@.***>

Noticed something interesting on Mac OS it is not able to negotiate a channel to validate the key using OpenSSH
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: @.,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms: @.@.@.@.@.@.@.@.@.@.@.,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos<EMAIL_ADDRESS>debug2: ciphers stoc<EMAIL_ADDRESS>debug2: MACs ctos: @.@.@.@.@.@.@.,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: @.@.@.@.@.@.@.,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: @.,zlib
debug2: compression stoc: @.,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
debug2: host key algorithms: ssh-rsa,ssh-dss
debug2: ciphers ctos: @.***
debug2: ciphers stoc: @.***
debug2: MACs ctos: hmac-sha1
debug2: MACs stoc: hmac-sha1
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: (no match)
Unable to negotiate with <IP_ADDRESS> port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
On Windows with OpenSSH it defaults to @.*** @.> and it is able to work. With Posh-SSH the behavior is similar to OpenSSH on Mac because neither support @. @.***> even when other supported ciphers are available. Wonder if that could be cause
Wonder if setting explicitly AES would work
ip ssh server algorithm mac hmac-sha1
ip ssh server algorithm encryption aes128-ctr aes256-ctr

Unfortunately I am unable to configure that on Small business Switch SF250,
I can only enable or disable ip ssh server and generate or modify server
keys :-(
I thought that the difference should be in order of key exchange
inicialization. Few months ago, when I have found that problem to
comunicate with SF350, I browsed internet to get some answers. I have found
one blog, where Cisco described why they have changed from OpenSSH5.9 to
OpenSSH7.3. As I remember, the reason was somehow connected exactly with
the order of key exchange init. (it was some security bug in 5.9)
Unfortunatelly I am unable to find that blog again :-( I can see, that
putty starts the key exchange from client site and all works fine. But in
case of Posh-SSH client is awaiting the server site init and timeout.
But maybe the problem is deeper, as you wrote. I have just poor knowadge of
encryption algoriths :-(
I have found that you build Posh-SSH on renci.ssh.net. According the
documentation GitHub they do support diffie-hellman-group1-sha1 and
diffie-hellman-group14-sha1so if the switch is offering that ones, I do not
see any reason not to use them.
On internet I have fould some topics about week cyphers disabled on MAC and
workarround how to eneble them gain in comfiguration file.
út 22. 2. 2022 v 15:22 odesílatel Carlos Perez @.***>
napsal:

Noticed something interesting on Mac OS it is not able to negotiate a
channel to validate the key using OpenSSH
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms:
@.,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms:
@.@.@.@.@.@.@.@.@.@.@.,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos<EMAIL_ADDRESS>debug2: ciphers stoc<EMAIL_ADDRESS>debug2: MACs ctos:
@.@.@.@.@.@.@.,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc:
@.@.@.@.@.@.@.,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: @.,zlib
debug2: compression stoc: @.,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
debug2: host key algorithms: ssh-rsa,ssh-dss
debug2: ciphers ctos: @.***
debug2: ciphers stoc: @.***
debug2: MACs ctos: hmac-sha1
debug2: MACs stoc: hmac-sha1
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: (no match)
Unable to negotiate with <IP_ADDRESS> port 22: no matching key exchange
method found. Their offer:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
On Windows with OpenSSH it defaults to @.*** @.> and it is
able to work. With Posh-SSH the behavior is similar to OpenSSH on Mac
because neither support @. @.***> even when other supported
ciphers are available. Wonder if that could be cause
Wonder if setting explicitly AES would work
ip ssh server algorithm mac hmac-sha1
ip ssh server algorithm encryption aes128-ctr aes256-ctr
—
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/442#issuecomment-1047847157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROHKLWPA2DDL62R56NGHSDU4OL4HANCNFSM5MYFFISQ
.
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:
@.***>

I think it could be the chaca cipher or this problem https://github.com/sshnet/SSH.NET/pull/841

I have tried to build new version of ssh.net with likeMyCoffee modification. It realy changes the order of client and server identification as expected. method connect() of class Session passing throught the client/server identification, than register message lisseners and stuck at line 624 of Session.cs WaitOnHandle(_keyExchangeCompletedWaitHandle); till is not timed out. The point is, that the server side just do not send keyexchangeinit. It waits init message from server and there is no way to force method Connect() to send keyexchangeInit. It is not implemented there and its definitely out of my skills to make it.

Do you know if the target has compression disabled? Since Posh-SSH does not support it
Sent from my iPhone

On Mar 24, 2022, at 2:11 PM, SleeperCZ @.***> wrote:

I have tried to build new version of ssh.net with likeMyCoffee modification. It realy changes the order of client and server identification as expected. method connect() of class Session passing throught the client/server identification, than register message lisseners and stuck at line 624 of Session.cs WaitOnHandle(_keyExchangeCompletedWaitHandle); till is not timed out. The point is, that the server side just do not send keyexchangeinit. It waits init message from server and there is no way to force method Connect() to send keyexchangeInit. It is not implemented there and its definitely out of my skills to make it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

There is not such option on switch configuration CLI. But I am absolutelly
sure, that I can connect on switch without compression by putty. So maybe
switch support compression, but definitelly do not force request it.
čt 24. 3. 2022 v 21:23 odesílatel Carlos Perez @.***>
napsal:

Do you know if the target has compression disabled? Since Posh-SSH does
not support it
Sent from my iPhone

On Mar 24, 2022, at 2:11 PM, SleeperCZ @.***> wrote:

I have tried to build new version of ssh.net with likeMyCoffee
modification. It realy changes the order of client and server
identification as expected. method connect() of class Session passing
throught the client/server identification, than register message lisseners
and stuck at line 624 of Session.cs
WaitOnHandle(_keyExchangeCompletedWaitHandle); till is not timed out. The
point is, that the server side just do not send keyexchangeinit. It waits
init message from server and there is no way to force method Connect() to
send keyexchangeInit. It is not implemented there and its definitely out of
my skills to make it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

—
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/442#issuecomment-1078191615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROHKLSDJM4O7EPFM3GDW2DVBTFNBANCNFSM5MYFFISQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think I'm having the same issue on CSB350 switches. Did you make any progress with this?

Known issue with the library I use and cisco kit Cisco connection issue fix by likeMyCoffee · Pull Request #841 · sshnet/SSH.NETgithub.comMessage ID: @.***>

can you test with version 3.0.7?

The fix in the PR did not work. Sadly if you use cisco kit I can’t recommend you use my module at this timeSent from my iPhoneOn Dec 2, 2022, at 2:23 PM, MisterRat @.***> wrote:
It is still a problem with 3.0.8
can you test with version 3.0.7?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Version 3.1.2 includes the latest version of SSH.NET, which should address this.

thats great! I will try it as soon is possible. Thank you!
st 3. 1. 2024 v 1:25 odesílatel Carlos Perez @.***>
napsal:

Version 3.1.2 includes the latest version of SSH.NET, which should
address this.
—
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/442#issuecomment-1874718022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROHKLUCSA5AR3A4AM5FFSTYMSQNZAVCNFSM5MYFFIS2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGQ3TCOBQGIZA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Works great. Thank you wery much!
Libor
st 3. 1. 2024 v 1:25 odesílatel Carlos Perez @.***>
napsal:

Version 3.1.2 includes the latest version of SSH.NET, which should
address this.
—
Reply to this email directly, view it on GitHub
https://github.com/darkoperator/Posh-SSH/issues/442#issuecomment-1874718022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROHKLUCSA5AR3A4AM5FFSTYMSQNZAVCNFSM5MYFFIS2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGQ3TCOBQGIZA
.
You are receiving this because you authored the thread.Message ID:
@.***>


[BUG] Multiple CASE establishment

Reproduction steps
We are using Matter for offline communication between our hardware and app. The hardware is running as a matter bridge - I'll call it Controller.
We have achieved to skip the commissioning flow by preloading RCAC,NOC,IPK,CATS,etc. - This way the app and the Controller only need to initiate a CASE session.
When the app renders a card on the UI it subscribes to its Controller.
The problem occurs when the app renders multiple cards that are on multiple Controllers. Matter performs multiple OperationalSessionSetup::LookupPeerAddress, which results in only the first one to succeed, every other session will timeout. I have created an interval on the Java side, which recalls the subscribe on every errored node every 15 secs. In every cycle only one DNSSD lookup will succeed. One-by-one it will subscribe to every Controller, but thats not acceptable
I tried to workaround the issue by establishing a CASE with an IP address, because in most cases the app already knows the Controllers IP. In this method the sigma1 and the sigma2 is being sent and received, but the sigma3 is only sent by the app, but it times out. ( Sometimes it worked though like a charm )
I don't know if its a bug or it is supposed to be working like this, but it would be nice if the core would implement a queue or something like that.
Bug prevalence
every time
GitHub hash of the SDK that was being used
4088a77
Platform
android
Platform Version(s)
<IP_ADDRESS>
Anything else?
No response

which results in only the first one to succeed

That sounds like an Android-specific bug.  Certainly on iOS multiple parallel resolves work just fine.

So it's definitely not a dnssd limitation?

Not a general one, no.  Specific implementations may have problems, of course.

Just leaving a note here, maybe it will help someone:
Our custom function establishCaseWithIP- which works around the DNSSD bug - does not work with 5 or more parallel calls because the fifth call fails silently. After a quick debugging, we found that matter limits parallel CASE's to 4 with CHIP_CONFIG_UNAUTHENTICATED_CONNECTION_POOL_SIZE 4.
@bzbarsky-apple
Shouldn't it be handled at core level with a queue? Or maybe OperationalSessionSetup::EstablishConnection shouldn't fail silently when it hits CHIP_ERROR_NO_MEMORY.

@DanijelBojcic On a constrained device, you can't queue up things: if there is no memory, then there is no memory.
CHIP_CONFIG_UNAUTHENTICATED_CONNECTION_POOL_SIZE is only used as a template argument to UnauthenticatedSessionTable, as kMaxSessionCount.  The kMaxSessionCount is only used here:
ObjectPool<UnauthenticatedSession, kMaxSessionCount> mEntries;

ObjectPool can operate in two modes.  If CHIP_SYSTEM_CONFIG_POOL_USE_HEAP is set true, it will ignore the size argument and just heap-allocate things.  If it's false, it will have an actual fixed-size pool.
I would have expected Android to set CHIP_SYSTEM_CONFIG_POOL_USE_HEAP to true by default, but src/platform/android/SystemPlatformConfig.h does not seem to do that.

https://github.com/project-chip/connectedhomeip/pull/28451 may fix your issue @DanijelBojcic

@DanijelBojcic I assume this issue is resolved, if this is still outstanding, please kindly reopen it, thanks


how can i know the record service or receiver is running

hi, how can i know the record service or receiver is running, if not running i want to show a start button on activity.

Hi,
CallRecorder library have not this. But you can check this link: https://stackoverflow.com/a/5921190/3448461


PE 876/Generate private drive share links

This PR adds private drive sharing by passing the base64 encoded drive key as a query parameter in the shared link.

Note: Do not merge before attach private drives is also approved. Sharing private drives is useless without it.

This one doesn't depend on anything, but Attach Private Drives depends on this


update to stb_image v2.22, add dll import/export macros for NanoGUI

Note 1: let me know if you'd rather have the stb_image version update in a separate commit, and then add the import / export stuff as a different commit.
Note 2: NanoVG upstream has two newer commits, one of which states "not actively maintained" at top of readme.  So I think we should just consider this a mostly-hard-fork at this point, aka not worth trying to update stb_image there first.

Update to stb_image v2.22.
Add dll import/export macros to once and for all solve https://github.com/wjakob/nanogui/issues/179 correctly.
Closes #1.  Similar solution with a slight twist.  Search begin: NanoGUI changes in stb_image.h diff (CC: @chpatton013).

Current NanoGUI CMake counterpart just has an option(NANOGUI_STBI_IMPLEMENTATION...) defaulting to ON, which will define STBI_EXPORTS and (if shared) STBI_SHARED.  This should cover all bases.  Shared / static builds with MSVC can build example1.cpp with just a raw #include <stb_image.h> when NANOGUI_STBI_IMPLEMENTATION is ON (default).
I just have a few more small details like ignoring warnings, then I'll open the cmake updates PR and include a submodule update to this too.

This looks good -- thank you!


[BUG] - Load test YAML gets corrupted on upload.

Describe the bug
Load test YAML gets corrupted on upload.
Failing/aborted Load Test is started using the Azure Load Testing v1 task in Azure Devops as part of a Release Pipeline (v1.2.20).
Load test aborts after about 4 mins with this error is the test detail :
"Test run failed due to error in test run configuration. Please try again. If the issue persists, please raise a support ticket along with the test run id."
example runid
testRunId 820afe4e-0960-4641-b791-0b7976763837
Test time summary on the step shows it appears to continue to run for over 3 hours.

To Reproduce

Start with a correctly configure YAML (Our YAML in our repo is correct)
Start load test using the Azure Load Testing v1 task in Azure Devops as part of a Release Pipeline (v1.2.20)
Test aborts
Download the input files after test fails
Review YAML in the input file zip
Note that one of the failureCriteria has been corrupted during copy
input file zip YAML is not a copy of the YAML in our repo.
testRunId 820afe4e-0960-4641-b791-0b7976763837 is an example test with this issue

Expected behavior
YAML not to be changed by the AZURE run test step in azure devops.
Screenshots
REPO YAML

YAML from the downloaded Input file zip from the failed/aborted test.

Additional context
This issue maybe related to issue https://github.com/microsoft/azure-load-testing/issues/136
AB#1734561

@Shaun-Regan Thanks for reaching out. We will look into this? Meanwhile can you help us with details of what are you seeing in the Azure Portal for this test run? Did it fail? If yes, what is the error message?

Load test aborts after about 4 mins with this error is the test detail :
"Test run failed due to error in test run configuration. Please try again. If the issue persists, please raise a support ticket along with the test run id."

@Shaun-Regan Just confirming my understanding, the test run failed in 4 min on portal but the pipeline ran for 3+ hours. Additionally the YAML file is corrupted.
Can you please also share what was the duration for which you configured the test?

@Shaun-Regan Just confirming my understanding, the test run failed in 4 min on portal but the pipeline ran for 3+ hours. Additionally the YAML file is corrupted.

Your understanding is correct.

Can you please also share what was the duration for which you configured the test?

The test is configured to run for 20 mins.

@Shaun-Regan We looked into this issue and found that the memory and the CPU for the test engine exceeded the capacity which made JMeter crash. Could you please reduce the number of threads per engine and configure more engines instead to achieve your target load?

hi, the test ran for 20 mins with only 50 users.  I've looked at the YAML and it still looks incorrect.  Please See screenshot below.

Cheers

@Shaun-Regan Thanks for confirming that the test ran. The YAML file that is exported is only an output file that is generated. It does not effect the test that you ran. We will fix the syntax of the YAML file. Thanks for pointing that out.
On the test run, you can monitor the engine health metrics to make sure the engines are withing acceptable memory and CPU utilization.
We will make sure that in these cases a proper error message is provided.

Hi @ninallam please help me with the below issue.
I have followed your Azure Load testing service video, to run the JMeter script through portal. I have followed exact same steps. I have a JMeter script with csv data config and added necessary plugins , but still im getting the same Failure error. The test seems to be executing for long time and later it shows as failed. "Test run failed due to error in test run configuration. Please try again. If the issue persists, please raise a support ticket along with the test run id."
Whereas if i run a sample script without any CSV data files, it is running and the test is passed. Why these differences?
do we have configure anything else while running with CSV data file? I'm trying to create a framework for my organization using Azure Load testing service, is it reliable to create one? Please help


Register package in Bower

Doesn't currently seem to actually be registered: http://bower.io/search/?q=ratchet

Already solved?


SPM Support

Sorry, not ready yet, wanted to make PR on my fork

@JakubMazur thank you for getting started on this integration. There seems to be demand for this based on #107, will you be opening a follow-up PR to add SPM support? Thank you!

Yes, have some issue with Rx, but will try to add this in few days


Tag new version of markdown-it-toc-done-right

#32 was merged recently. We're using Markdown IT 11 and would like for the warning message to be gone in https://github.com/blamebutton/docmaker.

It would be really nice if you could merge #41 and #42 and then publish a new release. Maybe 4.1.1 or something.

Done


Feat: Add scrollbar like main page in all pages

Describe the feature

I will add this scrollbar in all pages.
Add ScreenShots
NA
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav @Kalivarapubindusree Please assign me this task !


Integrate the new homepage into the app

Hi everyone,
We have decided to stop the POC, as it won't evolve anymore (or marginally).
Contrary to what we thought, we will start by integrating the homepage:

We are fully independent on this part
It can be integrated without many consequences on the other parts of the app

This homepage will have:

Some customizable, but "hardcoded", content
Access to the scanner
Access to the search

For the feed, initially, we will have cards for:

The donation program
Shortcuts to features (e.g.: Hunger Games)
Last scanned products
User lists
Most scanned products in the country

For the scanner, even if the product page is still not ready, at the beginning, it will be integrated as-is for the slide-up feature.
For the search, I will certainly open a new issue later to integrate the design (and can certainly be done by someone else than me).
FYI I will implement issue, as it will be way easier. However, I'm off next week, so I won't begin the implementation until 13/11, so if you have any feedback, don't hesitate to do so.
Just a reminder of the UI:
https://github.com/openfoodfacts/smooth-app/assets/246838/d8d3a846-2b65-4529-b3cb-adb89f31f30c

@g123k Keep in mind that it's much easier to review several PRs rather than one big PR.
Please split your code accordingly, whenever possible.

@g123k Keep in mind that it's much easier to review several PRs rather than one big PR. Please split your code accordingly, whenever possible.

Yep, that's the idea.
I'm not sure to follow it exactly, but it would be something like:

Implement the design only (no search / no content in the feed)
Connect the product page
Add the feed
Add the search

@g123k Given that you split this issue in several PRs, that means that the app can be used between PRs. Which will be problematic if you get rid of the search feature (even temporarily).
I cannot quite picture how the search would be impacted by the early stages of the new design, as the search on home page is just a stupid button that opens a new page (not like you can type something inside it on the home page, I mean).
I don't get the concept of "connect the product page", at least given the current and the future layout.
Anyway, please make sure that we developers can use the app between your merged PRs.


Update GitHub.hx

Add getCommits (Will be used on the main menu)

this only returns the last 30 commits btw

that's fine, it just needs to be used for the most recent commit id

https://api.github.com/repos/FNF-CNE-Devs/CodenameEngine/commits
looking at this it doesnt say the amount

and btw i dont think that GitHubRelease is the right structure for commits, you should create a new one


How to add values into tensorboard recorders？

Thanks for your great works. It's a very simple and effective method to encode sentences.
I try to record some values during the training process, such as the loss term. But I cannot find the code like the SummaryWriter in tensorboardx. Could you tell me which file or function I should look for?

Hi,
Our code is based on Huggingface's transformers, where they have already integrated tensorboard support in trainer.py.

Thanks.


docs: fix typo

Thanks!

Hmm, looks like CI might be having a sad here. Not sure what changed.

Looks like a temporary issue that's been solved elsewhere :)


event swipe must not send action with the same name as the variable swipe

sendAction confuses and think that an event "true" (the default value for swipe var) is being called.

good catch, thanks!


ESP32S2: When WiFi is enabled, USB endpoints stop working (IDFGH-5683)

Environment

Development Kit:      ESP32-S2-Saola
Kit version (for WroverKit/PicoKit/DevKitC): v1.2
Module or chip used:  ESP32-S2-WROVER
IDF version (run git describe --tags to find it): v4.3 (
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: Linux
Using an IDE?: No
Power Supply:  USB

Problem Description
Enabling WiFi on an ESP32-S2 causes the USB peripheral to stop working correctly. When a user firmware is loaded that enables WiFi, the idf.py 'dfu-flash', 'flash', and 'monitor' commands no longer function. Loading a firmware that does not enable WiFi allows all of the above commands to work correctly.
I'm able to repeat this with both ESP-IDF V4.3 and master (83956ebbae5b), on both the Saola board and a custom board I'm developing.
There is a related issue here that might be the same as this one, however the scope is larger than noted there: https://github.com/espressif/esp-idf/issues/6969
Expected Behavior
Running 'idf.py monitor' should show the debug console; running 'idf.py dfu-flash' should flash firmware into the device and restart it.
Actual Behavior
The device fails to program:
idf.py dfu-flash
Executing action: dfu-flash
Running make in directory /home/matt/esp/esp-idf-v4.3/examples/wifi/getting_started/station/build
Executing "make -j 6 dfu-flash"...
Command list: dfu-util;-d;303a:2;-D;/home/matt/esp/esp-idf-v4.3/examples/wifi/getting_started/station/build/dfu.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Opening DFU capable USB device...
ID 303a:0002
Run-time device DFU version 0110
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Device will detach and reattach...
dfu-util: error detaching
dfu-util: Lost device after RESET?
CMake Error at /home/matt/esp/esp-idf-v4.3/tools/cmake/run_dfu_util.cmake:27 (message):
  dfu-util failed

make[3]: *** [CMakeFiles/dfu-flash.dir/build.make:57: CMakeFiles/dfu-flash] Error 1
make[2]: *** [CMakeFiles/Makefile2:1975: CMakeFiles/dfu-flash.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1982: CMakeFiles/dfu-flash.dir/rule] Error 2
make: *** [Makefile:177: dfu-flash] Error 2
Please have a look at the "Device Firmware Upgrade through USB" chapter in API Guides of the ESP-IDF documentation for solving common dfu-util issues.
make failed with exit code 2

Dmesg reports this when the device is reset after a successful program:
Aug 11 00:24:07 huginn kernel: [1160504.078677] usb 1-1: USB disconnect, device number 58
Aug 11 00:24:12 huginn kernel: [1160508.453259] usb 1-1: new full-speed USB device number 59 using xhci_hcd
Aug 11 00:24:12 huginn kernel: [1160508.602737] usb 1-1: New USB device found, idVendor=303a, idProduct=0002, bcdDevice= 7.23
Aug 11 00:24:12 huginn kernel: [1160508.602742] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 11 00:24:12 huginn kernel: [1160508.602746] usb 1-1: Product: ESP32-S2
Aug 11 00:24:12 huginn kernel: [1160508.602748] usb 1-1: Manufacturer: Espressif
Aug 11 00:24:12 huginn kernel: [1160508.602751] usb 1-1: SerialNumber: 7c:df:a1:01:31:02
Aug 11 00:24:12 huginn kernel: [1160508.604443] cdc_acm 1-1:1.0: ttyACM0: USB ACM device

When starting the unsuccessful dfu-flash, the USB device starts by disconnecting and reconnecting correctly:
Aug 11 00:24:19 huginn kernel: [1160515.496143] usb 1-1: USB disconnect, device number 59
Aug 11 00:24:19 huginn kernel: [1160515.805216] usb 1-1: new full-speed USB device number 60 using xhci_hcd

But then hangs for a while (during which dfu-flash errors out). Eventually the USB operations fail:
Aug 11 00:24:28 huginn kernel: [1160524.401207] usb 1-1: device descriptor read/64, error -71
Aug 11 00:24:28 huginn kernel: [1160524.641115] usb 1-1: device descriptor read/64, error -71
Aug 11 00:24:28 huginn kernel: [1160524.877107] usb 1-1: new full-speed USB device number 61 using xhci_hcd
Aug 11 00:24:28 huginn kernel: [1160525.026574] usb 1-1: New USB device found, idVendor=303a, idProduct=0002, bcdDevice= 7.23
Aug 11 00:24:28 huginn kernel: [1160525.026580] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 11 00:24:28 huginn kernel: [1160525.026583] usb 1-1: Product: ESP32-S2
Aug 11 00:24:28 huginn kernel: [1160525.026586] usb 1-1: Manufacturer: Espressif
Aug 11 00:24:28 huginn kernel: [1160525.026589] usb 1-1: SerialNumber: 7c:df:a1:01:31:02
Aug 11 00:24:28 huginn kernel: [1160525.028351] cdc_acm 1-1:1.0: ttyACM0: USB ACM device

Steps to reproduce
Using the 'wifi/getting_started/station' example, I configure it by:

rm -rf build/ && rm sdkcconfig
idf.py set-target esp32s2
idf.py menuconfig (then close without saving to fill in default options)
idf.py menuconfig, then set USB_CDC in Component config->Common ESP-related->Channel for console output
idf.py dfu

// If possible, attach a picture of your setup/wiring here.
Wiring is identical to the description in: https://blog.espressif.com/dfu-using-the-native-usb-on-esp32-s2-for-flashing-the-firmware-b2c4af3335f1
Code to reproduce this issue
This example causes the usb to fail: https://github.com/espressif/esp-idf/tree/master/examples/wifi/getting_started/station
Using a different example (that doesn't initialize wifi), works correctly: https://github.com/espressif/esp-idf/tree/master/examples/get-started/hello_world
Debug Logs
(included above)
Other items if possible
dfu.bin.zip
sdkconfig.zip

Experiencing the same issue on a ESP32-S2-WROVER module on Windows 10 19042.870 Asus Sabertooth Z77, ESP-IDF 4.3.1
I added a 5 second delay before starting Wi-Fi on boot, this at least allows me to flash without holding the boot button, though I need to press flash 2-3 times in VSCode

This might be the same issue as #8241, could you check if f82ab4c757d36a0ac9ebb384998abd158e79db7b on master or  bf523af21d89577ec5c95335ce7a3bc1ba61886c on release/v4.4 resolves this issue?

@Dazza0 Thanks, I just tried it with the release/v4.4 branch. It looks like this isn't implemented for ESP32-S2.
I get a compilation error when I enable ESP_PHY_ENABLE_USB:
/home/matt/esp/esp-idf-v4.4-tools/tools/xtensa-esp32s2-elf/esp-2021r2-8.4.0/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: esp-idf/esp_phy/libesp_phy.a(phy_init.c.obj):(.literal.esp_phy_load_cal_and_init+0x18): undefined reference to phy_bbpll_en_usb'
/home/matt/esp/esp-idf-v4.4-tools/tools/xtensa-esp32s2-elf/esp-2021r2-8.4.0/xtensa-esp32s2-elf/bin/../lib/gcc/xtensa-esp32s2-elf/8.4.0/../../../../xtensa-esp32s2-elf/bin/ld: esp-idf/esp_phy/libesp_phy.a(phy_init.c.obj): in function esp_phy_load_cal_and_init': /home/matt/esp/esp-idf-v4.4/components/esp_phy/src/phy_init.c:649: undefined reference to phy_bbpll_en_usb'
and the phy lib for esp32s2 doesn't seem to have the referenced symbol:fgrep phy_bbpll_en_usb -r *
Binary file components/esp_phy/lib/esp32s3/libphy.a matches
Binary file components/esp_phy/lib/esp32c3/libphy.a matches
components/esp_phy/include/phy.h:void phy_bbpll_en_usb(bool en);
components/esp_phy/src/phy_init.c:    phy_bbpll_en_usb(true);
`

I'm also hitting undefined reference to phy_bbpll_en_usb'`, though I'm using ESP32-S3 and v4.4 as well.
Is there a solution? I'm not sure what I enabled that is even causing this.

@igrr  I also  get a compilation error when I enable ESP_PHY_ENABLE_USB.  It seems that the S2 version of libraries don't have the right symbol, while S3 versions do.
Please, can this be fixed?   It is very difficult to debug on S2 boards, as it is not possible to reset them via the USB when WiFi is active.  And WiFi is the core functionality for ESP32.    What is even more frustrating, the reset used to work in the first pre-release of ESP IDF for S2...

Hi @dchichkov,
This issue on S2 is not related to phy_bbpll_en_usb (or ESP_PHY_ENABLE_USB).
The issue which @Dazza0 has mentioned was specific to S3. It was related to the fact that when Wi-Fi got enabled, the Wi-Fi driver would reconfigure the PLL (which is shared between Wi-Fi part and USB) in a way which stopped USB from working.
This bug has a different cause. The issue occurs when reset (signaled by the host via DTR and RTS) is detected. USB console driver calls esp_restart function to reset the chip. However the issue is that when Wi-Fi is enabled, it registers a "shutdown handler" function which should be called before reset. This shutdown handler (esp_wifi_stop) can't be called from an ISR. However the USB console driver tries to call esp_restart from an ISR. This results in a crash (esp_wifi_stop called from an ISR, but it shouldn't be.)
We have a fix now, but unfortunately it's not quite straightforward, and requires several supporting changes to be merged first. I'm sorry it's taking so unacceptably long!
In the meantime you can probably work around the issue by replacing this line:
https://github.com/espressif/esp-idf/blob/01d014c42def8d0c19e1ce55c07de6761e092ffa/components/esp_system/port/soc/esp32s2/usb_console.c#L153
with
    esp_usb_console_before_restart();
    esp_restart_noos();

(the latter call requires an #include "esp_private/system_internal.h")
This is not a perfect solution, since the call to esp_wifi_stop() is skipped, which as far as I understand may result in a failure to connect to the access point after restart, for certain access points. The better fix is in progress, we will update this issue once the fix is merged.

@igrr  Wow.  Thank you very much.   Reset over USB is now working even after WiFi is up.
For some reason ifd.py flash monitor still doesn't work for me, but I have another workaround: using ESPTOOLPY_AFTER_NORESET and then doing a reset via DFU:  idf.py flash --port=/dev/ttyACM0 ; coproc bash -c "sleep 2; dfu-tool detach; sleep 1; dfu-tool attach" ; sleep 1; idf.py monitor --port=/dev/ttyACM0  load.

Hi!
Is this issue solved? Because i am having the same, or maybe a related issue:
Environment

Development Kit:      custom board
Module or chip used:  ESP32-WROOM-S2
IDF version (run git describe --tags to find it):
v4.4.1  - commit 1329b19fe494500aeb79d19b27cfd99b40c37aec
from Sat Apr 16 09:43:14 2022 +0800
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System:     macOS
Using an IDE?: VSCode
Power Supply:         USB C

Problem Description
When configuring the console output to USB CDC, my application crashes periodically. That is if the USB is connected to the Computer. With Power only it seems to work fine.
Additionally i can not open the monitor on the USB CDC Serial Port: ('OSError: [Errno 6] Device not configured')
When testing the ESP IDF Examples i can reproduce the Logging error e.g. by building and flashing the '/examples/wifi/getting_started/softAP' (with USB CDC).
Other examples, like '/examples/get-started/hello_world' behave normal, even when USB CDC is configured. Monitor can be used here normally.

@stk84 the issue isn't solved yet, but please try the workaround explained in https://github.com/espressif/esp-idf/issues/7404#issuecomment-1146873555 and see if it helps in your case?

@igrr Thanks for the quick response.
The workaround unfortunately only helps for the ESP IDF examples in my case.
With my application, i still have the same issues.
I would rule out the custom board, since all other examples work fine.
Also my code works fine when it is flashed with Logging over UART0
Do you have any hints where i could check? Because i am currently stepping in the dark.

@stk84 Unfortunately I don't have other suggestions based on the information you have provided.

When configuring the console output to USB CDC, my application crashes periodically.

I suggest opening a new issue about this, and trying to find out more information about how the application crashes. For example, you can connect JTAG debugger and try to see where exactly the application crashes.

Thank you!

When I enable "Enable USB when phy init"
I'm getting phy_init.c:701: undefined reference to `phy_bbpll_en_usb' with IDF v5.0.1 and 4.4.4 with ESP32 S2.
Tried reinstalling IDF and it still happens even with the wifi/getting_started/station example
can this issue be opened?

You should reopen a new issue :)
Make sure to include your compilation logs, and do a full clean prior.


Can I get usage of tokens while using streamChatCompletion method?

ChatCompletionChunk object do not have field which save usage of token, and it's not easy for java to count tokens

@SparrowBo
Sadly, OpenAI API doesn't support tokens on completion or chatcompletion chunks.
You can read about the downsides of using streaming here:
https://github.com/openai/openai-cookbook/blob/main/examples/How_to_stream_completions.ipynb

Downsides
Another small drawback of streaming responses is that the response no longer includes the usage field to tell you how many tokens were consumed. After receiving and combining all of the responses, you can calculate this yourself using tiktoken.

it's helpful, thanks


Scriptorium fails to make dir /usr/local/var/log

./scriptorium
Traceback (most recent call last):
  File "./scriptorium", line 782, in <module>
    Scripts.main()
  File "./scriptorium", line 745, in main
    Scripts.setup_logging()
  File "./scriptorium", line 293, in setup_logging
    Path.mkdir(log_dir)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/pathlib.py", line 1287, in mkdir
    self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/var/log'

Could be alleviated potentially using ~/Library/Logs

Looks like a permissions issue. Running the manual mkdir command as a user results in perm denied.
After manually making the dir's it fails with inability to make the log file.

Zack,
What OS are you running? I last ran a full test on Catalina.
// Tony
On Fri, Nov 5, 2021 at 8:48 AM Zack McCauley @.***>
wrote:

Looks like a permissions issue. Running the manual mkdir command as a user
results in perm denied.
After manually making the dir's it fails with inability to make the log
file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Honestpuck/scriptorium/issues/7#issuecomment-961456637,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZIRBJN6AKEMVBGAKP3L23UKMETNANCNFSM5HMOZW3A
.
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.

Monterey

I've now got a Monterey test box so I will test a fix over the next day or
so.
Thanks for raising the issue.
// Tony
On Fri, Nov 5, 2021 at 10:23 AM Zack McCauley @.***>
wrote:

Monterey
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Honestpuck/scriptorium/issues/7#issuecomment-961505929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZIRBMUTSDFWNPPYVLZXKDUKMPZRANCNFSM5HMOZW3A
.
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.

Changed the log directory to ~/Library/Logs. Closing the issue.


Fix Github repository URL

The link in the upper-right corner of the book right now leads to the Foundry repo.


Basic example wrong spacing

I don't know what I'm doing wrong, but when I compiled the examples, in more than one instead of one page, the text only fits on two, because there is too much space before the code.
If I use '--highlight-style' it works okay, only when the '--listings' is specified there is a problem.
Am I doing something wrong? Thanks.

This is a known issue (see https://github.com/Wandmalfarbe/pandoc-latex-template/issues/91). Please update all your installed LaTeX packages to the latest version. If in doubt you can also delete your LaTeX distribution and do a fresh install. It should solve the spacing issue before and after listings.

Thank you, will check it out,


feat: allow run on self-hosted

As title says

Codecov Report

Merging #99 (a81543d) into main (1a5ef77) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   94.20%   94.20%
=======================================
  Files           3        3
  Lines          69       69
=======================================
  Hits           65       65
  Misses          4        4

@MaxJPRey the goal of this PR is to demostrate how to switch to self-hosted Runners. Won't be merging it


AKS: Unable to add new Nodepool without taints

Setup

Rancher version: v2.7.5-rc5
Browser type & version: Chrome/Firefox

Describe the bug
Unable to add new Nodepool without taints on existing AKS cluster
To Reproduce

Provision AKS cluster with Rancher UI with all default configuration
Once cluster is up & running, add new node pool with type User/System
While adding it, do not provide any taints value (default behavior)

This seems to related to changes made in https://github.com/rancher/dashboard/issues/8073
API Payload:
{
  "name": "cpinjani-aks",
  "aksConfig": {
    "linuxAdminUsername": "azureuser",
    "nodePools": [
      {
        "availabilityZones": [
          "1",
          "2",
          "3"
        ],
        "count": 1,
        "enableAutoScaling": false,
        "maxPods": 110,
        "maxSurge": "1",
        "mode": "System",
        "name": "agentpool",
        "orchestratorVersion": "1.25.6",
        "osDiskSizeGB": 128,
        "osDiskType": "Managed",
        "osType": "Linux",
        "type": "/v3/schemas/aksNodePool",
        "vmSize": "Standard_DS2_v2",
        "nodeLabels": {

        }
      },
      {
        "availabilityZones": [
          "1",
          "2",
          "3"
        ],
        "count": 1,
        "enableAutoScaling": false,
        "maxPods": 110,
        "maxSurge": "1",
        "mode": "User",
        "name": "pool1",
        "nodeLabels": {

        },
        "nodeTaints": [

        ],
        "orchestratorVersion": "1.25.6",
        "osDiskSizeGB": 128,
        "osDiskType": "Managed",
        "osType": "Linux",
        "type": "aksnodepool",
        "vmSize": "Standard_DS2_v2",
        "isNew": true
      }
    ]
  }
}

Result
Cluster goes in state:
Error: failed to update cluster: containerservice.AgentPoolsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> <nil>
Expected Result
User should be able to add new Nodepool without taints
Screenshots

Additional context
Provisioning new cluster with multiple nodepools without taints while creation is working.
cc: @rancher/highlander

Validated on build:

v2.7-head - a73350c
rancher/aks-operator:v1.1.2-rc2

Test results - :white_check_mark:
Scenarios

Provision a downstream AKS cluster, add new user/system node pool w/o taints
Provision a downstream AKS cluster, add new user/system node pool with taints
Provision a downstream AKS cluster, add new node user/system pool with taints. Edit cluster and remove taints.


Fix/loss missing impropers

Description
Espaloma training sometimes fails due to missing improper torsions in the dataset because the loss assumes all dataset (molecules) have improper torsions. This behavior was resolved by setting improper loss to zero if improper is not present.
This PR also fixes #4 as an enhancement.
Todos
Notable points that this PR has either accomplished or will accomplish.
Questions
Status

[x] Ready to go

Test failure due to missing openeye-toolkit license.


Increment version for servicebus releases

Increment version for servicebus releases

Can one of the admins verify this patch?


Update package.json

Coverage remained the same at 100.0% when pulling d610ccbafa3e056e4ef4af770702c95cb8f74859 on ygrene-austin:develop into ea9617a1a3df30a0de1d6cda24ba9755e0feecfa on ajwhite:master.


Allow log-level to be set via configuration

I am not sure if the log-level can be setup via the configuration. If not, this has to be added, otherwise we can close this issue.

Not being able to do this, really sucks when trying to debug a DST issue...

TODO: Fixen wir.


release 1.0

[x] update code repo
[x] rename mkde app to "space use"
[x] install app onto hub
[x] test app
[x] update main landing page
[x] update app info page
[x] cleanup site navigation
[x] update About page
[x] update Featured Tool section on main page text & image

Jack Smith from Hubzero updated home.php and commented out Other Tools, News, Explore the Data, At A Glance sections.
Still need to update the Featured Tools section...

the copyright symbol in the hub license online (https://uccommunityhub.hubzero.org/tools/mkde/license) was causing the python code in the release process to crash.  we've changed the symbol to (c) both in the online license and the code license.

submitted a ticket to HUBZero to update main landing page

HZ was finally able to publish our 1.0 app on the gateway...yaaa!


With "layerlist: storage", "placementPolicy: FollowTopology" creates a drbd device instead of an LV

Hi!
I'm using the latest piraeus-operator.
Thanks for the report! Looks like we forgot to pass this information to LINSTOR when not using the AutoPlace scheduler. I have a fix ready, I'll just need to properly test it.

Hi! The same problem after upgrade to:
operator: 1.7.1
csi: 0.17.0
linstor-server: 1.17.0

Please switch to the AutoplaceTopology placement policy. You can just remove the parameter from your storage class, as that policy is the default.
FollowTopology is broken in subtle, and not so subtle ways

Thank you!


Travis builds failing on versioning, extensions

@YohDeadfall thanks for updating the SDK for Travis in c417c6fc04c29d339800de16e97d273ae8584347.
I pushed a new build to Travis, but it looks like its failing due to the PostgreSQL and PostGIS availability.
Are the differences in CI configuration intentional, or do they need updated?
https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/blob/c417c6fc04c29d339800de16e97d273ae8584347/.appveyor.yml#L3-L13
https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/blob/c417c6fc04c29d339800de16e97d273ae8584347/.travis.yml#L8-L18

@austindrenski, @YohDeadfall, I pushed some work on the travis build and we should now be green everywhere, both npgsql and EFCore.PG.
FYI travis is really getting on my nerves - still stuck on ubuntu 14.04 and PostgreSQL 9.6 (although it's possible to work around the latter), I may be taking a look at the new appveyor for linux soon.


Ho do I see class outline/structure?

I see nothing when I open OUTLINE in thge Explorer  panel?

The Outline view is a separate section in the bottom of the File Explorer. When expanded, it will show the symbol tree of the currently active editor. So you need to have a Java file opened then only you would be able to see the outline of that file like functions and classes.

Take a look at the screenshot - I have opened a Java file, even debugging session going... but my OUTLINE sections is empty?

Please can you provide logs or some more info on how to reproduce the issue, so that we can investigate further?

Ok, here is the code to reproduce it:
https://github.com/hrstoyanov/vscodeJavaIssue

I also tried to run the program and for me as well it doesn't show anything in the outline tab. So, we need to investigate more around this issue.

FYI, raised a PR to close this issue in netbeans:
https://github.com/apache/netbeans/pull/6642

Resolved and merged PR


File upload via JSON:API in drupal

I found an article mentioned about File Upload via JSON:API at https://www.drupal.org/node/3024331, curious if limoncello-app support such implementation?

Yes, it does. There is nothing special about file uploads really. A controller handler will receive a $request parameter which would have file attachment. When the file is stored and some ID is assigned it's time to return the JSON API response.
$index       = ...;
$requestUri  = $request->getUri();
$crud        = static::defaultCreateApi($container, static::API_CLASS);
$jsonSchemas = $container->get(JsonSchemasInterface::class);
$encoder     = $container->get(EncoderInterface::class);

return static::defaultCreateResponse($index, $requestUri, $crud, $jsonSchemas, $encoder);

The code is taken from here and here.

Could you provide an example?

Code for controller
    // NOTE: you need to create a model/schema/routes/auth rules/etc for uploaded files. Just like for users, roles or any other resource.

    /**
     * @inheritdoc
     */
    public static function create(
        array $routeParams,
        ContainerInterface $container,
        ServerRequestInterface $request
    ): ResponseInterface {
        $files = $request->getUploadedFiles();
        if (count($files) !== 1 ||
            (($file = reset($files)) instanceof UploadedFileInterface) === false
        ) {
            return new EmptyResponse(422);
        }

        assert($file instanceof UploadedFileInterface);

        // save the file and assign file ID (this one stores to tmp, you'd better to save to some storage)
        $fileName = tempnam(sys_get_temp_dir(), 'my_prefix');
        if ($fileName === false ||
            file_put_contents($fileName, (string)$file->getStream()) === false
        ) {
            return new EmptyResponse(400);
        }
        $fileId = pathinfo($fileName, PATHINFO_FILENAME);

        // here you need to save the data to the database or maybe leave it as it is. Because on the next step
        // `defaultCreateResponse` will try to read the resource by `$fileId` via API so it should return
        // the resource.

        return static::defaultCreateResponse(
            $fileId,
            $request->getUri(),
            static::defaultCreateApi($container, static::API_CLASS),
            $container->get(SettingsProviderInterface::class),
            $container->get(JsonSchemasInterface::class),
            $container->get(EncoderInterface::class)
        );
    }

Code for a test
    public function testUpload(): void
    {
        $file = new UploadedFile(new Stream(__FILE__), filesize(__FILE__), UPLOAD_ERR_OK);

        $response = $this->call('POST', static::API_URI, [], [], [], [], [$file]);
    }

thanks!


Request: pasteAttributesBlacklist Option

Is your feature request related to a problem? Please describe.
Currently you can whitelist attributes with the attributesWhitelist ... but what if you want to allow all attributes except (say) style attributes?  You might want to do this to prevent pasted-in HTML from containing any styles (eg. color: white), as they might not look good on the page, but you don't want to lose any other important attributes.  Unfortunately, there's no way to do it.
Also, what if you only care about pasted-in HTML?  For tags there are the two options pasteTagsBlacklist and pasteTagsWhitelist, but for attributes no such option exists.
Describe the solution you'd like
My proposed new option would work exactly like pasteTagsBlacklist, only for attributes instead of tags.  Which is to say it would work like attributesWhitelist, only in reverse (being a blacklist), and it would only screen out attributes from pasted-in text.
Describe alternatives you've considered
It seems impossible (or at least extremely difficult) to otherwise prevent style attributes from being pasted-in, without having to list out every other possible attribute in the entire HTML spec.
Additional context
Add any other context or screenshots about the feature request here.

The 2.42.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


bug: Two tabs shown as active on pressing back button on Android

Bug Report
Ionic version:

^5.0.7
Current behavior:

On pressing back button, two icons are shown with active style
Expected behavior:

Only one tab should be shown as active
Steps to reproduce:

Go to tab1, then go to tab2 & press back button on android device. Kindly note, this issue is not reproducible if you inspect the app via chrome://inspect debugger tools.
Related code:
A sample application via GitHub - https://github.com/gurumukhi/ionic-tabs/blob/master/src/App.tsx

Other information:

Ionic info:

Ionic:

   Ionic CLI       : 6.9.2 (C:\Users\user\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework : @ionic/react 5.1.1

Capacitor:

   Capacitor CLI   : 2.1.0
   @capacitor/core : 2.1.0

Utility:

   cordova-res : 0.14.0
   native-run  : not installed

System:

   NodeJS : v12.16.2 (C:\Program Files\nodejs\node.exe)
   npm    : 6.14.4
   OS     : Windows 10

Thanks for the issue. Are you testing this on a physical device or an emulator?

I am testing on the physical device. The issue exist even on the basic Tabs
app created from https://ionicframework.com/start.
On Mon, 18 May, 2020, 6:34 PM Liam DeBeasi<EMAIL_ADDRESS>wrote:

Thanks for the issue. Are you testing this on a physical device or an
emulator?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic/issues/21322#issuecomment-630168999,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU7ELI76RI7T227HIMATATRSEW7VANCNFSM4ND5TEBA
.

What device and version of Android are you testing on?

I am testing on OnePlus 5T, Android version is 9.
On Mon, 18 May 2020 at 8:30 PM, Liam DeBeasi<EMAIL_ADDRESS>wrote:

What device and version of Android are you testing on?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic/issues/21322#issuecomment-630240783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU7ELPFCRRIHNBMKDPABV3RSFEQ3ANCNFSM4ND5TEBA
.

Thanks for the follow up. I am unable to reproduce this behavior using the reproduction you have provided. Here are the steps I am following:

Start application on Tab 1.
Tap "Tab 2".
Press the hardware back button to return to Tab 1.

After step 3 my understanding is that both the Tab 1 and Tab 2 buttons should appear active; however, they do not appear active at the same time for me. Are these the correct steps to reproduce?

Yes @liamdebeasi, the steps are correct. If I find some other ways to reproduce this or find issue at my own end, will let you know. Thanks.

Ok thanks! I am going to close this for now. If you find another way to reproduce this issue feel free to reply here, and I can reopen the issue.


.NET versions

Hello again (and no rush on this)
I know you said you are working on an update for this project.
There are a few high findings in regards to the 1.2.0 release with version 6.0.11 for aspnet
Microsoft has released a new version of your builder images and they are currently on 6.0.24 which would resolve all findings from our scan tools (Anchore and Prisma Cloud Compute).
Mostly just a fyi for you.
Have a good day.

Thanks the info, I will be updating to the latest asp.net for the next release.
Can you give any more detail by the way? What kind of findings? Any links I can follow?

Sure thing, Ill get those for you here in a bit.

CVE-2023-3591
CVE-2023-38180
CVE-2023-44487

Upgraded to .net8. A new release will be cut when #100 is done.


Hey man don't judge the clussy lovers, everyone has their kink lmao

ngl if you just removed the word sexy everywhere, this might acutally be a fine edition

no fetish content

its not

i can confirm this isnt fetish contnet

ok its fetish content im pushing fetish content on upstream!!!!!! MERG ENOW

Is appreciating a fine clown a fetish? Is enjoying the sunrise a fetish? The clown transcends mere eroticism and borders more on the ethereal, and while those of low knowledge may equate this to some mere physical attraction, the PR is created for those who understand the ephemeral beauty of the Honkmother and her creations. Merging this PR would surely elevate the lives of those on Wizard's Den, and mark the community as one that stand for art and pursing the human purpose.

PR author has been executed for crimes against humanity so no merging is required

Maintainer found mysteriously dead in home. Signs of forced entry.


Support type hint for for-loop variable (using typeHintComment)

It would be great to have type hint support for for-loop variable like
for i in someNonTypedIterator:  # type: SomeType

now the i 's type become SomeType
It is actually possible currently but through somewhat not good looking workaround as shown
i: SomeType
for i in someNonTypedIterator:

This comes very handful when working with 'not type-hinted' libs.

There is no way to annotate a type in a for loop using PEP 484 syntax. Old-style type comments are supported in limited form for backward compatibility only, so we don't have any plans to add support for them in other contexts.
The correct way to annotate a for-loop variable is the way you've suggested above. However, it's extremely rare that an explicit type declaration is required for a for-loop variable because its type can be inferred from the iterable expression in almost all cases. My team's code base has a quarter million lines of Python code (most of it strictly typed), and I don't think there's a single instance where we've needed to annotate a for loop variable.

There is no way to annotate a type in a for loop using PEP 484 syntax.

Yeah, I know, I saw other IDEs support type-hint for for-loop variables. (ref: https://stackoverflow.com/a/45063497/13595571)

it's extremely rare that an explicit type declaration is required for a for-loop variable because its type can be inferred from the iterable expression in almost all cases.

I am working with MongoDB's motor lib, it's not typed :(

Closing issue. Please reopen if necessary.


[Marker.io] "resources" section is present which is not there in figma

Steps to reproduce:

go to goverment page
go to resources section
compare with figma

Actual result: figma does not have this section for governmnent page
Expected result: if current behaviour is correct, then please ignore else fix this

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://proav-stg.webflow.io/government
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Merge Sort

Aim

To implement merge sort

Details

A C code of merge sort

Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Can I work on this i am LGM-SOC 2021 participant??

Can I do in Java? I'm a participant of LGM Soc21.

Hey I can contribute the solution of this code using 4 languages such as, Python, C, C++ and Java. Please assign me in any of these languages.

already in repository @rahulsrivastava1

ok @ravikr126 my bad.


Feature: LVar / BVar link

Having LVars would help folks like me a lot using SPAD.next / FSUIPC / etc. using hardware-switches.
As far as I can tell, while I can change simvars directly, animations like buttons are only triggered when using XML-Vars.
However, I cannot figure out the actual Bvar - names. ie, while FUEL_Selection seems to work (see example below), DEICE_Engine_1 (Inertial Sep) does not.
I can certainly test and PR with a little help for those names.
What do you think?
Example
<!-- aircraft-tbm930-improvement/SimObjects/Airplanes/Asobo_TBM930/model/TBM930_interior.xml -->
<!-- Bvar to Lvar Links ######################### -->
<Component ID="LVAR_TO_BVAR">
	<UseTemplate Name="ASOBO_GT_Update">
	<UPDATE_CODE>
		(L:TBM930_FUEL_Selection_Auto, Bool) (B:FUEL_Selection, Bool) != if{ (>B:FUEL_Selection_Toggle) }
		(L:TBM930_InertSep, Bool) (B:DEICE_Engine_1, Bool) != if{ (>B:DEICE_Engine_1_Toogle) }
	</UPDATE_CODE>
	<FREQUENCY>1</FREQUENCY>
	</UseTemplate>
</Component>

Can you try using K: events?
K:ANTI_ICE_TOGGLE_ENG1

Can you try using K: events? K:ANTI_ICE_TOGGLE_ENG1

With Key events it works but as @helge000 said this will not make the button move in the cockpit.
It would be great to have these additions directly in TBM930_interior.xml so we dont have to re-add them at every release of this mod. See http://www.badcasserole.com/adding-workarounds-to-msfs2020-for-mobiflight/

The following XML got all the switches working and animation for me:
<!-- Put this in TBM930_interior.xml. 1 = Off, 2 = On ========================================= -->
<!-- See http://www.badcasserole.com/adding-workarounds-to-msfs2020-for-mobiflight/ for details -->
<Component ID="SPAD_External_Control">
    <UseTemplate Name="ASOBO_GT_Update">
    <UPDATE_CODE>
        (L:SPAD_TBM930_DEICE_Engine_1_Set, Number) s0 0 > if{ l0 1 - (>B:DEICE_Engine_1_Set) 0 (>L:SPAD_TBM930_DEICE_Engine_1_Set) }
        (L:SPAD_TBM930_FUEL_Selection_Set, Number) s0 0 > if{ l0 1 - (>B:FUEL_Selection_set) 0 (>L:SPAD_TBM930_FUEL_Selection_Set) }
        (L:SPAD_TBM930_DEICE_Propeller_1_Set, Number) s0 0 > if{ l0 1 - (>B:DEICE_Propeller_1_Set) 0 (>L:SPAD_TBM930_DEICE_Propeller_1_Set) }
        (L:SPAD_TBM930_PRESSURIZATION_Bleed_Air_Source_Set, Number) s0 0 > if{ l0 1 - (>B:PRESSURIZATION_Bleed_Air_Source_Set) 0 (>L:SPAD_TBM930_PRESSURIZATION_Bleed_Air_Source_Set) }
        (L:SPAD_TBM930_LIGHTING_Cabin_Light_Set, number) d 0 > if{ 1 - (>B:LIGHTING_Cabin_Light_Set) 0 (>L:SPAD_TBM930_LIGHTING_Cabin_Light_Set) }
        (L:SPAD_TBM930_LIGHTING_Access_Light_Set, number) d 0 > if{ 1 - (>B:LIGHTING_Access_Light_Set) 0 (>L:SPAD_TBM930_LIGHTING_Access_Light_Set) }
    </UPDATE_CODE>
    <FREQUENCY>1</FREQUENCY>
    </UseTemplate>
</Component>

This look good but how do you assign switches on a Honeycomb bravo to these functions
Kev M

This look good but how do you assign switches on a Honeycomb bravo to these functions
Kev M

You will need some software like SPAD, Axis and Ohs or Mobiflight. These programs will allow you to map a switch activation to set an LVAR value. I use SPAD so when the switch is turned your action is to change the SPAD_TBM930_DEICE_Engine_1_Set LVAR data value to 2. To switch it off set SPAD_TBM930_DEICE_Engine_1_Set to 1.
See the following for a good tutorial on setting up the Honeycomb Bravo with SPAD: https://youtu.be/GBaOCHAn-7I

And here is an even better link about setting up Bravo throttle specifically for the TBM: https://youtu.be/ChblK6RPAqQ

Thanks, I will chase up one of the apps above


Create multipart/form-data requests?

I'm having issues creating a request with an attached file. Tried a lot of different alternatives but always end up with issues.
Seems like Guzzle in itself handles this, but the oauth2-client is limiting the getAuthenticatedRequest method to using only " Any of "headers", "body", and "protocolVersion".".
Example where it says to not specify form-data:
https://stackoverflow.com/questions/47550801/multiple-files-uploaded-via-guzzle-multipart-form-data-request-are-not-recognize
Another discussion regarding this, I tried following it but cannot get it to work. Guzzle complains about it being an invalid resource type "array" while doing so:
https://stackoverflow.com/questions/58736361/replicate-curl-multipart-form-data-request-with-guzzle-league-oauth2-client?rq=1
Error is thrown in the streamFor method found in Utils.php located in guzzlehttp vendor/psr7/src/Utils.php.
Anyone tried this and got it to work? Any help would be very appreciated.

You can make it work with this following extra code :
if (isset($options['multipart']))
{
	$multipartStream = new GuzzleHttp\Psr7\MultipartStream($options['multipart']);
	$boundary = $multipartStream->getBoundary();
	$options['headers']['content-type'] = "multipart/form-data; boundary={$boundary}";
	$options['body'] = $multipartStream;
	unset($options['multipart']);
}

It is inspired from GuzzleHttp\Client::applyOptions() which you should read.
As stated by this stackoverflow answer, the only keys allowed in League\OAuth2\Client\Provider\AbstractProvider::getAuthenticatedRequest()'s $options are "headers", "body", and "protocolVersion".
Thus, in the following code will ignore the "multipart" key in the $options array.
$multipart = [];
$multipart[] = [
	'name'     => "documents[{$key}]",
	'contents' => GuzzleHttp\Psr7\Utils::tryFopen($file['tmp_name'], 'r'),
	'filename' => $file['name'],
];
$options['multipart'] = $multipart;
$request = $provider->getAuthenticatedRequest($method, $url, $token, $options);

Also see https://github.com/thephpleague/oauth2-client/pull/967 / https://github.com/thephpleague/oauth2-client/pull/995


How to bypass the tampermonkey block?

So, you see, as of lately this thing seems to just deadass block users with tampermonkey installed.  Just today I was tryina download a midi file, but was greeted with the (you guessed it) "please disable tampermonkey to continue to the site" page.
What to do?
Regards, ur #1 simp. :)

just update to v0.15.14

poggers!!! Also regarding the Daniel dude that came here to bother you, seems like half the stuff he is saying is just useless words and pure demagogy. AFAIK he stopped responding, but it seems that he didnt read your original response to the first sent email.

Definitely a reddit moment for sure.

@xmander yo do u have discord server

#68


[opentelemetry-kube-stack] Adding additional labels

This is to enable the option to add labels to the components such as servicemonitor.
While using a separate collector for the controlplane metrics, we need to add a label to serviceMonitors that we are planning to lookup separately (Later this TA can us this label  filter the serviceMonitor lookup). This PR is specifically to fix the following error that we get while adding the label to servieMonitor components.
- kubeEtcd.serviceMonitor.additionalLabels: Additional property component is not allowed
- kubeApiServer.serviceMonitor.additionalLabels: Additional property component is not allowed
- kubeControllerManager.serviceMonitor.additionalLabels: Additional property component is not allowed
- kubeScheduler.serviceMonitor.additionalLabels: Additional property component is not allowed

Refer the following issue for the related discussions, https://github.com/open-telemetry/opentelemetry-helm-charts/issues/1372

@jaronoff97 -  Please review


Allow users to complete questions for multi-item notifications.

Description
When a user uploads a bulk file, they are only able to fill in the notification data for one of those items instead of all of them.
This PR address this, so that the user is successfully looped through
each multi-item. until they've all been completed.
As this functionality was introduced, for free, by COSBETA-560, this PR introduces a few specs to make sure that the behaviour is captured in test.
It also makes sure that we're getting the components in the order we correctly expect (which is in reverse at present).
Checklist:

[x] Automated checks are passing locally.

tested in review app, looking good as expected!


[PowerRename] Regular expression *

Would be nice to have regular expression like *
for example replace *.png to newname.png will name all files newname.png newname1.png newname2.png etc...

You can already use this. Do you know how regular expressions work? Have you checked yhe check box?

https://docs.microsoft.com/en-us/windows/powertoys/powerrename#matching-and-variable-examples
And use
https://docs.microsoft.com/en-us/windows/powertoys/powerrename#options---enumerate-items


Dashboard design update

Course and program cards on the dashboard are currently a little busy and confusing. Also, the mobile dashboard isn't working well.
Designs and Mockups
Dashboard with programs: https://projects.invisionapp.com/d/main?origin=v7#/console/21535972/468431706/preview?scrollOffset=0
Dashboard with expanded card for upsell: https://projects.invisionapp.com/d/main?origin=v7#/console/21535972/469158352/preview?scrollOffset=1015
Program Drawer with upsell (scroll down): https://projects.invisionapp.com/d/main?origin=v7#/console/21535972/468431707/preview?scrollOffset=0
Mobile Program Drawer: https://projects.invisionapp.com/d/main?origin=v7#/console/21535972/469158353/preview?scrollOffset=996
Acceptance Criteria:

[x] Don't display "enrolled in free course" or "Enrolled in certificate track" labels on program cards
[x] Link the program title to opening the program drawer
[x] Don't display the full program id on the program card. Instead of program-v1:MITx+DEDP | it should display just DEDP
[ ] display a default image if there isn't a custom one in the CMS, to keep the layout simple
[x] When the user can upgrade, expand the card to include an upgrade message and a "Get Certificate" button. If there is no upgrade option or the deadline has passed, hide this section. The text can be "Upgrade today and, upon passing, receive your certificate signed by MIT faculty to highlight the knowledge and skills you've gained from this MITx course." with upgrade today being a link.
[x] in mobile, the program drawer should slide out to cover all but 8px of the underlying dashboard, so the user can interact. There should be an "X" button to close the drawer in the top right

@pdpinch, so I am just about wrapping up development on this.
I believe a couple of the items on your list already exist:

display default image.  This is controlled by the DEFAULT_COURSE_IMG_PATH constant which is set to images/mit-dome.png by default.
Link the program title to opening the program drawer.  Testing locally and on RC, this seems to already be functional.


Outline: Disk extfile('QIWS/QCUSTCDT') causes problems

Version 0.7.1
I have a (short) piece of code which tells me "No symbols found in document 'ZTESTB.RPGLE'.
If I look at the IBM i output I see this, where "FILE(*LIBL/QIWS/QCUSTCDT)" is invalid syntax:
Current library: LENNONS1
Library list: LENNONS1 QIWS LENNONS2 QTEMP QGPL
Commands:
		DSPFFD FILE(*LIBL/QIWS/QCUSTCDT) OUTPUT(*OUTFILE) OUTFILE(LENNONS2/RQIW011610)

CPD0045:  Too many qualifiers for parameter FILE.
CPF0001:  Error found on DSPFFD command.

Which must come from this line in the source:
dcl-f   QCUSTCDT Disk extfile('QIWS/QCUSTCDT');
I guess this problem stops the outline process.
So I commented out that line.  Saved and re-opened the source.
Now no errors in IBM i output, but still no outline.
I have another dcl-f  line:
dcl-f   QPRINT printer(132);
Commented this out, saved and re-opened the source, and now I have an outline.
Here's the complete source:

**free
ctl-opt option(*srcstmt) actgrp(*new) main(Prt);
dcl-f   QCUSTCDT Disk extfile('QIWS/QCUSTCDT');
dcl-f   QPRINT printer(132);
dcl-proc Prt;
    dcl-ds line len(132) inz qualified;
        custname    char(20);
        *n          char(1);
        custinit    char(10);
        *n          char(3);
        cusnum      char(6);
    end-ds;
    dcl-ds head likeds(line);
    head.custname = 'Name';
    head.custinit = 'Initials';
    head.cusnum = 'Number';
    write QPRINT head;

    read QCUSTCDT;
    dow (not %eof(QCUSTCDT));
        line.cusnum = %char(CUSNUM);
        line.custname = LSTNAM;
        line.custinit = INIT;
        write QPRINT line;
        read QCUSTCDT;
    enddo;
    return;
end-proc;

(I do get outlines for some source, but I have another, much longer, source member that won't produce an outline, but I've found nothing in the IBM i output.  I don't know if fixing this problem will solve other issues).

Fix out tonight

@worksofliam That fixed the first of the problems, but the second one I mentioned
dcl-f   QPRINT printer(132);
still stops the outline.
No Outline:

Line commented out- has Outline:

How odd! I will look into this :)

@SJLennon Will work on this right away this weekend. Will get back to you.

@worksofliam  FWIW: Don't know if this helps, because I can't reproduce it.
I opened up a 293 line member with has a DCL-F printer line.  Did't get an outline.
I inserted  extfile('MYPRT') at the end just before the ;
Wasn't paying attention to the (missing) outline. After a couple seconds of thinking time, suddenly an outline appeared.
I entered a new comment line below the DCF-F and at some point during the entry of the line the outline vanished.   And it never comes back.
Unfortunately, I have been unable to recreate the problem, even after and restarting VS Code.  Wild guess: is VS Code is perhaps caching something  somewhere on my machine.

@SJLennon Starting Saturday, I will have the whole week to look into existing issues since I am taking a long vacation before starting a new job. I will make sure this gets looked at.

@SJLennon What's the status here? Shall we close the issue?

@worksofliam I just tried it again, and still have issues.
I open a member that starts off like this, and get an outline:

I un-comment line 4.  Nothing changes in the outline, so I guess the parser didn't get kicked off.

I start a comment on line 4 by entering a blank (I expect any keystroke kicks off the parsing) and the outline disappears:

I un-comment line 3. Nothing happens until I enter a keystroke, but then the outline updates to include CUSREC

Maybe it's due to QPRINT having no fields?

Likely because of that... but now you've given me some steps to try and recreate. Thanks!

@worksofliam Question:  It looks like the parser gets started when a keystroke is noticed (my interpretation without knowing exactly how it works internally).  So shouldn't commenting/uncommenting with Ctrl+/ be considered a keystroke, since it will most likely impact the outline?

@SJLennon I think I might have just fixed your issue in 0.7.4. Deploying that now


Error

When I run the program, I get the following error:
Traceback (most recent call last):
line 4, in  import requests
ModuleNotFoundError: no module named 'requests'
Any idea how to fix that?

Depending on your environment you have to install pyhton3-requests with apt install python3-requests or you use pip install requests.

Thank you! Fixed that issue by installing requests. Now, I am getting a Key Error: 'api' any ideas on that one?

Did you modify the file https://github.com/dg9vh/VarAC-Cloudlog-Uploader/blob/main/varac_cloudlog_uploader.ini to your needs? Insert your API-Key there.

Yes, I did. I modified the url and the api.

The specific error says:
Traceback (most recent call last):
File "****main.py", line 41, in >
json_string = {"key":config['DEFAULT']['api'], "station_profile_id":config['DEFAULT']['station_profile_id'], "type":"adif", "string";adif}
File "...configparser.py" line 1258 in getitem
raise KeyError(key)
KeyError: 'api'

Could you paste your settings here with replaced API-Key by ***?
Do you have any spaces before or after = ?

[DEFAULT]
url=https://w8rjd.ddns.net/api/qso
api=***
station_profile_id=1

Change your URL to: https://w8rjd.ddns.net/index.php/api/qso - my example is working with mod_rewrite on Apache-side to remove the index.php. Your site does not use this... this is the first point i see...

Then: are you calling this script from the directory the files are hosted from command line? What OS you are using?

I am using windows. I am calling the script from the my VarAc directory.

I changed the url and the problem persists.

Ok. I see what needed to happen. When I changed the command prompt directory to the directory that the script is in, then ran the program. It worked.
Thank you! That was the trick.

I am using windows. I am calling the script from the my VarAc directory.

So you copied the files into this directory... ok... I am running it with following command within the directory where I have my files:
python3 main.py
It seems there is a problem for the main.py to find the varac_cloudlog_uploader.ini - this should also resist in the same directory.

Ok. I see what needed to happen. When I changed the command prompt directory to the directory that the script is in, then ran the program. It worked.
Thank you! That was the trick.

Yes, that's the point :-) I have it running with a cmd-file from desktop that cd into the right directory before running it :-)
Have fun!


"Neopixel" has different displays in different browsers.

Repro Step:

Navigate to https://makecode.microbit.org/beta
Add package "Neopixel" and switch to "{}JavaScript"
copy the following code into content panel:
let item: neopixel.Strip = null
item = neopixel.create(DigitalPin.P0, 24, NeoPixelMode.RGB)
item.showColor(neopixel.colors(NeoPixelColors.Red))
Switch back to "Blocks"

Actual result:
Safari:

Edge:

Chrome:

Firefox:

Transferring to pxt-microbit: https://github.com/Microsoft/pxt-microbit/issues/738


feat: use meta tag to redirect externalURLs

Thanks for the PR, but why is this required? Links to external URLs already send you to the correct destination.

Thanks for the PR, but why is this required? Links to external URLs already send you to the correct destination.

In cases where the users go to the URL directly, the webpage itself does not redirect to the external URL.

Interesting. I don't see this issue as I always set those pages to not be built to prevent that from happening. I don't think it's good for SEO to have pages that are just redirects. It's much better to be linking to the original content and forming backlinks. Is there a particular reason you still generate output for external URL pages?

The use case for me is to redirect links which have been migrated to another website. Should this be under another property instead?

Hmm okay, no that use case is valid and one that I hadn't considered. I don't see any reason why the same parameter couldn't serve both purposes. If you don't need the leaf pages you can tell Hugo not to generate them, but in your use case where you want them, then you can leave them on and have them redirect.
I'll accept the PR, although is there a reason you coded this with an {{ else }} block? It seems redundant.

This is tested and working so I'll merge it in.


System.Net.Http.IHttpClientFactory.Create() does not exist

System.Net.Http.IHttpClientFactory does not have a Create method that takes no args (.NET Core 3.1).
This also supports this:
https://docs.microsoft.com/en-us/dotnet/api/system.net.http.ihttpclientfactory?view=dotnet-plat-ext-3.1
So how have you guys written an example ("Basic usage") for a method that does not exist? :-)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 881cef77-11ef-ac11-06d0-0996a1ccfa1b
Version Independent ID: 3d356334-e672-7e8b-1fef-7944ebee99eb
Content: Make HTTP requests using IHttpClientFactory in ASP.NET Core
Content Source: aspnetcore/fundamentals/http-requests.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @stevejgordon
Microsoft Alias: scaddie

I see now you are using the an extension method.  I missed that because you were not using a "using System.Net.Http" statement in the example.


Generate timemap paths in platform-independent way (#1516)

Generate timemap paths in platform-independent way

JIRA Ticket: https://jira.duraspace.org/browse/FCREPO-2986

Other Relevant Links (Mailing list discussion, related pull requests, etc.)

What does this Pull Request do?

Generate timemap paths in platform-independent way
Special case for resources ending in slash
Emulates the previous behavior where path termination with a slash is
irrelevant

What's new?
This commit was included in the 5.0.2 release but did not get merged into master. Thus it is missing on 5.1.0-RC and is the likely cause of failures of the code to build on winows.
How should this be tested?
To test, please build on windows and verify that it passes.
Interested parties
@birkland

Should there be a PR against master with this change too?


Endpoint to retrieve transaction batch

### Tasks
- [ ] Add protobuf message to describe the transaction batch
- [ ] Add endpoint to the mempool to be used by the transaction batcher
- [ ] Add transaction batch builder

Closing as this is no longer relevant in the current design.


Add ability for webmaster to view as a different role

Fixed by https://github.com/CUCB/website/commit/8fc3a3cb9efea374f57aee317abcff347b0089a2


Running CMake throws linking error - cannot find gcc

Following the instructions in the README, we create a docker image with ubuntu 22.04 installing basic packages like wget, git , and ca-certificates from apt and the rest of the required packages for C++ development using mambaforge given in environment.yml. We copy the source code files within the project directory in a workspace created in home.
CMake configuration step  throws the following error,
-- The CXX compiler identification is GNU 10.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/user/conda/envs/myenv/bin/x86_64-conda-linux-gnu-c++
-- Check for working CXX compiler: /home/user/conda/envs/myenv/bin/x86_64-conda-linux-gnu-c++ - broken
CMake Error at /home/user/conda/envs/myenv/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/home/user/conda/envs/myenv/bin/x86_64-conda-linux-gnu-c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/home/user/conda/envs/myenv/bin/make -f Makefile cmTC_9116f/fast && /home/user/conda/envs/myenv/bin/make  -f CMakeFiles/cmTC_9116f.dir/build.make CMakeFiles/cmTC_9116f.dir/build
    make[1]: Entering directory '/home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_9116f.dir/testCXXCompiler.cxx.o
    /home/user/conda/envs/myenv/bin/x86_64-conda-linux-gnu-c++   -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/conda/envs/myenv/include  -o CMakeFiles/cmTC_9116f.dir/testCXXCompiler.cxx.o -c /home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    Linking CXX executable cmTC_9116f
    /home/user/conda/envs/myenv/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9116f.dir/link.txt --verbose=1
    /home/user/conda/envs/myenv/bin/x86_64-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/conda/envs/myenv/include  -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/user/conda/envs/myenv/lib -Wl,-rpath-link,/home/user/conda/envs/myenv/lib -L/home/user/conda/envs/myenv/lib  CMakeFiles/cmTC_9116f.dir/testCXXCompiler.cxx.o -o cmTC_9116f
    /home/user/conda/envs/myenv/bin/../lib/gcc/x86_64-conda-linux-gnu/10.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lgcc: No such file or directory
    collect2: error: ld returned 1 exit status
    make[1]: *** [CMakeFiles/cmTC_9116f.dir/build.make:99: cmTC_9116f] Error 1
    make[1]: Leaving directory '/home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeTmp'
    make: *** [Makefile:127: cmTC_9116f/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)

-- Configuring incomplete, errors occurred!
See also "/home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/my_ws/sample-cpp/build/CMakeFiles/CMakeError.log".

@traversaro would you have any hints on what might be causing the problem?

A quick fix would be is to move the installation of packages related to C++ development using apt package manager instead of Conda in order to use system-wide dependencies. However, that does not seem elegant and could possibly later cause some management issues.

I chime in just to let you know that I use daily a dockerized development environment based on conda that you can find here (I have to push quite a lot of local modifications piled up recently xD). You can use it as a reference if you want to compile the superbuild.

@traversaro would you have any hints on what might be causing the problem?

I reinstalled exactly the same packages in a new environment, and everything seems to be working fine there. At a quick glance, it seems that ~1500 files are missing in the environment in the Docker image:
user@3562add587dd:~/conda/envs$ find myenv | wc -l
16566
user@3562add587dd:~/conda/envs$ find myenv2 | wc -l
18130

@diegoferigo Thank you for chiming in and thank you for the devenv and development-iit projects which I am already using as references :D
Taking a look at the file you have linked, the differences from what I am doing here are not much (comparing only the relevant parts).

@traversaro would you have any hints on what might be causing the problem?

I reinstalled exactly the same packages in a new environment, and everything seems to be working fine there. At a quick glance, it seems that ~1500 files are missing in the environment in the Docker image:
user@3562add587dd:~/conda/envs$ find myenv | wc -l
16566
user@3562add587dd:~/conda/envs$ find myenv2 | wc -l
18130

Ah, it looks like cleaning up the packages using mamba clean --force-pkgs-dirs --all --yes might be causing problems. I will take a look into it. Thank you very much for the heads up @traversaro!

For an example of the cleaning commands used by the "official"  mambaforge image, check https://github.com/conda-forge/miniforge-images/blob/ac6652a64d584f2dd97365febe3994037db1226c/ubuntu/Dockerfile#L35 .

Indeed, --force-pkgs-dirs seems that can break packages, see https://docs.conda.io/projects/conda/en/latest/commands/clean.html#Removal Targets :

-f, --force-pkgs-dirs
Remove all writable package caches. This option is not included with the --all flag. WARNING: This will break environments with packages installed using symlinks back to the package cache.

In fact, I was actually using the instructions from that file for installing mambaforge inside the container and cleaning up the installation to keep the image lightweight
But what was actually causing the problem was this line,
https://github.com/prashanthr05/sample-docker-conda-cpp-project/blob/0403ee04332c4ca7960b46dcbabfa68a5104770c/dockerfiles/Dockerfile#L68
where I was deleting the static libraries which clearly reflects the linking error  cannot find -lgcc.

Thank you for your suggestions and help @diegoferigo @traversaro !!

where I was deleting the static libraries which clearly reflects the linking error cannot find -lgcc.

Indeed, deleting static libraries it is a good idea if you just use the Docker image to run an executable or Python script.


Update Discv5 version

Fixes #182
Maybe fixes # 186

@carver Ping for thoughts on #186 - I'm a bit baffled as to what's going on with this one. IMO it comes down to the kind of error that's being emitted (ignoring invalid dependency trin-cli which is missing a lib target).
From what I can tell, we're well set up to raise this warning as an error. We have RUSTFLAGS="-D warnings" set in in our ci environment. We even specifically run cargo clippy with --deny warnings. So it seems to me like this warning, which appears to be a rustc warning and not a regular linting warning (which are all raised as errors in our workflow via clippy) should be flagged as an error by cargo.
I've tried a couple other approaches to catch this warning

Adding a .cargo/config.toml to pass in RUSTFLAGS
Using #![deny(warnings)] inside crate roots
Using "-Dwarnings" syntax for RUSTFLAGS which is syntax I've seen used fairly frequently

IMO it comes down to us using multiple crates in a workspace. It seems to be a fairly problematic setup for various config / passing rustc settings to cargo (here and here)
Any thoughts as to whether you want me to fix the warning in this pr (by adding a lib.rs) and leave the issue open/closed?

Any thoughts as to whether you want me to fix the warning in this pr (by adding a lib.rs) and leave the issue open/closed?

I addressed this issue in https://github.com/ethereum/trin/pull/209. (sorry for not including it in the PR description). I think removing trin-cli from workspace dependencies makes sense, because the crate is not a library (no lib.rs file) and trin can't depend on a binary crate.

@ogenev Oh nice, yeah that makes sense to me. I've removed the redundant lib.rs from this pr. Still waiting final confirmation re: open/closing #186 from @carver since the motivation behind the issue was more about generally catching warnings rather than specifically fixing that warning (re discussion here)

the motivation behind the issue was more about generally catching warnings rather than specifically fixing that warning (re discussion here)

Yeah, this is definitely the reason for #186, to prevent new warnings to show up. The existing warning was just a convenient way to test that we can configure CI to catch that special type of warning.
So in summary:

Don't close #186, since we can't confirm that we can catch warnings in CI
Let's remove any attempts at flagging warnings, since we can't confirm that they work


Create OLM upgrade e2e scenario covering upgrade during training

Scenario should start a training, perform an operator upgrade during training and finish the training.
Covered features:

ability of the new operator to process CRs created by old operator
ability of CodeFlare SDK to connect to existing Cluster and work with AppWrapper created by previous version  (i.e. one client session creates an AppWrapper, a later client session can delete/get the AppWrapper)

@astefanutti What do you think about this scenario?

@sutaakar I agree it'd be critical to assess existing operands are not affected by the upgrade, especially those that are not in terminal states.


Publish frontend image to docker registry

It's deployed to https://hub.docker.com/repository/docker/bartlomiejklimczak/ecommerce-frontend/general