Exception when rotating: The stream number provided was invalid

The exception seems to occur when rotating the Device. Occurred on Win10 Mobile on a Lumia 550.
Message:
The stream number provided was invalid.
PreviewState
at Windows.Media.Capture.MediaCapture.SetEncodingPropertiesAsync(MediaStreamType mediaStreamType, IMediaEncodingProperties mediaEncodingProperties, MediaPropertySet encoderProperties)
at ZXing.Mobile.ZXingScannerControl.d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ZXing.Mobile.ZXingScannerControl.<displayInformation_OrientationChanged>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()"

https://github.com/Redth/ZXing.Net.Mobile/blob/f7ca5e6876850077ce73d2ae23cc7869cc0efa7a/Source/ZXing.Net.Mobile.WindowsUniversal/ZXingScannerControl.xaml.cs#L36
There seems to be the error. After subscribing the OrientationChanged event you never unsubscribe it. I have commented it out in my local clone for now. Maybe the event can be subscribed and unsubscribed in the Loaded/Unloaded handlers of the Control?

The event unsubscribe is now fixed in master, thanks!


Fix back button in the main chat reopens main chat after leaving thread

Details

When we leave thread from RHP, we try to navigate back to the parent report, but the RHP isn't dismissed yet, so the RHP is replaced with the parent report, so we have 2 main chat in the nav stack. This PR fix it.
Fixed Issues

$ https://github.com/Expensify/App/issues/46123
PROPOSAL: https://github.com/Expensify/App/issues/46123#issuecomment-2248537636
Tests

Same as QA Steps

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

Offline tests

Same as QA Steps
QA Steps

Open any chat
Send a message
Reply in thread of the message
Press the chat header and press Leave
Verify you are navigated back to the main chat
(Android/mWeb/iOS) Press the go back button
(Android/mWeb/iOS) Verify you are navigated back to LHN

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

PR Author Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/9d4728fd-5cbf-4a57-9e25-67f3c2b20c0b

Android: mWeb Chrome

https://github.com/user-attachments/assets/7c829fed-d38b-4420-9a1d-5f5322f9e31e

iOS: Native

https://github.com/user-attachments/assets/d1816ff8-a0ba-4fcd-a003-5859ed7eb14f

iOS: mWeb Safari

https://github.com/user-attachments/assets/d498855d-c0a4-41ad-a97d-81947ebbbcb3

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/3b4d7054-67e0-4d7f-ab5a-0d56cdcdd34c

MacOS: Desktop

https://github.com/user-attachments/assets/3a784b0d-8e58-4d4e-9166-6706ddccfc46

Reviewer Checklist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

(Android/mWeb/iOS) Press the go back button

@bernhardoj, this bug is present on desktop web/desktop MacOS too, you just have to shrink the window down so the app switches to a small screen layout
https://github.com/user-attachments/assets/20d76913-1e1f-456b-819a-d3f0fdae53a0
Could you please update the test steps and screen recordings for web/desktop accordingly?

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/jasperhuangg in version: 9.0.23-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
GlennDelahoy.SnappyDriverInstallerOrigin
Package Version
1.12.14
Please describe the changes you would like to see
There is a new version available:
https://www.glenn.delahoy.com/downloads/sdio/SDIO_<IP_ADDRESS>5.zip
### Tasks

Done : https://github.com/microsoft/winget-pkgs/pull/115287


ios [nfc]: Finish cleaning up unused AppIdentifierPrefix logic

Looks like we missed this in eb37e6c78.

Thanks! Looks good, merging.


Merge prTesting_201905261108 branch to master branch

Docs Build status updates of commit 71592e9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Visualize powermatcher logging with Elastic Search - Logstash  - Kibana

Implement example installation with Elasticsearch, logstash, Kibana
Use Observer Events as source for logging
Document on Wiki how to setup en extend

Please check if the documentation is complete and if this should be part of the next big release.


Where should this code reside?

First off apologies for posting this here as an Issue.. I tried finding another contact path and could not.
I'm just wanting to verify where is the intended home for this code?
Part of rsyslog.conf, 50-default.conf or it's own conf file under /etc/rsyslog.d?
Thanks!!

The way these were written they would be rsyslog.conf. I'd recommend breaking things down into their own files under rsyslog.d though. Keep in mind I haven't used or tested this stuff in years, so who knows how well it works.

Thanks Brandon, I thought so (about rsyslog.conf) but appreciate the clarification. The lack of information, and more importantly examples, in the wild of configuring Rsyslog for multiple ports and multiple rulesets with or without filters forced me to ask. You have a prime working example here. Thanks


SAMA5D2, improve LCD support and correct minor errors

Summary

Adds 2 missing modes that I needed (ARGB8888 and RGBA8888)
Additions needed for SAMA5D2 rather than SAMA5D3 originally used as the reference
Tidies the code
Replaces licence agreement with correct Apache variant
Corrects print formatting

Impact
None expected
Testing
Custom board with ATSAMA5D27C-D1M with 800x480 TFT LCD

@TimJTi, in your previous draft you also had numerous typos in comment sections added.

@TimJTi, in your previous draft you also had numerous typos in comment sections added.

@mu578 - not caused by me! They will have been there from whoever did this driver originally. Since it is still failing CI checks  (for things I am trying to sort, since the file has not been worked on in year by anyone so has errors that cause it to fail now) I will try and find as many as I can. It passes checkpatch.sh however....grrrr.

@TimJTi I know but as you are already in editing copyright sections too, you did sign for it 8-D.

@jerpelea I assume this file never had the license changed from BSD because it is based on some Atmel code? If that is correct the license header should be left in place.

I should have read the license that was there - my mistake. Trying to be too helpful lol. Reverted.

@jerpelea I assume this file never had the license changed from BSD because it is based on some Atmel code? If that is correct the license header should be left in place.

I should have read the license that was there - my mistake. Trying to be too helpful lol. Reverted.

No worries, thanks for doing some cleanup here along with the fixes.

@jerpelea I assume this file never had the license changed from BSD because it is based on some Atmel code? If that is correct the license header should be left in place.

I should have read the license that was there - my mistake. Trying to be too helpful lol. Reverted.

don't worry


Race condition in gulp scripts

On Windows, gulp debug will fail multiple times citing some random errors. Same observed on Linux and Mac, though not as reproducible as Windows.
Suspecting that somewhere in the gulp script has race conditions so that directories are created midst directory existence check.

It turns out the mkdir error, which should be fixed by 29890d6fa43a546cbc886f5e927810a63a47d498.


Add third person controller

Summary
The third person controller is based on Starter Assets - Third Person Character Controller . I didn't remove any folder from this starter asset although not all of them are needed for this sample, in case user needs to use any of the assets.

Modified ThirdPersonController.cs to add a wait jump until collider generated function.
Add ChangeMaterial.cs to swap between HDRP and URP mapman materials when the pipeline changes
Modify LightingManager.cs to swap URP skybox. I do notice that the skybox doesn't follow physics law in the stream layer sample (because when you see from the outer space you won't see the earth atmosphere) but this is a minor issue

ArcGIS Maps SDK Version
Tested with daily 3717

There are a lot of changes here. Can you add a description on this PR and just cover what it is all changing since you are doing more than just adding the third person sample.
Also a better title should be used

I feel this is a massive amount of cruft to be bringing into the repo. I dont think we should be doing this, is there a way to add the package separately or something? I know its nice to have the robot dude as itll match Unreal, but I would think simpler would be better in this case

yeah I could completely remove the default mannequin. I use mapman anyways.

Getting the following error when trying to test the project...
Problem detected while importing the Prefab file: 'Assets/StarterAssets/ThirdPersonController/Prefabs/NestedParentCapsule_Unpack.prefab'.
The file might be corrupt or have missing nested Prefabs. See details below.
Errors:
Prefab instance problem: UI_EventSystem (Missing Prefab with guid: f0271df749728104eac22c3d897fd8ce)
Prefab instance problem: UI_Canvas_StarterAssetsInputs_Joysticks (Missing Prefab with guid: 2f7f3dde7ae722a4aafffe20691ad702)
I'm using unity 2021.3.2f1 and SDK 1.1.0 release

Getting the following error when trying to test the project...
Problem detected while importing the Prefab file: 'Assets/StarterAssets/ThirdPersonController/Prefabs/NestedParentCapsule_Unpack.prefab'. The file might be corrupt or have missing nested Prefabs. See details below. Errors: Prefab instance problem: UI_EventSystem (Missing Prefab with guid: f0271df749728104eac22c3d897fd8ce) Prefab instance problem: UI_Canvas_StarterAssetsInputs_Joysticks (Missing Prefab with guid: 2f7f3dde7ae722a4aafffe20691ad702)
I'm using unity 2021.3.2f1 and SDK 1.1.0 release

