Fix open some pages by link display page not found

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/18828
PROPOSAL: https://github.com/Expensify/App/issues/18828#issuecomment-1546548112
Tests

The workspace setting page should display loading animation until the page is loaded

Login with any account
Go to Setting > Workspace
Open any workspace
Open General settings and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace setting page displays loading animation until the page is loaded

The report detail page should display loading animation until the page is loaded

Login with any account
Open any admin room
Click on the header to see detail page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report detail page displays loading animation until the page is loaded

The report setting page should display loading animation until the page is loaded

Login with any account
Open any admin room
Click on the header to see detail page
Open setting and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report setting page displays loading animation until the page is loaded

The report participant page should display loading animation until the page is loaded

Login with any account
Open any group chat
Click on the header to see the participant page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report participant page displays loading animation until the page is loaded

The workspace initial page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace initial page displays loading animation until the page is loaded

The workspace member page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace member page displays loading animation until the page is loaded

The workspace invite message page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Select some users and click on next button to open invite message page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite message page displays loading animation until the page is loaded

The workspace invite page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite page displays loading animation until the page is loaded

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

Offline tests

Same above
QA Steps

The workspace setting page should display loading animation until the page is loaded

Login with any account
Go to Setting > Workspace
Open any workspace
Open General settings and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace setting page displays loading animation until the page is loaded

The report detail page should display loading animation until the page is loaded

Login with any account
Open any admin room
Click on the header to see detail page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report detail page displays loading animation until the page is loaded

The report setting page should display loading animation until the page is loaded

Login with any account
Open any admin room
Click on the header to see detail page
Open setting and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report setting page displays loading animation until the page is loaded

The report participant page should display loading animation until the page is loaded

Login with any account
Open any group chat
Click on the header to see the participant page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report participant page displays loading animation until the page is loaded

The workspace initial page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace initial page displays loading animation until the page is loaded

The workspace member page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace member page displays loading animation until the page is loaded

The workspace invite message page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Select some users and click on next button to open invite message page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite message page displays loading animation until the page is loaded

The workspace invite page should display loading animation until the page is loaded

Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite page displays loading animation until the page is loaded

[ ] Verify that no errors appear in the JS console

PR Author Checklist

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

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

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

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

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

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that 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 approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

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

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

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

Screenshots/Videos

Web

The workspace setting page should display loading animation until the page is loaded

Screencast from 16-05-2023 09:55:55.webm

The report detail page should display loading animation until the page is loaded

Screencast from 16-05-2023 09:57:23.webm

The report setting page should display loading animation until the page is loaded

Screencast from 16-05-2023 10:19:48.webm

The report participant page should display loading animation until the page is loaded

Screencast from 16-05-2023 09:59:43.webm

The workspace initial page should display loading animation until the page is loaded

Screencast from 16-05-2023 10:02:24.webm

The workspace member page should display loading animation until the page is loaded

Screencast from 16-05-2023 10:03:44.webm

The workspace invite message page should display loading animation until the page is loaded

Screencast from 16-05-2023 10:04:52.webm

The workspace invite page should display loading animation until the page is loaded

Screencast from 16-05-2023 16:01:38.webm

Mobile Web - Chrome

The workspace setting page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/d1c42025-aee7-4753-9dca-42ffd25aaed9

The report detail page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/38eef901-ae2a-4818-8ee0-30db3a53d1b3

The report setting page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/d8be6186-02b8-4fef-9c10-1be2c284d646

The report participant page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/9808becc-8db5-41a6-acb5-ecd92bef51ca

The workspace initial page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/63bcd05a-eba1-4e5d-aceb-fdb77e18fbb2

The workspace member page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/1b4cd81d-ae1e-41fd-a57c-436c12a7d90b

The workspace invite message page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/64ce3187-9e53-427f-b6c0-ff70d41bd6e1

The workspace invite page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/e2a324f2-ac31-4e80-9262-3aa38af26bd7

Mobile Web - Safari

The workspace setting page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/1d55f558-128c-4308-81f6-636ec64c482b

The report detail page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/1b25b6c7-6d1c-4d0f-92b9-7593bf25a6b0

The report setting page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/4e1ae4d2-c893-4e88-b74e-91ea4acaf908

The report participant page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/8258891a-c391-4943-b506-8cf5c795570f

The workspace initial page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/dbd4ab32-1344-497d-9786-cc9e22b3fcf1

The workspace member page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/572e5291-fc7c-427d-a2a4-e1acf17fa2bd

The workspace invite message page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/d0978b07-64cf-4b15-b2ae-5ed2f8679035

The workspace invite page should display loading animation until the page is loaded

https://github.com/Expensify/App/assets/129500732/5bfa7621-e249-4e9c-88ef-2f03c74c08fe

Desktop
Cannot open with deep link because this bug

iOS
When opening app with a deep link that is different /r/:reportID, the app always opens sidebar screen after login

Android
Same IOS above
Here is example
Screencast from 16-05-2023 16:11:37.webm

if (this.props.isLoadingReportData && _.isEmpty(this.props.iouReport)) {
            return <FullScreenLoadingIndicator />;
        }

@dukenv0307 I think we can create a wrapper component to the above logic.

@mollfpr That mean wrapper component is loading component if data is loading  and it is page not found component otherwhise. Is that right?

    if (props.isLoadingReportData && _.isEmpty(props.policy)) {
        return <FullscreenLoadingIndicator />;
    }

@dukenv0307 Sorry, I mean the above logic for the workspace pages. The not found page can be from the withPolicy.

@mollfpr So what shoud we change?

@mollfpr So we should move the above logic into withPolicy with workspace pages same as withReportOrNotFound?

@dukenv0307 On second thought, I think there are advantages to current changes. So I think we are good now, I'll start the test 👍

@mollfpr I just updated new HOC for workspace pages, and restore detail page. And I also tested again workspace pages with new HOC, it works well. Please help to check again if I miss something.

@mollfpr I just updated code and test steps

@dukenv0307 Thanks! Overall it tests well, and the code looks good to me 👍; I'm on my way to completing the recordings.

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

🚀 Deployed to staging by https://github.com/dangrous in version: 1.3.17-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.17-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add Dynamic Memory Support to otLwf.sys

Modifies the Windows driver otLwf.sys to dynamically allocate memory for Buffer objects (using the Paged Pool) instead of pre-allocating the complete buffer memory as part of the otInstance (Paged Pool).

Codecov Report

Merging #1414 into master will decrease coverage by -0.24%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1414      +/-   ##
=========================================
- Coverage   69.43%   69.2%   -0.24%
=========================================
  Files         185     184       -1
  Lines       26995   26987       -8
  Branches     3375    3402      +27
=========================================
- Hits        18745   18677      -68
- Misses       6815    6882      +67
+ Partials     1435    1428       -7

Impacted Files
Coverage Δ

src/core/common/message.hpp
96.66% <ø> (ø)
:white_check_mark:

src/core/net/ip6.cpp
56.58% <ø> (-13.18%)
:x:

tests/unit/test_message_queue.cpp
98.31% <100%> (+0.01%)
:white_check_mark:

tests/unit/test_ncp_buffer.cpp
99.55% <100%> (ø)
:white_check_mark:

src/core/common/message.cpp
93.99% <100%> (-1.25%)
:x:

tests/unit/test_message.cpp
100% <100%> (ø)
:white_check_mark:

tests/unit/test_priority_queue.cpp
94.14% <100%> (+0.02%)
:white_check_mark:

examples/platforms/posix/misc.c
0% <0%> (-66.67%)
:x:

examples/platforms/posix/random.c
85% <0%> (-15%)
:x:

... and 20 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 fdcdbdd...e078853. Read the comment docs.


MCMMO skills cause issues with

using a wooden hoe as wands makes mcmmo go crazy. the only way i can think of to fix this is to disable herbalisim or have you change the default items to non mcmmo items like leather cap or something.

You can change the items to whatever you want, in either plugin. If you change Magic's wands, you'll also have to change the RP or make your own.
I won't be changing the defaults.


LocalFr added

