#26126: Tag picker sections

Details
2nd PR for wave 6: tags. Contains:

Tag picker for more than 8 tags (search bar and sections)
Saves selected tag in iou
Sends selected tag to backend

This requires using staging server and add policy tags to a policy. I asked in the wave 6 chat, but this can also be mocked.

Mock data

Go to a workspace page
Copy the workspace/policyID in the URL
In AuthScreens add the following code to the componentDidMount:

Onyx.set('policyTags_<POLICY ID>', {
    Department: {
        name: "Department",
        tags: {
            Accounting: {name: 'Accounting', enabled: true},
            Engineering: {name: 'Engineering', enabled: true},
            HR: {name: 'HR', enabled: true},
            Marketing: {name: 'Marketing', enabled: true},
        }
    }
});
Onyx.set('policyRecentlyUsedTags_<POLICY ID>', {
    "Department:" ["Engineering"]
});

Fixed Issues
$ https://github.com/Expensify/App/issues/26126
Tests
NOTE: use the mock setup mentioned above and/or use staging server.

Start a Money Request from inside the workspace report
Choose any of the selectors
Open the 'show more' section
Click on the Tag menu item (should have the name of the tag type - example "Department")
See that the tag menu picker appears and allow to select a tag
Search for a tag and it should filter
Select a tag and verify that it goes back and shows the selected tag

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Select a tag and verify that it goes back and shows the selected tag
Click the tag menu item again
The selected tag should appear below the search bar as selected
Select another tag
Verify that it goes back and shows the selected tag

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Verify that it goes back and shows the selected tag
Save the request money
Start another money request
Click that tag menu item
See that the tag previously selected in the other money request appears in the "Recent" section
Create another money request with another tag
Repeat steps 9-12

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Verify that it goes back and shows the selected tag
Save the request money
Start another money request
Click that tag menu item
See that the tag previously selected in the other money request appears in the "Recent" section
Create another money request with another tag
Repeat steps 9-12
Create another money request with the last tag in the "recent" section
Repeat steps 9-11
Check that the previously selected tag appears in the first place of the "recent" section.

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

Offline tests
Same as above
QA Steps

Start a Money Request from inside the workspace report
Choose any of the selectors
Open the 'show more' section
Click on the Tag menu item (should have the name of the tag type - example "Department")
See that the tag menu picker appears and allow to select a tag
Search for a tag and it should filter
Select a tag and verify that it goes back and shows the selected tag

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Select a tag and verify that it goes back and shows the selected tag
Click the tag menu item again
The selected tag should appear below the search bar as selected
Select another tag
Verify that it goes back and shows the selected tag

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Verify that it goes back and shows the selected tag
Save the request money
Start another money request
Click that tag menu item
See that the tag previously selected in the other money request appears in the "Recent" section
Create another money request with another tag
Repeat steps 9-12

Start a Money Request from inside the workspace report
Choose any of the selectors and select a workspace (one with tags set up)
Open the 'show more' section
Click on the Tag menu item  (should have the name of the tag type - example "Department")
See that the tag menu picker appears
Select a tag
Verify that it goes back and shows the selected tag
Save the request money
Start another money request
Click that tag menu item
See that the tag previously selected in the other money request appears in the "Recent" section
Create another money request with another tag
Repeat steps 9-12
Create another money request with the last tag in the "recent" section
Repeat steps 9-11
Check that the previously selected tag appears in the first place of the "recent" section.

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

PR Author Checklist

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

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

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

[x] Android / native
[x] Android / 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] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[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 the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/25725586/a678ad07-3f36-478f-b268-67f777fbbc97

Mobile Web - Chrome
https://github.com/Expensify/App/assets/25725586/a19d6de4-bbcd-42be-ac5e-2f4196d21ca2

Mobile Web - Safari
https://github.com/Expensify/App/assets/25725586/addac7cb-b33d-4dc8-b827-5f6ef4b96746

Desktop
https://github.com/Expensify/App/assets/25725586/6b7ea71f-465a-4f2b-8321-e562f7dd9f4d

iOS
https://github.com/Expensify/App/assets/25725586/fe11c2ba-e330-484d-a68a-3833d4386ff5

Android
https://github.com/Expensify/App/assets/25725586/ea9dddbd-0e5e-417d-815b-9c215085a473

Updated!

@amyevans Updated!

: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/amyevans in version: 1.3.73-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.73-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.74-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Fine-tunning time (training time) for entity model

Hey! First of all, congratulations on the paper and thanks for releasing the code.
I couldn't find the time spent on the training phase (as well as the processors used) on the paper. Could you provide this info, please?
Also, have you tried your model on a distillated BERT?
Thanks!

Hi! Thanks for your interest!
Training a BERT-base entity model on the ACE05 dataset takes ~6 hours on a single 2080Ti GPU.
We didn't train a model based on the distillated BERT, but generally there shouldn't be an issue to use another base encoder.


Prevent second invoice creation when order is fully invoiced

I have an issue with two invoices inside one order.
The first one created is correct -  it invoiced two items and shipping amount.
The second one invoiced same two items, but without shipping amount.
In the result of this, total_due in order is the amount of shipping amount. (total_paid does not include shipping amount).
The second invoice was created 1 minute after first one.
In the first try of PayU request, Magento returned error 500 with deadlock found in Magento DB, but the invoice was created correctly.
The second try was fully successfull, but it duplicated the invoice as described above.
To fix this issue, you should add canInvoice method to prevent duplicate invoice creation and if the invoice is already created - use that one to finish request. Magento should also prevent from invoicing same items.
I'm working on this now.

How is the work progressing on this? We have a problem on the store where Magento sometimes issues two invoices in the manner described above.


Request example

Codecov Report

Merging #33 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   94.52%   94.51%   -0.01%
==========================================
  Files          27       27
  Lines         785      784       -1
==========================================
- Hits          742      741       -1
  Misses         43       43

Impacted Files
Coverage Δ

include/ozo/type_traits.h
100% <ø> (ø)
:arrow_up:

include/ozo/connection.h
94.59% <100%> (-0.15%)
:arrow_down:

include/ozo/binary_serialization.h
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Benchmark results for d760f61
build/gcc_release/examples/ozo_benchmark 'host=localhost user=postgres'
query: SELECT 1
reuse_connection_info
475 requests done in 1.00009s, 474.958 r/s
951 requests done in 2.00005s, 476.016 r/s
1427 requests done in 3.00531s, 473.51 r/s
2017 requests done in 4.2232s, 484.444 r/s
2501 requests done in 5.22923s, 481.098 r/s
reuse_connection_info_and_parse_result
482 requests done in 1.00197s, 481.054 r/s
962 requests done in 2.00464s, 478.72 r/s
1442 requests done in 3.00521s, 479.725 r/s
1922 requests done in 4.00209s, 481.507 r/s
2402 requests done in 5.00145s, 480.307 r/s
reuse_connection
10493 requests done in 1.00005s, 10492.5 r/s
23608 requests done in 2.23765s, 10597.2 r/s
31555 requests done in 3.00079s, 10413.6 r/s
44570 requests done in 4.24378s, 10470.7 r/s
52424 requests done in 5.0051s, 10316.3 r/s
reuse_connection_and_parse_result
9909 requests done in 1.00003s, 9908.66 r/s
22294 requests done in 2.23616s, 10019.2 r/s
32314 requests done in 3.24166s, 9965.22 r/s
42278 requests done in 4.24343s, 9946.3 r/s
52226 requests done in 5.23914s, 9990.87 r/s
use_connection_pool
9121 requests done in 1.0001s, 9120.08 r/s
20521 requests done in 2.22256s, 9325.44 r/s
29845 requests done in 3.23728s, 9188.79 r/s
39033 requests done in 4.23872s, 9174.79 r/s
48209 requests done in 5.24094s, 9155.67 r/s
use_connection_pool_and_parse_result
9076 requests done in 1.00008s, 9075.29 r/s
18152 requests done in 2.02998s, 8812.45 r/s
26964 requests done in 3.02597s, 8847.56 r/s
35812 requests done in 4.02656s, 8842.7 r/s
44656 requests done in 5.01783s, 8921.95 r/s
query: SELECT typname, typnamespace, typowner, typlen, typbyval, typcategory, typispreferred, typisdefined, typdelim, typrelid, typelem, typarray FROM pg_type WHERE typtypmod = $1 AND typisdefined = $2
reuse_connection_info
296 requests done in 1.0025s, 295.262 r/s
592 requests done in 2.00191s, 296.173 r/s
962 requests done in 3.22916s, 301.488 r/s
1262 requests done in 4.21125s, 305.469 r/s
1566 requests done in 5.2427s, 294.732 r/s
reuse_connection_info_and_parse_result
167 requests done in 1.00287s, 166.522 r/s
335 requests done in 2.0189s, 165.35 r/s
499 requests done in 3.01022s, 165.436 r/s
704 requests done in 4.2452s, 165.994 r/s
868 requests done in 5.23066s, 166.421 r/s
reuse_connection
1018 requests done in 1.00034s, 1017.65 r/s
2288 requests done in 2.23853s, 1025.69 r/s
3312 requests done in 3.24351s, 1018.93 r/s
4332 requests done in 4.24414s, 1019.35 r/s
5352 requests done in 5.24754s, 1016.55 r/s
reuse_connection_and_parse_result
261 requests done in 1.00151s, 260.607 r/s
521 requests done in 2.03644s, 251.224 r/s
773 requests done in 3.01741s, 256.888 r/s
1029 requests done in 4.0072s, 258.64 r/s
1289 requests done in 5.00854s, 259.654 r/s
use_connection_pool
1004 requests done in 1.00096s, 1003.04 r/s
2008 requests done in 2.00861s, 996.378 r/s
3004 requests done in 3.00589s, 998.71 r/s
4254 requests done in 4.24184s, 1011.37 r/s
5013 requests done in 5.00349s, 996.517 r/s
use_connection_pool_and_parse_result
259 requests done in 1.00168s, 258.565 r/s
519 requests done in 2.00479s, 259.194 r/s
844 requests done in 3.2468s, 261.672 r/s
1104 requests done in 4.2484s, 259.585 r/s
1364 requests done in 5.23995s, 262.215 r/s


Add support for environments for Flex and Gke for ASP.NET Core apps.

ASP.NET Core has a notion of application settings stored in appsettings.json file. These application settings can be made environment specific, so different settings are loaded depending on what environment the app is running in.
We plan on creating default app.yaml (for Flex) and deployment specification (for GKE) that set value of the ASPNETCORE_ENVIRONMENT to a value that depends the environment on which the app is running:

For App Engine Flex the value of the variable will be flex.
For GKE/Container Engine the value of the variable will be gke.

The user can then set various configuration options in the appsettings.json depending on where the app is running.

This needs a bit more of thought. Closing until we find the right thing to do here.


License note

I said it's OK to use the code written in job.vim as long as you mentioned the link but people note me that MIT license said

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

So please put the following as a header comment text to https://github.com/Shougo/dein.vim/blob/master/autoload/dein/job.vim instead of the link.
Sorry for inconvenience.
The MIT License (MIT)

Copyright (c) 2017 Alisue, hashnote.net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

I have added it.
Please check.

Confirmed. Thanks!


Unable to login via Github with two factor verification

🐛 Bug Report
Unable to login leetcode (US) via Github. It shows my credential is wrong in two-factor authentication. But I have tried for a dozens times, and I'm confident about the correctness of my creditial both password and TFA.
My leetcode account is linked to my github account.
To Reproduce

Install extension from market
Login via Github with an account enabled TFA

Expected behavior
Login successfully
Extension Output
Paste here the LeetCode extension log from output channel.
Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.
v10.19.0
 Active  Name               Version         Desc
----------------------------------------------------------------------------------------------------
   ✔     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
   ✔     company            2017.12.18      Plugin to query by company for free user.
   ✔     cache              default         Plugin to provide local cache.
   ✔     retry              default         Plugin to retry last failed request if autologin.enable is on.
   ✘     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
   ✔     leetcode           default         Plugin to talk with leetcode APIs.
 Active  Name               Version         Desc
----------------------------------------------------------------------------------------------------
   ✔     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
   ✔     company            2017.12.18      Plugin to query by company for free user.
   ✔     cache              default         Plugin to provide local cache.
   ✔     retry              default         Plugin to retry last failed request if autologin.enable is on.
   ✘     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
   ✔     leetcode           default         Plugin to talk with leetcode APIs.
 Active  Name               Version         Desc
----------------------------------------------------------------------------------------------------
   ✔     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
   ✔     company            2017.12.18      Plugin to query by company for free user.
   ✔     cache              default         Plugin to provide local cache.
   ✔     retry              default         Plugin to retry last failed request if autologin.enable is on.
   ✔     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
   ✔     leetcode           default         Plugin to talk with leetcode APIs.
 Active  Name               Version         Desc
----------------------------------------------------------------------------------------------------
   ✔     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
   ✔     company            2017.12.18      Plugin to query by company for free user.
   ✔     cache              default         Plugin to provide local cache.
   ✔     retry              default         Plugin to retry last failed request if autologin.enable is on.
   ✘     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
   ✔     leetcode           default         Plugin to talk with leetcode APIs.
[ERROR] You are not login yet?
login: pass: twoFactorCode: [ERROR] Login failed. Please make sure the credential is correct.

Your Environment

os: macos 10.15.3
extension settings:
nodejs version: v10.19.0
vscode version: 1.46
extension version: 0.16.2

Same as #559 please try to update your node first

Close for duplication.


[zaza] smoke func tests

This PR providing smoke tests against simple bundle, which can be run even on LXD.

IIUC this smoke test is more designed to test COUModel and indirectly python libjuju. I would rather prefer to run cou run --no-interactive and expect that applications on the bundle successfully upgraded. I think it would be a more solid functional test.

Since we choose to not use libjuju directly in cou and introduced the COUModel we need to tests it. The smoke tests should do COUModel testing, CLI testing and yes we can do even simple cou run if it works fine. Right now this PR is limited to test only COUModel and other tests can be provided later.

As we discussed I moved smoke bundle to gate_tests and remove aliases. Like this we can add more tests to smoke and gate at the same time, and smoke bundle will be run first before full tests.
example:
tests:
  - tests.functional.tests.model.COUModelTest
  - tests.functional.tests.cli.CLITest1
  - tests.functional.tests.cli.CLITest2
  - ...
  - openstack:
    - tests.functional.tests.backup.BackupTest


Unable to find a destination matching the provided destination specifier when building scheme "ObjcExceptionBridging (watchOS)" in XCGLogger.xcodeproj

When it reaches the step where it builds "ObjcExceptionBridging (watchOS)" in XCGLogger.xcodeproj, I get the following error in the console log:
/usr/bin/xcrun xcodebuild -project /Users/xxxxxx/Desktop/PlayPlex-iOS/Carthage/Checkouts/XCGLogger/XCGLogger.xcodeproj -scheme ObjcExceptionBridging\ (watchOS) -configuration Release -derivedDataPath /Users/xxxxx/Library/Caches/org.carthage.CarthageKit/DerivedData/XCGLogger/5.0.1 -sdk watchsimulator -destination platform=watchOS\ Simulator,id=11EBB6AD-E7DC-48AD-ABB2-F1DE2A5CB14D -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /Users/xxxxx/Desktop/PlayPlex-iOS/Carthage/Checkouts/XCGLogger)User defaults from command line:
    IDEDerivedDataPathOverride = /Users/xxxxx/Library/Caches/org.carthage.CarthageKit/DerivedData/XCGLogger/5.0.1

Build settings from command line:
    CARTHAGE = YES
    CODE_SIGN_IDENTITY =
    CODE_SIGNING_REQUIRED = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = watchsimulator3.2

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:watchOS Simulator, id:11EBB6AD-E7DC-48AD-ABB2-F1DE2A5CB14D }

	Ineligible destinations for the "ObjcExceptionBridging (watchOS)" scheme:
		{ platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Generic watchOS Device }
		{ platform:watchOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-watchsimulator:placeholder, name:Generic watchOS Simulator Device }

There are no clear answers online about how to get around this. I'm using Xcode 8.3.3.

I believe this was fixed with PR #203 .  Please reopen if it's still an issue.


Benchmarks and comparisons

It'd be really nice to see comparative benchmarks with other similar libs and how they compare with valibot.

Here #19 you will find a first answer. I'll be adding more information to the documentation over the next few weeks.

An alternative benchmark: https://github.com/icebob/validator-benchmark

Wow, nice job 10x speed.


Quoted strings are parsed incorrectly on windows

As I mentioned in https://github.com/linux-cultist/venv-selector.nvim/pull/169#discussion_r1749911764, there's still a bug here such that the spaces in the path are not resolved.
A simple example:
"fd.exe python.exe 'C:/space test' --full-path --colora never"

output:
{ "C:\\space test", "fd.exe", "python.exe", "--full-path", "--color", "never" }

That's so strange. I tested that even. Let me test again tomorrow. Thanks for reporting it!

I can confirm there is a bug that happens when using quotes in general - the quoted string end up first in the lua table, which is incorrect of course.
Will have a look tonight.

Still not fixed this completely. Quoted strings dont work currently.

@ayooh Hopefully fixed now, please test on your system.
This is much trickier than I thought from the start. Splitting strings on space is easy, but not splitting when they are quoted led to a complicated function.


Make value public to be able to extract the decoded objects

Any specific reason? If this is for decoding into arrays (like j => "array"), [these] (https://github.com/Anviking/Decodable/blob/master/Decodable/PlsFixSwift.swift#L55L93) overloads should make it work.

I guess I'm probably missing something. Which method should I be using to decode a j: AnyObject that's an array like:
[
 { "Key":"value",
 "key2":"value"},
 { "Key":"value",
 "key2":"value"}
]

This is, there's no key with a string value to access the array of dictionaries.

Oh, now I see. You're right, there is no way. Merging this. Thanks @JaviSoto!

Awesome thanks!


[Bug]: "focused" test status is undocumented

Version
latest
Steps to reproduce
"focused" was added as a test report status here but it isn't documented, I had to find the pull-request which added it to get clarity about what it meant.
See https://jestjs.io/search?q=focused

Not stale - just not seen

The link in the description is pointing to a PR related with GitHubActionsReporter. I can’t find anything about "focused" in there. That makes it hard to understand your issue.
Perhaps you could elaborate with some usage example, or with examples how other statuses are documented?
Are you simply trying to say that documentation of the testResultsProcessor configuration option does not mention numFocusedTests property? Or is this something else?


RFC for metrics list

We should discuss which metrics need to be collected

Relevant for the 'blockchain as a service' project.
We may consider both 'service' metrics like avg commitment time, current tps, avg block size etc and 'business metrics' such as ISI ranking, token holders ranking, users ranking (by transaction volume). Though those business ones rather consider realtime analytics.


detect asset view in sharepoint and switch out of admin mode

When navigating to an image in SharePoint, the sidekick remains in admin mode, prevcenting the user from previewing the file.
Expectation: The sidekick can tell files from folders and react accordingly while the user is navigating through SharePoint.

:tada: This issue has been resolved in version 6.30.2 :tada:
The release is available on:

GitHub release
v6.30.2

Your semantic-release bot :package::rocket:


Prepare for arch board

Done. Links updated https://github.com/Azure/azure-sdk/issues/1905
email sent


Custom styling options

Would be cool to be able to set a bit of custom styling, at least button color and maybe size.

This is something we discussed and definitely would like to bring in. Hopefully, it'll be soon.


Add OutputFormat to IAM report

Allow outputting the IAM report as a json file.
Resolves https://github.com/duo-labs/cloudmapper/issues/637

I think you may have missed committing a file, as I believe all this does is provide a command-line argument that outputs a file with either a .html or .json extension, meaning it's the same file, just with different extensions, so the .json file would be an HTML file.

@0xdabbad00 The other thing is it skips the template.render(t=t) command - so it actually dumps the json into a file, instead of creating an HTML file out of it and then saving it to a file

Ah, ok. So I guess the use case is so you can feed this data into your own template somehow.


Dojo starter guide

Overhaul the dojo starter guide to include the new SDK.
Remove the concept of ECS and more explain the framework and how it simplifies development.

Hi @ponderingdemocritus can I work on this?

Hello @ponderingdemocritus can i please be assigned this task?

Hi @ponderingdemocritus. As talked on discord, I would be available to work on the documentation of the Dojo Godot SDK.
The actual SDK is not ready yet, but we are working on it, and writing documentation at the same time (and with the same persons) as the actual SDK code would be worth


[Text Analytics] Singular response types missing request level property ModelVersion (v1.0.0-preview.1)

The singular (i.e. non-batch) response types appear to be missing the request level property ModelVersion.
For example, AnalyzeSentimentResult returned by TextAnalyticsClient.AnalyzeSentiment(string inputText, string language = null, CancellationToken cancellationToken = default) does not contain a ModelVersion property. This is true for other singular response types like DetectLanguageResult.

@annelo-msft

As we were thinking on leaving the singular methods as simple as possible, we don't have that possibility. For batch methods though, we do allow it.
Do you think we should revisit this decision?

I do, depending on the cost of course. Unfortunately, a very common pattern we see is customers start with the simple calls, and never optimize with batch. So I would say we still need that level of detail. Having said that, if it's too much work or makes other things uglier it's probably not worth it.

Thanks! I will look into it

@assafi so I took a look and because for single document input we are returning atomic types, we don't have the ability to return statistics.
i.e. Response<IReadOnlyCollection<LinkedEntity>> response = client.RecognizeLinkedEntities(input);

Currently our single document method looks like this:
RecognizeLinkedEntities(string inputText, string language = default)
If we add model version, it will be another default parameter:
RecognizeLinkedEntities(string inputText, string language = default, string modelVersion)
Although it will work in .NET, for Java it implies that we need to create a method overload:
`RecognizeLinkedEntities(string inputText, string language = default, string modelVersion)`

@maririos we expect very few customers will use modelVersion. In addition, most likely this will be a client-wide setting and not something that will change for each call.
I think it's safe to move it to the requests options and/or client options type.

I think it's safe to move it to the requests options and/or client options type.

We currently have it in the request options, which is only available for the batch methods for .NET and Java.

and/or client options type.

Interesting! I wonder what/if it was decided to leave it in the request options instead of client options. I created issue https://github.com/Azure/azure-sdk-for-net/issues/10493 to follow up on that

Is it possible different model versions would be specified for different models? (i.e. one version for language detection, one for entity extraction, etc.)  IIRC, this is why we allowed it to be specified per call, and not on client options.  I agree it probably only needs to be set once per client instantiation (I defer to @assafi on the business requirement from customers).  If it was on client options, would we need a model version for each different type?

Thanks for the context Anne!

Good suggestion. Safe answer is "we don't know". I think it's always possible for customers to instantiate a new client for these advance scenarios.
If I had to choose, I would opt for simplicity (e.g having it as a single setting in client/request options) and wait to hear users feedback before making the change.

Will leave as it is for now.
If we receive feedback from users that suggest they need model version on the client level, then we will adjust.


nit: fix spelling for requirements.txt

It's convention to call the file requirements.txt (ie plural with an 's'). Change needs to update both the filename itself and the reference to it in the README.md (which is self-consistent but also doesn't follow convention)

@microsoft-github-policy-service agree

Thanks!


Suborbital Ecosystem page, sidebar tweaks

This PR adds content to the Suborbital Ecosystem page, tweaks the sidebar, and sets the root path to / for cleaner URLs.

Apart from the lockfiles, this looks good to me!
As for npm vs yarn, I think we should just choose one and stick with it, I think it's just going to be more hassle to maintain support for both, and especially if we want this repo to be more contributor-friendly (while choice is nice for users, it will make it harder for us to properly support everyone).
Once this is merged, I can submit a PR for tweaking the sidebar-collapsing behavior.

This looks good to me! I'll post a separate issue about my digging around yarn!


Support for Laravel 5.5

When I'm trying to use this library with Laravel 5.5 I'm getting an ErrorException: array_merge(): Argument #1 is not an array in /vendor/sentry/sentry/lib/Raven/Breadcrumbs/ErrorHandler.php:34.
That's what's in line 34:

return call_user_func($this->existingHandler, $code, $message, $file, $line, $context);

Any ideas why this might fail with Laravel 5.5? Is it even caused by this lib? There isn't anything else in the stack trace, but it worked fine before upgrading to 5.5 and I don't use array_merge anywhere.

It seems more likely this occurs in the existingHandler (whatever the existing handler is in your case), I don't think it's caused by the Sentry lib since I'm running it in a few Laravel 5.5 projects without a problem.
Have you checked the laravel logs or php error logs? That might contain a better stacktrace, or run it locally with debug enabled to see some more context.
Or do you have other packages that might be adding an exception handler (maybe you can share your composer.json so I can try to reproduce)?

Thank you for your help. But after some debugging it just seems the stack trace is somehow broken and the exception doesn't belong to Sentry at all. Stepping through the application shows that the error is raised inside Laravel itself, just no clue why - yet.

@hohl no problem 😉  Happy you found it!

@hohl Running into the same issue, can you give details about what fixed it for you?

@foxted Sorry for the the (too) late response. But yeah, had the exact same issue.

I would like to add the recommendation to not enable/load Sentry in your testing environment at all :)

It wasn't, but somehow got triggered :/

Well, it wasn't configured (DSN is only set on the production server) but the library always gets loaded.

Hmm I see some room for improvement there, thanks for all the insights!


JTAppleCalendarCell not showing all views inside it

Version : 7.0.1
My problem is that 2 of 4 Views that im putting inside the UICollectionViewCell are not appearing for some reason. It looks like the cell it's limiting the number of elements inside it. All the 4 Views are identical, but 2 of them are not appearing. I searched about it but didn't found anything that could help me. I tried even to overlay them, but even when i do it, they do not appear, Its just like the cell is bypassing them. Some pictures that may help to illustrate the situation

The pictures show that he's just showing the views from the middle. I thought that the problem could be space, however, as I sad, I tried to overlay them to see what happen and nothing. I've already made basic setup, as connecting them to my custom class. My custom class code:
`import UIKit
import JTAppleCalendar
class CustomCell: JTAppleCell {
@IBOutlet weak var dateLabel : UILabel!
@IBOutlet weak var selectedView : UIView!
public var cellDate : Date?
@IBOutlet weak var firstTrainingCircle: UIView!
@IBOutlet weak var secondTrainingCell: UIView!
@IBOutlet weak var thirdTrainingCell: UIView!
@IBOutlet weak var fourthTrainingCell: UIView!
}`
The day label, the View that display when the cell is selected and the middle Views are appearing as they should, so, why the green and red views are ignored? I really have no idea why, excuse me if It's a dumb question, but since Im trying to solve It since yesterday and could get It I ask to you guys.

By any chance those 2 end views (left and right) are accidentally inside of the Red view?
If youre free, you can join me here -> https://gitter.im/patchthecode/JTAppleCalendar

No, i already verified it

Any chance you can send or show a sample app?
If not, i can talk more here -> https://gitter.im/patchthecode/JTAppleCalendar

Yes, i can. Actually im leaving at the moment. If you still on tomorrow i can chat with you. Tomorrow i will reproduce the error in a simple app and send it to you. Thank you for the help ;)

Awesome. Will await this.

Thank you for waiting. Im sending a simple app reproducing my problem.
ReproduceError.zip

Looks ugly, but i thin the problem was in your constraints.
ReproduceError.zip

closing issue now.
If you got anymore questions. just ask away.
cheers 🍻

Worked perfectly ;). Thank you


chore: edit file job.nomad

:tada: This PR is included in version 1.3.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Peer is disconnecting us because ... attempting to push a block that is too old

That's probably why it's hard to get into sync after got out of sync?
2015-08-22T22:20:33 p2p:message read_loop on_closing_connectio ] Peer <IP_ADDRESS>:1776 is disconnecting us because of an error: You offered us a block that we reject as invalid, exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"fork_database.cpp","line":69,"method":"_push_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"item->num > std::max<int64_t>( 0, int64_t(_head->num) - (_max_size) ): attempting to push a block that is too old","data":{"item->num":174057,"head":174075,"max_size":10}},{"context":{"level":"warn","file":"db_block.cpp","line":176,"method":"_push_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"","data":{"new_block":{"previous":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53","timestamp":"2015-08-22T22:20:14","witness":"1.6.4","next_secret_hash":"a6b9319cdc3465202c6ee6ba20f6fcfb4eb26211","previous_secret":"d879b9f9a141a1f9edc662fad77dcfa068e6562c","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2055c39c86e1dd8acc632ea55d010ce56dd01601106c3367fa5ae6b3d08d35a5567a545a0a23a1bace2bf651c049a2559ba75f8ba87b0e597fe9ca88f113a2804e","transactions":[]}}},{"context":{"level":"warn","file":"application.cpp","line":379,"method":"handle_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"","data":{"blk_msg":{"block":{"previous":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53","timestamp":"2015-08-22T22:20:14","witness":"1.6.4","next_secret_hash":"a6b9319cdc3465202c6ee6ba20f6fcfb4eb26211","previous_secret":"d879b9f9a141a1f9edc662fad77dcfa068e6562c","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2055c39c86e1dd8acc632ea55d010ce56dd01601106c3367fa5ae6b3d08d35a5567a545a0a23a1bace2bf651c049a2559ba75f8ba87b0e597fe9ca88f113a2804e","transactions":[]},"block_id":"0002a7e934a552405ffc797448a046e0bbf916d9"},"sync_mode":true}}]}                     node.cpp:2666

Related logs:
2015-08-22T22:20:31 th_a:Witness Block Production block_production_loo ] slot: 18 scheduled_witness: 1.6.69 scheduled_time: 2015-08-22T22:20:32 now: 2015-08-22T22:20:32                        witness.cpp:240
2015-08-22T22:20:32 th_a:invoke handle_block         handle_block ] Got block #174074 from network                      application.cpp:348
2015-08-22T22:20:32 th_a:invoke handle_block           push_block ] Pushing block to fork database that failed to link.
        fork_database.cpp:57
2015-08-22T22:20:32 th_a:invoke get_blockchain_synopsis get_blockchain_synop ] reference_point:<PHONE_NUMBER>000000000000000000000000000000 number_of_blocks_after_reference_point: 0 result: ["0000a7e9879f3533922e34a2749fd0923213a23b","0001a7e9d307c5aa6cd8d2241eccbb236ca95df5","000227e941f966409ec1c773e3df0559e192361f","000267e948178758d3204457002db2494a351c0c","000287e9ec19f697eb11a18e5ef2df2ff18edb0c","000297e93de86fb634522eef5bce70d319594b6d","00029fe99aae786de2af1d97d889562dfafbf7a5","0002a3e923627564db1b4cb23a3c028a18437c3f","0002a5e9226b5e94953812e672237a35fd639054","0002a6e979268580885911bc471e5f8ee629f10b","0002a769000a78e75ab6c139f8dca26333a231de","0002a7a9286fc2ff9ac94e9f09a99e17f0f554ec","0002a7c90b260bf8bd6eb48c9aaf829810e6221e","0002a7d9856ad9e3213247d05e312b12142beca7","0002a7e1c883436be2682d0aa92dd77154e14c30","0002a7e5d8ced676183177d06aa0fff6607939b6","0002a7e7d0010c719d124b4c89ac2fd6e0f05349","0002a7e8b9613cd334a36aeccdb1d32460d8fa53","0002a7e934a552405ffc797448a046e0bbf916d9"]                   application.cpp:492
2015-08-22T22:20:32 th_a:Witness Block Production block_production_loo ] slot: 19 scheduled_witness: 1.6.58 scheduled_time: 2015-08-22T22:20:33 now: 2015-08-22T22:20:33                        witness.cpp:240
2015-08-22T22:20:33  th_a:invoke get_item             get_item ] Request for item {"item_type":1001,"item_hash":"0002a7e934a552405ffc797448a046e0bbf916d9"}                     application.cpp:443
2015-08-22T22:20:33  th_a:invoke get_item             get_item ] Serving up block #174057                       application.cpp:451
2015-08-22T22:20:33  th_a:invoke get_item             get_item ] Request for item {"item_type":1001,"item_hash":"0002a7e934a552405ffc797448a046e0bbf916d9"}                     application.cpp:443
2015-08-22T22:20:33  th_a:invoke get_item             get_item ] Serving up block #174057                       application.cpp:451
...
...
2015-08-22T22:20:33 th_a:Witness Block Production block_production_loo ] slot: 20 scheduled_witness: 1.6.75 scheduled_time: 2015-08-22T22:20:34 now: 2015-08-22T22:20:34                        witness.cpp:240
2015-08-22T22:20:34 th_a:invoke handle_block         handle_block ] Got block #174076 from network                      application.cpp:348
2015-08-22T22:20:34 th_a:invoke handle_block           push_block ] Pushing block to fork database that failed to link.
        fork_database.cpp:57
2015-08-22T22:20:34 th_a:invoke get_blockchain_synopsis get_blockchain_synop ] reference_point:<PHONE_NUMBER>000000000000000000000000000000 number_of_blocks_after_reference_point: 0 result: ["0000a7e9879f3533922e34a2749fd0923213a23b","0001a7e9d307c5aa6cd8d2241eccbb236ca95df5","000227e941f966409ec1c773e3df0559e192361f","000267e948178758d3204457002db2494a351c0c","000287e9ec19f697eb11a18e5ef2df2ff18edb0c","000297e93de86fb634522eef5bce70d319594b6d","00029fe99aae786de2af1d97d889562dfafbf7a5","0002a3e923627564db1b4cb23a3c028a18437c3f","0002a5e9226b5e94953812e672237a35fd639054","0002a6e979268580885911bc471e5f8ee629f10b","0002a769000a78e75ab6c139f8dca26333a231de","0002a7a9286fc2ff9ac94e9f09a99e17f0f554ec","0002a7c90b260bf8bd6eb48c9aaf829810e6221e","0002a7d9856ad9e3213247d05e312b12142beca7","0002a7e1c883436be2682d0aa92dd77154e14c30","0002a7e5d8ced676183177d06aa0fff6607939b6","0002a7e7d0010c719d124b4c89ac2fd6e0f05349","0002a7e8b9613cd334a36aeccdb1d32460d8fa53","0002a7e934a552405ffc797448a046e0bbf916d9"]                   application.cpp:492
2015-08-22T22:20:34  th_a:invoke get_item             get_item ] Request for item {"item_type":1001,"item_hash":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53"}                     application.cpp:443
2015-08-22T22:20:34  th_a:invoke get_item             get_item ] Serving up block #174056                       application.cpp:451
2015-08-22T22:20:34  th_a:invoke get_item             get_item ] Request for item {"item_type":1001,"item_hash":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53"}                     application.cpp:443
2015-08-22T22:20:34  th_a:invoke get_item             get_item ] Serving up block #174056                       application.cpp:451

Perhaps related p2p.log:
2015-08-22T22:20:32 p2p:message read_loop trigger_p2p_network_ ] Triggering connect loop now                    node.cpp:974
2015-08-22T22:20:32 p2p:message read_loop         send_message ] peer_connection::send_message() enqueueing message of type 5012 for p
eer <IP_ADDRESS>:1776                      peer_connection.cpp:365
2015-08-22T22:20:32 p2p:message read_loop send_queueable_messa ] peer_connection::send_message() is firing up send_queued_message_task
                  peer_connection.cpp:354
2015-08-22T22:20:32 p2p:send_queued_messages_task              counter ] entering peer_connection::send_queued_messages_task()
                peer_connection.cpp:279
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task() calling message_
oriented_connection::send_message() to send message of type 5012 for peer <IP_ADDRESS>:1776                        peer_connection.cpp:
291
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task()'s call to message_oriented_connection::send_message() completed normally for peer <IP_ADDRESS>:1776                        peer_connection.cpp:294
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] leaving peer_connection::send_queued_messages_task() due to queue exhaustion                   peer_connection.cpp:326
2015-08-22T22:20:32 p2p:send_queued_messages_task             ~counter ] leaving peer_connection::send_queued_messages_task()
                peer_connection.cpp:280
2015-08-22T22:20:32 p2p:message read_loop fetch_next_batch_of_ ] sync: sending a request for the next items after 0002a7e934a552405ffc
797448a046e0bbf916d9 to peer <IP_ADDRESS>:1776, (full request is ["0000a7e9879f3533922e34a2749fd0923213a23b","0001a7e9d307c5aa6cd8d2241
eccbb236ca95df5","000227e941f966409ec1c773e3df0559e192361f","000267e948178758d3204457002db2494a351c0c","000287e9ec19f697eb11a18e5ef2df
2ff18edb0c","000297e93de86fb634522eef5bce70d319594b6d","00029fe99aae786de2af1d97d889562dfafbf7a5","0002a3e923627564db1b4cb23a3c028a184
37c3f","0002a5e9226b5e94953812e672237a35fd639054","0002a6e979268580885911bc471e5f8ee629f10b","0002a769000a78e75ab6c139f8dca26333a231de","0002a7a9286fc2ff9ac94e9f09a99e17f0f554ec","0002a7c90b260bf8bd6eb48c9aaf829810e6221e","0002a7d9856ad9e3213247d05e312b12142beca7","0002a7e1c883436be2682d0aa92dd77154e14c30","0002a7e5d8ced676183177d06aa0fff6607939b6","0002a7e7d0010c719d124b4c89ac2fd6e0f05349","0002a7e8b9613cd334a36aeccdb1d32460d8fa53","0002a7e934a552405ffc797448a046e0bbf916d9"])                       node.cpp:2290
2015-08-22T22:20:32 p2p:message read_loop         send_message ] peer_connection::send_message() enqueueing message of type 5003 for peer <IP_ADDRESS>:1776                      peer_connection.cpp:365
2015-08-22T22:20:32 p2p:message read_loop send_queueable_messa ] peer_connection::send_message() is firing up send_queued_message_task                  peer_connection.cpp:354
2015-08-22T22:20:32 p2p:send_queued_messages_task              counter ] entering peer_connection::send_queued_messages_task()
                peer_connection.cpp:279
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task() calling message_oriented_connection::send_message() to send message of type 5003 for peer <IP_ADDRESS>:1776                        peer_connection.cpp:291
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task()'s call to message_oriented_connection::send_message() completed normally for peer <IP_ADDRESS>:1776                        peer_connection.cpp:294
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] leaving peer_connection::send_queued_messages_task() due to queue exhaustion                   peer_connection.cpp:326
2015-08-22T22:20:32 p2p:send_queued_messages_task             ~counter ] leaving peer_connection::send_queued_messages_task()
                peer_connection.cpp:280