I just fresh cloned the repo and tested and didn't encounter the error. If you checkout my branch directly from your branch maybe there're some conflicts. Could you test with a clean repo?

I did use a clean copy of the repo, not my branch.  Could it be due to using the 1.1.0 release instead of the daily build maps SDK?

I did use a clean copy of the repo, not my branch. Could it be due to using the 1.1.0 release instead of the daily build maps SDK?

I switched to a different computer but still couldn't reproduce... I used 2021.3+maps sdk released version

Ok, I tried that and I am able to run the sample. Still looking over all the changes, will post any questions/comments soon.


AM-493: Monkey patch Util::Forwardable to work with Ruby 3 kwargs

Jira ticket
Cequel is trying to work around the potential that ActiveSupport's Module.delegate monkey patch exists. It reset's Forwardable's delegate method to use ActiveSupport's delegate method definition.
But with Ruby 3 no longer handling mixed positional and keyword args, this monkey patch no longer works. We've updated in our fork to handle the kwargs.
The only Forwardable methods that Cequel uses are def_delegator and def_delegators (this is why the reset delegate back to ActiveSupports definition). These methods do not call delegate under the hood.
I turned on our little warning hack to make sure that my fix worked as expected when running the specs. I can remove if we don't want that to persist in our fork.
In the specs, you'll notice that my test_klass only refines the Module class. If I monkey patch Module in my test, it's monkey patched in the whole suite and things go cray cray. A refinement should behave the same and still give us the confidence we need.
After this is merged, we'll need to update the commit SHA ref in our main app's Gemfile.

Are the spec changes here intentional?

@awj they were intentional but I didn't know if we'd want to keep them or not. I can remove. Tried to call out that question in my PR description

I turned on our little warning hack to make sure that my fix worked as expected when running the specs. I can remove if we don't want that to persist in our fork.

🤦 Sorry I missed that, was trying to move too fast.

No worries! I'll remove. It shouldn't affect you being able to target the current SHA in this branch for our testing


Suggested additional features

AloeStackView will be a more powerful library if you provide features that allow contentView to animate views in situations when remove, add, or hidden animation occurs.
I would like to implement this function once.

I like this idea, great suggestion!
I’d want to balance this with making sure the library doesn’t become too complicated though.
If you could provide some concrete examples of use cases where this would be very valuable, I think that would help.
If it’s just for one particular use case that doesn’t happen very often, then it might be better to extend AloeStackView and add this behavior as a customization.
For example, one way might be to override the addRow etc. methods in a subclass of AloeStackView and have them call your own custom protocol method on the row if animated is true.
The idea with AloeStackView is to keep the core very small and simple, but provide extensive support for customization. That many things can be achieved, but the core library is not too big or complicated.
I’m not sure where this feature fits on that scale yet, so some concrete examples would help!
Thanks again for the great suggestion 😄

What I think is that the contentView of the StackViewCell will each be able to handle animation related. (Animatable (?) Protocol such as Highlightable, Tappable, etc.)
For example, when a view is addRow, you will have its own effect of whether the imageView inside the contentView is flashing or not.
I think AloeStackView's own code will not get complicated.
I will give you PR after simple implementation :)
tell me your opinions!
Thanks you.

Sounds good. Please feel free to put up a PR demonstrating your ideas and approach!

Hi. If you have time, please take a look at PR (#12 )! Thank you!

Hi @ParkGwangBeom, I’m so sorry for the slow review of this last PR - I have only had access via my phone for the past week, no computer unfortunately. I’ll review this ASAP. Thank you for your patience!

any news on this? :)


Goal for this week 10/4

Functionality
@Tesseract22 @TwinIsland

[ ] variable declaration
[ ] section channel combine
[ ] interpolate mapper function
[ ] pitch sequence sugar
[x] nicer website

Document/Frontend
@KugouHu

[ ] BNF/grammar document

Interpolate Function
linear (idx: Int, n: Int): iFunc -> Int

Expectation
// Tchaikovsky Theme

violin_sec = | do=1, chord=[do 3 5]:

<>[scale=/D 3 MAJ/, bpm=120, volume=80, instrument=50]

    // Intro Fanfare
    1.. 1... o'5..  o'1..    // Simple melody leading into the fanfare theme
    5... 6... 7... o'2...    // Ascending line towards dominant

    // Theme entrance (brass fanfare, slow tempo)
    o'3.. o'5.. o'6... o'2...    // Majestic chords rising
    1... 5... o'1... o'7... o'5..  o'5...    // Rhythmically strong fanfare

<buildup_start>[volume=80 linear]

    // Canon-like progression (celebratory)
    o'1.. o'3.. o'5.. o'chord... o'[5 7 o'2]...  // Chords overlaid with melodic fragments
    (5 o'6 o'5 o'7 o'5)...  // Rising motion

<buildup_start>[volume=70 linear, instrument=32]

    // Build-up to climax
    oo'2... ooo'1.. oo'5... oo'6... oo'7...  // Thickening texture, layering chords and melody

    // Climactic chords with cannon fire
    ooo'[1 5]... []... oo'[3 7]... ooo'1..  // Strong sustained chords with dramatic pauses for "cannons"
    ooo'2... ooo'5... ooo'7... ooo'[1 3 5]...   // Final climactic chord progression

<buildup-end>[volume=100 linear]

    // Ending sequence, return to initial theme
    o'2... o'5... o'6... o'5...  oo'1.. oo'5... oo'7...  // Resolved closing
    oo'[2 5]... oo'3...

<buildup-end>[volume=100 linear]

   oo'5... oo'[1 3 5]...

<sec_end >[volume=0]
|

// section for bass
bass_sec = | :scale=/D 3 MAJ>, bpm=120, volume=80, instrument=23
 oo'[2 5]... oo'3... oo'5... oo'[1 3 5]...
|

// combine sections into chorus

main = violin_sec & bass_sec

Some thoughts on the newly proposed (1 2 3).. construct:
list
We can elevate it from a syntactic sugar to an actual construct.
Syntax
<list> ::= ( <Exp>* )