added Locals/frFR.lua
changed:
Locals/Localization.lua
CraftSim.toc (only added the "Locals/frFR.lua" at line 40 but it looks like git considers I've changed it all)
Const.lua

Looks like inspiration, multicraft and resourcefulness are correctly taken into account
I didn't see any error yet, so I hope it won't need any other change


Add RetrieveChat

Why are these changes needed?
RetrieveChat is a convesational framework for retrieve augmented code generation and question answering. Essentially,RetrieveAssistantAgent and  RetrieveUserProxyAgent implements a different auto reply mechanism corresponding to the RetrieveChat prompts.
Related issue number
Closes #1107
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/FLAML/. See https://microsoft.github.io/FLAML/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

For future PRs that requires OpenAI test, please use a branch in microsoft/FLAML

Since the notebook is very long, can you add a table of contents for the examples at the beginning? That is what the example demonstrate and unique features of retrieve chat. For example, Example 5: we demonstrate the unique feature "UPDATE CONTEXT"...

Since the notebook is very long, can you add a table of contents for the examples at the beginning? That is to show what the example demonstrates and unique features of retrieve chat, and the user can go to the corresponding examples. For example, Example 5: we demonstrate the unique feature "UPDATE CONTEXT"...

Thank you @kevin666aa for the suggestion. I've added the ToC, it works in VSCode and local jupyter server, but doesn't work as expected in GitHub preview. Looks like github has limited preview support on the links.

We can just put the contents without the links. I think people can easily go to the example by searching the keywords.


pair_mode in runner_af2advanced.py not reading from command-line argument

at line 321 "pair_mode = "unpaired"" should probably be "pair_mode = args.pair_mode

Thank you for your report! I fixed it!


helm gcs push doesn't seem to work with Helm v3.0.0-beta.3

I'm trying to push image to the repository using Helm v3, I was able to successfully run helm gcs init and add repository to my list of repos. But when I'm trying to do the push I see the following
Error: entry: load: Couldn't load repositories file (~/Library/helm/repository/repositories.yaml).
You might need to run `helm init` (or `helm init --client-only` if tiller is already installed)
Usage:
  helm-gcs push [chart.tar.gz] [repository] [flags]

Flags:
      --force   upload the chart even if already indexed
  -h, --help    help for push
      --retry   retry if the index changed

Global Flags:
      --debug                    activate debug
      --service-account string   service account to use for GCS

entry: load: Couldn't load repositories file (~/Library/helm/repository/repositories.yaml).
You might need to run `helm init` (or `helm init --client-only` if tiller is already installed)
Error: plugin "gcs" exited with error```

helm-gcs is currently incompatible with Helm 3.0.0-beta.3 as it is using Helm 2 API (you can check the dependency).
Recently there was a change in Helm 3 to follow XDG file directory convention, therefore if you use Helm 3, repositories.yaml is actually stored in a different place than where Helm 2 API is pointing to, resulting in helm-gcs not being able to the one find created by Helm 3 helm command.
I forked the repo and made a batch for this issue and have been using it for a while. However I did not have time to create proper test. You can still check it out if you want.

@hd-rk it would be nice if you will have a change to create a PR with support

I've started helm 3 beta support adoption.

Hi @hayorov, is there any ETA on this or at least any way to workaround the issue for the time being? You mentioned a forked repo, but I couldn't find it.

@dibitss https://github.com/hd-rk/helm-gcs

Thank you @lwsanty, I've adopted @hd-rk fork and switched master to helm 3. helm v2 available with --version 0.2.2

This still doesn't work on version 0.3.0.
helm gcs push can-server-charts-repo/game-0.1.0.tgz can-server-chartsError: repo entry: load repo file: couldn't load repositories file (/Users/xxxx/Library/Preferences/helm/repositories.yaml): open /Users/xxxx/Library/Preferences/helm/repositories.yaml: no such file or directory ls ~/.helm/repository/ cache                   local                   repositories.yaml


where are portus_registry_1 logs?

How can I get portus_registry_1 logs?

By the name of it (portus_registry_1), I'm assuming you are using the docker-compose setup right ? In that case, the logs are the ones printed in the standard output.

Thank you !


FIX: Fix navbar background in mobile view

@leecalcote please review.
The navbar in mobile view now looks somewhat like this:

Yeah sure! Will take a look into it.

Hi @leecalcote! I just tried it out but I haven't been able to reproduce it. I navigated to the home page, scrolled back and forth (to the bottom and to the top), but the menu renders the same way.

Fixes #35


New lap sector and pace announcement messages should be a single compound message.

 Not sure it's worth the risk to be honest

Do you mind keeping this around as low-pri known issue?  I'll have a look at some point.

Aye :)


Bug 2076671: 4.10: Add a parameter to the schema to automatically increase volume sizes

This is cherry-pick of https://github.com/openshift/alibaba-cloud-csi-driver/pull/12 that allows OCP to automatically increase PVC size to 20GiB, which is the minimum disk size supported by Alibaba.
cc @openshift/storage

/retest

/retest

/retest

/label cherry-pick-approved


terminal open only works in Terminal project folder

After changing to tilix or /usr/bin/tilix terminal, instead of the default gnome-terminal on ubuntu 17.10. The terminal only opens in Terminal project folder ( ~/.config/sublime-text-3/Packages/Terminal ). I noticed this bug first after sublime did hang while uninstalling latex-tools.

Can you elaborate on "only opens in Terminal project folder"? I could interpret that as:

Terminal only functions properly when I'm viewing a file/folder in the Terminal project
Terminal only launches a terminal window in the Terminal project folder no matter what file is selected
Something else

Terminal only functions properly when I'm viewing a file/folder in the Terminal project.
It works only, if I am viewing a terminal sublime-settings json file.

What happens otherwise?

I get the message:
Terminal: The terminal tilix was not found in a ubuntu native message.

Hmm, it's possible tilix isn't in your PATH properly. Try looking at the Sublime terminal (ctrl+`) and running import os; os.environ['PATH']

>>> import os; os.environ['PATH']
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games'
[Errno 2] No such file or directory: '/0/mit internet'
error: Terminal: The terminal tilix was not found

Still get the same error message

Can you try running echo "$PATH"; which tilix in a terminal to verify it's the same PATH and where tilix is loaded from?

echo "$PATH"; which tilix
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/v/.local/bin/
/usr/bin/tilix

Hmm, everything looks fine to me. Can you copy/paste the config you're using for Sublime Terminal? Also, are any errors that show up in the Sublime console (ctrl+`) when you run our Sublime Terminal?

OK, the problem is when I have unsaved scratch files the terminal plugin has no default folder to open
error: Terminal: No place to open terminal to
It works fine with other files open, sorry for the wrong info

Ahh, k. It would probably be better if we surfaced that to an alert =/

I've opened https://github.com/wbond/sublime_terminal/issues/189 to hopefully alleviate future issues for other persons. Sorry for the inconvenience =(


Test config_import_corelib_test needs triage

This test fails fasta and analyzer, and will never pass static analysis:
import 'config_import_corelib_general.dart'
    if (dart.library.io) 'config_import_corelib_io.dart'
    if (dart.library.http) 'config_import_corelib_http.dart' as lib;

