Make optimistic reportActions appear last

Details
https://github.com/Expensify/App/issues/13250#issuecomment-1467266211
Fixed Issues
$ https://github.com/Expensify/App/issues/13250
Tests

Go offline.
Send 5 messages: 1,2,3,4,5
Come back online. Verify that the messages do not reshuffle.

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

Offline tests
All the tests are offline tests 😉
QA Steps

Go offline.
Send 5 messages: 1,2,3,4,5
Come back online. Verify that the messages do not reshuffle.

[ ] 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 / Chrome
[x] iOS / native
[x] iOS / 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 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 correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

[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 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 author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/47436092/225017117-00acc29e-ed84-4c6a-834f-01abf92310a8.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/47436092/225136355-6a93cfe8-16c1-4834-98ae-82176540f0c0.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/47436092/225019925-2f70b4db-ab66-41db-8720-ee33c1eab4ea.MP4

Desktop
https://user-images.githubusercontent.com/47436092/225137441-b3a50c1d-de3e-4af0-ade1-3d4abb09031f.mov

iOS
https://user-images.githubusercontent.com/47436092/225136069-a9392876-a64a-422d-9633-715ab02bd0c8.MP4

Android
https://user-images.githubusercontent.com/47436092/225136316-22e687f6-cf77-452f-bc59-8d16ae7e09a3.mov

@Santhosh-Sellavel @cristipaval One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

Messages do not reshuffle, but I noticed the following bugs

LHN showed a wrong recent message for a few seconds (Check between the 18th - 21st second in the below video)
New indicator is shown for our own messages

https://user-images.githubusercontent.com/85645967/225314047-52d3d019-2a44-44d4-bbe7-0b966963897a.mov

Thanks @Santhosh-Sellavel, you've helped me realize that this change (i.e: ensuring that optimistic reportActions are always treated as the last action on a report), breaks the concept of report.lastMessageText.
So I think that means this becomes a larger refactor where we remove the report fields called report.lastMessageText and report.lastMessageHtml, and in the client just rely on the reportActions in Onyx as the source of truth. I think that will end up being a better design.

Thanks for testing @Santhosh-Sellavel, those bugs should be fixed now

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 / Chrome
[ ] iOS / native
[ ] iOS / 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 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 correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] 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(themeColors.componentBG)

[ ] 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 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

Web
https://user-images.githubusercontent.com/85645967/227335143-d191b832-7e29-49e1-9b80-42cb0c593ca2.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/85645967/227335011-ca7aa6eb-4ca0-485d-b918-0be18b07b975.mp4

Mobile Web - Safari
https://user-images.githubusercontent.com/85645967/227335049-540b9b95-0cb5-429e-95f1-71d568f1948d.MP4

Desktop
https://user-images.githubusercontent.com/85645967/227335250-88c43e26-767b-4482-b028-d9af11fd37a9.mov

iOS
Unable to test this

Android
https://user-images.githubusercontent.com/85645967/227335432-d8095461-401c-4bad-ac6e-b00ed677b03c.mp4

Can someone anyone of you test this one on iOS Native alone on a real device cc: @cristipaval or @mountiny

@mountiny Force offline is useless here, actions are executed data is sent to server only fetch is pending.

@mountiny Force offline is useless here, actions are executed data is sent to server only fetch is pending.

Gotcha, I unfortunatelly dont have this running on my device, lets try the Ready to build label 🤓

@mountiny just FYI you need to add the Ready to Build label then go manually trigger the test build in the GitHub Actions console. We could change that if we wanted to, but haven't yet.

just FYI you need to add the Ready to Build label then go manually trigger the test build in the GitHub Actions console. We could change that if we wanted to, but haven't yet.

I was just wondering whats going on, there there is this SO for anyone internal https://stackoverflowteams.com/c/expensify/questions/15195/15196#15196 comes across

Use the links below to test this build in android and iOS. Happy testing!

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

https://ad-hoc-expensify-cash.s3.amazonaws.com/android/15942/index.html
https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/15942/index.html

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/15942/NewExpensify.dmg
https://15942.pr-testing.expensify.com

@Santhosh-Sellavel Can you test now if you have physical iPhone?

Tested with my iPhone and it works.
https://user-images.githubusercontent.com/18078393/227644407-222bc285-373b-4898-aada-2780ba259fa1.MP4

Soooo, let's merge this then? 🙂

All tests have passed, not an emergency

🚀 Deployed to staging by https://github.com/mountiny in version: 1.2.90-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@roryabraham I think we should revert this one, there is couple of regressions:

https://expensify.slack.com/archives/C049HHMV9SM/p1679918995450319

Also sending a message in a new workspace admins chats puts the messages above the CREATED report action.

@roryabraham please tag me for review in the new PR thanks!

🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.90-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


refactor(app): update set wifi ssid screen

Overview
[design]
https://www.figma.com/file/AoTLAYuWawlaWItB1umOjr/Release%3A-Opentrons-Flex-Touchscreen-Designs?type=design&node-id=7218-91809&t=MfY2SBavbCe7JMQp-0
update set wifi ssid screen

Test Plan

Go to Network setup menu
Tap Wi-Fi
Tap Join other network

Changelog

update SetWifiSsid component

Review requests

Risk assessment
low

The InputField element isn't totally respecting your SSID_INPUT_FIELD_STYLE css. For instance, it's adding an 8px padding all around, making it look comically large next to the designs. I haven't looked too in depth, but I suspect that element (which includes error handling) has baggage that the designs aren't accounting for, and I don't know if it'll be possible to override them here. I tried setting the padding to 0 manually, for example, but that didn't do what I was expecting. I suspect if you play with it just a bit longer you'll find the way.

The InputField element isn't totally respecting your SSID_INPUT_FIELD_STYLE css. For instance, it's adding an 8px padding all around, making it look comically large next to the designs. I haven't looked too in depth, but I suspect that element (which includes error handling) has baggage that the designs aren't accounting for, and I don't know if it'll be possible to override them here. I tried setting the padding to 0 manually, for example, but that didn't do what I was expecting. I suspect if you play with it just a bit longer you'll find the way.

Yeah, the issue is that the current InputField is optimized for Desktop app usage.
Now we use media query for ODD so I think we can add the style for ODD to InputField component.
I will work on css part in a following PR.


key-build (basefiles) causes Segmentation fault on snapshots sdk

make[3]: Leaving directory '/workdir/sdk-snapshots-mvebu-cortexa9/feeds/base/package/base-files'
time: package/feeds/base/base-files/compile#0.14#0.03#0.34
package/Makefile:107: recipe for target 'package/feeds/base/base-files/compile' failed
make[2]: *** [package/feeds/base/base-files/compile] Error 2
make[2]: Leaving directory '/workdir/sdk-snapshots-mvebu-cortexa9'
package/Makefile:103: recipe for target '/workdir/sdk-snapshots-mvebu-cortexa9/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/workdir/sdk-snapshots-mvebu-cortexa9/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/workdir/sdk-snapshots-mvebu-cortexa9'
/workdir/sdk-snapshots-mvebu-cortexa9/include/toplevel.mk:209: recipe for target 'world' failed

Seems to-be snapshots related, since 18.06.01/2 is working fine.

Hi, I was having the same error when using the OpenWRT SDK.
I didn't use this project (although maybe I should! it looks useful), but in case anyone else found only this GitHub issue when searching on Google, it's probably caused by https://github.com/openwrt/openwrt/issues/7299


Export to graphviz or mermaid text formats as well as PNG

I'd love to see the app support GraphViz (dot files) and/or mermaid markdown.
Thanks for considering this feature request.

It's very simple, I'll implement it. thank for your feedback.

done in https://github.com/justmakeapp/swiftdeps-distribution/releases/tag/1.4.0


relax relative tolerance parameter in TestMinumumPhase.test_hilbert

With use of mkl_fft to monkey patch scipy.fftpack in Intel Distribution for Python, test runs on machines with processors supporting different extensions the result of FFT computations may be slightly different.
On some of these machines the result of minimum_phase(h, 'hilbert') is different from MATLAB reference value a little of the set threshold. Doubling the relative tolerance fixes these failures.
See https://software.intel.com/en-us/comment/1914612

This seems fine to me, it's only a small increase. Merging, thanks @oleksandr-pavlyk


Imported files are not included in the output when compiling from ESM to CommonJS

Describe the bug
To be honest, I don't know if it's really a bug, or if it's the expected behaviour.
I use swc-loader with webpack. For a project configured to use ESM, with in package.json:
"type": "module"

When I try to compile for prod to commonjs, the imported files are just converted to require and not included in the output, which lead to "no module found" errors.
Input code
import { EXPORT_TEST } from "./constants.js";
console.log("Test export: ", EXPORT_TEST);

