Modified EntryFromGoQuery function but nothing changed.

Hi, I'm trying to get a 2nd address from Google Maps (a localized address from each language), the problem is no matter what I added to func EntryFromGoQuery, nothing changes, let alone the 2nd address.
for example even when I add these lines in func EntryFromGoQuery in gmaps/entry.go
entry.Address_first = "first"
entry.Address_second = "second"

(database already modified)
my results.csv never changes except the column names and an empty new columns I added, addr will always be in the first address column (the original column).
Or even when I'm trying to print something using this function, It just doesn't come out.
Does this mean the script don't use this function at all ? or should I modify somewhere else too to make it work.
Edited : This is irrelevant to the above question but It seems like I need to use
el := doc.Find(`button[data-item-id="laddress"]`) instead of el := doc.Find(`button[data-item-id="address"]`) but it doesn't seem to fix the problem anyway because I don't think it can find laddress at all. I can only get one address and no laddress here and I will have to specify -lang to get a localized address of my choice, are there any ways I can get both address and laddress here. 🤔

This is extra but how do you exclude with headless option ?

Regarding the first topic:
In order to add data to the csv you have to:
a. Add an attribute to the Entry struct ( Address_second string  in your case).
b. In the EntryFromGoQuery function you need to populate this attribute. In order to populate it from the DOM it has to exist.
c. https://github.com/gosom/google-maps-scraper/blob/main/gmaps/entry.go#L39 you need to add the column name and the value in CsvRow and CsvHeader methods
Regardin addresses, I believe that gmaps only display one address.
About the second topic:
If you want to see the actual browser opening (non-headless) mode use the debug flag:
https://github.com/gosom/google-maps-scraper/tree/main#command-line-options

Regardin addresses, I believe that gmaps only display one address.

This seems to be the problem. Even with -debug and my browser shows 2 addresses (data-item-id="address" and data-item-id="laddress"), gmaps can only get the "address" one.
Anyway, I decided to not use the localized address anymore but I'll try to look into this more when I have time.
Thank you for your answer.

When laddress exists in the DOM if you use the correct selector then you can get it.
From my tests, I noticed that laddress is not always there. In that case there is nothing to select.
not an issue in my opinion.
I am closing the issue


Suggestion

Add SignSpy and support webhook and webhook async task to prevent lag

I made it async but I'm not sure what you mean with SignSpy tho


DG Task Feature

Codecov Report

Merging #170 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #170   +/-   ##
=========================================
  Coverage     53.09%   53.09%
  Complexity      721      721
=========================================
  Files           130      130
  Lines          3002     3002
  Branches        407      407
=========================================
  Hits           1594     1594
  Misses         1303     1303
  Partials        105      105

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 bf13256...c94ddec. Read the comment docs.


OpenWriteAsnyc for BlobClient type

[Enter feedback here]
Hello,
Does the BlobClient also have this method ? Or is this documentation accidently copied from AppendBlobClient/BlockBlobClient ?

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

ID: 3218cb5f-ac7d-e212-5cb8-717ed6ea95b5
Version Independent ID: 44dca6af-43a8-616c-1e76-7b6dcb1d7da4
Content: BlobClient.OpenWriteAsync Method (Azure.Storage.Blobs) - Azure for .NET Developers
Content Source: xml/Azure.Storage.Blobs/BlobClient.xml
Service: azure
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Sorry My bad I was using an older version of SDK


GH-3045 add security policy

GitHub issue resolved: #3045
Briefly describe the changes proposed in this PR:

added security policy with overview of supported versions
added reporting instructions

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits where necessary
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@hmottestad @barthanssens I'd appreciate your feedback on this as well, in particular on the current list of supported versions. I deliberately went quite narrow as I don't want to commit to providing security updates for every minor release back to the stone age.  Of course nothing stops from still doing such security updates if we want, even if it's not listed here.


EDITOR-#188 Add LED effect support.

What is this PR for?

See #188
Besides, fix the bug of OFControlContent not refreshing and the bug of pureStatus
What type of PR is it?
Feature
Todos

[x] - currentLedEffect
[x] - LedControlContent (LightProps)

What is the Github issue?

Resolve #188
How should this be tested?

Add LED Effect from http://localhost:4000/graphql
Add LED src

Screenshots (if appropriate)

Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@redxouls @zhuang-jia-xu Please help review my PR, thanks.


fix: Inconsistent spacing between Add rate and Settings buttons in Distance rates and Taxes page

Details

We added styles.gap2 between Add rate and Settings button on Taxes page to make the gap consistent with Distance rate page, and Categories page
Fixed Issues

$ https://github.com/Expensify/App/issues/50569
PROPOSAL: https://github.com/Expensify/App/issues/50569#issuecomment-2405130015
Tests

Go to staging.new.expensify.com
Go to workspace settings
Go to Distance rates
Go to Taxes
Note the spacing difference between Add rate and Settings buttons on both pages
Verify that space between Add rate and Settings button on Taxes page is the same as Distance rates page

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

Offline tests

Same as test steps
QA Steps

Same as test steps

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

PR Author Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/aff43f5b-f42d-496c-b593-ecb1e3f4e018

Android: mWeb Chrome

https://github.com/user-attachments/assets/450ccc1c-c9eb-4f4e-a2a8-b70be2105902

iOS: Native

https://github.com/user-attachments/assets/a59f6560-cf7c-4058-8209-2f8c6beed2eb

iOS: mWeb Safari

https://github.com/user-attachments/assets/cb9ee9a0-4447-41bd-a63d-27117ff8bbea

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/d12058e3-d2e6-4400-a592-fa9df39d05e9

MacOS: Desktop

https://github.com/user-attachments/assets/fbcf34b2-acc9-4980-b2d9-ad36e69d8739

Reviewer Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/b8506df7-4ff0-4496-a8f8-d9dec5dda83a

Android: mWeb Chrome
https://github.com/user-attachments/assets/e4956c2e-28bf-48d7-9b10-8927989b6235

iOS: Native
https://github.com/user-attachments/assets/82595256-d2b5-4a46-a49c-7132ab27f968

iOS: mWeb Safari
https://github.com/user-attachments/assets/80831dc3-b1aa-46a2-a0bf-d50bd7d67307

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/bf2bd4cd-acfc-4519-b6ca-2da2520df7c1

MacOS: Desktop

Warning: Function components cannot be given refs was raised on slack
Warning: TRenderEngineProvider: Support for defaultProps was raised on slack
Warning: findDOMNode is deprecated in StrictMode was raised on slack

@etCoderDysto Could you please try to merge latest main to resolve github action has mentioned at this thread?

@suneox I have merged the latest main.

Thank you, time to waiting pipeline for perf-test then we can process this PR

The pipeline has been passed, all for you @grgia

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


fixed:#5646 Bug: Header becomes a numbered list

Lexical version: 0.13.1
Steps To Reproduce
Go to the Lexical Playground
Modify the Welcome to the playground header and make it 1. Welcome to the playground
Notice it converts to a numbered list item instead of remaining a header as soon as you make a space between 1. and Welcome

Hi, Is this meant to be a draft PR? I'm not seeing an actual fix for the referenced mention in the title.

But this is just a change to the test file, not addressing the actual issue, which is keeping the Heading format inside the bullet item.


MRG: selection.read_selection() ➡ channels.read_vectorview_selection()

Fixes #8865
@larsoner There is a bug in deprecated_alias:
/Users/hoechenberger/Development/mne-python/mne/utils/docs.py:2551: DeprecationWarning: Function
read_neuromag_selection is deprecated; read_selection has been deprecated in favor of
read_neuromag_selection and will be removed in 0.24

In the sentence before the semicolon, it refers to the new function name, not to the deprecated one.
Additional information
I moved the API section of the changelog up above the bugs section, and added a new section
"Deprecations" directly below, now placing "Bugs" last. I think this is better for most users as the
number of API changes and deprecations is typically small, compared to the endless number
of bugs we fix. If API changes & deprecations are listed after the bugs, I think they're easy to miss.
Of course, totally up for discussion.

maybe vectorview is a better name than neuromag ?

Sure, why not!

Closed & reopened to restart CI.

I believe all comments have been addressed.

thanks @hoechenberger !


Multi-Block Fluid Tank Improvements

See https://github.com/GT-IMPACT/IMPACT-MODPACK/issues/533
Centered around supporting the I/O hatch plugged directly into AE.
Filter based on cell in GUI or a viewCell partitioned with fluids
Fix ME update spam. Better FPS and level emitters work.
Auto void excess now works via all inputs but it limited to the same fluid to avoid voiding everything.
Single-tank now only starts working after checkRecipe is called to fix race condition on filter.
Change processing time to 5 seconds to cut down on overhead.