main() {
  var io = const bool.fromEnvironment("dart.library.io");

  var cy = new SubClassy();

  if (io) {
    Expect.isTrue(lib.ioSpecific());

I'm not sure if this is a valid test for Dart 2.

It is valid when compiled for a platform where dart:io is available.
It is not valid when compiled for any other platform, because the run-time guard of if (io) doesn't prevent the body from being compile-time checked against the actually imported library.
(I assume a later part of the test will be invalid for the dart:io-supporting platform too, so most likely the test is always invalid).
We should split it into separate tests, and mark them failing or succeeding per platform, to ensure that we don't always reject a program just because it doesn't work on all platforms.

Just to confirm, as well: these will never pass for the analyzer, right?

https://dart-review.googlesource.com/c/sdk/+/116057


Indicator Target Period names not translated

Edit an Indicator page > Target tab > Titles of the target frequency, e.g. Quarter 1, Quarter 2

Target period names are programmatically generated but stored directly in the DB (& thus non translatable). e.g. If you created your target periods for an indicator while your language was Spanish those names for those targets for that indicator will forever be in Spanish regardless of how you switch your language preference.

vs.

The proper solution to this could be somewhat involved. It would require something like storing the sequence number in the db rather than the label and building the label in the view or the template. The other hackier option would be to regex the period number off the back of the label and then rebuild the label. That might be a reasonable interim solution.

@sanjuroj @axoplasm Can this ticket be closed, now that we've done #744?

yep


Git as main code base

Currently, the main development is in a SVN repository. All SVN changes are automatically uploaded to GitHub as a mirror and seconary distribution channel.
So we currently have 3 distribution channels:

SVN. Updates come via a SVN client.
GIT (which is currently a copy of SVN). Updates come via a GIT client.
TAR.GZ (which is currently a snapshot of SVN + a "version.php" file added). Updates come via autogenerated change-scripts.

Currently, each SVN revision is a OIDplus version. At a lot of places the "SVN Revision" is processed.
If we switch to Git as distribution channel we need to do:

In GitHub we probably need to make use of the "release / package" feature so we can define that a specific commit is a new version, because OIDplus requires some kind of version number, which was super easy with SVN, but hard with GIT, because there are no numbered commits.
Check all places in the program code that handles "SVN Revision" and look if (how) we can switch to Git.
For SVN distribution channel: Change the internal tool to let SVN be a copy of GIT instead of GIT being a copy of SVN.
For GIT distribution channel: Nothing to do.
For TAR.GZ distribution channel: Rebuild tool that creates the autogenerated change-scripts as well as the TAR.GZ file itself.
Change internal tool that creates the checksums ( https://oidplus.com/checksums/ ) for the system check plugin.
We will probably recognize a lot of more places where SVN is important once we switched to GIT...

So to conclude, it is extremely hard to switch from SVN to GIT... So this is a long-time project.

I want that in the future OIDplus becomes independent of the ViaThinkSoft server, and only depends on GitHub. This also allows to easily fork and maintain it in case something would happen to me.
I looked further into the details, but there will be a lot of changes required to migrate from SVN to GIT!
Updates in re my list above.
1. In GitHub we probably need to make use of the "release / package" feature so we can define that a specific commit is a new version, because OIDplus requires some kind of version number, which was super easy with SVN, but hard with GIT, because there are no numbered commits.
Yes, in GitHub we need to use "releases" which are basically Git tags. Hopefully we can do that automatically, e.g. once a week? Version numbers are then 2.0.1, 2.0.2, etc.
2. Check all places in the program code that handles "SVN Revision" and look if (how) we can switch to Git.
Instead of counting in "SVN Revisons", we need to look at the version. The latest tag can be shown using git describe $(git rev-list --tags --max-count=1) . Comparisons in PHP with version_compare()
Problem/Bummer: Since "git describe" is a complex process we require shell access / Git! The "git_utils" which read the .git dir in pure PHP code does not work. But not every system has shell access or Git installed!
3. For SVN distribution channel: Change the internal tool to let SVN be a copy of GIT instead of GIT being a copy of SVN.
Yes, but then we need some kind of version.txt file which is filled with the current Git tag, otherwise the SVN working copy cannot know the OIDplus version.
But is it also possible that we (ViaThinkSoft) keep developing on SVN? I feel uncomfortable with GIT... But that would mean that I need to maintain a version.txt in SVN?
And if we do that (manually keep track of a version.txt), then we could also do that in Git, which means we don't need to complex way with the "git describe" command. So, maintaining a version.txt is lightweight and simple!
4. For GIT distribution channel: Nothing to do.
Yes.
5. For TAR.GZ distribution channel: Rebuild tool that creates the autogenerated change-scripts as well as the TAR.GZ file itself.
Yes. Note that only the tags (releases) needs to be compared. Also, the TAR.GZ can be added to the GitHub assets.
6. Change internal tool that creates the checksums ( https://oidplus.com/checksums/ ) for the system check plugin.
Yes
7. We will probably recognize a lot of more places where SVN is important once we switched to GIT...
...

Some helpful API endpoints:
https://api.github.com/repos/danielmarschall/oidplus/activity to see the latest commit hash code
https://api.github.com/repos/danielmarschall/oidplus/tags to see the latest tag.
See usage example: https://api.github.com/repos/phpstan/phpstan/tags

Work-In-Progress : https://oidplus.viathinksoft.com/wip.diff

Done! Now released version 2.0.1 !


Update Ruby versions on Travis CI

Closing in favor of https://github.com/emberjs/ember-rails/pull/553.


remote method need to support a string error message to be returned

The remote method documentation suggest that the remote validation method can return a true/false/'a string message' as the return value'

The response is evaluated as JSON and must be true for valid elements, and can be any false, undefined or null for invalid elements, using the default message; or a string, eg. "That name is already taken, try peter123 instead" to display as the error message.

But since the ajax request is based on dataType: json, if we return a string as the response then the parseJSON ajaxConverter will fail with an exception(invalid json format).
Can we fix this issue?
As I can see we can either change dataType configuration as dataType: "text" and var valid = response === true; to var valid = response == "true"; OR override the text json data converter for this request as

converters : {
"text json" : function(data) {
return data == "true"
? true
: data
}
}

Can we go ahead with these changes?
Thank you.

the same porblem with me,it can't valid remote when return a string as the response


Accesibility issues by lighthouse

Lighthouse has spotted the following accessibility issues:
Header

[ ] Buttons do not have an accessible name
Failing Elements:

[ ] <button class="button button--header header__button" aria-controls="header-navigation-container" aria-expanded="false">

Home page

[ ] Background and foreground colors do not have a sufficient contrast ratio.
Failing Elements:

[ ]

[ ] Linus Torvalds

Clubs page

[ ] Buttons do not have an accessible name
Failing Elements:

[ ]

Note: I haven't tested with lighthouse the pages as a logged on user

Lighthouse doesn't validate the following :
1 [accesskey] values are unique
2 The page has a logical tab order
3 Interactive controls are keyboard focusable
4 Interactive elements indicate their purpose and state
5 The user's focus is directed to new content added to the page
6 User focus is not accidentally trapped in a region
7 Custom controls have associated labels
8 Custom controls have ARIA roles
9 Visual order on the page follows DOM order
10 Offscreen content is hidden from assistive technology
11 Headings don't skip levels
12 HTML5 landmark elements are used to improve navigation
An example of the lighthouse report can be found here https://lighthouse-dot-webdotdevsite.appspot.com/lh/html?url=https://ossn.club/
@iropal because I'm not familiar with the accessibility targets of the project please let me know if some spotted issues aren't applicable for the project

@alexdor I fixed the two buttons at pr #262.
The contrast is a design issue. It can be easily fixed since it is either a line of css or an image change but I am not authorized to take such a decision since the design is approved.
As far as the targets of the project, the only one known to me is testing the site with https://observatory.mozilla.org/. Of course the website was build with accessibility in mind but there are no known accessibility targets.


Migration fails running multiple instances on empty mysql databases.

When running a migration in parallel with multiple nodes the migration will fail in two ways.
The first is if there is no schema_version table in the database, one node will get a migration exception that it is unable to create the table.  A workaround is to create an empty schema_version table.
If the schema_version table already exists, but is empty, the MySQLTable.doLock function fails to properly lock the table.  A workaround here is to insert a fake row into the schema_version table before starting the parallel migration.
How I reproduced these issues:

Create a new mysql database
Create multiple migration scripts (I used our production scripts, so am unable to post them here.), with the first migration being a create table script (ours created 6 tables).
Run migrations in parallel.  I did this by launching several different spring applications in a for loop, launching each app start function in its own thread.

Duplicate of #1067


Fill the "Alternate App Icon Sets" build settings

In order to make Product Page Optimization working, we need this other build setting to be filled. I think it should not interfere with any other usage you had before.

Thanks for the PR!
I'm sorry, but I don't have the environment to check Product Page Optimization and I don't think I'll be able to merge it soon.
If anyone has had this work properly, please comment.

No problem. We are working with the fork for now. Soon I will be able to validate the process for PPO and give you a feedback on how it went.

This code is not working in fact. I've used the wrong parameter. So I reject my own PR :)

I am so sorry. My previous message was a mistake as we wrongly thought the alternate icons were missing on App Store Connect. This code is OK per our testing.

What is the point of including "ASSETCATALOG_COMPILER_ALTERNATE_APPICON_NAMES" if there is already "ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS"?

To be honest, with further review, it may indeed be useless. I've done a lot of tests with App Store Connect and it seemed the only way to make Product Page Optimization working was with this setting filled. But that may be totally coincidental.

Thank you for your patience.
I have confirmed and will merge it!


alternative version to notback\notback

notback\notback doesn't exist.
Did you mean:
https://github.com/notback-php/notback

yes. had been moved


⚠ Secret Website 3 has degraded performance

In b33d9ec, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2132 ms

Resolved: Secret Website 3 performance has improved in cfc64d2.


[Service Bus] Adding the missing pieces for the ATOM API

Followup of #9116
Changes in the PR
(Implementation and testing ongoing)

Constructor overload to create ManagementClient to take the token credential
GetNamespaceProperties
QueueExists (similarly, for topic and subscriptions)
RuntimeInfo APIs
Tests for all of the above
API report

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests

/azp run js - servicebus - tests


Option 'workshopid' is defined multiple times.

I realise this may be out of scope, but would it be possible to add support for specifying workshopid multiple times to enable downloading an entire modlist at once? Rather than logging into steam for every single mod.
This would better mimic steamcmd and allow for easier drop-in replacement

Hey,
I was planning on rewriting this entire tool soonish because of some internal changes.
This would certainly be one thing I could add to the new version.
Out of curiosity, do you use this tool to automatically download things as part of a script? Or do you manually run it whenever you want to download something?
I was thinking of providing an alternative mode which is interactive, so that it's easier to use for people that are not familiar with command line tools that use arguments.

I currently manage my modded arma servers with a powershell script I wrote that reads exported modlist html files, then compiles a single steam command to download them all.
Steamcmd's workshop_download_item command is somewhat unreliable and can fail, causing issues trying to set up fully automated servers.


Prevent doubled usage information output

This closes #809.

Can we do this differently? Can we instead make exit an async function that never resolves and then await exit(0)? We have the exit() utility for a reason and IMO it should be sufficient in all use cases.

@Qix- is correct: https://github.com/nodejs/node/issues/6456


Add Cloud Asset API

Now the $contentTypes is an optional arg.

The last remaining piece is that now the server only accepts the numeric project id (see the smoke test), I'm asking the eng to fix it

Travis and Appveyor are confused by a commit which I accidentally made to the origin. Actual tests are passing, so let's not worry

The sub repo has just created:
https://github.com/GoogleCloudPlatform/google-cloud-php-asset

The product team fixed the project id issue and now the smoke test is passing locally. It's ready to merge :)


Support 5.1 and other channel layouts

This website explains the channel layout of 5.1 wav files: https://www.jensign.com/bdp95/7dot1voiced/index.html
It then links to a more detailed document from Microsoft about varying channel layout. (IE, how to disambiguate from 3.1 versus quad: https://learn.microsoft.com/en-us/previous-versions/windows/hardware/design/dn653308(v=vs.85)?redirectedfrom=MSDN
One important change needed in wave_stream is supporting channelMask

Converted the headers to handle WAVEFORMATEX. Currently refactoring so that reading/writing works with a SamplesByChannel struct that specifies the sample for each channel by speaker location instead of numerical index.
Writing is almost completed (just need to update tests.) Need to update reading.

Started updating the example: https://github.com/GWBasic/wave_stream_example/pull/1
Changes needed:

Need to update sample code in lib.rs
Need to publish a new revision to crates.io
Need to update the sample


Replaced git for https in clone URL.

If the user did not have access to SSH towards git, the installation would fail:  This was causing problems such as

Ah, right! I will avoid doing that in the future; thanks for catching that.


doc: Explain the vm_type attribute better

@crides does this explain it?
Closes #882

Yes, that does clear up the confusion!
If I may go a bit further on the original question, how is registering the type different from including the type inside the module? Does the naming of the type (e.g. example.Either) matter  i.e. does it have to be the same path when the type is imported (e.g. if I register the type as example.Either, does the type Either have to be inside the module example)? Thanks!

If you look at the WindowHandle type in marshalling you can see that register_type is called with the path that vm_type wants.

bors r+

So using the WindowHandle example. There are 3 paths in the example:
#[derive(Userdata, Trace, Clone, Debug, VmType)]
#[gluon_userdata(clone)]
// Lets gluon know that the value can be cloned which can be needed when transferring the value between threads
#[gluon(vm_type = "WindowHandle")] //1
struct WindowHandle {
    id: Arc<u64>,
    metadata: Arc<str>,
}

fn load_mod(thread: &gluon::Thread) -> vm::Result<ExternModule> {
    thread.register_type::<WindowHandle>("WindowHandle", &[])?; //2

    let module = record! {
        type WindowHandle => WindowHandle, //3
        create_hwnd => primitive!(2, create_hwnd),
        id => primitive!(1, id),
        metadata => primitive!(1, metadata),
        default_hwnd => create_hwnd(0, "default".into()),
    };

    ExternModule::new(thread, module)
}

The 3 are: 1) the vm_type attribute, 2) the first argument to register_type, and 3) the actual import path for the type (i.e. if I import the module as window, the actual path to the type would be window.WindowHandle). So 1 and 2 have to be the same*. So can 3 be anything? How would 3 be used? Would the actual path to the type be 1& 2 or 3?
*side question: can you point some rust type using the vm_type attribute to some Gluon type, and not register the type?


Add imported library to FindOpenImageIO.cmake

Covers #2331

Description
This adds two imported targets to the default OIIO cmake finder OpenImageIO::OpenImageIO and OpenImageIO::oiiotool.
Tests
None
Checklist:

[x] I have read the contribution guidelines.
[ ] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[ ] I have updated the documentation, if applicable.
[ ] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

LGTM, thanks for the fix!

Fixes #2331


Add example for .

I searched documentation and examples for flexible control formly-validation-message. Problem with very small information. Please add current example code.
<div *ngIf="showError && formControl.errors" class="error-message">
	<formly-validation-message [field]="field"></formly-validation-message>
</div>

to https://formly.dev/examples/introduction.

Could you please provide a PR ?

Could you please provide a PR ?

ok I we'll send pull request. I will require some time for preparation examples.

Feel free to send a PR whenever you've got the chance!


I have a question about iq.-data-cache-parser

Because I saw that it was your project, but I didn't find the specific post, SO I want to ask you in this post .where is IQIY Paser tool in the picture below, because I got
https://cache-video.iq.com/dash tvid=7445402587137500&bid=600&vid=abe2c4788688b54418ebe6a4119bf1a5&src=01011021010010000000&vt=0&rs=1&uid=0&ori=pcw&ps=0&k_uid=800e049e9c15fae93d416a41a98ff930&pt=0&d=0&s=&lid=&slid=1&cf=&ct=&authKey=6f824bbc3fa98506654a384dc4285d95&k_tag=1&ost=0&ppt=0&dfp=a1eb0a853672ce57d2b2e5f43d33201ab0168b98f29b7475c7d00347f3e23f9c0f&prio=%7B%22ff%22%3A%22f4v%22%2C%22code%22%3A2%7D&k_err_retries=0&up=&su=1&applang=en_us&sver=2&qd_v=2&tm=1632739486951&qdy=a&qds=0&k_ft1=141287244169348&k_ft4=8196&k_ft5=1&bop=%7B%22version%22%3A%2210.0%22%2C%22dfp%22%3A%22a1eb0a853672ce57d2b2e5f43d33201ab0168b98f29b7475c7d00347f3e23f9c0f%22%7D&ut=0&vf=d7833c472094e2553634eef903f888a3
but I don't know how to parse the link to MP4. If you see it, please help to reply to me. Thank you

Hi yeah it was deleted long time ago.
I just forgot to remove that note with Parser tool. That's my very old tool
don't mind it. You can just paste that cache data in your browser and then browse the json data here
http://www.bejson.com/jsonviewernew/
and find the m3u8 data then paste to notepad and save as file.m3u8
Then you can now use m3u8 downloader like https://github.com/nilaoda/N_m3u8DL-CLI


Contact with enemy problem

There are some cases in which the enemy and the bomberman "collide" while running into each other that don't trigger a death/respawn. This might be due to position swapping at the same time?

fcbb48d -> resolve colisões falhadas


[Tabs][Carousel] Update documentation

marks tabs, carousel production ready
adds 2.2.0 release to system requirements

Codecov Report

Merging #333 into development will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development     #333   +/-   ##
==============================================
  Coverage          82.27%   82.27%
  Complexity           879      879
==============================================
  Files                 84       84
  Lines               2804     2804
  Branches             518      518
==============================================
  Hits                2307     2307
  Misses               205      205
  Partials             292      292

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 bd6b750...c9d79ae. Read the comment docs.


”PETRILA” is listed in the drop-down menu

Description:
"PETRILA" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "PETRILA" in the search bar.

Expected results
The location is listed in the drop-down menu as "Oraș PETRILA, HUNEDOARA".


Bug report

What happened?
I'm trying to create entries in a note like this:

On (date:: 2023-10-18), we read = this.title(times_read:: 2) times

The problem is that when I click on the reading option, the = this.title does not render correctly. I will include screenshot of what I see rendered.
Reading view:

Editing view:

The bug seems to happen any time There is a bullet point with inline metadata and an inline DQL query. If I remove the inline metadata, then the inline DQL query renders correctly.
DQL
No response
JS
No response
Dataview Version
0.5.61
Obsidian Version
1.4.14
OS
MacOS

Hmm might be a parsing bug for inline query display.


 not working for lsp_finder expand_or_jump

Describe the bug
After a recent lspsaga update the enter key does not open the selected files by default anymore. This might be related to https://github.com/nvimdev/lspsaga.nvim/issues/944 and https://github.com/nvimdev/lspsaga.nvim/issues/1033.
I tried to adjust the config and set the mapping explicitly, but it doesn't work for me. Other mappings I define for the finder work just fine.
Steps to reproduce
require 'lspsaga'.setup {
  finder = {
    expand_or_jump = '<CR>'
  }
}

Expected behavior
Enter should open the selected file in the finder window.
Neovim version (nvim -v)
0.9.0
lspsaga commit
0.2.3 76696bed4397c3b58563c246dc1f7856ed4af023
Terminal name/version
wezterm 20230408-112425-69ae8472

finder = {
    keys = {
       expand_or_jump ='<CR>


JoErNanO: Watch buffaloexpresstaxi.com

JoErNanO requests the watch of the watch_keyword buffaloexpresstaxi\.com. See the Metasmoke search here and the Stack Exchange search here.

buffaloexpresstaxi\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.422% when pulling 640e0fb59cd9226f824329bfe90fe76c4ca93e35 on auto-blacklist-1526177255.5076299 into e4fb2b1274fd2aae2cde94bef6cc27177d6714e3 on master.

!!/approve


Drag Down on touch devices

Hello,
on touch devices, when i try to sort by dragging down its not working properly, you can check it here
http://recordit.co/W2uKfoRttW
what happened here is that i lost ng-src on image,
http://grab.by/Jv2w
http://grab.by/Jv2i
sorting is activated when u see green borders around elements, if you need more info, please ask.
Thanks.

Try dev-branch, perhaps the problem has been solved;
Use the search, maybe already have an answer;
If not found, create example on jsbin.com (draft) and describe the problem.


Update type-definitions

Updates the type definitions to be much more maintainable and correct for the new repo.

Just pinging to see if there is anything else to do here?

Thanks for the awesome work here, @TylorS.


Integrate with TiKV

Development Task
Integrate with TiKV (3-4 weeks)
Development Progress
TBD

Related issue: https://github.com/tikv/tikv/issues/6402

To integrate with TiKV, we will only need to implement managedTxn mode.
ManagedTxns in unistore-badger differs from original badger implementation. We will first implement badger managedTxn mode, and then migrate to unistore managed mode.

@skyzh what do you mean by unistore-badger ?


Backport media thread join exception catch from 2.0 (9db3971)

An error is thrown commonly on application shutdown while the audio player is unloading on 1.5; this just simply backports the exception catching from 2.0.

Thanks for this, and the other PR. I'll push these out in a new point release shortly.


Using Refrigerator.freeze_core with rspec crashes

Subject of the issue
I'd like to use Refrigerator.freeze_core to freeze core classes, ideally in both tests and at run-time (along with other classes that ought not to be changed past a certain point). RSpec has some unusual patterns in modifying core classes that makes requiring rspec before freezing inadequate to prevent a crash.
Your environment

Ruby version: 3.2.0
rspec-support version: 3.12.0

Steps to reproduce
In spec_helper.rb, add these to the bottom of the file:
require "refrigerator"
Refrigerator.freeze_core

When running even a trivial test, rspec crashes as Object has been frozen by this point, but rspec still wants to make modifications. This is somewhat normal for some libraries, so the usual workaround is to "require" them first, but rspec seems to need something more.
Here's the stack and exception:
<internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': can't modify frozen #<Class:Object>: Object (FrozenError)
	from <internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/ripper/core.rb:12:in `<top (required)>'
	from <internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/ripper.rb:2:in `<top (required)>'
	from <internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source.rb:54:in `ast'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-support-3.12.0/lib/rspec/support/source.rb:71:in `nodes_by_line_number'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:118:in `location_nodes_at_beginning_line'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:96:in `expression_node'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:88:in `line_range_of_location_nodes_in_expression'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:57:in `line_range_of_expression'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:42:in `expression_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/snippet_extractor.rb:31:in `extract_expression_lines_at'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:231:in `read_failed_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:166:in `failure_slash_error_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:153:in `block in failure_lines'
	from <internal:kernel>:90:in `tap'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:152:in `failure_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:34:in `colorized_message_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:257:in `formatted_message_and_backtrace'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:88:in `fully_formatted_lines'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb:80:in `fully_formatted'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb:200:in `fully_formatted'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb:114:in `block in fully_formatted_failed_examples'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb:113:in `each'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb:113:in `each_with_index'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/notifications.rb:113:in `fully_formatted_failed_examples'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/base_text_formatter.rb:32:in `dump_failures'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:209:in `block in notify'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:208:in `each'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:208:in `notify'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:178:in `block in finish'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:194:in `close_after'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:174:in `finish'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:76:in `report'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke'
	from /home/fdr/.asdf/installs/ruby/3.2.0/lib/ruby/gems/3.2.0/gems/rspec-core-3.12.0/exe/rspec:4:in `<top (required)>'
	from /home/fdr/.asdf/installs/ruby/3.2.0/bin/rspec:25:in `load'
	from /home/fdr/.asdf/installs/ruby/3.2.0/bin/rspec:25:in `<main>'

Expected behavior
RSpec should make all its core-classes changes somewhat more eagerly, or, it can document steps whereby I can force those steps to happen before freeze_core.
Actual behavior
It crashes, and it's not obvious how I can force rspec to make whatever standard library modifications it needs to before freezing.

 }

This will be a future default but due to a chicken and egg problem still is enabled by default in RSpec 3.
If you still suffer this problem with this turned off please re-open.

Yeah, I do suffer this problem with it turned off. It's a new project; there is no inertia.

@JonRowe also, I don't think I have the permission to re-open an issue if it is closed by a collaborator.

You have to add the code snippet to turn it off in a new project

Also the stack trace seems to indicate zeitwerk, if this is a rails project see what happens with mini test, Rails is more likely to modify the core obects than us.

Have reproduced this myself without zeitwerk, but I'm confused as its coming from one of our clas

On further investigation this fixes the snippet above:
require "stringio"
require "ripper"
require "refrigerator"
Refrigerator.freeze_core

So it's not RSpec but Ruby at fault for the modifications, we're just requiring files that we'd expect to work, and we do so when we need them to avoid early poisoning of the environment (and with fallbacks in some cases for when they're not available)..
I'm half inclinced to close this as "won't fix" but if you wanted to go through the code base and collect a list of all our requires then add a feature that preemptively loads them that something we could add to work around this (or you could just do it manually in your project)

wontfix is fine, this issue suffices, and I can contribute it to the roda-sequel stack template project. It has a few remarks for other common software (e.g. puma) that need a poke, though generally the poke is eagerly loading the library via require.

also, thank you.


soc: arm: gigadevice: use common API headers

Stop relying on <soc.h> to access HAL APIs. Use generic, per-API headers
instead. Note that <soc.h> has been left as is for now, since ARM MPU
relies on a fragile chain of includes/type definitions.
This change should improve compilation efficiency, as we no longer pull
APIs that are not needed. A similar approach is followed by STM32
drivers.
Related to https://github.com/zephyrproject-rtos/zephyr/pull/46147 and https://github.com/zephyrproject-rtos/zephyr/issues/41543

cc: @cameled

Please update PR with hash code from hal_gigadevice.

Please update PR with hash code from hal_gigadevice.

done

@gmarull  @nandojve

CC: @soburi

LGTM


section tortuosity for non-zero length, zero end-to-end distance should be inf.

Section tortuosity is defined as the ratio of section length to euclidian distance between end-points. In the case of a single or zero point section, it is defined to be 1. But in the special case of a looping section, with non-zero length but zero end-to-end distance, it would be better to return infinity rather than NaN.

It turns out the current implementation produces the desired behaviour.


Incorrect viewport meta tags messes up  IOS  native deployment

🐛 The bug
You can only see the issue on the device, but it appears that the ios specific styling is not coming across in the build.
I took your sample playground code and deployed it to the device and this is what it looks like. it looks the way it should on Android
I spent the day trying to edit the module, but I am new to Nuxt modules so i am moving along slowly

🛠 To reproduce
https://github.com/aaronksaunders/ionic-nuxt-playground
🌈 Expected behaviour
for app to render appropriately on device
ℹ Additional context
No response

the error is here - https://github.com/danielroe/nuxt-ionic/blob/020fff23d6b36f37d9c14cbd5e850e925b3472f2/src/parts/meta.ts#L18
i would try and submit a PR but not sure I understand everything going on in the build process to be able to write a test to verify the change
  nuxt.options.app.head.viewport =
    'viewport-fit: cover, width: device-width, initial-scale: 1.0, minimum-scale: 1.0, maximum-scale: 1.0, user-scalable: no'

should be
  nuxt.options.app.head.viewport =
    'viewport-fit=cover, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no'

Unless the ionic module overrides this... you could adjust the nuxt config to override the meta options when you generate:
  app: {     head: {       meta: [         { name: 'viewport', content: 'width=device-width, user-scalable=no, viewport-fit=cover' },       ],     },   },


Tailwind utility classes not working consistently

I'm able to get some tailwind utility classes to work . ex: The logo in the upper left here is using fill-brand500, generated from our tailwind.config.js colors, but if I try putting a text-red-500 on any text tags, it doesn't work. Those classes don't seem to be part of the bundle.
How do I get all the default tailwind utility classes to work?
Our repo is currently private, but should be public in the next few days so I can follow up then if you need to see the full code. Here are the relevant files though:
styles/globals.css:
@tailwind components;
@tailwind utilities;
// (not including `@tailwind base;` here based on another thread that said I shouldn't, since it is included
// in the nextra-theme-docs css)

...

_app.js:
import 'nextra-theme-docs/style.css'
import '../styles/globals.css'

export default function Nextra({ Component, pageProps }) {
  return <Component {...pageProps} />
}

you don't need to import nextra-theme-docs/style.css

@B2o5T Thank you but that doesn't address the problem I'm having:

How do I get all of Tailwind's utility classes included?

see swr example to look up tailwind configuration

Ah ok - I thought tailwind supplied all its default colors whether or not you have any custom colors object in theme.config.js, but that's not the case. Thanks!

how did you make this work?


Cartopy installed but unable to import

Hi Niclas @nicrie,
I'm installing xeofs in a newer desktop. I'm working on xeofs since months now, and greatly appreciate the support.
To my surprise, I'm unable to import cartopy this time.
I tried creating a newer enviromnet and installing
(xeof_c) C:\Users\buradagi>conda install -c conda-forge xeofs cartopy
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.10.3
  latest version: 23.5.0

Please update conda by running

    $ conda update -n base -c defaults conda

# All requested packages already installed.

(xeof_c) C:\Users\buradagi>conda activate xeofs

(xeofs) C:\Users\buradagi>conda install -c conda-forge xeofs cartopy
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.10.3
  latest version: 23.5.0

Please update conda by running

    $ conda update -n base -c defaults conda

# All requested packages already installed.

When I try to import:

What could be the issue?
I almost created 4 new environments now, and tried multiple ways.
Cartopy is installed but on Jupyter Notebook I'm unable to install.

Thank you for your kind words! :) And sorry for the late reply I took some weeks off.
As to the error message, I admit I am not an expert of anaconda. I guess you tried to install xeofs in a fresh environment and the installation looks fine to me. Just two ideas for narrowing down the issue a bit:

Are you sure the issue is related to xeofs? Did you try to install cartopy only and then to import it? If the error persist it would indicate rather a problem in your environment/cartopy than with xeofs.
Did you try updating your conda version as suggested? I am not sure but perhaps it helps?

Hey @gkb999 could you solve your problem in the meantime? If so I'd close this issue.

Hey @gkb999 could you solve your problem in the meantime? If so I'd close this issue.

Sorry, I could see it later. It is working perfectly.
Had some internal system not issues, not the package one


Test from different directory

Write a test that attempts to run main from outside the project directory to ensure that imports are organized correctly
Is this something that is necessary, or am I thinking about this wrong?

Not necessary because it's a package now


After update to js-controller 5.0.6 errors

After update to jsc 5.0.6. the adapter try rebuild but is not starting.
`

host.raspberrypi
2023-07-09 21:05:46.372
info
Rebuild for adapter system.adapter.enigma2.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.

host.raspberrypi
2023-07-09 21:05:46.372
error
instance system.adapter.enigma2.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

host.raspberrypi
2023-07-09 21:05:46.372
error
Caught by controller[0]: Node.js v18.16.0

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: }

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: ]

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.enigma2/main.js'

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.enigma2/lib/utils.js',

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: requireStack: [

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: code: 'MODULE_NOT_FOUND',

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19) {

host.raspberrypi
2023-07-09 21:05:46.371
error
Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:958:12)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.enigma2/lib/utils.js:46:25)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19)