Config
{
  "jsc": {
    "parser": {
     "syntax": "ecmascript",
     "jsx": true,
      "dynamicImport": true
    },
    "transform": {
      "react": {
        "refresh": true,
        "runtime": "automatic"
      }
    }
  },
  "module": {
    "type": "commonjs"
  },
  "minify": true,
  "sourceMaps": false
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.66&code=H4sIAAAAAAAAA8vMLcgvKlGoVnCNCPAPCokPcQ0OUahVSCvKz1VQ0tNPzs8rLknMKynWyypWsuYCcfNzUvVy8tM1lEJSi0sUUitA%2Bq0UlHSQTdC0BgABbYHOWAAAAA%3D%3D&config=H4sIAAAAAAAAA12OwQ2DMAxF70wR%2BdwJukEPHcIKRg3CSWQ7UhFi95IUKOolct6z%2Fb10zsGoHu5u2UoHGUVJjm8lOkfD90aAPKN6CdngdthRqzIpdKJ%2BjsjBPzgnsV02t35bwASjDkn4GiOE3i6goUFIX3%2F7qyjRAlO9CYslRgsedr12x9vigFNfJjoXg825DfrEnOKo8OsMMQzzJQ00FfH0xKwbHXBS6tYP4BdyIDIBAAA%3D
SWC Info output
Operating System:
    Platform: win32
    Arch: x64
    Machine Type: x86_64
    Version: Windows 10 Home
    CPU: (8 cores)
    Models: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

Binaries:
    Node: 20.9.0
    npm: N/A
    Yarn: N/A
    pnpm: N/A

Relevant Packages:
    @swc/core: 1.3.93
    @swc/helpers: N/A
    @swc/types: 0.1.5

SWC Config:
    output: N/A
    .swcrc path: N/A

Next.js info:
    output: N/A

Expected behavior
I expect imported files to be included into the output. This is what I get when I remove "type": "module" from package.json:
(()=>{"use strict";var e={250:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"EXPORT_TEST",{enumerable:!0,get:function(){return t}});var t="Successfully exported ✔"}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var s=r[o]={exports:{}};return e[o](s,s.exports,t),s.exports}(()=>{var e=t(250);console.log("Test export: ",e.EXPORT_TEST)})()})();

EXPORT_TEST is correctly included as "Successfully exported ✔".
Actual behavior
This is the output I get when "type": "module" is defined in package.json:
(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./constants.js");console.log("Test export: ",e.EXPORT_TEST)})();

The import from "./constants.js" is converted to require("./constants.js"), but this file don't exist in the bundled output.
Version
<EMAIL_ADDRESS>Additional context
When I compile to ES6 or doesn't specify module.type, the imported files are correctly included in the output.

I am also running into this issue, with no clear solution.

You should not use "module.type": "commonjs" with "type": "module".
This is expected behavior


Scrolling down in the home view never reaches the latest messages

I got a report from a user about this, and was able to confirm it: If you open the home view and happen to get placed 100+ messages above the latest (which happens to me all the time and is probably its own bug needing attention!  We should be placing you with the first unread message at the middle of the screen, or at the bottom), and then scroll down, at first it loads new messages.
But after loading new messages when you get to the bottom like 3-4 times, you get to the bottom, and it doesn't load anymore, even though comparing with web, one will see there's actually another 50 messages below where it leaves me.
This is verified with the latest beta.

There are two parts to this issue.
The positioning and the 'not loading'.
I am investigating the second part, as I think I encountered it at least once.
The first part, about positioning it too early - we need to improve that somehow.
We are just doing an 'anchor' get, so the result is backend-dependent.
It is either a bug on the backend or correct behavior that we might want to rework?
Also, are we still using a different method of positioning on the web frontend?

@borisyankov the way we do positioning on the web frontend is that we get back the messages via the GET with use_first_unread_anchro, and then in JS we scan through the result to find the first unread message (through looking at the flags on the result), and set the scroll position to have that be about 1/3 of the way down the screen (or scroll to end if there no unread messages).

Hmmm, we use use_first_unread_anchor in the same fashion.
That is weird that we might load old messages this way.

So, to be clear, in the home view, it can load messages from a few days old, but I assume that's a different code path in the app.  (Are you using pointer for this?).  So might be a separate but related bug.
For narrows, my experience is that the app loads only a few dozen messages back, which makes me think the issue is solely about setting the scroll position after correctly fetching the most recent N messages (e.g.
I see this often when there are 0 unread messages, so everything fetched should be rendered above).

Closing as fixed.


Disable security controls with ExternalSecure

As a runtime admin, I want to be able to first run ZITADEL without the need to match ExternalSecure, ExternalDomain and ExternalPort to my environment, so that I can start easily and iteratively harden ZITADELs security.
### Acceptance Criteria
- [ ] ExternalSecure=false makes ZITADEL serve all requests and disables all security headers
- [ ] The docs guide the user from a simple configuration to a more complicated configuration

Additional context: https://discord.com/channels/927474939156643850/927862361195442176/1082955222936191047

Opinions? Did I miss something?
@livio-a @fforootd @mffap

This doesn't seem to be a wanted feature.

Well this single thing will not cut it IMO... we need to reduce mental overhead and redundant flags.


Add sidedisk support

Adding tarball "mounting"  instead of copying it in packer.json
Example:
"sidedisks": [
  {
    "archive": "/home/user/archive.tar.gz",
    "dest": "/mnt/untared/mount"
   }
]

host's /home/user/archive.tar.gz will be extracted to container's /mnt/untared/mount directory, all missing subdirectories will be recursively created.

@l0gg3r can you add an example on the README ?


typo in the Enable nested virtualization script

there was a $ instead of a # when the script run will wine about it

Thanks for catching this.


Domain activation is Failed - Retry button not working

App Id: dje4umfxudl7v
Region: eu-west-1
Step: Domain activation
Status: Failed
Issue/question
My domain won't activate.
The domain was previously registered through CDK. I've deleted the respective CloudFormation stack and made sure the domain was removed from Route53. However, 3 hours later Amplify is still telling me

Error message: One or more of the CNAMEs you provided are already associated with a different resource.

As per the Troubleshooting guide it's advised to wait for up to 6 hours. I've only waited 3+ now. However, what's disconcerting is that under AWS Amplify > Domain management the "Retry" button has stopped working. I can click it any number of times, it doesn't seem to initiate the retry.
Error message

Error message: One or more of the CNAMEs you provided are already associated with a different resource.

It looks like your domains have since come up, let us know if you still have any questions.


Support turtle prefixes

Find out if it's possible to add prefixes in a Page, that can be used with the serializer.
Example:  @prefix sosa: <http://www.w3.org/ns/sosa/> .

Look into https://github.com/rdfjs/N3.js/  instead of https://github.com/rubensworks/rdf-serialize.js
https://github.com/TREEcg/Basic-LDES-Server/blob/6a15466845cea483396cf0d6fb292b05eac24b05/src/lib/Page.ts#L32


duplicated urls in message-queue

pyspider version:
latest
Operating system:
mac os
Start up command:

I insert some message into the newtask_queue directly,It works .But the same url is not filter.Should I insert them into some other queue?
Expected behavior
The same url will not be processed as pyspider do itself!

Actual behavior

How to reproduce

I don't understand what do you mean "is not filter", same url filtered? when? by what?


with key having . in it, jsonpath is not evaluated

{
"gauges":{
"a.aa":{
"value":[
"dev2"
]
},
"b.bb":{
"value":"1.0.1-30"
},
"c.cc":{
"value":"1.0.2-120"
}
}
}
for such a response JSON,
* print response.gauges.["a.aa"].value
prints blank

one closing brace was missing, updated it now, jsonpath evaluator shows it as valid json, jsonpath as well is valid:

the json you provided is not well-formed, please don't do this again
and you certainly added an extra dot
* def response = { "a.b": "c" }
* print response
* print response['a.b']

extra . in jsonpath was the issue, since jsonpath evaluator was giving correct results, thought its Karate issue.
now, it works fine after removing extra .
Thank you Peter


App crashing while while clicking on "NO" for "Do you Want to download the pdf for current chapter?" prompt message

(VachanGo 1.3.2-alpha.4 apk)
while trying to click on "No" for  the "Do you Want to download the pdf for current chapter?" prompt message .
followed step sequence (screenshots)
click on 'Print/Save' button

click on "No"

App crashing

@Liju please verify the issue and update the status

issue is fixed and can be moved to 'Done'.
attaching the screenshots

after clicking on "NO"

moving to done


CAMTA1-related disorder

Mondo term
cerebellar dysfunction with variable cognitive and behavioral abnormalities
Synonyms
CAMTA1-related disorder
Synonym type
exact
Additional comments
Hi!  We had a request from a patient who was diagnosed with this condition.  Thank you! Gioconda
https://pubmed.ncbi.nlm.nih.gov/38044714/

I looked at whether other disorders are due to a variation in CAMTA1 but were not "cerebellar dysfunction with variable cognitive and behavioral abnormalities" (MONDO:0013886).
I found that "epithelioid hemangioendothelioma" is due to a protein fusion involving CAMTA1 (here and here). However, this disease is a neoplasm, and there would not be any confusion with "CAMTA1-related disorder" possibly referring to this disease.
I am adding this exact synonym.


Add Third Party Tutorial

Adding a third party tutorial.

@LeaVerou Is this tutorial good enough to be merged?

@Golmote or @LeaVerou sorry, I apologize for being extremely obnoxious here, but I didn't realize changes to the site are made to gh-pages, not master. Should I send another pull request or can one of you guys merge those changes in gh-pages? Again, I'm really sorry for being annoying.


expect not  restart application after more partitions created

http://pulsar.apache.org/docs/en/admin-api-partitioned-topics.html#update
Already created partitioned producers and consumers can’t see newly created partitions and it requires to recreate them at application so, newly created producers and consumers can connect to newly added partitions as well. Therefore, it can violate partition ordering at producers until all producers are restarted at application.

User may would like to do this in a more friendly way, like not restart app.

@foreversunyao if @jiazhai has started the work, feel free to pick it up :-)