Should be ready to go for wide testing/review.


ci: run "build" before running CLI tests

fixes
 FAIL src/__tests__/commands/Studio.test.ts (12.12 s)
  ● studio with alternative urls and prisma:// › queries work if url is prisma:// and directUrl is set

    expect(received).toMatchSnapshot()

    Snapshot name: `studio with alternative urls and prisma:// queries work if url is prisma:// and directUrl is set 1`

    - Snapshot  -  2
    + Received  + 35

      {
        action: clientRequest,
        channel: -prisma,
        payload: {
    -     data: [],
    -     error: null,
    +     data: null,
    +     error: {
    +       message:
    +     GeneratorError: Generator "/cli/prisma-client/generator-build/index.js" failed:
    +     node:internal/modules/cjs/loader:1031
    +       throw err;

Replaced by https://github.com/prisma/prisma/pull/23691 (waiting for tests to pass to confirm there)


[alpha] Update the description on the Installation and usage page in the alpha version of Paragon

At the moment, in the alpha version of Paragon we have a guide page for installing and usage Paragon. Since we use design tokens and have compiled files in the CSS format, I suggest updating this page so as not to mislead the user.

### Tasks
- [ ] Update the description on the Installation and usage page in the alpha version of Paragon

PR: https://github.com/openedx/paragon/pull/2835


JTBD pains: add to website

We want to capture the pains for which Eidolon solves-- capture them in pithy/pointy phrases that a dev would use when searching for a solution like Eidolon

calendared time to get these onto the site.


FAILED tests/core_test.py::CoreTest::test_jvp_linearized45 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 56 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized13 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 16 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_47 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 16 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized8 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized20 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_closure - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_11 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 16 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized28 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized15 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_19 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 1 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized35 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized22 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_26 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized42 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 64 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized3 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 1 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_33 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized5 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized37 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 64 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_40 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_0 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized44 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_48 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 56 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_16 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/core_test.py::CoreTest::test_jvp_linearized7 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 1 bytes.
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseIdentity_compile=False_primitive=True - RuntimeError: Resource exhausted: Out of memory while try...
FAILED tests/core_test.py::CoreTest::test_vjp_23 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 32 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_10 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 16 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_30 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_18 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseMatvec_float32[3,3] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 8 ...
FAILED tests/core_test.py::CoreTest::test_vjp_38 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 64 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_25 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testBinaryOp_add_float32[] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_45 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_32 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 32 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testBinaryOp_truediv_float32[2,3,4] - RuntimeError: Resource exhausted: Out of memory while trying to alloca...
FAILED tests/core_test.py::CoreTest::test_vjp_8 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 1 bytes.
FAILED tests/core_test.py::CoreTest::test_vjp_4 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassBinaryOp_float32[]_add - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4...
FAILED tests/core_test.py::CoreTest::test_vjp_47 - RuntimeError: Resource exhausted: Out of memory while trying to allocate 56 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassInstantiation_float32_6.0221409e23 - RuntimeError: Resource exhausted: Out of memory while trying t...
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseAttrAccess_attr=data - RuntimeError: Resource exhausted: Out of memory while trying to allocate 8...
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseIdentity_compile=False_primitive=False - RuntimeError: Resource exhausted: Out of memory while tr...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassUnaryOp_float32[]_neg - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 ...
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseLaxLoop_compile=True_primitive=False - RuntimeError: Resource exhausted: Out of memory while tryi...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testDoubledPrecision_float32[2,3,4]_add_sub - RuntimeError: Resource exhausted: Out of memory while trying t...
FAILED tests/debug_nans_test.py::DebugNaNsTest::testSingleResultPrimitiveNaN - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/custom_object_test.py::CustomObjectTest::testSparseMatvec_float32[2,6] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 16...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testDoubledPrecision_float64[]_add_neg_add - RuntimeError: Resource exhausted: Out of memory while trying to...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testBinaryOp_le_float32[] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testBinaryOp_add_float16[5] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 2 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testUnaryOp_neg_float64[5] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 20 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassBinaryOp_float32[5]_add - RuntimeError: Resource exhausted: Out of memory while trying to allocate ...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testBinaryOp_lt_float16[2,3] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 12 b...
FAILED tests/dtypes_test.py::DtypesTest::testBinaryPromotion_swap=True_jit=False - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassInstantiation_float16_6.0221409e23 - RuntimeError: Resource exhausted: Out of memory while trying t...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassBinaryOp_float32[5]_mul - RuntimeError: Resource exhausted: Out of memory while trying to allocate ...
FAILED tests/dtypes_test.py::TestPromotionTables::testObservedPromotionTable - RuntimeError: Resource exhausted: Out of memory while trying to allocate 1 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassUnaryOp_float32[2,3]_abs - RuntimeError: Resource exhausted: Out of memory while trying to allocate...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassInstantiation_float32_3.14159265358 - RuntimeError: Resource exhausted: Out of memory while trying ...
FAILED tests/fft_test.py::FftTest::testFft2_inverse=False_real=True_shape=int32[16,8,4,8]_axes=(-2, -1) - RuntimeError: Resource exhausted: Out of memory while t...
FAILED tests/fft_test.py::FftTest::testFft_inverse=False_real=False_hermitian=True_shape=bool[10]_axis=0
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassUnaryOp_float64[]_abs - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 ...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testClassUnaryOp_float32[]_abs - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 ...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testDoubledPrecision_float64[2,3,4]_add_neg_add - RuntimeError: Resource exhausted: Out of memory while tryi...
FAILED tests/image_test.py::ImageTest::testResizeAgainstTensorFlow_shape=float16[2,33,17,4]_target=float16[2,33,17,4]_method=lanczos3_antialias=True - tensorflow...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testDoubledPrecision_float32[2,3,4]_add_div_sub - RuntimeError: Resource exhausted: Out of memory while tryi...
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testUnaryOp_abs_float32[2,3] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 b...
FAILED tests/dtypes_test.py::DtypesTest::testArrayCasts - RuntimeError: Resource exhausted: Out of memory while trying to allocate 12 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testDoubledPrecision_float64[2,3]_add_sub - RuntimeError: Resource exhausted: Out of memory while trying to ...
FAILED tests/dtypes_test.py::DtypesTest::testDefaultTypes_type=int - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/doubledouble_test.py::DoubleDoubleTest::testUnaryOp_neg_float32[2,3] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 by...
FAILED tests/fft_test.py::FftTest::testFft2_inverse=False_real=True_shape=bool[16,8,4,8,4]_axes=(-1, 2) - RuntimeError: Resource exhausted: Out of memory while t...
FAILED tests/fft_test.py::FftTest::testFft_inverse=False_real=False_hermitian=False_shape=bool[10]_axis=0
FAILED tests/dtypes_test.py::DtypesTest::testBinaryPromotion_swap=False_jit=True - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/fft_test.py::FftTest::testFft2_inverse=False_real=True_shape=int32[16,8,4,8,4]_axes=(-2, -1) - RuntimeError: Resource exhausted: Out of memory while...
FAILED tests/fft_test.py::FftTest::testFft_inverse=False_real=False_hermitian=True_shape=bool[10]_axis=-1
FAILED tests/fft_test.py::FftTest::testFft_inverse=True_real=True_hermitian=False_shape=int32[10]_axis=-1 - RuntimeError: Internal: Unable to launch fft for thun...
FAILED tests/fft_test.py::FftTest::testFftfreq_size=float32[9]_d=0.1 - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/fft_test.py::FftTest::testFftnErrors_inverse=True_real=True - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/fft_test.py::FftTest::testFftn_inverse=True_real=False_shape=float32[9]_axes=(-1,) - RuntimeError: Invalid argument: stream is uninitialized or in a...
FAILED tests/fft_test.py::FftTest::testFftshiftdtype=complex64[5,7,11]_axes=(0, 1, 2) - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/fft_test.py::FftTest::testRfftfreq_size=int32[102]_d=2.0 - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/generated_fun_test.py::GeneratedFunTest::testJitIsIdentity_10_1 - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/gmap_test.py::GmapTest::testXMapCollectives - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_double_vmap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_id_tap_deprecated_kwargs - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_jit_no_invars - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_jit_types_shape_()_dtype_<class 'numpy.int16'>_nr_args=1 - RuntimeError: Invalid argument: stream is u...
FAILED tests/host_callback_test.py::HostCallbackTest::test_jit_while_pred_tap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_pmap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_vmap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/host_callback_test.py::HostCallbackTest::test_with_result - RuntimeError: Invalid argument: stream is uninitialized or in an error state
FAILED tests/image_test.py::ImageTest::testResizeAgainstTensorFlow_shape=bfloat16[2,3,2,4]_target=bfloat16[2,3,2,4]_method=bicubic_antialias=True - tensorflow.py...
FAILED tests/image_test.py::ImageTest::testResizeAgainstTensorFlow_shape=float32[2,50,38,4]_target=float32[2,3,2,4]_method=bilinear_antialias=True
FAILED tests/image_test.py::ImageTest::testResizeAgainstTensorFlow_shape=float16[2,3,2,4]_target=float16[2,3,2,4]_method=bicubic_antialias=True - tensorflow.pyth...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingOne1DIntArrayIndex_inshape=float32[3,4,5]_indexer=[0 2 0 1] - RuntimeError: Res...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingOne1DIntArrayIndex_inshape=int32[3]_indexer=[-2 -1] - RuntimeError: Resource ex...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingOne2DIntArrayIndex_inshape=int32[3,3]_indexer=[[ 1  2  1]
 [ 0  1 -1]] - RuntimeError: Resource exhausted: Out of memory while trying to allocate 24 bytes.
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingTupleOfListsOfPythonIntsAndIntArrays_inshape=int32[3,4,5]_indexer=([[0], [-1]], array([[2, 3, 0, 3]]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingTupleOfPythonIntsAndIntArrays_inshape=bool[3,4,5]_indexer=(0, array([0, 1])) - ...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingTwo1DIntArrayIndicesNoBroadcasting_inshape=float32[3,4,5]_indexer=(array([0, 2, 0, 1]), array([-1,  0, -1,  2]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testAdvancedIntegerIndexingTwo1DIntArrayIndicesWithBroadcasting_inshape=int32[3,4,5]_indexer=(array([[0, 2, 0, 1]]), array([-1,  0, -1,  2]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithIntegersGradsOneIntIndex_inshape=float32[3,3]_indexer=0 - RuntimeError: Resource ex...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithIntegersGradsTwoIntIndices_inshape=float32[3,4,5]_indexer=(1, 2) - RuntimeError: Re...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithIntegersOneIntIndex_inshape=float32[3]_indexer=-1 - RuntimeError: Resource exhauste...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithIntegersThreeIntIndices_inshape=bool[3,4,5]_indexer=(1, 2, 3) - RuntimeError: Resou...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithIntegersTwoIntIndices_inshape=float32[3,4,5]_indexer=(1, 2) - RuntimeError: Resourc...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testDynamicIndexingWithSlicesErrorsOnlyStartOrStopDynamic_inshape=int32[5,4]_indexer=(slice(None, 3, None), slice(0, 2, None))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingNonesAndIntArrayIndices_inshape=bool[3,4,5]_indexer=(array([0, 2]), None, None, array([-1,  2]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingSlicesAndOneIntArrayIndex_inshape=bool[2,3]_indexer=(array([0, 1]), slice(1, 2, None))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingSlicesAndOneIntArrayIndex_inshape=float32[3,4,5]_indexer=(Ellipsis, array([[0, 2],
       [1, 1]]), slice(None, None, None)) - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingSlicesAndTwoIntArrayIndices_inshape=bool[3,4,5]_indexer=(array([ 0,  2, -2]), slice(None, None, 2), array([-1,  2,  1]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingSlicesAndTwoIntArrayIndices_inshape=float32[3,4,5]_indexer=(array([ 0,  2, -2]), slice(None, None, 2), array([-1,  2,  1]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testMixedAdvancedIntegerIndexingSlicesAndTwoIntArrayIndices_inshape=int32[3,4,5]_indexer=(array([ 0,  2, -2]), slice(None, None, 2), array([-1,  2,  1]))
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingGradsEllipsisIndex_inshape=float32[3,4,5]_indexer=(Ellipsis, 2, 3) - RuntimeError: Resou...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingGradsNoneIndex_inshape=float32[3,4]_indexer=(0, None, Ellipsis) - RuntimeError: Resource...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingGradsOneColonIndex_inshape=float32[3]_indexer=slice(None, None, None) - RuntimeError: Re...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingGradsOneSliceIndex_inshape=float32[5,4]_indexer=slice(1, None, None) - RuntimeError: Res...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingGradsTwoIntIndices_inshape=float32[3,4,5]_indexer=(-1, 2) - RuntimeError: Resource exhau...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingNoneIndex_inshape=int32[3,4]_indexer=(Ellipsis, None) - RuntimeError: Resource exhausted...
FAILED tests/lax_numpy_indexing_test.py::IndexingTest::testStaticIndexingTwoSliceIndices_inshape=float32[10,8,3]_indexer=(slice(1, 3, None), slice(0, 2, None))
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testAdvancedIndexingSortedOne1DIntArrayIndex_inshape=int32[3,4,5]_indexer=[0 1 2]_update=int32[3,4,1]_sugared=False_op=UPDATE
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testAdvancedIndexingSortedTupleOfListsOfPythonInts_inshape=float32[3,4,5]_indexer=([0, 1],)_update=int32[4,1]_sugared=False_op=MUL
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testIndexSequenceDeprecationidx=[0, 0] - RuntimeError: Resource exhausted: Out of memory while trying...
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testMixedAdvancedIndexingNonesAndIntArrayIndices_inshape=int32[3,4,5]_indexer=(array([0, 2]), None, array([-1,  2]))_update=bool[2,1,1]_op=MUL_sugared=True
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testMixedAdvancedIndexingSlicesAndOneIntArrayIndex_inshape=int32[3,4,5]_indexer=(Ellipsis, array([0, 2]), slice(None, None, None))_update=int32[1,5]_op=MAX_sugared=False
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testStaticIndexingGradsOneSliceIndexNonUnitStride_inshape=float32[10]_indexer=slice(0, 8, 2)_update=float32[1]_op=UPDATE
FAILED tests/lax_numpy_indexing_test.py::IndexedUpdateTest::testStaticIndexingOneIntIndex_inshape=float32[3,4,5]_indexer=2_update=int32[4,1]_sugared=False_op=MIN
FAILED tests/image_test.py::ImageTest::testResizeGradients_shape=float32[2,50,38,4]_target=float32[2,3,2,4]_method=lanczos5_antialias=False - RuntimeError: Resou...
FAILED tests/image_test.py::ImageTest::testResizeUp_shape=complex64[3,1,2]_target=complex64[6,1,4]_method=linear - RuntimeError: Resource exhausted: Out of memor...
FAILED tests/image_test.py::ImageTest::testScaleAndTranslateDown_dtype=complex64_method=lanczos3_antialias=False - RuntimeError: Resource exhausted: Out of memor...
FAILED tests/image_test.py::ImageTest::testScaleAndTranslateJITsantialias=False - RuntimeError: Resource exhausted: Out of memory while trying to allocate 168 by...
FAILED tests/image_test.py::ImageTest::testScaleAndTranslateUp_shape=float32[1,3,2,1]_target=float32[1,6,4,1]_method=lanczos3 - RuntimeError: Resource exhausted:...
FAILED tests/jet_test.py::JetTest::test_asinh - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/jet_test.py::JetTest::test_cos - RuntimeError: Resource exhausted: Out of memory while trying to allocate 4 bytes.
FAILED tests/jet_test.py::JetTest::test_fft - RuntimeError: Resource exhausted: Out of memory while trying to allocate 48 bytes.
FAILED tests/jet_test.py::JetTest::test_reduce_max - RuntimeError: Resource exhausted: Out of memory while trying to allocate 6 bytes.
ERROR tests/lax_vmap_test.py
ERROR tests/host_callback_test.py::HostCallbackTest::test_callback_delay_barrier - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_grad_double - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_large - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_tap_exception - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_types_shape_(2, 3)_dtype_<class 'numpy.int16'>_nr_args=1 - RuntimeError: Invalid argument: stream i...
ERROR tests/host_callback_test.py::HostCallbackTest::test_multiple_tap_concurrent_True - RuntimeError: Invalid argument: stream is uninitialized or in an error s...
ERROR tests/host_callback_test.py::HostCallbackTest::test_scan_cond_with_jit_True - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_while_cond_with_jit_False - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_id_tap_deprecated_kwargs - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_no_invars - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_types_shape_()_dtype_<class 'numpy.int16'>_nr_args=1 - RuntimeError: Invalid argument: stream is un...
ERROR tests/host_callback_test.py::HostCallbackTest::test_jit_while_pred_tap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_pmap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_vmap - RuntimeError: Invalid argument: stream is uninitialized or in an error state
ERROR tests/host_callback_test.py::HostCallbackTest::test_with_result - RuntimeError: Invalid argument: stream is uninitialized or in an error state
============================================== 841 failed, 8423 passed, 968 skipped, 16 errors in 1215.52s (0:20:15) ===============================================

If you are using a GPU, you either need to not run the tests in parallel (pytest -n 1), or to use the platform allocator (see https://jax.readthedocs.io/en/latest/gpu_memory_allocation.html#gpu-memory-allocation ; try XLA_PYTHON_CLIENT_ALLOCATOR=platform)
We recommend pytest-xdist in our documentation; I'm not familiar with pytest-tornasync but it doesn't look relevant to us.
It would be helpful if we could figure out why the permissions problem happens for your tmpdir. Is /tmp perhaps mounted with some unusual mount options on your system
I guess we can definitely work around the problem by always using a subdirectory of the source tree; you should not choose jaxlib otherwise you will create the "moving file over itself" problem you saw. Any unused directory will do.

Thanks! I followed the commands in the documentation here: https://jax.readthedocs.io/en/latest/developer.html#running-the-tests. Doing that gave an error that I needed to install pytest-tornasync -- but uninstalling all the pytest packages and reinstalling without tornasync seems to work fine, so it must have been a weird dependency glitch.
/tmp/ permissions are standard for me:
drwxrwxrwt  23 root root      40960 Nov 30 10:05 tmp
Is it possible that the change to build_wheel.py is causing it to look for files in the tmp directory even though they're being built in the working directory? So the permissions error is actually because it's unable to find the files? Seems weird but when I looked at the /tmp directory during build I didn't see anything there.
I'm re-running the tests now to see if they pass.

Thanks! I followed the commands in the documentation here: https://jax.readthedocs.io/en/latest/developer.html#running-the-tests. Doing that gave an error that I needed to install pytest-tornasync -- but uninstalling all the pytest packages and reinstalling without tornasync seems to work fine, so it must have been a weird dependency glitch.

Yes this sounds like a pytest mystery of some kind.

/tmp/ permissions are standard for me:
drwxrwxrwt 23 root root 40960 Nov 30 10:05 tmp

I'm actually wondering more about mount options. Try:
mount  | grep /tmp

Is /tmp a filesystem mounted, say, noexec?

Is it possible that the change to build_wheel.py is causing it to look for files in the tmp directory even though they're being built in the working directory? So the permissions error is actually because it's unable to find the files? Seems weird but when I looked at the /tmp directory during build I didn't see anything there.

Well, that build_wheel.py script is supposed to create the temporary directory inside /tmp. It seems using /tmp is problematic, so we'll need to find a better option.

Good thought, but unfortunately /tmp/ is not mounted separately, it's a directory in the root mount with the standard Ubuntu permissions: / type ext4 (rw,relatime,errors=remount-ro)

I suspect #5051 may fix the permissions error. Try it out?

That did the trick!

I submitted https://github.com/google/jax/pull/5053 instead of #5051 for tedious reasons related to CI.
Should we close this issue and open new ones for any test failures?

Closing. Keep us posted on how well things work on the Jetson TX2!


In a cluster of 100 tikv nodes, conprofiling continues to fail

Bug Report

What version of TiKV are you using?

v7.6.0-pre
What operating system and CPU are you using?

gcp/x86
Steps to reproduce

What did you expect?
What did happened?

Can it be repro-ed in small environment? @jebter

not reproduced

not reproduced，close


automerge-c: uncaught panic if string contains a null byte

I used the following typescript to create a doc containing a string with a null byte in it:
import * as automerge from '@automerge/automerge' // 2.0.0-beta.4

let doc = automerge.init()

var newDoc = automerge.change(doc, (d: any) => {
  d.oops = 'o\x00ps'
})

let bytes = automerge.save(newDoc)
// => hW9KgzgYCpUAdAEQAlGmcMDRTlKAagbMI3V0owG3hG4vm1xsqt7I1lr4Yc0pMEkeiGUjKJAdUqx8qMyy5AYBAgMCEwIjAkACVgIIFQYhAiMCNAFCAlYCVwSAAQJ/AH8BfwF/AH8Afwd/BG9vcHN/AH8BAX8Bf0ZvAHBzfwAA

When I try to load this with automerge-C:
result = AMmapGet(doc, AM_ROOT, "oops", nil);
C.AMresultStatus(result) == AM_RESULT_OK;
C.AMerrorMessage(result) == "";
value = AMresultValue(result); // rust panic

The backtrace (with RUST_BACKTRACE=full):
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: NulError(1, [111, 0, 112, 115])', automerge-c/src/result.rs:189:80
stack backtrace:
   0:        0x10059def4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x10056ccc4 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x1005a1ea8 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   3:        0x1005a271c - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   4:        0x1005a2344 - std::panicking::begin_panic_handler::{{closure}}::hea9e6c546a23e8ff
   5:        0x1005a22bc - std::sys_common::backtrace::__rust_end_short_backtrace::hd64e012cf32134c6
   6:        0x1005a2288 - _rust_begin_unwind
   7:        0x1005ac598 - core::panicking::panic_fmt::hbfde5533e1c0592e
   8:        0x1005ac750 - core::result::unwrap_failed::h68832e989a8867c1
   9:        0x10053c99c - <T as core::convert::Into<U>>::into::h857facbad1afe04c
  10:        0x1004cd370 - _AMresultValue

I was expecting this to fail in a different way (either that the string would be "o" instead of "o\x00ps", or that AMresultStatus() would be AM_RESULT_ERR) because C does not support null bytes in strings.
How should this be handled (in my order of preference)?

Have automerge-c represent strings using AMbyteSpan or a pointer/length pair, and let implementors deal with it (my preferred option)
Have automerge-c return an error in this case and ask people to not use null bytes in strings.
Prevent automerge-js from writing nulls (it's pretty common for applications that nominally support unicode to still not support U+0000; e.g. postgresql)
Have automerge-c return modified utf-8 or some other hack (https://docs.oracle.com/javase/6/docs/api/java/io/DataInput.html#modified-utf-8)
Have automerge-c silently return a string representing a prefix of the text... (my least preferred option)

(unsurprisingly) A similar error happens in the case of a null in a map key:
import * as automerge from '@automerge/automerge'

let doc = automerge.init()

var newDoc = automerge.change(doc, (d: any) => {
  d['o\x00ps'] = 'oops'
})

When iterating over the MapItems:
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: NulError(1, [111, 0, 112, 115])', automerge-c/src/doc/map/item.rs:25:36
stack backtrace:
   0:        0x1043a5fd4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1543c132bc4e188c
   1:        0x104374da4 - core::fmt::write::hda8e8eb84b49cbfc
   2:        0x1043a9f88 - std::panicking::default_hook::{{closure}}::hdf06011cb093de6a
   3:        0x1043aa7fc - std::panicking::rust_panic_with_hook::h053d4067a63a6fcb
   4:        0x1043aa424 - std::panicking::begin_panic_handler::{{closure}}::hea9e6c546a23e8ff
   5:        0x1043aa39c - std::sys_common::backtrace::__rust_end_short_backtrace::hd64e012cf32134c6
   6:        0x1043aa368 - _rust_begin_unwind
   7:        0x1043b4678 - core::panicking::panic_fmt::hbfde5533e1c0592e
   8:        0x1043b4830 - core::result::unwrap_failed::h68832e989a8867c1
   9:        0x1042cfd78 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once::h0ef04a9ab9addf5a
  10:        0x104353fe8 - _AMmapRange
  11:        0x1042ceb4c - __cgo_088393c2ab79_Cfunc_AMmapRange

Have automerge-c represent strings using AMbyteSpan or a pointer/length pair, and let implementors deal with it (my preferred option)

@ConradIrwin, this is the approach I took in PR #457.

This is now fixed, thanks @jkankiewicz / @alexjg


"CaptchaRequired"

Linux, v4.11.0, openjdk version "1.8.0_222"
Attempting to log in to my Google account (not a gmail account), using both normal password, and again after enabling 2FA, app password, gives the error "CaptchaRequired". Cannot progress past this screen.

I get this error as well on the Windows version.

Working on it. This will take a few days.

Seems the response contains a field named CaptchaUrl which is a link to an image that shows some letters the user has to type. A second filed named CaptchaToken is also included.
It looks like the user has to solve the captcha, then the login request can be issued again with two additional header fields: logintoken contains the CaptchaToken and logincaptcha which contains the captcha text entered by the user.
At least this is the way how it is implemented in this project - I would assume that this should be the way solve this also in raccoon: https://metacpan.org/pod/Net::Google::AuthSub

I already have a working solution for login with captcha (part of my account creator tool). That's not the issue. The problem is adapting it to the setup wizard, which is a stupidly complex dialog. In a nutshell, it needs to be rewritten from scratch.

Seems the response contains a field named CaptchaUrl which is a link to an image that shows some letters the user has to type. A second filed named CaptchaToken is also included.
It looks like the user has to solve the captcha, then the login request can be issued again with two additional header fields: logintoken contains the CaptchaToken and logincaptcha which contains the captcha text entered by the user.
At least this is the way how it is implemented in this project - I would assume that this should be the way solve this also in raccoon.

@jpstotz  I sent logincaptcha and logintoken in second post but again show the CaptchaRequired.

That solution no longer works. Google deprecated it in 2012, and I guess they just pulled the plug.

@onyxbits Do you have a lead on a more modern method? I know you said you're working on it, but I'm curious if you ran into a wall or things are looking good?

That solution no longer works. Google deprecated it in 2012, and I guess they just pulled the plug.

This is not entirely correct. ClientLogin was deprecated in 2012, but they kept it around till 2015. It can still be found in at least Android 6 as the backend protocol. So it looks like it is here to stay. Google just wants everyone else to switch to OAUTH because it is more secure (users no longer have to give their account credentials to third party apps) and conviniently allows them to lock out competition or putting quotas on API calls  by requiring API keys.

Do you have a lead on a more modern method? I know you said you're working on it, but I'm curious if you ran into a wall or things are looking good?

Running into walls is all these protocol changes are about and CAPTCHA is, by definition, a very time consuming thing to figure out.

I have analyzed this issue in another project which uses the same API (Android App Aurora Store). My results so far are that Google seems to decide whether to require a Captcha by analyzing TLS protocol details. More specifically, I was able to make it work by forcing specific ciphers and disabling ALPN.
I still have to figure out how to convince the JVM to set the proper TLS options (only did it successfully in Python so far).
I am detailing my results here: https://gitlab.com/AuroraOSS/AuroraStore/issues/217#note_249390026

Found that in my local enviromnent project in jar gives captcha when binary(exe) doens't. Found that they have different ssl-handshakes. The difference in ciphers. Bynary has TLS_EMPTY_RENEGOTIATION_INFO_SCSV cipher in addition. But handshake for first instead of this has an additional extension renegotiation_info	00. Figured out that there is an issue in JDK, workaround from there fixed my problem.


Infinite World Setting back to Vector.zero

So how would we handle this.  If I want to reset the world back to zero at some point which is a typical way of dealing with the floating point issue in Unity and infinite worlds how would we get crest to handle that seamlessly.  So we would be sending the boat, player and all the islands etc back to zero as we travel as we get certain distances away from the origin.  My guess is this is not going to look very good depending on the waves etc of crest at the time.  Imagine going up a wave, snapping back to zero where maybe a different wave etc is there.  Guessing that would look really bad.
So any thoughts?  Someway to grab the current values of the various LODs and keep those values when we reset back?

Funny you should ask, this was asked before ad i put my initial thoughts here #131

Ok read what you mentioned
worldPos_wt
_renderDataPrevFrame
_renderData
collision readback requests
Are you talking about applying an offset to these guys to basically keep the same values before we moved?  If so how do you handle floating point issues btw or at all.  My guess we are going to start getting funky values for height etc as we move away from center, in which case the offset would not help that part since the actual value would still be going up and up.

Oh I suppose each gerstner wave component could have some kind of phase offset which accounts for displacement from origin or something like that. So when teleporting the phases are adjusted to compensate for the jump..?

I guess I will need to understand how the algorithm uses worldPos to calc the gerstner values.  Hmm wonder what would happen if we just kept pumping in the old world pos and then gradually lerped it to the new position.

I would think that would work (ie phase offset) as long as we got rid of it overtime so the values never get to out of wack.  So maybe they lerp out slowly back to zero so we don't really notice the adjustment?

You just don't want the phase offset values become so huge that you get the floating point error again on your side (I am guessing again that large floating point values would cause trouble with your gerstner calcs but not sure)

Yeah I don't know exactly where the large values would end up causing issues, but since the wave functions repeat periodically every 2pi radians I think the values can be kept in [0,2pi) , even for large world positions.
If I get a chance to test this I'll post back, no promises in the short term though.

This is long term issue so low priority.  Short term we are just sticking to a fixed world size less then 10,000 units to avoid the issue.  I am spinning up a separate project to find out the various issues involved and work on coming up with a long term solution.  For us that involves moving the world items and ship back to origin after you reach a certain distance.  So was just playing around with that when I realized the ocean would also be a problem so figured I would at least start the discussion.

BTW that does make sense what you are saying and because of how your generating a 2pi radian from that world value I cannot think of how that would create any issues.

Are there other things on your list of issues? I wasn't thinking that getting continuity with particle systems would be problematic (maybe only if they are simulated in world space?).
How about rigidbodies, can you just poke new positions into them and they'll keep the same velocity etc?

Had not thought about particles, those would be a problem if simulated in world space but I think most of ours our under local so would move with everything else as long as they were created under a movable parent.
Your correct as well on Rigidbody that guys ref to the floating Origin script shows updates to that as well.  This would have an effect on our boat so will have to test that.

BTW updated to latest 2018.3 and everything is working fine.  Not sure if anyone had done that yet.

I think i know whats required now. i sketched something out in the commit/branch above.
It doesnt do anything smart with the phase - all that should be required is to add a Mathf.Repeat() to keep it in range. However there seems to be a small pop coming from somewhere which should probably be fixed first. Will post back if i have any luck.

I got a pop free version working, pushed to the branch (enabled in main.unity).
I unfortunately discovered that any world space calculations fall over, and there were two that were generating pops:

The ocean meshing operates in world space, and pops are visible in wireframe. The geometry is very power-of-2-ish and i found setting a floating origin threshold to a power of 2 seems to sort this out. I believe that the ocean shader should not have to consider absolute world space but could be camera relative, and i might look at this in the future.
Any world space texturing breaks. Normal maps, foam texture, caustics texture.. Ouch. I was able to address this issue by setting the texture scale to a power of 2, and ensuring the teleport threshold is also a power of 2, so that no pop is visible. I tested this for the normals only.

I suppose the latter could be addressed by having a UV offset which can be used to compensate shifts in origin (similar to how the phase offset compensate for the shift for gerstners). Not sure i want to venture down this rabbit hole too much further, especially if it involves adding more calculations and code..

So how would you sum up where your are at this point.  Not sure I totally understood your last sentence.

Ok going to grab that branch and play with it a bit.

Ok so played with it and getting rid of the terrible FindObject etc I don't see any spikes in CPU etc.  Like you said there is a small pop that I can see during the reset but honestly it is not bad as long as your not doing it very often.  We could live with that small little bump once in awhile as it stands right now especially since it does not appear to effect the boat in anyway via physics/height.

Yeah thats with the normals set to a power of 2 size (so the scale param). I think its 16. If you use other scales it will pop. THe normals give the appearance of waves, so it looks like the ocean pops.
I think this is a reasonable constraint though. If foam and other textures were also scaled at a power of 2 it would solve much of the pop.
Still deciding what i want to do with this (for core crest). Guess i might write a section in the docs and decide if i want to merge the code in or not.

Ok.  Yeah its to bad that unity does not have a better solution for larger worlds and when I say larger anything further out then a few 1000 units, which I understand now but was a bit shocked about.  So this will probably effect most production level games I would think at some point.  It does not take long doing any sort of ocean travel before you hit those limits.  I would vote for some sort of solution/hack.  What is the downside to this code mod btw?  Power for 2 seems reasonable but perhaps I do not understand how that is effecting things so maybe a bit of insight on that.  Thanks for all the help btw yet again.

Just tested this again adjusting all the scales to powers of two.  yep your right I don't even notice the jump anymore at all.   I lose a bit of tweaking but like you said I think that is a reasonable constraint.  This works very well for what we need that is for sure.

Thats cool.
Anyway ill take a look at the changes with fresh eyes and think about it.
How did you get rid of the FindObjectsOfType calls btw? There are a few of them for different types, did you get rid of all of them? Do you have user-defined lists, or an interface to register scripts that need to get floating origin messages?

Makes sense.
Building that stuff to register components is beyond me for the reasons mentioned above, however i thought the following compromise solution might work - i've added component arrays to the FloatingOrigin script. If you provide them (either by hand or at runtime) it will use them, otherwise it will fall back to the Find() calls. That means the behaviour is flexible and works by default, and when it comes to fine grained optimisation, one can either list the stuff by hand, or write a system around it which does all the registration etc and sets these arrays. Could you take a look at #151 and let me know what you think?

Ok yes I would not expect you to have to create that system.  All you need to concern yourself with is an example, which you have and the ability to reset origin of the ocean which you have.  The specifics as to moving things around outside of the ocean is not your issue in my opinion so what you have is fine for that.

Question on this code.  Do the children of the ocean every change once the app starts up?  If not I would cache that though its not going to make a smidgen of difference given how infrequent this is called.
Otherwise looks fine.
// Notify ocean of origin shift
if (OceanRenderer.Instance)
{
var fos = OceanRenderer.Instance.GetComponentsInChildren();
foreach (var fo in fos)
{
fo.SetOrigin(newOrigin);
}
}

Hm.. It can be that the ocean is destroyed (unloaded from a subscene) and then recreated and stuff like that, so i think im inclined to take the safe route here.

BTW not sure if you knew this.  I did not until a little while ago that some of these math functions are seriously slow.  I have not done a deep profile on your stuff in a bit but I did see some of these functions.  This only matters when your doing a lot of these over and over again so not sure if any of that applies but figured I would pass it along.
Minimize expensive math functions
Transcendental functions (Mathf.Sin, Mathf.Pow, etc), Division, and Square Root all take about 100x the time of a multiplication. (In the grand scheme of things, no time at all, but if you are calling them thousands of times per frame it can add up).
The most common case of this is vector normalization. If you are normalizing the same vector over and over, consider normalizing it once instead and caching the result for use later.
If you are both using the length of a vector and normalizing it, it would be faster to obtain the normalized vector by multiplying the vector by the reciprocal of the length rather than by using the .normalized property.
If you are comparing distances, you don’t have to compare the actual distances. You can compare the squares of the distances instead by using the .sqrMagnitude property and save a square root or two.
Another one, if you are dividing over and over by a constant c, you can multiply by the reciprocal instead. Calculate the reciprocal first by doing 1.0/c.

Yeah these kinds of things are on my radar. If you spot cases where I can avoid this please call it out. As far as I'm aware I'm either calling these things infrequently, or where they need to be called. But I might be missing some optimisation opportunities.
One expensive case is gerstner wave computation on the CPU - this should be moved to the job system at some point, like the lwrp ocean demo. However this code is not used by default so it's not top of my list right now.

Yep.  I need to get into the job system myself.  Powerful but a bit more obtuse from a coding standpoint.


Fix URL to coverage badge

Description
Updates the codecov badge to use the new moveit org, as it still pointed to ros-planning.
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] Extend the tutorials / documentation reference
[ ] Document API changes relevant to the user in the MIGRATION.md notes
[ ] Create tests, which fail without this PR reference
[ ] Include a screenshot if changing a GUI
[ ] While waiting for someone to review your request, please help review another open pull request to support the maintainers

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.08%. Comparing base (ecd5d30) to head (d945892).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3156      +/-   ##
==========================================
- Coverage   44.45%   44.08%   -0.37%
==========================================
  Files         698      698
  Lines       61557    61538      -19
  Branches     7459     7457       -2
==========================================
- Hits        27360    27120     -240
- Misses      34029    34250     +221
  Partials      168      168

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


#1313 Number parsing

Made common number parser class
We didn't handle hex numbers properly
Now we can, including hex complex
Added more hex number tests
Fixed one broken project command test

https://github.com/Microsoft/RTVS/issues/1352

:+1:


Proposed 0.80.0-rc2

Codecov Report

Merging #2220 into develop will increase coverage by 0.02%.
The diff coverage is 55.55%.

@@             Coverage Diff             @@
##           develop    #2220      +/-   ##
===========================================
+ Coverage    70.05%   70.07%   +0.02%
===========================================
  Files          689      689
  Lines        50724    50730       +6
===========================================
+ Hits         35533    35548      +15
+ Misses       15191    15182       -9

Impacted Files
Coverage Δ

src/ripple/protocol/Feature.h
100% <ø> (ø)
:arrow_up:

src/ripple/app/main/Amendments.cpp
100% <ø> (ø)
:arrow_up:

src/ripple/protocol/impl/BuildInfo.cpp
82.6% <ø> (ø)
:arrow_up:

src/ripple/app/misc/impl/TxQ.cpp
96.03% <100%> (ø)
:arrow_up:

src/ripple/protocol/impl/Feature.cpp
94.54% <100%> (+0.1%)
:arrow_up:

src/ripple/app/tx/impl/PayChan.cpp
90.43% <42.85%> (-1.24%)
:arrow_down:

src/ripple/protocol/impl/STVar.cpp
85.71% <0%> (-2.6%)
:arrow_down:

src/ripple/core/impl/Workers.cpp
98.86% <0%> (-1.14%)
:arrow_down:

src/ripple/app/main/Application.cpp
60.49% <0%> (+0.11%)
:arrow_up:

src/ripple/app/ledger/impl/LedgerMaster.cpp
46.64% <0%> (+0.22%)
:arrow_up:

... and 5 more

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 589570d...fc64050. Read the comment docs.


Adding consumer-lag

A useful datapoint which seems worth adding to default output.

lgtm - thanks a lot @njhartwell !


[SRE-1040] fix unhealthy slave handling

Codecov Report

Merging #10 into master will decrease coverage by 0.22%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   98.91%   98.68%   -0.23%
==========================================
  Files          25       25
  Lines        1291     1296       +5
==========================================
+ Hits         1277     1279       +2
- Misses         14       17       +3

Impacted Files
Coverage Δ

lib/redis-cluster.rb
99.24% <100%> (ø)
:arrow_up:

lib/redis_cluster/client.rb
82.69% <66.66%> (-2.73%)
:arrow_down:

lib/redis_cluster/cluster.rb
97.08% <86.66%> (-0.96%)
:arrow_down:

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 891f577...593f65d. Read the comment docs.


Time for paper submission

Excellent work! I noticed that you cited the work of CVPR2024. When was your paper submitted?Thank you.

Thank you for your concern. The first version of manuscript was submitted to TCSVT in the middle of April 16th, 2024.

Your work is amazing and it was received so quickly. Thanks for the quick response.


Laboratory work #7, Koykova Aleksandra - 20FPL2

Necessary implementation of loading your dataset.

It's time to write the loading of your dataset.

And again: it's time to write the loading of your dataset.


Can't get location

When I try to get LocationName an LocationId  is always null.
$location name = $media->getLocationName();
$locationid = $media->getLocationId();
Any problem?

Sometimes location is not returned by Instagram


Wrong roaming appdata location

please complete the following information:

OS version: Window 10 22H2
Editor version: Visual Studio Code 1.75.1
Programming language: N/A
TabNine extension version: 3.6.38

Issue Details:
Tabnine doesn't install properly. This is because the appdata path is wrong. Your using not using %appdata% as an environment variable but rather assuming that roaming appdata will be located on the C drive. In Windows you can use something called folder redirection, this allow for example to place the roaming appdata folder on a network drive. This is the case on my pc. When installing tabnine it creates a folder C:\fldrredir$\{username}\AppData\Roaming\..
fldrredir${username}\AppData\Roaming\ = the folder on a network drive where my roaming appdata is actually stored
{username} = actually my username is here
Tabnine assumes that in C:\fldrredir$\{username}\AppData\Roaming\.. my vscode folder is located which is not the case.
As a result I get errors that tabnine thinks that my internet connetion isn't working properly.
gz#21289(related to Zendesk ticket #21289)

Hi @mniesen, thanks for reaching out!
I appreciate your help with the investigation of the issue, but I suspect this might not be the case - As far as I can tell, we're using Windows' KNOWNFOLDERID called FOLDERID_RoamingAppData:

Are you using a proxy / remote machine / any kind of setup that might require some additional steps to set up an internet connection properly?
Also, can you please attach the following data for us to troubleshoot your issue:

Your Tabnine engine logs
Your config file

If you don't feel comfortable sharing it here, you can send it to<EMAIL_ADDRESS>and we'll continue the discussion there.
Kind regards,
Yoni

Thank you for sharing your logs, and the details you provided are indeed helpful 🙂
Can you please try setting an environment variable called TABNINE_BINARIES_DIR to the desired location? I believe it should be \\\\theNameOfTheServer\\fldrredir$\\myRealUsername\\AppData\\Roaming\\Code\\User\\globalStorage\\tabnine.tabnine-vscode\\binaries\\4.4.243\\x86_64-pc-windows-gnu\\
Then, please:

close your IDE
kill all Tabnine processes (any of these if exists: TabNine, TabNine-deep-local, TabNine-deep-cloud, WD-TabNine)
Start your IDE
Let me know if this is of any help.

Kind regards,
Yoni

Do I have to remove the extension before doing this and install it again afterwards?

No need to uninstall and re-install - just follow the provided steps 🙂

I set the environment variable and did the instructions, unfortunately without any success.
Note: the version of the binaries changed to 4.4.249 so I used this in the environment variable instead of 4.4.243.

Can you please attach your binary and IDE logs?
IDE logs are available in Help -> Toggle Dev Tools -> console
I've opened an internal issue with your case, and our team will take a look and prioritize your issue.
We're sorry for the inconvenience, and thank you for reporting!

By binary do you mean the contents of the binaries folder?

I mean the log file similar to the one you attached earlier - tabnine_rCURRENT.log-xxx - please attach all of these log files (xxx is the process id, so every time you re-run your vscode a different log file will be created)

-18864_rCURRENT.log
binaries.zip

I'm sorry for not getting back to you sooner. Can you attach your IDE log file as well?
IDE logs are available in Help -> Toggle Dev Tools -> console
To get the relevant logs, please restart your IDE - you should see a log line that starts with "spawning binary with command:".
Please attach all the logs you can get once you see this log line.
Kind regards.

Help -> Toggle Dev Tools -> console
after installing
console.ts:137 [Extension Host] spawning binary with command:  \fldrredir$\myRealUsername\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.4.273\x86_64-pc-windows-gnu\TabNine.exe  args:  --client=vscode --no-lsp=true --log-file-path=h:\desktop\-4816 --client-metadata clientVersion=1.76.2 pluginVersion=3.6.43 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ Experimental vscode-theme-kind=Dark vscode-machine-id=d6eaafe42bd98d542bc14b65868b32233cd85bf88022ca10779385ebe05be213 vscode-is-new-app-install=false vscode-session-id=6c87f975-7fa2-4541-b8f7-236dea1bd8f81679379894821 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true ide-restart-counter=0

console.ts:137 [Extension Host] capabilities resolved immediately

console.ts:137 [Extension Host] No storagePath, languagetool-languageserver logging disabled.

console.ts:137 [Extension Host] Creating server

Here is the log file associated with this launch.
after restarting vscode
console.ts:137 [Extension Host] spawning binary with command:  \fldrredir$\myRealUsername\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.4.273\x86_64-pc-windows-gnu\TabNine.exe  args:  --print-version

console.ts:137 [Extension Host] spawning binary with command:  \fldrredir$\myRealUsername\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.4.273\x86_64-pc-windows-gnu\TabNine.exe  args:  --client=vscode --no-lsp=true --log-file-path=h:\desktop\-19352 --client-metadata clientVersion=1.76.2 pluginVersion=3.6.43 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ Experimental vscode-theme-kind=Dark vscode-machine-id=d6eaafe42bd98d542bc14b65868b32233cd85bf88022ca10779385ebe05be213 vscode-is-new-app-install=false vscode-session-id=db41a66a-daad-4aaa-82a8-7fe16113b9dd1679380107434 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown vscode-inline-api-enabled=true ide-restart-counter=0

console.ts:137 [Extension Host] activating extension

console.ts:137 [Extension Host] starting language server

log.ts:404   ERR [Extension Host] validating \fldrredir$\myRealUsername\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.4.273\x86_64-pc-windows-gnu\TabNine.exe timeout

console.ts:137 [Extension Host] validating \fldrredir$\myRealUsername\AppData\Roaming\Code\User\globalStorage\tabnine.tabnine-vscode\binaries\4.4.273\x86_64-pc-windows-gnu\TabNine.exe timeout

console.ts:137 [Extension Host] Express server listening on port: 50229

Here is the log file associated with this launch.

Thank you.
It looks like we have an issue in the vscode plugin, where we misinterpret the path in case it's not a local path.
I'll take it with my team and we'll prioritize a fix for this.
Kind regards

I can still confirm that the problem is not solved, therefore I hope this problem will not we marked as stale.
Two months ago there was mentioned that this would be prioritized.

I can still confirm that the problem is not solved, therefore I hope this problem will not we marked as stale.
Two months ago there was mentioned that this would be prioritized.


Provide a test for bootstrapping Raft group one-by-one

Hi!
Thank you for the great tutorial on your library!
Could you please provide some help with starting cluster nodes one by one?
I took your test testChangeMemberListOfRaftGroup to tried and adapt it.
My issue is if I start second node after changeMembership for its endpoint test will fail (I attached logs).
If I start second node before changeMembership test works. Also, it's now possible to start third node after changeMembership.
Could you please leave some comments on this test and how it should look in ideal case? Also, what is the correct way to specify initialGroupMembers for each three calls for createRaftNode?
createRaftNode isn't different from your code. I just extracted parameters and made it static to avoid any interaction with BaseLocalTest
@Test
public void testChangeMemberListOfRaftGroup() {
    List<RaftNode> raftNodes = new ArrayList<>();
    List<LocalTransport> transports = new ArrayList<>();
    LocalRaftEndpoint endpoint1 = LocalRaftEndpoint.newEndpoint();
    RaftNode raftNode = createRaftNode(
            endpoint1,
            List.of(endpoint1),
            raftNodes,
            transports,
            new SnapshotableAtomicRegister()
    );
    raftNode.start();
    RaftNode leader = waitUntilLeaderElected(raftNodes);

    RaftEndpoint endpoint2 = LocalRaftEndpoint.newEndpoint();
    RaftNode raftNode2 = createRaftNode(
            endpoint2,
            List.of(endpoint2),
            raftNodes,
            transports,
            new SnapshotableAtomicRegister()
    );
    // !!! If node started here it's okay
    raftNode2.start();

    // group members commit index of the initial Raft group members is 0.
    RaftGroupMembers newMemberList1 = leader
            .changeMembership(
                    endpoint2,
                    MembershipChangeMode.ADD_OR_PROMOTE_TO_FOLLOWER,
                    0
            )
            .join()
            .getResult();

    // !!! If it's started here test will fail
    // raftNode2.start();

    RaftEndpoint endpoint3 = LocalRaftEndpoint.newEndpoint();
    RaftGroupMembers newMemberList2 = leader
            .changeMembership(
                    endpoint3,
                    MembershipChangeMode.ADD_OR_PROMOTE_TO_FOLLOWER,
                    newMemberList1.getLogIndex()
            )
            .join()
            .getResult();
    System.out.println("New member list: " + newMemberList2.getMembers() + ", majority: "
            + newMemberList2.getMajorityQuorumSize() + ", commit index: " + newMemberList2.getLogIndex());

    // This now works as expected, no need to start raftNode3 before changeMembership is called
    RaftNode raftNode3 = createRaftNode(
            endpoint3,
            List.of(endpoint3),
            raftNodes,
            transports,
            new SnapshotableAtomicRegister()
    );
    raftNode3.start();

    String value3 = "value3";
    leader.replicate(OperableAtomicRegister.newSetOperation(value3)).join();
    System.out.println("Effective members are " + leader.getEffectiveMembers());

    eventually(() -> {
        assertThat(query(raftNode2).getResult()).isEqualTo(value3);
        assertThat(query(raftNode3).getResult()).isEqualTo(value3);
    });
}

13:32:42.871 [Raft-0] INFO - [RaftNode] node1<default> Starting for default with 1 members: [LocalRaftEndpoint{id=node1}] and voting members; [LocalRaftEndpoint{id=node1}].
13:32:42.873 [Raft-0] INFO - [RaftNode] node1<default> Status is set to ACTIVE
13:32:42.874 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 0, commitIndex: 0, snapshotIndex: 0, Raft Group Members {groupId: default, size: 1, term: 0, logIndex: 0} [
	node1 - FOLLOWER this (ACTIVE)
] reason: STATUS_CHANGE

13:32:42.874 [Raft-0] INFO - [RaftNode] node1<default> is the single voting member in the Raft group.
13:32:42.875 [Raft-0] INFO - [RaftNode] node1<default> Leader election started for term: 1, last log index: 0, last log term: 0
13:32:42.875 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 0, commitIndex: 0, snapshotIndex: 0, Raft Group Members {groupId: default, size: 1, term: 1, logIndex: 0} [
	node1 - CANDIDATE this (ACTIVE)
] reason: ROLE_CHANGE

13:32:42.877 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 1, commitIndex: 0, snapshotIndex: 0, Raft Group Members {groupId: default, size: 1, term: 1, logIndex: 0} [
	node1 - LEADER this (ACTIVE)
] reason: ROLE_CHANGE

13:32:42.878 [Raft-0] INFO - [RaftNode] node1<default> We are the LEADER!
13:32:42.976 [Raft-0] INFO - [MembershipChangeTask] node1<default> New group members after ADD_OR_PROMOTE_TO_FOLLOWER of node2: [node1, node2], voting members: [node1, node2]
13:32:42.977 [Raft-0] WARN - [RaftNode] node1<default> Status is set to UPDATING_RAFT_GROUP_MEMBER_LIST
13:32:42.977 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 2, commitIndex: 1, snapshotIndex: 0, Raft Group Members {groupId: default, size: 1, term: 1, logIndex: 0} [
	node1 - LEADER this (UPDATING_RAFT_GROUP_MEMBER_LIST)
] reason: STATUS_CHANGE

13:32:42.979 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 2, commitIndex: 1, snapshotIndex: 0, Raft Group Members {groupId: default, size: 2, term: 1, logIndex: 2} [
	node1 - LEADER this (UPDATING_RAFT_GROUP_MEMBER_LIST)
	node2
] reason: GROUP_MEMBERS_CHANGE

13:32:54.894 [Raft-0] WARN - [RaftNode] node1<default> Demoting to FOLLOWER since not received append entries responses from majority recently. Latest quorum timestamp:<PHONE_NUMBER>977
13:32:54.896 [Raft-0] INFO - [RaftNode] node1<default> lastLogIndex: 2, commitIndex: 1, snapshotIndex: 0, Raft Group Members {groupId: default, size: 2, term: 1, logIndex: 2} [
	node1 - FOLLOWER this (UPDATING_RAFT_GROUP_MEMBER_LIST)
	node2
] reason: ROLE_CHANGE

13:32:54.898 [Raft-0] WARN - [RaftNode] node1<default> Invalidated 1 futures from log index: 2 with: IndeterminateStateException{leader=null}

java.util.concurrent.CompletionException: IndeterminateStateException{leader=null}

	at java.base/java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:413)
	at java.base/java.util.concurrent.CompletableFuture.join(CompletableFuture.java:2118)
	at io.microraft.tutorial.ChangeRaftGroupMemberListTest.testChangeMemberListOfRaftGroup(ChangeRaftGroupMemberListTest.java:83)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
	at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
	at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
	at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
Caused by: IndeterminateStateException{leader=null}
	at io.microraft.impl.RaftNodeImpl.demoteToFollowerIfQuorumHeartbeatTimeoutElapsed(RaftNodeImpl.java:1816)
	at io.microraft.impl.task.HeartbeatTask.doRun(HeartbeatTask.java:46)
	at io.microraft.impl.task.RaftNodeStatusAwareTask.run(RaftNodeStatusAwareTask.java:59)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1589)

Process finished with exit code 255

Thank you in advance!

Hi @jsjant
Thanks for trying MicroRaft! I would like to learn more about your use case and how you are planning to use the library!
Please see the RaftNodeBuilder Javadoc:
https://github.com/MicroRaft/MicroRaft/blob/0b26f5fd24ca5a505d7f1747e95c6808641547fd/microraft/src/main/java/io/microraft/RaftNode.java#L480-L500
Basically, for bootstrapping a Raft group, you need to decide the initial member list, pass it to each Raft node's builder method linked above, and start the Raft nodes of the initial member list. You do not need to start with a member list of a single Raft node and add the other ones by to the group via membership change calls. You can see how Raft groups are started in the tutorial code: https://github.com/MicroRaft/MicroRaft/blob/0b26f5fd24ca5a505d7f1747e95c6808641547fd/microraft-tutorial/src/test/java/io/microraft/tutorial/BaseLocalTest.java#L81-L112. You can bootstrap a Raft group of multiple members, and start Raft nodes one by one. They will elect a leader once majority Raft nodes are started and after this point the Raft group will be operational.
Could you describe your use case more? Do you need to start with a singleton Raft group (i.e., a Raft group with just 1 node) and expand it to more nodes step by step? If yes, could you explain why you have such a requirement?
Starting with a singleton Raft group brings a more careful process. I will write a tutorial code and a blog post about it, but let me briefly explain it you here.
When you start a singleton Raft group (a group with just 1 node), the quorum is 1.
When you call leader.changeMembership() to add a follower (which is a voting member), the leader adds the new member to the effective member list and tries to commit the membership change operation with the new quorum which is 2 (majority of 2 is 2). After this point, if you don't start the new Raft node, the leader won't be able to commit the membership change. In addition, due to the logic I explained at https://microraft.io/blog/2021-09-08-today-a-raft-follower-tomorrow-a-raft-leader/#stepping-down-an-overthrown-leader, the leader will step down after the leader heartbeat timeout period. This is shown in the following log line from your snippet:
13:32:54.894 [Raft-0] WARN - [RaftNode] node1<default> Demoting to FOLLOWER since not received append entries responses from majority recently. Latest quorum timestamp:<PHONE_NUMBER>977

But while adding the new member through the leader if you also start its Raft node, then the leader is able to commit the membership change operation.  This is why you are able to add the second member to the singleton group if you start its Raft node.
I will add a more detailed tutorial code to explain this with more details.
I hope my answer helps. Please let me know if you have more questions.
Cheers,

I quickly hacked a basic example for you. Please see it at https://github.com/MicroRaft/MicroRaft/blob/master/microraft-tutorial/src/test/java/io/microraft/tutorial/ExpandSingletonRaftGroupTest.java.

Got it.
Then please follow the suggestion in my previous member. You can start your group with N members, and start each Raft node with this information. In your Transport implementation, you can make Raft nodes talk to each other via the service discovery mechanism available in your environment. I have a proof of concept kv-store project on top of Raft: https://github.com/MicroRaft/AfloatDB. It uses grpc under the hood and you can check its transport implementation here: https://github.com/MicroRaft/AfloatDB/blob/master/afloatdb-server/src/main/java/io/microraft/afloatdb/internal/rpc/impl/RaftRpcServiceImpl.java
Please note it is far from prod-ready state but it should give you some ideas.

I will take a look.
Thank you!


Add Sendable annotations to swift-syntax

To support strict concurrency checking, we should go through the repository and mark all Sendable types as Sendable.

Tracked in Apple’s issue tracker as rdar://117813694

Fixed by https://github.com/apple/swift-syntax/pull/2425.


UI: make wifi network sorting more stable

Networks are constantly moving around without any visible (in the four bars in the UI) signal strength change. If there's no difference in the four bars, the network shouldn't move.

Currently connected network should probably also be on top.


Redirect is not working correctly, are there any points I missed?

I tried to Redirect from root to a path, but it failed with:
Error
[object Object]
https://codesandbox.io/s/qllp20v3j4
Did I use the Redirect incorrectly?

You are using it correctly, it is just the regular behavior of the Redirect component to throw when redirecting (as explained in the documentation here https://reach.tech/router/api/Redirect).
So to get rid of the exception in development mode, you can add the noThrow prop to the Redirect

@AlanChauchet thanks for you comment. I had read the api document several times and tried to use the noThrow prop as you said. the URL changed, but the to component is not render on page before refresh.

@LeoChowChina looks like we are having the same issue https://github.com/reach/router/issues/47

@shenAwesome @AlanChauchet  I think it's a bug. It should be fixed by @ryanflorence soon...

Oh right, Redirect mounts before LocationProvider, gonna throw a hack in to fix this, might not be the best way to do it, but it'll work.

@ryanflorence Can we reopen this issue? I have the same problem.

Still problem here


update to version 1.0.0-SNAPSHOT-2021-04-08

@jaspreetsachdev Guess this PR isn't valid anymore, right?