host.raspberrypi
2023-07-09 21:05:46.370
error
Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:920:27)

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.enigma2/main.js

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.enigma2/lib/utils.js

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: Require stack:

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js'

host.raspberrypi
2023-07-09 21:05:46.369
error
Caught by controller[0]: ^

host.raspberrypi
2023-07-09 21:05:46.368
error
Caught by controller[0]: throw err;

host.raspberrypi
2023-07-09 21:05:46.368
error
Caught by controller[0]: node:internal/modules/cjs/loader:1078

host.raspberrypi
2023-07-09 21:05:45.334
info
instance system.adapter.enigma2.0 started with pid 25001

`

Please add version of major components
Adapter version:
Admin version:
js-controller version:
node version:
Operating system and version:

I assume an old version ... please install latest version from beta repository

Quite sure, thats why I asked for VERSION INFOS. Versioninfo is the minimum Info to add to EVERY problem issue...
Without this Info I will close here

I think that was the problem. thx!


Help needed with json output

what are 0,1,2 fields in weather and hourly fields?

weather is an array of daily weather data, starting with the current day. Each item has a different date property.
hourly is an array of each day's hourly weather forecasts. Each has a different time property, starting at 0 (midnight) and incrementing by 300 (three hours). The time period for e.g precipitation is three hours.


Why Kubernetes version 1.6.4

In the document https://github.com/PaddlePaddle/cloud/develop/doc/run_on_minikube.md, it requires Kubernetes version 1.6.4, but doesn't explain why that specific version.
Is there any reason we have to stick to 1.6.4?

We implement paddle controller by Kubernetes TPR which support at version 1.6.4.
Now TPR Is Dead! Kubernetes 1.7 Turns to CRD and the migration is on going.

I think the only version require is that Kubernetes 1.8 no longer supports TPR. While in this document, we only describe the deployment of python server and pfs server, can use the version <= 1.7.


RAC Tooltip misbehaves with defaultOpen set

Using defaultOpen on a <Tooltip /> directly causes the Tooltip to not be closable anymore. This was introduced by this commit a77030aebb717126b1441b45b11c3644c60c623f
Additionally it is wrongly positioned compared to using defaultOpen on <TooltipTrigger /> as it is intended to.
If I misunderstand this behavior or the motivation behind it please let me know.
🤔 Expected Behavior?
defaultOpen to only be used for the initial state and still allow the Tooltip to be closed after
😯 Current Behavior
Tooltip stays no matter what
🖥 Steps to Reproduce
https://codesandbox.io/p/devbox/react-aria-components-rx7t2y?file=%2Fsrc%2FApp.tsx

Closing as a duplicate of https://github.com/adobe/react-spectrum/issues/6505


fix spends to external accounts

differentiate between received txs (no prevouts owned), spent txs (all prevouts owned) and shared txs
mark as exception, warn user, prompt them to fix
rpc tools for manually fixing exceptions

Closed by #11


[ADD] Protocol support for Magento2

This branch adds minimal protocol support for the Magento2 REST API. The reason I am adding only this is because it is what is needed to bring Magento2 support to https://github.com/oca/connector-magento.

@tarunbhardwaj it would be good to tell me if you are willing to take this change or not. Could you do that?

ping @sharoonthomas

LGTM. I would squash and merge with all the commits

Thanks for your response. Now squashed into a single commit.

Can you please accept or reject this, so that I can finish the upstream work?

@StefanRijnhart license of this contribution will be considered BSD.

Thanks!


Reduce allocations in tag helper descriptor builders

The tag helper descriptor builders use a lot of temp hash sets and unnecessary empty dictionaries. This change uses the object pooling to reduce those unneeded allocations and employs immutable dictionaries. In addition, I went ahead and removed the old copy of ObjectPool<T> from the compiler in favor of the one from Microsoft.Extensions.ObjectPool to avoid having two versions floating around.

Thank you so very much for all your efforts out there.  You have no idea what seeing all the activity here means to me. 🙏💖


Having faster development area for babel.

Duo to enhancement, we should stop compacting babel on the development mode. so I should add a little config to the babel configuration file.

Dear @wellyshen, May you please review my new PR?

Close due to the idea of simple and clear of this start-kit.


It should let you use it as a boolean condition

like this:
if (htmlTagValidator(sampleHtml)) {
  console.log("valid");
} else {
  console.log("invalid");
}

Hi @cbsorrilha 👋🏼
Thank you for filing this issue so many years ago. We haven't maintained this repo in a long time (as you can tell) so I'm going to transition it to an archived state. I encourage everyone to find (or make!) forks of the code.
Thank you for your support!


Coverage from secondary file is lost when referenced from a class

At least, I think that's the case.
I originally had two modules in lib. One exported a class, the other some functions that the class used. A simplified version looks like this:
a.js
var b = require('./b');
var Thing = function Thing() {
  this.bThings = b;
};
module.exports = Thing;

b.js
export.foo = function() {}
exports.bar = function() {}
//etc. Just a bunch of simple functions

When I run coverage reports on this, b.js is showing as completely uncovered, even thought the tests are definitely calling those functions.
If I inline the functions in b.js inside the Thing constructor, they are correctly reported as covered.
Here are screen caps of the actual reports:
Separate module and uncovered:

Inline and covered:

Or possibly, the coverage reports only account for things called directly? I'm testing these transformers indirectly through the class, rather than directly by requiring the module and calling the functions.

This is the basic use-case that istanbul supports. Whenever a module is require-d it will instrument it and report coverage. I'm not able to explain why this basic use-case doesn't work for you.
Is there a sample git repo I can look at?
The only reason I can think of as to why istanbul wouldn't cover b.js if it was somehow required prior to istanbul adding its require hook.

Yeah, https://github.com/tandrewnichols/defiled. I added a separate test for lib/transformers.js (test/transformers.coffee), but if you delete that one (or xdescribe it), you should be back to the basic case I had above.

istanbul works as expected. Don't know about your build scripts though.
$ git remote -v
origin	git@github.com:tandrewnichols/defiled.git (fetch)
origin	git@github.com:tandrewnichols/defiled.git (push)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
$ rm test/transformers.coffee
$ ./node_modules/gulp-istanbul/node_modules/.bin/istanbul cover --print both ./node_modules/.bin/_mocha -- --compiler coffee:coffee-script/register -r should -u mocha-given -R dot test/defiled.coffee

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  103 passing (479ms)

=============================================================================
Writing coverage object [/tmp/defiled/coverage/coverage.json]
Writing coverage reports at [/tmp/defiled/coverage]
=============================================================================
------------------|----------|----------|----------|----------|----------------|
File              |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
------------------|----------|----------|----------|----------|----------------|
 lib/             |      100 |      100 |      100 |      100 |                |
  defiled.js      |      100 |      100 |      100 |      100 |                |
  transformers.js |      100 |      100 |      100 |      100 |                |
------------------|----------|----------|----------|----------|----------------|
All files         |      100 |      100 |      100 |      100 |                |
------------------|----------|----------|----------|----------|----------------|

=============================== Coverage summary ===============================
Statements   : 100% ( 70/70 )
Branches     : 100% ( 18/18 )
Functions    : 100% ( 21/21 )
Lines        : 100% ( 70/70 )
================================================================================
$ echo 'exports.dummy = function () { return 42;};' >>lib/transformers.js
$ ./node_modules/gulp-istanbul/node_modules/.bin/istanbul cover --print both ./node_modules/.bin/_mocha -- --compiler coffee:coffee-script/register -r should -u mocha-given -R dot test/defiled.coffee

  ․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  103 passing (493ms)

=============================================================================
Writing coverage object [/tmp/defiled/coverage/coverage.json]
Writing coverage reports at [/tmp/defiled/coverage]
=============================================================================
------------------|----------|----------|----------|----------|----------------|
File              |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
------------------|----------|----------|----------|----------|----------------|
 lib/             |    98.61 |      100 |    95.45 |      100 |                |
  defiled.js      |      100 |      100 |      100 |      100 |                |
  transformers.js |    94.74 |      100 |    85.71 |      100 |                |
------------------|----------|----------|----------|----------|----------------|
All files         |    98.61 |      100 |    95.45 |      100 |                |
------------------|----------|----------|----------|----------|----------------|

=============================== Coverage summary ===============================
Statements   : 98.61% ( 71/72 )
Branches     : 100% ( 18/18 )
Functions    : 95.45% ( 21/22 )
Lines        : 100% ( 71/71 )
================================================================================

Ok, good to know. I'll look into it.


[Developer's Magic 1.12.2] Ore evaporates in the inventory! magic?

after entering the command / odc add
with copper ore from IndustrialCraft2
when trying to put copper ore ANY other than IC2, it simply evaporates from the LOL inventory
Here is a complete log with all the list of everything that happened from the start of the run to the evaporation of the ore
https://paste.ee/p/lDFXn
that for forgive (garbage) from 1.12.2 in the last 12 hours, I have already written 4 times on different Git branches about errors in mods ...
Forgive me for my English, the translator helps me in Google, in Russia even though they learn English but basically the bias in our school was in German and French

When you /odc add an IC2 ore as the default ore, any other ore of the same type gets converted to IC2 ore. This is the intended behavior.
Please reopen if the ore actually disappears and is not turned into IC2 ore

very, very strange, in order for everything to work it is necessary to re-enter the game as I put it, otherwise the ore you will refill immediately after the addition turns into nothing : \

I found a way out, but you could not do automatic / odc reload after every addition!

https://github.com/MattDahEpic/AutoOreDictConvert/issues/7
Accidental duplicate, but I did a full explanation + video of the issue there.


Warning rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000

Got a simple hello world app running on LILYGO® TTGO T8 ESP32-S2 V1.1 ST77789 but I'm getting a warning to the bootlog about invalid value RTC_XTAL_FREQ_REG value: 0x00000000.
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x17dc
load:0x4004c000,len:0xa48
load:0x40050000,len:0x2e44
entry 0x4004c204
I (21) boot: ESP-IDF v4.4-dev-2825-gb63ec47238 2nd stage bootloader
I (21) boot: compile time 13:43:49
I (21) boot: chip revision: 0
I (25) boot.esp32s2: SPI Speed      : 80MHz
I (30) boot.esp32s2: SPI Mode       : DIO
I (35) boot.esp32s2: SPI Flash Size : 2MB
I (40) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (49) boot: ## Label            Usage          Type ST Offset   Length
I (56) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (63) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (71) boot:  2 factory          factory app      00 00 00010000 00100000
I (78) boot: End of partition table
I (83) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=0bce8h ( 48360) map
I (101) esp_image: segment 1: paddr=0001bd10 vaddr=3ffbd960 size=028f0h ( 10480) load
I (103) esp_image: segment 2: paddr=0001e608 vaddr=40022000 size=01a10h (  6672) load
I (110) esp_image: segment 3: paddr=00020020 vaddr=40080020 size=20bc4h (134084) map
I (143) esp_image: segment 4: paddr=00040bec vaddr=40023a10 size=09f4ch ( 40780) load
I (153) esp_image: segment 5: paddr=0004ab40 vaddr=50000000 size=00010h (    16) load
I (160) boot: Loaded app from partition at offset 0x10000
I (160) boot: Disabling RNG early entropy source...
I (174) cache: Instruction cache        : size 8KB, 4Ways, cache line size 32Byte
I (174) cpu_start: Pro cpu up.
W (175) r����f���������xf���`�f�fff��f`ffff�f`~~�ffx���f��f����`��~�x�~f����~�f���������xf���`�f�fff��f`ffff�f`~~�ffx���f��f����`��~�x�~f��f���~c_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
W (387) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
W (199) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
W (212) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
W (213) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
�`��~�x�~f��x���~c_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
W (460) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
I (245) cpu_start: Pro cpu start user code
I (245) cpu_start: cpu freq: 160000000
I (245) cpu_start: Application information:
I (250) cpu_start: Project name:     esp-idf
I (255) cpu_start: App version:      1
I (259) cpu_start: Compile time:     Oct  4 2021 19:57:36
I (265) cpu_start: ELF file SHA256:<PHONE_NUMBER>000000...
I (271) cpu_start: ESP-IDF:          4.3.0
I (276) heap_init: Initializing. RAM available for dynamic allocation:
I (283) heap_init: At 3FF9E000 len 00002000 (8 KiB): RTCRAM
I (289) heap_init: At 3FFC0B98 len 0003B468 (237 KiB): DRAM
I (296) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM
I (302) spi_flash: detected chip: boya
I (306) spi_flash: flash io: dio
W (310) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
W (327) rtc_clk: invalid RTC_XTAL_FREQ_REG value: 0x00000000
I (330) cpu_start: Starting scheduler on PRO CPU.
Hello world

