fix: set backTo params when hold

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/45443
PROPOSAL: https://github.com/Expensify/App/issues/45443#issuecomment-2229908506
Tests

Go to NewDot
Create a new workspace.
Go to workspace chat.
Submit only one expense.
Click on the expense preview.
Click on the report header.
Click Hol.d
Enter a reason and save it.
Close the education modal.

Verify that:  LHN will show the currently opened report.

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Go to NewDot
Create a new workspace.
Go to workspace chat.
Submit only one expense.
Click on the expense preview.
Click on the report header.
Click Hol.d
Enter a reason and save it.
Close the education modal.

Verify that:  LHN will show the currently opened report.

[x] Verify that no errors appear in the JS console

PR Author Checklist

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

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

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

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

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/b5ec31cf-deeb-4ecf-bcbb-d8db44aaf4c9

Android: mWeb Chrome

https://github.com/user-attachments/assets/b5ec31cf-deeb-4ecf-bcbb-d8db44aaf4c9

iOS: Native

https://github.com/user-attachments/assets/86dd0f1e-bfc7-40a0-a634-ddbb2880b47f

iOS: mWeb Safari

https://github.com/user-attachments/assets/86dd0f1e-bfc7-40a0-a634-ddbb2880b47f

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/45fabef3-ab01-4865-b62a-2617c118f5d4

MacOS: Desktop

https://github.com/user-attachments/assets/266ca049-ed3a-4830-9fee-99a71bcebcf0

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

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

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

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

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

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

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari
https://github.com/user-attachments/assets/71390ce0-0ce7-494d-8093-959d29e663f9

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/eafa9985-ecb0-48ce-a1ce-ea3182e0788e

MacOS: Desktop
https://github.com/user-attachments/assets/f4ce07d3-2db0-4fa0-8d70-9e28612fb64d

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

🚀 Deployed to staging by https://github.com/robertjchen in version: 9.0.15-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fix Windows Bug

There exists a bug on Windows when running the Evo CLI, reported here:
https://discord.com/channels/1146873191969587220/1166008614910169170/1166095991695478834

Using WSL works


FirebaseAuth should expose authData synchronously

Currently the only way to get authData from FirebaseAuth is to subscribe to the observable, which uses the async ref.onAuth() method.
Firebase provides a synchronous method ref.getAuth()method that should be exposed through FirebaseAuth:
interface FirebaseAuth {
  getAuth(): FirebaseAuthState
}

Closed with #132.


Path trait does not allow to set allow_none attribute to False

From the source code it appears that it is not possible to set the attribute allow_none to False and the validation of empty path with attribute exists set to True doesn't make sense.
Reasons:
https://github.com/cta-observatory/ctapipe/blob/37d901581c478bdfcd56c699feba98588c371046/ctapipe/core/traits.py#L117
prevents setting the allow_none attribute:
TypeError: init() got multiple values for keyword argument 'allow_none'
and
https://github.com/cta-observatory/ctapipe/blob/37d901581c478bdfcd56c699feba98588c371046/ctapipe/core/traits.py#L147-L151
will return always None if the default value is not set.
Is such behavior is expected? I'd change the hardcoded allow_none to a default value with a possibility to override...
Originally posted by @mexanick in https://github.com/cta-observatory/ctapipe/issues/1758#issuecomment-885000278
Original answer from @maxnoe
https://github.com/cta-observatory/ctapipe/pull/1758#issuecomment-885029874

Is such behavior is expected? I'd change the hardcoded allow_none to a default value with a possibility to override...

I couldn't make allow_none=False work, so at the moment, you have to allow None for Path traits and check later if it is None and raise an error if you do want to require it.
A workaround is to define a default like this:
from traitlets import default, TraitError
from ctapipe.core import Component
from ctapipe.core.traits import Path

class Foo(Component):
    path = Path().tag(config=True)

    @default("path")
    def path_default(self):
        raise TraitError("path is required")

f = Foo()
print(f.path)

Ok, digging  deeper again into how traitlets handles defaults and validation, I think I came up with a solution so that Path can use allow_none=False and it produces meaningful errors.
See #1760


Refactor digital_fingerprinting stages and add morpheus-split conda recipe (core, dfp, llm)

[x] Move dfp stages to python/morpheus_dfp
[x] Create morpheus_dfp python package
[x] Rename morpheus-core conda recipe to morpheus-libs, a split package conda recipe that generates morpheus-core, morpheus-dfp and morpheus-llm
[x] Update github workflow to upload the morpheus-dfp conda package to anaconda

Other pending tasks, including test and doc refactoring, is tracked via python/morpheus_dfp/todo.md
Dev install now requires -
pip install -e python/morpheus
pip install -e python/morpheus_dfp
pip install -e python/morpheus_llm

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

@mdemoret-nv  I have merged the morpheus-llm packaging recipe here. It was challenging to fixup the recipe across two PRs. I have also merged the individual recipes into a split package one for all the libraries (morpheus-libs). The old recipe, for building everything, is still present (morpheus). I will remove this once the morpheus container is updated to stop using it.

/ok to test

/ok to test

/ok to test

/ok to test

/merge


Basic Idp support: verify signed AuthnRequests and sign SAML Responses

Add basic identity provider support:

verify signed AuthnRequests
sign SAML Response messages

This integrates some basic functionality from rust-xmlsec but doesn't add it as a dependency as the library is still a work in progress and we just use a couple of functions from it.

Hi Alex, thank you for putting in the time to make this contribution and improve the library. It means a lot to me.
I've done a first pass of the PR, overall everything looks good, but I'm sleepy, so I might have missed something. Not sure how I feel about lifting a subset of the rust xmlsec bindings, we're already bringing in multiple C lib bindings, so one more wouldn't hurt, and it seems like it would be easy to forget to update as changes are made to the original library.

@njaremko thanks for the review, greatly appreciate a second pair of eyes on this! I agree with most of your comments/suggestions, and will address them shortly.
Some of the defaults values you saw (like the RSA key size) are mostly an artifact of me building this for my specific use case, but they definitely should be abstracted out as parameters.
rust-xmlsec has a handful of panics, unwraps, and most of the library is actually wrapping the "signature templating" functionality of it (which we are not using because we have our own first-class types that serialize to XML). I think it could be abstracted out into it's "xmlsec-simple" library that samael depends on. For now I've just left it in.

After looking into the xmlsec bindings I'm fine with copying this subsection, as long as we give attribution.

@njaremko I believe the latest commit address all of of your comments!

I was silly and merged without making sure I could build it.
After installing all the dependencies, bindgen is refusing to believe that the xmlsec-openssl functions exist. I modified the xmlsec initialization logic to dynamically load the openssl crypto backend, which gets it to compile, but all your IdP tests are failing...
Can you pull master and check if they pass for you?

your current master does not build for me, looking into what changed now

Oh you removed src/xmlsec/bindings.rs

Weird...one sec

my bad I think I somehow left it out...of git

Ahh...that would do it. Was going to say, it's not in my git history at all

scratch all my last messages...just got confused. It's there in src/bindings.rs...still not sure why your master isn't building for me

Can you share your error?

error[E0425]: cannot find function `xmlSecCryptoAppKeyLoadMemory` in module `bindings`
     --> src/xmlsec/keys.rs:42:23
      |
42    |               bindings::xmlSecCryptoAppKeyLoadMemory(
      |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `xmlSecOpenSSLAppKeyLoadMemory`
      |
     ::: /Users/alex/Documents/projects/akamai/samael/target/debug/build/samael-6d57e51b9063bbab/out/bindings.rs:59271:5
      |
59271 | /     pub fn xmlSecOpenSSLAppKeyLoadMemory(
59272 | |         data: *const ::std::os::raw::c_uchar,
59273 | |         dataSize: ::std::os::raw::c_uint,
59274 | |         format: xmlSecKeyDataFormat,
...     |
59277 | |         pwdCallbackCtx: *mut ::std::os::raw::c_void,
59278 | |     ) -> xmlSecKeyPtr;
      | |______________________- similarly named function `xmlSecOpenSSLAppKeyLoadMemory` defined here

error[E0425]: cannot find function `xmlSecCryptoDLLoadLibrary` in module `bindings`
  --> src/xmlsec/xmlsec.rs:78:33
   |
78 |     let rc = unsafe { bindings::xmlSecCryptoDLLoadLibrary(dynamic_lib.as_ptr() as *const u8) };
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bindings`

error[E0425]: cannot find function `xmlSecCryptoAppInit` in module `bindings`
  --> src/xmlsec/xmlsec.rs:87:33
   |
87 |     let rc = unsafe { bindings::xmlSecCryptoAppInit(null()) };
   |                                 ^^^^^^^^^^^^^^^^^^^ not found in `bindings`

Can you share your output for:
xmlsec1-config --libs and xmlsec1-config --cflags?

My guess is that on your mac it's statically linking the openssl crypto lib, but on fedora it's dynamically linking...which is going to be a pain in the butt

⇢ xmlsec1-config --libs
-L/usr/local/Cellar/libxmlsec1/1.2.29/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib<EMAIL_ADDRESS>-lxmlsec1-openssl -lxmlsec1 -lxslt -lxml2 -lz -lpthread -licucore -lm -lcrypto

⇢ xmlsec1-config --cflags
-D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -I/usr/local/Cellar/libxmlsec1/1.2.29/include/xmlsec1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include<EMAIL_ADDRESS><EMAIL_ADDRESS>-DXMLSEC_CRYPTO_OPENSSL=1

I just don't see what you changed that makes it not compile?

If you look in xmlsec.rs I changed the OpenSsl versions of the functions to the dynamic crypto backend "Crypto" versions

Your output shows that you're doing static linking and I'm doing dynamic linking, which would be what's causing this issue

Got it, yeah I guess rust-xmlsec is expecting an xmlsec-openssl

I guess I'll manually compile xmlsec with openssl statically linked and revert my changes so that it works for you. I'll have to document this in readme. Going to look into bindgen docs to see if I can detect this at compile time.

Can you do another git pull and confirm that it works for you again?

Getting these errors on #6259eb7 still:
error: could not compile `samael`.
warning: build failed, waiting for other jobs to finish...
error[E0308]: mismatched types
  --> src/xmlsec/keys.rs:44:17
   |
44 |                 buffer.len(),
   |                 ^^^^^^^^^^^^ expected `u32`, found `usize`
   |
help: you can convert an `usize` to `u32` and panic if the converted value wouldn't fit
   |
44 |                 buffer.len().try_into().unwrap(),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no variant or associated item named `OpenSSLInitOpenSSLAppError` found for type `xmlsec::error::XmlSecError` in the current scope
  --> src/xmlsec/xmlsec.rs:80:26
   |
80 |         Err(XmlSecError::OpenSSLInitOpenSSLAppError)
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
   |                          |
   |                          variant or associated item not found in `xmlsec::error::XmlSecError`
   |                          help: there is a variant with a similar name: `CryptoInitOpenSSLAppError`
   |
  ::: src/xmlsec/error.rs:11:1
   |
11 | pub enum XmlSecError {
   | -------------------- variant or associated item `OpenSSLInitOpenSSLAppError` not found here

error[E0599]: no variant or associated item named `OpenSSLInitOpenSSLError` found for type `xmlsec::error::XmlSecError` in the current scope
  --> src/xmlsec/xmlsec.rs:91:26
   |
91 |         Err(XmlSecError::OpenSSLInitOpenSSLError)
   |                          ^^^^^^^^^^^^^^^^^^^^^^^
   |                          |
   |                          variant or associated item not found in `xmlsec::error::XmlSecError`
   |                          help: there is a variant with a similar name: `CryptoInitOpenSSLError`
   |
  ::: src/xmlsec/error.rs:11:1
   |
11 | pub enum XmlSecError {
   | -------------------- variant or associated item `OpenSSLInitOpenSSLError` not found here

error: aborting due to 3 previous errors

Yep realized that I broke those errors. I'll fix the length cast too. git pull should fix.

Awesome, works now and tests pass for me

I've put your new functionality behind a feature flag ("xmlsec") for now because of this inconsistency at build time.


Update Pipelines UAT to use kfp v2

Currently the UAT for kubeflow pipelines uses kfp 1.8, we should update it to use kfp v2 to match the pipelines version in the 1.8 release.

closed by #53


Cannot change background color

Hi,
According to https://github.com/Netflix/vizceral/wiki/Configuration, the styles could be changed by providing the styles props. Yet I found I could not change the page background by setting colorPageBackground or colorPageBackgroundTransparent.
I could change colorDonutInternalColor and some text colors though. Anything I'm missing ?
Thanks

is colorDonutInternalColorHighlighted working ? @vittvolt


[Bug]: false positive on commonjs imports for no-deprecated

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview
I'm getting a no-deprecated eslint error for the following:
const { renderToString } = require('react-dom/server');

None for ESM imports though:
import { renderToString } from 'react-dom/server';

Expected Behavior
This should not trigger a no-deprecated linting error:
const { renderToString } = require('react-dom/server');

eslint-plugin-react version
v7.33.0
eslint version
v8.45.0
node version
v18.12.1

Indeed, React.renderToString is what's deprecated, not ReactDOMServer.renderToString.


Pauli.evolve() should recognize common rotations by (n*pi/2) as Clifford gates

Environment

Qiskit version: 1.x
Python version: 3.11
Operating system: MacOS

What is happening?
qc = QuantumCircuit(1)
qc.rz(np.pi)
qi.Pauli('X').evolve(qc)

The above call to evolve() raises an error even though qc contains only Clifford gates.
For comparison, qiskit_aer's AerSimulator with method='stabilizer' does not have this problem. Transpiling for this backend leaves the circuit invariant (does not turn the rz into a z), so I can't use that as a quick workaround.
How can we reproduce the issue?
qc = QuantumCircuit(1)
qc.rz(np.pi)
qi.Pauli('X').evolve(qc)

What should happen?
Common 1- and 2-qubit rotations (rx, ry, rz, rxx, ...) should be recognized as Clifford gates when their gate angles are multiples of pi/2, and the Pauli should evolve successfully.  (if not gate_angle%(np.pi/2): ...)
Related: #12086
Any suggestions?
No response

Currently, the RZGate(np.pi) is a Clifford gate, and can be transformed into a Clifford operator, so this code should work:
from qiskit.quantum_info import *
qc = QuantumCircuit(1)
qc.rz(np.pi, 0)
cliff = Clifford(qc)
Pauli('X').evolve(cliff)

but since the RZGate contains non-Clifford gates, when appending it to a QuantumCircuit, it's being decomposed into non-Clifford gates, and that's why your code doesn't work.

See also the discussion here: https://github.com/Qiskit/qiskit/issues/9576
and here: https://github.com/Qiskit/qiskit/pull/9475#issuecomment-1431014041

I think that this can be handled similarly to the way that the RZGate was added to the Clifford class in https://github.com/Qiskit/qiskit/pull/9475


ci: remove ci dependency on make

Description
This pull request changes the following:

Unfold make ci-test into helm/kubectrl command
Duplicated needed script and config files under .github/workflow/support/ directory

Related Issues

Closes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cb38dc5) 67.51% compared to head (f0fe715) 67.51%.
Report is 12 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff            @@
##               main     #720   +/-   ##
=========================================
  Coverage     67.51%   67.51%
  Complexity      339      339
=========================================
  Files            64       64
  Lines          1336     1336
  Branches        157      157
=========================================
  Hits            902      902
  Misses          371      371
  Partials         63       63


jwt and MongoritoScheme

I have a question about the usage with adonis auth jwt.
In your docs stay , that for scheme we should add the "MongoritoScheme"

The following its to add the Authenticator combination so you can perform Mongo db check in authentication.
  // change here if you are using jwt, otherwise change it in you right authenticator
  jwt: {
    serializer: 'MongoritoSerializer', // this is new
    model: 'App/Model/User',
    scheme: 'MongoritoScheme', // and this too
    uid: 'username',
    password: 'password',
    secret: Config.get('app.appKey')
  }

But i think in the jwt block, the "scheme" value must stay at "jwt".
The 'MongoritoScheme' seems to be worked only if you use auth sessions
Is that correct?
if i use 'MongoritoScheme', i get an "generate is not a function..." error on generating an token with;
const token = yield request.auth.generate(user)

@NicoG11 I will check this on this weekend too.


ci/contributing: verify donation address/qr's are signed

with this PR i have moved the general fund donation addresses/qr checksums into a _data file that can be signed. this is confirmed in the workflow
thoughts? if this is useful we can ask bF to verify/sign the file.

[x] Btc QR code with a consistent address
[x] Confirm _data is gpg signed
[x] Check hashes of QR's
[x] Confirm scanned QR content == expected
[x] Monero QR now has "monero:" uri
[ ] After review ask bF to sign the file

to sign: (whilst in _data)
gpg --output contributing.yml.asc --armor --detach-sig contributing.yml
overwrite existing file :heavy_check_mark:

LGTM. I have no preference over who signs the file, as long as its signed and correct.
if using your key, perhaps we should use your pgp key from the gitian.sigs repo(?).

My plan is to either:

Drop / amend the commit adding the signed file with binaryFates signed version.
Add the hardcoded checksum in the workflow file and merge asap while we await the signed file (if that causes delays, but i've not asked yet)

i have sanity checked that the workflow fails correctly:

file has to be signed
external things such as diffs in checksum of qr images
the content of the QRs must match exactly what resides in contributing.yml (both xmr/btc)

after first approval(s) i can proceed with 1 OR 2

Thank you for the reviews. i will ask bF to sign the file for us


Implement the semantics of the flow language

Our goal is to implement the semantics of the flow language as a function from flows to processes that describe networks that realize these flows.

Meanwhile, we suppose that the flow language won’t give us a real advantage. Therefore, we don’t want to work on this issue anymore.


MODE-2635 Makes the 'host' and 'port' attributes optional for the MongoDB binary store when 'host-addresses' is used

Looks good.


Gh 203 fix idless dup gradient removal

Codecov Report

Merging #207 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
+ Coverage   93.66%   93.68%   +0.02%
==========================================
  Files           5        5
  Lines        2161     2170       +9
==========================================
+ Hits         2024     2033       +9
  Misses        137      137

Impacted Files
Coverage Δ

scour/scour.py
94.13% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks a lot, looking good. Sorry for the huge delay.


Refactored ASN.1 types __repr__ for better readability

This PR revamps __repr__ implementation of ASN.1 types to make them more programmer-friendly and information-rich. At the same time __repr__ output stopped being eval()-compliant.

Codecov Report

Merging #102 into devel-0.4.1 will increase coverage by 0.05%.
The diff coverage is 91.83%.

@@               Coverage Diff               @@
##           devel-0.4.1     #102      +/-   ##
===============================================
+ Coverage        85.47%   85.52%   +0.05%
===============================================
  Files               29       29
  Lines             3972     3945      -27
===============================================
- Hits              3395     3374      -21
+ Misses             577      571       -6

Impacted Files
Coverage Δ

pyasn1/type/constraint.py
89.72% <100%> (+0.21%)
:arrow_up:

pyasn1/type/tag.py
88.13% <100%> (+0.1%)
:arrow_up:

pyasn1/type/namedval.py
75.28% <75%> (-0.86%)
:arrow_down:

pyasn1/type/namedtype.py
84.61% <83.33%> (-0.64%)
:arrow_down:

pyasn1/type/univ.py
83.53% <90.9%> (+0.18%)
:arrow_up:

pyasn1/type/base.py
87.77% <94.11%> (+0.48%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix FixedSizeListArray casting

Fix cast on sliced FixedSizeListArrays.
Fix #5866

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Validate e-mails to be unique

I found out that some of our tests were relying on creating a duplicated profile to test some features of the logged in user. Hopefully I tackled those, but almost all the 'person maintenance' features still should be cleared up as well.

Anything about secondary emails?


WinRT event handler / GenericTypeModifier

Not that #370 has been closed I was hoping to get BLE device discovery and communication going.
Unfortunately the BluetoothFindFirstDevice function does not work for BLE devices, and instead it's recommended to use the BluetoothLEAdvertisementWatcher class for finding nearby BLE devices.
I've been able to make some progress toward this (thanks to the Calendar example), but I'm struggling to understand how to add event handlers for Receivedand Stopped events. Running the generate.cmd script with some debug modifications this is the error it's generating:
Projecting method: add_Received
Unable to project method: add_Received
Exception: Type information missing for GenericTypeModifier, TYPE: Windows.Foundation.TypedEventHandler`2.
#0      TypeProjection.projectType (file:///C:/Projects/win32/tool/projection/type.dart:246:5)
#1      TypeProjection.projection (file:///C:/Projects/win32/tool/projection/type.dart:54:21)
#2      TypeProjection.dartType (file:///C:/Projects/win32/tool/projection/type.dart:63:26)
#3      ParameterProjection.dartProjection (file:///C:/Projects/win32/tool/projection/parameter.dart:20:37)
#4      MethodProjection.methodParams.<anonymous closure> (file:///C:/Projects/win32/tool/projection/method.dart:76:42)
#5      MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#6      ListIterable.join (dart:_internal/iterable.dart:165:22)
#7      MethodProjection.methodParams (file:///C:/Projects/win32/tool/projection/method.dart:76:62)
#8      WinRTMethodProjection.toString (file:///C:/Projects/win32/tool/projection/winrt_method.dart:86:37)
#9      InterfaceProjection.toString.<anonymous closure> (file:///C:/Projects/win32/tool/projection/interface.dart:201:42)
#10     MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#11     ListIterable.join (dart:_internal/iterable.dart:156:22)
#12     InterfaceProjection.toString (file:///C:/Projects/win32/tool/projection/interface.dart:201:54)
#13     generateWinRTApis (file:///C:/Projects/win32/tool/generation/generate_winrt_apis.dart:27:43)
#14     main (file:///C:/Projects/win32/tool/generation/generate.dart:36:3)
#15     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#16     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)

I'd be happy to give this a go, but unsure where to start and whether this is currently possible at all?

Grr... That's really infuriating that the Win32 APIs are half-implemented. Why do they have the other BluetoothGatt functions if you can't find devices? :( The endless Microsoft back-and-forth on preferred APIs keeps bringing the pain.
Unfortunately, the WinRT projection classes are in a very preliminary state. I've been making some progress this weekend, ironically, but I don't yet have event handlers or WinRT generics supported. So yeah, this is not possible without significant future iteration on the projection work.

I would NOT recommand Dart projection on WinRT for BluetoothLE for now
Actually you have two options

Call C++/WinRT APIs via MethodChannel or dart:ffi

MethodChannel example on BLE: https://github.com/woodemi/quick_blue
dart:ffi example on USB: https://github.com/woodemi/quick_usb
dart:ffi example on cronet: https://github.com/Sunbreak/cronet_flutter

Call SetupAPI and APIs inside bthledef.h

Search blutoothLE service: https://gist.github.com/programmarchy/c9d02e22d58bfab3f8bb
List bluetoothLE device: https://gist.github.com/neolit123/e44feaf4babc7c4997f54af014a026e9
List bluetoothLE device: https://www.silabs.com/content/usergenerated/asi/cloud/attachments/siliconlabs/en/community/wireless/bluetooth/forum/jcr:content/content/primary/qna/i_cant_receive_data-Z8QJ/thank_you_very_much-wmty/TestBLE.c

Related PR: https://github.com/timsneath/win32/pull/392

Chrome source code on BLE: https://chromium.googlesource.com/chromium/src/+/32352ad08ee673a4d43e8593ce988b224f6482d3/device/bluetooth/bluetooth_low_energy_defs_win.h
Chrome source code on HID: https://chromium.googlesource.com/chromium/src/+/80a586198d12e1a6d02cac715e2ac88bf5d0e565/device/hid/hid_service_win.cc

Thanks both. We already have a working C++/WinRT implementation to use for now, this was really just trying to see how far we can push things into Dart "only". Feel free to ping me here if you need contributions in the future.

@srtonz it's a long shot, but is your implementation open source by any chance? Just getting into the BLE space quite a bit and am having simiilar issues getting BLE to work with Flutter.

@azimuthdeveloper that was the intention originally, but work didn't progress beyond prototyping. At the moment a combination of flutter_reactive_ble and quick_blue (for Desktop) is working for us.


The product page and admin datagrid should handle long product names effectively.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
2.2
Issue Description
If I add a longer length of product name, then it should manage responsiveness on the product page and admin datagrid product name section.
Preconditions
We have at least one product in the admin panel, or we need to create one product.
Steps to reproduce

Go to 'Admin -> Catalog -> Products'
Click on 'create product / Edit Product'
Add longer length of product mame.
Go to product page or Admin -> Product datagrid
See the error

Expected Result
It should handle the responsiveness.
Actual Result
For now, it is looking like this
https://webkul.chatwhizz.com/share/view-recording/6735fe0da487c1594210dd81
Screenshots
The expected response should look like this.

Additional context
Thanks !

Checked and found that the issue has been fixed and working fine. Please check the video for reference.
Video
https://github.com/user-attachments/assets/a893580c-88f0-4772-83be-057b3aef4d64


using activeuuid with sqlite

Hi!
I am currently trying to get this gem to work with sqlite so that it can be used in a default rails development environment. I have already worked on some issues that prevented a new entry from being saved and now I am having issues retrieving data from the database by its uuid. This is what I am currently using:
> Person.find(UUIDTools::UUID.parse("0320cdfa-04d2-11e1-a1a1-14dae903e06a"))
/home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/quoting.rb:46: warning: Object#id will be deprecated; use Object#object_id
  Person Load (0.2ms)  SELECT "people".* FROM "people" WHERE "people"."id" = ? LIMIT 1  [["id", #<UUID:0x3fbf87905e1c UUID:0320cdfa-04d2-11e1-a1a1-14dae903e06a>]]
ActiveRecord::RecordNotFound: Couldn't find Person with id=0320cdfa-04d2-11e1-a1a1-14dae903e06a
        from /home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/relation/finder_methods.rb:339:in `find_one'
        from /home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/relation/finder_methods.rb:310:in `find_with_ids'
        from /home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/relation/finder_methods.rb:107:in `find'
        from /home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/base.rb:441:in `__send__'
        from /home/florian/.rvm/gems/ruby-1.8.7-p352@contacts/gems/activerecord-3.1.1/lib/active_record/base.rb:441:in `find'
        from (irb):1

From my tests I can say that the Arel::Visitor is never used and it looks like ActiveRecord is trying to use the to_s method of the UUID object. This, of course, is then not the right way to retrieve an entry...
Maybe someone can help me with that ... I will put a fork on github a little later.
Edit: Just FYI, here is my fork: https://github.com/Raven24/activeuuid

With the code I have in my fork in the 'sqlite' branch I am now able to create and find models that are using uuids as id. Unfortunately since the sqlite connection adapter seems to prepare the queries differently than the mysql adapter, querying rows only works like this:
Person.where( :id => UUIDTools::UUID.parse("0320cdfa-04d2-11e1-a1a1-14dae903e06a") )

instead of
Person.find(UUIDTools::UUID.parse("0320cdfa-04d2-11e1-a1a1-14dae903e06a"))

The first one uses the Arel::Visitor, the other one seems to just call the to_s method on the uuid object, although I am not entirely sure on that.
I would still very much appreciate any help on this.

A little update on my work:
I think I really got something going there. It is now even possible to do nested forms and everything seems to work on sqlite just as on mysql. (Still some testing required)
If you want to take a look, check out the sqlite branch in my fork. (link in the first comment)


Show number of recipients after pressing "send request" button

As editor I want to be sure, how many users received my message. So I need the confirmation "Your message was sucessfully sent to ((Number)) users."
"All" does not tell me, how many.

Merge issue with issue #111
it is basically the same - showing number of recipients and number of answers like
(0/50)
(18/43)
... @tillprochaska @drjakob

Technically, this is actually quite different and also a different UI element, so let’s keep this open.

Yes, its a different feature. This is just a confirmation.

We might also reconsider the wording. At the time the message is shown, messages haven’t actually been sent yet. Something along the lines of "Wir senden deine Frage jetzt an xy Community-Mitglieder" would be more precise.

Yes.
Till Prochaska<EMAIL_ADDRESS>schrieb am Mo., 29. Juni 2020,
17:16:

We might also reconsider the wording. At the time the message is shown,
messages haven’t actually been sent yet. Something along the lines of "Wir
senden deine Frage jetzt an xy Community-Mitglieder" would be more precise.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/tactilenews/100eyes/issues/106#issuecomment-651186853,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKV4LIH2YLOPAS6RG4HJK5DRZCV4TANCNFSM4NG42HWQ
.

closed in #400


Fix Docker for all templates.

This fixes https://github.com/aspnet/JavaScriptServices/issues/669.

Hi @EduardTheThird, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

I think there's a better way to do so

@EduardTheThird, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Hi @pysco68,
That is pure genius, thank you for the tip. I can confirm by adding  the suggested env variable that docker now works. What changes would you recommend?

Sorry, I was confusing something with the JS Service templates and my setup.
No complaint at all! Great you put that together so quickly!

Thanks for submitting this!
I know this might be not what you personally want to hear, but I'm afraid we're going to remove the Dockerfiles from these templates. This is because it's not standard to have them in the ASP.NET Core templates (the regular File->New ones don't), and having them in by default causes issues (e.g., #694). People who do want to use Docker can of course continue to add the Dockerfile like they would to any other ASP.NET project and it will still work. It should not affect you personally in your current project since you've already created your project.
As such, I'll mark this as closed. If you'd be interested in adding a page to the list of recipes wiki about enabling Docker, that would be great though!


Stops working when used after fs.writeFileSync()

This really is an odd issue. I really hope it is regarding to the package and that I haven't just messed up something.
Environment details

OS: fedora
Node.js version: v14.15.3
npm version: 6.14.11
@google-cloud/storage version: 5.8.4

Steps to reproduce

Create the function shown below
Run with the try/catch block after await storage.bucket(bucketName).getMetadata() -> shows meta data.
Run with the try/catch block before await storage.bucket(bucketName).getMetadata() -> does not show meta data.

Code
async function getMetaData() {
  const storage = new Storage();
  const bucketName = "ari-motors-uploads";

  try {
    console.log("start");
    fs.writeFileSync("./test.pdf", data);
    console.log("good");
  } catch (error) {
    console.log("error", error);
  }
  const [metadata] = await storage.bucket(bucketName).getMetadata();
  for (const [key, value] of Object.entries(metadata)) {
    console.log(`${key}: ${value}`);
  }
}

Behavior
Output with file written before getting meta data.
start
good
[2021-04-22T14:19:34.584Z] info File changed: /srv/app/test.pdf

Output with file written after getting meta data.
kind: storage#bucket
selfLink: https://www.googleapis.com/storage/v1/b/ari-motors-uploads
id: ari-motors-uploads
name: ari-motors-uploads
projectNumber:<PHONE_NUMBER>35
metageneration: 1
location: EU
storageClass: STANDARD
etag: CAE=
defaultEventBasedHold: false
timeCreated: 2021-02-04T10:49:20.714Z
updated: 2021-02-04T10:49:20.714Z
iamConfiguration: [object Object]
locationType: multi-region
satisfiesPZS: false
start
good
offer ok

Expected
No matter when I am reading or writing to a file, I should be able to use the storage plugin afterwards.
Please tell me, if you need further information. :)

Sorry for the noise. For some reason I just couldn't write to the filepath.


batch create pvc vol failed

I use script to create pvc volume serially， when create finished,  some pvc status is pending.
All of the pvc volume can be see in cubefs volume list, but when you use kebectl get pvc  , you can see some vol status are pending.
create pvc script:
# /bin/sh
date
for i in {1..10};do
cat <<EOF | kubectl create -f -&
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: cubefs-batch-pvc-qa-${i}
  namespace: default
spec:
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 1Gi
  storageClassName: cfs-sc-with-consul-3.3
EOF
done
wait

echo "脚本执行完成"

pending pvc log

I will fix it


investigate performance improvement by using new ping instead of select from dual

This check is done before I return connection from the pool.
It is better to use ping if available and if not, fallback to old select from dual

implemented in 1.2.1


Async validation failed

Are you submitting a bug report or a feature request?
bug report
What is the current behavior?

First I type name 'john' (which should fail validation)
Click outside (to trigger validation)
During validation click back into the input and write anything else (something valid)
It will still display validation message 'That username is taken' which is not correct because it is valid and you are not able to submit the form

What is the expected behavior?

First I type name 'john' (which should fail validation)
Click outside (to trigger validation)
During validation click back into the input and write anything else (something valid)
It will not display a message 'That username is taken'

Sandbox Link
I am using official documentation:
https://redux-form.com/6.7.0/examples/asyncvalidation/
there is a link to sandbox:
https://codesandbox.io/s/nKlYo387

Async validation is triggered on blur. You should blur field to trigger async validation again


Typescript/Javscript: Provide settings for 'Organize Imports' sort order

The TS/JS 'Organize Imports' command is super useful, but unfortunately my company's style guide specifies a sort order that's different than what this command does by default. I wasn't able to find any options for the command at all. It would be great if I could specify sort order for imports and specify certain packages in our project to be sorted in a certain spot.

More advanced sorting is out of scope for the built-in JS/TS organize imports feature, however extensions can contribute sorting logic. The TSlint extension for example does this


BUG: SSO--expired session causes endless spinner

Related to #432 , it appears that we DO already have session expiry, after a fashion, but we rarely notice, because if you go to signin.convergence-con.org, you always are prompted to log in regardless of session status. You only notice if you try to go directly to, say, the concom list.
However, for the SSO workflow, an expired session appears to lead to an endless spinner rather than a login prompt. First discovered and mistakenly identified as an Android Chrome bug when first Nadim and then myself tried to login to cvgtest using OAuth and got the endless spinner. An incognito tab worked, however. Then I ran into it on a desktop (my work Mac), eliminating the platform from being the issue.

Sessions expire in 24 hours, Refresh tokens (to get a new session) expire in 1 week.
This is no longer an issue with the current code.


Added widemul for u256.

Stack:

#3076
#3057 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


With openGL is it easy to render a webkit component or similar?

Hi lostinblue - OpenGL is a very low level graphics library.  The Bellina project I am working on (of which go-xel is a part) aims to bring a declarative UI framework to Go using SVG (which is backed by OpenGL).


Add poem to landing page

I've been working for a couple of months now on refreshing the text of the website. It's honestly not being an easy task! A reader of the website in its current form will assume that there is a we and that the we has a voice. But, is there really a we beyond our own individual projections and interpersonal connections?
Still, something can be said about the intersubjective experience that we are sharing in different degrees and from different perspectives. Writing new text for the website puts me in a position that took me very long time to accept. That is a position of authorship but a position that I intend to use to bring to the surface the intersubjective nature of the experiences we share.
While I think that the original text held up pretty well for a long time, I also feel that many of those candid words that I wrote with @definitivelynotsimon and @icubbq more than three years no longer manage to grasp the essence, breadth and ambiguity of this elusive journey that we are, with each other, taking part in. I believe that a poem, open to subjective interpretation, offers a deeper, more intimate invitation to what the heck it is that we are doing and why at all.
This is my humble attempt at evoking reflections on what the answers to these questions might be for you personally.

I know not why so we gather, why we keep these flames alight.
Chasing Truth, we found but darkness, yet here shadows we could spy.
Then tales telling of becoming, and our pasts became undone.
And once journeys intersected, now our futures braid as one.
I, alone in paradoxes, perhaps doubtful, may get lost.
Going nowhere, certain motion, odd horizons lure my course.
Caring for companions truly, mirrors in them I may find.
And reflecting on our nature, dreams on Earth we'll realize.

Godlike tools have sure bred demons but their evil can be tamed.
Magick arts to be remembered from the unconscious once again.
Unconditional condition. Sacrificial sacrament.
Hey you, seeker, riding chaos, come next Tuesday.
 I would maybe  list a few useful questions to ask oneself, and questions that might arise, to give a little ground for the less poetically inclined users without leaving the metaphysical realm. Maybe in two flavours:

Ask yourself
You may ask

Might propose a little list later

How would like to be treated by your peers? What would it feel like to be at the receiving end of harassment, discrimination or bullying?
What would you think of a place where you get scammed, spammed or bombarded with irrelevant information?
What do you feel when someone is impatient or impolite to you?
Is it a good idea to post private information to a group with people that are potentially total strangers?
What do you think when a product is being thrown at your face?
How does it feel to be deceived by someone pretending to be something or someone they are not?
What is your reaction to unsolicited DMs from unknown members?
How do you navigate off-topic conversation?
What is that you expect from interacting with your peers?

Thanks for your words @Sakrecoer!
Your idea of inviting to self-reflection in more explicit ways is something that I resonate a lot with. I imagine these questions and many others (e.g. What is a Tuesday for you?) being seeds for people to write their subjective perspective publicly. I believe that, these short essays would come to reflect more faithfully what the collective (un)conscious may be over time.
A format that I imagine for this is the digital garden or, even better, the digital forest. The landing page and main sections of the website, in practice, is representing the most institutional aspects of the collective, where content and aesthetics are curated and polished. The digital forest, on the other hand, would give a space for more extitutional expression, where a labyrinth of unindexed content and diverse aesthetics grow by multiple authors.


chore: upgrade to the latest version of all dependencies

Codecov Report

Merging #39 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   90.14%   90.14%
=======================================
  Files           2        2
  Lines          71       71
  Branches        4        4
=======================================
  Hits           64       64
  Misses          7        7

Impacted Files
Coverage Δ

src/index.ts
95.83% <100%> (ø)
:arrow_up:

test/index.ts
87.23% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@ofrobots @alexander-fenster ready for another look :)


p2pml not found after upgrading to v1.0.1

I upgraded the lib to v1.0.1 recently but got error p2pml is not defined

Hi @wrfly,
P2P Media Loader v1 features a new API. Please check the docs on how to use it: https://novage.github.io/p2p-media-loader/docs/latest

Hi @mrlika ,
Thanks for your reply, I've checked the documents, and the <script type="module"> works fine.
But I'm facing issue with webpack. In the older versons, I just use:
import { Engine, initHlsJsPlayer } from 'p2p-media-loader-hlsjs';

but now when I import with
import { HlsJsP2PEngine } from 'p2p-media-loader-hlsjs';

the console reports error HlsJsP2PEngine not defined

Thanks for reporting. We will test with Webpack on Monday. Do you specify more details what frameworks are you using.
Please check in our repository: we have a React demo. It uses Vite. And we import it into our Astro website without any issues.

Thank you master!

Hi master @mrlika , the CI failed https://github.com/Novage/p2p-media-loader/actions/runs/9746617636/job/26898569591 and the npm haven't been updated. Could you help to retry? thanks!


Where's the huginn's local config file?

I'm using huginn via the latest docker image.
After I use Ctrl+c stop the service and reuse the command to start huginn, the whole config has been reset,even the user and password?
is there any way to find the old config file? or what is the correct way to restart the service so that all the agents can be reserved
Thanks!

I am assuming you are the huginn/huginn image, check the usage section on how to link the Huginn container do a mysql or postgresql database.

I am assuming you are the huginn/huginn image, check the usage section on how to link the Huginn container do a mysql or postgresql database.

Got it!Thanks for your help~😘


How to finetune only one subnetwork using Deepspeed + Transformers

I have to add some LoRA layers by hand(without left) to monkey.visual Model, to finetune the model for new data. I want Deepspeed to optimize ONLY the parameters from the LoRA layer rather than all the parameters. Like this

The platform is hugging face's transformers and Deepspeed.
Therefore I decorate the Trainer from HF's transformers, as below:

Unfortunately, it doesn't work, both LoRA and non-LoRa's weights are not changed during training. It seems that the optimizer in Deepspeed is not the same as that from Pytorch.
My question is, are there any ways that allow me to ONLY finetune certain subnet (LoRA) parameters with Deepspeed+Transformer's Trainer?

Hello, in our training of the monkey and monkey-chat models, we only added LoRA to the ViT part, and the LLM was fully trained. You can add similar code to line 368 of finetune_multitask.py in this repository to set requires_grad_ to False for parameters you don't need to train, and True for those you do. Please make sure to identify the names of the parameters you don't need to train.
for k,v in model.named_parameters():
    if "lora" in k :#replace "lora" with the names of the parameters you need to train
        v.requires_grad_(True)


✨ Add command to fetch central process log

Summary
This PR adds a command for use by the KubeStellar platform administrator when the central KubeStellar components are deployed as workload in a hosting Kubernetes cluster.
Related issue(s)
Fixes #

/approve


Fix: Provides correct types for user in the page store

Small config change to fix the types for the user object from validateUser(). Previously, the type for user would return as type any.

Thank you! 😄


Onfido client asyncio support

There is one main problem with this
Chunked transfer encoding on document upload seems to play badly with one of the ruby layers underneath, even thought the document is successfully uploaded (seen in /tmp of the pods)
Any help appreciated.

Fixed

This MR brings asyncio support to onfido-triton (via aiohttp). I had to drop support for python 3.6. Please let me know if this is an issue.

I think it's fine dropping support for python 3.6 as it reached EOL


Add license information

Hi, your script is looking nice.
Could you add a LICENSE file into the repository?
https://choosealicense.com/

Fixed with de0f378.


hello

hello im using this waf on my forum but i have some bots spaming my site and im now using the: Sample Usage, but what is the best Advanced Usage settings for blocking bots / spam etc ??

can anyone please give me step by step usage ?


Config of project

[x] Config icons PWA
[x] Config info of project -> package.json | reference point Pablo Sirera
[x] Config folder content -> .mdx for folder blog and .mdx for folder projects
[x] Structure project -> src
[x] Implement husky
[x] Btn functional of dark mode

task complete :)


[#140372703] Show thumbnail on map

Major:
InfoWindow on Google map shows image thumbnail. A new Image component responsible for image display and linking to photo details is added. The Images component is refactored to map over all photos and pass photo details to the new Image component. Information about photos removed from PhotoGallery since it's now covered by the PhotoDetails component.
Minor:

reduced size of PhotoGallery photos
there was an images.js file floating in the components directory that I deleted
starting to name PropTypes as T
reduced map size a bit

Should be able to review this sometime today @melaniebrgr.

Alright, I'll squash and merge. I'm lurking on our GitHub because it's more
fun than my work lmao. Maybe I feel this way because it's a Friday!
On Fri, Feb 24, 2017 at 11:23 AM, Melanie Burger<EMAIL_ADDRESS>wrote:

@melaniebrgr commented on this pull request.
In src/components/PhotoMap/PhotoMap.js
https://github.com/rangle/bridge-photo-map-app/pull/12#discussion_r102975781
:

@@ -40,7 +41,7 @@ class PhotoMap extends Component {
render() {

Sounds good! I would only be able to get to this tonight, though, so if
you want to work on the project in the meantime with this code feel free to
squash and merge. I promise to make the change in the next 'round.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/rangle/bridge-photo-map-app/pull/12#discussion_r102975781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVEHtHDlXYXq2OXVWbjD-jCYRFCMJNe3ks5rfwQDgaJpZM4MK07Q
.

--
Thuy Doan
Teaching Assistant / Dev @ BrainStation
Blogger @ Dress Up, Chow Down
www.b http://www.generatordesign.comrainstation.io.com
www.dressupchowdown.com


Weird error message about missing axis attribute

When I use -v land_cover in pycovjson-convert, then I get the following output:
Error occured: Variable "land_cover" has no axis attribute
Error occured: Variable "land_cover" has no axis attribute
Converting....

The first two lines are confusing, as there is no reason why a data variable should have an axis attribute. But even for coordinate variables, an axis attribute is not required. So I don't really understand why this is displayed as an error, considering that the conversion runs through.

I also received this error while testing converting a netcdf grid file via CLI. A coverage.json file was created (so I agree weird error) and the generated coverage.json file loads and views perfectly in leaflet.
I am now trying to load that coverage.json file into the webworldwind and am getting an error. I need to do more testing. I did notice that my coveragejson file seems to be a little different than the example, using the term 'coordinates' in the referencing section where the example uses the term 'components'. I'll post a separate issue on that if it turns out to be related. It's also my first time using webworldwind so may be a newbie error on my part.

@jelpatte Please post any issues related to the webworldwind app in the relevant repository. But note that the webworldwind demo is in a very early phase and likely not usable yet.

@letmaik some NetCDF files have data values with an 'axis' attribute. This simplifies the process of setting the 'shape' property in the covsjon file.
You are right though it should not really be an error, rather a warning that indicates pycovjson has fallen back to detecting the axis values itself. I will push a fix.

Thanks @letmaik , I have gone ahead and posted an issue in the webworldwind repo with the understanding that this capability is still in dev mode and will refocus on the leaflet plugin.

This can be closed @RileyWilliams


Add Symfony Profiler to development environment

This PR enables the Symfony developer toolbar and the profiler in development environment. It the application runs in production environment, the profiler remains inaccessible.
The PR includes #895 in its full glory, please only look at the last commit of the branch.
Screenshots:

WIP label can be removed.

Thank you, @derrabus!


404 Error with OpenAPI

Hi all,
New to fastAPI, and coming from Flask, I'm very impressed by the solution.
But using the OpenAPI documentation/UI, I can see in the logs that I have the following issue each time I extend a resource/API :
INFO:     <IP>:57175 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
The API is working, but I get this error in the log.
I'm using v0.63.0, on an ubuntu server (18.04)
Thanks a lot for your support.

Hi, Welcome to FastAPI
please follow the Issue instruction.
we need more information to help you.
thanks.

Hi, Welcome to FastAPI
please follow the Issue instruction.
we need more information to help you.
thanks.

Hi,
OK, here is what I can add :
It seems this issue appeared when I've implemented the following code (but not sure...) :
class device_import(BaseModel):
    hostname: str
    ipaddress: str
    platform: str
    description: Optional[str] = None
......
@app.post("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import):
........

All other routes are using basic structure, with path parameters or Query.
In terms of imports :
from typing import Optional, Dict
from fastapi import FastAPI, Request, APIRouter, Form, Query, Body
from pydantic import BaseModel, Field

This issue appears each time I'm expanding a resource/API in the doc UI (Swagger UI).
Let's say that I click on a GET or a POST object to expand, I will automatically get the following log :
INFO:     <IP>:49702 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

Hi,
OK, here is what I can add :
It seems this issue appeared when I've implemented the following code (but not sure...) :
class device_import(BaseModel):
    hostname: str
    ipaddress: str
    platform: str
    description: Optional[str] = None
......
@app.post("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import):
........

All other routes are using basic structure, with path parameters or Query.
In terms of imports :
from typing import Optional, Dict
from fastapi import FastAPI, Request, APIRouter, Form, Query, Body
from pydantic import BaseModel, Field

This issue appears each time I'm expanding a resource/API in the doc UI (Swagger UI).
Let's say that I click on a GET or a POST object to expand, I will automatically get the following log :
INFO:     <IP>:49702 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

your route is POST and it works fine.
......
@app.post("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import):
........

but your log is about GET request.
Request with GET/HEAD method cannot have body. check this out
from fastapi import Depends

@app.get("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import=Depends()):
    return device_info

your route is POST and it works fine.
......
@app.post("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import):
........

but your log is about GET request.
Request with GET/HEAD method cannot have body. check this out
from fastapi import Depends

@app.get("/system/device", summary="Create a new device in the system", tags=["System"])
async def post_device(device_info: device_import=Depends()):
    return device_info

Thanks a lot,
Just checked, and I've got the same issue even if I expand a GET, PUT or DELETE resource.
Let say that I click on this item to expand it, I'll get the log :

INFO:    <IP>:51426 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
Same thing if I do it on a POST item :

INFO:     <IP>:51504 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
I have the issue whatever the route and associated method I expand.
But if it has been expanded/loaded 1 time, I will never get the issue for it if I collapse/expand it, until I refresh the page (Which is quite obvious as content as been loaded...)

Thanks a lot,
Just checked, and I've got the same issue even if I expand a GET, PUT or DELETE resource.
Let say that I click on this item to expand it, I'll get the log :

INFO:    <IP>:51426 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
Same thing if I do it on a POST item :

INFO:     <IP>:51504 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
I have the issue whatever the route and associated method I expand.
But if it has been expanded/loaded 1 time, I will never get the issue for it if I collapse/expand it, until I refresh the page (Which is quite obvious as content as been loaded...)

I also get the samme INFO message in my log
TRACE:    <IP_ADDRESS>:44588 - ASGI [10] Started scope={'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.1'}, 'http_version': '1.1', 'server': ('<IP_ADDRESS>', 8000), 'client': ('<IP_ADDRESS>', 44588), 'scheme': 'http', 'method': 'GET', 'root_path': '', 'path': '/[object Module]', 'raw_path': b'/[object%20Module]', 'query_string': b'', 'headers': '<...>'}
TRACE:    <IP_ADDRESS>:44588 - ASGI [10] Send {'type': 'http.response.start', 'status': 404, 'headers': '<...>'}
INFO:     <IP_ADDRESS>:44588 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

I also get the samme INFO message in my log
TRACE:    <IP_ADDRESS>:44588 - ASGI [10] Started scope={'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.1'}, 'http_version': '1.1', 'server': ('<IP_ADDRESS>', 8000), 'client': ('<IP_ADDRESS>', 44588), 'scheme': 'http', 'method': 'GET', 'root_path': '', 'path': '/[object Module]', 'raw_path': b'/[object%20Module]', 'query_string': b'', 'headers': '<...>'}
TRACE:    <IP_ADDRESS>:44588 - ASGI [10] Send {'type': 'http.response.start', 'status': 404, 'headers': '<...>'}
INFO:     <IP_ADDRESS>:44588 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

I'm having an identical issue to legalla - INFO:     <IP_ADDRESS>:58176 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
Whenever I expand any method on the documentation. Also using ubuntu 18.04 - fastapi 0.63.0

I'm having an identical issue to legalla - INFO:     <IP_ADDRESS>:58176 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found
Whenever I expand any method on the documentation. Also using ubuntu 18.04 - fastapi 0.63.0

I'm also running into the same issue, raised whenever I expand on an endpoint within the Swagger UI.

I'm also running into the same issue, raised whenever I expand on an endpoint within the Swagger UI.

It's easy to reproduce - I have just cloned a git example repo using fast api, it seems to happen on any fast api - when clicking the swagger ui expander. https://developer.mongodb.com/how-to/FARM-Stack-FastAPI-React-MongoDB

It's easy to reproduce - I have just cloned a git example repo using fast api, it seems to happen on any fast api - when clicking the swagger ui expander. https://developer.mongodb.com/how-to/FARM-Stack-FastAPI-React-MongoDB

Same here.

Same here.

Same story from swagger-ui as last time #1762 ?
I've got the 404 error with<EMAIL_ADDRESS>so I'll just rollback to<EMAIL_ADDRESS>for now.

Same story from swagger-ui as last time #1762 ?
I've got the 404 error with<EMAIL_ADDRESS>so I'll just rollback to<EMAIL_ADDRESS>for now.

Same story from swagger-ui as last time #1762 ?
I've got the 404 error with<EMAIL_ADDRESS>so I'll just rollback to<EMAIL_ADDRESS>for now.

Is there a problem with<EMAIL_ADDRESS>no problem, can you please tell me how to rollback this version, thank you.

Same story from swagger-ui as last time #1762 ?
I've got the 404 error with<EMAIL_ADDRESS>so I'll just rollback to<EMAIL_ADDRESS>for now.

Is there a problem with<EMAIL_ADDRESS>no problem, can you please tell me how to rollback this version, thank you.

The same thing. Besides when I run my app on localhost it works perfectly. When I run the app from docker container and try to connect to server, running on localhost, I see this error.

The same thing. Besides when I run my app on localhost it works perfectly. When I run the app from docker container and try to connect to server, running on localhost, I see this error.

I am having the same error, I think this is just an stetic issue, right?, I am not having any operational issue yet, can you confirm if this could become a pain?

I am having the same error, I think this is just an stetic issue, right?, I am not having any operational issue yet, can you confirm if this could become a pain?

Created a pull request with a temporary fix to this (#2656).
Thanks @Gatux for linking the issue with the monkey patch.

Created a pull request with a temporary fix to this (#2656).
Thanks @Gatux for linking the issue with the monkey patch.

@emir-mx It's only a docs issue, not a operational issue from any of your code.

@emir-mx It's only a docs issue, not a operational issue from any of your code.

Created a pull request with a temporary fix to this (#2656).
Thanks @Gatux for linking the issue with the monkey patch.

Great, It works for me! Thank you

Created a pull request with a temporary fix to this (#2656).
Thanks @Gatux for linking the issue with the monkey patch.

Great, It works for me! Thank you

Nice thanks @Gatux

Nice thanks @Gatux

The by @ArcLightSlavik mentioned temp fix works perfectly..

The by @ArcLightSlavik mentioned temp fix works perfectly..

Hi, I started having the same "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found issue
2021-01-22 12:56:11,403 loglevel=INFO   Request successful, GET /api/auth/[object Module], status code=404, took=0.0004s
INFO:     <IP_ADDRESS>:44526 - "GET /api/auth/%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

This INFO logger message is triggered the first time I click on any of  the FastAPI Swagger UI buttons in API /docs endpoint. That specific problem arose when I renamed my logger file (logging.conf) and activated the logger in my FastAPI main module:
import logging.config

logging.config.fileConfig("./logging_auth.conf")

That issue was resolved when I renamed logger file back to logging.conf. Perhaps that will help someone to solve similar problem.

Hi, I started having the same "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found issue
2021-01-22 12:56:11,403 loglevel=INFO   Request successful, GET /api/auth/[object Module], status code=404, took=0.0004s
INFO:     <IP_ADDRESS>:44526 - "GET /api/auth/%5Bobject%20Module%5D HTTP/1.1" 404 Not Found

This INFO logger message is triggered the first time I click on any of  the FastAPI Swagger UI buttons in API /docs endpoint. That specific problem arose when I renamed my logger file (logging.conf) and activated the logger in my FastAPI main module:
import logging.config

logging.config.fileConfig("./logging_auth.conf")

That issue was resolved when I renamed logger file back to logging.conf. Perhaps that will help someone to solve similar problem.

@athanhat I'm facing the same issue. Any updates on that?

@athanhat I'm facing the same issue. Any updates on that?

#metoo

#metoo

#same

#same

INFO:     <IP_ADDRESS>:52860 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found I'm also facing same issue on mac.

INFO:     <IP_ADDRESS>:52860 - "GET /%5Bobject%20Module%5D HTTP/1.1" 404 Not Found I'm also facing same issue on mac.

I am facing the same issue. In NestJs Swagger UI

I'm seeing this as well in Swashbuckle.AspNetcore version 6.0.0. I've opened https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1993 to try to get more information on the root cause

It also returns a 404 response when passing url as a path parameter.
from fastapi import APIRouter
from .models import OpenGraphMetaTags

router = APIRouter()

@router.get(
    path='/opengraph-metatags/{url}',
    response_model=OpenGraphMetaTags,
    response_model_by_alias=True,
    response_model_exclude_none=True,
)
async def parse_metatags(url: str):
    ...

Above code works if path paremeter is a plain string eg. some-string, but not for something like https://facebook.com. Terminal logs show that the request url is
INFO: <IP_ADDRESS>:59924 - "GET /opengraph-metatags/https%3A//facebook.com HTTP/1.1" 404 Not Found

It fails to encode the slashes. On swagger I have the following data, tho

I hope this gets fix soon. I really love FastAPI


MaxGenerationScale ranges

Just wondering why MaxGenerationScale is locked to a minimum of 2.5.
For performance reasons I've been going through and setting custom interiors to a lower max (1.5) due to performance issues with large maps.. among other things such a low loot density and getting endlessly lost deep inside.
If this value is the same variable as vanilla maps, then the max is a larger value than even the default of titan. which is huge.
It could also be that the pool rooms are smaller in size than the average room of other interiors, and thus a larger minimum makes more sense when considering physical dimensions. This is just theoretical and I don't know if it's true.
Any thoughts?

Hi!
From a performance standpoint, I work pretty hard at keeping the draw call count down so perhaps performance will be better there and running at 2.5 won't be a problem.
Regardless, the real reason it is set at a max of 2.5 is because originally I had it set to 1.0 default by accident and I was told because Titan needs a higher multiplier for gameplay reasons I needed to slam the value up to at least 2.5. So to force all current configurations to 2.5 I set the min value for the max to 2.5. I could probably reduce it now since most people will have updated to the latest.
I will set the min value down to 1.0 in the next version.
Cheers!


add wrangler.toml for existing project

If I have an existing project and I want to deploy it using wrangler, there should be a command for generating just a wrangler.toml file, instead of using generate for a whole new directory.
note that i accidentally did this a hacky way by running wrangler generate ., which created a wrangler.toml locally and then bailed out:
cloudflare-workers-todos $ wrangler generate .
⬇ Installing cargo-generate...
🐑 Generating a new js worker project with name '.'...
⚠   Renaming project called `.` to ``...
🔧   Creating project called ``...
⛔   Target directory already exists, aborting!

maybe wrangler init or something similar should exist?

this is a great idea and not too hard to implement!!


Demo Repo

Describe the solution you'd like
I'd love to have a demo repo that shows off this bundle.
That is, download the demo, get a stripe API key, add a product, edit a product, add a customer, order a product, etc.
I can help with some PR's once a basic structure is in place.
I think this is the only stripe bundle compatible with Symfony 7!
Do you plan to work on this feature?

[ ] I'm willing to submit a Pull Request that implements this feature.

Ah, maybe consider renaming the bundle and tweaking the description and README?  Indeed, I was hoping to find a wrapper for the API calls, it's a huge task!


support angular 1.5 component()

currently controller of the component is not properly annotated

obviously once this is solved https://github.com/olov/ng-annotate/issues/226

Once this issue is solved in ng-annotate and new version is released, all you need is to just reinstall gulp-ng-annotate.


Move build infra to github actions

[x] move unit tests, FTs to github actions
[x] move release scripts to github actions

Assuming this is done


Honor kPreferredOutputBatchRows config in Unnest

Unnest operator could produce very large batches of rows.
For example, it could receive a vector of 10K rows where each row has an array
of 10K elements. In this case Unnest would produce a single vector of 100M
rows.
This change is to respect kPreferredOutputBatchRows and limit the number of rows
per output batch.
Unnest would process each input row completely, but limit the number of input
rows processed at once.
If each row has an array of 10K elements and kPreferredOutputBatchRows is 1000,
Unnest would process one row at a time producing batches of 10K rows.
If each row has an array of 10 elements and kPreferredOutputBatchRows is 1000,
Unnest would process 10 rows at a time producing batches of 10K rows.

@mbasmanova Do you know why this commit caused the benchmark regression? (as suggested by conbench).
While working on a similar task, I was wondering if generating too many output rows (when fewer can do) has perf impact on overall query performance. Do you know, or have you explore the trade-off?

Do you know why this commit caused the benchmark regression? (as suggested by conbench).

Conbench is flaky unfortunately. This is a false signal. CC: @assignUser @kgpai

if generating too many output rows (when fewer can do)

Not sure I understand the question. Are you referring to batches or rows here? Would you clarify?

@mbasmanova My bad. I mean batches.
One call to addInput, generates 5 outputVectors, vs one call to addInput generating 50 outputVectors.

@mbasmanova My bad. I mean batches. One call to addInput, generates 5 outputVectors, vs one call to addInput generating 50 outputVectors.

Lots of small page are usually bad for performance. Too large pages might be problematic as well.
Presto has code to merge small pages into larger ones. Velox doesn't have this yet, but I expect we'll add something similar in the future.
/**
 * This class is intended to be used right after the PageProcessor to ensure
 * that the size of the pages returned by FilterAndProject and ScanFilterAndProject
 * is big enough so it does not introduce considerable synchronization overhead.
 *

 * As long as the input page contains more than {@link MergingPageOutput#minRowCount} rows
 * or is bigger than {@link MergingPageOutput#minPageSizeInBytes} it is returned as is without
 * additional memory copy.
 *

 * The page data that has been buffered so far before receiving a "big" page is being flushed
 * before transferring a "big" page.
 *

 * Although it is still possible that the {@link MergingPageOutput} may return a tiny page,
 * this situation is considered to be rare due to the assumption that filter selectivity may not
 * vary a lot based on the particular input page.
 *

 * Considering the CPU time required to process(filter, project) a full (~1MB) page returned by a
 * connector, the CPU cost of memory copying (< 50kb, < 1024 rows) is supposed to be negligible.
 */
@NotThreadSafe
public class MergingPageOutput

@mbasmanova Thanks for the pointer.
Depending on performance trade-off, it could have significant impact especially for presto-on-spark.
In production workload, there are number of queries on columns with map/array containing 100+ keys and they are being unnest. Honoring kPreferredOutputBatchRows, would mean each batch would have 1-10 rows only.

@mbasmanova in current implementation, at least each row of input should have an output batch, right? Can we output multiple output batches for each input row?
We met an issue that an input row has a very large nested array+struct, the output batch size is also large. When we convert to spark internal row, each output row's memory size can be >10x bigger than its columnar format, which caused OOM eventually.

@FelixYBW

// Limit the number of input rows to keep output batch size within
// 'maxOutputSize' if possible. Process each input row fully. Do not break
// single row's output into multiple batches.

Binwei, are you suggesting to change this logic and allow producing single-row's output in multiple batches? Should be doable. Are you interested in working on this?
CC: @rui-mo @PHILO-HE

I'm looking into this logic. Do we split 1 row to multiple batches only if the rawMaxSize[row] is too big, or we can also process single row to multiple batches when adding the last row input is bigger than the batch size.
e.g.
batch size 16

row1 output 400 ------split the row

row
row1
row2
row3
row4
row5

output
2
1
5
4
6

When process row5, there has been 12 outputs, do we need to split row5 output to match the batch size? @mbasmanova @FelixYBW

Thank you, @mbasmanova . Yes, Chengcheng will implement it.

@jinchengchenghh Let's open a new issue to describe the problem and iterate on a solution.


Local executor checkpointing

For streaming apps, we should implement simple checkpointing for LocalExecutor. Eg. when reading from kafka, we want to resume from last commited offset, so we can restart the app.

Implementation note: we should periodically persist state to local disk and add parameter to continue processing from given checkpointId.


Added tests for FKs and Index counts

Test cases:

Parent child relationship
Detect dupe foreign keys (related to for https://github.com/vapor/fluent/issues/386)

The model is pretty much the same as in vapor/fluent-postgresql
Moved database to allow reuse.

Thanks @bre7. Looks like some merge conflicts have cropped up.


Import list of sample signatures for testing purposes

level: medium
For libraries with a complex signature system it would be very helpful if one could import a simple textfile with one signature per line. This would make it very easy to run testcases through the system while optimizing the regexex
Currently a testfile has to include other bibliographical Information for each item in order to work properly.
The textfile could start with something like "#SGNTEST" on the first line to distinguish it from normal input files.

not as convenient as a dedicated file, but you can test different shelfmarks with the createMode window (ctrl+alt+c)

I found that creating a sample list in form of a WinIBW download is a reasonably comfortable way to test different signatures. Closing issue.


Doesnt appear to be working at the moment

When loading a page with content-type: application/json; charset=utf-8 the extension doesn't load.
There are no console errors
This is backed up by recent reviews https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa/related?hl=en
Chrome: Version 104.0.5112.79
I have tried uninstalling/reinstalling to no success

I love this little extension and haven't found an equivalent or better option for Chrome, so I did a little debugging.
The problem comes from the assumption on this line:
bodyChildren.length !== 1

where the extension is assuming a JSON file loaded by Chrome will have a single PRE element as a child element of the document's body. But if you open the dev tools and inspect the document's body, you see something like this:

Presumably, this little extra div element:

must be a "new feature" that came with the recent Chrome update.
I create a pull request with a fix. If the change is accepted, the extension should work again.
In the meantime, if you are able to use git to download a local copy of this repository, you can try this:

In a terminal window in a folder where you can keep a local copy of the repository, create a local copy with git clone https://github.com/callumlocke/json-formatter
Make the one-line change in content.js (replacing !== 1 with > 2 on line 236 of the extension/js/content.js file.
View your extensions in Chrome, make sure developer mode is enabled, click the "Load unpacked" button, and select then extension folder within your local copy to load the patched extension.

Awesome stuff @bmamlin, hopefully @callumlocke has time to review & release soon 🚀

I came here for the same issue. What's odd is that it works on the same webpage via Chrome Incognito if you enable the extension for Incognito browsing.

What's odd is that it works on the same webpage via Chrome Incognito if you enable the extension for Incognito browsing.

Interesting. If I open a JSON webpage in incognito with the extension disabled and inspect the page content, I see Chrome adding the extra div element there too; however, you're right that the extension works. How could that be? When I introduce some logging statement, it looks like – for whatever reason – the extra div is not present when JSON Formatter gets the page contents in incognito mode. All I can figure is the extra div is being added after the page is loaded and somehow in incognito mode JSON Formatter manages to get invoked before the div is added (so it isn't there to trip up JSON Formatter).
But that led me to think, maybe it's not Chrome after all... if it's a timing issue during page load, maybe the problem is being caused by another extension.
So, I disabled all my other extensions and discovered that JSON Formatter works if I disable the LastPass extension. Given other folks have mentioned that turning off their ad blocker helped in other cases, this may related.
Since I depend on LastPass, I'll be using the modified version of JSON Formatter for now... but it looks like this should be reclassified as an extension conflict rather than a Chrome bug.

What's odd is that it works on the same webpage via Chrome Incognito if you enable the extension for Incognito browsing.

Interesting. If I open a JSON webpage in incognito with the extension disabled and inspect the page content, I see Chrome adding the extra div element there too; however, you're right that the extension works. How could that be? When I introduce some logging statement, it looks like – for whatever reason – the extra div is not present when JSON Formatter gets the page contents in incognito mode. All I can figure is the extra div is being added after the page is loaded and somehow in incognito mode JSON Formatter manages to get invoked before the div is added (so it isn't there to trip up JSON Formatter).
But that led me to think, maybe it's not Chrome after all... if it's a timing issue during page load, maybe the problem is being caused by another extension.
So, I disabled all my other extensions and discovered that JSON Formatter works if I disable the LastPass extension. Given other folks have mentioned that turning off their ad blocker helped in other cases, this may related.
Since I depend on LastPass, I'll be using the modified version of JSON Formatter for now... but it looks like this should be reclassified as an extension conflict rather than a Chrome bug.

Interesting finding! I can confirm disabling LastPass made the formatter work again.

Agree - removing the LastPass extension makes JSON Formatter work again.
Bye bye Lastpass - we have to make choices.

Should be fixed by #212, now released as v0.6.3.

Should be fixed by #212, now released as v0.6.3.

Can confirm and does not require removing LastPass extension.


Read out data from remotesensor?

Hi,
do you think it would be possile to read out data from a 433MHz remotesensor ?

and send the data via MQTT?
can you post your code?
thx
BR Joe

Post my code? My code is in this repo.
For your temp sensor I recommend searching https://www.hackster.io, might be a good place to find such projects.