Yes, as @sijie mentioned, I am preparing a PR for this. @foreversunyao
And current approach is to poll periodically from the client.

@jiazhai , I don't work on this yet, please go ahead, thanks.


Redirection Notice on multiple redirects

Bug description:

I am getting redirection notice for the use case where source source={{uri: url}} is provided with a link that redirects multiple times. (Affiliate link)
To Reproduce:

Set up a local host and api end point that redirects on request to end point appended into query string.
Api endpoint call: http://localhost:5000/api/resolve_url?url=https%3A//www.google.com/aclk%3Fsa%3DL%26ai%3DDChcSEwiczffn9bbuAhUX-cgKHdEVAkoYABAQGgJxdQ%26sig%3DAOD64_3OnyJU1u5TktAQqYnU7N51HVCJNw%26ctype%3D5%26q%3D%26ved%3D0ahUKEwi11PLn9bbuAhUiElkFHT4qA0YQ1ikIIw%26adurl%3D

Expected behavior:

No Redirection Notice
Screenshots/Videos:

Environment:

OS version: iOS 14
react-native version: 0.63.3
react-native-webview version:^10.10.2

This could appear if you try to append additional parameters to the search results link from google/google shopping.


[DropDownMenu] Doesn't render values other than the default value

Problem description
The DropDownMenu / MenuItem combo suggested in the docs does not seem to work. The dropdown gets rendered with the correct default value, however all other values are not rendered and therefore the dropdown doesn't respond on click
Steps to reproduce
I am trying to use a DropDownMenu + MenuItem combination. My JSX looks like this:
<Dialog
        title="Edit"
        open={props.open}
        autoScrollBodyContent={true}>
        <TextField
          onChange={(e) => props.setName(e.target.value)}
          value={props.name}
          floatingLabelText="Name" />
        <TextField
          onChange={(e) => props.setDescription(e.target.value)}
          value={props.description}
          floatingLabelText="Description" />
          <DropDownMenu value={props.value} onChange={props.handleChange}>
            <MenuItem value={1} primaryText="Never" />
            <MenuItem value={2} primaryText="Every Night" />
            <MenuItem value={3} primaryText="Weeknights" />
            <MenuItem value={4} primaryText="Weekends" />
            <MenuItem value={5} primaryText="Weekly" />
          </DropDownMenu>
      </Dialog>

and the callback in the container component:
handleChange: function (value) {
    this.setState({value})
  },

Versions

Material-UI:  0.15.0:
React: 15.0.1
Browser:  Chrome 50.0.2661 and Safari 9.1

Ok seems like there were two problems:

Dropdown does require the react-tap-event-plugin, Dialog in v.15.0 doesn't work (but I can revert back to 14.4 for now.

Closing.


New keosd process is created even though there is an existing keosd process (develop branch)

I was investigating issue #4064, where cleos wallet create fails if "eosio-wallet" directory doesn't exist and keosd is already running.
This issue still persists in the master branch but has disappeared in the develop branch.
However, I noticce the following thing in develop branch:

I call cleos wallet create, a keosd process is spawned
I delete the "~/eosio-wallet" folder
I call cleos wallet create again, another keosd process is spawned. So I have two keosd processes now running, which I think should be prevented since I already have a keosd process running?

Although it's not harmful or critical, I think it will be tidier if it can be cleaned up.

If there is an executed keosd process, 8900 port may be occupied (common configuration). In this case, another keosd fails to be executed.

Correct. That's why this issue doesn't happen in the master branch as it is still using TCP port. However, the develop branch seems to have moved the keosd communication to unix socket instead and the unix socket file is located inside "eosio-wallet" folder.

Since all file locks in Linux are advisory locks, a perfect solution that avoids all possible race conditions is not possible.    That said, keosd now monitors its lock file and terminates if it's manually removed, preventing most instances of abandoned keosd instances happening as a result of user experimentation.


Enable DynamoDB TTL

What problem are you facing?

I have defined a DynamoDB Table using the Crossplane documentation. I would like to enable TTL based on a certain attribute as per the AWS documentation. I have provided my YAML below, for reference.
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
  name: testTable
spec:
  deletionPolicy: Orphan
  forProvider:
    attributeDefinitions:
      - attributeName: testCol
        attributeType: S
    keySchema:
      - attributeName: testCol
        keyType: HASH
    provisionedThroughput:
      readCapacityUnits: 1
      writeCapacityUnits: 1
    region: eu-west-1
    tags:
      - key: environment
        value: dev
      - key: provisionedBy
        value: Crossplane

How could Crossplane help solve your problem?

Please could you add an attribute to the Table custom resource which allows TTL to be enabled and allows the user to specify which column the TTL should be measured against. I believe this may be achieved using this API call.

It seems that this property isn't included in the creation or update calls, so we'd need to add it manually instead of relying on ACK to generate it. The field would go to here and update calls would need to be updated here.
@JasP19 would you be interested in contributing this feature?

It seems that this property isn't included in the creation or update calls, so we'd need to add it manually instead of relying on ACK to generate it. The field would go to here and update calls would need to be updated here.
@JasP19 would you be interested in contributing this feature?

👍🏻

+1

We would also like this

+1

/fresh +1

/fresh +1

+1


Autoform afQuickField not working well with type="select2" and multiple=true.

Hi,
I am using afQuickField with type="select2" and multiple=true.
html:-
{{>  afQuickField name="Country" type="select2" multiple=true select2Options=s2Opts options=optionsCountry }}
js:-
s2Opts(){
    return {
        placeholder: "select upto 8 county",
        tags: true
    };
},

optionsCountry(){
     return [{
         label:"India"
         value:"india"
      },{
         label:"North America"
         value:"north-america"
      },{
         label:"South Africa"
         value:"south-africa"
      },{
         label:"China"
         value:"china"
      },{
         label:"Nepal"
         value:"nepal"
      },{
         label:"Shri Lanka"
         value:"shri-lanka"
      },{
         label:"Malesiya"
         value:"malesiya"
      },{
         label:"Afghanistan"
         value:"afghanistan"
      },{
         label:"Canada"
         value:"canada"
      },{
         label:"France"
         value:"france"
      }];
}

Schema :-
Country: {
    type: [String],
    optional: true,
    maxCount: 8,
    autoform: {
      label: "Country"
    }
  },

When we select 3 or more countries and click on update button.
Current Result:-

It shows only one selected Country which is top in the list among selected Countries.

Expected Result:-

It should show all 3 selected Countries after click on update button.

Please advise.
Thanks and Regards,
Saransh

I'm having the same issue.  Any resolution?

@saransh-dev @SeraVault Do you have a solution for this issue? I use Select2 with Autoform but the update doesn't work.


Serve cached,watermarked, web optimized versions of all the images

@spMohanty what did we decide on in the end for this?

@elliec : The conclusion was, given the current infrastructure we have, it would not be possible to go ahead with this enhancement. While if we soon move to a distributed infrastructure on cern openstack, we can easily go ahead with this.

@spMohanty I am going to close this, if #81 is completed we can reopen it but i think for now we wont do it


implicitly restarted lanczos method for jax backend

depends on #834 and #832

It's quite a lot of code so I may have missed something, but it looks good to me overall.

Once the other PRs are in, it'll be less

Codecov Report

Merging #836 into master will decrease coverage by 0.42%.
The diff coverage is 75.12%.

@@            Coverage Diff             @@
##           master     #836      +/-   ##
==========================================
- Coverage   98.41%   97.99%   -0.43%
==========================================
  Files         128      128
  Lines       21619    21893     +274
==========================================
+ Hits        21277    21454     +177
- Misses        342      439      +97

Impacted Files
Coverage Δ

tensornetwork/backends/jax/jax_backend.py
91.81% <18.51%> (-7.81%)
:arrow_down:

tensornetwork/backends/abstract_backend.py
94.69% <50.00%> (-0.81%)
:arrow_down:

tensornetwork/backends/numpy/numpy_backend.py
98.09% <50.00%> (-0.37%)
:arrow_down:

tensornetwork/backends/jax/jitted_functions.py
83.09% <71.21%> (-13.92%)
:arrow_down:

tensornetwork/backends/jax/jax_backend_test.py
99.17% <100.00%> (+0.01%)
:arrow_up:

...ensornetwork/backends/jax/jitted_functions_test.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


How do I add an index to the datastore?

I've looked through here, so apologies if I've missed anything: https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.12.0/datastore
I'm on Google Compute (not AppEngine) hence I don't have an index.yaml which is deployed and therefore creates the indexes for me.
So I'm just trying to figure out how to create an index. I have a default namespace, Kind=Item and each entity has `{ user : 'myuser', inserted : '2015-01-31T22:38:43.019Z' }.
Use case: I am trying to get the latest 10 items that belong to a user. When trying to query this, I get 'no matching index found.':
  var query = dataset.createQuery([ 'Item' ])
  query.filter('user =', 'myuser')
  query.order('-inserted')
  query.limit(10)
  dataset.runQuery(query, callback)