Semantic
All element in the list must have the same type. A list type is therefore aware of its subtype, but now length, which we define as a runtime value. Note that this will make our type system recursive.
(We currently already a nestable data structure Chord. But we Chord can only have Pitch or Chord as subtype, and we flatten it anyway during evaluation, so it is not recursive type-wise)
We can then have some list operators. To go back to the original example, we can define a map operator <$> (stolen from Haskell), where we can then write:
(1 2 o'3) <$> ...

Another thing about Degree, Pitch, Int and Note.
In our language, Degree is an integer index into a Scale, which is a Pitch. Operators like o' and #' only make sense for Pitch, and not Int or even Degree: When we evaluate o'1, we first evaluate 1 into a Pitch (which is just the number of semitones from C-1), and add 12 to it. So really o'1 is o'(scale[1])
However we currently do not distinguish between Int, Degree, or Pitch. Essentially bpm=o'140 would pass the semantic analyzer.


Polite request - Build for Python 3.10?

Hi! I love the convenience of using your wheels when installing FastText, so first of all thank you for bothering to set this up. As we are slowly migrating to Python 3.10, I've seen that the builds for this Python version has failed here in GitHub actions. I don't have the full competency to do this myself - could you @messense in any way find time to correct those builds?
I would be really grateful. Thanks again.

Done.


amplify mock does not show graphql errors in response from lambda

Describe the bug
I use lambda resolver with @function(name: "function-${env}")
In my function I validate data in request and throw error:
throw new Error('validation error')

Then from appsync I can see error message in graphql response:
{
  "errors": [
    {
      "message": "validation error",
      "errorType": "Lambda:Unhandled"
    }
  ]
}

But with amplify mock I do not receive error message:
{
  "errors": [
    {
      "errorType": "null"
    }
  ]
}

Amplify CLI Version
4.6.0

@aveeday Thanks for bringing this up. The mock framework basically runs as a subprocess. We would need to bubble up the error from the process.

It would be great if an example of error handling could be provided in the transform docs, and state error handling in mock is currently WIP.

We released a fix for this with v4.14.1

I am also having this issue. I am trying to figure out how I can throw a custom error with a code or type. In my lambda function I have the following:
callback(new Error("Show Something"))
My GQL result is this:
{
  "data": {
    "myFieldName": null
  },
  "errors": [
    {
      "message": {},
      "errorType": "Lambda:Unhandled",
      "data": null,
      "errorInfo": null,
      "path": [
        "myFieldName"
      ],
      "locations": [
        {
          "line": 3,
          "column": 3,
          "sourceName": "GraphQL request"
        }
      ]
    }
  ]
}

If I pass a string to 'callback' the message will show. But how can I throw a custom error with a code/type?


Using platform resources instead of shelling out

Hi there. Thank you for sharing your excellent cookbook! I have been finding it very useful.
This PR is more for discussion than an actual merge candidate. I have been hitting an issue similar to #194 while trying to use the :redeploy action, and I think the problem is due to the timing between when platform resources are processed (embedded into the resource collection) vs when the shelled out commands are run. If the platform resources defined in the container provider executes immediately everything works fine. What I am seeing currently is the docker rm shellout execute prior to the service resource's :stop action, leading to the following error:
==> default: [2014-07-28T18:59:18+00:00] DEBUG: Platform ubuntu version 14.04 found
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'execute[rm  a4117fb8ab6474f8d6d360345c96d3e13fa995175a89e7c2af2ce086232e6817]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of rm  a4117fb8ab6474f8d6d360345c96d3e13fa995175a89e7c2af2ce086232e6817 ----
==> default: STDOUT:
==> default: STDERR: rm: cannot remove 'a4117fb8ab6474f8d6d360345c96d3e13fa995175a89e7c2af2ce086232e6817': No such file or directory
==> default: ---- End output of rm  a4117fb8ab6474f8d6d360345c96d3e13fa995175a89e7c2af2ce086232e6817 ----
==> default: Ran rm  a4117fb8ab6474f8d6d360345c96d3e13fa995175a89e7c2af2ce086232e6817 returned 1
==> default:
==> default:

If I replace the shellout calls with execute resources (as shown below) all the commands process just as the code reads and work perfectly (for my use case, it very well may have broken every other one).

Thanks for the PR.
In master, the provider now talks to the API directly instead of shelling out.
-s


databaseview/add should allow customization of the extras attribute via superset_config.py

Our feature request is related to this problem:
When adding a database via Sources -> Databases -> Add (databaseview/add), we have a need to supply a different set of default values for the "Extra" parameter.
However, the current code does not allow for customization/override of the superset.models.core.Database.extra parameter.
A solution I'd like
I would like to be able to provide a dictionary in superset_config.py that is converted to a json string (since this is the format of the current extra parameter).
Additional context
Functionality is already in place for superset_config.py to override the excrypted_extra parameter:
https://github.com/apache/incubator-superset/blob/master/superset/models/core.py#L138
FUTURE SCOPE (not for this ticket)
Currently the user has to develop a SQLAlchemy string without a helper or wizard. This makes it impossible to program a set of extra parameters as a function of the type of connection being created.
It is well within reason to presume that the default extra parameters will vary as a function of the database being added.
However, for the time being, it is good enough that we simply be able to override/customize the default extra parameters.

@metaperl seems like you have a fairly good grasp of the work involved here, think you can turn it into a PR?


PUPIL-243 organise components into generic pages components folder

Description
Music year: 1982
List of changes:

move relevant components into GenericPagesComponents
create GenericPagesViews folder and move relevant components in there
organise all the components from Posts folder
move relevant components into ArchivedComponents

Issue(s)
Fixes #2168

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


Integer overflow when calculating number of bytes

The length and number of byte calculations are subject to integer overflow.
https://wiki.sei.cmu.edu/confluence/display/c/MEM07-C.+Ensure+that+the+arguments+to+calloc()%2C+when+multiplied%2C+do+not+wrap
julia> using StaticTools

julia> malloc(typemax(Int)) # malloc returns a C_NULL when it fails
Ptr{UInt8} @0x0000000000000000

julia> ma = MallocArray{Int}(zeros, (3000,typemax(Int),typemax(Int)));

julia> sizeof(ma)
24000

julia> size(ma)
(3000,<PHONE_NUMBER>854775807,<PHONE_NUMBER>854775807)

julia> MallocArray{Int}(zeros, (3000,typemax(Int)))
3000×9223372036854775807 MallocMatrix{Int64}:

signal (11): Segmentation fault
in expression starting at none:0
unsafe_load at ./pointer.jl:105 [inlined]
unsafe_load at ./pointer.jl:105 [inlined]

Julia deals with integer overflow via this code as of Julia 1.8:
https://github.com/JuliaLang/julia/blob/0b9eda116d88cf472df2d485cfd366bfab17afa8/src/array.c#L79-L96

One possible approach would be #23. Another would be just documenting something like "Attempting to create a MallocArray with more than typemax(Int) bytes will result in undefined behavior".

Another approach might using Base.Checked.checked_mul or perhaps mul_with_overflow if we cannot throw.
function checked_mul(x::T, y::T) where T<:Integer
    @_inline_meta
    z, b = mul_with_overflow(x, y)
    b && throw_overflowerr_binaryop(:*, x, y)
    z
end

...

mul_with_overflow(x::T, y::T) where {T<:SignedInt}   = checked_smul_int(x, y)
mul_with_overflow(x::T, y::T) where {T<:UnsignedInt} = checked_umul_int(x, y)
mul_with_overflow(x::Bool, y::Bool) = (x*y, false)

julia> Base.Checked.mul_with_overflow(5,6)
(30, false)

julia> Base.Checked.mul_with_overflow(5,typemax(Int))
(9223372036854775803, true)

julia> @code_llvm Base.Checked.mul_with_overflow(5,6)
;  @ checked.jl:234 within `mul_with_overflow`
; Function Attrs: uwtable
define void @julia_mul_with_overflow_293({ i64, i8 }* noalias nocapture sret({ i64, i8 }) %0, i64 signext %1, i64 signext %2) #0 {
top:
  %3 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %1, i64 %2)
  %4 = extractvalue { i64, i1 } %3, 0
  %5 = extractvalue { i64, i1 } %3, 1
  %6 = zext i1 %5 to i8
  %.sroa.0.0..sroa_idx = getelementptr inbounds { i64, i8 }, { i64, i8 }* %0, i64 0, i32 0
  store i64 %4, i64* %.sroa.0.0..sroa_idx, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds { i64, i8 }, { i64, i8 }* %0, i64 0, i32 1
  store i8 %6, i8* %.sroa.2.0..sroa_idx, align 8
  ret void
}

mul_with_overflow does appear to be StaticCompiler safe so that could work if we want

If LLVM already has a nice implementation, via https://llvm.org/docs/LangRef.html#llvm-smul-with-overflow-intrinsics we should consider using mul_with_overflow. Here's a replacement for prod.
julia> function prod_with_overflow(itr)
           p = one(eltype(itr))
           for v in itr
               p, f = Base.Checked.mul_with_overflow(p, v)
               if f
                   return p, true
               end
           end
           return p, false
       end
prod_with_overflow (generic function with 1 method)

julia> prod_with_overflow(2:10)
(3628800, false)

julia> prod_with_overflow(2:100000)
(-4249290049419214848, true)

Ah yeah, I just tried that as https://github.com/brenhinkeller/StaticTools.jl/pull/23/commits/b292167e443c15dfc2d4c1d367caa7cca82c9782#diff-bc676878ee7fa70f16534c2e6baa1df2e5e141f52b2343b57f602c09bde25aaeR135-R142
    @inline function prod_with_overflow(x)
         p, f = one(eltype(x)), false
         for i ∈ eachindex(x)
             p, fᵢ = Base.Checked.mul_with_overflow(p, x[i])
             f |= fᵢ
         end
         p, f
     end

which perhaps counterintuitively ends up being a bit faster than the branching version because of unrolling

Looks like Base.Checked.mul_with_overflow is part of the documented Julia API:
https://docs.julialang.org/en/v1/base/math/#Base.Checked.mul_with_overflow
so if anyone breaks it in 1.x we can be suitably mad at them. That's more or less good enou

Fixed by #23 updated to use the Base.Checked.mul_with_overflow approach

Fixed by https://github.com/brenhinkeller/StaticTools.jl/pull/23 updated to use the Base.Checked.mul_with_overflow approach

Fixed by https://github.com/brenhinkeller/StaticTools.jl/pull/23 updated to use the Base.Checked.mul_with_overflow approach

Fixed by https://github.com/brenhinkeller/StaticTools.jl/pull/23 updated to use the Base.Checked.mul_with_overflow approach

Fixed by #23 updated to use the Base.Checked.mul_with_overflow approach


API call only returns 10 results

When calling the API via http only 10 post objects are returned. Sequential calls to the api via http also return the same results from the previous call

Can you show me your code? I would like to reproduce the issue. Thank you.