I don't think this is related to this demo crate, because the error is happening before the code of the crate even starts to run.
Are you sure you are powering your board properly?

Another reason could be that simply esp32-s2 support is just too new, and it is not always working properly in the ESP-IDF V4.3, which is used by default when compiling this crate.
As an experiment, you can do the following:

in .cargo/config.toml uncomment the line ESP_IDF_VERSION = { value = "master" }
rebuild the project with cargo clean; cargo build --features native

The above will use the latest ESP-IDF master (V4.4.dev).

Yes - that's because Espressif committed to ESP-IDF master precisely this fix ~ 3 hours ago. :)
This patch needs to be removed from esp-idf-sys now. Let me quickly do that...

I'm closing this because it is very unlikely for this problem to come from the demo itself. For me, inability to operate / calibrate the xtal quartz is either a hardware problem of your board, or a software issue in the esp idf itself.


Font doesn't work

Hi, when I add new font using fontType modifier nothing changes.

fixed

As a workaround, you can insert this custom CSS instead for your preferred font for it will be loaded into the RichText's webview (just replace usage of Lobster with your preferred font):
RichText(html: <html_text_here>)
  .fontType(.custom(UIFont.lobster)) // reference the UIFont
  .customCSS("""
      @font-face {
          font-family: 'LobsterTwo-Regular';
          src: url("LobsterTwo-Regular.ttf") format('truetype'); // name of your font in Info.plist
      }
      body {
          font-family: 'LobsterTwo-Regular';
      }
  """)