2015-08-22T22:20:32 p2p:message read_loop           on_message ] handling message current_time_request_message_type e5780688f0e9b1e00acb9ff50817d92f749c9a10 size 8 from peer <IP_ADDRESS>:1776                  node.cpp:1651
2015-08-22T22:20:32 p2p:message read_loop         send_message ] peer_connection::send_message() enqueueing message of type 5013 for peer <IP_ADDRESS>:1776                      peer_connection.cpp:365
2015-08-22T22:20:32 p2p:message read_loop send_queueable_messa ] peer_connection::send_message() is firing up send_queued_message_task                  peer_connection.cpp:354
2015-08-22T22:20:32 p2p:send_queued_messages_task              counter ] entering peer_connection::send_queued_messages_task()
                peer_connection.cpp:279
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task() calling message_oriented_connection::send_message() to send message of type 5013 for peer <IP_ADDRESS>:1776                        peer_connection.cpp:291
2015-08-22T22:20:32 p2p:message read_loop           on_message ] handling message fetch_blockchain_item_ids_message_type 5075c67ce59f002f5435995134ef22a87e859ad3 size 385 from peer <IP_ADDRESS>:1776                   node.cpp:1651
2015-08-22T22:20:32 p2p:message read_loop on_fetch_blockchain_ ] sync: received a request for item ids after {"item_type":1001,"item_hash":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53"} from peer <IP_ADDRESS>:1776 (full request: ["0000a7e847efe59b6e124af62687166acce0ebaf","0001a7e8ec8c070259f8d773d05750813e6038b2","000227e88efb25dc18d90992807df55854bb47c5","000267e8827c24922fe2db83a225bbaf30d4f14f","000287e88b33bbee02553262b732fcf0f57b24c7","000297e8b93a30947ec210bd69684375982a13ab","00029fe8a3b6d4f54831b463a111cf43c9bfaa24","0002a3e80aa70879302f358cd9375ae4f597f6aa","0002a5e827e1137726c59010170fd155bd40e4a7","0002a6e87a70bb57c3abb6002798d410d2c54836","0002a768b2eea4137e0fdfb9c67c2c6bc530b5e7","0002a7a84fdbc1df066c99e9608de8ccaf668f28","0002a7c841dbd9b2ca43332b659e0b8c59d85b64","0002a7d831c2e76a98e6915fc7b0801c14edaf21","0002a7e06f888216caba18a7ac32d829d069f174","0002a7e470fa4dc69231e31606933559d8b15735","0002a7e6e36d2ebacc713ef5918fc694a390c69e","0002a7e7d0010c719d124b4c89ac2fd6e0f05349","0002a7e8b9613cd334a36aeccdb1d32460d8fa53"])                    node.cpp:2132
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task()'s call to message_oriented_connection::send_message() completed normally for peer <IP_ADDRESS>:1776                        peer_connection.cpp:294
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] leaving peer_connection::send_queued_messages_task() due to queue exhaustion                   peer_connection.cpp:326
2015-08-22T22:20:32 p2p:send_queued_messages_task             ~counter ] leaving peer_connection::send_queued_messages_task()
                peer_connection.cpp:280
2015-08-22T22:20:32 p2p:message read_loop on_fetch_blockchain_ ] reply_message: {"total_remaining_item_count":0,"item_type":1001,"item_hashes_available":["0002a7e8b9613cd334a36aeccdb1d32460d8fa53","0002a7e934a552405ffc797448a046e0bbf916d9"]} fetch_blockchain_item_ids_message_received.blockchain_synopsis: ["0000a7e847efe59b6e124af62687166acce0ebaf","0001a7e8ec8c070259f8d773d05750813e6038b2","000227e88efb25dc18d90992807df55854bb47c5","000267e8827c24922fe2db83a225bbaf30d4f14f","000287e88b33bbee02553262b732fcf0f57b24c7","000297e8b93a30947ec210bd69684375982a13ab","00029fe8a3b6d4f54831b463a111cf43c9bfaa24","0002a3e80aa70879302f358cd9375ae4f597f6aa","0002a5e827e1137726c59010170fd155bd40e4a7","0002a6e87a70bb57c3abb6002798d410d2c54836","0002a768b2eea4137e0fdfb9c67c2c6bc530b5e7","0002a7a84fdbc1df066c99e9608de8ccaf668f28","0002a7c841dbd9b2ca43332b659e0b8c59d85b64","0002a7d831c2e76a98e6915fc7b0801c14edaf21","0002a7e06f888216caba18a7ac32d829d069f174","0002a7e470fa4dc69231e31606933559d8b15735","0002a7e6e36d2ebacc713ef5918fc694a390c69e","0002a7e7d0010c719d124b4c89ac2fd6e0f05349","0002a7e8b9613cd334a36aeccdb1d32460d8fa53"]                    node.cpp:2143
2015-08-22T22:20:32 p2p:message read_loop on_fetch_blockchain_ ] sync: peer is out of sync, sending peer 2 items ids: first: 0002a7e8b9613cd334a36aeccdb1d32460d8fa53, last: 0002a7e934a552405ffc797448a046e0bbf916d9                   node.cpp:2181
2015-08-22T22:20:32 p2p:message read_loop         send_message ] peer_connection::send_message() enqueueing message of type 5002 for peer <IP_ADDRESS>:1776                      peer_connection.cpp:365
2015-08-22T22:20:32 p2p:message read_loop send_queueable_messa ] peer_connection::send_message() is firing up send_queued_message_task                  peer_connection.cpp:354
2015-08-22T22:20:32 p2p:send_queued_messages_task              counter ] entering peer_connection::send_queued_messages_task()
                peer_connection.cpp:279
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task() calling message_oriented_connection::send_message() to send message of type 5002 for peer <IP_ADDRESS>:1776                        peer_connection.cpp:291
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task()'s call to message_oriented_connection::send_message() completed normally for peer <IP_ADDRESS>:1776                        peer_connection.cpp:294
2015-08-22T22:20:32 p2p:send_queued_messages_task send_queued_messages ] leaving peer_connection::send_queued_messages_task() due to queue exhaustion                   peer_connection.cpp:326
2015-08-22T22:20:32 p2p:send_queued_messages_task             ~counter ] leaving peer_connection::send_queued_messages_task()
                peer_connection.cpp:280
2015-08-22T22:20:33 p2p:message read_loop           on_message ] handling message current_time_reply_message_type b8bfc872e69729b27a4c3095f43c9e7193ade860 size 24 from peer <IP_ADDRESS>:1776                   node.cpp:1651
2015-08-22T22:20:33 p2p:message read_loop           on_message ] handling message blockchain_item_ids_inventory_message_type 31309d6cc8dfc0ff88a1b1bff827a740a4fff8ec size 29 from peer <IP_ADDRESS>:1776                        node.cpp:1651
2015-08-22T22:20:33 p2p:message read_loop on_blockchain_item_i ] sync: received a list of 1 available items from <IP_ADDRESS>:1776
                       node.cpp:2306
2015-08-22T22:20:33 p2p:message read_loop on_blockchain_item_i ] sync: peer said we're up-to-date, entering normal operation with this
 peer                     node.cpp:2321
...
...
2015-08-22T22:20:33 p2p:message read_loop           on_message ] handling message fetch_items_message_type 9774bfb6b6ee437cd1920b9740afa0592e2ddb37 size 25 from peer <IP_ADDRESS>:1776                  node.cpp:1651
2015-08-22T22:20:33 p2p:message read_loop on_fetch_items_messa ] received items request for ids ["0002a7e934a552405ffc797448a046e0bbf916d9"] of type 1001 from peer <IP_ADDRESS>:1776                    node.cpp:2508
2015-08-22T22:20:33 p2p:message read_loop on_fetch_items_messa ] received item request from peer <IP_ADDRESS>:1776, returning the item from delegate with id 291ef0c0d0576452c14975696ce0cb1d11a96e97 size 172                   node.cpp:2538
2015-08-22T22:20:33 p2p:message read_loop            send_item ] peer_connection::send_item() enqueueing message of type 1001 for peer <IP_ADDRESS>:1776                 peer_connection.cpp:374
2015-08-22T22:20:33 p2p:message read_loop send_queueable_messa ] peer_connection::send_message() is firing up send_queued_message_task                  peer_connection.cpp:354
2015-08-22T22:20:33 p2p:send_queued_messages_task              counter ] entering peer_connection::send_queued_messages_task()
                peer_connection.cpp:279
2015-08-22T22:20:33 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task() calling message_oriented_connection::send_message() to send message of type 1001 for peer <IP_ADDRESS>:1776                        peer_connection.cpp:291
2015-08-22T22:20:33 p2p:send_queued_messages_task send_queued_messages ] peer_connection::send_queued_messages_task()'s call to message_oriented_connection::send_message() completed normally for peer <IP_ADDRESS>:1776                        peer_connection.cpp:294
2015-08-22T22:20:33 p2p:send_queued_messages_task send_queued_messages ] leaving peer_connection::send_queued_messages_task() due to queue exhaustion                   peer_connection.cpp:326
2015-08-22T22:20:33 p2p:send_queued_messages_task             ~counter ] leaving peer_connection::send_queued_messages_task()
                peer_connection.cpp:280
...
...
2015-08-22T22:20:33 p2p:message read_loop           on_message ] handling message closing_connection_message_type 548113417bb6f43926946b81bc100840e0b33f3f size 1738 from peer <IP_ADDRESS>:1776                 node.cpp:1651
2015-08-22T22:20:33 p2p:message read_loop on_closing_connectio ] Peer <IP_ADDRESS>:1776 is disconnecting us because of an error: You offered us a block that we reject as invalid, exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"fork_database.cpp","line":69,"method":"_push_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"item->num > std::max<int64_t>( 0, int64_t(_head->num) - (_max_size) ): attempting to push a block that is too old","data":{"item->num":174057,"head":174075,"max_size":10}},{"context":{"level":"warn","file":"db_block.cpp","line":176,"method":"_push_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"","data":{"new_block":{"previous":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53","timestamp":"2015-08-22T22:20:14","witness":"1.6.4","next_secret_hash":"a6b9319cdc3465202c6ee6ba20f6fcfb4eb26211","previous_secret":"d879b9f9a141a1f9edc662fad77dcfa068e6562c","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2055c39c86e1dd8acc632ea55d010ce56dd01601106c3367fa5ae6b3d08d35a5567a545a0a23a1bace2bf651c049a2559ba75f8ba87b0e597fe9ca88f113a2804e","transactions":[]}}},{"context":{"level":"warn","file":"application.cpp","line":379,"method":"handle_block","hostname":"","thread_name":"th_a","timestamp":"2015-08-22T22:20:33"},"format":"","data":{"blk_msg":{"block":{"previous":"0002a7e8b9613cd334a36aeccdb1d32460d8fa53","timestamp":"2015-08-22T22:20:14","witness":"1.6.4","next_secret_hash":"a6b9319cdc3465202c6ee6ba20f6fcfb4eb26211","previous_secret":"d879b9f9a141a1f9edc662fad77dcfa068e6562c","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2055c39c86e1dd8acc632ea55d010ce56dd01601106c3367fa5ae6b3d08d35a5567a545a0a23a1bace2bf651c049a2559ba75f8ba87b0e597fe9ca88f113a2804e","transactions":[]},"block_id":"0002a7e934a552405ffc797448a046e0bbf916d9"},"sync_mode":true}}]}                    node.cpp:2666

This issue was moved to bitshares/bitshares-core#72


Will this work on a subword level?

Hello! Thanks for the repo! Will this implementation work on a subword level?

Yes! I implemented this for subword level only (subword vocab size 5K).

awesome! thanks!


optimize map generate code using copilot chat

I haven't test it yet, but these optimizations should work.

getFather:
use path compression
Path Compression refers to the gradual adjustment of the parent node's pointer during the query process, so that it points to higher-level nodes, gradually moving many deep stages closer to the root node.

checkConnection
This optimized version of the method uses a const declaration for the conn and size arrays, and initializes them using the fill() and map() methods. It also initializes a connected variable to false to keep track of whether a connected component that contains all the non-obstacle points has been found.

The method uses a for...of loop to iterate over the neighbors of each non-obstacle point, instead of using forEach(). This can improve performance because for...of loops are generally faster than forEach().
The method also uses a break statement to terminate the loop early if a connected component that contains all the non-obstacle points is found. This can significantly reduce the number of iterations required to check the connectivity of the map.
Overall, these optimizations can improve the performance of the checkConnection method.

Oh yes, thank you very much.😋

Thank you again for your contribution!


Typography plugin cannot be used and built with SvelteKit

If you follow the instructions for using windicss with a sveltekit project everything works fine. Even building said project works correctly (npm run build). However when you add the typography plugin

// --- svelte.config.js ---
import adapter from '@sveltejs/adapter-auto';
import windi from 'svelte-windicss-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	// Consult https://github.com/sveltejs/svelte-preprocess
	// for more information about preprocessors
	preprocess: [windi()],
// ...

// --- windi.config.js ---
export default {
	plugins: [
		require('windicss/plugin/typography')
	]
};

and use prose somewhere (ex route/index.svelte),

hi

the build fails with the following error...
$ svelte-kit build
vite v2.7.6 building for production...
✓ 9 modules transformed.
[vite-plugin-svelte]  Maximum call stack size exceeded
file: .../my-app/src/routes/index.svelte

Sometimes the build succeeds, and yields a correct build, but most of the time it does not.
I can put together a repo with this all setup to run if needed.

thanks for the pointer! my builds were failing and this made me realize that it's coming from the typography plugin. can confirm this problem still exists


Update gRPC client docs with trailer information

Preview: https://review.docs.microsoft.com/en-us/aspnet/core/grpc/client?view=aspnetcore-3.0&branch=pr-en-us-17946

@JamesNK, For a moment there I thought I accidently edited on the wrong version.  The commit I made with a few edits is actually the correct one.  Sorry for the moment of panic.  Ready to squash and merge, hopefully my commit edits were helpful.


Update delete_workflow

name: Sanitize Delete Workflow
about: Remediates arbitrary file delete
Description
Version 0.1.0 is vulnerable to arbitrary file deletion due to improper input sanitization on the delete_workflow API.  This PR ensures the API will only delete JSON files in user_dir.
Checklist
Please check the following items before code is ready to be reviewed.

[X]  Code has passed all tests
[X]  Docstrings have been added/updated in Google Style
[X]  Documentation has been updated
[X]  Code is ready for review

@rayrayraykk please check this PR


Capitalize Tabs Titles

Do you want to request a feature or report a bug?
Feature
What's the current behavior?
The current implementation of the Calendar renders the Toolbar Tabs in lower case as follows :
[today] [back] [next]                  June 04 - 08        [month] [week] [work week] [day] [agenda]
I want/need the words to have the first letter capitalized however, I've research online and through the code and it does not seems to be a dynamic nor easy way I can update these values through props or without updating the source code

What's the expected behavior?
I want/need the words to have the first letter capitalized. example:
[Today] [Back] [Next]                  June 04 - 08        [Month] [Week] [Work Week] [Day] [Agenda]

The current work around was to override the styles like this:
div.rbc-calendar div.rbc-toolbar span.rbc-btn-group button {
text-transform:capitalize
}

This seems to be a good solution so I am closing.


Update input-requirements-receipts.md

We no longer officially support BMP in v2.x.
Lowercase "and".

@bojunehsu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@erhopf: I'm sorry - only the author of this article, @PatrickFarley, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


⚠ Bofrost.at has degraded performance

In 23aebf6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1952 ms

Resolved: Bofrost.at performance has improved in 20613d1 after 44 minutes.


Modernize the library (with TypeScript)

Current problems
This is a great library. However, it still has some downsides:

I cannot really use it in a modern TypeScript project without TypeScript yelling at me because it has no types at all.
It still uses CommonJS.
It uses a very outdated version of htmlparser2.

Suggested changes

[ ] Modernizing the codebase using Vite (with TypeScript support)
[ ] Supporting CommonJS/UMD/ESM altogether.
[ ] Upgrading htmlparser2 to the newest version.

@dave-kennedy What do you think of these problems and suggested changes?

I still use plain JavaScript occasionally and would prefer not to require TypeScript, but maybe not a big deal.

I still use plain JavaScript occasionally and would prefer not to require TypeScript, but maybe not a big deal.

It's OK. We can still write the code in pure JavaScript, and then have a separate .d.ts file to specify types, which does not affect the original code at all.


Skip files where getMainPath fails instead of dying.

This makes it possible to run on a $GOPATH/bin where there are other kinds of files.

Makes sense, thanks! ✨


Check type and value at the same time

Right now, when checking types with is_a(), the return value is None for a scalar value, and an IterableInspector for an iterable value. In neither case can I then go on to check the value of the subject.
For a scalar:
In [9]: ensure(9).is_an(int).which.equals(9)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-9-c205f4e9cc21> in <module>()
----> 1 ensure(9).is_an(int).which.equals(9)

AttributeError: 'NoneType' object has no attribute 'which'

For an iterable:
In [7]: ensure('foo').is_a(str).which.equals('foo')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-7-48f991a6e079> in <module>()
----> 1 ensure('foo').is_a(str).which.equals('foo')

AttributeError: 'IterableInspector' object has no attribute 'which'

The examples are trivial, but I find myself wanting to check the type and value frequently as a part of a chain. I'm used to being able to do this with a fluent assertion interface like Chai, and I'd love to see ensure reach that level of fluency.
A good start would be to never return None, returning the wrapped subject instead, and to add which and whose_value properties on all the inspectors which take you back to the wrapped subject again.

Thanks for the suggestion. How does that look?

Definitely better. What do you think of making each method return something, even self? That way you can stack assertions, e.g.:
(ensure(9)
 .is_greater_than(1)
 .is_less_than(10))

I'd like to keep the assertion language grammatically correct wherever feasible, so I'd rather return another proxy inspector that can access the subject via .and: ensure(9).is_greater_than(1).and.is_less_than(10)

With and being a keyword, will that work? and_ would, but that's a bit ugly. I'll be the first to applaud grammatically correct APIs--that's part of the joy of a fluent interface. But don't forget that "practicality beats purity".
That being said, the design decision lies with you. Thanks for releasing this library--I find it useful on a weekly basis. I look forward to seeing these updates hit PyPI!

Yes, you're right. I'm thinking of using "also" instead of "and".

Released in v0.4.0, please test.


How to decode FNC1 codes in GS1-128 barcode?

Summary of the problem
I want to decode the FNC1 codes in GS1-128 barcode.
We know the GS1-128 structure is the following:
https://i.stack.imgur.com/MKixg.png
and GS1-128 uses application identifiers to describe information contained in a barcode, in above image we can see I use 420 routing aplication identifier followed by rounting information, when the information followed by the identifier code is variable we use FNC1 separator.
https://i.stack.imgur.com/e2Mg3.png
Goal
I need to know where is the FNC1 code in order to know where a new aplication identifier starts.
What I have done
I'm using barcode_scan and my code is the following:
  ScanOptions options = ScanOptions(
    useCamera: -1,
  );
  ScanResult result = await BarcodeScanner.scan(options: options);
  print(result.rawContent);

What I get is<PHONE_NUMBER>89 92<PHONE_NUMBER>78 1234567 1 what I expect is<PHONE_NUMBER>89{FNC1}92<PHONE_NUMBER>78 1234567 1

You can use the utf8.encode and utf8.decode functionality to get control characters as byte representations :)


Line tool not initialized with Lineout endpoint values

Describe the bug
If a plot has lineout applied, and the 'Lineout operator' options has 'interactive' turned on for the generated lineout curve, then the line tool should be initialized with the current lineout endpoints when it is enabled. This is not the case.
If you enable the line tool, disable it, then enable it again, the line tool will finally have the same endpoints as the lineout.
To Reproduce
Steps to reproduce the behavior. For example:

Open curv2d.silo, create a pseudocolor plot and draw.
Open Lineout operator options, click 'interactive' and 'make default' (so 'interactive' will be applied to next lineout).
Using lineout tool, create a lineout on the curv2d plot
Enable the line tool (see it doesn't correspond to the lineout refline).
Disable, then re-enable the line tool -- now it corresponds to the lineout refline.

Expected behavior
I expect line tool to be initialized to lineout endpoint values when Lineout is 'interactive' and line tool is being used on the plot that originated the lineout.
Attachments
First enablement of line tool:

After disabling and re-enabling line tool

Desktop

OS and version: all
VisIt Version: 2.13 - develop
Server info (if applicable):

This bug is actually documented in the interactive mode section for Lineout.


Add priorityClassName, securityContext & serviceMonitor

Adds 3 features:

priorityClassName
securityContext at both container and pod level

Defaults to run as non-root and read only filesystem, which is a change from previous. Default security context works with other defaults in values.yaml. If users are running with ports below 1024 they will need to adjust to run as root again.

Prometheus ServiceMonitor definition (disabled by default)

@steven-sheehy Thanks for your contribution
Unfortunately we will not be able to accept the feature regarding the ServiceMonitor (cf https://github.com/containous/traefik-helm-chart/pull/127#issuecomment-604935789).
So could you rebase your PR and keep only feature on priorityClassName  and securityContext

@mmatur Thanks for the review. I've removed the ServiceMonitor functionality if you'd like to take another look.

Thanks @steven-sheehy.
Could you please add tests on these two new features?

@mmatur Tests added


feat(devnet): activate async backing

Enables async backing for the devnet runtime only, splitting the network config into two using the same name as the runtime. Certain constants had to be copied into the devnet runtime to be altered to as to not affect the testnet runtime.
Note: discovered that the testnet chainspec was using the devnet runtime, meaning the version on paseo may be using the devnet runtime with testnet state. I cant recall when we split the runtimes, and whether that was after the testnet launch, but precaution should be taken on the next onchain runtime upgrade.
It is suggested that apart from a review, both runtimes should be tested via pop up. We should also not merge this before the next runtime upgrade, just in case. I think it should be used for a bit on main first.

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 3.30%. Comparing base (e403ef4) to head (d68bec2).

@@          Coverage Diff          @@
##            main    #143   +/-   ##
=====================================
  Coverage   3.30%   3.30%
=====================================
  Files         30      30
  Lines       6843    6843
  Branches    6843    6843
=====================================
  Hits         226     226
  Misses      6617    6617

Files
Coverage Δ

runtime/common/src/lib.rs
0.00% <ø> (ø)

runtime/devnet/src/lib.rs
14.88% <ø> (ø)

runtime/testnet/src/lib.rs
14.88% <ø> (ø)

node/src/chain_spec.rs
0.00% <0.00%> (ø)

node/src/command.rs
0.00% <0.00%> (ø)


introduce watch command

this is useful to test the Watch API and validate
behaviour of a client application that will use the API

@ecordell thanks, addressed your feedback


The undercurl is set to the string "true" and not only true, this will error with following message:
Error while calling lua chunk: .../share/nvim/lazy/evangelion.nvim/lua/evangelion/init.lua:41: Invalid 'undercurl': not a boolean

This PR makes no sense against the dev branch, as it will change the Readme in the main branch.^^

Hmmm somehow your commit "https://github.com/xero/evangelion.nvim/commit/295b11f3437740eb38a4f31fb93d9731a1147784" reverted the fix again?^^

very odd. i've fixed it again.


Connection reuse

Hello,
I noticed that the odoh-server creates a new TCP connection for each incoming query to the server(s) defined in the variable nameServers. Even if the connection from the previous query still exists.
Is it planned to implement some kind of connection reuse for performance reasons? Or is the idea to always run it next to a recursive resolver in the same local network, where the time for the tcp handshake can be ignored? But even in this situation, connection reuse could be a good thing.

Is it planned to implement some kind of connection reuse for performance reasons? Or is the idea to always run it next to a recursive resolver in the same local network, where the time for the tcp handshake can be ignored? But even in this situation, connection reuse could be a good thing.

Yes, this is still planned! We would also welcome PRs, should you have free cycles to spare. :-)

I am unfortunately no developer :-(, otherwise I would definitely spare some time.


Sharing ReadOnly Items between widgets

Hi I am creating custom set of widgets, and requirement is there is list of properties that comes from database and all widgets needs them, is there a way I can set Dashboard level config that is accessible in widgets?
Thank you,
Ashish

Is it possible to add - editController, so I can inject custom factory/service?

Do you mean an edit controller for a widget? Please have a look at the api of the dashboard provider.

@sdorra thats exactly what I was looking for, Thank you so much!
Is there a plan on adding gridster support as well as putting this on NPM?
Thank you very much for the awesome project btw. 😄

Gridster support is not planned at the moment, but pull requests are welcome 😉
NPM is planned, but their are some problems at the moment #252.


coqPackages.math-classes: 8.9.1 → 8.11.0

Motivation for this change
Support for Coq 8.11
Things done

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

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

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

@GrahamcOfBorg build coqPackages.corn coqPackages_8_11.math-classes


Setting all logging on the root logger as before.

This will revert the default logging behavior for 2.18.0 release, and we'll add fixes for it for 2.19.0.
r: @udim, @aaltay

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

I believe you missed one:
$ grep -r 'logging.getLogger(__name__)' apache_beam|wc -l
84
$ grep -r 'logging.getLogger(__name__)' apache_beam | grep -v _LOGGER
apache_beam/io/filesystem.py:logger = logging.getLogger(__name__)

Only wordcounts are failing in python precommit, as expected. Okay to merge.

Thanks Udi. Please merge when you determine it convenient.


Inspectus should depend on the latest materialstore v0.18.2

https://github.com/kazurayam/materialstore/releases/tag/0.18.2

done at v0.12.2


Call hasOwnProperty using Object.prototype.hasOwnProperty

Safer than the current one. Make the following work as expected:
jade.classes({ hasOwnProperty: true })

Yes, much better - LGTM


Help getting started with python-gcm

Hi,
I'm just trying to get a sample up and running and I don't understand how to use script in the instructions.  Is that the python-gcm program?  How do I run the script from the command line?  This looks like an awesome app, but it could use a bit more on getting started.
Thanks,
David

Hello,
This project is used a Python module, you have to include it in your Python code/script to be able to use it.
As explained in the README.rst file you can create a send_push_notifications.py script with the following:
from gcm import GCM

gcm = GCM(API_KEY)
data = {'param1': 'value1', 'param2': 'value2'}

# JSON request
reg_ids = ['12', '34', '69']
response = gcm.json_request(registration_ids=reg_ids, data=data)

You get the API_KEY from: https://developers.google.com/mobile/add
You can get notification tokens from the Android app that you wrote after you register with GCM services on the Android device or the server if you sent the tokens to your server.
Further details: https://developers.google.com/cloud-messaging/
I will try to update the README and provide example scripts on how to use python-gcm, thanks for the suggestion!


fix: do not rely on db constraints for deep delete

For draft tables, no db constraints for cascading delete is added.
Also no db constraints are added for compositions of one.
We should first clarify under which circumstances we can rely on it.

Also no db constraints are added for compositions of one.

depends, for "managed" compositions of one w/o on-condition there are constraints. It's basically an association :)

entity Base {
  key ID : UUID;
  self: composition of one Base;
};

❯ bin/cdsc.js Q --assert-integrity-type db --dialect sqlite e.cds
-- generated by cds-compiler version 4.5.1
CREATE TABLE Base (
  ID NVARCHAR(36) NOT NULL,
  self_ID NVARCHAR(36),
  PRIMARY KEY(ID),
  CONSTRAINT c__Base_self
  FOREIGN KEY(self_ID)
  REFERENCES Base(ID)
  DEFERRABLE INITIALLY DEFERRED
);

also, if a composition of one is used with the backlink pattern like so:
entity Base {
  key ID : UUID;
  child: composition of one Child on child.up = $self;
};

entity Child {
  key ID: UUID;
  up: Association to Base;
}

you will get cascading delete constraints in the child:
❯ bin/cdsc.js Q --assert-integrity-type db --dialect sqlite e.cds
-- generated by cds-compiler version 4.5.1
CREATE TABLE Base (
  ID NVARCHAR(36) NOT NULL,
  PRIMARY KEY(ID)
);

-- generated by cds-compiler version 4.5.1
CREATE TABLE Child (
  ID NVARCHAR(36) NOT NULL,
  up_ID NVARCHAR(36),
  PRIMARY KEY(ID),
  CONSTRAINT c__Child_up
  FOREIGN KEY(up_ID)
  REFERENCES Base(ID)
  ON DELETE CASCADE
  DEFERRABLE INITIALLY DEFERRED
);


ng build gives error with Angular material

I get an error on including Angular material in my app and building for PROD. Screenshot attached below -
Link to repo - https://github.com/vaibhavsinghal87/angular-concepts-by-example

Can't find the issue. Please help.

Was doing a wrong import.
Issue resolved. Sorry to bother. Closing issue


ImageDownloader: All requests show Cancelled, error code -999

I started by submitting a question on StackOverflow as suggested by the submission guidelines, but have not received any responses there.  The issue is that we're successfully using basic Alamofire get/post/put/delete requests in our project, but ImageDownloader is not working.  Regardless of URL, any image I try to download with ImageDownloader winds up Cancelled with Error Code -999.  I've experienced this in both Alamofire 4.7 and 4.8, in Xcode 10, on multiple devices (all iOS 12).  I've included both sample code and error messages in my SO question here:
https://stackoverflow.com/q/53510149/2687721
Can anyone offer any help/advice on this?  I've seen other -999 bugs reported for other parts of Alamofire on here - is it possible those were fixed in other parts of the project but not in ImageDownloader?
Thanks,
-Miles

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
ℹ Attempted to use ImageDownloader to download any image.
What did you expect to happen?
ℹ I expected it to download the image, or to return an error status from the server.
What happened instead?
ℹ All requests become Cancelled with error code -999 before any apparent interaction with the server.
Alamofire Environment
Alamofire version: 4.8
Xcode version: 10.1
Swift version: 4, 4.2
Platform(s) running Alamofire: iOS
macOS version running Xcode: 10.14.1
Demo Project
https://stackoverflow.com/q/53510149/2687721
ℹ Please link to or upload a project we can download that reproduces the issue.

As with nearly all -999 error reports for Alamofire, your ImageDownloader is getting deinited and cancelling all pending requests. You need to keep a reference around until the downloads are complete.


Page.Evaluate returns undefined for a specific site

Hi,
I'm calling Page.Evaluate while browsing a specific site and it consistently returns nil (no error though).
Here's the debug traces:
SEND>
{"guid":"frame@77e4062f9cb0cdcd0f9aeb454d7a1983","id":45,"metadata":{"apiName":"SerializeCallStack","isInternal":false,"location":{"file":"connection.go","line":162},"wallTime":78307000},"method":"evaluateExpression","params":{"arg":{"handles":[],"value":{"n":42}},"expression":"l =\u003e String(l)"}}
RECV>
{"id":45,"guid":"","result":{"value":{"v":"undefined"}}}

Any JS would return undefined. The site is starpets.gg.
It reproduces with all browsers.
Is there any reason why evaluate would not fail but yet return undefined?
If this is a playwright bug, what's the best way to report it coming from playwright-go?
Thanks!

can't reproduce via:
https://github.com/canstand/playwright-go/commit/4b2c84cfb7c4dc2dd8473e0a80fa025476700a2d

can't reproduce via: canstand@4b2c84c

Oh interesting, so it turns out that it returns nil exclusively when using playwright.WaitUntilStateNetworkidle.
Updating the following line should repro:
 _, err = page.Goto("https://starpets.gg", playwright.PageGotoOptions{WaitUntil: playwright.WaitUntilStateNetworkidle})

networkidle DISCOURAGED

Thanks for your detailed answer.
Networkidle is discouraged, for tests, because it relies on sleeps (500ms).
Most time based expectations are an anti-pattern in testing, hence the "DISCOURAGED".
However it doesn't explain why page.evaluate would have an unexpected behavior.
I ended up filing a bug upstream as I could repro with node: https://github.com/microsoft/playwright/issues/29440


trying to removing the file throws error

hi, the action fails when uncommenting the last line in the postprocessing example:
https://github.com/githubocto/flat-demo-bitcoin-price/blob/5f14aad430146f25827bcd3fba5d35dc3be8388e/postprocess.js#L25
the error: Workflow failed! ENOENT: no such file or directory, stat 'btc-price.json'

Thanks for reporting this. Will be fixed as soon as we merge: https://github.com/githubocto/flat/pull/11

This should work now!

yes it does 🎉


gazebo: init at 6.5.1 and 7.0.0

Things done:

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

More
I've cleaned a few things up and made a second pull request from this repo so I can rep my employer a little bit. Most of my work on these packages has been on their time, and all of said work has been driven by our use cases as a robotics company. :-)
Every package introduced in this commit but Gazebo itself is a dependency of Gazebo.
cc @nico202

Please note, that points are not mandatory, but rather desired.

Please break this into several commits, a single block is too much to review.

Each package now has its own commit, and they are presented in order so that at each commit, nixpkgs evaluates successfully.

That's much easier to digest, thank you

Why do we need two versions of gazebo? Usually, there's only one preferred version unless there's a compelling reason to provide more. If there is no compelling reason, please provide only the most recent version of the package.

Gazebo 7 doesn't integrate correctly with the PX4 autopilot stack on Linux yet. Official instructions if you're using PX4 are 'run Gazebo 7 if you're on Mac, Gazebo 6 if you're on Linux'.

Gah, okay

Travis:
error: anonymous function at /home/travis/build/NixOS/nixpkgs/pkgs/applications/science/robotics/gazebo/default.nix:1:1 called without required argument ‘sdformat’, at /home/travis/build/NixOS/nixpkgs/lib/customisation.nix:56:12

Fixed that issue that broke Gazebo7 on Travis. I had some stragglers after my initial refactoring.

Are you ready to merge?

Yes. :-)

Cool. I noticed that you say you did this on your employer's time, so just to be sure: you do have explicit permission from your employer to submit this, right?

I haven't asked about these additions to nixpkgs in particular, but adding third-party packages to nixpkgs falls into our category of ‘obviously safe to submit upstream’, which is a principle I have discussed with the other devs and the company owner in considering our processes for participating in open-source.

Alright, cool, just wanted to make sure.

@therealpxc These packages are failing to build at https://github.com/NixOS/nixpkgs/issues/18209


Have the master annotate itself as well.

The node was already self-annotating during startup with its corresponding Machine name so that the machines-controller could more easily link the two objects, but the master wasn't.

This change is


Fail after of  "docker-compose up --build".

Hello my name is Adrian and I´m in a university internship. I need MSIR to make a coregister of MSI. However, I got a failed after of  command "docker-compose up --build". The fail is it:

[msir_frontend 11/12] RUN yarn build:
0.954 yarn run v1.22.5
1.084 warning ../package.json: No license field
1.175 $ react-scripts build
9.762 Creating an optimized production build...
10.20 Browserslist: caniuse-lite is outdated. Please run:
10.20 npx browserslist@latest --update-db
10.20
10.20 Why you should do it regularly:
10.20 https://github.com/browserslist/browserslist#browsers-data-updating
11.84 Browserslist: caniuse-lite is outdated. Please run:
11.84   npx update-browserslist-db@latest
11.84   Why you should do it regularly: https://github.com/browserslist/update-d
b#readme
94.40 Browserslist: caniuse-lite is outdated. Please run:
94.40 npx browserslist@latest --update-db
94.40
94.40 Why you should do it regularly:
94.40 https://github.com/browserslist/browserslist#browsers-data-updating
182.6 Failed to compile.
182.6
182.6 Module not found: Error: Can't resolve 'path' in '/APP_ROOT_f/node_modules
/react-markdown/node_modules/vfile'
182.6 BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core mo
dules by default.
182.6 This is no longer the case. Verify if you need this module and configure a
polyfill for it.
182.6
182.6 If you want to include a polyfill, you need to:
182.6   - add a fallback 'resolve.fallback: { "path": require.resolve("path-brow
serify") }'
182.6   - install 'path-browserify'
182.6 If you don't want to include a polyfill, you can use an empty module like
this:
182.6   resolve.fallback: { "path": false }
I have made a image of MSIr in docker.

The file .env can´t be shared for this chat. Thank you


limit to amount of commands?

I have a bot with 468 commands and when I try to get my bot to dm me them it cant is there a limit to the amount of commands commando can handle?

nvm it was just that the embed cant fit more than 6000 words

Then maybe consider closing the issue?

Thanks for the rough estimate of how many commands Xiao can have before I have to update her help command, btw. Good to see it wasn't a commando issue.


KAFKA-3121: Remove aggregatorSupplier and add Reduce functions

@ymatsuda

This only contains the first component of KAFKA-3121, the rest will be discussed / finished after KAFKA-3066.

Unit tests passed locally.

lgtm


AutoSize not working on dates

Thank you Doug, this is really a wonderfull function!
$File = 'C:\test.xlsx'

1..10 | ForEach-Object {

    [PSCustomObject]@{
        Name = "John $_"
        FamilyName = 'Looooooooooooooooooooooooooooooooooooooooooooooooooon name'
        Date = Get-Date
    }
} | Export-Excel -Path $File -WorkSheetname 'My sheet' -AutoSize

If you try this you'll see that the date is shown as '##########', all other fields are properly fitted.

Thank you. I've seen that and have not come up with a workable answer yet.

No problem, thank you for the hard work already. Really love this function! :)


Measure of inference quality

Hi,
First of all, thanks for developing this method - it is really something new.
When using the inference_from_files mode to infer various ligand conformations on several protein targets, how does the tool report some measure of inference quality"? Do you have some measure of conformation fit to the target?
I can see intersection_losses_untuned being reported - can it be used?
Many thanks!

Hi!
EquiBind does (currently) not provide a confidence score or something similar to a docking score which could be used for ranking.
If the intersection loss is unusually high it would indicate that there are intersections with the receptor and the conformation is likely not the best. However, this could also be seen in a visual inspection.

for testing EquiBind for ranking, following EquiBind, we could try to run the (slower) tools to obtain a docking score.: correct!
The coordinates of the receptor are not adjusted if that is what you are asking. The receptor is treated as a rigid body.
The receptor files also need to be provided next to the ligand files. It does not matter whether they are provided as .pdb or .sdf. I am not sure whether that answers the question. Please let me know if unclarity remains!

Thanks! It makes good sense - we will try it out! :)


splatfacto on docker image RuntimeError

Describe the bug
Running nerfstudio via docker. processed data successfully and could also run ns-train nerfacto method successfully. Trying to run gaussian splat on the same data ends up in an error
docker command:
docker run --gpus all -u $(id -u) -v /home/stephan/nerf/data:/workspace/ -v /home/stephan/.cache/:/home/user/.cache/ -p 7007:7007 --rm -it --shm-size=12gb dromni/nerfstudio:main
To Reproduce
Steps to reproduce the behavior:

prepare output with ns-process
ns-train splatfacto --data <data_path>
Error:

RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Expected behavior
should train the gaussian splat

doing the same on 1.0.2 docker image the error is now the following:
ImportError: /home/user/.cache/torch_extensions/py310_cu118/gsplat_cuda/gsplat_cuda.so: undefined symbol _Z33map_gaussian_to_intersects_tensoriiRKN2at6TensorES2_S2_S2_St5tupleIJiiiEE

after reinstalling gsplat:
--> pip uninstall gsplat
--> pip install git+https://github.com/nerfstudio-project/gsplat.git
the following error appears again:
RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
maybe my GPU is too old? RTX2060 - but as mentioned above: nerfacto is working without problems


Broken Pipe

This error is shown every minute as streamlink tries to get the stream info

I figured it out, I had the request.token and client.json files in the wrong folder, my mistake