ExternalSecret Cuts Off Parameters When Using AWS SSM Parameter Store

Description
I am using external-secrets version 0.10.0 with a single ExternalSecret resource configured to retrieve approximately 500 parameters from AWS SSM Parameter Store. Suddenly, the ExternalSecret was truncated, and only the first 350 parameters were retrieved. This behavior started recently and was not observed previously.
I have the required IAM permissions, and the environment was functioning as expected before this issue arose.
Steps Taken

Create an ExternalSecret resource with ~500 parameters from AWS SSM Parameter Store.
Observe that only 350 parameters are retrieved in the generated secret.
Redeploy the Helm chart managing the ExternalSecret.
Update the ExternalSecret manually and redeploy the Helm chart again.
Observe that the issue persists.
Fix the issue by manually deleting the ExternalSecret and redeploying the Helm chart.

Expected Behavior
The ExternalSecret should retrieve all ~500 parameters without truncation.
Observed Behavior
The ExternalSecret retrieves only the first 350 parameters, leaving the rest missing.
Environment Details

ExternalSecrets version: 0.10.0
Kubernetes version: EKS 1.31
Cloud Provider: AWS

Additional Notes

No errors were observed in the logs of the external-secrets controller.
Redeploying the Helm chart did not resolve the issue.
Manually deleting the ExternalSecret and redeploying the Helm chart fixed the issue temporarily.
This issue occurred suddenly, and I cannot identify a specific trigger or consistent reproduction steps.

Hi,
I executed the following command to check the size of the Secret:
kubectl get secret my-secret -n my-namespace -o json | jq -r '.data | to_entries[] | .value | @base64d' | wc -c

The output of the command was 15756, indicating that the total size of the decoded secret data is 15,756 bytes, which equals approximately 15.4 KB. This is well within the Kubernetes limit of 1 MB per secret.
Regarding the ExternalSecret manifests, I am using Helm templates to define them. Here is the relevant template:
{{- range .Values.externalSecrets }}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: {{ .name }}
spec:
  refreshInterval: {{ .refreshInterval }}
  secretStoreRef:
    name: {{ .secretStoreRef.name }}
    kind: ClusterSecretStore
  target:
    name: {{ .name }}
  data:
    {{- range .data }}
    - secretKey: {{ .key }}
      remoteRef:
        key: {{ .name }}
    {{- end }}
---
{{- end }}

The values.yaml file looks like this:
externalSecrets:
  - name: my-external-secret
    refreshInterval: 5m
    secretStoreRef:
      name: aws-ssm-parameters
    targetSecretName: my-secret
    data:
      - key: PARAMETER1
        name: /pl1/stage/PARAMETER1
      - key: PARAMETER2
        name: /pl1/stage/PARAMETER2
      # Additional ~500 parameters...

Let me know if you need further details, thank you!

what's the status of ExternalSecrets when it fetches only the first 350 parameters?

also, I think external-secrets operator is not as fast to query 500 parameters individually within 5 minutes... This might be just that the operator is overloaded. What is your workqueue_depth values?

Hi,
Thanks for your response. The ExternalSecret status was SecretSynced, and the Ready condition was True.
However, the issue persisted despite the status showing as successful.
After further investigation, I discovered the root cause. While the initial manifest contained only 350 parameters, the applied manifest ended up with around 500 parameters. This discrepancy resulted in the ExternalSecret operator only creating the first 350 parameters in the Kubernetes Secret.
To debug, I used the --debug flag with --dry-run during the helm upgrade command to inspect the generated manifest. The manifest correctly defined all 500 parameters. However, the ExternalSecret still processed only the first 350 parameters.
The issue was resolved by manually deleting the ExternalSecret resource and re-running the helm upgrade command. This recreated the ExternalSecret from scratch, and all 500 parameters were successfully included in the Secret within 1 minute.

After further investigation, I discovered the root cause. While the initial manifest contained only 350 parameters, the applied manifest ended up with around 500 parameters. This discrepancy resulted in the ExternalSecret operator only creating the first 350 parameters in the Kubernetes Secret.

This points out to me that your external-secrets-operator is doing too much of a job it can handle 😄 You probably want to take a look on that.
Is there any Slack/Email I can reach out privately? I want to discuss your setup with you a bit if you don't mind. (I am on kubernetes and cncf slack with the same handle @gusfcarvalho )

Sure, thank you! I'll reach out to you on Slack.


I have three problems

Hi,
I think it's great what you do to notify with a PWA app message, thank you very much.
I have three problems:

On Windows 11 PC I cannot close the installation message in any browser, I can close the message in Chrome and Samsung browser on Android. (allowUserToCloseModal: true,)

On the other hand, the message on PC about widows 11 chrome shows that it cannot be installed, when it can be installed PWA

If I install the PWA application, the installation message still appears. Can you stop reporting the PWA installation message?

On Android when browsing, Edge shows the installation message with the up arrow, but the correct thing is that it will show the down arrow, in the direction of the edge setting button.

Best regards,
Eugenio

Hi,
Sorry, I just configured the src script to version 1.6, so point one is solved, thank you very much.
It would only be these, how could I solve them please:
1-b) On the other hand, the message on PC about widows 11 chrome shows that it cannot be installed, when it can be installed PWA

If I install the PWA application, the installation message still appears. Can you stop reporting the PWA installation message?

On Android when browsing, Edge shows the installation message with the up arrow, but the correct thing is that it will show the down arrow, in the direction of the edge setting button.

Best regards,
Eugenio

For example, with this script code, the install button appears on Chrome mobile and PC, it appears on edge as well, but if I have the PWA app installed, the install button does not appear if the PWA application is installed. I find it great. But I don't know how to apply this to your application so that your window on how to install the application does not appear when it is installed in Chrome, please help me, thank you very much:
if ('serviceWorker' in navigator && 'PushManager' in window) {
window.addEventListener('beforeinstallprompt', (e) => {
e.preventDefault();
        const deferredPrompt = e;

        const installButton = document.createElement('button');
        installButton.textContent = 'Install App';
        installButton.style.position = 'fixed';
        installButton.style.top = '10px';
        installButton.style.left = '50%';
        installButton.style.transform = 'translateX(-50%)';
        installButton.style.zIndex = '9999';
        installButton.style.padding = '10px 20px';
        installButton.classList.add('btn-grad');
        installButton.style.color = 'white';
        installButton.style.border = 'none';
        installButton.style.borderRadius = '5px';
        installButton.style.cursor = 'pointer';

        installButton.addEventListener('click', () => {

            deferredPrompt.prompt();

            deferredPrompt.userChoice.then(choiceResult => {
                if (choiceResult.outcome === 'accepted') {
                    console.log('App installed');
                } else {
                    console.log('App installation declined');
                }

                installButton.style.display = 'none';
            });
        });

        document.body.appendChild(installButton);
    });
}

For example, with this script code, the install button appears on Chrome mobile and PC, it appears on edge as well, but if I have the PWA app installed, the install button does not appear if the PWA application is installed. I find it great. But I don't know how to apply this to your application so that your window on how to install the application does not appear when it is installed in Chrome, please help me, thank you very much:

For example, with this script code, the install button appears on Chrome mobile and PC, it appears on edge as well, but if I have the PWA app installed, the install button does not appear if the PWA application is installed. I find it great. But I don't know how to apply this to your application so that your window on how to install the application does not appear when it is installed in Chrome, please help me, thank you very much:
if ('serviceWorker' in navigator && 'PushManager' in window) {
        window.addEventListener('beforeinstallprompt', (e) => {
            e.preventDefault();

            const deferredPrompt = e;

            const installButton = document.createElement('button');
            installButton.textContent = 'Install App';
            installButton.style.position = 'fixed';
            installButton.style.top = '10px';
            installButton.style.left = '50%';
            installButton.style.transform = 'translateX(-50%)';
            installButton.style.zIndex = '9999';
            installButton.style.padding = '10px 20px';
            installButton.classList.add('btn-grad');
            installButton.style.color = 'white';
            installButton.style.border = 'none';
            installButton.style.borderRadius = '5px';
            installButton.style.cursor = 'pointer';

            installButton.addEventListener('click', () => {

                deferredPrompt.prompt();

                deferredPrompt.userChoice.then(choiceResult => {
                    if (choiceResult.outcome === 'accepted') {
                        console.log('App installed');
                    } else {
                        console.log('App installation declined');
                    }

                    installButton.style.display = 'none';
                });
            });

            document.body.appendChild(installButton);
        });
    }

hi @queno18 thanks for reporting these issues.
Ive fixed 1-b) and 2) in cb8e0213bb3db83c338e2de73fab97049165c9dc and published a new release 1.7.
To fix 1-b and 2)

Use the latest release 1.7
When instantiating the library, use the constructor flag
showErrorMessageForUnsupportedBrowsers: window.AddToHomeScreen.SHOW_ERRMSG_UNSUPPORTED.MOBILE
.
Your issues with 1-b) and 2) will no longer occur because unsupported messages will no longer be shown on desktop browsers (e.g. Mac Chrome) but they will still be shown on unsupported mobile browsers (e.g. IOS Firefox).

re: 3) this is still an outstanding issue as I dont have access to Android Edge app at the moment to test.

Hi Philfung,
Thank you very much for the changes, I wish you a happy new year 2024.
Best regards,
Eugenio


Gradle integration

https://github.com/jhipster/jhipster-quarkus/issues/25
Gradle support added

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.igor.ch seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Dependabot runs fail due to strict node and npm pinning

From https://github.com/dependabot/fetch-metadata/network/updates/803622934:
updater | 2024/03/21 21:28:55 INFO <job_803622934> Updating @actions/github from 5.1.1 to 6.0.0
updater | 2024/03/21 21:28:57 INFO <job_803622934> Handled error whilst updating @actions/github: dependency_file_not_resolvable {:message=>"Dependabot uses Node.js v20.11.1\n and NPM 10.2.4\n. Due to the engine-strict setting, the update will not succeed."}

My guess is something in https://github.com/dependabot/fetch-metadata/pull/443 is a little too strict or pinned to the wrong version...

Either relax the strictness here:
https://github.com/dependabot/fetch-metadata/blob/dc2c459ae6444ea1d108233ed87ce5ff16cf2fa2/.npmrc#L1
Or update the node and npm versions here to at least the versions mentioned in the error message:
https://github.com/dependabot/dependabot-core/blob/c7b16a1a6eb6d35d3be0218e110ebc84b49c1c27/npm_and_yarn/Dockerfile#L13-L18

Related https://github.com/dependabot/dependabot-core/pull/9213

another alternative if we don't care about pinning the major version is:
"engines": {
  "node": ">=20.x",
  "npm": ">=10.x"
},

we might have to get rid of engine-strict=true for it to work

After looking at this, I think dropping engine-strict (since it defaults to false) will probably suffice for the fetch-metadata usecase.
I'm normally a fan of pinning, but given that if we do break something it's not hard to temp pin to an older version, then I'm okay if we relax this for now... and if it becomes a problem in the future, then we can tighten the screws again.

Fixed by:

#510

And :dependabot: is now working again in https://github.com/dependabot/fetch-metadata/pull/453!


Use powershell to send ci notification email

Use powershell to send ci notification email

Codecov Report

Merging #525 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #525   +/-   ##
========================================
  Coverage    41.67%   41.67%
========================================
  Files           57       57
  Lines         2169     2169
  Branches       270      270
========================================
  Hits           904      904
  Misses        1201     1201
  Partials        64       64

Continue to review full report at Codecov.

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


Replace COMPlus with DOTNET prefix

The configuration system in coreclr and mono started supporting DOTNET_ prefix in net6.0. Using DOTNET_ is preferred because it has precedence over COMPlus_.
This matches the behavior by prioritizing DOTNET_ prefix and moving COMPlus_ to fallback in product code. Tests are using the new prefix.

Thanks for updating the prefix usage!

/backport to release/8.0


How to add static effect to whole song like in mandela catalogue mod?

Describe your problem here.
How to add static effect to whole song like in mandela catalogue mod?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

1, Using Adobe Animate, make an animated static screen of as many frames you want.
2. Turn the animation into .PNG and ,xml files
3. Drag those files to the "images" folder of your mod
4. Type a .lua script using the following commands (you should read about what you're meant to type in each command in the Psych Engine Wiki)
function onCreate( )
makeAnimatedLuaSprite
addAnimationByPrefix
objectPlayAnimation
scaleObject
setProperty
addLuaSprite
5. You drag the .lua script either into a specific song data folder, or into the scripts folder of a mod.

you can do addVCREffect('camHud') in your stage .lua or in a script


Service to switch between BW Modes missing / unknown Error in "Turn on/off BW Brauchwasser"

Dear @BenPru and community,
how can I create an automatization which allows to switch the BW modes? E.g. I would like to switch between "Heat Pump" and "Performance" (=Party) Mode within an automatization.

I also realized that the two actions marked in red lead to "unknown Error" when executed

I am using the 2023.11.30-Beta
One may excuse my novice question(s) but I am pretty new to the HA topic. Thank you for your patience.
Best regards
Robert

I'm on HA 2024.1
In the automations dialog:
Then-do:
Service: Water Heater: Set operation mode
Targets: DHW Dometic Water
operation mode: heat_pump, performance, electric or off

@Robman1 Did you try my suggestion? Is your problem now solved?

@rhammen: thank you for the hint. Your proposal would have been more elegant since it uses the UI. In the end I've used the "write" service directly. In the end it is the same. Thank you for your support.


Popper.js is a buggy disaster and nightmare that should be removed

Before opening:

Search for duplicate or closed issues
Validate and lint any HTML to avoid common problems
Read the contributing guidelines

Bug reports must include:

Operating system and version (Windows, macOS, Android, iOS, Win10 Mobile)
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Reduced test case and suggested fix using CodePen or JS Bin

This isn't the right place to say this. If you have a problem with Popper.js report it to them.

Actually this is exactly the place to talk about it ...nobody can upgrade to bootstrap 4.0 m because there’s a runtime error out of the box ... from a stupid package that you shouldn’t be including with it

Popper.js is a deps like jQuery, so if you're able to include jQuery correctly you'll be able to do the same for Popper.js
We choose Popper.js because currently it's the best lib to do auto positioning (before on v4 we use Tether which recommend to use Popper.js).
BTW since our 4.0.0 (which is a bit outdated now) you can use bootstrap.bundle*.js files which can include Popper.js inside:
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.bundle.min.js


Add query insights blog

Closes #3395
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

@pajuric Editorial comments addressed. This blog is ready to publish.


Better support for wrapping Haskell modules via postulate

Problem statement
The mission statement of Adga2hs is to carve out a sublanguage of Agda that translates directly to Haskell, so that we can prove properties about Haskell-in-Agda programs in Agda. This is highly useful for producing high assurance Haskell code. Personally, I think of Agda2hs as "the missing proof assistant for Haskell".
I particularly enjoy that Agda2hs allows me to develop proofs about Haskell programs in an incremental fashion: I can write and prove selected parts of my program in Haskell-in-Agda, export them to Haskell, and use the result together with existing Haskell code that was only tested, not proven.
However, I feel that this incremental approach would become even more powerful if Agda2hs better supported the import of Haskell code. Here, I don't mean a syntactic import of Haskell code (that would be amenable to proof), but an import of Haskell functions and "tested" properties via Agda's postulate mechanism. Let me call this "wrapping a Haskell module".
Put differently, at the moment, Agda2hs implements a translation from .agda to .hs files where the .agda file is the "source of truth". I would like to see a translation from .agda to .hs where the .hs file acts as a "source of truth".
Proposed solution: COMPILE … IMPORT pragma
Agda2hs has made a design decision to translate .agda files to .hs files. In particular, it does not attempt to parse Haskell files. This design works particularly well for using Agda2hs as a preprocessor for Haskell. In order to explore this point in the design space properly, we need to take it to its logical extreme before changing it. Hence, I'll leave the Haskell to the Haskell compiler.
Consider the following module, which is legal Adga2hs today:
module Haskell.Cardano.Crypto.Wallet where

{-# FOREIGN AGDA2HS
{-# LANGUAGE UnicodeSyntax #-}
import qualified Cardano.Crypto.Wallet as CC
#-}

postulate
  XPub : Set  -- plaintext public key
  XPrv : Set  -- plaintext private key

  toXPub : XPrv → XPub

{-# FOREIGN AGDA2HS
type XPub = CC.XPub
type XPrv = CC.XPrv

toXPub :: XPrv → XPub
toXPub = CC.toXPub
#-}

(This is a real world example.) This module defines two data types XPub and XPrv and a function toXPub. However, instead of giving an actual definition, this module simply postulates the identifiers and emits Haskell code that imports the identifiers from the Haskell module Cardano.Crypto.Wallet.
This module does what I want: I can use the Haskell Cardano.Crypto.Wallet in my Haskell-in-Agda code. By postulating properties, I can also do proofs (while assuming that the properties hold).
However, this module would benefit from native support in Agda2hs. In particular, the following would be an improved version:
module Haskell.Cardano.Crypto.Wallet where

postulate
  XPub : Set  -- plaintext public key
  XPrv : Set  -- plaintext private key

  toXPub : XPrv → XPub

{-# COMPILE AGDA2HS XPub IMPORT #-}
{-# COMPILE AGDA2HS XPrv IMPORT #-}
{-# COMPILE AGDA2HS toXPub IMPORT #-}

Here, the intention is that the new compiler pragma
{-# COMPILE AGDA2HS toXPub IMPORT #-}

compiles to a type signature and equation of identifiers
toXPub :: XPrv -> XPub
toXPub = Cardano.Crypto.Wallet.toXPub

For types such as XPub and XPrv, instead of defining a type synonym, the identifiers would be added to the export list.
The name of the imported Haskell module is obtained by stripping the Haskell prefix from the Agda module name. For the purpose of disambiguation, the generated module keeps the Haskell prefix.
This level of native support in Agda2hs has the following advantages over the version using FOREIGN AGDA2HS:

It avoids duplication — I no longer have to write down the type of toXPub twice.
The Haskell compiler will type-check that the imported Haskell identifier has the same type as the postulate. This is the most important advantage.
Type synonyms are almost, but not fully interchangeable with the original types — there is ambiguity when importing from different modules. This is a minor thing.

It's worth repeating that the decision to only emit Haskell code, but to never parse Haskell code is preserved.
What do you think?

Could you explain how this would be different from the existing support for declaring agda2hs rewrite rules in a separate file? (see https://agda.github.io/agda2hs/features.html#rewrite-rules-and-prelude-imports) I think the idea here is solid, but I'd prefer to avoid reinventing the wheel.

Could you explain how this would be different from the existing support for declaring agda2hs rewrite rules in a separate file?

Sure.
First, the intended use case is different. According to the documentation, Rewrite rules and Prelude imports, are "particularly useful if you have a project depending on a large library which is not agda2hs-compatible (e.g the standard library)." That's not the intended use case here — instead of making Agda data types that have concrete definitions, e.g. ℕ, interoperable in the transpiled Haskell (which may have a different concrete definitions), I want to import identifiers from Haskell that have no a-priori definition in Agda.
But a difference of use cases does not yet imply that the feature is not suitable for the other use case as well. However, I believe that the following differences are good reasons to add a {-# COMPILE … IMPORT #-}-like mechanism:

Static type check — The rewrite rules do not include a direct check whether the rewritten identifier and the Agda identifier have the same types; we only get a scope check and follow-up errors in the event of a type mismatch.

Syntax, modularity — Rewrite rules are listed in a separate configuration file, not in a valid Agda module. The one-to-one relation between an .agda module and its corresponding .hs module is lost.

Syntax, duplication — I would have to write
  from: "Haskell.Data.Map.lookup"
  to: "lookup"
  importing: "Data.Map"

for each identifier — forcing me to duplicate the module name. (I have to duplicate the identifier when using {-# COMPILE … #-}, but not the module name.)

Now that you mention it, there is some overlap, though. 🤔  Specifically, consider the following example:
postulate
    empty   : Map k a
    insert    : k → a → Map k a → Map k a

singleton : k → a → Map k a
singleton = λ k x → insert k x empty

The functions empty and insert are postulates and to be imported from Haskell. However, singleton is defined in Agda here, even though a definition exists in the Data.Map Haskell module. In this case, we want to rewrite — the reason that I have added a definition for singleton instead of postulate-ing it is that this definition simplifies proofs; it's not meant to be the actual definition at runtime. But even in this case, I believe that the type check and modularity are worth adding a pragma-based import/rewrite mechanism as opposed to a configuration-file one.


401 Unauthorized

It works for me - maybe you should add more details about you problem.

I have the problem of 401 not authorized, copy the uid and password, I would need some guidance on how to get these credentials well. you want the problem is that

401 Authorization Required


[adding new mon] new mon hangs on 'fetch ceph initial keys' for a long time

Bug Report
IMPORTANT: This bug may be connected with https://github.com/ceph/ceph-ansible/issues/5863 (but not necessarily)
What happened:
When adding new mon using infrastructure-playbooks/add-mon.yml, the playbook hangs on task fetch ceph initial keys on newly created node for a extremly long time(i'm not sure what is exact timeout but approx. 20-30min).
TASK [ceph-mon : fetch ceph initial keys] ****************************************************************************
Monday 28 September 2020  19:07:13 +0200 (0:00:21.772)       0:03:20.310 ******
ok: [controller0]
ok: [controller1]
(now ansible waits for controller2)

What you expected to happen:
I see 2 possible scenarios:

Do not execute this task at all if it could end with timeout and everything still works fine.
Set a small --connect-timeout for this task to avoid a huge waste of time caused by waiting for this task to finish(with timeout)

How to reproduce it (minimal and precise):
Just add new mon running playbook infrastructure-playbooks/add-mon.yml
Environment:

OS (e.g. from /etc/os-release): Centos 8
Kernel (e.g. uname -a): 4.18.0-193.19.1.el8_2.x86_64
Docker version if applicable (e.g. docker version): 19.03.13
Ansible version (e.g. ansible-playbook --version): 2.9.13
ceph-ansible version (e.g. git head or tag or stable branch): origin/stable-5.0
Ceph version (e.g. ceph -v): 15.2.5

+1  to this issue , i am facing the same

+1 . same issue found on both stable-5.0 and stable-4.0

+1 Same problem here. Im on stable-4.0. Problem here is, that the newly created monitor is indeed running and trying to join the other monitors, but it has a different monitor keyring in /var/lib/ceph/mon/ceph-/keyring.
The log for the newly created monitor thus shows:
[...]
2020-11-06 10:25:29.426 7f7b3af590 -1 mon.miniceph5@0(probing) e0 handle_auth_bad_method hmm, they didn't like 2 result (13) Permission denied
2020-11-06 10:25:44.350 7f7abae590 -1 mon.miniceph5@0(probing) e0 handle_auth_bad_method hmm, they didn't like 2 result (13) Permission denied
[...]

Changing the keyring to the cluster monitor keyring and restarting the monitor, will allow the monitor to join the quorum.
@chandidas @ksingh7 Are you seeing this as well?

+2

When I add a new monitor with add-mon.yml or site-container.yml
add-mon.yml - runbook successful, however it doesn't +1 to ceph status
when /bin/bash on the mon container and ceph status
[errno 13] RADOS permission denied (error connecting to the cluster)
site-container.yml
runbook errors out
[errno 13] RADOS permission denied (error connecting to the cluster)

Also happens in "6.0.3"; task took 50m to go through...
TASK [ceph-mon : fetch ceph initial keys] ********************************
Monday 19 April 2021  23:38:48 +0000 (0:02:44.797)       0:04:30.566
ok: [ceph3]
ok: [ceph1]

ok: [ceph2]  <<-------50m

TASK [ceph-mon : include secure_cluster.yml] ***************************
Tuesday 20 April 2021  00:28:48 +0000 (0:50:00.674)       0:54:31.241
skipping: [ceph1]
skipping: [ceph2]
skipping: [ceph3]


project maintainance (Question)

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
There are more issues & pull-requests submitted but they are not answered or merged.
Even important ones like the accessibility pull-request have been gathering dust for a while now:
https://github.com/swimlane/ngx-datatable/pull/1506
There have also been no responses to issues or pull-requests.
Expected behavior
I would love an update on the planned maintainability of the project, so I have an argument to create a fork and maintain the project in house.
Reproduction of the problem

@marjan-georgiev ⬆

@gerhardboer, please share your decision on whether to create a fork on this please.
@marjan-georgiev , if you have no longer time to maintain this project please name and give someone permission to maintain it

The best way is take over project.

Apologies for the delay in response everyone. My focus has been on other projects recently, without much time to dedicate to ngx-datatable. I should have more time to focus on it now.
That said, we are looking for people willing to help maintain the project. If you would like to help triaging issues, reviewing PR's and collaborating on the project's roadmap, please reach out to me directly on gitter https://gitter.im/swimlane/ngx-datatable
Thank you!

Any plan for Angular 9 Update ?


No such option: --stdin-filename

when I upgrade vscode ，found python formatter must use vscode-black-formatter，old python.formatting become unknown.
ok，fine, I use it。Then I found my local black not work with log:
`2024-02-23 14:31:10.778 [info] /home/user/.local/bin/black --line-length=100 --stdin-filename /home/user/code.py -
2024-02-23 14:31:10.779 [info] CWD Server: /home/user
2024-02-23 14:31:11.045 [info] Usage: black [OPTIONS] [SRC]...
Try 'black -h' for help.
Error: No such option: --stdin-filename`
my local black version is 20.8b1, I know it's old, because I work on old code with many others.
maybe this line should check the black version:
https://github.com/microsoft/vscode-black-formatter/blob/01e3899d1e3d1fd85bf3010107f4361a136f2e04/bundled/tool/lsp_server.py#L175

The minimum version of black supported by this extension is 22.0.*. We don't have plans to support older versions of black. The main reason is that older versions of black did not have a way to format virtual or unsaved files. I recommend pinning your python extension to older version where you could use it.


Documentation for agents is incomplete / incorrect

Specifically there are no clear instructions on what a tool is. The docs reference a class called dspy.Tool which doesn't seem to exist.
https://github.com/stanfordnlp/dspy/blob/2d845de186b5d47a34c3f843cfc250be679087c0/docs/api/modules/ReAct.md?plain=1#L24
Overall find it very hard to follow what the ReAct agent is (supposed to be) doing and how to use it. Also it seems like it can't deal with typed signatures.
It would be great to have more up to date docs or examples on how to implement agents.

See #703 for a partial answer. But we still need more guidance in the docs on tools. Thank a lot.

@okhat I could take a look at it, as long as these agents and tools are here to stay.
I also ran into this one today. The missing dspy.Tool class is very misleading. And we are already seeing issues with invoking these tools with
https://github.com/stanfordnlp/dspy/blob/1a56e69465ef14ab9b7554184e99712766dd77dd/dspy/predict/react.py#L94
and #804. I assume it's just something that was left unfinished.
Maybe it's just me having a history of using strongly typed languages, but I'd still create the Tool class and have Retrieval comply to it somehow (probably some mixin magic). That would avoid hardcoding .passages and calling it a second time if the tool is not a retriever.

Yeah the Tool type annotation was probably volunteered by someone in the community as a nice-to-have interface. There's no such interface class in the library itself. We can either edit the docs to remove it from there, or actually create a PR to create that interface.
Free-form agents, or the ReAct class in particular, haven't been a priority because it's not up there in the list of things we recommend people invest time into. Should be able to perform better with a simple combination of ChainOfThought and function calls for tool use.

Free-form agents, or the ReAct class in particular, haven't been a priority because it's not up there in the list of things we recommend people invest time into. Should be able to perform better with a simple combination of ChainOfThought and function calls for tool use.

Ok, that's good to know (that ChainOfThought should outperform ReAct). The reason I was looking into agents is that I was reading into KnowAgent, where they really expand on the idea of using custom actions and knowledgebases. If you omit the part where they optimise these agents, the same could be achieved with DSPy using ReAct and custom tools.
What I found interesting was that instead of just "search" and "lookup", you could define custom tools that the agent could use. This is already something that ChainOfThought cannot do.
This is something I see potential in. But again, you are the expert and the maintainer of the library, so if you don't see a bright future for ReAct, maybe we shouldn't invest here. In which case, removing dspy.Tool from the docs might e enough.

related to https://github.com/stanfordnlp/dspy/issues/804


chore: bdd-spring-1583166291 to 0.0.1

chore: Promote bdd-spring-1583166291 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Mark swift sections as swift4 for Swift 4.2

rdar://36363251

@swift-ci Please test

The formats of these sections still changed, and the version bump is intended to ensure that tools that expect the old formats don't see the new formats. Did we ship any previous compilers with these section names?

On the swift-4.1-branch, "git grep swift4_" shows nothing using that prefix. The names were all "swift2_" or "swift3_" until recently.

@jckarter We never have used the swift4 prefix. It used to be swift2/3 (e.g in swift-4.1-branch) before the change to swift5. This change is intended for disambiguation between swift 4.2 and later.

Does this change need to be coordinated with LLDB?

@dcci ?

I don't think so. $ cd lldb; git grep swift5 returns nothing relevant. I don't remember fallout when I changed the prefix to swift5. I do not see a relevant commit in stable within the two weeks i committed the swift5 change.

AFAICT the smoketest preset 'buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx' runs lldb tests so the PR #15238 should also test lldb.


Fixed duration calculation due to string return

Since the timer_stop() function returns a string a warning was thrown due to invalid number format.

thank you!


Ministats doesn't appear in half the examples

Ministats doesn't work on around half the engine examples.

Well spotted. It turns out mini-stats are missing in example that use createGraphicsDevice, which is async, and both the device and the app are undefined at the beginning. When the example starts, the setupApp is then skipped.
https://github.com/playcanvas/engine/blob/28d785d7c6385cb64524ecdceba1df368571f11c/examples/scripts/iframe/index.mustache#L187-L189
@ellthompson - any thoughts on how this can be fixed?


Add meherpooja

@meherpooja, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

sure, I am the first-timer to open source community. I think it is more welcoming than I thought. I'd a problem with pushing the code to the repository but, I overcome that problem with many tutorials. I felt happy when my first PR got merged. Thanks to you, for the opportunity.

@meherpooja: I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


Add handwritten score and raising-hand models

@snosov1 index.md update is missing

@zmaslova please, review

@zmaslova Zoya, ok?

@snosov1 today we will update precommits, and I'll merge after it. looks good

Jenkins please retry a build

@snosov1 please rebase

@zmaslova, rebased.


Reorganize the dom diffing

I mean, it would be better to separate/reorganize the dom diffing "algorithm". Currently it works "by reference", so I think it would be better to be something like patch(newNode, oldNode) which would return the updated element.
I'm playing with this last days. And especially built something similar from scratch - 900bytes gzipped, without the html thing - it can be anything from custom to bel. Anyway, I'm just playing and currently I'm using nanomorph.
edit: hope you get what I'm talking about, haha.

@tunnckoCore Do you mean change the order of the arguments?

@tunnckoCore Nothing actionable here. Would love to simplify the DOM diffing even more tho.

I actually did it before few days. Decoupled everything to separate local file module. Diffing is ~300-400 bytes.
It looks like
const microdiff = require('./microdiff')
const update = microdiff(root, 0)

// update later is used in the `onRoute` like that
// signature newEl, oldEl
update(view(model, actons), el)

But anyway :) I'll come up with something soon.

PR welcome.

Damn, my fault, bad mind. it is 650, with umd and soucemap comment.

PR welcome

yea


refactor!: make the http request body use hrpc body type, instead of hyper body type

Not needed since this was only used on hyper server impl


New package: FiniteDiff v2.0.0

Registering package: FiniteDiff
Repository: https://github.com/JuliaDiff/FiniteDiff.jl
Created by: @ChrisRackauckas
Version: v2.0.0
Commit: ca97bf8eb7ca597a5857bf20caec47d3f9e9057b
Reviewed by: @ChrisRackauckas
Reference: https://github.com/JuliaDiff/FiniteDiff.jl/issues/70#issuecomment-570809026

@DilumAluthge @StefanKarpinski  this is an org move (JuliaDiffEq->JuliaDiff) and a rename of DiffEqDiffTools.jl->FiniteDiff.jl . Let me know if anything else is required.


Combine normal form with vue2-dropzone in Rails

I'm trying to combine a normal form with vue2-dropzone for a Rails app I'm working on, but I'm slightly confused how to go about this.
Right now, I am creating a Rails form and passing in the data to populate it (if it has fields that are already stored) like this:
<%= form_for(listing, html: { id: 'listing_form', data: { listing: listing.to_json } }) do |f| %>
  <%= f.text_field(:name) %>
  <%= f.select(:property_type) %>
  ...
  <vue-dropzone ref="myVueDropzone" id="dropzone" :options="dropzoneOptions">
  </vue-dropzone>

  <%= f.submit 'v-on:click.prevent': 'submitListing' %>
<% end %>

As you can see, this form passes html data to pre-populate the form.
I am sending the data with the submitListing method which I call in a Vue method:
Vue.http.headers.common['X-CSRF-Token'] = document.querySelector('input[name="authenticity_token"]').getAttribute('value');
var listingForm = document.getElementById('listing_form');
var listing = JSON.parse(listingForm.dataset.listing);

const myForm = new Vue({
  el: '#listing-multistep',
  components: {
    vueDropzone: vue2Dropzone
  },
  data: function () {
    return {
      id: listing.id,
      propertyType: listing.property_type,
      // More properties defined here...
      dropzoneOptions: {
        url: '/add_listing',
        autoProcessQueue: false,
        parallelUploads: 15,
        maxFiles: 15,
        addRemoveLinks: true,
        thumbnailWidth: 150,
        maxFilesize: 5,
        dictDefaultMessage: "<i class='fa fa-cloud-upload'></i> Drop files here to upload",
        headers: { "My-Awesome-Header": "header value" }
      }
    }
  },
  methods: {
    // This method gets called when the form is submitted:
    submitListing: function() {
      // Do some data processing...
      if(this.id == null) {
        // POST if it's a new listing
        this.$http.post('/listings', {listing: listingObj}).then(
          response => {
            this.$refs.myVueDropzone.processQueue()
            window.location = `/listings/${response.body.id}`
        }, response => {
          console.log(response)
        })
      } else {
        // PUT if it's an existing listing
        this.$http.put(`/listings/${this.id}`, {listing: listingObj}).then(
          response => {
            this.$refs.myVueDropzone.processQueue()
            window.location = `/listings/${response.body.id}`
        }, response => {
          console.log(response)
        })
      }
    }
  }

It is my understanding that when Dropzone gets submitted, the entire form gets submitted as well, so I believe my current approach may be incorrect.
How would I write this form in such a way that I can upload both the Dropzone images AND the rest of the form?
And how would I do this preserving the data for the listing which I am doing in Rails with the line form_for(listing, html: { id: 'listing_form', data: { listing: listing.to_json } }) (which I need in order to send the correct data via the POST or PUT requests) ?
Apologies for the long post, I hope it makes sense :) Thanks in advance!

Hi @DaniG2k
Sorry for the very slow response. Did you ever work this out? There are probably a few ways to skin this cat.
By calling .processQueue() you would be sending a request, but my understanding is that you rather add the information to a request from the broader form event.
So I'd be looking at deleting the .processQueue() call and grabbing the info you need out of the files. You should be able to look at this.$refs.myVueDropzone.files to get the array of files, and then you can structure things.
Alternatively the dropzone doco does provide a dropzone-centric way of doing thing, that said I reckon your proposed is the track I'd take.
Let me know if you're still stuck.


add the setup.py stuff and make it an actual pip thing

I'm trying to use it as a module, and I'm having problems. I need to fix some stuff probably, so wait with the merge!
EDIT: also, this might be a good place to add the setup.py stuff and make it an actual pip thing. Could you do it?
Originally posted by @brisvag in https://github.com/mjtadema/pycg_bonds/pull/24#issuecomment-503971047

Setup.py was added in #27

Actually still need to add.

Now closed for real by #31.


Update test_case.hpp

Possible solution for #11347.

Hi Aparna,
Please rename D_S to Dataset

Renamed the D_S to Dataset

Merged


feature: show an edit button with the text of 'show_edit' when set

substitute for https://github.com/ryanburnette/eon/pull/16

[x] show_edit will cause edit button to appear near title with the the text of show_edit

You can preview the config documentation here:
https://github.com/coolaj86/eon/tree/aj-edit#config

@coolaj86 I doubt I'll be willing to merge this one. Did you look at what I was already working on?

@coolaj86 This pr was very helpful with the link construction, documentation, and head meta. Those items made it into #16. Thanks!


Bump version to v0.4.0

Release notes forthcoming in the next comment.

:warning: Breaking Changes!
ES6 client classes
The syntax for creating a client has changed. VideoIntelligenceServiceClient is now an ES6 class, and we expose it directly.
You now create a client with:
const video = require('@google-cloud/video-intelligence');
let client = new video.VideoIntelligenceServiceClient();

If you wish to explicitly version pin to v1beta1 or v1beta2; you can still do so:
const video = require('@google-cloud/video-intelligence').v1beta2;
let client = new video.VideoIntelligenceServiceClient();

Features
Runnable samples
There are now runnable samples in the samples/ directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.
Implementation Details

Change to a new linter (ESLint) and code style formatter (prettify).
Update docs to use JSDoc 3.
Migrate to the googleapis/nodejs-video-intelligence repository.


Update KB to include FRAME V2 stuff

Taking steps to update the current KB docs to include FRAME V2 stuff. The steps include:

[x] Updating the "Runtime Macros" article (first draft done)
[x] Updating "Pallets" to include v2 skeleton (first draft done)
[x] Updating the "Runtime Metadata" article to include v2 stuff
[x] Updating the "Runtime Storage" sections
[x] Updating the "Runtime Events"
[x] Updating "Runtime Errors

Once these changes are made and new v2 content is added, I plan to propose a PR that does a big restructuring of things. For example:

Consolidating content from FRAME, Pallets and Runtime Macros such that there's less overlap and improved flow (readability) between them
Putting the list of FRAME pallets into a separate section in the KB called "Developer Resources" or something of the sort, that delineates the more theoretical content with the more practical content. This is where we can have links to other community developed libraries.
An article dedicated to the new FRAME v2 updates (maybe?)

For now, the purpose of this PR is to update the content that is already there.

@thiolliere : first, thanks for making all the FRAME v2 content out there!
I was hoping you could go over the updates I made to the docs here and provide your feedback. The biggest updates are in the "Runtime Macros" article.

@thiolliere IMHO the redundancy isn't a bad thing: many people are not looking at the rust docs for how to do basic things at least, and understanding the FRAME v2 macros and examples of how to use them in a more "user friendly" approachable way in the devhub is a win in my view, pointing to learn more and dive deeper in the rustdocs (where serious builders will end up, not just the casual learner)
Happy to be wrong here though guys, and open to input on what you think is best practice in terms of speporation of devhub from rustdocs in general. What should live where? (this may be a better thing to discuss for the devhub team more formally)

Yes ok it makes sense, rustdoc being in general less verbose.
But if you find some miss or not enough understandable parts in the rustdoc I think we can also improve there.

@thiolliere thanks for the review. I basically put in all your changes / suggestions. I was wondering if you also got the chance to look at docs/en/knowledgebase/runtime/pallets#frame-v2 in the Pallets article. Just want to make sure the content looks good to you.

Yes ok it makes sense, rustdoc being in general less verbose.
Yes exactly - this is meant to be a little more elaborate than the rustdoc and have more linkage across other knowledgebase content.

@shawntabrizi and @riusricardo I put you two as reviewers as according to GH you're the ones who have most recently touched these articles ^^. The goal here is to update our KB with FRAME v2 content. My approach was to take the existing articles and inject v2 where relevant. On second thoughts, the right move may be to remove v1 stuff entirely. This would be rather easy. But I'm wondering whether it should happen separately, especially given my plan to restructure things in a follow-up PR.
@NukeManDan and @jimmychu0807 I also put you as reviewers — your feedback and opinions will be most appreciated!
Thanks.

My approach was to take the existing articles and inject v2 where relevant. On second thoughts, the right move may be to remove v1 stuff entirely.

I haven't reviewed the whole thing yet, but I am quite inclined to still keeping v1 stuff (all decl_* syntax) in the document. Because the runtime currently still support it, and I saw some runtime pallet in Substrate / polkadot codebase is still using the decl_* syntax. We can put them in a less visible place, but should be there if people look for them.

Thanks for the review @jimmychu0807. Yes having tabs would be a great solution. That being said, I'm leaning towards bumping up the docs version and only having v1 there, whereby the older v2 stuff will just be somewhere else as a deprecated version. But I think we should do it in steps and first merge this as is.


Possible flaky navigation test

I just pushed on https://github.com/zauberzeug/field_friend/pull/181 and the test test_driving_to_exact_positions fails, but it works locally.
FAILED tests/test_navigation.py::test_driving_to_exact_positions - assert 0.029000000695729056 == 0.025012477059502398 ± 1.0e-03

  comparison failed
  Obtained: 0.029000000695729056
  Expected: 0.025012477059502398 ± 1.0e-03
======== 1 failed, 39 passed, 3 skipped, 3 warnings in 60.16s (0:01:00) ========

Same issue here: https://github.com/zauberzeug/field_friend/actions/runs/10996594703/job/30530114958#step:6:155
Maybe we are too strict with the error


chore: Release 0.21.0

:robot: I have created a release beep boop
root: 0.21.0
0.21.0 (2023-07-26)
⚠ BREAKING CHANGES

acir: Remove Block, RAM and ROM opcodes (#457)
acvm: Remove OpcodeResolution enum (#400)
acvm: Support stepwise execution of ACIR (#399)

Features

acvm: Remove OpcodeResolution enum (#400) (d0ce48c)
acvm: Support stepwise execution of ACIR (#399) (6a03950)

Miscellaneous Chores

acir: Remove Block, RAM and ROM opcodes (#457) (8dd220a)

acir: 0.21.0
0.21.0 (2023-07-26)
⚠ BREAKING CHANGES

acir: Remove Block, RAM and ROM opcodes (#457)
acvm: Support stepwise execution of ACIR (#399)

Features

acvm: Support stepwise execution of ACIR (#399) (6a03950)

Miscellaneous Chores

acir: Remove Block, RAM and ROM opcodes (#457) (8dd220a)

acir_field: 0.21.0
0.21.0 (2023-07-26)
Miscellaneous Chores

acir_field: Synchronize acvm versions

acvm: 0.21.0
0.21.0 (2023-07-26)
⚠ BREAKING CHANGES

acir: Remove Block, RAM and ROM opcodes (#457)
acvm: Remove OpcodeResolution enum (#400)
acvm: Support stepwise execution of ACIR (#399)

Features

acvm: Remove OpcodeResolution enum (#400) (d0ce48c)
acvm: Support stepwise execution of ACIR (#399) (6a03950)

Miscellaneous Chores

acir: Remove Block, RAM and ROM opcodes (#457) (8dd220a)

Dependencies

The following workspace dependencies were updated

dependencies

brillig_vm bumped from 0.20.1 to 0.21.0

acvm_blackbox_solver: 0.21.0
0.21.0 (2023-07-26)
Miscellaneous Chores

acvm_blackbox_solver: Synchronize acvm versions

acvm_stdlib: 0.21.0
0.21.0 (2023-07-26)
Miscellaneous Chores

acvm_stdlib: Synchronize acvm versions

brillig: 0.21.0
0.21.0 (2023-07-26)
Miscellaneous Chores

brillig: Synchronize acvm versions

brillig_vm: 0.21.0
0.21.0 (2023-07-26)
Miscellaneous Chores

brillig_vm: Synchronize acvm versions

This PR was generated with Release Please. See documentation.

@TomAFrench can you re-review?

I'm going to update the Noir PR with the latest commit from here once https://github.com/noir-lang/noir/pull/2049 is merged. If that shows green ticks then we can make this release.

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/root-v0.21.0 :sunflower:

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/acir-v0.21.0 :sunflower:

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/acir_field-v0.21.0 :sunflower:

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/acvm-v0.21.0 :sunflower:

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/brillig-v0.21.0 :sunflower:

:robot: Release is at https://github.com/noir-lang/acvm/releases/tag/acvm_blackbox_solver-v0.21.0 :sunflower:


How to require filepicker lib and how to write onchange callback and return file url?

1 Upload works fine in but i want to return file url after submission and store to my Doc:filepicker_url column. Then display the doc in an iframe:

First question: How to require filepicker library in my docpicker.js file? I have put both the filepicker lib and my docpicker.js files before

So how on earth to correctly require the filepicker.js in Rails4.2?(I have nodejs installed both globally and in app(execjs gem installed)).
2 As mentioned in the document, any ideas on how to write onchange callback and extract event.fpfile.url and store into String 'filepicker_url' in my Doc Model?

To require the filepicker on rails 4.2 just use the filepicker_js_include_tag, as documented on README.
Please use the StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.


Refactor UI to internally use the v2 model

Right now, we pull data in v2 format #1802, but we still operate on it in v1.

Hi,
I recently find that I can't search trace by id in this UI [Go to trace] when I use 128 bit traceId for both version 2.10.4 and 2.11, even though it does exist in the DB.
Does this relate to this issue, or maybe raise a new issue ?
BR

I will try start this by changing the UI logic step-by-step to eventually use v2 data:

break shared v1 spans into single host spans, but still v1 format
Ex. {"cs" "sr" "sa" "ca" "ss" "cr"} -> {"cs" "cr", "sa"},  {"sr" "ss", "ca"}
add span.kind, remoteEndpoint annotation to the UI's model temporarily and use it
{"cs" "cr", "sa"},  {"sr" "ss", "ca"} -> {kind = CLIENT, "cs" "cr", remoteEndpoint},  {kind = SERVER, "sr" "ss", remoteEndpoint}
add localEndpoint annotation to the UI's model temporarily and use it
{kind = CLIENT, "cs" "cr", remoteEndpoint},  {kind = SERVER, "sr" "ss", remoteEndpoint} -> {kind = CLIENT, "cs" "cr", localEndpoint, remoteEndpoint},  {kind = SERVER, "sr" "ss",  localEndpoint, remoteEndpoint}
complete switch to v2 model
{kind = CLIENT, "cs" "cr", localEndpoint, remoteEndpoint},  {kind = SERVER, "sr" "ss",  localEndpoint, remoteEndpoint} -> {kind = CLIENT, timestamp, duration, localEndpoint, remoteEndpoint},  {kind = SERVER, timestamp, duration,  localEndpoint, remoteEndpoint, shared=true}

one interesting design luck is that in the current UI we are a little inefficient. We make one traces api query for the index, then redundantly make a trace api query to show the trace view. A better UI will reuse the same data. However when we are porting logic, this is a bit lucky. Since each screen uses a different api, I can break one screen and not break the other one. For example, I can port the search screen to use v2 without touching the trace view screen.

Another thing to consider. We should have stub/mock data that includes some interesting traces:

trace with clock skew
regular RPC trace
messaging trace

This way we can validate the UI behavior without being data dependent, even if that is visually comparing.

sample data is now in. I will do the trace summary screen conversion to v2 first as it is simplest and decoupled from the trace view one


Add all Mosmix fields to /weather

Would it be possible to add all Mosmix fields to the /Weather API?
Details of the parameters available are provided in the following DWD Excel file: Download
Of interest would be e.g. significant weather - fog, clouds <500ft
Many thanks!

Hi @df1paw, thanks for reaching out!
I probably won't implement all MOSMIX fields in Bright Sky as that doesn't play well with how the database is currently organized (unifying forecasted and historical records in a single table), scaling from the current ~20 fields to roughly 10x that would come with a massive cost in database size.
However, it's quite straightforward to extract additional fields by directly using dwdparse, which contains Bright Sky's parsing logic, in Python:
from dwdparse import parse_url
from dwdparse.parsers import MOSMIXParser

MOSMIX_S_URL = (
    'https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_S/'
    'all_stations/kml/MOSMIX_S_LATEST_240.kmz'
)

class ExtraMOSMIXParser(MOSMIXParser):
    ELEMENTS = {
        **MOSMIXParser.ELEMENTS,
        'N05': 'fog_below_500ft',
    }

for record in parse_url(MOSMIX_S_URL, parser=ExtraMOSMIXParser()):
    # Your processing here...
    print(record)

Is that something that could work for you?


Fix CVE-2019-573 for Ubuntu and CoreOS

What this PR does / why we need it:
Fixes  CVE-2019-573 for Ubuntu and CoreOS. For CentOS there is no updates package available yet
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
none

/approve
/lgtm


Do not provide option for users to edit the network policy when Network Policy Manager stack is not deployed in the environment.

Rancher Versions: Build from master
Steps to Reproduce:
Currently we are allowed  to edit the network policy for an environment when Network Policy Manager stack is not deployed .
Since the  Network Policy Manager  needs to be deployed for network policy settings to take effect , user should be allowed to set network policies only for environment having Network Policy Manager stack deployed.

Version - master 2/23
Verified fixed


Building oauth2_proxy

@ploxiln suggests for building:

install the "dep" tool from https://github.com/golang/dep (download a stand-alone binary from Releases, put it somewhere in your PATH e.g. /usr/local/bin/, name it dep, make it executable)
checkout the oauth2_proxy repo into your GOPATH, e.g. git clone https://github.com/bitly/oauth2_proxy $HOME/go/src/github.com/bitly/oauth2_proxy
cd into that repo
run dep ensure
run go build
the result is a single stand-alone binary named oauth2_proxy

But there seem to be issues with the dependencies on a pretty vanilla go environment:
$ # cloned to $HOME/src/oauth2_proxy
$ export GOPATH=$HOME
$ cd $GOPATH/src/oauth2_proxy
$ dep ensure
Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:

  ✗  github.com/18F/hmacauth

However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.

Either import/require packages from these projects so that they become direct
dependencies, or convert each [[constraint]] to an [[override]] to enforce rules
on these projects, if they happen to be transitive dependencies,

Solving failure: No versions of gopkg.in/fsnotify.v1 met constraints:
	v1.2.11: unable to update checked out version: fatal: reference is not a tree: 836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6
: command failed: [git checkout 836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6]: exit status 128

A colleague @wm notes: https://github.com/go-fsnotify/fsnotify and "Change your dependencies from github.com/go-fsnotify/fsnotify to github.com/fsnotify/fsnotify"

Alright . . . that seems to have compiled and accepts the newer options (--provider oidc, --oidc-issuer-url)

$ git diff origin/master
diff --git a/Gopkg.lock b/Gopkg.lock
index 5a3758a..1294a90 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -131,7 +131,7 @@
   version = "v1.0.0"

 [[projects]]
-  name = "gopkg.in/fsnotify.v1"
+  name = "gopkg.in/fsnotify/fsnotify.v1"
   packages = ["."]
   revision = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
   version = "v1.2.11"
@@ -149,6 +149,6 @@
 [solve-meta]
   analyzer-name = "dep"
   analyzer-version = 1
-  inputs-digest = "b502c41a61115d14d6379be26b0300f65d173bdad852f0170d387ebf2d7ec173"
+  inputs-digest = "cfdd05348394cd0597edb858bdba5681665358a963356ed248d98f39373c33b5"
   solver-name = "gps-cdcl"
   solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
index c4005e1..422bd43 100644
--- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -4,7 +4,7 @@
 #

 [[constraint]]
-  name = "github.com/18F/hmacauth"
+  name = "github.com/mbland/hmacauth"
   version = "~1.0.1"

 [[constraint]]
@@ -36,7 +36,7 @@
   name = "google.golang.org/api"

 [[constraint]]
-  name = "gopkg.in/fsnotify.v1"
+  name = "gopkg.in/fsnotify/fsnotify.v1"
   version = "~1.2.0"

 [[constraint]]
diff --git a/watcher.go b/watcher.go
index bedb9f8..9888fe5 100644
--- a/watcher.go
+++ b/watcher.go
@@ -8,7 +8,7 @@ import (
        "path/filepath"
        "time"

-       "gopkg.in/fsnotify.v1"
+       "gopkg.in/fsnotify/fsnotify.v1"
 )

 func WaitForReplacement(filename string, op fsnotify.Op,

Should this have been closed?

Nope, don't think so. Just bumped into the same issue. The diff provided by @jgn works though. See PR above.


Update _sidebar.scss

The right sidebar disappears off of the right side of the page. These changes will help bring the content back and place it correctly on the page.

Thanks for this change @fasterinnerlooper - we will review it soon.

Posting sample before/after (after on left, before on right)


Trigger builds

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Closing because buildbot-pkg is already available at cf channel.


Added tagprefix doc for AWS and Cloud Costs

This PR fixes #
Checklist

[x] I have signed the CLA
[x] I have updated/added any relevant documentation

Description
What's the goal of this PR?
What changes did you make?
What alternative solution should we consider, if any?

Did a little wordsmithing :)

Thanks! :-D


Memory Configuration

Hi there,
It's a really nice toolbox. I am running fmriprep on HPC for a large dataset. However, even I've successfully processed hundreds of subjects, I am still confused about the memory configuration after reading the related posts from https://fmriprep.org/en/stable/faq.html#my-fmriprep-run-is-hanging.
Currently for each job I gave 32GB memory via a plugin.yml file. But the log file still said "Some nodes exceed the total amount of memory available (32.00GB).". Actually, most jobs only used 10-15GB maximally for the entire time (the server can monitor the peak of memory usage). Rest of them came up with the memory allocation error, which may exceed the 32GB hard limit for each job. My temporary solution is to run a batch, i.e. 500 subjects, and then rerun the error subjects after the batch completes (roughly 20-50 error subjects per 500 attempts).
My question is whether there is a memory_gb value that can completely prevent the memory allocation error happen. Or, is it appropriate to lower the memory_gb to 15GB or 20GB to allow more jobs running simultaneously? Then I can rerun the error subjects more efficiently. Any advice and suggestions will be greatly appreciated.
I notice you've created a post named 'How to decide on nthreads/omp-nthreads/mem-gb'. It would be very nice if you can finish it sometime.
Thank you!

"Some nodes exceed the total amount of memory available (32.00GB).". Actually, most jobs only used 10-15GB maximally for the entire time (the server can monitor the peak of memory usage).

This is unsurprising as the workflows uses rough estimations of memory utilization baked in the code. Your estimation of 10-15GB is way more reliable than ours. You can safely dismiss this warning.

Rest of them came up with the memory allocation error, which may exceed the 32GB hard limit for each job.

The problem here is how Python on Linux works. As Python never clears up memory pages (just writes them into virtual memory), plus how the subprocess module uses fork (instead of spawn) to create new processes, this becomes a problem on applications running thousands of processes (such as fMRIPrep). In this case, the best strategy is to limit parallelization by not running many subjects at once, and by reducing the number of parallel processes with --nthreads (e.g., --nthreads 8 despite having 20 cpus). Some info can be found here - https://neurostars.org/t/how-much-ram-cpus-is-reasonable-to-run-pipelines-like-fmriprep/1086/5?u=oesteban

My question is whether there is a memory_gb value that can completely prevent the memory allocation error happen. Or, is it appropriate to lower the memory_gb to 15GB or 20GB to allow more jobs running simultaneously? Then I can rerun the error subjects more efficiently. Any advice and suggestions will be greatly appreciated.

As I was mentioning above, you want fewer processes to be running in parallel at a given time. Especially, you don't want that a new process is launched while a currently running memory hog is taking up all memory. Because of the problem I mentioned before of Python and Linux, at the fork moment memory allocation will be doubled and your HPC will probably not allow overcommitting, which ends up with the OMM killer kicking in.


Pass text styles downward (from parent to child)

Currently, text styles (i.e., formatting) are applied on the traversal out of the hierarchy (in Asciidoctor::PDF::FormattedText::Transform). This means that styles are not properly inherited, and sometimes the decision about which style to apply is ambiguous. Instead, the styles should be passed downward through the hierarchy (from parent to child) so that the style on the inner-most element always wins out.

The main issue is this line:
fragments << apply(pcdata).map {|fragment| build_fragment(fragment, tag_name, attributes) }

The inherited settings from the parent fragment need to be passed to apply so that they can be used when building the child fragments.

The way it currently works is that the inner styles are preserved on the way out of the hierarchy, but this is not always reliable.


UCP: Migrate scalar function CharLength from TiDB

Description
Port the scalar function CharLength from TiDB to coprocessor.
Score

50

Mentor(s)

@breeswish

Recommended Skills

Rust programming

Learning Materials
Already implemented expressions ported from TiDB

https://github.com/tikv/tikv/tree/master/components/tidb_query/src/rpn_expr)
https://github.com/tikv/tikv/tree/master/components/tidb_query/src/expr)

Can close due to #7010


Virtual Host Search CLI

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I would want a optional cli argument to be able to interact with virtual hosts.

it will be great to included this feat in next update! the pip installation of censys modules not having this

@mimu-pl It will be available in our upcoming 2.1.1 release. Thanks for the interest!

Hi @mimu-pl,
We have now released version 2.1.1. Upgrade with pip install --upgrade censys.

Hi @thehappydinoa thank you for letting me know,
just got the update...


feat: add temporality state in update

close https://github.com/tokio-rs/console/issues/551

Still WIP. I just wanted to let you know that I'm not ready for review.

Tested locally:

Finally, I have some time to work on it again. I will try to add a new API for it.


[Bug Report] -

Describe the bug
Kikoku sword can't be enchant with industrial foregoing enchanter and cannot apply enchant to the sword.
To Reproduce
Steps to reproduce the behavior:

Make industrial foregoing enchanter, input the xp
Put the kikoku sword, but it doesn't enchant.

Expected behavior
Expected it to work with the machine
Screenshots
Non
Mod Info (please complete the following information):

Modpack: FTB Oceanblock 1.7.0

Additional context
Add any other context about the problem here.

Intended for now


Plotly bundle having issues after the new Renderer API change

Plotly graph is not displaying correctly after change to new notebook renderer API.

import plotly.graph_objects as go fig = go.Figure(data=go.Bar(y=[2, 3, 1, 5])) fig.show(

https://github.com/plotly/plotly.js/issues/3518

I think this may be the same issue, so adding here.
plotly stopped showing figures in code-insiders a couple of days ago
Issue Type: Bug
To replicate, start a new notebook in vscode-insiders and then try to run this cell
fig = px.line(x=[0 ,1], y=[1, 2])
fig.show()

I've tried all of the different renderer types and the best is that a blank box displays in the cell where the chart should display. In most cases nothing happens. If no renderer is specified, a code symbol is available when clicked that provides an option to select the mimetype, with options for "application/vnd.plotly.v1+json" and "text/html", but neither results in the chart begin rendered.
If I toggle the developer tools, I get the following errors in the console:
request {element: div#20596943-2608-4fc8-a5b1-6e3b1f2612fe.output, mime: "application/vnd.plotly.v1+json", value: {…}, metadata: {…}, bytes: ƒ, …}

Rendering mimeType application/vnd.plotly.v1+json {data: {…}, metadata: {…}, execution_count: null, output_type: "display_data"}

renderers.js:2 TypeError: this.Plotly.newPlot is not a function
    at componentDidMount (plotly.bundle.js:2)
    at zl (renderers.js:2)
    at Il (renderers.js:2)
    at renderers.js:2
    at Object.t.unstable_runWithPriority (renderers.js:2)
    at _i (renderers.js:2)
    at Si (renderers.js:2)
    at ki (renderers.js:2)
    at vi (renderers.js:2)
    at Hl (renderers.js:2)

Thanks for any help.
Just a couple of days ago this was working really nicely, with the figures displaying at 100% width and rendering the same way when the notebook was exported. The figures display in the regular version of vscode, but don't display at 100% width.
VS Code version: Code - Insiders 1.57.0-insider (286b643ecd231f66f3f2e67e1456f3c601838b46, 2021-05-25T05:24:28.413Z)
OS version: Windows_NT x64 10.0.19043
Remote OS version: Linux x64 4.19.84-microsoft-standard

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (11.75GB free)

Process Argv
--folder-uri=vscode-remote://wsl+Ubuntu/home/caleb/projects/traffic --remote=wsl+Ubuntu --crash-reporter-id f7543aed-88e3-49ba-bc08-aa9439d824e1

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.19.84-microsoft-standard

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

Memory (System)
24.85GB (15.68GB free)

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

remote-containers
ms-
0.179.0

remote-ssh
ms-
0.65.6

remote-ssh-edit
ms-
0.65.6

remote-wsl
ms-
0.56.2

vscode-remote-extensionpack
ms-
0.21.0

git-graph
mhu
1.30.0

python
ms-
2021.6.864643163-dev

vscode-pylance
ms-
2021.5.4-pre.1

jupyter
ms-
2021.6.870847776

code-spell-checker
str
1.10.2

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonvspyt551:30291412
vspre833cf:30267465
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscus158cf:30286554
pythonvsuse255:30303025
vscgsv2:30305091
vscorehov:30301224
3f5j7703:30294757
vscod805:30301674

@CalebEverett Per my PR here tomorrow's build of Jupyter on VSCode - insiders should have a fix for this.
https://github.com/microsoft/vscode-notebook-renderers/pull/51

Awesome - looking forward to getting back to the awesome experience you guys are delivering  - thanks!

Running with the latest insiders, it appears that all is working well... Specifically the repro @CalebEverett, had above works.

In principle, Plotly.js 2.0 (released today!) should be better-behaved with respect to ES6 imports :)

In principle, Plotly.js 2.0 (released today!) should be better-behaved with respect to ES6 imports :)

@nicolaskruchten Awesome. Thanks for the heads up. I've filed #6182 to investigate / update.


Filters in Map and Fake Data for Descriptors

Added filters and advanced filters to map interface
Added fake data for descriptors tables

Can you add screenshots of the UI changes that you made @nnarang7?

@dzhang55


Fix some broken urls in dockerfiles

Overview
When I try to quick start the project, I have :

A 404 error on the halide release_2019_08_27 URL and I replace it, by the tag of the 2019-08-27 release (probably due to the recent release of v10).
A python version error. Python 3.8 is installed by default and this is not valid for others packages versions (torchvision==0.4.0 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0|>=3.7,<3.8.0a0']).

Testing Instructions
To test my PR, just normally follow the quick start

Thanks for this!


derivatives() ignores cropZoom()

as it happens with cropResize() (#2307), derivatives() is ignoring cropZoom().
i have an image that's 2000×1000 and i want to crop it square with derivatives, so i use cropZoom:
{{ image.cropZoom(1000, 1000).derivatives([100, 1000, 100]) }}

the expected result would be:

instead, i get the derivatives with the proportion of the original image:

i haven't been able to find a workaround but to output each cropped size. any other ideas until this is resolved?

(grav 1.6.8)
Grav\Common\Page\Medium;
line  270   public function derivatives($min_width, $max_width = 2500, $step = 200, $square = false)
...
line 323    if ($square = false) { $width = $height; }


.btn-check on mobile devices has confusing behavior

Go to https://getbootstrap.com/docs/5.0/forms/checks-radios/#outlined-styles using mobile device.
Try to check and uncheck outline buttons.
When you uncheck button it looks as still checked because the :hover style looks the same as a checked one.
On a desktop usually you move cursor immediately and hover effect goes away. A mobile device doesn't have a cursor so hover effect stays until you click outside explicitely.

Kind of duplicates #26804 and relates to #31149 too, isn't it? Could you please confirm?

Yes, it is. I didn't found it somewhy.


Scheduled time shows on session detail when schedule has been generated but not published

This issue is really “there is no ‘unpublished schedule’ mode.”


Fix Infinite scroll on pass by swiping the card left

Description
This issue took a lot of analysis I'll be honest!
1 - DraggableCard Composable
The infinite swipe can be solved using a Launched effect to prevent onSwipe to keep running on recomposition, When the View model shuffles the cards.
But this introduces 2 new issues
1 - The draggable card approach implemented from  Compose Cook Book Uses a one time use of cards. While in Context of Ehya Application Passing the cards should not remove them from the playing field.
So That's the first issue The passed cards get removed
Fix: When the card is swiped left (passed), I Implemented an animation to bring it back to the screen. which can be seen on line 118-119 (Please if necessary, modify Timings by adding tween to your liking)
2 - The second issue was that when the card was passed, The view model would check if it was passed in appRepository, which introduces unnecessary check that does not happen when the pass arrow is clicked, This gives us an issue. If a card is passed it will not shuffle the cards.
Fix: Remove all appRepository.isPassed / isTried checks. inside onSwipe (View model) and the onSwipe function of the view model should only redirect the Swipe result to the passSunnah / trySunnah. This is to prevent inconsistent results between swiping or clicking the arrows
Fixes # (issue)
This fixes #3

Hi, thanks for contributing. This indeed limits the infinite looping but it creates another unwanted layer of cards.
I'll merge it anyways.
Thanks again, Saleh!


HOP-4015 RAP need a device to create Color

Works well with SWT, if someone can test with RAP it should fix the error

Testing with RAP

Thanks for the quick fix @nadment ! Hop Web seems to be alive and kicking again


i need help

I dont know how to make this program work or i dont know how to use it can u help me please

Any idea on how to use it in a game?
Sent with GitHawk


[move-only] Add a call to indirectCleanup to make sure that we call llvm.lifetime.end when we emit a call to a deinit via the value witness table.

@swift-ci smoke test


Try updating lock file

To fix installation issues without suppressing post-install scripts (which are necessary for app to launch)

That's a no as well


Alpha pre-release to test

Hello!!! 👋
I've been looking for a similar tool from months now, when I found this I was soooo happy!
Specifically the Details view, telling you each file size with his deps and their weight.
Unfortunately it does not yet work with Webpack v4, but I can see you're working on it, which is great!
Is it possible to have a @next release to test it on my project?
I'd love to try it out, even if it's not perfect!
Many thanks for the effort on sharing this tool! :)

Hello! Sure, I've published webpack-runtime-analyzer@next package.
Thanks for your feedback!

Amazing, will try it ASAP, thanks for being so reactive on this! :)

I tried it this morning in standalone mode and nothing showed unfortunately. I have a multi-compiler webpack config, using webpack 4.
Any clue on what this could be?

Now we have a brand new analyzer in this repo, please check this out 😀


menu callback not working

Hello, This is my second project using scrollify. I am not able to scroll pages with links in the menu.
I have created a modal which acts as a primary menu in all the pages.
This is how my code looks like.

  Section 1
  Section 2
 Section 3

The above process did not work well. it would only sometime scroll the page.
then going though the documentation and issues thread. I tried the following code,
 function myTop() {
   $.scrollify.move("#top");
 }

  Section 1
 Section 2
 Section 3

This did work but it reloaded the page and took me to the section1.
Am i missing something. Your response would be very much grateful/

I made this work using another plugin called scrollit.

The page is reloading because you're not preventing the default event. Your function should look like this:
function myTop(e) {
e.preventDefault()
$.scrollify.move("#top");
}


vlsegff exception behavior

We should specify what happens when a first-fault segment load encounters an exception partway through a segment.
To keep the HW simple, we should retain the property that first-fault loads behave as similarly to non-first-fault loads as possible.  It should be valid to partially load the segment before resetting vl to the beginning of the segment (for elts >0) or trapping (for elt 0).
For first-fault loads, portable software can't rely on the contents of the vector register past the new vl, anyway, so this won't further constrain code generation.

Perhaps the pull title is throwing me off - specify vs clarify?
There are two parts to this:
Clarifying the imprecise nature of loads and their visibility after a ff instruction:
my take is : this is a specific case of the recently accepted more general relaxed load order.
I am in favour of clarification that reinforces the general case and does not imply a special case related to the ff variants.
The general case may need to be explicitly mentioned if the context does not make the distinction specific vs special abundantly clear.
The context does not have any indication that segmented loads in general allow imprecise exceptions.
Thus the note would suggest a special case for the ff variant wrt load order effects.
This same caveat should be mentioned in non-segmented load fault first.
The reason is that, although we have chosen to make vstart user visible, exception handling is done by the EE and can thus can normally hide such warts from the the [casual] user. For ff this is not the case. Thus warts are exposed, specifically that between the new vl and the old vl values are undefined. Tail undisturbed also does not hold in this range. it could be argued that it never held as it is the old vl that controls for the directive.
I recommend the text for these clarifications emphasize this is but a consequence of the more general case.
Different behaviour for segmented vs non-segmented ff load?.

regardless of whether the element index is zero

If this refers to vl of zero, non-segmented load differs:
it does not allow vl to be set to zero.

Even when an exception is not raised, implementations are permitted to process fewer than vl elements and reduce vl accordingly, but if vstart=0 and vl>0, then at least one element must be processed.
Note | vl is not modified if element 0 raises an exception.
Implementations should not reduce vl and instead set a non-zero vstart value when the fault-only-first instruction takes a trap due to an interrupt.

If it refers to vstart then we have different behaviour:

instead set a non-zero vstart value when the fault-only-first instruction takes a trap

I think this may need further explanation?
But in this case, specification vs clarification of behaviour is appropriate.
I hope to create suggested wording when I am back from travel.


[Bug] Rotations for Shapes

Shapes don't rotate as of now, only images do. Gotta fix that.

fixed with #38


Don't pin to prereleases

Pinning to a prerelease causes pip-compile to think that we always will
accept a prerelease for a given package, which will potentially cause
the dependency checker to fail if subdependencies change between a
latest release and prerelease.

Even after changing this pin to pyramid>=1.9 this failed, something about the pyramid package is causing pip-compile to use the prerelease, I had to explicitly pin this to pyramid>=1.9,<=1.9.2


Do not remain in actionmode

Hi,
thanks for this great library!
I was wondering why the multichoice mode is not implemented as the one in gmail app. It think it would be better if the actionmode is closed as soon as an action is selected (for example, as soon as an item is deleted). Is it possible to do that?
Thanks in advance.

@readbeard you can have any behavior you want. If you select an action, just finish the ActionMode you do not have to depend on the default implementation here. It is just a simple class to simplify things for most cases ;)

will be improved in the next version

Here is my solution to the improvement. Let me know if you like it and if it is a correct behaviour for you.
You just need to edit the UndoHelper.java file, in particoular this 2 methods (lines with //<--- comment are the interesting ones):
public Snackbar remove(View view, String text, String actionText, @Snackbar.Duration int duration, Set<Integer> positions,  ActionMode actionMode) { //<---
. . .
private void doChange(ActionMode actionMode) {
        if (mHistory != null) {
            if (mHistory.action == ACTION_REMOVE) {
                Integer[] positions = new Integer[mHistory.positions.size()];
                mHistory.positions.toArray(positions);
                for (int i = positions.length - 1; i >= 0; i--) {
                    FastAdapter.RelativeInfo<Item> relativeInfo = mHistory.items.get(i);
                    if (relativeInfo.adapter instanceof IItemAdapter) {
                        ((IItemAdapter) relativeInfo.adapter).remove(positions[i]);
                    }
                }
            }
        }
        actionMode.finish(); // <---
    }

    private void undoChange() {
        if (mHistory != null) {
            if (mHistory.action == ACTION_REMOVE) {
                int count = 0;
                for (Integer position : mHistory.positions) {
                    FastAdapter.RelativeInfo<Item> relativeInfo = mHistory.items.get(count);
                    if (relativeInfo.adapter instanceof IItemAdapter) {
                        IItemAdapter<Item> adapter = (IItemAdapter<Item>) relativeInfo.adapter;
                        adapter.add(position, relativeInfo.item);
                        if (relativeInfo.item.isSelected()) {
                            mAdapter.deselect(position); //<---
                        }
                    }
                    count++;
                }
            }
        }
        mHistory = null;
    }

@readbeard that was the case before. That's why I had to do the following change:
https://github.com/mikepenz/FastAdapter/commit/d999c652ae67f0671d1085dfce82c0c04cfac66d#diff-31afcdcd4f3dcf443fc7b3c2cfaded2cR50


Expose gzip.Reader.Multistream

Somewhat related to #405, it turns out that compress/gzip has a feature to handle trailing data without returning an error.

If you would like the ability to read a valid gzip member and specially handle non-gzip data after the member, then you can use the gzip.Reader.Multistream feature to read the file one member at a time.
https://github.com/golang/go/issues/47809

I created a field called DisableMultistream and not Multistream because gzip.Reader.Multistream is enabled by default. The latter would silently disable Multistream for any existing instances of archiver.Gz{}.
Additional Context
https://github.com/trufflesecurity/trufflehog/issues/2934

Done!


Use custom schema when redirecting back from OAuth flow

Related to #55, when redirecting back from the OAuth flow, the app currently receives the authorization_code on http://localhost:8080/. It would be better if we use a custom URL schema for this on the mobile platforms, such as letswifi://auth_callback.

Fixed in #55


Add long and short storage asset constraints

Pull request details
Describe the changes made in this pull request
Add the constraints to model both long (seasonal) and short storage
List of related issues or pull requests
Closes #456
Collaboration confirmation
As a contributor I confirm

[x] I read and followed the instructions in README.dev.md
[x] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[x] Tests are passing
[x] Lint is passing

Hi @abelsiqueira, I have fixed the docs, and tests and renamed the variables/constraints to differentiate between the intra and inter-constraints. I had to use the function coalesce to cover the case when the storage_type is missing. If you have a better approach, please feel free to add a comment.
I have added a couple more steps in Epic issue #255, which has more stuff I want to add and check. But, I prefer to have separate issues for that and keep it as atomic as possible. The good news is that the main changes are here; the other issues are improvements over this PR work.


Add recent talks into meshery.io talks and presentations page

Current State of the Meshery.io site

Talks And Presentations can be found at https://meshery.io/talks-and-presentations
Desired State of the Meshery.io site

Navigate to https://layer5.io/community/events/2 and access the Events section.

Incorporate the ten most recent Talks into the https://meshery.io/talks-and-presentations page.
Click to get the ten most recent Talks

https://layer5.io/community/events/kubecon-cloudnativecon-north-america-chicago-2023
https://layer5.io/community/events/istiocon-virtual-2023
https://layer5.io/community/events/kcd-chennai-2023
https://layer5.io/community/events/may-maintainers-circle-2023
https://layer5.io/community/events/kubecon-cloudnativecon-eu-amsterdam-2023
https://layer5.io/community/events/kubecon-cloudnative-north-america-2022
https://layer5.io/community/events/hacktoberfest-prep-easing-into-cncf-open-source-projects3
https://layer5.io/community/events/devops-and-docker-live-show
https://layer5.io/community/events/open-source-summit-north-america-2022
https://layer5.io/community/events/kubecon-cloudnativecon-eu-virtual-2022

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey @vishalvivekm, I would like to work on this issue.

Hey @vishalvivekm i would like to work on this

Since you've already assigned an issue to @akhilender-bongirwar, it's now your turn, @nakulbh, to proceed.

okay i will start working on it

@nakulbh, kindly provide your latest updates during the Monday website call. Please refer to the attached meeting minutes for reference.

@vaibhav-xt sorry sir but for some reasons i was not working on the issue, it would be better if i leave this issue can you please assign it to someone else. Thank you

@vaibhav-xt I would like to work on this issue.

@nakulbh no worries & @akhilender-bongirwar, you proceed.

@akhilender-bongirwar are you still working on this?
I did some research and I'm about to raised pr but getting some errors can me help me @vaibhav-xt @vishalvivekm

@akhilender-bongirwar please provide us with your latest updates regarding this issue.

@vaibhav-xt , I have started working on the issue.

@dhiraj0911 go with these issues.


fix(workflows): copy&paste error from sibling repository.

WHAT
solves a copy&paste error when overtaking workflow code from a sibling repository
WHY
trivy and build workflows do not behave correctly.
FURTHER NOTES
after the merge, the build workflow should be started manually once (in order to deploy to docker, but not to maven).
see https://github.com/eclipse-tractusx/knowledge-agents/actions/runs/6467024646

I'm such a dumbass.

 Making you so much effort. Could you please, please, after the merge, start the build workflow manually on the release/1.9.8 branch?

Using the defaults (false for maven, true for Docker)?

yes please.


Unsupported URL einsplus.de

Downloading the video from http://www.einsplus.de/-/id=15131588/11u4oy4/index.html doesn't work:
[rs@RainersMac ~/Movies] youtube-dl http://www.einsplus.de/-/id\=15131588/11u4oy4/index.html -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.einsplus.de/-/id=15131588/11u4oy4/index.html', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.28
[debug] Python version 2.7.8 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.3.2, ffprobe 2.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
ERROR: Unsupported URL: http://www.einsplus.de/-/id=15131588/11u4oy4/index.html
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1522, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 227, column 97
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 643, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 275, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1202, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.einsplus.de/-/id=15131588/11u4oy4/index.html

Based on a quick look at the request stream from the browser, I could see the following pattern.
Example: http://www.einsplus.de/go__geek-folge-01/-/id=15131588/did=15175110/nid=15131588/1rx08f1/index.html contains the following code fragment:
<script>var _nlvq=[['api','picsters'],['uid','YHV29Z'],['width','640'],['height','360']];</script>

The video information is requested in json format with the same parameters: http://nlv.bittubes.com/db/meta.json9.php?api=picsters&uid=YHV29Z
The available video formats are listed in the json file under the "Source" key name (ignore "Objects"... it contains links to the embedded links displayed during the video replay)
I see a few problems with this:

Other programme pages on the site don't seem to use the same method of delivery - example or example2
The generic downloader seems to be at least starting a download with the normal flash video app on the other pages (albeit with errors and warnings)
The link for the json seems to be put together by the off-site script (bittubes.com... meta.json9 etc). I could find no reference to the link in the html content.

@matschmann: are you sure this isn't just a once off format for this series? Are there other series with the same format on the site?

einsplus does not exist anymore.


Add a Mercurial Adapter

Someone still uses it?
Maybe get some feedback of static-review users to be sure that this is really needed :D

Someone still uses it?

I've actually had no requests, but it's the only other major modern source control system, something I thought worth supporting.
I'll reopen this if a request does come in though, until then there's plenty of other things to focus on.

Great thought!


alphabetically order lists where possible

This issue is in the vein of #171, but one small thing I often do with my own lists is constantly makes sure alphabetized so that it's easier to quickly update them manually but also find a relevant entry while scanning with my eyes (vs searching), etc. examples would be things like the various formats in formatters.py (yours vs mine) , things in abbreviate.py, etc.
so it be worth considering to favor alphabetically ordered lists to make managing the code even easier/faster. might be kind of annoying in some editors, but in vim it is trivial so I can always do it and send pull requests if necessary. also sometimes alphabetizing doesn't make sense because things are categorized into smaller groups, but just in general it would be nice because even if they're grouped they could be alphabetized within the group.
this is obviously way less impactful then black changes, and possibly more subjective preference (would make merging easier for me sometimes lol) so of course feel free to close and ignore as needed :D

Yeah, I think this is a sensible default. Good call.


Export styles

Overview
Export custom component styles to make the more composable. See #366

lgtm 👍
One thing: You forgot to add the imports/exports to index.js.
Used this in my code now:
import {
  Header,
  headerStyles,
  ConfirmButton,
  confirmButtonStyles,
  CancelButton,
  cancelButtonStyles,
} from 'react-native-modal-datetime-picker/src/DateTimePickerModal.ios';

Works as expected 👍

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


bug(google-maps): dragend event on Polygon listener breaks MatSnackBar

Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/components-issue-47xjfu?file=src%2Fapp%2Fexample-component.ts
Steps to reproduce:

Create a polygon on the google-map.
Add a dragend listener that opens a snackbar message.

Expected Behavior
The snackbar to appear at the bottom of the screen then dismiss.
Actual Behavior
The snackbar opens in the top left and never goes away.
Environment

Angular: 11.2.3
CDK/Material: 11.2.2
Browser(s): Chrome, Firefox
Operating System (e.g. Windows, macOS, Ubuntu): Windows

It's because the Google Maps events run outside of the Angular zone. You should either wrap the callback in a NgZone.run call or use the map-polygon from the @angular/google-maps module which has a polygonDragend event that is wrapped automatically.


Text editing

I changed the formal form "usted" to "tu". I edited some translation errors. I translated the quotes inside the code.

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


add bls fallback option

What was wrong?
blspy is hard to install
How was it fixed?
opt out blspy if you want.
Cute Animal Picture
🦋

:+1: on that approach

@cburgdorf @pipermerriam  The PR is ready to merge if no further objections.

No objections, just voicing what I think is the proper long term plan.  Short term this is a fine solution.