Public key authentication failed with reason -16

Hi,
When i useAuthenticateByPublicKey: method I see the error "Public key authentication failed with reason -16". On printing the "session.lastError" i see "Error Domain=libssh2 Code=-16 "Unable to extract public key from private key file: Unable to open private key file". I am passing public key and password parameters as nil. The private key file is placed in my project folder.

did you solve this?

Having same difficulties, anyone found a solution?

Same for me. Any ideas? @jannejava @maxisme @Myth23

So my working code is:
    session = [NMSSHSession<EMAIL_ADDRESS>               port:1919 withUsername:@"root"];

    if (session.isConnected) {
        NSString *priv = [[NSBundle mainBundle] pathForResource:@"key" ofType:nil];
        NSString *priv_content = [NSString stringWithContentsOfFile:priv encoding:NSUTF8StringEncoding error:nil];
        NSString *pub = [[NSBundle mainBundle] pathForResource:@"key" ofType:@"pub"];
        NSString *pub_content = [NSString stringWithContentsOfFile:pub encoding:NSUTF8StringEncoding error:nil];

        [session authenticateByInMemoryPublicKey:pub_content privateKey:priv_content andPassword:@""];

        if (session.isAuthorized) {
            NSLog(@"connected!!");
            return true;
        }else{
            NSLog(@"failed");
        }
    }