Sure thing :) I'm not sure if you want the full code but here is the relevant code. I should point out I am using the steem rest api link atm
HTTP request as a service
`load() {

        // don't have the data yet
        console.log("Starting Promise");
        return new Promise(resolve => {
          // We're using Angular HTTP provider to request the data,
          // then on the response, it'll map the JSON data to a parsed JS object.
          // Next, we process the data and resolve the promise with the new data.
          this.http.get('https://api.steemjs.com/getState?path=/trending&scope=content')
            .map(res => res.json())
            .subscribe(data => {
              // we've got back the raw data, now generate the core schedule data
              // and save the data for later reference

              this.data = data;
              console.log("Currently inside the service ");
              resolve(this.data);
              console.log("Leaving the service \n\n ");
            });
        });

Function where I am calling the Http request
loadnewPosts(){
    this.newPosts.load()
      .then(data => {
        this.posts = data;
        //console.log(JSON.stringify(this.posts));
        this.arrayIndex = 0;
        for (var key in data) {

          console.log(key + " -> " + data[key]);
          console.log("Post: Author -> " + data[key].author);
          console.log("Post: title -> " + JSON.stringify(data[key].root_title));
          console.log("Post: Votes -> " + JSON.stringify(data[key].net_votes));
          console.log("Post: url -> " + JSON.stringify(data[key].url));
          console.log("Post: url -> "+JSON.stringify(data[key].json_metadata));
          console.log("Post: url -> "+JSON.stringify(data[key].total_pending_payout_value));

Yeah, I only get 20 results on a getState for "created" as the path: getState?path=/created
How do we get the next 20?

If you want to load feed content getDiscussionBy.. endpoints are more reliable.
For example:
steem.api.getDiscussionsByCreated(query,(err, result) => {
    console.log(err, result);
});

or in Promise form:
steem.api.getDiscussionsByCreatedAsync(query).then((result) => {
    console.log(result);
});

Which in query you can pass an object with these parameters:
{
  limit: 10,
  start_author: lastAuthorYouLoaded,
  start_permlink: lastPermlinkYouLoaded
}

By omitting start_author and start_permlink you will get the first 10 results.

Holy crap! Thank you! Is this anywhere in the master doc, int he examples, anywhere? I don't think I would have figured it out without you. Can you tell how you knew to do this? I'm really looking for where this is setup in the actual code.
I'm trying to go through the github files and find where these methods exist. Downloading all the file, then searching, for example, the method 'getState', I can't find it declared as a function in any file. I wanted to see what the methods are, what they are coded, and what the possible parameters are and then I could see how to call and pass vars to them.
Any help you can offer to get me to be able to find these methods and see how to manipulate them myself, would be greatly appreciated. Thanks for the help so far. Peace.

@KrNel Your welcome. These codes are not all included in this package. These are originated from the main steem API. There is a not very known doc here which might be helpful. However, right now I mostly figure out these things by monitoring web socket connections in steemit.com.
Also this file contains the functions we are supporting in this package. A generator function is creating methods from that file so if you're looking for getState you should search for get_state

Thanks @p0o I knew about that last method file, but didn't know how to add the limit. I was previously using the https api, and even tried a URL call: https://api.steemjs.com/getState?path=/created&limit=10 but that didn't work hehehe. Thanks for the help.

Does the query have any doc for it?
{
limit: 10,
start_author: lastAuthorYouLoaded,
start_permlink: lastPermlinkYouLoaded
}
Are there other params for query? I'm looking to only get certain fields, like author or title for instance (save bandwidth if possible...).
The page you linked to for the steem api  only says:

get_discussions_by_created
params: tag(string), limit(integer)

But you also provided two other params. So what are the params?
Hopefully you can let me know of any others. Thanks.

@KrNel AFAIK there are not any other params for this context.

Ah well, thanks.
For the pagination,
start_author: lastAuthorYouLoaded,
start_permlink: lastPermlinkYouLoaded

Have you already used this? Can you tell me how or where you would put the current author and permlink that would be used for the next start_author and start_permlink? I'm thinking of local storage of the user, but I'm probably missing something simple. I haven't coded in 10 years lol.
I've been going through the steem code, but JSX is unfamiliar to me, it looks like Java, but javascripty with other changes as well. I got to FetchDataSaga.js, but can't see who is actually calling the export function* fetchData(action) function that is setting the parameters for author and permlink.
Thanks for any more help. Peace.

@KrNel I'm afraid this discussion is not related to this issue anymore. Yes I used it and I use Redux to manage my state (the same way as Steemit). You can use react's internal state or even a global variable. LocalStorage is not required for this case.


feat: upgrade web3.py to official 6.0 release [APE-759]

What I did

requires successful release of eip712 (gh seems down or something)

How I did it
upgrade and run tests and fix things
How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Would this be a breaking change for any plugins?

It is not supposed to be because plugins avoid upper pins when the dependency is shared by core to avoid it.
However, I did find one thing: https://github.com/ApeWorX/ape-hardhat/pull/130
ape-hardhat was improperly importing something that no longer works. We can fix + release this before this core PR to avoid it breaking though!


Error: Could not find artifacts

Hi all!
Im running on:
Windows 10 Enterprise
Truffle v4.1.5 (core: 4.1.5)
Solidity v0.4.21 (solc-js)
I'm following the pet-shop example and everything goes well untill I run:
truffle.cmd test
Then I get:
Compiling .\contracts\Adoption.sol...
Compiling .\test\TestAdoption.sol...
Compiling truffle/Assert.sol...
Compiling truffle/DeployedAddresses.sol...
But then:
TestAdoption
1) "before all" hook: prepare suite
0 passing (3s)
1 failing

TestAdoption "before all" hook: prepare suite:
Error: Could not find artifacts for /C/Users/adria.aguillo/pet-shop-tutorial/contracts/Adoption.sol from any sources
at Resolver.require (C:\Users\adria.aguillo\AppData\Roaming\npm\node_modules\truffle\build\webpack:~\truffle-resolver\index.js:37:1)
...
...

How could I fix this?
Thank you very much

Hi Everyone!
I'm also following the same tutorial and having the same issue at the same part of the tutorial. I'm running truffle v4.1.14 (core: 4.1.14) and Solidity v0.4.24 (solc-js) on a mac OX Captain 10.11.6 version.
How can I fix this ?
Thank you all!

same here, but on linux... even tried different versions for truffle and solidity ‾_(ツ)_/‾

I have the same problem
Truffle v5.0.0 (core: 5.0.0)
Solidity v0.5.0 (solc-js)
Node v10.14.2
Windows 10
TestAdoption
1) "before all" hook: prepare suite
0 passing (8s)
1 failing

TestAdoption
"before all" hook: prepare suite:
Error: Could not find artifacts for /C/PROYECTOS/BlockChainDocs/servicechain.git/servicechain/pet-shop-tutorial/contracts/Adoption.sol from
any sources
at Resolver.require (C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-resolver\index.js:37:1)
at TestResolver.require (C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\testresolver.js:17:1)
at TestResolver.require (C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\testresolver.js:17:1)
at dependency_paths.forEach.dependency_path (C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\soliditytest.js:203:1)
at Array.forEach ()
at deployer.deploy.then (C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-core\lib\testing\soliditytest.js:202:1)
at C:\Users\belen\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\truffle-deployer\src\deferredchain.js:20:1
at process._tickCallback (internal/process/next_tick.js:68:7)


pspg: 1.4.2 -> 1.6.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pspg/versions.
meta.description for pspg is: '"Postgres Pager"'.
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2/bin/pspg passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.6.2 with grep in /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2
directory tree listing: https://gist.github.com/63ff7faaefb755b81decbd577c4853af
du listing: https://gist.github.com/c716dbcfc282ae09076d292c7f7be608

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/9d5c52261173c5b4616c9ccc3e6dbf23c7c9fe0e.tar.gz -p pspg
ls -la /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2

cc @jlesquembre for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pspg
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: pspg
Partial log (click to expand)
install flags: SHELL=/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash PREFIX=/nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2 PKG_CONFIG=/nix/store/dj3sdmwgfqbnn09bdf6spzw5p58ck0jq-pkg-config-0.29.2/bin/pkg-config install
tools/install.sh bin pspg "/nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2/bin"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2
shrinking /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2/bin/pspg
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2/bin
patching script interpreter paths in /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2
checking for references to /build in /nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2...
/nix/store/4bpn24bawg9m6flknfpggcj8igl94bwz-pspg-1.6.2

Success on aarch64-linux (full log)
Attempted: pspg
Partial log (click to expand)
install flags: SHELL=/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/bash PREFIX=/nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2 PKG_CONFIG=/nix/store/58cqd02bw9n2mwbp0zbyki8vsb5vm1r1-pkg-config-0.29.2/bin/pkg-config install
tools/install.sh bin pspg "/nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2/bin"
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2
shrinking /nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2/bin/pspg
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2/bin
patching script interpreter paths in /nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2
checking for references to /build in /nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2...
/nix/store/8snh6wwicbgmvzd91ix3iqbl7l7h0rhr-pspg-1.6.2


arp command not working at all - /proc/net/arp: No such file or directory

root@SERWER:~# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=1.90 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=1.93 ms
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 1.900/1.915/1.931/0.046 ms
root@SERWER:~# arp -a
/proc/net/arp: No such file or directory
root@SERWER:~# arp
/proc/net/arp: No such file or directory
arp command not working at all.

Same problem. Using whereis arp shows this:
/usr/sbin/arp /usr/share/man/man7/arp.7.gz /usr/share/man/man8/arp.8.gz
But running /usr/sbin/arp again just prints:
/proc/net/arp: No such file or directory

I am having the same issue when I run arp command on "Bash on Ubuntu on Windows"

First, you didn't fill out the template so we don't know what version you are running for starters, there's also no strace. Do a sudo mkdir /proc/net/arp and then see if ARP works then. If it doesn't, probably 69. Also check out 2621. If it does work, then is probably part of 2530. @therealkenc or @sunilmut should probably steer you better though.

This issue is about as good a landing zone for /proc/net/arp as any. #69 is closed. ARP/wARP is a protein modeling system not arp(8). strace would be superfluous on this one because /proc/net/arp isn't a thing on WSL (in any version) right now. [It is of course a good idea to follow the issue template in any case because you get better service that way.]

I've some issue
arp <IP_ADDRESS> /proc/net/arp: No such file or directory

/proc/net/arp: No such file or directory

^--- Probably "try WSL2" in this case. Announcement here. Information on how to get on Windows 10 Insiders here. Waiting for Spring 2020 is a reasonable too, for the patient.

No workaround for this issue?
I'm running WLS this version
uname -a
Linux N-20L6PF1PZ148 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
fandre@N-20L6PF1PZ148:/mnt/c/Users/$ arp
/proc/net/arp: No such file or directory
Have this issue
sudo mkdir /proc/net/arp
mkdir: cannot create directory ‘/proc/net/arp’: Operation not permitted
If creating the folder was the solution... but does anybody fixed arp issue?
Any comment is welcome.

No workaround for this issue?
I'm running WLS this version
uname -a
Linux N-20L6PF1PZ148 4.4.0-17763-Microsoft #379-Microsoft Wed Mar 06 19:16:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
fandre@N-20L6PF1PZ148:/mnt/c/Users/$ arp
/proc/net/arp: No such file or directory
Have this issue
sudo mkdir /proc/net/arp
mkdir: cannot create directory ‘/proc/net/arp’: Operation not permitted
If creating the folder was the solution... but does anybody fixed arp issue?
Any comment is welcome.

I have exactly the same situation and have tried sudo mkdir /proc/net/arp to no avail!

Same, arp command still doesn't work, mkdir didn't change anything

try using arp.exe -a on WSL.

try using arp.exe -a on WSL.

this is simple but working solution! thanks.

try using arp.exe -a on WSL.

thanks for the solution.

try using arp.exe -a on WSL.

thinks

I have the same issue, and maybe it's worth noticing that command arp --help works.

Indeed, and a whereis arp lists arp: /usr/sbin/arp as its first result.

try using arp.exe -a on WSL.

try using arp.exe -a on WSL.

Thaks it's working 💯

try using arp.exe -a on WSL.

Works on Bash on Ubuntu on Windows too. thanks

Why is this closed? The issue is not resolved. Running arp.exe from WSL is not the same as fixing the WSL arp installation.

Did anyone find a solution for this? I am having the same issue.

alias arp="arp.exe"

running arp.exe from wsl is a weird thing to do. You're cheating yourself.
The result is the same as running arp.exe directly from your windows terminal. WSL has nothing to do with this at all.
By contrast if you want to run the linux version of the arp command, then you're still stuck.

@bvandenbon arp can only get MAC addresses within the same Layer 2 network. WSL2 works within its own subnet, so arp on WSL can only work within that subnet. You need to use the Windows arp.exe only because the host Windows network is on the same network as the device you are trying to get the MAC address from.


Idea for Timers

I know timers where a part of mio and have since been removed, but I have somewhat simple idea that might be good for inclusion in the crate again.
This would add a new struct called Timer, e.g:
struct Timer {
    deadline: Instant,
}

impl Timer {
    fn new(deadline: Instant) -> Timer {
        Timer { deadline }
    }
    fn timeout(timeout: Duration) -> timer {
        Timer { deadline: Instant::now() + timeout }
    }
}

For implementing Evented for it Poll would need an ordered collection, e.g. a linked list, of deadlines. Then when Poll.poll is called rather then using the user provided timeout we would use the first deadline as a timeout (or the provided timeout if is earlier). Something like this:`
struct Poll {
    deadlines: LinkedList<Instant>,
}
impl Poll {
    fn poll(&self, events: &mut Events, timeout: Option<Duration>) {
        let first_deadline = self.deadlines.first();
        let timeout = match timeout {
            Some(timeout) => ::std::cmp::min(Instant::now() + timeout, first_deadline),
            None => first_deadline.duration_since(Instant::now()), // TODO: check deadline < now().
        };

        // Continue like normal.

        // After everything is just, just before returning.
        // loop over all deadlines and create an Event for each one of which the deadline has passed.
    }
}