I think I'm in the right place in thinking that I need to add an index for (perhaps) Item(user, inserted).
My questions are:

Is there any method that allows me to do this within gcloud-node?
I can't see any docs which show this but I may have overlooked something. Can you point me to the right place if these exist?
If this isn't the right index, is there a way to tell what it needs to be?

Many thanks.

Hey @chilts, long time no see!
If you want to try and hit the ground running on this, take a look at the CONTRIBUTING.md doc here to see how we add indexes to run our regression tests. Unfortunately we don't have an extensive guide on how to do it in our docs, but these resources might be able to help you. We are using the gcloud CLI tool to add them to datastore. The docs for that specific command can be found here. The indexes we use for our regression tests can be found at regression/data/index.yaml.
Let me know if you get stuck!

Hi @ryanseys - good to 'see' you. Hope you're doing well.
Thanks for all the info. I finally figured out that I needed some extra stuff for the gcloud cli tool and a indexes.yaml or similar to create them. After some experimentation I found the right index to add. Cheers again.
Documenting for people who come across this issue, firstly, you need to add the 'app' component (since the datastore API is still classed as 'preview' and that is contained there):
gcloud components update app

Then add the indexes.yaml file somewhere into path/ and run this to tell the datastore to add the indexes:
gcloud preview datastore create-indexes path/

Finally, open this page (with your own projectId):
https://console.developers.google.com/project//datastore/indexes to see when the indexes are being 'created' and when they are 'serving'.
Cheers.

Thank you for documenting your steps for other developers! :)

@chilts @ryanseys Is this still the only way to create an index?

/cc @pcostell
Right now the general gist is that you need to set an indexes file (.yaml or .xml), defining what you want indexed, and use the SDK to sync that file with the datastore instance.
Looks like that's defined here: https://cloud.google.com/datastore/docs/tools/indexconfig#Datastore_Updating_indexes

@jgeewax Thx! No worries, got it working with the gCloud CLI
with which I ran: gcloud preview datastore create-indexes config/index.yaml
against a yaml file like @ https://github.com/GoogleCloudPlatform/gcloud-node/blob/master/system-test/data/index.yaml
The last missing piece of the puzzle for me was to use the AppEngine Datastore Viewer.

We are working on updating those docs right now to make things better, but here's the gist:
I would recommend using the Datastore emulator: gcloud beta emulators datastore start. This will run a loca version of  Datastore on your machine. You should use this for testing your application. Importantly, whenever you issue that requires a query it updates an index.yaml file for you. After testing all the different cases for your application, you can then see the index.yaml file with the proper entries and upload it. This will help you avoid missing any indexes and having to wait for them to be built while your users are unable to run a specific query.

Thx @pcostell. Still learning the "App Engine way" :smile:

Is there a way to get list of attributes for datastore records? like the properties that are indexes, or to get list of properties and be able to see the indexed value on them?

Hey @JustinBeckwith, not sure if you meant to assign to me. Yes, I created this 6 years ago, but don't use AppEngine or datastore anymore. And the issue has been closed since that first day 6 years ago. Nothing to do here I don't think.


Support compile-time constants in Fusion

Jenkins, test this please.

Jenkins CI test (for commit 73c7649d092694ae5c8c5766ee9617c4d862d04f, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 6b9aa20121952358c5b9029679d3c99bdbdec7d0, target branch master) succeeded!

jenkins, test this please.

Jenkins CI test (for commit d01fdb77108d1d711956245540de3f5581f82597, target branch master) succeeded!

Could you resolve conflict?

Rebased.

jenkins, test this please.

Jenkins CI test (for commit a49c4427ee0f108ad764fc621981a599550c38f8, target branch master) succeeded!

jenkins, test this please.

Jenkins CI test (for commit ba3ce8be341623a565a8092a4c67e72a89ade403, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

jenkins, test this please.

Jenkins CI test (for commit ba3ce8be341623a565a8092a4c67e72a89ade403, target branch master) succeeded!

LGTM!


review-04: SignUp.jsx and VisualizationExport.jsx

Overview
In a separate document create a list in accordance with the checklist of issues you find. It may be helpful to link the code and include the checklist section it falls under. This is due Monday preferably at the start of our designated class time. Do not post the comment before then!
Example
Review Branch
review-04
Files to review
SignUp.jsx
VisualizationExport.jsx
Checklists
Design
JS
Due date
10/6/24
For more information
The review process is documented at: http://courses.ics.hawaii.edu/ics414f24/morea/review/reading-idpm-review.html

VisualizationExport.jsx

Design-07: Is there a way to simplify the code instead of the repetition?

SignUp.jsx

JS-08: Lines 112-113: Need to fix comment format

SignUp.jsx

Design-08: The code in line 36 seems to be repeated several times. A helper function to take care of this might be better to use?
https://github.com/visualizing-your-future/visualizing-your-future/blob/703ecf911c1ea18caf6cf37910b162941947460e/app/imports/ui/pages/SignUp.jsx#L36

VisualizationExport.jsx

Design-01: Is the renderSingleChart needed or could renderDualChart take care of this as well?
https://github.com/visualizing-your-future/visualizing-your-future/blob/703ecf911c1ea18caf6cf37910b162941947460e/app/imports/ui/pages/VisualizationExport.jsx#L93

Review Issue - 04
SignUp.jsx
Design-01: Can you refactor to reduce duplication

Inside the schema there is a custom() which is repeated 4 times. What you can do instead is create a function that checks it and you just call that function with the values
Ex:
custom() {       // eslint-disable-next-line react/no-this-in-sfc       const accountType = this.field('accountType').value;       // eslint-disable-next-line react/no-this-in-sfc       if (accountType === 'Accountant' && !this.value) {         return 'required'; // Require for 'Accountant'       }       return undefined;     }

Design-05: Ensure comments are appropriate
You have // eslint-disable-next-line react/no-this-in-sfc repeated multiple times you should modify you code so that this not the case (try removing the the function outside of the schema)
VisualizationExport.jsx
###Design-01: Can you refactor to reduce duplication

Since there are lots of columns there is plenty of duplication that can be reduced. Consider Lines [41-54] (https://github.com/visualizing-your-future/visualizing-your-future/blob/703ecf911c1ea18caf6cf37910b162941947460e/app/imports/ui/pages/VisualizationExport.jsx#L41) to instead look like this:
`

{['Year', 'Assets', 'Liabilities', 'Net Position', 'Cash on Hand', 'Investment', 'Utility', 'Debt', 'Revenues', 'Opex', 'Net Income'].map((header, index) => ( {header} ))}

`
- As well as extracting other headers and values that and then iterating over them

VisualizationExport.jsx
ESLINT-01:
Line 36: clarify issues and explain why might be better for the code reader instead of turning the warning off.
SignUp.jsx
Design-01: refactor to reduce duplication
There were duplicates inside the schema, especially custom() objects. Could be using functions for faster implementation and reusability.

SignUp.jsx
Design-01

Declare the Accountant and Client roles in Role.js.  Makes it easier to do tests and helps consolidate code.

Deisgn-05

Got an extra 'w' at the end.

VisualizationExport.jsx
Design-05

Lots of commented out ESLint lines.


Feature Request: Heading line height

Hey I find the line height way too high for my taste for headers.
Is it possible to weak it because the space seems weird to me.
Maybe I am wrong, if so, can you add an option to go from min to high or something like that?

As far as I know, css has no way of detecting whether an element is line wrapped, and only js can: https://stackoverflow.com/questions/75553437/can-modern-css-determine-whether-a-line-of-text-is-wrapped
and I think that long titles are unusual and inappropriate, so it maybe won't be fixed

As far as I know, css has no way of detecting whether an element is line wrapped, and only js can: https://stackoverflow.com/questions/75553437/can-modern-css-determine-whether-a-line-of-text-is-wrapped
and I think that long titles are unusual and inappropriate, so it maybe won't be fixed

OK I understand, if you compare with other themes though the height is twice as high!
I lead discussions and use headers to type in the questions and then have bullet points for possible answers, that's why I asked you to add the divider line to all the headers. It makes it clear to my brain that this is a question to ask. Often the questions take 2 lines... Thanks 😀

To ensure enough space for the divider under the title, you must increase the line height. Adding margin may cause some rows to be unclickable in certain cases. This is based on my multiple attempts.

To ensure enough space for the divider under the title, you must increase the line height. Adding margin may cause some rows to be unclickable in certain cases. This is based on my multiple attempts.

hmm that's too bad, then I preferred having no line and a normal line height (before yesterday's update the headers looked fine and followed my 1.5 line height setting). By the way, the high line height still happens when the divider is not being used...

I got the reason. something weired happen.

it should be 1.5, but is computed to 2.1

fix in v0.4.6

thx a lot it looks good!!! 👍


Preserve breakpoint IDs in workspace state

In my extension, I would like to to save information associated with breakpoints (i.e. entries in debug.breakpoints).  However, while the breakpoints themselves are preserved in workspace state, their IDs are not.  Instead, they seem to be re-generated upon loading the workspace.
Would it be possible to preserve the breakpoint IDs as well?

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Yes, we could do that.

@roblourens I would like to take this up and fix this.

@kashyapkaki  Sorry, I already have a fix.

Missed closing this, assigning to June for verification.
@vadimcn were you able to successfully verify this?

@vadimcn were you able to successfully verify this?

Yes


Getting path errors

I'm just trying to use this, installed everything via Pear as described but get the following...
PHP Warning:  require_once(DrSlump/Protobuf.php): failed to open stream: No such file or directory in /usr/local/bin/protoc-gen-php on line 36
Warning: require_once(DrSlump/Protobuf.php): failed to open stream: No such file or directory in /usr/local/bin/protoc-gen-php on line 36
PHP Fatal error:  require_once(): Failed opening required 'DrSlump/Protobuf.php' (include_path='.:') in /usr/local/bin/protoc-gen-php on line 36
Fatal error: require_once(): Failed opening required 'DrSlump/Protobuf.php' (include_path='.:') in /usr/local/bin/protoc-gen-php on line 36
Does anyone have any suggestions?!

Did you solve your problem?


fix issue #220

Coverage increased (+0.05%) to 49.827% when pulling dbd4b98e3ce56de9749018f2b2f6aaad8745939a on HFragnaud:master into<PHONE_NUMBER>1a6ab119f6975aab10444e8ebe3053 on NeuralEnsemble:master.

Coverage increased (+0.05%) to 49.827% when pulling dbd4b98e3ce56de9749018f2b2f6aaad8745939a on HFragnaud:master into<PHONE_NUMBER>1a6ab119f6975aab10444e8ebe3053 on NeuralEnsemble:master.

Coverage increased (+0.05%) to 49.827% when pulling dbd4b98e3ce56de9749018f2b2f6aaad8745939a on HFragnaud:master into<PHONE_NUMBER>1a6ab119f6975aab10444e8ebe3053 on NeuralEnsemble:master.


support for multi-dimensional arrays

probably the best way to do this is by treating them as nested arrays. A 2d array is saved the same was as an array of arrays, a 3d array is saved the same way as an array of arrays of arrays, ect

You know it would be super exciting if you saved them as actual tables if they are 2D arrays. Something like this:
         Col0      Col1

Row0    val00     val01
Row1    val10     val11
But again, it is hard to implement and probably hard to use as well.

An interesting idea! Yeah, the biggest drawback I see is that it will be hard to use. SUCC files should be easy to write from scratch, with confidence that what you write won't have parsing errors. Perhaps it would be good to have this as an option without it being the default.

To prevent (or more realistically speaking, reduce) parsing errors, we might search for a separator character instead of relying on whitespace. For example:
        Col0,      Col1
Row0,    val00,     val01
Row1,    val10,     val11

Notice the commas.


SwiftPM plugin: generate files into the source directory

Hello,
I would like to keep the generated files in the repository as well as the .proto files.
This seems to be useful at least for the following reasons:

The protoc is not part of the project, and its version is something that is defined by the environment. I want to be sure that some strange CI environment (with old or buggy version of the protoc) will not ruin my production.
Check and monitor any change to the generated files (who did when and why), especially in case of protoc version change.

The current version doesn't work for me as it puts the generated files into the .build folder.
I would like to either:

be able to specify the path for the generated file, and make it possible to put it to the source path.
have a command to generate swift files from protobuf files.

It seems that https://github.com/apple/swift-evolution/blob/main/proposals/0332-swiftpm-command-plugins.md allows both:

PluginPermission allows to write to the package directory
CommandPlugin allows to have a plugin command to perform any action.

The second approach is preferable for me as it allows to run the generation on-request from the developer.

Hey @gliush,
Right now our SPM plugin is a BuildPlugin that is generating the code during build time. These kind of plugins will only generate the code into build directories.
I think we need to take a step back here and talk about your reasons for why you want to commit the files:

The protoc is not part of the project, and its version is something that is defined by the environment. I want to be sure that some strange CI environment (with old or buggy version of the protoc) will not ruin my production.

I understand that concern and we don't like that protoc is coming from the environment right now. One of the ideas we have been playing around with is having one blessed swift package that exports protoc for the whole ecosystem. SPM just landed support for exporting binaryTargets so that is something we want to look into in the future and will resolve this issue for you.

Check and monitor any change to the generated files (who did when and why), especially in case of protoc version change.

IMO you should monitor the changes to the proto files and not to the generated code. The generated code should be invisible to you at best.
On a side note, I think having a separate CommandPlugin is something useful and I would love to see somebody trying to contribute this.

Yes, if we have protoc in the project itself, it will cover all my concerns.
Though, what if I run my code compilation on two OSes? (Linux and macOS)? Will we have binaries for each OS we would like to work with?

Yes, if we have protoc in the project itself, it will cover all my concerns.
Though, what if I run my code compilation on two OSes? (Linux and macOS)? Will we have binaries for each OS we would like to work with?

This would be a requirement for the whole endeavour. I can't promise anything here but we are exploring this.

Sounds great!

What's the actually status/request here?  Seems like the discussion covered a few things, so I'm not completely clear what this issue is now meant to track.  Can someone update it or close it out and open a new issue that's a little more clear with what ever the pending request is?

Is that the same as https://github.com/apple/swift-protobuf/issues/1409?

Yes, I think both point to the same underlying problem


Update active-directory-accessmanagement-groups-with-advanced-rules.md

Removed unused attribute enrollmentType

Hi @RobdeJong, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (rodejo). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@RobdeJong : Thanks for your contribution to the Azure documentation! The author, @curtand, has been notified to review your proposed change.

@KatieCumming, @Ja-Dunn - this PR needs to be signed off, but the author (@curtand) is out of sick leave this month. Engineering needs this merged, so is it possible Curtis' manager ( @Femila) can sign off in his absence? Thanks!

#sign-off

@BryanLa - thanks for letting us know! @femila - thanks!

Thanks @KatieCumming !


Crash on converting SPIRV to ESSL

Hi, I've been using SPIRV for quite some time now and it was working perfectly fine. I make a shader in Vulkan GLSL then generate ESSL 3.3 (OpenGL ES shading language) from the SPIRV binary, it has been working without problems until I made this compute shader:
#version 460

layout(local_size_x = 1, local_size_y = 1) in;
layout(binding = 0, r32f) uniform image2D colordepthTex;
layout(binding = 1, rgba32f) uniform image2D uvTex;

layout(push_constant) uniform Camera {
	vec2 frame_size;
	mat4 projection;
	mat4 view;
};

layout(std430, binding = 0) buffer Positions {
    vec3 pos_buffer[];
};

vec3 rayDirection(float fieldOfView, vec2 size, vec2 fragCoord) {
    vec2 xy = fragCoord - size / 2.0;
    float z = size.y / tan(radians(fieldOfView) / 2.0);
    return normalize(vec3(xy, -z));
}

vec2 rayBox(vec3 origin, vec3 direction, vec3 cMin, vec3 cMax) {
   vec3 tMin = (cMin - origin) / direction;
   vec3 tMax = (cMax - origin) / direction;
   vec3 t1 = min(tMin, tMax);
   vec3 t2 = max(tMin, tMax);
   float tNear = max(max(t1.x, t1.y), t1.z);
   float tFar = min(min(t2.x, t2.y), t2.z);
   return vec2(tNear, tFar);
}

#define R frame_size

void main() {
	vec2 C = vec2(gl_GlobalInvocationID.xy);
	vec2 uv = (C - R/2.) - min(R.x, R.y);

	vec3 dir = rayDirection(35.0, frame_size, vec2(C));
    vec3 worldDir = ((view) * vec4(dir, 0.0)).xyz;

	vec3 normal;
	float dp = rayBox(vec3(0.0), vec3(0.0), vec3(1.0), vec3(1.0)).y;

	imageStore(colordepthTex, ivec2(C), vec4(1.0));
	imageStore(uvTex, ivec2(C), vec4(dp));
}

I am using the August 30th codebase and using release libraries. The shader makes the SPIRV cross compiler crash at random times, I would insert a new function then it crashes, I would comment out a line and it would crash, random little things would make it crash. Currently the shader above crashes the GLSL compiler.
After running it with WinDbg, I see this call site at the crash point:
0:000> kcn
 # Call Site
00 ntdll!RtlReportCriticalFailure
01 ntdll!RtlpHeapHandleError
02 ntdll!RtlpHpHeapHandleError
03 ntdll!RtlpLogHeapFailure
04 ntdll!RtlpFreeHeapInternal
05 ntdll!RtlFreeHeap
06 ucrtbase!_free_base
07 hxshc!std::_Deallocate
08 hxshc!std::allocator<std::_List_unchecked_const_iterator<std::_List_val<std::_List_simple_types<unsigned int> >,std::_Iterator_base0> >::deallocate
09 hxshc!std::_Hash_vec<std::allocator<std::_List_unchecked_const_iterator<std::_List_val<std::_List_simple_types<unsigned int> >,std::_Iterator_base0> > >::_Assign_grow
0a hxshc!std::_Hash<std::_Uset_traits<unsigned int,std::_Uhash_compare<unsigned int,std::hash<unsigned int>,std::equal_to<unsigned int> >,std::allocator<unsigned int>,0> >::_Forced_rehash
0b hxshc!std::_Hash<std::_Uset_traits<unsigned int,std::_Uhash_compare<unsigned int,std::hash<unsigned int>,std::equal_to<unsigned int> >,std::allocator<unsigned int>,0> >::emplace<unsigned int const & __ptr64>
0c hxshc!spirv_cross::CompilerGLSL::emit_op
0d hxshc!spirv_cross::CompilerGLSL::emit_binary_op
0e hxshc!spirv_cross::CompilerGLSL::emit_instruction
0f hxshc!spirv_cross::CompilerGLSL::emit_block_instructions
10 hxshc!spirv_cross::CompilerGLSL::emit_block_chain
11 hxshc!spirv_cross::CompilerGLSL::emit_function
12 hxshc!spirv_cross::CompilerGLSL::emit_function
13 hxshc!spirv_cross::CompilerGLSL::compile
14 hxshc!HXSHC_GLES_SPIRVToBin
15 hxshc!CompileSPIRV
16 hxshc!RunShaderCompiler
17 hxshc!ParseFromArgs
18 hxshc!main
19 hxshc!invoke_main
1a hxshc!__scrt_common_main_seh
1b KERNEL32!BaseThreadInitThunk
1c ntdll!RtlUserThreadStart

I am able to see the values of the data members of the spirv_cross::CompilerGLSL object at the crash point but I don't know how to export it to show here so I will take screenshots of it if needed.
This is the code where I am invoking compile. It's nothing advanced so I think this is sufficient.
spirv_cross::CompilerGLSL glslc(spirv_bin);
spirv_cross::CompilerGLSL::Options options;
options.version = 330;
options.emit_push_constant_as_uniform_buffer = true;
options.es = true;
glslc.set_common_options(options);
try {
	std::cout << "bin size: " << spirv_bin.size() << '\n';
	gles = glslc.compile();
} catch (std::exception& e) {
	CPRINT( "ESSL Transpile failed: " + std::string(e.what()) );
	return false;
}

The size printed is 1173 so the binary is not empty.
I do not believe it is a bug that makes it crash with that compute shader, the shader is fairly simple, it might even problem on my end but I do not know where to start to fix this.
Edit: the above compute shader compiles successfully on CompilerHLSL with shader model 6.6

Just to show that I have compiled a similar compute shader before. This is the same compute shader but with few things changed and it compiles:
#version 460

layout(local_size_x = 1, local_size_y = 1) in;
layout(binding = 0, r32f) uniform image2D colordepthTex;
layout(binding = 1, rgba32f) uniform image2D uvTex;

layout(push_constant) uniform Camera {
	vec2 frame_size;
	mat4 projection;
	mat4 view;
};

layout(std430, binding = 0) buffer Positions {
    vec3 pos_buffer[];
};

vec3 rayDirection(float fieldOfView, vec2 size, vec2 fragCoord) {
    vec2 xy = fragCoord - size / 2.0;
    float z = size.y / tan(radians(fieldOfView) / 2.0);
    return normalize(vec3(xy, -z));
}

vec2 rayBox(vec3 origin, vec3 direction, vec3 cMin, vec3 cMax) {
   vec3 tMin = (cMin - origin) / direction;
   vec3 tMax = (cMax - origin) / direction;
   vec3 t1 = min(tMin, tMax);
   vec3 t2 = max(tMin, tMax);
   float tNear = max(max(t1.x, t1.y), t1.z);
   float tFar = min(min(t2.x, t2.y), t2.z);
   return vec2(tNear, tFar);
}

#define R frame_size

void main() {
	vec2 C = vec2(gl_GlobalInvocationID.xy);
	vec2 uv = (C - R/2.) - min(R.x, R.y);

	vec3 dir = normalize(vec3(uv,1.0));//rayDirection(35.0, frame_size, vec2(C));
    vec3 worldDir = ((view) * vec4(dir, 0.0)).xyz;// * .5+.5;

	vec3 normal;
	float dp = rayBox(vec3(0.0), vec3(0.0), vec3(1.0), vec3(1.0)).y;

	// imageStore(colordepthTex, ivec2(C), vec4(1.0));
	imageStore(uvTex, ivec2(C), vec4(dp));
}

This is the output GLSL:
#version 330 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;

layout(binding = 0, std430) buffer Positions
{
    vec3 pos_buffer[];
} _143;

layout(std140) uniform Camera
{
    vec2 frame_size;
    mat4 projection;
    mat4 view;
} _80;

layout(binding = 1, rgba32f) uniform writeonly highp image2D uvTex;
layout(binding = 0, r32f) uniform readonly writeonly highp image2D colordepthTex;

vec2 rayBox(vec3 origin, vec3 direction, vec3 cMin, vec3 cMax)
{
    vec3 tMin = (cMin - origin) / direction;
    vec3 tMax = (cMax - origin) / direction;
    vec3 t1 = min(tMin, tMax);
    vec3 t2 = max(tMin, tMax);
    float tNear = max(max(t1.x, t1.y), t1.z);
    float tFar = min(min(t2.x, t2.y), t2.z);
    return vec2(tNear, tFar);
}

void main()
{
    vec2 C = vec2(gl_GlobalInvocationID.xy);
    vec2 uv = (C - (_80.frame_size / vec2(2.0))) - vec2(min(_80.frame_size.x, _80.frame_size.y));
    vec3 dir = normalize(vec3(uv, 1.0));
    vec3 worldDir = (_80.view * vec4(dir, 0.0)).xyz;
    vec3 param = vec3(0.0);
    vec3 param_1 = vec3(0.0);
    vec3 param_2 = vec3(1.0);
    vec3 param_3 = vec3(1.0);
    float dp = rayBox(param, param_1, param_2, param_3).y;
    imageStore(uvTex, ivec2(C), vec4(dp));
}

Are you sure you're not hitting any ABI issues with mismatched headers and such? Every time this has come up that has been the cause.

I didn't even think about using the CLI.
I wrote SPIRV binary to a file the tried it using the CLI on release build and it compiles the shader just fine.

So it's a problem on my end.
I downloaded the August 30 build again, rebuilt it completely using the release setting from cmake, copied the headers and built libraries, but it still crashes.

Are you trying to link against a pre-built library that was built with a different toolchain?

No. I am building the project using cmake with release config, then I copy the libraries that built straight to my project for linking.
I tried something else. I tried using google's shaderc for the SPIRV compilation part but I also get the same result, it crashes when I use the spirv compiler but it doesn't crash when I comment it out and just read from the previous .spv file
Is it that I can't use a glsl to spirv compiler and spirv cross in the same program? Do you think I should make them seperate programs then output a temporary binary file to pass around?

After a couple hours of frustration, I tried using the C api library and I found out that everything works just fine with it.
I think I'm going to continue with it.


Dropdown/select box "selected" attribute isn't acknowledged

First off, thanks for putting together this script.
Unlike inputs and textareas, if a select box has a predefined/initial selected="selected" option, float-labels doesn't activate for that field.
For example, the following will show "United States" styled as a a grayed out placeholder without any floating label:
<label for="country">Country</label>
<select id="country">
    <option>Country</option>
    <option value="CA">Canada</option>
    <option value="US" selected>United States</option>
</select>

I am only able to reproduce this issue when a form is reset, is this also true for you?
If it is not isolated to the form reset event in your project, then it could also be due to a conflict. If this is the case, you may want to download and edit the index.html file directly in the repository, then add the example field to the form and test it.


fix: Dependency update

Go version update (1.19)
Dependency updates (go.mod/go.sum)

I think it would be a great idea to add Renovate to update dependencies automatically. Patches and security updates should always be merged as soon as possible.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@DanyHenriquez plz fix:

@hsluoyz
Of course. Will do. Maybe i can also help with Renovate or has a dependency update mechanism been considered? Has it been decided against?

@DanyHenriquez we don't have plan to enable dependabot for now. It's too noisy (as we have hundreds of repos) and sometimes buggy :(

@hsluoyz That is why I proposed Renovate and not Dependabot.
Dependabot is horrible for bigger projects with many repos. I know this from experience, but in the company i work for we also have many repos, because microservices and Renovate works wonders there.
Would be nice to investigate. Letting security updates go just because only Dependabot was considered and it was noisy might not be the best idea.
Look into Renovate if you want something suitable for many repos.
Just my 2 cents. Do with it as you will.
Looking into the issue with the tests now.

@DanyHenriquez still faulty after multiple runs. Can you fork this repo and try at your own repo to make sure it works, then make a PR here? It's inconvenient here because every time you push, it asks the maintainers to click a button to start CI.
Closed here for now.


added the ability to pass int float str in version

all passed types will be converted to datetime.date

Sadly, this task has been canceled. But thanks for your effort!


Spec controller

The following project requirements have been implemented in this mile stone of the project:
Add RSpec as a gem to your project.
Create a Request spec file for all your controllers.
Make sure that for each action you check:
If response status was correct.
If a correct template was rendered.
If the response body includes correct placeholder text.

Hello thank you for your review but please I don't understand it. what > describe do you mean please is


Added test for Maven Api

Azure DevOps java sdk pull request template guide
Thank you for your interest in contributing to this project.
Description
Describe your PR in few words.
PR Checklist

[ ] Added help
[ ] Added unit test/s
[ ] Updated Change log

Thank you, I will reflect your intentions and resolve the conflict.


Method buildRaw doesn't eval <> tag on JOIN

Already fixed on my repo, just change this on line 447:
$query = preg_replace_callback(
'/((FROM|TABLE|INTO|UPDATE)\s*)?<([a-zA-Z0-9_.]+)>/i',
With:
$query = preg_replace_callback(
'/((FROM|JOIN|TABLE|INTO|UPDATE)\s*)?<([a-zA-Z0-9_.]+)>/i',
Example Query:
$db->query("SELECT * FROM <table_1> LEFT JOIN <table_2 > ON <table_1.id> = <table_2.id>")->fetchAll();

Thanks, this fixed on 3abdbb8.


Clarify HPA Scaling Policies

Clarifies/corrects an example of the use of a selectPolicy: Min HPA behaviour.
I've dropped the word final from the sentence as it seems unclear to me without expanding it to a full explanation of the logic again, which is already covered higher on up the same page.
Also includes a couple of minor cleanups of grammar and formatting.

Thanks it's much better and I also like @sftim suggestion.

Just noticed that this should resolve #24226

/lgtm

/approve


Update Wallet File Format

Implement the same file format used by smapp for persisting wallets.
See: https://github.com/spacemeshos/SMIPS/issues/17

I can get this done for you (for CLIWallet)

@DaveAppleton - are you still interested in writing this?


How to get the value of the current page

The survey. currentPage. getValue () method can only get the value of questions in the current page. If the hasComment property in the problem is true, the value in the comment cannot be obtained.
Is there a way to get the values of questions, comment and other of the current page?
such as：

@fengzhihenxs I have added getComments function. It will be available in the next update. Meanwhile you may use the following code:
  public getComments(page) {
    var comments = {};
    var questions = page.questions;
    for (var i = 0; i < questions.length; i++) {
      var q = questions[i];
      var comment = page.data.getComment(q.getValueName());
      if (!!comment) {
        comments[q.getValueName()] = comment;
      }
    }
    return comments;
  }

Thank you,
Andrew


Add zoom and scroll function for projector controls

like in OpenSlides 1.x:

zoom up/down
scroll up/down
reset zoom & scroll

Hm. What about just saving {"zoom": "42"} into the projector element config field? This would not be a global zoom but a zoom for one projector element.

I think we need a global zoom. Maybe each projector model could have one more db-field for global config. This could also be useful when we start the multiprojector to give each projector a name, a room or another human readable identifier


add polkadot snap grant application

Project Abstract
“Polkadot Snap” will help the Dapp applications open up one of the biggest WEB3.O entrances - MetaMask, where users could continue exploring the Polkadot ecosystem with their familiar MetaMask Wallet.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] A BTC, Ethereum (USDT/USDC/DAI) or Polkadot/Kusama (aUSD) address for the payment of the milestones is provided inside the application.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@Noc2 Hi David, I have updated the application as you requested

@Noc2 @takahser I have updated the application for all the comments. Please check it.

@Noc2 Thanks for the feedback. @juntao Do you think this application is ready to go?

@aaronisme I do not think you meant to tag me in your comment? 😅

@aaronisme it would still be nice if you could fix my comments. Afterward, I will ping the rest of the committee again.

@aaronisme Btw. let us know if you have any questions. We are still highly interested in this project.

@Noc2 @takahser I have updated the application to fix all the comments. Free to let me know if you have any questions. And btw we have already started the work of the milestone one :)

@semuelle I have updated the application for your comments and for questions. Free to ping me if any questions.

Hi @aaronisme just curious if you have any updates on the milestone progress? Thanks!

Hi @aaronisme friendly reminder, are you still working on this grant?

Yes, we are building the snap for the Milestone 1 currently

Thanks @aaronisme if you think it will be significantly delayed, please consider filing an amendment to extend the timeline. Since milestone 2 will likely be delayed as well. Thanks!

Hi @aaronisme are you able to give us an update on M1?

pinging @aaronisme for a reminder.

@aaronisme, any update here, if we don't hear anything from you within the next week, we will probably terminate the grant and try to find another team for the metamask snap integration.

@Noc2 @keeganquigley Sorry for the late response. Currently our engineering team are absorb in the firmware of our next gen hardware wallet. We are planning to move this snap into Q4 this year. Hope we can start on Oct.

Thanks for the update @aaronisme. In this case, we will cancel the grant for now, and you can potentially reapply at the end of the year.


Add stack graphs

The main work here is in queries/stack-graphs.tsg.
Implemented:

use-to-definition lookups for: local variables, arguments, items, type parameters, lifetime parameters, loop labels, bindings in match, if let, and while let expressions
field names, in the unusual cases where the type is obvious (struct literals and struct patterns, including struct-like enums)
paths (using ::)
imports, within a crate

Not implemented: (an incomplete list)

field names, when after .
methods
generally anything that requires figuring out the type of an expression
imports with * (doing this right would require implementing some form of visibility, which will be hard)
imports with as _
anything defined in an impl block; Self

I intend to keep working on it, but I figure there's enough here to land something now.

Wow, this is awesome.

Not implemented: (an incomplete list)

field names, when after .
methods
anything defined in an impl block; Self

I'm curious about your thoughts on what level of support for fields/methods/impls would be reasonable to achieve within the stack graphs framework. Do you think it's doable to get pretty close to rust-analyzer's level of code navigation when in "normal" rust code, that's not full of macros? Do you have a sense of what Rust constructs are going to be difficult to model?
I commented on https://github.com/tree-sitter/tree-sitter-typescript/pull/209 with a question to @hendrikvanantwerpen and @dcreager about whether or not we should break CI if the stack graphs are broken on subsequent grammar changes (since most contributors won't yet be familiar with stack graphs). We didn't yet get a chance to schedule a call yet, but FWIW, I definitely don't mean to discourage you folks from merging these PRs if you folks think they're ready to go.

I'm curious about your thoughts on what level of support for fields/methods/impls would be reasonable to achieve within the stack graphs framework. Do you think it's doable to get pretty close to rust-analyzer's level of code navigation when in "normal" rust code, that's not full of macros? Do you have a sense of what Rust constructs are going to be difficult to model?

I can't guess what the experience will be like qualitatively. I think we just have to try it.

Basic fields/methods/impls is doable. I'll tackle that next.
I'm not sure how to model reference and slice types. I'll figure something out.
Traits and generics are much harder; some common cases are very hard or impossible given the model as I understand it. But I need more tutorial time with @dcreager and more experience before I can say for sure.

Together, these uncertain features touch most Rust code.
I don't think any of these features are the biggest obstacle. Cross-crate references within a repo don't work; cross-crate references across repos and into the standard library will require significant changes to support. rust-analyzer does all that out of the box. Without those features, I'm about 73% sure that the precise code nav experience will suck.
It would be nice to provide jump-to-definition for identifiers that appear inside, say, a println!() macro. Currently this doesn't work either. Works in rust-analyzer.
I'm sure I have other bugs that don't affect rust-analyzer. And so on.

I commented on tree-sitter/tree-sitter-typescript#209 with a question to @hendrikvanantwerpen and @dcreager about whether or not we should break CI if the stack graphs are broken on subsequent grammar changes (since most contributors won't yet be familiar with stack graphs). We didn't yet get a chance to schedule a call yet, but FWIW, I definitely don't mean to discourage you folks from merging these PRs if you folks think they're ready to go.

Yeah, it makes sense to clarify what the criteria are for this branch before merging.
I'll happily accept whatever criteria are on offer; I mainly want to get this into any branch in this repo, so we can use GitHub Issues, PRs, and code review from now on.

@maxbrunsfeld I had suggested to @jorendorff to open PR's on this add-stack-graph branch, so we can do reviewing and merge his work into something that is part of the ecosystem. Dependiong on the outcome of our discussion I would then make sure this is either merged into main or moved over to the dedicated repository for stack graph rules.


fsGroup in postgres deployment

File write permission issue happens when we select ceph as default storage for both power & Z . To resolve the issue , added fsGroup in the postgres Deployment
Tested with the changes & is working fine on IBMZ. Need to be verified on Power & x86

@dmage Please review & ask QE team to verify the same on x86
@yussufsh Added fsGroup . please ask your team to verify on Power


Error with data_backup.sh

:/ # data_backup.sh
Loading...
/system/bin/data_backup.sh[17]: .: /dev/temp/bin/utls: No such file or directory

This error happens on my Samsung Galaxy S5 Plus (SM-G901F), /e/OS (based on LineageOS for microG 16, Android 9).
What is needed that the script can run successfully?

What is needed that the script can run successfully?

You need to run the script from super user, the first command must be :
su

I did that, sorry, I forgot to copy that command, too.
The script creates the /temp folder with a file utl and a subfolder /bin with the file unpack. No file utls in that subfolder.

Ok.
Just to be sure, first re-download the script.
and check its md5 hash:  e2cd2d3fcabfbf4aa8b1e3e6f1bc44f9

The error happens again with the re-downloaded and checked script. I tried it on a Fairphone 3, iodéOS (based on LineageOS for microG, Android 13) and there it works.
Is it possible that the script is not "patient" enough with the Samsung S5, which is pretty slow with Android 9? Maybe the last file is not yet copied and the script already looks for it?

It looks the unpack doesn't work.
What permitting does this file have ? Must be 755. Would be interesting to see for other files in the temp folder too.
Also look at databackup.log file and show. Are there some mistakes there ?

All present files and folders have 755. It is not a missing permission, it is the missing file /dev/temp/bin/utls.
The databackup.log is in the databackup folder? There is no databackup folder. The script seems to stop before it is created.

Sorry for the delay, I was out of the city.
Try attached test script and inform.
data_backup_v2.13-test-01-MAGISK.zip

I think it helped you to create the backup.

Sorry for the delay, I was out of the city. Try attached test script and inform. data_backup_v2.13-test-01-MAGISK.zip

Sorry for the delay from my side also. I did not get the notification for your post.
Unfortunately this version doesn't make a difference.

Sorry, the OS of your phone is not familiar to me.


error starting the shop on devnet

Hello team, hope you are all good, here is my issue:
after creating and following the guide on retrieving the shop information adding them to .env file i ran yarn start and the test is running fine but when connection with the admin "Create Solana shop failed." and i receive the following error on
Here are the lines use in the .env file:
shopCreatorAddress: // Candy Shop owner address
treasuryMint: "So11111111111111111111111111111111111111112", // Candy Shop transaction currency
programId: , // Candy Shop program ID received from the main admin portal https://app.candyshop.space in the home directory under : shop address.
I think the shop address may be wrong
Using :
REACT_APP_NETWORK=devnet
REACT_APP_RPC_HOST=https://api.devnet.solana.com
Wallet created locally using solana keygen-new and imported in Phantom wallet using private key (shopCreatorAddress)
what do you think ?

solved, when accessing name.staging-shop.candyshop.space/ aka the main shop created at https://candyshop.space/ with your wallet, locally generated wallets are working as well, you can open the console and search for :''candyShop constructor instatiated CandyShop=n''

This will provide you with the Program ID necessary to run your shop at localhost:3000


MSC1704: Adding ?via= to matrix.to permalinks to help with routing

Rendered

There hasn't been a whole lot of feedback in the negative for this proposal, and I think I've addressed the concerns that were raised:
@mscbot fcp merge

Merged via https://github.com/matrix-org/matrix-doc/pull/1955 🎉


What do you guys think about a DataFrame.drop_consecutive_duplicates?

It would work similar to drop_duplicates (same interface), but would only remove consecutive duplicates (like Unix's uniq does).  So to in order to remove all duplicates with this function, the DataFrame would need to be sorted by the same criteria.  This function can be useful when order is important and non-consecutive duplicates convey useful information.

I think I can submit a PR for this one if it is not being looked into by anyone else.

dupe with #10540


verify media types plugin reworked, returns list of found types,

or manifest list type only if x86_64 is missing,
also reports missing types expected for each registry

OSBS-6961

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>

rn updated: Verify media types plugin returns list of found types or
manifest list type


Propose MW3/4 LB weaving implementation

Preppared space to add MW3/4 weave param

im not sure if we'd want MW3 and MW4 weaves at that point in the prio, probably need something that allows a more configurable spell prio as certain things can change that, also a no-weave rotation will probably be needed considering the way ive seen some people talk about weaving


Blocks upload: Don't do cleanUp when meta.json fails to upload.

Under certain conditions, when upload of meta.json file fails, it will actually appear on the bucket eventually. S3 has been observed to behave like this when it reports 503 "SlowDown" error. Currently block.Upload calls cleanUp to delete partially uploaded block, but if meta.json can still appear in the bucket later, this actually creates invalid block – with meta.json file only, but no index or chunks.
Changes
This PR removes call to cleanUp if only meta.json upload fails. If meta.json has really failed, this will result into partial block (without meta.json) and be eventually removed by other components, or upload will be retried by Shipper. But at least it won't generate corrupted blocks.
For more details, see discussion at https://cloud-native.slack.com/archives/CL25937SP/p1608021430416900.

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Verification
Added unit test.

Failed TestTSDBStore_Series_SplitSamplesIntoChunksWithMaxSizeOf120 test seem to be unrelated to this change.

This is a very interesting case. Thank you for your work on this! AIUI pragmatically this means that the meta.json file would have to appear within 30 seconds because we do a Sync every 30 seconds. I guess this lines up with AWS S3 restrictions - namely that the limitation is 3500 requests per second. So, we still have 29 seconds left. Is my understanding correct? Either way, merging this (:


Error when opening fs-files (fsharpvim.py, get_paths)

I've installed this plugin using vim-plug on openSUSE Tumbleweed. I keep everything up-to-date (only distribution provided packages).
This is the error message I got initially:
Error message:
"Program.fs" [noeol] 96L, 3439C
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "<string>", line 22, in get_path
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
    return self._getpaths.send("compilerlocation\n")
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
    self._write(command)
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
    self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "<string>", line 22, in get_path
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
    return self._getpaths.send("compilerlocation\n")
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
    self._write(command)
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
    self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
"Program.fs" [noeol] 96L, 3439C
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "<string>", line 22, in get_path
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
    return self._getpaths.send("compilerlocation\n")
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
    self._write(command)
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
    self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "<string>", line 22, in get_path
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
    return self._getpaths.send("compilerlocation\n")
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
    self._write(command)
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
    self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe

So I rechecked the options and added the following to my vimrc:
let g:fsharp_interactive_bin = '/usr/bin/fsharpi'
let g:fsharp_xbuild_path = "/usr/bin/xbuild"

Which reduced the amount of errors, but didnt fix them:
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
  File "<string>", line 40, in <module>
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 154, in parse
    self.send(line + "\n")
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 106, in send
    self.p.stdin.write(txt)
BrokenPipeError: [Errno 32] Broken pipe
Error detected while processing function fsharpbinding#python#OnBufEnter:
line   10:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 152, in parse
    self.send("parse \"%s\"\n" % (fn))
  File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 106, in send
    self.p.stdin.write(txt)
BrokenPipeError: [Errno 32] Broken pipe

Mono version:
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen (concurrent by default)

VIM version:
VIM - Vi IMproved 8.0 (2016 Sep 12)
Included patches: 1-1442
Compiled by 'http://www.opensuse.org/'
Huge version without GUI.

I have never tested installation using plug. It looks like make was never
run. Can you try running make in the vim-fsharp directory manually?
On Thu, 8 Feb 2018 at 20:58, b0wter<EMAIL_ADDRESS>wrote:

I've installed this plugin using vim-plug on openSUSE Tumbleweed. I keep
everything up-to-date (only distribution provided packages).
This is the error message I got initially:
Error message:
"Program.fs" [noeol] 96L, 3439C
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
File "", line 25, in
File "", line 22, in get_path
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
return self._getpaths.send("compilerlocation\n")
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
self._write(command)
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "", line 25, in
File "", line 22, in get_path
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
return self._getpaths.send("compilerlocation\n")
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
self._write(command)
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
"Program.fs" [noeol] 96L, 3439C
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
File "", line 25, in
File "", line 22, in get_path
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
return self._getpaths.send("compilerlocation\n")
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
self._write(command)
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "", line 25, in
File "", line 22, in get_path
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 165, in get_paths
return self._getpaths.send("compilerlocation\n")
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 47, in send
self._write(command)
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 32, in _write
self.proc.stdin.flush()
BrokenPipeError: [Errno 32] Broken pipe
So I rechecked the options and added the following to my vimrc:
let g:fsharp_interactive_bin = '/usr/bin/fsharpi'
let g:fsharp_xbuild_path = "/usr/bin/xbuild"
Which reduced the amount of errors, but didnt fix them:
Error detected while processing /home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
File "", line 40, in
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 154, in parse
self.send(line + "\n")
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 106, in send
self.p.stdin.write(txt)
BrokenPipeError: [Errno 32] Broken pipe
Error detected while processing function fsharpbinding#python#OnBufEnter:
line   10:
Traceback (most recent call last):
File "", line 1, in
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 152, in parse
self.send("parse "%s"\n" % (fn))
File "/home/b0wter/.vim/plugged/vim-fsharp/ftplugin/fsharpvim.py", line 106, in send
self.p.stdin.write(txt)
BrokenPipeError: [Errno 32] Broken pipe
Mono version:
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       normal
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug
LLVM:          supported, not enabled.
GC:            sgen (concurrent by default)
VIM version:
VIM - Vi IMproved 8.0 (2016 Sep 12)
Included patches: 1-1442
Compiled by 'http://www.opensuse.org/'
Huge version without GUI.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsharp/vim-fsharp/issues/101, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIDlPpfsN7XKs8bY48_m--QF1Kug2Z3ks5tS1__gaJpZM4R_A84
.

Completely my fault. The installation with vim-plug works just fine but you have to use the correct command:
Plug 'fsharp/vim-fsharp', {
      \ 'for': 'fsharp',
      \ 'do':  'make fsautocomplete',
      \}

I've just blindly copied the command given in the summary on vimawesome.com


Test Bug 56

Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code: 60.13.0
Salesforce CLI Version: @salesforce/cli/2.41.8 darwin-arm64 node-v18.18.2
OS and version:
VS Code version:
Most recent version of the extensions where this was working:

Thank you for filing this issue.  We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.