I then have two shittly named files key and key.pub in the root xcode directory (where your AppDelegate and ting are) which are identical to when I run the command ssh-keygen -t rsa - Don't do this on the host (that was my issue) - also don't press enter loads or it may end in tears (choose a different path for the cmd).
print out NSLog(@"%@",priv_content); and NSLog(@"%@",pub_content); to make sure this has worked.
Let me know if you are still getting the issue.

 More used to AppKit where this is different. The path ~/.ssh/id_rsa within the Simulator does not give the correct path (even if the method stringByExpandingTildeInPath is used). Setting the absolute path, for testing, to the keys did work. Sorry for this.


Error run "simple_extractor.py"

i run this command:
python simple_extractor.py --dataset pascal --model-restore models/exp-schp-201908270938-pascal-person-part.pth --input input --output output --logits
and get this error:
C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\site-packages\torch\utils\cpp_extension.py:189: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
INFO: Could not find files for the given pattern(s).
Traceback (most recent call last):
  File "simple_extractor.py", line 24, in <module>
    import networks
  File "D:\Deep1\Projects\pressure-ulcer\Self-Correction-Human-Parsing\networks\__init__.py", line 3, in <module>
    from networks.AugmentCE2P import resnet101
  File "D:\Deep1\Projects\pressure-ulcer\Self-Correction-Human-Parsing\networks\AugmentCE2P.py", line 21, in <module>
    from modules import InPlaceABNSync
  File "D:\Deep1\Projects\pressure-ulcer\Self-Correction-Human-Parsing\modules\__init__.py", line 1, in <module>
    from .bn import ABN, InPlaceABN, InPlaceABNSync
  File "D:\Deep1\Projects\pressure-ulcer\Self-Correction-Human-Parsing\modules\bn.py", line 10, in <module>
    from modules.functions import *
  File "D:\Deep1\Projects\pressure-ulcer\Self-Correction-Human-Parsing\modules\functions.py", line 18, in <module>
    extra_cuda_cflags=["--expt-extended-lambda"])
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\site-packages\torch\utils\cpp_extension.py", line 658, in load
    is_python_module)
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\site-packages\torch\utils\cpp_extension.py", line 827, in _jit_compile
    with_cuda=with_cuda)
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\site-packages\torch\utils\cpp_extension.py", line 876, in _write_ninja_file_and_build
    with_cuda=with_cuda)
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\site-packages\torch\utils\cpp_extension.py", line 1089, in _write_ninja_file
    'cl']).decode().split('\r\n')
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "C:\Users\deep1\anaconda3\envs\PressureUlcer\lib\subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.

