Add dynamic columns

Details
Adds dynamic column logic to the Search page
Fixed Issues
$ https://github.com/Expensify/App/issues/43494
Tests
Pre-requisite: an account with a money request and no policy

Open the new Search page
Verify that you can see the money request and the Category, Tag and Tax columns are not shown
Create a new policy
Verify that Categories feature is enabled
Open the new Search page
Verify that the Category column is shown
Enable Tags in the policy
Verify that both Category and Tag columns are shown
Enable Taxes in the policy
Verify that Category, Tag and Tax columns are shown

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

Offline tests
N/A
QA Steps
Same as tests

[ ] 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
https://github.com/Expensify/App/assets/22219519/56f1fd04-19ec-4fa9-a272-a391246bde78

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@ikevin127 this PR depends on some backend changes. I'll let you know once that's deployed so you can properly test this.

@ikevin127 API is deployed, you can test this now

Cool, I'll start on the checklist it in less than 1 hour.

Reviewer Checklist

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

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] 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)
[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 checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] 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
[x] I verified proper code patterns were followed (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] 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 verified that this PR follows the guidelines as stated in the Review Guidelines
[x] 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)
[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] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] 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)
[x] 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)
[x] All JSX used for rendering exists in the render method
[x] 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

[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.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/56457735/fbb41230-dc75-42d6-8100-fa62cf8886d7

Android: mWeb Chrome
https://github.com/Expensify/App/assets/56457735/ecfd3d8c-9029-4f2e-b132-e0c13f32a796

iOS: Native
https://github.com/Expensify/App/assets/56457735/12a334e4-3378-436a-bd9d-3d4dbcd189fa

iOS: mWeb Safari
https://github.com/Expensify/App/assets/56457735/8ded099e-2895-44ea-bcac-b4d226fc594e

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/56457735/27515d91-dd55-4d57-a456-a2413f4b8a67

MacOS: Desktop
https://github.com/Expensify/App/assets/56457735/b032e65a-3d48-4051-9727-577c0baf0564

[!note]
Not sure if the thing observed below is a blocker for this PR, and because of not having access to the design doc I'm not sure if the feature should have any level off offline -> online support.
If this is not specified in the doc and you think it's fine the way it is then let me know and I'll ✅ Approve.

@luacmartins The only issue I found was with testing the offline flow, looks like even though we have this code:
https://github.com/Expensify/App/blob/a4a1b2001232d993cdb8a20456aa16b324565ad0/src/components/Search.tsx#L86-L93
And the Search is called once returning back online, the Search API doesn't seem to be added to the sequential queue, so when we get back online the Category column does not show-up unless we actually change tabs on the Search page LHN in order to call Search API.

[!tip]

Open the new Search page.
Verify that you can see the money request and the Category, Tag and Tax columns are not shown.
Go offline.
Create a new workspace (policy).
Verify that Categories feature is enabled.
Open the new Search page.
Go back online.
Notice that the Category column doesn't show-up automatically, the Search API is not called unless we actually change tabs on the Search page LHN in order to call Search API.

See video
https://github.com/Expensify/App/assets/56457735/ce627871-bcea-45dc-ae1f-6801a6b30c69

Note: The useNetwork hook also has a callback onReconnect which we use in other pages for the offline -> online transition to call certain APIs but the same thing happens -> Search API is not called when returning online for some reason.

@ikevin127 nice catch. I don't think that's a blocker for this PR but seems like something we wanna look into in a follow up. I've tried the onReconnect approach but that also didn't seem to trigger a call to Search on reconnect.

the Search API doesn't seem to be added to the sequential queue

I think this is expected since Search is a READ command, so it won't be added to the queue. The question is why the change in isOffline doesn't trigger the useEffect hook and why onReconnect doesn't work.

I've added a console log in that useEffect, right above the SearchActions.search command and it did log when going back online, which leads me to think that the issue might be related to the way we handle sequential queue read requests

Yea, I saw the same behavior. I agree that the issue is in how we're handling the SequentialQueue and we're somehow not triggering that API request

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

MacOS: Chrome / Safari

MacOS: Desktop

: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/carlosmiceli in version: 9.0.1-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.1-19 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fix TypeError: Cannot read properties of undefined (reading 'displayName')

... lost screenshot, but it occured on open of participant list

Wasn't able to reproduce this issue - is this still present?


Prisma client is randomly closing subscriptions due to timeout

Some users are reporting that prisma client is randomly disconnecting from the prisma server. This happens because we have an inActivityTimout of 60000 ms that disconnects the client. While this is beneficial to avoid memory leaks if the user is not using subscriptions, but this is also leading disconnects.
So we should expose these options in the prisma client configuration object.

The implementation of inactivityTimeout in subscription-transport-ws considers active subscriptions and if there are active subscriptions the inactivity timeout does not close the connection.
This might be a bug in subscription-transport-ws implementation.
This could also be an issue with construction/usage of subscription client in Prisma client.
To move this forward:-

We can validate the subscription-transport-ws implementation of inactivityTimeout for correctness.
Validate the Prisma client usage of SubscriptionClient, we can wrap the request method on SubscriptionClient and create a new client if the status is closed.

I don't have a reliable repro right now. Maybe someone that has this problem can provide one.
cc @joshhopkins

I have a simple listener process running on pm2. Something like this:
(async function listenForNewPosts() {
    try {
        const postEvent = await prisma.$subscribe
            .post({
                mutation_in: ['CREATED'],
            })
            .node()

        for await (const post of postEvent) {
            console.log(post)
                }
            }
        }
    } catch (error) {
        throw new Error(error)
    }
})()

In this case events may only fire every hour. Using the Prisma client out of the box the client would disconnect and not attempt to reconnect. I was able to remedy the issue by adding the following options to SubscriptionClient
 timeout: 30000,
 inactivityTimeout: 0,
 reconnect: true,

Can see the concern for memory leaks. In this case I'm working around that by setting max_memory_restart within pm2.

This is fixed the the latest alpha, 1.31.0-alpha.3, please install it via npm install -g prisma@alpha


Update COPY.ASM

Remove ^M

Thanks, but as stated in the README, we're not accepting changes to the code which is being preserved as a historical record, warts & all.


Fix diagnostic payload not found error if stderr not found

failed to fetch logs: diagnostic payload not found
stdout: <stuff>

Replace with stderr not found?
You can reproduce this by raising an exception that writes to stdout, for ex calling oai api but the api key isn't set in the env variable.

Fixed


v4 backport: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text

Backport and expansion (for v4) of https://github.com/twbs/bootstrap/pull/32246

@patrickhlauke does this PR include all of the related main PRs?

good reminder @XhmikosR ... just added backport for https://github.com/twbs/bootstrap/pull/32479 to this. this should now include all lorem-related v5 changes, yes

👍


toggle menu to the left

Hi!
Is there any way i can change the toggle direction? i need the menu to toggle left instead of up and down

+1

@lionarda, can you be more specific about toggling left? Do you mean open right to left, or as a horizontal menu to the left? Or something else entirely?

I believe the left toggle @lionarda  is refering to is the ability to allow the  button / Icon on the left side of the area vs right.  This would allow a user to put 2 menus on one cell device fixed to the top of the screen.  Possibly a variable button="left' or 'right'
Ideally I am looking for fixed header with menu bar on far left, text in middle, and menu bar on far right.

Was wondering the same think, have the menu on vertical on a side of the screen, and open from left to right and close from right to left (if on the left side)


--debug.etherscan starts pipeline for one block when near the tip

Describe the feature
Pipeline sync finished:
2024-07-17T19:46:05.063533Z  INFO Executing stage pipeline_stages=14/14 stage=Finish checkpoint=1947683 target=1947684
2024-07-17T19:46:05.063561Z  INFO Finished stage pipeline_stages=14/14 stage=Finish checkpoint=1947684 target=1947684

New FCU with one block to download received:
2024-07-17T19:46:14.029976Z  INFO Live sync in progress, downloading blocks remaining_blocks=1 target_block_hash=0x1747869d7fa366e43b53f3022e654855f8ffbd639433cce14c82ba71d5eb115b
2024-07-17T19:46:14.030012Z  INFO Received forkchoice updated message when syncing head_block_hash=0x5ee245ab5d657fdeab02d502f2f97797cc277a3fef145f16a003678e373f3938 safe_block_hash=0x02564aa641292027b479f4e86b7b025aed29c53859850e31ba4b6bda85bf2c60 finalized_block_hash=0x4753ec05184767e1c586c32f2c0a305d9ee99bf11e2de54affc914ff51165781

Starting another pipeline sync for just one block:
2024-07-17T19:46:14.422697Z  INFO Preparing stage pipeline_stages=1/14 stage=Headers checkpoint=1947684 target=None
2024-07-17T19:46:14.448138Z  INFO Received headers total=1 from_block=1947685 to_block=1947685
2024-07-17T19:46:14.448265Z  INFO Writing headers total=1
2024-07-17T19:46:14.448321Z  INFO Executing stage pipeline_stages=1/14 stage=Headers checkpoint=1947684 target=None

It repeats over and over for a while.
Additional context
No response

can look into

this seems to follow the received finalized block hash 0x4753ec05184767e1c586c32f2c0a305d9ee99bf11e2de54affc914ff51165781 == 1947685
which would explain why it only syncs one block at a time
so I wonder if the newPayload is actually converted correctly


lxc push/pull of files in /var/lib/cloud not available after init.

Required information

Distribution: Ubuntu
Distribution version: zesty
The output of "lxc info" or if that fails:

Kernel version:
LXC version: 2.11-0ubuntu4
LXD version: 2.11-0ubuntu4
Storage backend in use: zfs

Issue description
I can't push or pull a file in /var/lib/cloud/seed (/var/lib/cloud/seed/nocloud-net/meta-data)
immediately after lxc init.  I'm almost certain this used to work.
Steps to reproduce

lxc init  ubuntu-daily:zesty zesty1
lxc file pull zesty1/var/lib/cloud/seed/nocloud-net/meta-data -
that results in error: not found

It used to work a long time ago. Nowadays, the templates are run when the container start. That's needed so that all container properties, devices, ... are properly defined, allowing users to do "lxc init", then alter the container configuration and finally do "lxc start".
This behavior is present in all supported LXD releases (it was SRUed as bugfix a while ago).

Closing this since it's not a bug but in fact expected behavior.

well, your argument does make some sense, but it means that the rendered templates cannot be looked at or updated without a 'start'.  which is kind of unfortunate.
luckily, the 'lxc-chroot' that i have (https://gist.github.com/smoser/49444542158f2e5f88f1/#file-lxc-chroot) does do a 'start', so all the things get rendered, but has none of the other side affects of starting a container with /sbin/init.


Adding integration fails

Hi adding integration fails, logging screen remains for hours

Version is
1.1.9

Another one with the same problem:

Me too after reboot HA...

Same here

Posted in the community yesterday, since it might hold some useful info, I share it here too:
future problem
Logger: homeassistant.data_entry_flow
Source: data_entry_flow.py:819
First occurred: 21:29:48 (2 occurrences)
Last logged: 21:49:57

custom_components.seatconnect.config_flow::SeatConnectConfigFlow calls async_show_progress without passing a progress task, this is not valid and will break in Home Assistant Core 2024.8. Please report it to the custom integration author

I used the same credentials for the app
This error originated from a custom integration.

Logger: seatconnect.connection
Source: custom_components/seatconnect/config_flow.py:97
integration: seatconnect (documentation, issues)
First occurred: 21:29:49 (2 occurrences)
Last logged: 21:49:58

Invalid credentials or invalid configuration. Make sure you have entered the correct credentials

I have the payed connect service
This error originated from a custom integration.

Logger: custom_components.seatconnect.config_flow
Source: custom_components/seatconnect/config_flow.py:99
integration: seatconnect (documentation, issues)
First occurred: 21:29:49 (2 occurrences)
Last logged: 21:49:58

Login failed with error: User appears unauthorized

See https://github.com/Farfar/homeassistant-seatconnect/issues/63#issuecomment-2202229711 for solution.

See #63 (comment) for solution.
I saw this suggestion too on the HA Community page, but it doesn't work for me.

I logged on to the https://seatid.vwgroup.io/ and did the walk-through. When that didn't change the outcome, I went to https://cupraid.vwgroup.io/ and did the same (with the same account).
Since it’s al marketing / commercial consent, I don’t think it matters whether you give consent or not, but does anyone know their given consent to specific parts?

Solved it.... So.. for everyone who bumps into the same issue as I did, see my logs above.
When you install the Seat Connect App, it prompts you to install MySeat App (at least on iOS). Just close the app and reopen it and repeat that every time it prompts you to install the MySeat App.
After the first restart, you can login to the app and do everything that is necessary.
So, at first it looks like a BS App, which I obviously removed almost instantly... But that basically was the whole issue...

+1 cannot add this and was really keen on getting it working for my seat!

This code is no longer being maintained by me and requires contributors in order to fix issues.
I will let this issue stay open in order for others to find the same fix since info is not "fixed" in library.

Solved it.... So.. for everyone who bumps into the same issue as I did, see my logs above.
When you install the Seat Connect App, it prompts you to install MySeat App (at least on iOS). Just close the app and reopen it and repeat that every time it prompts you to install the MySeat App.
After the first restart, you can login to the app and do everything that is necessary.
So, at first it looks like a BS App, which I obviously removed almost instantly... But that basically was the whole issue...

I need to select a car here first, and the CUPRA Formentor is not listed here anymore. How did you skip / do that?

Been a while, but I think I selected a random car. Then later it let me login or enter the VIN (can't remember). Think the car I said began with A (don't want to log out to test, sorry)


Added the romanian language

Added the Romanian language for zxcvbn

Hey, thanks for adding a new language!
I added a few comments and do you have a real online source for you dictionaries?


Refreshing token crashing the app

Hi
Xamarin.Forms <IP_ADDRESS>4
Xamarin.Firebase.iOS.CloudMessaging 4.7.1
"".iOS.Core 6.10.4
"".iOS.InstanceID 4.8.0
I tried to refresh / regenerate the token in different ways, and all makes the app crash with this error:
Error Domain=com.firebase.iid "Code=7" (null)
Code:
NSDictionary<NSString, NSObject> options = new NSDictionary<NSString, NSObject>
        (
            new NSString("apns_token"), _apns_token
        );

string scope = Firebase.InstanceID.InstanceId.ScopeFirebaseMessaging;
var token = Firebase.InstanceID.InstanceId.SharedInstance.GetTokenAsync(_authorizedEntity, scope, options);

Problem is i have no idea what is supposed to be _authorizedEntity. The doc about is inexistant.
I tried  GCM_SENDER_ID, CLIENT_ID from googleservice-info.plist. Same error.
Found this issue which is a bit similar but didn't solved anything for me. Cannot even use Messaging as it was mentioned there
https://github.com/firebase/firebase-ios-sdk/issues/7194
Which method should i use for the? GetTokenAsync but with what params? RetrieveFcmToken which i can't find anywhere?
Thanks

The version of Firebase you're using is very old. InstanceID has been deprecated for a while now; can you try updating to the latest version of Firebase?

@morganchen12 My packages are up to date, do you mean the whole InstanceID nuget is obsolete and not necessary?
I cannot remove it from the project because of a dependency with CloudMessaging:

Unable to uninstall 'Xamarin.Firebase.iOS.InstanceID.4.8.0' because 'Xamarin.Firebase.iOS.CloudMessaging.4.7.1' depends on it.

I actually found RetrieveFCMTokenAsync usage, and it seems to be working for me with those 2 lines:

await Firebase.CloudMessaging.Messaging.SharedInstance.DeleteFcmTokenAsync("SENDERID");
var tok = await Firebase.CloudMessaging.Messaging.SharedInstance.RetrieveFcmTokenAsync("SENDERID");

The only thing is i have to put the sender id value from googleservice-info.plist manually and hardcode it, which is not optimal to handle dev/prod environments dynamically. Is there a way to access the .plist values from code?

Yes, you can read plist values at runtime: https://stackoverflow.com/questions/24045570/how-do-i-get-a-plist-as-a-dictionary-in-swift


19H2 not listed

19H2 was added to slow ring the other day, but it is not listed

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

ID: fa80910a-e655-34df-d26a-b094dd8702bb
Version Independent ID: 83b90d10-f455-fee5-cf94-2698f1ac33d6
Content: Flight Hub - Windows Insider Program
Content Source: wip/flight-hub/index.md
Product: w10
GitHub Login: @lizap
Microsoft Alias: elizapo

@officedocsbot assign @mypil

@16dyui - Thank you for submitting feedback.
I will get this issue over to the Windows Insider writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


template library organization

The template circuits used in the template optimization pass are currently stored in a directory under qiskit.circuit.library.templates. It would be better to store them in a proper library structure like the EquivalenceLibrary, where each entry in the library can be verified for correctness.

I would like to give this a try, @ajavadia.

hi @born-2learn ! Sorry this felt between the cracks. Are you still interested?

In addition, currently the picture of the circuit of the template appears as a comment in the code, but not in the documentation.
I would suggest to move it in a way that it will appear as part of the documentation.

I'll work on this, thanks!

Assigned!

Hi, I might have to delay working on this issue due to other engagements. Thanks!

Hello @ajavadia
can you explain more by giving an example how we should move clifford in temples/clifford folder into the root folder of qisikit.circuit please ?

I can also give it a try, but I need some guidance regrading how to arrange and classify all the circuits at once.

The goal of this issue is to create a TemplateLibrary class, similar to EquivalenceLibrary, that can be extended with
TemplateLibrary.append.

fyi: @ShellyGarion
If I remember correctly, some of the clifford templates are only "up to the global phase", for instance the template S * H * S * H * S * H = Id.
I am wondering if this needs to be taken into account when reorganizing the templates.
We also have code that verifies templates; and again please note that self.assertTrue(target.equiv(value)) only checks equivalence up to the global phase.
`

Clifford group elements and templates are defined up to a global phase, e.g. the template S * H * S * H * S * H = Id is valid only up to a global phase.
Perhaps it's worth to add a filed to the templates indicating whether they are equal to id or equivalent up to a global phase?

Is anyone working on this?

Hi @poig, it seems to me there were some attempts to approach the issues, but no PR open yet. This issue is part of the unitary hack initiative so I think it is fine if more than one person works on this.  So feel free to jump in :)


Use Telegram Desktop for Franz instead of Web based version

I use Telegram in a daily basis, and the web based version lacks of many functions that the desktop version has (emojis/sticker/gif sidebar, for example).
It would be great to integrate the Desktop version in Franz.
Thanks!

Expected Behavior

Current Behavior

Screenshots (if appropriate):
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Franz Version used: 5.0.0-beta.10
Operating System and version: macOS Sierra, 10.12.6

Unfortunately this is not possible as Franz works like a web browser and can't run native apps.


Include database

Includes all things related to the database in this repository.
Steps taken:

Copy prisma folder from Yes-Theory-Fam/database
Update dependencies to use @prisma/client instead of the database package and remove unused typegraphql generator
Update all imports
Remove all references to the database package from readme, renovate, buildsteps, etc.

Resulting docker image is completely dysfunctional; this is a draft until I am confident we can release this without everything falling apart 🦥

YOLO


Problems with setting a local emebdding model using HuggingFaceEmbedding

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
This is regarding the huggingface/base.py - the function
def _embed(self, sentences: List[str]) -> List[List[float]] returns a list.
And the function _get_query_embedding returns self._embed([query])[0] - The first element of the embedding list? I am a bit confused please clarify and help thanks

@dosu-bot. I am trying to connect to chromadb with embeddings in it already. Iam trying to use a local embedding model for the queries like so
from transformers import AutoTokenizer, CLIPTextModelWithProjection
model = CLIPTextModelWithProjection.from_pretrained('laion/CLIP-ViT-B-32-laion2B-s34B-b79K')
tokenizer = AutoTokenizer.from_pretrained('laion/CLIP-ViT-B-32-laion2B-s34B-b79K')
And
embed_model = HuggingFaceEmbedding(model=model,max_length=77,normalize=True)
Connecting to Chromadb and defining a retriever like so
vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
storage_context = StorageContext.from_defaults(vector_store=vector_store)
vector_index = VectorStoreIndex.from_vector_store(vector_store=vector_store,embed_model=embed_model)
retriever = vector_index.as_retriever()
Getting a response for the query
response = retriever.retrieve('floral dress with pink and blue')
Throws an error like so -
File ~/anaconda3/lib/python3.10/site-packages/llama_index/core/base/embeddings/base.py:35, in mean_agg(embeddings)
---> 35 return list(np.array(embeddings).mean(axis=0))
TypeError: 'numpy.float64' object is not iterable
When i inspect the inspect the embeddings for the query at this point it is
-------------------------------embeddings--------------------------------------
[-0.008385171182453632]
What am i doing wrong?

🤖
Hey there @karthikra! Great to see you diving into the depths of LlamaIndex again. 🌊
The _embed function in the HuggingFaceEmbedding class is designed to generate embeddings for a list of sentences. It tokenizes the input sentences, assigns the tokenized inputs to the appropriate device (CPU or GPU), passes the tokenized inputs through the model to obtain the embeddings, applies different pooling strategies to aggregate token embeddings into a single vector representation for each input sentence, normalizes the embeddings if the normalize flag is set to True, and finally converts the embeddings to a list of lists (each inner list representing the embedding of a sentence) and returns it.
The _get_query_embedding function, on the other hand, is designed to process a single query string and return its embedding. When the _embed method is called with a list containing just one query string, it returns a list of embeddings, where each embedding corresponds to an input string. Since there is only one query string, the list contains only one embedding. The [0] index is used to extract this single embedding from the list, making the return value a single embedding rather than a list of embeddings. This design choice simplifies the interface for functions that are expected to work with single strings rather than lists of strings, ensuring that the caller receives a direct representation of the embedding for the given query without needing to handle list unpacking themselves.
Here is the implementation of _get_query_embedding:
def _get_query_embedding(self, query: str) -> List[float]:
    """Get query embedding."""
    query = format_query(query, self.model_name, self.query_instruction)
    return self._embed([query])[0]

In this code, self._embed([query]) calls the _embed method with a list containing the single query string, and [0] extracts the embedding of that query from the returned list.
You can find more details in the source code of the HuggingFaceEmbedding class.
Sources
* [llama-index-integrations/embeddings/llama-index-embeddings-huggingface/llama_index/embeddings/huggingface/base.py](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/embeddings/llama-index-embeddings-huggingface/llama_index/embeddings/huggingface/base.py)

* [llama-index-legacy/llama_index/legacy/embeddings/huggingface.py](https://github.com/run-llama/llama_index/blob/main/llama-index-legacy/llama_index/legacy/embeddings/huggingface.py)

About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.


ld: library not found for -lcrypto on macOS Sierra with OpenSSL installed via Homebrew

Trying to build VerneMQ on macOS Sierra. OpenSSL installed via Homebrew. Command line to make: CFLAGS="-I /usr/local/Cellar/openssl/1.0.2j/include/" make rel
However, fails with the following:
===> Compiling lager_syslog ===> Compiling vmq_acl ===> Compiling eper ===> Compiling vmq_passwd gcc -I /usr/local/Cellar/openssl/1.0.2j/include/ vmq_passwd.c -lcrypto -o vmq_passwd ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [compile] Error 1 ===> Hook for compile failed!
Any help is greatly appreciated!

oh, thanks @ralfr
Does this comment help?
https://github.com/erlio/vernemq/issues/192#issuecomment-242922573
VerneMQ should be running on OS X, but there were different issues for the SSL thing. I hope Apple did not change something there with Sierra AGAIN! :)

Unfortunately, the issue persists.

Also, this & this maybe help? it's basically all about the same thing OpenSSL and linking to it
https://github.com/erlio/vernemq/issues/119#issuecomment-214714457
https://github.com/erlio/vernemq/issues/88#issue-134900688

Maybe the -L option is missing? (example from a user for his CFLAGS:  -L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include)

That did the trick! I'm one step closer. However, now it fails with this:
./libtool: line 984: g++: command not found
Makefile:419: recipe for target 'snappy.lo' failed
make[2]: *** [snappy.lo] Error 1
make[2]: Leaving directory '/home/rrottmann/vernemq/_build/default/lib/eleveldb/c_src/snappy-1.0.4'
Makefile:286: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/rrottmann/vernemq/_build/default/lib/eleveldb/c_src/snappy-1.0.4'
===> Hook for compile failed!```

I should maybe add that g++ is available on the Mac:
clang: error: no input files```

(VerneMQ deservers to become a Homebrew package..._

Ok, weird. But do you have Apple's XCode installed? or possibly something called the "Command Line Tools".
Or maybe there's some leaner way to get g++ on Mac?
Yes, we need this as a Homebrew package... & give more love to OS X :)

Yes. Xcode and Command Line Tools are there. And typing g++  is available:
➜  ~ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin16.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
➜  ~

Oh noes, then we seem to have a real problem on Sierra? @dergraf any idea there?
Just to make sure, can you run the make rel command again? (possibly after also deleting the _build directory).
Thank you so much for your help & patience!
on a sunday, no less... :)

No idea.. I d require a mac to be able to debug this. Are you on Sierra on your mb air @afa?

no, one version behind.

It worked!
Here is what I did:
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .
In the vernemq repo root:
rm -rf _build
CFLAGS="-L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include" make rel

@ioolkos Are you on Twitter?

Ha, awesome. Many thanks @ralfr ! :)
We'll make note of those steps.
(my personal twitter name is @frescosecco)

This issue is persisting on Sierra, have you upgraded @ralfr , im making a Formula for homebrew but don't have any success it fails compiling eleveldb

The above commands by @ralfr return another error:
$ CFLAGS="-L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include" make rel

...

===> Resolved vernemq-1.0.0rc2
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
make: *** [rel] Error 1

Hi @chimit
The eacces error points to a file system permission issue. Can you see if the file mentioned /home/tristan/Devel/rebar3/_build/default/lib/relx/src/relx.erl is available for your user to read?

hi @chimit forget the above. It looks to me like you're not using the rebar3 file supplied with vernemq. If the REBAR environment variable has been set the makefile will use the rebar specified there. Maybe that is what is causing this issue?

Hi, @larshesel
Sorry, I'm not familiar with Erlang. I don't see REBAR in the environment vars list (printenv).
After I start make rel I see:
$ make rel
/Users/user/vernemq/rebar3  release --overlay_vars vars.config

hi @chimit
It looks like this might be your issue: https://github.com/erlware/relx/issues/564.
If you're feeling adventurous you could try to build rebar3 yourself: https://github.com/erlang/rebar3 and drop the rebar3 file into the vernemq folder
From what I understood v3.3.2 should not have this issue.
It would be great if you could confirm if this works for you as I don't have access to an OSX machine to test - if it does I'd downgrade the package we ship with vernemq.

hi @chimit did you solve your issue? Otherwise I just saw that there's a new version of rebar3 available (3.3.6) on http://www.rebar3.org/.
We would probably upgrade to this version on master soon anyway - but it would be great if you could try it out and verify if it solves the problem! To test it you would only have to drop the new version into a new clone of vernemq (overwriting the old rebar3 version) and run make rel.
Cheers!

Hi, @larshesel!
Sorry for the late reply. I just tried to install VerneMQ on my macOS Sierra (10.12.4 (16E195)) again and got the same error:
===> Compiling epgsql
===> Compiling vernemq_dev
===> Compiling eredis
===> Compiling vmq_ql
===> Running neotoma...
===> Compiling vmq_plugin
===> Compiling vmq_commons
apps/vmq_commons/src/vmq_parser.erl:70: Warning: variable 'Fixed' is unused

===> Compiling vmq_server
===> Compiling vmq_webhooks
===> Compiling vmq_acl
===> Compiling vmq_passwd
gcc  vmq_passwd.c -lcrypto -o ../priv/vmq_passwd
vmq_passwd.c:32:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^
1 error generated.
make[1]: *** [compile] Error 1
===> Hook for compile failed!

make: *** [rel] Error 1

I replaced Rebar3 in the vernemq directory, but have the same result.

ok - I don't know about the sudo issue - but I'll recommend we upgrade our rebar3 version. Thanks for testing it out!

@codeadict want to step in with your homebrew formula?

@chimit ^^ https://github.com/codeadict/homebrew-vernemq


numcpp: init at 2.11.0

Description of changes
https://github.com/dpilger26/NumCpp
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Did you try getting the tests running? Otherwise installation of a header-only library is little more than moving some files around and doesn't give us a great idea of whether it's broken.
(also where has this library been all my life?)

After adding a cmakeFlags = ["-DBUILD_TESTS=ON"];
I get this error:
[ 80%] Building CXX object test/pytest/src/CMakeFiles/NumCppPy.dir/Rotations.cpp.o
In file included from /build/source/test/pytest/src/pybind11/pybind11/cast.h:15,
                 from /build/source/test/pytest/src/pybind11/pybind11/attr.h:14,
                 from /build/source/test/pytest/src/pybind11/pybind11/detail/class.h:12,
                 from /build/source/test/pytest/src/pybind11/pybind11/pybind11.h:13,
                 from /build/source/test/pytest/src/pybind11/pybind11/complex.h:12,
                 from /build/source/test/pytest/src/BindingsIncludes.hpp:3,
                 from /build/source/test/pytest/src/Misc.cpp:1:
In static member function 'static std::pair<const void*, const pybind11::detail::type_info*> pybind11::detail::type_caster_base<type>::src_and_type(const ityp>
    inlined from 'static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with >
    inlined from 'static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with >
    inlined from 'pybind11::cpp_function::initialize<pybind11::class_<std::pair<nc::NdArray<unsigned int>, nc::NdArray<unsigned int> > >::def_readonly<std::pa>
    inlined from 'static constexpr pybind11::handle pybind11::cpp_function::initialize<pybind11::class_<std::pair<nc::NdArray<unsigned int>, nc::NdArray<unsig>
/build/source/test/pytest/src/pybind11/pybind11/detail/type_caster_base.h:948:49: error: using a dangling pointer to an unnamed temporary [-Werror=dangling-po>
  948 |         return type_caster_generic::src_and_type(src, cast_type, instance_type);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/test/pytest/src/pybind11/pybind11/cast.h: In static member function 'static constexpr pybind11::handle pybind11::cpp_function::initialize<pybind>
/build/source/test/pytest/src/pybind11/pybind11/cast.h:1448:51: note: unnamed temporary defined here
 1448 |         return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
      |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function 'static std::pair<const void*, const pybind11::detail::type_info*> pybind11::detail::type_caster_base<type>::src_and_type(const ityp>
    inlined from 'static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with >
    inlined from 'static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with >
    inlined from 'pybind11::cpp_function::initialize<pybind11::class_<std::pair<nc::NdArray<double>, nc::NdArray<double> > >::def_readonly<std::pair<nc::NdArr>
    inlined from 'static constexpr pybind11::handle pybind11::cpp_function::initialize<pybind11::class_<std::pair<nc::NdArray<double>, nc::NdArray<double> > >>
/build/source/test/pytest/src/pybind11/pybind11/detail/type_caster_base.h:948:49: error: using a dangling pointer to an unnamed temporary [-Werror=dangling-po>
  948 |         return type_caster_generic::src_and_type(src, cast_type, instance_type);
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/test/pytest/src/pybind11/pybind11/cast.h: In static member function 'static constexpr pybind11::handle pybind11::cpp_function::initialize<pybind>
/build/source/test/pytest/src/pybind11/pybind11/cast.h:1448:51: note: unnamed temporary defined here
 1448 |         return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
      |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is it possible to not report compiler warnings as errors?

Did you try getting the tests running? Otherwise installation of a header-only library is little more than moving some files around and doesn't give us a great idea of whether it's broken.
(also where has this library been all my life?)

okay, got it building all tests


feature request

hello,  hope you can dec triangular arbitrage for this cool project , Thanks You!

This project is not intended to do triangle arbitrage. Feel free to fork it and modify it to do so if you'd like though.  The math is all there.


pythonPackages.awkward: 0.8.7 -> 0.8.14, enable more tests

Motivation for this change

The library is being actively developed, updated version may be desirable.
Some arrow tests were skipped because of missing dependencies. There is still missing test dependency uproot-methods, but it will cause circular dependency. It is possible to break it, but that test is not significant enough to introduce this extra complexity.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @costrouc

@GrahamcOfBorg build python2Packages.awkward python3Packages.awkward

Failure of pyarrow on darwin was fixed in #58326, I just rebuilt this PR using nix-review and it all works. Not sure what goes on with ofborg.

@GrahamcOfBorg build python2Packages.awkward python3Packages.awkward


WIP: Combine downloadFile and shareImage, android & iOS files.

part of #3018

Get these files out of the /api/* directory, as we want to make it general and independent of our project. These calls depend on react-native.

Thanks @jainkuniya ! I just merged the first of these commits (the one not marked WIP.)
In the second commit, what generated the files that appear in android/app/ -- was that from using Eclipse? I'm curious about your experience; in general my recommendation for doing work in Java or in Android build config and resources is to use Android Studio.

Also I agree with Boris that these files belong outside api/. That's best done as a separate commit from this change, though -- best after it, I think, among other things so there's just one of each file to move.

Already done in the API PR, the commits are:
https://github.com/zulip/zulip-mobile/pull/2819/commits/1691091b9a40675013bfd5408b074f273744161d
https://github.com/zulip/zulip-mobile/pull/2819/commits/d30a4e8c0c22768ba1c8502dd264fefe3b327354

Great :)

(That's #2819, for the sake of not having to look that up more than once.)

@gnprice

was that from using Eclipse?

I haven't used Eclipse. I prefer Eclipse only for pure Java development. Wondering how that got added. 🤔

Closing the remaining part of this PR -- this went stale for a while, and now #3018 is complete.


Luma 6.0.1 showing VER instead of Sys

Should I worry? Is this normal?

That's because you updated.
Hold select on boot to enter the Luma3DS menu.
Use the A button and the D-Pad to turn on the following:
"Show current NAND in System Settings"
It solves your problem.

@Barcia997 i didnt notice that, and @suzsuzuki that helped fix my issue too :dango:

This should be marked resolved.

This was an issue with Luma3DS, not the updater (and it's been resolved), closing


Can you play multiple sounds on a single button click?

Basically, I will have multiple sound clips which have different different musical  instruments playing. I would like them to then be able to be played together in sync on the click of a button so they play as part of an orchestra. The clips will only be short, maybe around 30 seconds.

You can play whatever sounds you want, as long as you are not on a mobile device that limits to one sound at a time (pretty much any device without WebAudio support)


Choosing lbfgsMax

How should we choose lbfgsMax? If it is large, will more memory be used but the job will run faster?

Please post your questions under “issues” on the Juqbox github page
From: "A. Barış Özgüler" @.>
Reply-To: "LLNL/Juqbox.jl" @.>
Date: Tuesday, June 22, 2021 at 12:36 PM
To: "LLNL/Juqbox.jl" @.>
Cc: Subscribed @.>
Subject: [LLNL/Juqbox.jl] Choosing lbfgsMax (#7)
How should we choose lbfgsMax? If it is large, will more memory be used but the job will run faster?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.us/v3/__https:/github.com/LLNL/Juqbox.jl/issues/7__;!!G2kpM7uM-TzIFchu!hbMl9O8rg0lbAqxuHDLebwMaROnffmj62_QoAzO81n6sBUBhmqVb9fg7gYrxlwb5d9M$, or unsubscribehttps://urldefense.us/v3/__https:/github.com/notifications/unsubscribe-auth/ACECFB6TPM5ZYVCSPCWLKQLTUDQ4VANCNFSM47EKXLBA__;!!G2kpM7uM-TzIFchu!hbMl9O8rg0lbAqxuHDLebwMaROnffmj62_QoAzO81n6sBUBhmqVb9fg7gYrxr0fTqhc$.

Most users will never need to change the default value of this parameter. Increasing lbfgsMax will increase memory requirements and usually makes the code run slightly slower.


couchdb returns 500 to elasticsearch river changes query

We have couchdb on 0.11.0 and elastic search on 0.90.3. When I add a river on elasticsearch for the couchdb, couch throws the below error. Elastic logs show a socket timed out error. What might be causing this error? and, How to fix it?
[error] [<0.3416.6>] Uncaught error in HTTP request: {error,{case_clause,{error,enotconn}}}
[info] [<0.3416.6>] Stacktrace: [{mochiweb_request,get,2},
{couch_httpd_external,json_req_obj,3},
{couch_query_servers,filter_docs,5},
{couch_changes,'-make_filter_fun/3-fun-1-',5},
{couch_changes,changes_enumerator,2},
{couch_btree,stream_kv_node2,8},
{couch_btree,stream_kp_node,7},
{couch_btree,fold,4}]

Version used: couchdb 0.11.0, elastic 0.90.3
Browser Name and version: chrome
Operating System and version (desktop or mobile): Linux 2.6.26-2-xen-686

Hi @krishnakode  I'm so sorry... we no longer support CouchDB 0.11.0. Not only that, Elasticsearch doesn't support the CouchDB river plugin since 2015, either.
The enotconn error means that the external process was unable to connect correctly. Beyond that I can't be of any more help.
You would do best to join, then email our mailing list<EMAIL_ADDRESS>for advice on migrating from 0.11 to the latest 2.1.1 release.


scala_proto_library gets incorrectly stamped with proto_library label

scala_proto_library gets incorrectly stamped with proto_library label. With strict deps it becomes an invalid buildozer command:
You can use the following buildozer command:
buildozer 'add deps @foo//proto:proto' //bar:bar

Given such targets:
# proto/BUILD
proto_library(
    name = "proto",
    srcs = ["foo.proto"],
)

scala_proto_library(
    name = "scala_proto",
    deps = [":proto"],
)

Buildozer command should suggest @foo//proto:scala_proto

The same issue with java_proto_library https://github.com/bazelbuild/bazel/issues/4990

The root cause of incorrect stamping is that proto compilation happens in the aspect context on proto deps, where scala_proto_library label is not available (which makes sense, as there may be multiple scala_proto_library depending on the same proto_library target).
Possible ways (though none of them are without significant compromises) to mitigate stamping problem:

move compilation from aspects to scala_proto_library - this means every scala_proto_library will be fully generating and  rebuilding all proto dependecies.
stamp according injecting_rule_kind and generate labels according to convention (described under "code organization"). This means that aspect can rewrite their label from foo_proto to foo_scala_proto under the same package. This idea can be stretched even further by refactoring into phases and adding a phase to allow users to have their own labeling convention.

I'm leaning towards conventional labeling option. @simuons, @ittaiz WDYT?

Conventional means the first option?
Because that sounds too problematic IMHO performance wise

Conventional means the first option?
Because that sounds too problematic IMHO performance wise

No, the second one - which would assume users follow recommended code organization described in the Bazel docs

SGTM

I'd vote for second option (conventional labeling option)

Solved with #1243


Is it possible to use clarity to parse dota2 .meta file ?

the meta extension file from the api, could we use clarity to decode it?
Thanks!

I do not know anything about this file.
What does it contain?

It contains encrypted data, but if you open it with txt editor, some characters will be decrypted as the key words from clarity, such as npc_dota_hero. So I am wondering whether can we use clarity to decode the rest of the file.

I think here is one example of .meta file, it another file located on the same server of replays. It's said to contain the new Post Game Details that published in last autumn.
2762708752_900104790.zip

I added functionality to parse it in 2.2-SNAPSHOT. Example of how to use.
Note that if you do not use 2.2-SNAPSHOT yet, you can it via the following code:
meta = Packet.parse(S2DotaMatchMetadata.CDOTAMatchMetadataFile.class, ByteString.readFrom(stream));
`

Thanks! Really helpful!!!

Hi @gerlaic
How do you download meta files ?
Somthing like http://replay<cluster>.valve.net/570<match_id>_<replay_salt>.meta.bz2 I suppose ?
Tim


Add ability to call SIGINT handler which has already been installed in the system before KeybordHandler

Description
We need to be able to preserve calling system SIGINT handler which has already been installed in the system before KeybordHandler constructor.
Currently KeyboardHandler overriding SIGINT signal on construction which cause a problem when trying to use KeyboardHandler alongside with rclcpp when interruption of the process by "CTRL+C" is expected to be handled by the rclcpp.
In particular it cause a problem when we are trying to use KeybordHandler to process pause/resume operations for Rosbag2 recording started from command line. https://github.com/ros2/rosbag2/pull/905#issuecomment-964567795. Since Rosbag2 imply to finish recording by pressing CTRL+C keys.
Related Issues
https://github.com/ros2/rosbag2/pull/905
Completion Criteria
If KeyboardHandler using alongside with rclcpp signal handler, rclcpp signal handler should be called after internal KeyboardHandler signal handler.
Implementation Notes / Suggestions
Possible solution would be to store locally in KeyboardHandler previously settled up SIGINT handler and reinstall it and re-transmit SIGINT one more time after internally processing it. i.e. signal chaining.
Testing Notes / Suggestions
Consider to create unit test with installing SIGINT handler before creating KeyboardHandler instance then send SIGINT from another process to check that both SIGINT handlers will be calling.

Currently, the KeyboardHandler signal handler installed by default is calling exit().
In the case we want to apply signal chaining, it would be good if exit() isn't called when signal chaining happens.
exit() could be called if the previously installed signal handler is SIG_DFL (actually _exit() should be called, as exit() is not async signal safe).
The other alternative is to have an option to disable KeyboardHandler signal handling, and expose a method that the user can call from its own signal handler (in the case of an rclcpp/rclpy node, we can use an "on_shutdown" callback). In this case we actually only need an static method.
I think that option is more clean, I don't like libraries automatically installing signal handlers and not having an option to disable it (installing signal handlers without having control of the whole application can easily be problematic).

@ivanpauno Thanks for your comment. I've got your point. I will try to implement solution with static on_shutdown() method first.


Providers Recommendations

Viki
Viu
Osn
Iflix
Mgtv
Thanks

Add Viu, and currently, only support popular ott platform in Taiwan.


Improvements to the "All activites over time" page

Fixes #781
@pbanaszkiewicz @gvwilson Please review.

Please ping be back once the changes are made and I'll merge. Thanks!

@pbanaszkiewicz Made the changes.

Thanks, @narayanaditya95!


Local score ties are broken incorrectly for some members

For larger leaderboards, the rule, that equal submission times are broken based on the user id seems to not work consistently.
Even Eric says that ties need to be broken this way: https://www.reddit.com/r/adventofcode/comments/7krz2u/comment/drgqics/
Right now, this is how users are ranked and awarded points, per part:
// sort time-based board metrics (break ties by user id)
const sortDuration = (a: IBoardEle, b: IBoardEle) => {
  const delta = a.time.subtract(b.time).asSeconds();
  return delta !== 0 ? delta : a.id - b.id;
};

There are also tests in-place that seem to break ties correctly.
Still, e.g. with the following JSON file - see off-by-one.zip - we have plenty of local score errors:
score computation yielded wrong score 8701 (expected 8696) for #51230
score computation yielded wrong score 9020 (expected 9019) for #107482
score computation yielded wrong score 7701 (expected 7699) for #297371
score computation yielded wrong score 6988 (expected 6987) for #404312
score computation yielded wrong score 9386 (expected 9385) for #433999
score computation yielded wrong score 1135 (expected 1134) for #498245
score computation yielded wrong score 2898 (expected 2897) for #549360
score computation yielded wrong score 9305 (expected 9304) for #625208
score computation yielded wrong score 7020 (expected 7019) for #642412
score computation yielded wrong score 3028 (expected 3027) for #679228
score computation yielded wrong score 8763 (expected 8764) for #693582
score computation yielded wrong score 3761 (expected 3760) for #706922
score computation yielded wrong score 6347 (expected 6346) for #802336
score computation yielded wrong score 8545 (expected 8546) for #928586
score computation yielded wrong score 7310 (expected 7311) for #971019
score computation yielded wrong score 5247 (expected 5246) for #982555
score computation yielded wrong score 8915 (expected 8916) for #991294
score computation yielded wrong score 9070 (expected 9071) for #993072
score computation yielded wrong score 6268 (expected 6269) for #1064555
score computation yielded wrong score 6091 (expected 6090) for #1140497
score computation yielded wrong score 8607 (expected 8609) for #1179296
score computation yielded wrong score 3096 (expected 3095) for #1262467
score computation yielded wrong score 3634 (expected 3633) for #1268803
score computation yielded wrong score 5118 (expected 5119) for #1272137
score computation yielded wrong score 8494 (expected 8495) for #1487988
score computation yielded wrong score 1535 (expected 1536) for #1527698
score computation yielded wrong score 8516 (expected 8515) for #1539268
score computation yielded wrong score 7081 (expected 7082) for #1541519
score computation yielded wrong score 8199 (expected 8200) for #1558932
score computation yielded wrong score 3154 (expected 3155) for #1564556
score computation yielded wrong score 300 (expected 301) for #1569740
score computation yielded wrong score 7575 (expected 7576) for #1571225
score computation yielded wrong score 7725 (expected 7726) for #1571998
score computation yielded wrong score 2079 (expected 2080) for #1579526
score computation yielded wrong score 5924 (expected 5925) for #1623378
score computation yielded wrong score 3016 (expected 3015) for #1663120
score computation yielded wrong score 3129 (expected 3130) for #1693717
score computation yielded wrong score 1901 (expected 1902) for #1696252
score computation yielded wrong score 6673 (expected 6674) for #1699044

Interestingly, if we would reverse the tie-breaking sorting to b.id - a.id - we have fewer errors ...

The new API version includes a star_index field which can be used to break ties exactly. As a fall-back, we use the user id instead.


[Help Needed] OpenSearch/Dashboards in Ansible

[Help Needed] OpenSearch/Dashboards in Ansible.
We invite communities to help us adding more distros of OpenSearch/Dashboards.
We recently have Helm OpenSearch available with the help of community, and we would love more community contributions.

@peterzhuamazon Can you better explain what this issue entails?
Do we want a playbook or a module that automatically deploys OpenSearch via Ansible?
I think if contribution is expected, we should be able to clearly define expectations to someone wanting to contribute.

Hi @DandyDeveloper I think we are looking to have a playbook to deploy OpenSearch/Dashboards.
There are expectations from community to playbook since ODFE and there is a community maintained one: https://github.com/saravanan30erd/opendistro_standalone_installation
Would love to see this also present in OpenSearch/Dashboards.
@saravanan30erd since you have worked on ODFE version and still maintain it, would you mind also take part in the discussion and evaluate the possibility of this?
Thanks.

@peterzhuamazon Sure, I can create ansible playbooks for OpenSearch & Dashboards installation. This one is created for Centos & RHEL, so I can create playbooks for Centos & RHEL initially and we can eventually support all other distributions(Ubuntu, etc,..).
Is it possible to create separate repo (opensearch-ansible or something) as I expect it might get big and complex going forward?

Thanks @saravanan30erd for the responses, here are a few points to add on:

CentOS/RHEL is good as officially our releases on docker are based on AL2 which is in the same RH family.
The separate repo has been mentioned multiple times in the past weeks by community, and we are currently discussing about it. As of now, please just create a separate folder for it in opensearch-devops repo.

Please let me know if you have any questions.
Thanks.

Hi @saravanan30erd It has been some days since we last talk.
Just want to check in to see if there is any progress on this?
Hope you are doing well. Thanks.

@peterzhuamazon  sure, I recently added few more plugins in opendistro repo which I will test it and merge to master today. I will also start the work for opensearch after that.

Thanks @saratvemulapalli that sounds great, let us know if you need any help.
cc: @bbarani

@peterzhuamazon
I have split the task into many phases, currently I have completed the single node opensearch setup.
I will work on below tasks in upcoming days,

opensearch multi-node cluster setup
opensearch dashbaords Installation
Performance analyzer plugin configuration

please check it.

Thanks @saravanan30erd for the 1st PR, will involve folks to review this one.
Thanks.

OpenSearch ansible-playbook repo is up with ansible playbooks for both OS and OSD.
https://github.com/opensearch-project/ansible-playbook
Closing this issue, please re-open if required.
Thank you


Resolution mod for 1.1.1

Hello can u update the resolution mods for 1.1.1
Also I was using the 720p mod x3 for 4K is that the best method or should I be using the 1008p mod (also time what sorry I'm new to this 😅)

hello, all resolution mods with Alternate method in their name will work in any version
But 720 is made with a 1.1.0 asset
It could probably reverse some updates done by the 1.1.1
You should use the 1008p x2 instead

No I didn't try 720p on 1.1.1 , 2x on 1008p is working with no issues anything above 2x crashes yuzu I'm on a 3080 .


Add template fr.publicationannoncelegale.yml

Update OVH and Amazon templates for France

Thanks for the update. At some point we should consider adding sample files for each template to enhance the quality.

Yes, it would be great, but invoices are private documents and it has customer numbers and other information we could be used to contact the supplier on behalf of the real customer. So it's not an easy topic.


Install interactive patches only for the upgrade case

As alternative to 2nd commit, we could just ignore pending interactive patches in the upgrade prechecks call, as already suggested by @bmwiedemann
But I do not know why this can be correct, what if there's an interactive patch that is required for the upgrade to run correctly?

@bmwiedemann @dirkmueller Any comments? You weren't happy about the previous change...

no strong opinions there. But IMHO it does not even make sense for the upgrade case (assuming the only interactive upgrades are the kernel ones)

@MaximilianMeister what do you think? Does it make sense to ignore interactive upgrades in the prechecks call?

I personally think the "have all upgrades installed?" check should be fixed to not care about interactive updates rather than hacking around the problem in mkcloud. I agree though that the revert should land, but make it a proper revert (with git revert so that the commit message gives more info).

But IMHO it does not even make sense for the upgrade case ....

I personally think the "have all upgrades installed?" check should be fixed ...

I still do not really see why wanting to have all upgrades installed is supposed to be a bug

@dirkmueller I've used git revert now

I still do not really see why wanting to have all upgrades installed is supposed to be a bug

https://ci.suse.de/view/Cloud/view/Worker/job/cloud-mkphyscloud/1613/ is failing from that - Cloud5 is using SLE-11-SP3 and updating a kernel there means uninstalling the current kernel and that means that NFS kernel modules are not there anymore when needed later.

Hm, so revert is indeed needed.
But for the upgrade case, I think it's safe to ask user to upgrade everything - after all, do only kernel updates need to be interactive?

@bmwiedemann @dirkmueller any update?

So far, I only know of kernel updates (and related kmps) being interactive. Maybe there are parts like fluendo-mp3 of the microsoft-fonts-downloader where licenses need to be accepted.
Since you dont use interactive patches when upgrading from cloud5, it might even work.
But IMHO it still does not make sense to require updates that are not needed (because they are not active without reboot) and will be overwritten by the zypper dup.

@bmwiedemann Maybe. But now we do not have solution (in crowbar) to check only for some patches. So I was thinking about merging this PR to 1. revert that wrong commit, 2. have working solution for upgrade for now. And if we decided upgrade check should ignore interactive patches, we could create followup PR.

I personally think the "have all upgrades installed?" check should be fixed to not care about interactive updates rather than hacking around the problem in mkcloud.

I wouldn't be against that, but I don't see anything in zypper to implement that :/ Also, we're hitting a problem with mkcloud [1], but could install interactive updates...
[1] are we really? I'm somehow skeptical that we'd need to install any update in mkcloud since generally we install with all updates already...
I'd go with @jsuchome's patch for now to unblock things.


[Feature Request] Possibility of setting permissions while "package" command is run

Description:
For the usage of Custom Runtimes within Lambda there is a specific "bootstrap" file which is utilized at Lambda function startup however, if this specific file does not have the executable permissions set then the Lambda function will create successfully through CloudFormation however, will fail with any invocation with a permissions denied.
This can easily be solved by running the chmod +x or (755) on linux for the bootstrap file however, on Windows I have not found a way to achieve the same.
Steps to reproduce the issue:

Run through the walkthorugh on Windows here:
https://docs.aws.amazon.com/lambda/latest/dg/runtimes-walkthrough.html#runtimes-walkthrough-function
to just create the function.sh and bootstrap file.

Create a simple Serverless function file within the same folder:
=========Simple file=========
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
Dotnet31:
Type: AWS::Serverless::Function
Properties:
FunctionName: uat-custom-runtime-net-core-31-sam
Description: Custom runtime with .NET Core 3.1
Handler: function.handler
Runtime: provided
CodeUri: .
Timeout: 300
MemorySize: 256
Role: arn:aws:iam::xxxxxxxx:role/core-lambda-role
VpcConfig:
SubnetIds: ["subnet-xxxxxxx","subnet-xxxxxx"]
SecurityGroupIds: ["sg-xxxxxxx"]
=========Simple file=========

Once created run the package and deploy commands for SAM, the stack will create however, any invocation to the Lambda function will fail with a message of:
'
{
"errorType": "Runtime.ExitError",
"errorMessage": "RequestId: 7e1fd68a-fbc4-4be8-b85f-26f82d574f17 Error: &{0xc000092240 map[invoke_id:7e1fd68a-fbc4-4be8-b85f-26f82d574f17 sandbox_id:0] 2020-02-21 06:54:08.425543059 +0000 UTC m=+0.063072593 panic  Runtime failed to start: fork/exec /var/task/bootstrap: permission denied  }"
}
'

Feature Request
Therefore since this occurs would it be possible to have the package command alter the permissions of any "bootstrap" file it may see within the code structure as this bootstrap file is required for any custom runtime for lambda.

@keagank Thanks for the issue. There are some tips here you can follow to achieve this.
Package should not touch permissions. Package assumes that previous steps by the customer or tools (say sam build), have properly setup the files. Now I can see the argument of sam build should take care of this, but we currently do not support building provided runtimes. If we do this as apart of building custom runtimes in sam build, we probably do not want to magically add permissions and instead provide some way (maybe through a command line option) for you to say, add permissions to these files.
Since we do not support building custom runtimes yet, the path forward here is to follow the above docs to achieve this.
Closing as package is not the correct place and SAM CLI does not support building custom runtimes yet (which is a better place for the ask).


Updating favicon and enabling it

Using a minimal version of the podman logo for favicon
updating config to fix path to favicon file

Screenshots in different browsers / theme colors

awesome thank you for catching this one!


On Htmlwidget container close, sometimes getting attached issue.

this issue occurs sometimes but frequently. how to fix this?

@akmichael what version of the plugin are you using? I tried to fix this on 2.2.0.
If you are using 2.2.0 and the error happens, could you send the code for your whole page so I can try and reproduce? Thanks.

Make sure you do not use 2.2.0+1-dev.1, use just 2.2.0 and try it. Flutter clean before you build.
2.2.0+1-dev.1 is only compatible with Flutter beta/dev/master for right now.

i reverted to back to old version html editor enhanced v.^2.1.1. and tried flutter clean, Invalidate caches/restart. still didnt help.

Set pubspec to
dependencies:
   html_editor_enhanced: ^2.2.0

dependency_overrides:
   flutter_colorpicker: ^0.4.0

Thanks. nice, it works now. even i dont see flickering issue on parent widget close now, which I reported earlier. (y)

That's great. I will confirm the flickering issue is gone and then will close that issue.

there is one issue i noticed. when i press return key (new line) at the last word, new line not not shown immedicately. cursor is still in same line. but exists in gettext() method. when I assign gettext() value to html control, new empty lines exist.

I notice this all the time as well but nobody else had reported it so I thought it was an issue with my device/configuration. Please open a separate issue and I will look into it, I remember trying to figure this out earlier but I couldn't find any solution.

attached my code to reproduce above screenshot error.
steps:

edit some text in htmleditor
click save (right corner)
click close (left corner).

`import 'package:flutter/material.dart';
import 'package:html_editor_enhanced/html_editor.dart';
class UpdateViewPage extends StatefulWidget {
UpdateViewPage();
@override
_UpdateViewPageState createState() =>
_UpdateViewPageState();
}
class _UpdateViewPageState extends State {
_UpdateViewPageState();
HtmlEditorController htmlController = HtmlEditorController();
bool isSaveInProgress = false;
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Update"),
leading: new IconButton(
icon: new Icon(Icons.close),
onPressed: () => Navigator.of(context).pop(null),
),
actions: !isSaveInProgress
? [
new IconButton(
icon: new Icon(Icons.save),
onPressed: () async{
            await Future.delayed(Duration(seconds: 2));

          })
    ]
        : <Widget>[
      Padding(
        padding: EdgeInsets.only(right: 20),
        child: Center(
          heightFactor: 1,
          widthFactor: 1,
          child: SizedBox(
            height: 24,
            width: 24,
            child: CircularProgressIndicator(
            ),
          ),
        ),
      )
    ],
    backgroundColor: Color.fromRGBO(55, 64, 71, 1.0),
  ),
  body: Container(
    margin: const EdgeInsets.only(top: 15, left: 15, right: 15),
    child: Column(
      mainAxisAlignment: MainAxisAlignment.start,
      mainAxisSize: MainAxisSize.max,
      children: <Widget>[
        Padding(
            padding: EdgeInsets.all(4.0),
            child: HtmlEditor(
                controller: htmlController, //required
                htmlEditorOptions: HtmlEditorOptions(
                  initialText: "demotext",
                ),
                otherOptions: OtherOptions(
                  height: 180,
                ),
                htmlToolbarOptions:
                HtmlToolbarOptions(defaultToolbarButtons: [
                  ParagraphButtons(lineHeight: false, caseConverter: false)
                ]))),
      ],
    ),
  ),
);

}
}`

Thanks, I tried it but cannot reproduce with the latest release so I think this is solved. Is it still happening for you?

yes. it is keeps occurring everytime. I am testing in android.

Hmmm, I'm also testing on Android. I looked at the screenshot again and I now see you show the line the issue is at. I will take a look into this today and I think I may know how to fix it.

I have pushed a fix, could you try master branch and see if it occurs now?

Closing for now, please let me know if this is still an issue. Thanks!


Set up CI workflow on Jenkins

Since Travis no longer works for us, we should just set up a Jenkins job to run the script that Travis currently does.

I ended up setting it up on Azure Pipelines instead of Jenkins, but with #188 merged this is now fixed. :+1:


panic: invalid memory address or nil pointer dereference

Version: >6.6
For a README files without metadata, the expected way it handles error would be
FATAL specified file doesn't contain metadata and URL is not specified via command line or doesn't contain pageId GET-parameter

But on builds after v6.6, it panics
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x100de46c8 ]

goroutine 1 [running]:
main.processFile({0x16b523a13, 0x9}, 0x1400037c040, {{0x16b523a13, 0x9}, 0x0, 0x0, 0x1, 0x0, 0x0, ...}, ...)
	/home/runner/work/mark/mark/main.go:182 +0x1a8
main.main()
	/home/runner/work/mark/mark/main.go:150 +0x610

8d58ff26a3721a6f49fb1124d5f5287c28c05e0d seems to be the breaking commit, will raise a PR for a fix soon

Should be fixed now by #162


Closest to Mouse

Improved accuracy of the Aimbot by favoring targets which are closer to the mouse.

Thanks, I'll look at it later


fix: create new socket if socket state is 'closing'

Found issue where sending message fails with Socket is not open. when only using websocket transports (no http transports).
WS is used to create initial connection, and then starts before mediation request, causing socket state to update to 'CLOSING'. Since this is done before the close event is emitted, the relevant socket map value  of WsOutboundTransport hasn't been deleted yet, so when we try to send the next message too quickly this error case can happen.

I think this is related to the problem found in #1025

Any ideas why the test failed?

@jleach — could this be related to the “first credential delay” issue?
Does this manifest in delays or in errors?

Does this manifest in delays or in errors?

@swcurran in the use cases I was experimenting with, it always resulted in an error.

Codecov Report

Merging #1337 (638e658) into main (518e5e4) will decrease coverage by 10.63%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main    #1337       +/-   ##
===========================================
- Coverage   79.55%   68.92%   -10.63%
===========================================
  Files         743      689       -54
  Lines       17835    16485     -1350
  Branches     3041     2797      -244
===========================================
- Hits        14188    11363     -2825
- Misses       3640     5119     +1479
+ Partials        7        3        -4

Impacted Files
Coverage Δ

packages/core/src/transport/WsOutboundTransport.ts
9.09% <0.00%> (ø)

packages/anoncreds/src/utils/areRequestsEqual.ts
1.47% <0.00%> (-97.06%)
:arrow_down:

.../src/modules/credentials/util/previewAttributes.ts
7.69% <0.00%> (-92.31%)
:arrow_down:

...src/storage/migration/updates/0.1-0.2/mediation.ts
9.09% <0.00%> (-90.91%)
:arrow_down:

...rc/storage/migration/updates/0.1-0.2/credential.ts
19.23% <0.00%> (-80.77%)
:arrow_down:

packages/indy-sdk/src/dids/didSovUtil.ts
12.12% <0.00%> (-78.79%)
:arrow_down:

...ckages/indy-vdr/src/dids/IndyVdrIndyDidResolver.ts
11.32% <0.00%> (-77.36%)
:arrow_down:

...es/basic-messages/repository/BasicMessageRecord.ts
23.52% <0.00%> (-76.48%)
:arrow_down:

...kages/indy-vdr/src/dids/IndyVdrIndyDidRegistrar.ts
8.33% <0.00%> (-75.00%)
:arrow_down:

.../src/modules/routing/repository/MediationRecord.ts
19.23% <0.00%> (-75.00%)
:arrow_down:

... and 201 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@genaris @TimoGlastra - do you know why the tests are now failing? It doesn't make any sense to me why this change would cause the tests to fail

The issues are not related to your PR. @genaris just made a PR to fix the CI issues, let's see if they pass now


Regression for -Wunused:import in business4s/decisions4s

Compiler version
3.5.0 and later
Bisect points to 975df4a136910fe0451514ef0dc34aa29a60aef7
Minimized code
//> using options -Wunused:imports -Werror
object decisions4s{
  trait HKD
  trait DecisionTable
}

object DiagnosticsExample {
  import decisions4s.HKD
  case class Input[F[_]]() extends HKD
  import decisions4s.*
  val decisionTable: DecisionTable = ??? // warn
}

Output
[warn] ./test.scala:8:22
[warn] unused import
[warn]   import decisions4s.HKD
[warn]

Expectation
Should not report warnings if wildcard import is placed after usages of explicit import statement.

I have an improvement PR and also a branch for a rewrite of the unused check, where I noticed that the scoping in "super position" is not correct:
object Constants:
  final val i = 42

class `scope of super`:
  import Constants.i // bad warn
  class C(x: Int):
    def y = x
  class D extends C(i):
    import Constants.* // does not resolve i in C(i)
    def m = i

confirming with current scalacQ
➜  snips ~/projects/dotty/bin/scalacQ -d /tmp/sandbox -Wunused:imports import-scope.scala
-- [E198] Unused Symbol Warning: import-scope.scala:5:19 -----------------------
5 |  import Constants.i // bad warn
  |                   ^
  |                   unused import
1 warning found

I don't think the crude scoping in the check could ever quite work; if it is a regression here in the May improvements, I assume that is because more is correctly detected.
I noticed it (on my rewrite branch, which doesn't go far) by turning on the lint in the dotty build, i.e., dogfooding.

I'll try to come up with a scheme for handling the import contexts. I devised a kludge for superclass constructor context; either I will kludge again, or switch to Context for scoping, a change I assume is inevitable.

Duplicate of https://github.com/scala/scala3/issues/17667 where the bookkeeping mechanism does not understand normal contexts (and import contexts).


Replace use of pandas in pyrealm.demography

Description
In #277, I used pandas.Dataframe within Flora to provide an array-like view onto the plant functional type data. That then led to using it for Community.cohort_data (#282) and also typing the inputs to the T Model functions as pandas.Series. That turns out to be awkward for a number of core use cases:

See comment https://github.com/ImperialCollegeLondon/pyrealm/issues/290#issuecomment-2364225749 about the awkwardness of using this structure in creating allometry predictions for a Flora
See comment https://github.com/ImperialCollegeLondon/pyrealm/pull/288#discussion_r1768449896 about the repeated casting of Series to np.ndarray when broadcasting needed.
See issue #291 which summarises the issues and describes what this PR should do.

This PR starts to replace the usage with a pure numpy alternative. There is code in the currently open PR #288 that will also need updating, but this seems like the right way to go now.
The code:

Replaces the use of pandas structures throughout.
Adds a prototype validation function and unit test for that function to validate array inputs to T model functions.
I have not yet added that validation to the functions - wanted to wait for feedback before moving on.

Fixes #291 (issue)
Type of change

[ ] New feature (non-breaking change which adds functionality)
[x] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

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

Project coverage is 95.22%. Comparing base (1f315ba) to head (f291ebf).
Report is 88 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #292      +/-   ##
===========================================
- Coverage    95.29%   95.22%   -0.07%
===========================================
  Files           28       32       +4
  Lines         1720     2115     +395
===========================================
+ Hits          1639     2014     +375
- Misses          81      101      +20

Flag
Coverage Δ

95.22% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

One issue to fix: There's a straggler issue in that the community.py module docstring still makes reference to using pandas as the internal data vehicle.

Fixed

And one query: I see the type hints for the new NDArrays are now float32. Is there a specific reason for this? Will Python type promotion not mean that this doesn't survive contact with any float64 data?

That's a good point - the typing of arrays has got cleaner and I think the earlier code was written when this was not such a transparent thing to do. I don't think we need the precision of float64 so we use less RAM by doing this, but equally I don't know if that has speed implications (good or bad) with 64 bit architecture.
So - not sure. I guess I'd like to leave this PR as is and tackle the array typing more widely as another issue.


Where can I download data of town?

Hi Hatem Darweesh. I watch your youtube video and read your code. That's a great job. I'm trying to reimplement those codes in my environment. But I don't find the data(lanelet2 and point cloud) of town that you mention under autoware_universe_sample_data  in the video. Do you give me a hint about those data? Thanks.

@leonlee723
you can download them from here
https://drive.google.com/drive/u/1/folders/1Or0CMS08AW8XvJtzzR8TfhqdY9MMUBpS

Thank you very much. Have a good weekend!


Fix whitespace buildup

Applicable spec: N/A
Overview
Strips whitespace around user input content to avoid whitespace accumulation
Rationale
Currently there is an issue where whitespace builds up continuously as it is not stripped from generated content before being added again.
Module Changes
N/A
Checklist

[x] The contributing guide was applied
[x] The documentation is generated using src-docs
[x] The PR is tagged with appropriate label (urgent, trivial, complex)
[x] Changelog has been updated
[ ] Version has been incremented

Version will be incremented on release

The E2E tests seem to be happy about this change:
https://github.com/deusebio/gatekeeper-repo-test/actions/runs/7016270139/job/19087131474

Ok, everything passes now 💪