You should take a look at tokio-timer, which uses mio underneath.  Or, on a BSD-based system, you can simply use kqueue with EVFILT_TIMER and let the kernel worry about maintaining the list of timeouts.

@asomers That could work, but I'm not using tokio.


bert mlperf nvidia inf 4.1 error with "RUN cm pull repo gateoverflow@cm4mlops"

I tried to run mlperf bert with Nvidia selection using https://docs.mlcommons.org/inference/benchmarks/language/bert/#__tabbed_1_2:
cm run script --tags=run-mlperf,inference,_find-performance,_full,_r4.1 \
   --model=bert-99 \
   --implementation=nvidia \
   --framework=tensorrt \
   --category=datacenter \
   --scenario=Offline \
   --execution_mode=test \
   --device=cuda  \
   --docker --quiet \
   --test_query_count=100

I got this error
CM generated the following Docker build command:

docker build  --build-arg GID=\" $(id -g $USER) \" --build-arg UID=\" $(id -u $USER) \" -f "/root/CM/repos/mlcommons@cm4mlops/script/app-mlperf-inference/dockerfiles/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile" -t "cknowledge/cm-script-app-mlperf-inference:ubuntu-20.04-latest" .

         ! cd /root/CM/repos/mlcommons@cm4mlops/script/app-mlperf-inference/dockerfiles
         ! call<EMAIL_ADDRESS>from tmp-run.sh
[+] Building 1.9s (13/15)                                                                                docker:default
 => [internal] load build definition from mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile                                          0.0s
 => => transferring dockerfile: 2.95kB                                                                                0.0s
 => [internal] load metadata for nvcr.io/nvidia/mlperf/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public                                        1.4s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 45B                                                                                0.0s
 => [ 1/12] FROM nvcr.io/nvidia/mlperf/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public@sha256:816bd0cc61b061c9b9e2ebecabd67f710b05740882f04a  0.0s
 => CACHED [ 2/12] RUN apt-get update -y                                                                                0.0s
 => CACHED [ 3/12] RUN apt-get install -y python3 python3-pip git sudo wget python3-venv                                                                               0.0s
 => CACHED [ 4/12] RUN ln -snf /usr/share/zoneinfo/US/Pacific /etc/localtime && echo US/Pacific >/etc/timezone                                                         0.0s
 => CACHED [ 5/12] RUN groupadd -g  0  -o cm                                                                                0.0s
 => CACHED [ 6/12] RUN useradd -m -u  0  -g  0  -o --create-home --shell /bin/bash cmuser                                                                              0.0s
 => CACHED [ 7/12] RUN echo "cmuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers                                                                                0.0s
 => CACHED [ 8/12] WORKDIR /home/cmuser                                                                                0.0s
 => CACHED [ 9/12] RUN python3 -m pip install --user cmind requests giturlparse tabulate                                                                               0.0s
 => ERROR [10/12] RUN cm pull repo gateoverflow@cm4mlops                                                                                0.4s
------
 > [10/12] RUN cm pull repo gateoverflow@cm4mlops:
0.226 /bin/bash: cm: command not found
------
mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile:39
--------------------
  37 |
  38 |     # Download CM repo for scripts
  39 | >>> RUN cm pull repo gateoverflow@cm4mlops
  40 |
  41 |     # Install all system dependencies
--------------------
ERROR: failed to solve: process "/bin/bash -c cm pull repo gateoverflow@cm4mlops" did not complete successfully: exit code: 127

CM error: Portable CM script failed (name = build-docker-image, return code = 256)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note that it is often a portability issue of a third-party tool or a native script
wrapped and unified by this CM script (automation recipe). Please re-run
this script with --repro flag and report this issue with the original
command line, cm-repro directory and full log here:

https://github.com/mlcommons/cm4mlops/issues

The CM concept is to collaboratively fix such issues inside portable CM scripts
to make existing tools and native scripts more portable, interoperable
and deterministic. Thank you!

It seems that cm is not found? What's weird because I've managed to build gptj docker for nvidia with similar Cm instructions.
Also, I am confused with  gateoverflow@cm4mlops.
If I understand correctly, I have to use mlcommons@cm4mlops to run cm instructions for mlperf, right? What is the reason for using a different repository inside Docker?
Any help is appreciated.

Can you please retry with --docker_cache=no option?

Can you please retry with --docker_cache=no option?
The fork is used as we are waiting to support branch option in cm docker.

The same error persists :( . I've tried this
cm pull repo
cm rm cache -f
cm run script --tags=run-mlperf,inference,_find-performance,_full,_r4.1 \
   --model=bert-99 \
   --implementation=nvidia \
   --framework=tensorrt \
   --category=datacenter \
   --scenario=Offline \
   --execution_mode=test \
   --device=cuda  \
   --docker --quiet \
   --test_query_count=100 --docker_cache=no

CM generated the following Docker build command:

docker build  --no-cache --build-arg GID=\" $(id -g $USER) \" --build-arg UID=\" $(id -u $USER) \" -f "/root/CM/repos/mlcommons@cm4mlops/script/app-mlperf-inference/dockerfiles/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile" -t "cknowledge/cm-script-app-mlperf-inference:ubuntu-20.04-latest" .

         ! cd /root/CM/repos/mlcommons@cm4mlops/script/app-mlperf-inference/dockerfiles
         ! call<EMAIL_ADDRESS>from tmp-run.sh
[+] Building 26.5s (13/15)                                                                                docker:default
 => [internal] load build definition from mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile                                          0.0s
 => => transferring dockerfile: 2.99kB                                                                                0.0s
 => [internal] load metadata for nvcr.io/nvidia/mlperf/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public                                        1.5s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 45B                                                                                0.0s
 => CACHED [ 1/12] FROM nvcr.io/nvidia/mlperf/mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public@sha256:816bd0cc61b061c9b9e2ebecabd67f710b05740  0.0s
 => [ 2/12] RUN apt-get update -y                                                                                3.0s
 => [ 3/12] RUN apt-get install -y python3 python3-pip git sudo wget python3-venv                                                                                16.1s
 => [ 4/12] RUN ln -snf /usr/share/zoneinfo/US/Pacific /etc/localtime && echo US/Pacific >/etc/timezone                                                                0.4s
 => [ 5/12] RUN groupadd -g  0  -o cm                                                                                0.4s
 => [ 6/12] RUN useradd -m -u  0  -g  0  -o --create-home --shell /bin/bash cmuser                                                                                0.6s
 => [ 7/12] RUN echo "cmuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers                                                                                0.3s
 => [ 8/12] WORKDIR /home/cmuser                                                                                0.2s
 => [ 9/12] RUN python3 -m pip install --user cmind requests giturlparse tabulate                                                                                3.4s
 => ERROR [10/12] RUN cm pull repo gateoverflow@cm4mlops                                                                                0.4s
------
 > [10/12] RUN cm pull repo gateoverflow@cm4mlops:
0.325 /bin/bash: cm: command not found
------
mlperf-inference:mlpinf-v4.0-cuda12.2-cudnn8.9-x86_64-ubuntu20.04-public.Dockerfile:39
--------------------
  37 |
  38 |     # Download CM repo for scripts
  39 | >>> RUN cm pull repo gateoverflow@cm4mlops
  40 |
  41 |     # Install all system dependencies
--------------------
ERROR: failed to solve: process "/bin/bash -c cm pull repo gateoverflow@cm4mlops" did not complete successfully: exit code: 127

CM error: Portable CM script failed (name = build-docker-image, return code = 256)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note that it is often a portability issue of a third-party tool or a native script
wrapped and unified by this CM script (automation recipe). Please re-run
this script with --repro flag and report this issue with the original
command line, cm-repro directory and full log here:

https://github.com/mlcommons/cm4mlops/issues

The CM concept is to collaboratively fix such issues inside portable CM scripts
to make existing tools and native scripts more portable, interoperable
and deterministic. Thank you!

real    1m49.142s
user    0m53.597s
sys     0m16.571s

Hi, I just tested the python3 -m pip install --user cmind in a new ubuntu user which does not have sudo permission. This was the output:
Installing collected packages: giturlparse, cmind
  WARNING: The scripts cm, cme, cmg, cmind, cmr and cmrd are installed in '/home/test/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed cmind-2.3.3 giturlparse-0.12.0

and upon checking the cm command:
test@anandhu-VivoBook-ASUSLaptop-X515UA-M515UA:~/Desktop$ cm
cm: command not found

@arjunsuresh could we add a command to include the path to cm explicitly.
@arjunsuresh could we add

@mlosab3 is this issue still happening?

It is not failing for now - thank you! What is the flag to change gateoverflow@cm4mlops to mlcommons@cm4mlops? Thank you for your quick responses!

@mlosab3 sorry for the late reply. Now by default the repository used is mlcommons@cm4mlops. You can change it by using --docker_cm_repo=username@repo_name to use any other github fork.

Closing this issue. Feel free to reopen if issue persists.


Improve post customization phases

Description

PostCustomization phases are a bit complicated now. They have to be ordered in cloud_init and phases arrays. Removing phases conditionally is easier than adding.

Now, NvidiaRuntimeInstall is not applied for the first CP node but there is no such restriction in the VCDMachine level. This PR adds NvidiaRuntimeInstall regardless of useControlPlaneScript.

Now, the proxy configuration for containerd is rendered in cloud_init.tmpl regardless of their content. /etc/systemd/system/containerd.service.d/http-proxy.conf should be rendered only when HttpProxy or HttpsProxy has a value.  This will allow users to use their own proxy settings for containerd without using built-in features.

Checklist

[x] tested locally
[ ] updated any relevant dependencies
[ ] updated any relevant documentation or examples

API Changes
Are there API changes?

[ ] Yes
[x] No

If yes, please fill in the below

Updated conversions?

[ ] Yes
[x] No
[ ] N/A

Updated CRDs?

[ ] Yes
[x] No
[ ] N/A

Updated infrastructure-components.yaml?

[ ] Yes
[x] No
[ ] N/A

Updated ./examples/capi-quickstart.yaml?

[ ] Yes
[x] No
[ ] N/A

Updated necessary files under ./infrastructure-vcd/v1.0.0/?

[ ] Yes
[x] No
[ ] N/A

This change is

@Anirudh9794 could you also please take a look at this review

@arunmk @lzichong Thanks for the approval!
@Anirudh9794 If you have any concerns, feel free to ping me via Slack. I am open to explaining the PR in a meeting.

@sahithi HUGE THANKS HUGEEE!!!


fix windows error bug

I think this was resolved a while ago with the movement to https://github.com/dwmkerr/node-imagemagick-cli, but please re-open if needed


Can't build with ament

when i build the project with : ament build --symlink-install --isolated --only-package rcljava_examples
return output :
Process package 'rcljava_examples' with context:
--------------------------------------------------------------------------------
 source_space => /home/micky/ros-workspace/ros2java/ros2_java_ws/src/ros2_java/ros2_java_examples/rcljava_examples
  build_space => /home/micky/ros-workspace/ros2java/ros2_java_ws/build_isolated/rcljava_examples
install_space => /home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava_examples
   make_flags => -j4, -l4
  build_tests => False
--------------------------------------------------------------------------------
+++ Building 'rcljava_examples'
Traceback (most recent call last):
  File "/home/micky/ros-workspace/ros2java/ament_ws/install_isolated/ament_tools/bin/ament", line 9, in <module>
    load_entry_point('ament-tools', 'console_scripts', 'ament')()
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/commands/ament.py", line 88, in main
    rc = args.main(args)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build/cli.py", line 164, in main
    return iterate_packages(opts, packages, per_package_main)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build/cli.py", line 295, in iterate_packages
    rc = processSequentially(jobs)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build/cli.py", line 335, in processSequentially
    rc = job['callback'](job['opts'])
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 270, in main
    return run(opts, context)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 315, in run
    handle_build_action(on_build_ret, context)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 260, in handle_build_action
    run_command(build_action, context)
  File "/home/micky/ros-workspace/ros2java/ament_ws/build_isolated/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 238, in run_command
    print("==> '{0}' in '{1}'".format(" ".join(build_action.cmd), cwd))
TypeError: sequence item 0: expected str instance, NoneType found

dump :
content of context
install_space                      => /home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava_examples
symlink_install                    => True
ament_gradle_args                  => []
source_space                       => /home/micky/ros-workspace/ros2java/ros2_java_ws/src/ros2_java/ros2_java_examples/rcljava_examples
make_flags                         => ['-j4', '-l4']
build_tests                        => False
exec_dependency_paths_in_workspace => ['/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_java/share/rosidl_generator_java', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/example_interfaces/share/example_interfaces', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava/share/rcljava', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/std_msgs/share/std_msgs', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/sensor_msgs/share/sensor_msgs']
build_space                        => /home/micky/ros-workspace/ros2java/ros2_java_ws/build_isolated/rcljava_examples
install                            => True
dry_run                            => False
package_manifest                   => {'test_depends': [], 'buildtool_export_depends': [], 'name': 'rcljava_examples', 'build_export_depends': [], 'urls': [], 'exports': [<ament_package.export.Export object at 0x7f48b5e7a0c8>], 'filename': '/home/micky/ros-workspace/ros2java/ros2_java_ws/src/ros2_java/ros2_java_examples/rcljava_examples/package.xml', 'package_format': 2, 'buildtool_depends': [<ament_package.dependency.Dependency object at 0x7f48b5f0bf68>, <ament_package.dependency.Dependency object at 0x7f48b5f0bca8>, <ament_package.dependency.Dependency object at 0x7f48b5f0bc50>, <ament_package.dependency.Dependency object at 0x7f48b5f0b938>, <ament_package.dependency.Dependency object at 0x7f48b5f0b8e0>], 'build_depends': [<ament_package.dependency.Dependency object at 0x7f48b5f0d0f8>, <ament_package.dependency.Dependency object at 0x7f48b5f0d0a0>, <ament_package.dependency.Dependency object at 0x7f48b5f0b3b8>, <ament_package.dependency.Dependency object at 0x7f48b5f0bfc0>], 'maintainers': [<ament_package.person.Person object at 0x7f48b5f07588>], 'authors': [], 'replaces': [], 'doc_depends': [], 'licenses': ['Apache License 2.0'], 'exec_depends': [<ament_package.dependency.Dependency object at 0x7f48b5f0b9e8>, <ament_package.dependency.Dependency object at 0x7f48b5f0b990>, <ament_package.dependency.Dependency object at 0x7f48b5f0b728>, <ament_package.dependency.Dependency object at 0x7f48b5f0bf10>, <ament_package.dependency.Dependency object at 0x7f48b5f0b780>], 'conflicts': [], 'version': '0.0.0', 'description': 'Package containing examples of how to use the rcljava API.'}
build_dependencies                 => ['/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/ament_cmake_export_jars/share/ament_cmake_export_jars', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/connext_cmake_module/share/connext_cmake_module', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/fastcdr/share/fastcdr', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/fastrtps/share/fastrtps', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/opensplice_cmake_module/share/opensplice_cmake_module', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/python_cmake_module/share/python_cmake_module', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw/share/rmw', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_implementation_cmake/share/rmw_implementation_cmake', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_cmake/share/rosidl_cmake', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_default_generators/share/rosidl_default_generators', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_default_runtime/share/rosidl_default_runtime', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_dds_idl/share/rosidl_generator_dds_idl', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_parser/share/rosidl_parser', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_c/share/rosidl_generator_c', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_shared_cpp/share/rmw_connext_shared_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_cpp/share/rosidl_generator_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_java/share/rosidl_generator_java', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_connext_cpp/share/rosidl_typesupport_connext_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_connext_c/share/rosidl_typesupport_connext_c', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_cpp/share/rmw_connext_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_introspection_c/share/rosidl_typesupport_introspection_c', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_introspection_cpp/share/rosidl_typesupport_introspection_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_dynamic_cpp/share/rmw_connext_dynamic_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_fastrtps_cpp/share/rmw_fastrtps_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_opensplice_cpp/share/rosidl_typesupport_opensplice_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_opensplice_c/share/rosidl_typesupport_opensplice_c', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_opensplice_cpp/share/rmw_opensplice_cpp', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_implementation/share/rmw_implementation', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_py/share/rosidl_generator_py', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/builtin_interfaces/share/builtin_interfaces', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/example_interfaces/share/example_interfaces', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcl_interfaces/share/rcl_interfaces', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/std_msgs/share/std_msgs', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/geometry_msgs/share/geometry_msgs', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcl/share/rcl', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava/share/rcljava', '/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/sensor_msgs/share/sensor_msgs']

content of build_action.cmd
[None, '-Pament.build_space=/home/micky/ros-workspace/ros2java/ros2_java_ws/build_isolated/rcljava_examples', '-Pament.install_space=/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava_examples', '-Pament.dependencies=/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/ament_cmake_export_jars/share/ament_cmake_export_jars:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/connext_cmake_module/share/connext_cmake_module:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/fastcdr/share/fastcdr:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/fastrtps/share/fastrtps:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/opensplice_cmake_module/share/opensplice_cmake_module:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/python_cmake_module/share/python_cmake_module:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw/share/rmw:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_implementation_cmake/share/rmw_implementation_cmake:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_cmake/share/rosidl_cmake:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_default_generators/share/rosidl_default_generators:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_default_runtime/share/rosidl_default_runtime:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_dds_idl/share/rosidl_generator_dds_idl:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_parser/share/rosidl_parser:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_c/share/rosidl_generator_c:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_shared_cpp/share/rmw_connext_shared_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_cpp/share/rosidl_generator_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_java/share/rosidl_generator_java:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_connext_cpp/share/rosidl_typesupport_connext_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_connext_c/share/rosidl_typesupport_connext_c:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_cpp/share/rmw_connext_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_introspection_c/share/rosidl_typesupport_introspection_c:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_introspection_cpp/share/rosidl_typesupport_introspection_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_connext_dynamic_cpp/share/rmw_connext_dynamic_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_fastrtps_cpp/share/rmw_fastrtps_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_opensplice_cpp/share/rosidl_typesupport_opensplice_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_typesupport_opensplice_c/share/rosidl_typesupport_opensplice_c:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_opensplice_cpp/share/rmw_opensplice_cpp:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rmw_implementation/share/rmw_implementation:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rosidl_generator_py/share/rosidl_generator_py:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/builtin_interfaces/share/builtin_interfaces:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/example_interfaces/share/example_interfaces:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcl_interfaces/share/rcl_interfaces:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/std_msgs/share/std_msgs:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/geometry_msgs/share/geometry_msgs:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcl/share/rcl:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/rcljava/share/rcljava:/home/micky/ros-workspace/ros2java/ros2_java_ws/install_isolated/sensor_msgs/share/sensor_msgs', 'build']

Solution need to install gradle on the system :
aptitude install gradle


ios notification dont work

APNS device token not set before retrieving FCM Token for Sender ID ''. Notifications to this FCM Token will not be delivered over APNS.Be sure to re-retrieve the FCM token once the APNS device token is set.
this message appears in xcode when I call the plugin. How to solve it? No notifications arrive.

Based on what I'm encountering, it appears that .on('registration') is not being called which is what we need to get a valid registrationID (token) for FCM/APNS. Is that what you're seeing?

hi @ppetree ,
I have the same issue. Do you able to find any solution to fix this?
Thanks and appreciate.

Honestly, I don't remember.

Same problem here. This was working for us and then suddenly stopped working even though we didn't update the app. Which leads me to think something in the Apple Push Notifications API changed and this plugin wasn't updated. But ours worked until May 2024, which doesn't track.

This issue should have resolved and currently merged in the main branch. Will be in the next major release.


fix issue bot :ignore issue which without labels

Codecov Report

Merging #2077 (c85eac6) into master (eff46bd) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2077      +/-   ##
==========================================
- Coverage   76.48%   76.41%   -0.07%
==========================================
  Files         517      516       -1
  Lines       46840    46605     -235
==========================================
- Hits        35825    35614     -211
+ Misses       9037     9027      -10
+ Partials     1978     1964      -14

Flag
Coverage Δ

go-1.15-386
?

go-1.15-amd64
?

go-1.16-386
?

go-1.16-amd64
76.37% <ø> (-0.02%)
:arrow_down:

go-1.17-386
?

go-1.17-amd64
?

go-1.18-386
76.39% <ø> (?)

go-1.18-amd64
?

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

Impacted Files
Coverage Δ

os/gspath/gspath_cache.go
84.21% <0.00%> (-10.53%)
:arrow_down:

contrib/registry/polaris/polaris_watcher.go
67.85% <0.00%> (-5.36%)
:arrow_down:

os/gfsnotify/gfsnotify_watcher_loop.go
78.15% <0.00%> (-5.05%)
:arrow_down:

os/gfpool/gfpool_file.go
65.71% <0.00%> (-2.86%)
:arrow_down:

contrib/drivers/oracle/oracle.go

os/gfsnotify/gfsnotify_watcher.go
84.03% <0.00%> (+2.52%)
:arrow_up:

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

找个怎么没有通过


Make SymbolWalker cancellable

...since it's potentially expensive.

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Per @weswigham's suggestion, handle cancellation in the Accept predicate, rather than adding a new SymbolWalker API.


fix: test if e2e tests are failing due to flakiness

Fixes #TODO
Motivation

Modifications

Verification

Rebased the branch to an earlier version of main before #12736 was merged to see if that's the cause.
See also Slack thread

CI is still failing with the same errors, so my next guess would be #12741

And it's still failing with the same error on a version of main prior to #12741 being merged. I'm even more confused now....

Hmm I thought it was https://github.com/argoproj/argo-workflows/pull/12736 as well due to a git blame I came upon.
I suppose the quickest way to find out what the first offending commit is to git bisect.

That uh assumes knowing a "good" commit, and I'm not sure which one is good 😬
Alan and I were thinking on Slack that it could potentially be an unpinned dep somewhere, though I couldn't pinpoint one that added up in the manifests. I was looking at the debug logs and wondering if the tests might be pulling argocli:latest from the web instead of the locally built one

The last rebase I tried was on top of / after #12972, and it's still failing with the same errors

Ok rebased once more to after #12917 annnd still same error. I chose that one as it was what #12926 was based on, which just merged (i.e. passed E2E on its own branch).
So pretty sure it's not due to a commit at this point

Noting here that the failing API test does result in a nil pointer dereference error in the Server logs:
server: time="2024-05-05T02:31:39.703Z" level=info msg="Get artifact file" artifactName=local-artifact namespace=argo nodeId=wf-stopped-8j2gw-1075147760 uid=3b15ead1-612c-4820-8d62-e72018069605
server: 2024/05/05 02:31:39 http: panic serving [::1]:54866: runtime error: invalid memory address or nil pointer dereference
server: goroutine 295 [running]:
server: net/http.(*conn).serve.func1()
server: 	/opt/hostedtoolcache/go/1.21.9/x64/src/net/http/server.go:1868 +0xb9
server: panic({0x2994660?, 0x4b2cd40?})
server: 	/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/panic.go:920 +0x270
server: github.com/argoproj/argo-workflows/v3/server/artifacts.(*ArtifactServer).GetArtifactFile(0xc000716960, {0x3303b00, 0xc0002d80e0}, 0xc000c3c000)
server: 	/home/runner/work/argo-workflows/argo-workflows/server/artifacts/artifact_server.go:141 +0x8b8

I've managed to produce ErrImageNeverPull: Container image "argoproj/argocli:latest" is not present with pull policy of Never locally by adding a Never image pull policy for artgc-dag-workflow-stopper which is used in artgc-dag-wf-self-delete, one of the failing tests.
I can't see where the argocli image gets built and pushed during e2e, so I'll see if I can find a satisfactory fix for this.

This is fixed in #13018

Alan and I were thinking on Slack that it could potentially be an unpinned dep somewhere, though I couldn't pinpoint one that added up in the manifests. I was looking at the debug logs and wondering if the tests might be pulling argocli:latest from the web instead of the locally built one

I've managed to produce ErrImageNeverPull: Container image "argoproj/argocli:latest" is not present with pull policy of Never locally by adding a Never image pull policy for artgc-dag-workflow-stopper which is used in artgc-dag-wf-self-delete, one of the failing tests.

This is fixed in #13018

Thanks Alan for confirming my hypothesis and fixing the imagePullPolicy so that we don't run into that issue again!
We should still pin all the other images in the test manifests too, to prevent a similar type of bug (or supply chain attack via tests)


[BUG] ApplicationInsightsManagementClient throws exception on WebTestLocations.ListAsync

Describe the bug
Unable to deserialize the response ApplicationInsightsManagementClient.WebTestLocations.ListAsync
Expected behavior
I would not expect an errors
Actual behavior (include Exception or Stack Trace)
Microsoft.Rest.SerializationException
HResult=0x80131500
Message=Unable to deserialize the response.
Source=Microsoft.Azure.Management.ApplicationInsights
StackTrace:
at Microsoft.Azure.Management.ApplicationInsights.Management.WebTestLocationsOperations.d__5.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.Azure.Management.ApplicationInsights.Management.WebTestLocationsOperationsExtensions.<ListAsync>d__1.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at AppInsightsApi.Program.d__0.MoveNext() in C:\Users\sesa220553\source\repos\AppInsightsApi\AppInsightsApi\Program.cs:line 55
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Microsoft.Azure.Management.ApplicationInsights.Management.Models.Page1`1[Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentWebTestLocation]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
It does return an expected response just seems like the sdk can't deal with it. The response is similar to
[{"DisplayName":"North Central US","Tag":"us-il-ch1-azr"},{"DisplayName":"West Europe","Tag":"emea-nl-ams-azr"},{"DisplayName":"Southeast Asia","Tag":"apac-sg-sin-azr"},{"DisplayName":"West US","Tag":"us-ca-sjc-azr"},{"DisplayName":"South Central US","Tag":"us-tx-sn1-azr"},{"DisplayName":"East US","Tag":"us-va-ash-azr"},{"DisplayName":"East Asia","Tag":"apac-hk-hkn-azr"},{"DisplayName":"North Europe","Tag":"emea-gb-db3-azr"},{"DisplayName":"Japan East","Tag":"apac-jp-kaw-edge"},{"DisplayName":"Australia East","Tag":"emea-au-syd-edge"},{"DisplayName":"France Central (Formerly France South)","Tag":"emea-ch-zrh-edge"},{"DisplayName":"France Central","Tag":"emea-fr-pra-edge"},{"DisplayName":"UK South","Tag":"emea-ru-msa-edge"},{"DisplayName":"UK West","Tag":"emea-se-sto-edge"},{"DisplayName":"Brazil South","Tag":"latam-br-gru-edge"},{"DisplayName":"Central US","Tag":"us-fl-mia-edge"}]
I can get this info by using ServiceClientTracing and intercepting the response and calling response.Content.ReadAsStringAsync().Result.
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

Create new ApplicationInsightsManagementClient

var creds = SdkContext.AzureCredentialsFactory.FromServicePrincipal(_azureClientId, _azureClientSecret, _directoryId, _azureGlobalCloud);
AppInsights = new ApplicationInsightsManagementClient(creds){SubscriptionId = _subscriptionId};
// Will throw on the below line
var locations = await AppInsights.WebTestLocations.ListAsync("common", "MyAppinsights Instance");

Environment:

Microsoft.Azure.Management.ApplicationInsight 0.3.0-preview
Net core 3.1 or Framework 4.8
IDE and version :  Visual Studio 16.7.2

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Is there any update on this?


[Bug]: Review page has minimal details as against zeplin

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I view the review page, it does not have all the details as shown on Zeplin.
Steps To Reproduce

Set Manage Environments for both Production and Staging environments (Host/Port/DB Name/Username/Password are all bound)
Go to the datasource review screen
Only Connection mode and database name are seen for both environments
As per zeplin, all the details should be shown on this page.
Also, though the database is bound, the value for db is showing up here explicitly and not as the environment variable

Public Sample App
No response
Issue video log
No response
Version
ec2 instance

@btsgh Please refer to parth's comment in #20485

Noted @ayushpahwa - with regards Parth's comments, I had a few queries.
What then is the final decision on the Review page? @sribalajig

Since there was a Zeplin for this page, we are validating the UI with respect to the Zeplin. Hence this bug. Please advise on what should be the status of this bug?
Agreed RBAC will take care of this page. But functionality wise, without RBAC set, for the instance admin, it should work just the same way as it does on Release - This is what QA is testing against. Is this a valid assumption?
If above is true, then how should point 4 in the bug be addressed? The value for the DB should be showing up as the bound value.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2582

Questions ?
Please refer to the Backport tool documentation