before recent updates, i could run
python evaluate.py --dataset pascal --restore-weight models/exp-schp-201908270938-pascal-person-part.pth --input input --output output --logits
in old code and it works!
My environment :
torch : 1.2.0
os : windows 10
python 3.6

The error was caused by the compiling of InplaceSyncBN. Seems the issue you raised tight with your specific env configuration and I was not able to reproduce it from my side. For me, it works well on Linux.
Here are some suggestions:

Try change the version of PyTorch.
Refer to InplaceSyncBN https://github.com/mapillary/inplace_abn for similar errors.
Try on Linux.

i tried your suggestions, run on linux worked for me. thanks

i tried your suggestions, run on linux worked for me. thanks

I got similar error. Please can you tell how you solved it. Btw, I am using ubuntu only. still it is not working for me.

I have torch 1.5.1 and python 3.8.5, have installed inplace_abn in my conda environment.
I am still facing this issue while trying to run simple_extractor.py .
Can you help me in this?

@parakh08
Try on Linux

I am trying on ubuntu only.

@parakh08
change the version of PyTorch. try 1.8 or 1.9


Noarch

Tries to fix https://github.com/conda-forge/pymultinest-feedstock/issues/23

@conda-forge/pymultinest team, please take a look at this and see if this solution fits this package.


Update 4k-video-downloader to <IP_ADDRESS>5

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Thank you for the contribution. It was merged directly as 056679a106dfd932fec46fc308d19b66b1aaa5ba. Your contribution is still credited to you.


Feature request: Displays closed polls

Show the polls detail when it pass.
like
"传播ifs群算命思想"投票已结束

if the polls didn't pass just show
投票已结束

#enhancement

in the plan.


Duplicated Code Script Code

The Script code is duplicated in Tag Editor Core and in the sample projects. Need to check which one is being used and just use that one.

THe one used is the one in Tag Editor Core the script folder should be removed from templates


arch/sim: Update defconfig for NXWM and disable CONFIG_NSH_ARCHINIT

fixes #2093
Summary of changes
This patch addresses the first issue described in the linked ticket:

prevent the oneshot registration error to be shown up at bootup
the second patch against incubator-nuttx-apps fixes the issue with the crash: https://github.com/apache/incubator-nuttx-apps/pull/456

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.
Testing
Verified that the error message:ERROR: Failed to register oneshot at /dev/oneshot: -17
is no longer shown during simulation start.
Signed-off-by: Sebastian Ene<EMAIL_ADDRESS>

@xiaoxiang781216 This one needs to be backported?

Yes, we need backport this patch.


operator* overloads for complex types are broken in 5.7

operator* overloads for complex types are ambiguous if hip/hip_vector_types.h and hip/hip_complex.h are included in the same translation unit. See https://godbolt.org/z/KPhqr91Ec for an example that triggers the compilation failure with 5.7 but compiles fine with 5.3.
Error message:
<source>:8:16: error: use of overloaded operator '*' is ambiguous (with operand types 'hipFloatComplex' (aka 'HIP_vector_type<float, 2>') and 'hipFloatComplex')
    auto c = a * b;
             ~ ^ ~
/opt/compiler-explorer/libs/rocm/5.7.0/include/hip/amd_detail/amd_hip_vector_types.h:548:65: note: candidate function
        friend __HOST_DEVICE__ inline constexpr HIP_vector_type operator*(
                                                                ^
/opt/compiler-explorer/libs/rocm/5.7.0/include/hip/amd_detail/amd_hip_complex.h:237:1: note: candidate function
COMPLEX_MUL_OP_OVERLOAD(hipFloatComplex)
^
/opt/compiler-explorer/libs/rocm/5.7.0/include/hip/amd_detail/amd_hip_complex.h:78:40: note: expanded from macro 'COMPLEX_MUL_OP_OVERLOAD'
    __HOST_DEVICE__ static inline type operator*(const type& lhs, const type& rhs) {           \
                                       ^
1 error generated when compiling for gfx90a.
Compiler returned: 1

Operator in hipComplex have been source of contention and controversy for quite some time now.
I highly recommend you to use hipCmulf etc to do operations on complex numbers.
These operators will be removed in future releases to fix this ambiguous operators.

Thanks @cjatin for the quick response. That sounds reasonable. The operator* overloads should presumably be marked [[deprecated]] so that users know to move away from them?


Build failing

Build Failed
Your deployment's build step did not complete within the maximum of 45min

Example: https://github.com/zeta-chain/docs/pull/396
Builds are working fine locally.

Builds are failing almost randomly.
A PR deploy preview was built successfully:

But the same PR when merged, failed with the same "45 min" error: