Added xSPSearchCrawlRule resource

Added a new resource xSPSearchCrawlRule to manage Enterprise Search crawl rules as mentioned in issue #29
Thanks for submitting a Pull Request to this project.
Please make sure you have read the Contribution Guidelines.
To aid community reviewers in reviewing and merging your PR, please take the time to run through this checklist:

[X] Change details added to Unreleased section of readme.md?
[X] Added/updated documentation and descriptions in .schema.mof files where appropriate?
[X] Examples updated for both the single server and small farm templates in the examples folder?
[X] New/changed code adheres to [Style Guidelines]?(https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md)?
[X] Unit and Integration tests created/updated where possible?

This change is

Looks like it's failing at AppVeyor on the PSScriptAnalyser and some tests on the schema. I'll pick some of that up in the review below but definitely needs some attention. I didn't get to the review the tests yet, but I submitted the stuff I have so far so you could begin on that and I'll review the tests at the next revision. Thanks bud.

Reviewed 5 of 6 files at r1.
Review status: 5 of 6 files reviewed at latest revision, 18 unresolved discussions, some commit checks failed.

README.md, line 126 [r1] (raw file):
There is a line above that introduces the new resources for this release, can you add this to the existing line?

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 22 [r1] (raw file):
Can you elaborate for me on why we can't remove rules of those types?

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 23 [r1] (raw file):
Why are we returning null here? If there is an issue with the parameters that stop us from returning the current state we should be throwing exceptions here to indicate something stopped us from retrieving the current state, but if the invalid presentation of parameters won't stop the get call we should be letting this go through and throw the exception when we try to test or set the resource. The same applies for all the return null lines below this in the get method.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 28 [r1] (raw file):
Can we change this message to be a bit clearer - something like "If AuthenticationType is CertificateRuleAccess you must specify the CertificateName value"

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 34 [r1] (raw file):
Same as above for more specific details in the error - "when X=Y then you must provide value Z" kind of thing.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 40 [r1] (raw file):
And again on error message formatting here

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 46 [r1] (raw file):
Error message formatting

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 52 [r1] (raw file):
Error message formatting

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 96 [r1] (raw file):
This looks like it will return the [System.Type] object back here, where as I would assume we want a string here right? Should this then be $crawlRule.Type.Name

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 108 [r1] (raw file):
As above with the Type object and its name property

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 116 [r1] (raw file):
Rather than use default here can we specify the types you expect to catch here. This way if the product is ever changed our code won't inherit a new type that it isn't expecting

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 121 [r1] (raw file):
The ToString() here will return the full name I think rather than just the short name which is what I think you are expecting. Either way if you could make this output the same as the two above it for handling the Type value that would be better

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 153 [r1] (raw file):
We shouldn't be returning $null from the get method, so we might need to refactor how you do your check for parameters being valid.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 156 [r1] (raw file):
Just from the point of view of cleaning up the code, we can probably ditch the comment here seeing as we have a write-verbose line right below it. Same for the other two below this in the set method

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 175 [r1] (raw file):
You can just use $params.AuthenticationCredentials.Password to get the secure string here rather than taking it out as plain text and then back to a secure string. The Script Analyser will complain about this as well because it will put the password in to memory as plain text temporarily so we need to avoid this (my PR to move away from experimental fixes this in a bunch of places as well so the other resources we do this for won't be that way for long)

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 205 [r1] (raw file):
Same note here about the secure string of the password

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 4 [r1] (raw file):
Looks like the description needs to be updated from what you copied from here

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 39 [r1] (raw file):
Can we change this to "RuleType" - the develoepr in me knows that Type is a property on way too many object types in .NET and I want to make sure we avoid using reserved names for things. I don't think this will cause a specific issue right now but might head off something in future.

Comments from Reviewable

Review status: 3 of 6 files reviewed at latest revision, 18 unresolved discussions.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 22 [r1] (raw file):
The Ensure=Absent matches on the rule name and ServiceApp name. Since it does not make sense to specify additional parameters if you want to delete the rule, I build in this check.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 23 [r1] (raw file):
Ok, will change that. I saw the same behavior in other resources so I copied that.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 28 [r1] (raw file):
Will try to improve the message. This check checks if either one of the parameters is present without the other being present.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 34 [r1] (raw file):
Will try to improve the message. This check checks if either one of the parameters is present without the other being present.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 40 [r1] (raw file):
Will try to improve the message. This check checks if either one of the parameters is present without the other being present.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 46 [r1] (raw file):
Will try to improve the message. This check checks if either one of the parameters is present without the other being present.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 52 [r1] (raw file):
Will try to improve the message. This check checks if either one of the parameters is present without the other being present.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 96 [r1] (raw file):
Type is a property of the object. I think you are confused with the GetType() method

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 108 [r1] (raw file):
Type is a property of the object. I think you are confused with the GetType() method

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 116 [r1] (raw file):
Ok, will update.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 121 [r1] (raw file):
Type is a property of the object. I think you are confused with the GetType() method. Will change the ToString() to match all three instances.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 153 [r1] (raw file):
Will do

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 156 [r1] (raw file):
Will do

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 4 [r1] (raw file):
Thought I changed this one, will update :-)

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 39 [r1] (raw file):
Will do

Comments from Reviewable

Review status: 3 of 6 files reviewed at latest revision, 16 unresolved discussions.

README.md, line 126 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 22 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 23 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 28 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 34 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 40 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 46 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 52 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 116 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 121 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 153 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 156 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 175 [r1] (raw file):
Removed the ConvertTo-SecureString, since the cmdlet requires a plaint text password

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 205 [r1] (raw file):
Removed the ConvertTo-SecureString, since the cmdlet requires a plaint text password

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 4 [r1] (raw file):
Done.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.schema.mof, line 39 [r1] (raw file):
Done.

Comments from Reviewable

Testing all changes before pushing the commit

Pester tests now succeed, needed to sync commits to be able to test on my test environment. All review comments have been incorporated.

Good review mate, few more little things to touch up to get this over the line.

Reviewed 3 of 4 files at r3, 1 of 1 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 23 [r1] (raw file):
Yea I'm on a cleanup mission for stuff like this at the moment, I know I've got most of them sorted but not all yet. Thanks :)

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 156 [r1] (raw file):
You tagged this as done but I still see both the comment and the verbose output here?

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 175 [r1] (raw file):
If the cmdlet needs plain text you'll actually need to make this $params.AuthenticationCredentials.GetNetworkCredential().Password - the straight password property actually sends a secure string.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 205 [r1] (raw file):
Same note here about the secure string

Comments from Reviewable

Review status: all files reviewed at latest revision, 3 unresolved discussions.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 175 [r1] (raw file):
Just updating quickly because I tagged this as resolved when it needs a change

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 205 [r1] (raw file):
Same here

Comments from Reviewable

Changed the comments. Doing a new commit now

Review status: all files reviewed at latest revision, 3 unresolved discussions.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 156 [r1] (raw file):
Done, changed this on a different line. Now did in in the entire file :-)

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 175 [r1] (raw file):
The cmdlets indeed needs a plain text password. However during testing this resulted in an error indicating that the cmdlet required a secure string.  That is why I now changed it back to the secure string, but then the option you suggested earlier.

Modules/xSharePoint/DSCResources/MSFT_xSPSearchCrawlRule/MSFT_xSPSearchCrawlRule.psm1, line 205 [r1] (raw file):
The cmdlets indeed needs a plain text password. However during testing this resulted in an error indicating that the cmdlet required a secure string.  That is why I now changed it back to the secure string, but then the option you suggested earlier.

Comments from Reviewable

Review status: 5 of 6 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Replaces occurrences of Symbol(string) to Symbol.for(string)

Description
Replaces Symbol(string) with Symbol.for(string)
Related Issue
inversify #691
Motivation and Context
See description of a Symbol
Calling Symbol() creates a unique primitive value in the Javascript engine. Without a reference to it, it becomes lost.
Symbol('foo') === Symbol('foo')  // false

let key1 = Symbol('foo')
let key2 = Symbol('foo')
let obj = {
    [key1]: 'bar',
    [key2]: 'baz'
}
obj[key1] === 'bar' // true
obj[key2] === 'baz' // true

Object keys created using Symbol() are therefore impossible to use without keeping a reference to them.
Using Symbol.for('foobar') looks up the symbol in the JS registry and returns it if found or creates it if not found.
How Has This Been Tested?
This just updates tests in the repo
Types of changes

[x] Bug fix / Docs (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes. (Changes tests)
[ ] All new and existing tests passed.

Thanks a lot for the PR 👍


Cleanup Testing Folder

🗣 Description
Removed old testing folders
💭 Motivation and context
Closes #99
🧪 Testing
Ran RunUnitTests.ps1 without errors
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Add a tag or create a release.

@nanda-katikaneni ready for squash & merge


Changed port in playwright config file

One issue that I had creating a Sveltekit project using create-cloudflare was the fact that the playwright configuration file still had its port set to the default of 4173, which would cause the test to hang. I could either change the webServer.command property to override the default port that miniflare uses or to change the port to 8788 (which is what I chose).

Tests

[ ] TODO (before merge)
[ ] Tests included
[x] Tests not necessary because: The changes are relatively simple.

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[x] Not required because: The changes are relatively simple.

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[x] Documentation not necessary because: It does not change in any way the user experience.

@Oreoezi could you fix the formatting issues here? Running pnpm prettify should be enough

@penalosa I ran prettier. lmk if that fixed all the formatting issues.


Adding a test demonstrating issue #1942.

This test demonstrates #1942: saving an object after calling set('key', undefined) does not result in key being undefined in object's beforeSave. I originally thought this was Cloud Code only, but that is not the case.

This one seems to be a JS-SDK behaviour. When you do set('key', undefined), the JS-SDK registers it as a no-op as this is equivalent/equal to calling set('key')


Two issues:

EasyCLA comment doesn't show when it fails the second commit
An already authorized user EasyCLA is not passing for the second commit

Background
Some examples of this issue are:
1- PR https://github.com/istio/istio.io/pull/13152
The first commit 45796525e2cd5a2509e24f45da824dbb64b57e93  passed EasyCLA authorization
Then the same contributor created a second commit 500c426a38fe8f89b6f038f9e816e3045eefc383
 the second commit, even when it was created by the same contributor, didn't have EasyCLA authorization
When the user opened a third commit, the second commit got authorized. Also adding "/easycla" comment the commit gets authorized.
Checking the logs we see the authorization
2023-05-02T14:35:07 INFO cla: utils.get_comment_body SHAs for signed users: ['45796525e2cd5a2509e24f45da824dbb64b57e93', '500c426a38fe8f89b6f038f9e816e3045eefc383']

2023-05-02T14:35:08 DEBUG cla: cla.models.github_models.update_pull_request - EasyCLA App checks pass for PR: 13152 with authors: [UserCommitSummary(commit_sha='45796525e2cd5a2509e24f45da824dbb64b57e93', author_id=10537847, author_login='ericvn', author_name='Eric Van Norman', author_email=None, authorized=True, affiliated=False), UserCommitSummary(commit_sha='500c426a38fe8f89b6f038f9e816e3045eefc383', author_id=10537847, author_login='ericvn', author_name='Eric Van Norman', author_email=None, authorized=True, affiliated=False)]

2023-05-02T14:35:08 DEBUG cla: cla.models.github_models.update_pull_request - Creating new CLA 'success' status - 2 passed, [] failed, signing url: https://easycla.lfx.linuxfoundation.org/#/?version=2

2023-05-02T14:35:08 INFO cla: Updating status with state 'success' on PR 13152 for commit 500c426a38fe8f89b6f038f9e816e3045eefc383...

2023-05-02T14:35:09 INFO cla: Successfully posted status 'success' on PR 13152: Commit 500c426a38fe8f89b6f038f9e816e3045eefc383 with SignUrl : https://easycla.lfx.linuxfoundation.org/#/?version=2 with response: CommitStatus(state="success", id=22882252220, context="EasyCLA")

2- PR https://github.com/cloudfoundry/community/pull/509
The first commit b109c14a19028c83ec0f582b4f732861a542f106 has EasyCLA authorization.
When the contributor added a second commit aa284a3dd842035734f6a9f6559cc409f612da2a the second commit didn't have EasyCLA authorization, even when is the same contributor as the first commit.
Adding "/easycla" comment fixed the issue
Expected behavior
1- When there is a second commit and the user is not authorized the EasyCLA comment should be added.
2- The commits when the contributor has a previous authorization should all pass EasyCLA check
Environment
Please complete the following information:

Environment:

[ ] ALL
[ ] DEV
[ ] STAGING
[x ] PROD

Browser:

[ x] Chrome/Brave
[ ] Firefox
[ ] Opera
[ ] Vivaldi
[ ] LibreWolf
[ ] SRware Iron
[ ] Dissenter
[ ] Slimjet
[ ] Midori
[ ] Edge
[ ] Lynx

Is there any update on this work?

@therealmitchconnors am looking into this with an ETA of Friday

Thanks @nickmango , @jarias-lfx
Tested issue on dev site & found that it is working fine , easycla checks are properly appears on 2nd commit.
Refer PR below for more details

https://github.com/sun-test-org/repo1/pull/82
https://github.com/sun-test-org/repo1/pull/85
https://github.com/sun-test-org/repo1/pull/86

Tested issue on prod & found that it is also working fine , So making issue status QA-Done
Refer PR : https://github.com/CLATestOrg/VulDetect1/pull/39

@thakurveerendras could you confirm the 3 scenarios in PROD from https://github.com/communitybridge/easycla/issues/3925#issuecomment-1593295403?

@jarias-lfx , Kindly refer tested 3 scenario PR details below , They are working fine on Prod

Authorized user added two commit  : https://github.com/CLATestOrg/VulDetect1/pull/39
Unauthorized user added two commit : https://github.com/CLATestOrg/VulDetect1/pull/41
Authorized & Unauthorized user added commit : https://github.com/CLATestOrg/VulDetect1/pull/42

Thank you @thakurveerendras


[gitlab] add starrers screen

Similar to members screen(lib/screens/gl_members.dart)
API: https://docs.gitlab.com/ee/api/projects.html#list-starrers-of-a-project

Hi,
where do I find the starred repos of a gitlab instance in the app?


Ensure threaded runtime present

Add a check at startup to ensure that the program was linked against the threaded runtime (using the -threaded GHC option).
This is necessary if any FFI is happening in multiple threads (which definitely happpens in the internals of core-telemetry when sending data to Honeycomb) but the default assumption is that this should just work at all times. We've never tested this library without the threaded runtime and I don't ever expect to start doing so.
Closes #161

Or core-program?

Nice. Should you say Core.Program instead of the more ambiguous Program?

I wasn't trying to draw attention to this being a core -program thing, because really it's a Haskell thing; the notion that the old single threaded IO manager is a good idea because it's the stable original established choice is a decade out of date. The default really should be -threaded so you get the parallel garbage collector, parallelism, and actual use out of multi-core.
I'll write it as Application or Executable, maybe.


Bug: oleaut32 not linked

Which crate is this about?
windows
Crate version
0.32.0
Summary
When building rfd from the main branch https://github.com/PolyMeilex/rfd/blob/efc9a28bff7da44785c3aa5b2cbaa097c08339b5/Cargo.toml#L33-L40, we get multiple linker errors for undefined symbols, all of them from oleaut32.lib
lld-link: error: undefined symbol: __declspec(dllimport) SysStringLen
>>> referenced by C:\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.32.0\src\core\bindings.rs:1191
>>> libwindows-d346ead19c287673.rlib(windows-d346ead19c287673.windows.0beadc8f-cgu.4.rcgu.o):(windows::core::bindings::BSTR::len::haabceceb859863db)
>>> referenced by C:\Users\ark\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.32.0\src\Windows\Win32\Foundation\mod.rs:247
>>> libwindows-d346ead19c287673.rlib(windows-d346ead19c287673.windows.0beadc8f-cgu.7.rcgu.o):(windows::Windows::Win32::Foundation::BSTR::len::hb661c02e23f8c8d1)

lld-link: error: undefined symbol: __declspec(dllimport) SysAllocStringLen
...

lld-link: error: undefined symbol: __declspec(dllimport) SysFreeString
...

lld-link: error: undefined symbol: __declspec(dllimport) SetErrorInfo
...

lld-link: error: undefined symbol: __declspec(dllimport) GetErrorInfo
...

Expected behavior
All relevant libraries should be linked by the windows crate.
Actual behavior
oleaut32.lib is not added as a linker arg, thus linking fails.
Additional comments
I've temporarily fixed this in https://github.com/PolyMeilex/rfd/pull/57 by explicitly adding oleaut32 to the linker args, but IMO this should be fixed in the windows crate, not downstream crates.

I am able to link these functions via the windows crate. Can you share a minimal repro?

maybe something related to that we (@Jake-Shadle and I work on the same project) use the faster LLD linker instead of the default MSVC linker for our project?

The windows crate provides its own umbrella libs, called windows.lib, that provides imports for all of the functions declared by the windows crate. This is done to avoid a linker dependency on the Windows SDK.
https://github.com/microsoft/windows-rs/tree/master/crates/targets/x86_64_msvc/lib
All target crates can be found here:
https://github.com/microsoft/windows-rs/tree/master/crates/targets
That's why it links to "windows" rather than "oleaut32".
The change you're noticing is probably https://github.com/microsoft/windows-rs/pull/1432 but that was done intentionally to use a consistent lib for all imports.

use the faster LLD linker instead

Does it repro with the default MSVC toolchain?

Apparently our project stopped linking via link.exe a while ago due to some kind of resource collision, and we've used lld-link exclusively on windows for 2+ years now and never noticed.

I haven't tried it myself, but it sounds somewhat experimental. https://github.com/rust-lang/rust/issues/39915#issuecomment-618726211
I'm happy for you to use it but I'm not really a linker expert so can't really suggest what might be wrong.
If you can't repro using the MSVC linker then at least you'll know where to begin your research.

No, that issue is referring to using the rust LLD bundled with the rust compiler, lld-link is the LLD shim that is part of the default clang/LLVM toolchain, and has been stable and producing valid Windows binaries for several versions now.
Now that I understand the windows.lib shim thing I'll revert my PR to rfd to add oleaut32 as a link argument since it should work in normal cases and just explicitly add it our project since we already link multiple other SDK libs and thus require it anyways.
I think I'll close this issue for now since this seems to be something messed up in our setup, but perhaps someone else will run into a similar issue in the future and we can properly figure it out.


fix Fix the exceeded limit of the first query execution

Proposed changes
Issue Number: close #xxx
Problem summary
In some cases, when the user executes the query for the first time, an error of the exceeded mem limit will be reported, and the query will be successful only after the second execution.
This is because when the query is executed for the first time, the memory consumed by adding the page cache and other caches is recorded in the query mem tracker, hoping to unify the behavior of multiple queries.
A temporary solution, remove the hook of scanner thread, test clickbench q13

Before removing the scanner thread hook
Enable page cache: 3G for the first query, 3G for the tracker; 900M for the second query, 900M for the tracker.
Turn off page cache: 1.9G for the first query, 1.9G for the tracker; 900M for the second query, 900M for the tracker
After removing the scanner thread hook
Enable page cache: 3G for the first query, 1.6G for the tracker; 900M for the second query, 900M for the tracker
Turn off page cache: 1.9G for the first query, 1.6G for the tracker; 900M for the second query, 900M for the tracker

TODO, a better solution is to track storage-related memory separately, in the scanner thread. Otherwise, it is impossible to know where the process memory grows when querying.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

After remove the hook in olap scanner, the memtracker‘s value has different between first query and second query. There maybe some bugs.

fix bug in MemTrackerLimiter::cache_consume_local


Strengthen golangci-lint check

Describe the feature request
Add more golangci-lint check rules, reference link.
such as: golint, misspell, govet, misspell, unparam

Okay will try to do that... still getting around GitHub not really an expert

Okay will try to do that... still getting around GitHub not really an expert

I think it's better a team member handle this, as the linter change will require many code changes across all Golang packages.


docs(installation): requires Node 8.10+

[x] Others (Update, fix, translation, etc...)

New requirement introduced by https://github.com/hexojs/hexo/pull/3778.

IMHO, maybe we can address https://github.com/hexojs/hexo/pull/3789 in this PR.

I have already commented at https://github.com/hexojs/hexo/pull/3789#issuecomment-545870879
I agree with add Node.js compatibility doc to website.
IMHO, should avoid using a sign of inequality (like >=, >).
My understanding, these versioning specifications are used in npm, php composer, ruby gem (I don't know any more).
But, hexo user's programming background may be various. So, I think they don't know Node.js and they are possibility that they can not understand what is mean >=.


[Bug]: RuntimeError: Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks,&num_threads,K) in file /home/gregory112/.cache/yay/python-dlib-cuda/src/dlib-19.24/dlib/cuda/cuda_utils.h:164. code: 98, reason: invalid device function

What Operating System(s) are you seeing this problem on?
Linux (x86-64)
dlib version
19.24
Python version
3.10
Compiler
GCC 12
Expected Behavior
No response
Current Behavior
Traceback (most recent call last):
  File "/lib/security/howdy/compare.py", line 224, in <module>
    face_locations = face_detector(gsframe, 1)
RuntimeError: Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks,&num_threads,K) in file /home/gregory112/.cache/yay/python-dlib-cuda/src/dlib-19.24/dlib/cuda/cuda_utils.h:164. code: 98, reason: invalid device function

This error was thrown by howdy which is using dlib. I have tried using the latest dlib which I think is 19.24. I am using CUDA 12.1 with Nvidia RTX 3070 Ti (mobile) and Linux 6.2.7.
Is CUDA 12.1 supported or do I have incorrect setup?
Steps to Reproduce
Running howdy with python-dlib with CUDA enabled.
Anything else?
No response

Sorry for the fuss but it seems that a patch in CUDA was uploaded, and I also updated my nvidia driver to 530 and now it works as usual.


Bool type in the use of serialization problems

Bool type in the use of serialization problems,
Conversion code:
           JsonSerializerSettings jsetting = new JsonSerializerSettings();
            jsetting.DefaultValueHandling = DefaultValueHandling.Ignore;
            var b = JsonConvert.SerializeObject(user, jsetting)

I try to use it to filter the value type of null, a single object is the right choice, but when a class attribute is another class will not work, for example:
The normal conversion of the entity
 public class User
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public DateTime? DateTime { get; set; }

        public bool IsBool { get; set; }
    }

The wrong conversion entity, UserList this property is a class, and this class has a bool below
 public class User
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public DateTime? DateTime { get; set; }

        public bool IsBool { get; set; }

        public User UserList { get; set; }
    }

I'm not quite sure if this is a bug or an unknown process, please help me. Thank you

false is the default value for ignore and will be filtered out by DefaultValueHandling.Ignore


AutoFixture.AutoRhinoMocks mocking virtual methods on concrete classes.

Is this supported out the box with AutoRhinoMockCustomization?

IIRC, AutoRhinoMockCustomization doesn't create dynamic Test Doubles for concrete classes. AutoMoqCustomization doesn't, and all the AutoFixture auto-mocking containers tend to have the same overall underlying design philosophy.

Thanks for the reply. That makes sense. Moqs syntax of Mock makes it much easier to pass mocks of concrete types with virtual methods into your tests as parameters. Unfortunately I think you have to use MockRepository.Create in RhinoMocks which you can't pass in, so I'll look for another way around this.

Is there anything regarding this isse that we can do?


Error: unable to mount root fs on unknown-block(0 0)

Hi Alexander, @AwlsomeAlex
My system is Arch Linux.
[max@base ~]$ uname -a
Linux base 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64 GNU/Linux

I am unable to run .iso at qemu or VirtualBox.
[max@base stelalinux]$ bash stela.sh qemu
[....] Starting QEMU....

ISOLINUX 6.03 2014-10-06  Copyright (C) 1994-2014 H. Peter Anvin et al
boot:
Loading /stela/kernel.xz... ok
Loading /stela/initramfs.xz...ok

It's a problem with my System? or repository? @firasuke
Error: VFS unable to mount root fs on unknown-block(0 0)

Useful resource:

https://forums.gentoo.org/viewtopic-t-942728-start-0.html

https://askubuntu.com/questions/71332/kernel-panics-with-cannot-open-root-device-error-where-do-i-append-the-root

https://unix.stackexchange.com/questions/414655/not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-0#:~:text=VFS%3A unable to mount root,the filesystem on the device.&text=The name of the root device passed to the kernel is wrong.

https://unix.stackexchange.com/questions/414655/not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-0

https://askubuntu.com/questions/41930/kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block0-0

https://access.redhat.com/solutions/57018

http://emmanuelcontreras.com/how-to/how-to-fix-kernel-panic-not-syncing-vfs-unable-to-mount-root-fs-on-unknown-block00/

In addition of bash qemu:
qemu-system-x86_64 -enable-kvm -m 1G -cdrom $STELA/StelaLinux-$BUILD_NUMBER-$BARCH.iso -boot d \
    -kernel work/linux/linux-5.4.27/arch/x86_64/boot/bzImage \
    -initrd work/initramfs/initramfs.cpio.xz -nographic \
    -append "console=ttyS0"

Qemu Log
[    0.000000] Linux version 5.4.27 (max@base) (gcc version 9.3.0 (StelaLinux git for x86_64)) #1 SMP Tue Aug 4 13:11:38 +0430 2020
[    0.000000] Command line: console=ttyS0
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdffff] usable
[    0.000000] BIOS-e820: [mem 0x000000003ffe0000-0x000000003fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20200516_175120-felixonmars2 04/01/2014
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 3392.332 MHz processor
[    0.001321] last_pfn = 0x3ffe0 max_arch_pfn = 0x400000000
[    0.001363] x86/PAT: PAT not supported by CPU.
[    0.001370] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.007453] found SMP MP-table at [mem 0x000f5ce0-0x000f5cef]
[    0.007493] check: Scanning 1 areas for low memory corruption
[    0.007592] RAMDISK: [mem 0x3ffdf000-0x3ffdffff]
[    0.007608] ACPI: Early table checksum verification disabled
[    0.007624] ACPI: RSDP 0x00000000000F5B10 000014 (v00 BOCHS )
[    0.007629] ACPI: RSDT 0x000000003FFE156F 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.007640] ACPI: FACP 0x000000003FFE144B 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.007644] ACPI: DSDT 0x000000003FFE0040 00140B (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.007647] ACPI: FACS 0x000000003FFE0000 000040
[    0.007649] ACPI: APIC 0x000000003FFE14BF 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.007652] ACPI: HPET 0x000000003FFE1537 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.007943] No NUMA configuration found
[    0.007944] Faking a node at [mem 0x0000000000000000-0x000000003ffdffff]
[    0.007951] NODE_DATA(0) allocated [mem 0x3ffdb000-0x3ffdefff]
[    0.009051] Zone ranges:
[    0.009053]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.009054]   DMA32    [mem 0x0000000001000000-0x000000003ffdffff]
[    0.009054]   Normal   empty
[    0.009055] Movable zone start for each node
[    0.009056] Early memory node ranges
[    0.009056]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.009059]   node   0: [mem 0x0000000000100000-0x000000003ffdffff]
[    0.012080] Zeroed struct page in unavailable ranges: 130 pages
[    0.012083] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdffff]
[    0.022166] ACPI: PM-Timer IO Port: 0x608
[    0.022180] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.022228] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.022231] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.022232] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.022233] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.022238] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.022239] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.022243] Using ACPI (MADT) for SMP configuration information
[    0.022244] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.022254] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.022269] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.022270] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.022271] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.022271] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.022273] [mem 0x40000000-0xfeffbfff] available for PCI devices
[    0.022284] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>391419 ns
[    0.101906] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[    0.103032] percpu: Embedded 50 pages/cpu s167000 r8192 d29608 u2097152
[    0.103059] Built 1 zonelists, mobility grouping on.  Total pages: 257897
[    0.103060] Policy zone: DMA32
[    0.103062] Kernel command line: console=ttyS0
[    0.103125] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.103148] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.103181] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.105913] Memory: 1001060K/1048056K available (14340K kernel code, 1319K rwdata, 3228K rodata, 1312K init, 1192K bss, 46996K rese)
[    0.109300] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.109316] Kernel/User page tables isolation: enabled
[    0.111029] rcu: Hierarchical RCU implementation.
[    0.111031] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.111036] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.111036] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.111176] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[    0.111454] random: get_random_bytes called from start_kernel+0x30e/0x4db with crng_init=0
[    0.118494] Console: colour VGA+ 80x25
[    0.187566] printk: console [ttyS0] enabled
[    0.188205] ACPI: Core revision 20190816
[    0.188931] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>7 ns
[    0.190355] APIC: Switch to symmetric I/O mode setup
[    0.192273] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.197331] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x30e602f0f5d, max_idle_ns:<PHONE_NUMBER>09 ns
[    0.198858] Calibrating delay loop (skipped), value calculated using timer frequency.. 6784.66 BogoMIPS (lpj=3392332)
[    0.199855] pid_max: default: 32768 minimum: 301
[    0.200525] LSM: Security Framework initializing
[    0.200870] SELinux:  Initializing.
[    0.201395] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.201858] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.203203] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.203859] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.204857] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.205857] Spectre V2 : Mitigation: Full generic retpoline
[    0.206855] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.207855] Speculative Store Bypass: Vulnerable
[    0.208868] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.217790] Freeing SMP alternatives memory: 40K
[    0.320736] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)
[    0.320961] Performance Events: PMU not available due to virtualization, using software events only.
[    0.321902] rcu: Hierarchical SRCU implementation.
[    0.322910] smp: Bringing up secondary CPUs ...
[    0.323857] smp: Brought up 1 node, 1 CPU
[    0.324433] smpboot: Max logical packages: 1
[    0.324855] smpboot: Total of 1 processors activated (6784.66 BogoMIPS)
[    0.326003] devtmpfs: initialized
[    0.327043] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>275000 ns
[    0.327858] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.328949] PM: RTC time: 18:01:48, date: 2020-08-04
[    0.329938] NET: Registered protocol family 16
[    0.330918] audit: initializing netlink subsys (disabled)
[    0.331872] cpuidle: using governor menu
[    0.332485] ACPI: bus type PCI registered
[    0.332951] PCI: Using configuration type 1 for base access
[    0.334861] audit: type=2000 audit(1596564107.139:1): state=initialized audit_enabled=0 res=1
[    0.336459] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.338433] ACPI: Added _OSI(Module Device)
[    0.338860] ACPI: Added _OSI(Processor Device)
[    0.339501] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.339855] ACPI: Added _OSI(Processor Aggregator Device)
[    0.340869] ACPI: Added _OSI(Linux-Dell-Video)
[    0.341509] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.341883] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.343301] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.345394] ACPI: Interpreter enabled
[    0.345877] ACPI: (supports S0 S3 S4 S5)
[    0.346427] ACPI: Using IOAPIC for interrupt routing
[    0.346874] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.347938] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.352470] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.352865] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    0.353869] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.354901] PCI host bridge to bus 0000:00
[    0.355504] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.355856] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.356856] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.357855] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    0.358855] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[    0.359856] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.360660] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.361941] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.363342] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    0.366057] pci 0000:00:01.1: reg 0x20: [io  0xc040-0xc04f]
[    0.367619] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.367856] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.368855] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.369858] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.371885] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.373204] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.373872] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.375982] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    0.378892] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    0.381649] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[    0.386889] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    0.389295] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    0.391861] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[    0.395297] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    0.400218] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    0.402304] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.402960] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.403956] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.404960] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.405917] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.406968] iommu: Default domain type: Translated
[    0.407756] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.407853] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.407858] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.408867] vgaarb: loaded
[    0.409420] SCSI subsystem initialized
[    0.410009] ACPI: bus type USB registered
[    0.410880] usbcore: registered new interface driver usbfs
[    0.411658] usbcore: registered new interface driver hub
[    0.411865] usbcore: registered new device driver usb
[    0.412876] pps_core: LinuxPPS API ver. 1 registered
[    0.413855] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti<EMAIL_ADDRESS>[    0.414858] PTP clock support registered
[    0.415452] EDAC MC: Ver: 3.0.0
[    0.416070] Advanced Linux Sound Architecture Driver Initialized.
[    0.416872] PCI: Using ACPI for IRQ routing
[    0.418158] NetLabel: Initializing
[    0.418855] NetLabel:  domain hash size = 128
[    0.419520] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.419877] NetLabel:  unlabeled traffic allowed by default
[    0.420944] hpet: 3 channels of 0 reserved for per-cpu timers
[    0.421873] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.422855] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.428886] clocksource: Switched to clocksource tsc-early
[    0.500778] VFS: Disk quotas dquot_6.6.0
[    0.501554] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.502596] pnp: PnP ACPI init
[    0.503431] pnp: PnP ACPI: found 6 devices
[    0.504913] thermal_sys: Registered thermal governor 'step_wise'
[    0.504914] thermal_sys: Registered thermal governor 'user_space'
[    0.510365] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns:<PHONE_NUMBER> ns
[    0.512634] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.513489] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.514368] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.515314] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[    0.516270] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[    0.517304] NET: Registered protocol family 2
[    0.518112] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.519306] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.520395] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.521414] TCP: Hash tables configured (established 8192 bind 8192)
[    0.522362] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.523301] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.524335] NET: Registered protocol family 1
[    0.525077] RPC: Registered named UNIX socket transport module.
[    0.525912] RPC: Registered udp transport module.
[    0.526567] RPC: Registered tcp transport module.
[    0.527245] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.528238] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.529138] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.530013] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.530963] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.532135] PCI: CLS 0 bytes, default 64
[    0.532770] Unpacking initramfs...
[    0.533283] Initramfs unpacking failed: junk at the end of compressed archive
[    0.534355] Freeing initrd memory: 4K
[    0.535061] check: Scanning for low memory corruption every 60 seconds
[    0.537611] Initialise system trusted keyrings
[    0.538359] workingset: timestamp_bits=56 max_order=18 bucket_order=0
[    0.540426] NFS: Registering the id_resolver key type
[    0.541143] Key type id_resolver registered
[    0.541788] Key type id_legacy registered
[    0.545632] Key type asymmetric registered
[    0.546398] Asymmetric key parser 'x509' registered
[    0.547122] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.548158] io scheduler mq-deadline registered
[    0.548795] io scheduler kyber registered
[    0.549480] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.550550] ACPI: Power Button [PWRF]
[    0.551255] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.574976] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.576432] Non-volatile memory driver v1.3
[    0.577046] Linux agpgart interface v0.103
[    0.579876] loop: module loaded
[    0.581006] scsi host0: ata_piix
[    0.581607] scsi host1: ata_piix
[    0.582125] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc040 irq 14
[    0.583086] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc048 irq 15
[    0.584344] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    0.585225] e100: Copyright(c) 1999-2006 Intel Corporation
[    0.586016] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    0.587000] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.601404] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.744143] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    0.745991] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    0.747898] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    0.748936] cdrom: Uniform CD-ROM driver Revision: 3.20
[    0.754040] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    0.927892] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[    0.929018] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[    0.930080] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    0.930912] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.931745] sky2: driver version 1.30
[    0.932351] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.933272] ehci-pci: EHCI PCI platform driver
[    0.933907] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.934772] ohci-pci: OHCI PCI platform driver
[    0.935398] uhci_hcd: USB Universal Host Controller Interface driver
[    0.936309] usbcore: registered new interface driver usblp
[    0.937085] usbcore: registered new interface driver usb-storage
[    0.937952] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.939813] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.940523] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.941576] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    0.944494] rtc_cmos 00:00: RTC can wake from S4
[    0.945539] rtc_cmos 00:00: registered as rtc0
[    0.946213] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[    0.947335] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised<EMAIL_ADDRESS>[    0.948606] intel_pstate: CPU model not supported
[    0.949301] hidraw: raw HID events driver (C) Jiri Kosina
[    0.950224] usbcore: registered new interface driver usbhid
[    0.951021] usbhid: USB HID core driver
[    0.951861] Initializing XFRM netlink socket
[    0.954372] NET: Registered protocol family 10
[    0.955350] Segment Routing with IPv6
[    0.955966] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.956987] NET: Registered protocol family 17
[    0.957651] Key type dns_resolver registered
[    0.958402] IPI shorthand broadcast: enabled
[    0.959030] sched_clock: Marking stable (878573488, 80439737)->(993451033, -34437808)
[    0.960213] registered taskstats version 1
[    0.960835] Loading compiled-in X.509 certificates
[    0.961896] PM:   Magic number: 0:184:38
[    0.962473] bdi 7:3: hash matches
[    0.963017] printk: console [netcon0] enabled
[    0.963629] netconsole: network logging started
[    0.964317] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.965778] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.966808] ALSA device list:
[    0.967229]   No soundcards found.
[    0.967874] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.969072] cfg80211: failed to load regulatory.db
[    1.544989] random: fast init done
[    1.547297] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    1.550326] md: Waiting for all devices to be available before autodetect
[    1.552492] md: If you don't use raid, use raid=noautodetect
[    1.554535] md: Autodetecting RAID arrays.
[    1.555907] md: autorun ...
[    1.556329] md: ... autorun DONE.
[    1.556850] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.558006] Please append a correct "root=" boot option; here are the available partitions:
[    1.559176] 0b00         1048575 sr0
[    1.559177]  driver: sr
[    1.560177] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.561323] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.27 #1
[    1.562138] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20200516_175120-felixonmars2 04/01/2014
[    1.563549] Call Trace:
[    1.563914]  dump_stack+0x50/0x70
[    1.564394]  panic+0xf6/0x2b7
[    1.564824]  mount_block_root+0x193/0x23e
[    1.565394]  mount_root+0x10b/0x129
[    1.565899]  prepare_namespace+0x136/0x16c
[    1.566466]  kernel_init_freeable+0x1d4/0x1dd
[    1.567072]  ? rest_init+0x9a/0x9a
[    1.567556]  kernel_init+0x5/0xf6
[    1.568032]  ret_from_fork+0x35/0x40
[    1.568634] Kernel Offset: 0x31000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.570139] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
qemu-system-x86_64: terminating on signal 15 from pid 807972 ()

Bold error:
[    1.556850] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6

StelaLinux-git-x86_64.iso.zip
Can anyone guide and help me solve this problem?


server: do not check affinity groups if no vm group mappings

this fixes the exception in smoke test test_affinity_groups
2024-08-19T08:34:15,132 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-87:[ctx-f7804a8e, job-9232]) (logid:b71ddec8) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin com.cloud.utils.exception.CloudRuntimeException: Unable to find on DB, due to: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')  FOR UPDATE' at line 1
    at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:441)
    at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:368)
    at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:357)
    at com.cloud.utils.db.GenericDaoBase.lockRows(GenericDaoBase.java:343)
    at org.apache.cloudstack.affinity.dao.AffinityGroupDaoImpl.listByIds(AffinityGroupDaoImpl.java:171)

Description
This PR...

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

#9201 /4.19 does have the code, but main does not

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10704

this is part of #9201, merged


ansible-lint: explicitly use python2Packages

The README tells us to use pip2. I infer that this package is not python3-compatible.
Also, the build fails when using python3Packages.
Motivation for this change
https://github.com/NixOS/nixpkgs/issues/18185
Things done

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

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

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

cc @sengaya

Success on aarch64-linux (full log)
Attempted: ansible-lint
Partial log (click to expand)
  /nix/store/lqr50cgvd0c9h2yiskzhldkr4kwmqb8s-python2.7-ansible-2.5.2
  /nix/store/mxppgv9z6g8m6bn0dcfyr4dwll9cjbwz-python2.7-paramiko-2.1.1
  /nix/store/wasxckwzal39ph216yv3nzjkbfk1892w-python2.7-dnspython-1.15.0
copying path '/nix/store/wasxckwzal39ph216yv3nzjkbfk1892w-python2.7-dnspython-1.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/j2bicmqm82z7y53piz8m17ahp9w3mfpj-python2.7-httplib2-0.11.3' from 'https://cache.nixos.org'...
copying path '/nix/store/d2q5z72bqv482vhzrwzg6fwb0qapv41h-python2.7-netaddr-0.7.19' from 'https://cache.nixos.org'...
copying path '/nix/store/mxppgv9z6g8m6bn0dcfyr4dwll9cjbwz-python2.7-paramiko-2.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/lqr50cgvd0c9h2yiskzhldkr4kwmqb8s-python2.7-ansible-2.5.2' from 'https://cache.nixos.org'...
copying path '/nix/store/55j0mjg2x6cpsdbqcxqfijdvh6xc800s-python2.7-ansible-lint-3.4.20' from 'https://cache.nixos.org'...
/nix/store/55j0mjg2x6cpsdbqcxqfijdvh6xc800s-python2.7-ansible-lint-3.4.20

Success on x86_64-linux (full log)
Attempted: ansible-lint
Partial log (click to expand)
copying path '/nix/store/hxrc6lpr5a4d2z59wy9zj19hk34sv0gx-python2.7-dnspython-1.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/gywk7zbn93rl7xd01nlxjyv3srbw64i7-python2.7-httplib2-0.11.3' from 'https://cache.nixos.org'...
copying path '/nix/store/vdxkp10fl4jl7p6laijxs70ab2mgkxv8-python2.7-httpretty-0.8.10' from 'https://cache.nixos.org'...
copying path '/nix/store/49h73p7lqhy3ip4bwjqv1ixh1dd36hik-python2.7-netaddr-0.7.19' from 'https://cache.nixos.org'...
copying path '/nix/store/1kiwilkhqhbhgjadzgfvb7g0h0r6p2sv-python2.7-boto-2.47.0' from 'https://cache.nixos.org'...
copying path '/nix/store/iypqw2h964lkbiz260k0dn9lrnzqzyf5-python2.7-paramiko-2.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/md24qy8rykc737fnx876k9a9886dhi79-python2.7-pycrypto-3.6.4' from 'https://cache.nixos.org'...
copying path '/nix/store/61jk05bv9jhbcglx41g80g2f47zsabgi-python2.7-ansible-2.5.2' from 'https://cache.nixos.org'...
copying path '/nix/store/nm4vp6g24r2bcxbswmlc6n31mc3nf5br-python2.7-ansible-lint-3.4.20' from 'https://cache.nixos.org'...
/nix/store/nm4vp6g24r2bcxbswmlc6n31mc3nf5br-python2.7-ansible-lint-3.4.20

Travis indicates it support both: https://github.com/willthames/ansible-lint/blob/master/.travis.yml

Okay, the problem is that ansible-lint must use the same python as ansible.
That means that anyway, we should override ansible in the ansible-lint expression. However, we should probably stick to python2 because ansible deliberately uses python2: https://github.com/NixOS/nixpkgs/pull/40277#discussion_r187281450.
Also, it's kind of strange that ansible is in propagatedBuildInputs but not in pythonPackages. We should probably update the ansible expression to use buildPythonApplication and use toPythonModule in ansible-lint. What does @FRidh think?

Arch builds both ansible and ansible-lint with python3.

Arch ships ansible 2.6, which has not even been released according to https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#id13 but is nevertheless available on PyPI.
As mentioned in the PR linked to above, we ship 2.4 and 2.5 with 2.4 officially not supporting Python 3.

Ah right, forgot about that.

I wonder if we can now that ansible 2.7 is released and 2.4 is out of support move fully to python3?

@sengaya sounds like a plan

replaced by https://github.com/NixOS/nixpkgs/pull/49764


rendering is mess

titles over some texts, snippets of codes not rendered, completely mess

9781491941294

was problem with okular, installed bookworm and renders very well


Issue while using Auc metric on imbalanced dataset like melanoma(ValueError: Only one class present in y_true. ROC AUC score is not defined in that case)

this problem occur due to running metric calculation
I got the solution from stackoverflow:
You cannot have an ROC curve without both positive and negative examples in your dataset. With only one class in the dataset, you cannot measure your false-positive rate, and therefore cannot plot an ROC curve. This is why you get this error message.
How to handle this problem?

you need to handle it manually. if all match, return 1 else return 0.5

Can you give me some workaround?

Fixed, thanks for the input @abhishekkrthakur


Improve performance of queryTag

queryTag is run synchronously and as we all know, it spends more time than when it run asynchronously.

Request has been applied to the development branch of this repository and new version of the package will come out soon.


Add [IF EXISTS] support to account management SQL

Proposed changes
Issue Number: close #8715
Problem Summary:
Add IF EXISTS support to following statements:
CREATE [IF NOT EXISTS] USER
CREATE [IF NOT EXISTS] ROLE
DROP [IF EXISTS] USER
DROP [IF EXISTS] ROLE

Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (Yes)
Has document been added or modified: (Yes)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
Add ignoreIfExists param to XXinternal.

😀BTW, you can change the title following the guidance

@jackwener Thanks for your review! I removed the redundant line and force commit with correct specification.


Make it work with pager most

Thanks for this nice tool!

Thanks for reporting a bug! Please include all of the following:
(1) A description of the issue. A screenshot is often helpful too.
I use most as my pager by setting the PAGER environment variable, so Git uses it as well, then when I use difft with git diff, the output will be weird:

It seems that most does not understand the escape characters used by difft.
If I unset PAGER, then the output will be normal:

Is there any way to make these 2 tools work with each other?
(2) A copy of what you're diffing. If you're diffing files, include
the before and after files. If you're using difftastic with a VCS
repository (e.g. git), include the URL and commit hash.
Rust code, full diff can be seen in the above picutre.
(3) The version of difftastic you're using (see difft --version) and
your operating system.
$ difft -V
Difftastic 0.53.1

$ uname -a
Linux debian 6.1.0-16-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12) x86_64 GNU/Linux

It looks like most doesn't support the colour codes used by difftastic. You could disable colour with export DFT_COLOR=never, but I'd suggest switching pagers.
By the way, if you're just using most to make manpages look nicer, you can do this with less: https://github.com/Wilfred/dotfiles/blob/master/.zshrc#L128

Thanks for the quick response!
Yeah, I think I will take your recommendation, thanks!


Ember-cli-crudities adapater

Fields:
[
      {
            "read_only": false,
            "extra": {
                "related_model": "emberadmin/category",
                "choices": [
                    {"label": "French", "value": "fr"},
                    {"label": "English", "value": "en"},
                ]
            },
            "name": "category",
            "label": "Category",
            "widget": "foreignkey"
        },
    ...
]

Fieldsets:
[
        {
            "title": null,
            "fields": [
                {
                    "name": "campaign"
                },
                ...
       }
]

It's done for the fields. (needs more heavy tests, tell me if something's wrong). About the fieldset, the output is already the one you want, right?. Will need to add adapters for fieldsets later (?)
If this is the case, we may close this ticket and add a new one for future ref.


The "dependsOrder": "sequence" of task is not working.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.95.3
OS Version: Ubuntu 20.04

Steps to Reproduce:

In my custom Task, I try to use "dependsOrder": "sequence" but it work with parallel.
I searched issue, and found it. https://github.com/microsoft/vscode/issues/223944
shell type is work fine. but In my custom Task is not work which is not background/watch task.

The 'sequence' of 'dependsOrder' does not work in tasks of a custom type. I have tested it, and it works fine with the shell type. Is 'sequence' of 'dependsOrder' not supported for tasks that use CustomExecution?

Yep, seems like that's not supported currently
/duplicate https://github.com/microsoft/vscode/issues/223944


Oculus Go App does not Update automatically

Hi,
I downloaded the Oculus Go App over the Key-Distribution-Page.
When I start the App it shows me that its current version is 2.1.5-client.
But i have already installed the 2.2.3 server. Do I have to manually update the app with the apk or are there updates to come for the Oculus-App-Store?

yep if you wanna newer version make manual osig file and put in apk on your phone

v2.3.0 is now available on Store.
I'm sorry to kept you waiting.

polygraphene you are super talented and I am sorry if any of the people
complaining are discouraging you.    Please keep up the good work, you have
established a ground breaking app and even if you never update it again it
will go down in history as such an amazing accomplishment!  Thank you!
Just thought I'd tell you that after seeing this post here:
https://www.reddit.com/r/OculusGo/comments/929cmm/development_of_alvr_will_be_slowing_down/
On Fri, Jul 27, 2018 at 9:55 AM polygraphene<EMAIL_ADDRESS>wrote:

v2.3.0 is now available on Store.
I'm sorry to kept you waiting.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/polygraphene/ALVR/issues/148#issuecomment-408477759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATzXTeWbtCrJDOHYRmmknAHjpE-k7lPoks5uK0X9gaJpZM4VVO6y
.


sparse option to reindex and unstack

[x] Closes #3518
[x] Tests added
[x] Passes black . && mypy . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Added sparse option to reindex and unstack.
I just added a minimal set of codes necessary to unstack and reindex.
There is still a lot of space to complete the sparse support as discussed in #3245.

Hello @fujiisoup! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/tests/test_dataset.py:

Line 2829:5: F811 redefinition of unused 'test_unstack_fill_value' from line 2812

Thank you @fujiisoup !
I think it could be a little cleaner to entirely avoid sparse inside any of the reindex functions, but this is fine for now.


OneToMany requires properties to be public

There should be a way to specify getter/setters for OneToMany relationships instead of just the variable name.

in develop.


Can we use parking_lot/crossbeam instead of std::sync? (Have heard that it is faster)

Hi thanks for the lib! I wonder whether we can use parking_lot/crossbeam instead of std::sync? I have heard that it is faster. I have checked source code and see rayon seems to use the std::sync.

I tested just swapping out the std::sync::Mutex and condvars for parkinglot's, and from scanning the results it doesn't look like it provides a speedup.
https://gist.github.com/Elabajaba/114e6c76b6963bf128bd39491a384f8a
However, after doing a couple more runs, I don't think I trust these benchmarks since I'm seeing variations of up to 40% between runs of the same code (both on the same desktop with fixed boost clocks and nothing else running, run to run variations occur on both Windows and Linux).

Interesting. Does your test case introduce enough parallism? If the mutex is used seldomly instead of frequently, imho it will not show differences.

I just ran the same benchmark on Apple M1 (using @Elabajaba's code), and on average, the std::sync version ran 1.05% faster than the parking_lot version. There's a significant disparity between test cases. Google Sheets

$ rustc -Vv
rustc 1.58.0-nightly (db062de72 2021-11-01)
binary: rustc
commit-hash: db062de72b0a064f45b6f86894cbdc7c0ec68844
commit-date: 2021-11-01
host: aarch64-apple-darwin
release: 1.58.0-nightly
LLVM version: 13.0.0

$ cargo bench
...

We don't use that much synchronization, so I wouldn't expect a huge impact.


⚠ Bofrost.at has degraded performance

In 72dae46, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1402 ms

Resolved: Bofrost.at performance has improved in 6dc6d64 after 13 minutes.


Response Body for HTTP 4xx Errors

Currently, the proxy returns HTTP 400 errors as exceptions and doesn't pass the body back to the client. Would it make sense to return all responses so that we might be able to get details on the errors passed back?

@djrpascu is the proxy returning the HTTP 400 error? or is the arcgis server or online returning the error 400 thru the proxy?

i'm testing it with a simple call to a .net web api service that returns validation error messages in a 400 (Bad Request) if data passed in is invalid. the web api service is returning the 400 to the proxy with json data of error messages, but the proxy only sends the status code 400 (Bad Request) to the client.

Getting a similar issue that started today. Has anyone changed their cert recently? That's the only thing different on my application server from yesterday.
Troubleshot the issue with an Esri tech for about an hour and found that it wasn't the ArcGIS Server hosting our REST services (still work in many other apps via different hosting machines) and wasn't ArcGIS Online (the same web map and web apps built on the same REST services work on ArcGIS Online). Seems like the issue is with the proxy and the application or the application server but I don't have a solution yet.
Also getting the 400 Bad Request error when hitting the proxy directly.

@djrpascu - which proxy are you using?
When I tested https://httpbin.org/status/418 as a simple test case, it seems to work in all three proxies.  The DotNet displays it 100% correct, while Java and PHP have newline issues in the browser but at least shows the content.
C:\test>curl https://httpbin.org/status/418

    -=[ teapot ]=-

       _...._
     .'  _ _ `.
    | ."` ^ `". _,
    \_;`"---"`|//
      |       ;/
      \_     _/
        `"""`

C:\test>curl http://localhost/resource-proxy/PHP/proxy.php?https://httpbin.org/status/418

    -=[ teapot ]=-

       _...._
     .'  _ _ `.
    | ."` ^ `". _,
    \_;`"---"`|//
      |       ;/
      \_     _/
        `"""`

In your case, what does curl and curl --verbose show?

@bsvensson I'm using a release version of the .net proxy, I'll need to find exactly what version (mobile at the moment).. I think it has to do with an exception being thrown on the 400 instead of the serverResponse getting set as it would if a 200 came back.. I confirmed that I can see the error messages in from my Web api response in the body if I return it as a 200..

@bsvensson i'm using version 1.1.0 of the .NET proxy. When I test with your endpoint (https://httpbin.org/status/418) using Fiddler, I get the following:
HTTP/1.1 418
Cache-Control: private
Content-Type: text/html
Server: Microsoft-IIS/8.5
Access-Control-Allow-Origin: *
x-more-info: http://tools.ietf.org/html/rfc2324
Access-Control-Allow-Credentials: true
Server: nginx
X-AspNet-Version: 4.0.30319
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type
Date: Tue, 28 Feb 2017 18:33:05 GMT
Content-Length: 54
The custom error module does not recognize this error.

ok i figured this out... sorry, it wasn't the proxy after all..
i'm on IIS 8.5. apparently, IIS strips the response body for errors.. need to add the following to your Web.config get the errors to "pass through":

Note: Add to the <system.webServer> section.


Add extension for configuration files

Leaving the extension off is old behavior that is no longer supported.

Thank you. Will go live shortly.


Console unusable on ConEmu with bash

This is about ssh into an ubuntu machine and launching a powershell console. I can use putty where there is some jitter but not very disturbing. Also if I use git bash console standalone it can be used. Pretty much the same if I use a linux real linux console. There are some weird console behavior but not a big deal. But mixing git bash in a ConEmu console is a nightmare.
I know that you may argue that this is not a powershell issue but I assume that the current implementation of powershell in linux can do this much better as other shells are not having this kind of visualitzation and usability issues. At least there may be some supported consoles list and warnings.
Steps to reproduce
ssh to an ubuntu machine and open powershell using a Git Bash console in ConEmu.
Expected behavior
You can type as usual
Actual behavior
Weird jitter that makes powershell completely unusable. Some characters are lost and each time you type a character a jump line is produced.
Environment data
PS /home/vmadmin> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>
CLRVersion
GitCommitId                    v6.0.0-beta.1
OS                             Linux 4.4.0-78-generic #99-Ubuntu SMP Thu Apr...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

ConEmu 170402 with Git Bash <IP_ADDRESS>

Sorry, I don't totally understand your workflow here. Let me see if I got this right:

Open ConEmu
Open Git Bash
Attach to -> (currently running) git-bash.exe
/usr/bin/ssh @
land in Bash on
Start PowerShell: $ powershell

Right now, this workflow works fine for me against a CentOS 7 machine (though I'm on an older version of Git Bash, looks like <IP_ADDRESS>). I could update and try to repro if you like.
Or I'm getting the workflow wrong, in which case you should let me know.

Hi,
I can confirm that your flow also works for me, sorry for not being enough accurate.
What is really causing issues is using the sh.exe  or even bash.exe inside the git for windows bin folder. I was launching them from ConEmu (not attaching them once running) as this is the recommended way. Using those shells you can reproduce this behavior removing ConEmu from the equation.
    Directory: C:\Program Files\Git\bin

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       27/03/2017     18:17          43240 bash.exe
-a----       27/03/2017     18:17          42728 git.exe
-a----       27/03/2017     18:17          43240 sh.exe

Okay, so I now I'm doing this:

open ConEmu
navigate to ProgFiles/Git/bin
bash.exe
/usr/bin/ssh FooUser@FooLinuxHost
At this point everything hangs really badly (right after putting in my password), and we haven't touched any PowerShell code yet. In fact, I can't even launch PowerShell because so many characters get swallowed and jumbled around (it seems like every other character is getting swallowed).

Have you tried using our native port of OpenSSH as a client over at https://github.com/powershell/Win32-OpenSSH? We're completely eschewing all these MinGW hacks over there, and when I try it from ConEmu everything works great.

Hi,
In ConEmu you configure your shells this way in the Settings > Tasks tabs.
This is the recommended way to execute consoles.
BTW I have tried your native port and it happens the same. This is a copy paste when I try to do a dir
PS /home/vmadmin> PS /home/vmadmin> d
                  PS /home/vmadmin> di
                  PS /home/vmadmin> dir

FYI I'm using an ubuntu 16.04 machine from an azure template where I installed ps yesterday.

I had to modify those instructions a bit--no git.ico on my install, and for some reason the SysWow64 path "couldn't be found" so I just used system32--but I still am broken just trying to do plain old SSH remoting into my CentOS 7 box with cmd ==SSH==> Bash. I'm only getting (roughly) every other key input.
I'm gonna try updating....

Upon updating, it's dawning on me that there's a vast amount of install-time options that could be affecting our different experiences. (E.g. do you place all of Git Bash on the system PATH?)

Okay, after updating ConEmu and Git for Windows, the task I created won't even render characters until I hit Enter...
When I install I do:

Use Git from the Windows Command Prompt
Use the native Windows Secure Channel library (not the default)
Use Windows' default console window (also not the standard, this might be the culprit here)
Enable file system caching, Git Cred Manager, and symbolic links (the last is non-default)

Hi Joey and thanks for your time.
IMO I would keep this rendering issue with the default Git Bash installation with the next, next, next install for windows. Then opening the sh shell and doing ssh into a linux machine. Finally open PS and experience some character jitter.
Leaving ConEmu outside the equation may help to reproduce this and perhaps give some information about what the PS linux is doing so that anyone can help to improve.

@joeyaiello @SteveL-MSFT Can we close the old issue?


EBS as NVMe instances

Add an EBS as NVMe boolean parameter. some newer instances will expose EBS volumes as NVMe.
https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/nvme-ebs-volumes.html

Thanks for the proposal, this is indeed a useful piece of information.
Please create a PR for it, we will gladly accept it

Landed to master in #362, @powdahound please rebuild the website.


Microservices sometimes doesn't discover Services over Kubernetes

Hi,
I'm trying to build some microservices which are using vertx-hazelcast library and I'm deploying it over kubernetes on AWS EC-2 instance. The microservices sometimes get disconnected from hazelcast cluster and sometimes are not discoverable.  If there anything I'm missing ? Need some advice.
My architecture

Fat Jar -> Docker Image -> Kubernetes (AWS EC-2)

Can you provide more context? Hazelcast cluster.xml file? Log snippets? Details about the disconnection.

Hi,
I moved over to digital ocean and I was trying to do the service discovery by TCP/IP since digital ocean doesn't support multicast. Please Have a look at my cluster.xml file
`

false
false
false
0
jdk

<network>
    <join>
        <multicast enabled="false">
            <multicast-group><IP_ADDRESS></multicast-group>
            <multicast-port>54327</multicast-port>
        </multicast>
        <tcp-ip enabled="true">
            <interface>archer-fetchsome-product-microservice</interface>
        </tcp-ip>
    </join>
    <interfaces enabled="true">
        <interface>10.*.*.*</interface>
    </interfaces>
</network>
<semaphore name="__vertx.*">
    <initial-permits>1</initial-permits>
</semaphore>

`
`Feb 02, 2018 2:06:01 AM io.vertx.core.impl.launcher.commands.RunCommand
INFO: Starting clustering...
Feb 02, 2018 2:06:01 AM io.vertx.core.impl.launcher.commands.RunCommand
INFO: No cluster-host specified so using address <IP_ADDRESS>
Feb 02, 2018 2:06:01 AM com.hazelcast.config.AbstractXmlConfigHelper
WARNING: Name of the hazelcast schema location incorrect using default
Feb 02, 2018 2:06:02 AM com.hazelcast.instance.DefaultAddressPicker
WARNING: [LOCAL] [dev] [3.8.2] You configured your member address as host name. Please be aware of that your dns can be spoofed. Make sure that your dns configurations are correct.
Feb 02, 2018 2:06:02 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.8.2] Resolving domain name 'archer-fetchsome-apigw-microservice' to address(es): [<IP_ADDRESS>]
Feb 02, 2018 2:06:02 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.8.2] Interfaces is enabled, trying to pick one address matching to one of: [archer-fetchsome-apigw-microservice/10...*]
Feb 02, 2018 2:06:02 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.8.2] Prefer IPv4 stack is true.
Feb 02, 2018 2:06:02 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.8.2] Picked [archer-fetchsome-apigw-microservice]:5701, using socket ServerSocket[addr=/<IP_ADDRESS>,localport=5701], bind any local is true
Feb 02, 2018 2:06:02 AM com.hazelcast.system
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Hazelcast 3.8.2 (20170518 - a60f944) starting at [archer-fetchsome-apigw-microservice]:5701
Feb 02, 2018 2:06:02 AM com.hazelcast.system
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
Feb 02, 2018 2:06:02 AM com.hazelcast.system
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Configured Hazelcast Serialization version : 1
Feb 02, 2018 2:06:02 AM com.hazelcast.spi.impl.operationservice.impl.BackpressureRegulator
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Backpressure is disabled
Feb 02, 2018 2:06:03 AM com.hazelcast.instance.Node
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Creating TcpIpJoiner
Feb 02, 2018 2:06:04 AM com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Starting 2 partition threads
Feb 02, 2018 2:06:04 AM com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Starting 3 generic threads (1 dedicated for priority tasks)
Feb 02, 2018 2:06:04 AM com.hazelcast.core.LifecycleService
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] [archer-fetchsome-apigw-microservice]:5701 is STARTING
Feb 02, 2018 2:06:04 AM com.hazelcast.nio.tcp.InitConnectionTask
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Connecting to archer-fetchsome-apigw-microservice/<IP_ADDRESS>:5702, timeout: 0, bind-any: true
Feb 02, 2018 2:06:04 AM com.hazelcast.nio.tcp.InitConnectionTask
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Connecting to archer-fetchsome-apigw-microservice/<IP_ADDRESS>:5703, timeout: 0, bind-any: true
Feb 02, 2018 2:06:09 AM com.hazelcast.system
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Cluster version set to 3.8
Feb 02, 2018 2:06:09 AM com.hazelcast.cluster.impl.TcpIpJoiner
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2]
Members [1] {
Member [archer-fetchsome-apigw-microservice]:5701 - 4f217632-a431-487c-a900-c85823dcadb6 this
}
Feb 02, 2018 2:06:09 AM com.hazelcast.core.LifecycleService
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] [archer-fetchsome-apigw-microservice]:5701 is STARTED
Feb 02, 2018 2:06:09 AM com.hazelcast.internal.partition.impl.PartitionStateManager
INFO: [archer-fetchsome-apigw-microservice]:5701 [dev] [3.8.2] Initializing cluster partition table arrangement...
Feb 02, 2018 2:06:09 AM io.vertx.core.impl.HAManager
INFO: A quorum has been obtained. Any deploymentIDs waiting on a quorum will now be deployed
Feb 02, 2018 2:06:10 AM com.fairbit.extension.tool.ApiGateWay
INFO: API Gateway is running on port 8080host archer-fetchsome-apigw-microservice
Feb 02, 2018 2:06:10 AM io.vertx.core.impl.launcher.commands.VertxIsolatedDeployer
INFO: Succeeded in deploying verticle
{"location":{"endpoint":"https://archer-fetchsome-apigw-microservice:8080/","host":"archer-fetchsome-apigw-microservice","port":8080,"root":"/","ssl":true},"metadata":{},"name":"api-gateway","registration":"7416d5ab-3d3b-4102-a8b7-9f0c312689c3","status":"UP","type":"api-gateway"}
Service  published.
Feb 02, 2018 2:06:10 AM com.fairbit.commonservices.commonservices.BaseVerticle
INFO: Service  published`

For static IP discovery, see http://docs.hazelcast.org/docs/3.8.2/manual/html-single/index.html#discovering-members-by-tcp
Looking at your cluster XML file, I would say that you are missing a list of <member> tags in the <tcp> section.
Please follow up on the user group as it seems it's more a getting started issue than a bug. Thank you.


support laravel 7

Dear
We need to upgrade our projects to laravel 7, so we need to support laravel7 in this package.
thanks

Fixed by https://github.com/benwilkins/laravel-fcm-notification/pull/56

Just released v4.0.1 that supports L7.


NIFI-5479 Upgraded Jetty. Moved where we unpack bundled deps to so we…

… can avoid a new jetty bug with META-INF loading logic.   WIP for testing/eval.  Not ready for merge
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

2018-08-02 16:20:07,347 WARN [NiFi Web Server-21] o.e.jetty.annotations.AnnotationParser javax.inject.Inject scanned from multiple locations: jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-SNAPSHOT/work/jetty/nifi-update-attribute-ui-1.8.0-SNAPSHOT.war/webapp/WEB-INF/lib/javax.inject-1.jar!/javax/inject/Inject.class, jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-SNAPSHOT/work/jetty/nifi-update-attribute-ui-1.8.0-SNAPSHOT.war/webapp/WEB-INF/lib/javax.inject-2.5.0-b42.jar!/javax/inject/Inject.class
2018-08-02 16:20:07,348 WARN [NiFi Web Server-21] o.e.jetty.annotations.AnnotationParser javax.inject.Named scanned from multiple locations: jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-SNAPSHOT/work/jetty/nifi-update-attribute-ui-1.8.0-SNAPSHOT.war/webapp/WEB-INF/lib/javax.inject-1.jar!/javax/inject/Named.class, jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-SNAPSHOT/work/jetty/nifi-update-attribute-ui-1.8.0-SNAPSHOT.war/webapp/WEB-INF/lib/javax.inject-2.5.0-b42.jar!/javax/inject/Named.class
2018-08-02 16:20:07,348 WARN [NiFi Web Server-21] o.e.jetty.annotations.AnnotationParser javax.inject.Provider scanned from multiple locations: jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-SNAPSHOT/work/jetty/nifi-update-attribute-ui-1.8.0-SNAPSHOT.war/webapp/WEB-INF/lib/javax.inject-1.jar!/javax/inject/Provider.class, jar:file:///Users/jwitt/Development/joewitt-nifi.git/nifi-assembly/target/nifi-1.8.0-SNAPSHOT-bin/nifi-1.8.0-S
2018-08-02 16:20:16,335 WARN [main] o.e.j.webapp.StandardDescriptorProcessor Duplicate mapping from / to default
2018-08-02 16:20:16,429 WARN [main] o.e.jetty.annotations.AnnotationParser Unknown asm implementation version, assuming version 393216
Todo:

identify source of and cleanup warnings that now show up on application startup
test/what if one just copied the contents of a new lib dir on top of their old lib dir as an upgrade process...will our work dirs get cleaned and restart properly
add docs in the unpack method to explain why we move META-INF/bundled-dependencies to NAR-INF/bundled-dependencies

this is just a technique to work with older/current nar creation approach.
this is done because jetty's code assumes that META-INF is only in a directory path once or else it fails to find some tlds.
but we want to keep META-INF for things like META-INF/MANIFEST.mf and maven bits.
we might want to just move META-INF/bundled-dependencies to bundled-dependencies.  The 'NAR-INF' part is not value add since the nar metadata is in META-INF/MANIFEST.mf and not easily moved due to jar/manifest loading code

file a JIRA to change where we write them in the nar plugin to NAR-INF/bundled-dependencies directly
Test secure/non-secure clusters/etc..

big thanks to @mcgilman  for finding the needed dep change in nifi-web-ui and identifying why we needed a workaround for how we extract working dir nar deps due to recent jetty change

Would it help if you would load NAR's without unpacking them to disk?

that would not enable us to work around this issue and does not bring the benefits that led to unpacking in the first place

@joewitt Thanks for the PR! When starting up in secure mode using a configuration that works with current master branch, I received some stack traces regarding the initialization of the SSLContext. There appears to be a runtime difference introduced here that affects the loading of providers.

1305 Caused by: java.security.NoSuchAlgorithmException: no such algorithm: JKS for provider BC
1306     at sun.security.jca.GetInstance.getService(GetInstance.java:87)
1307     at sun.security.jca.GetInstance.getInstance(GetInstance.java:206)
1308     at java.security.Security.getImpl(Security.java:698)
1309     at java.security.KeyStore.getInstance(KeyStore.java:896)
1310     ... 21 common frames omitted


Read Custom Index

I'm currently looking into implementing linearizable sessions with dragonboat. I know that there are already API's that provide this functionality e.g. SyncRead, ReadIndex, etc. However, those guarantee linearizability over all writes and reads issued against the node.
What I'd like to do, is to get the latest index from a Propose result and plug that into ReadIndex to only wait until that specific index has been applied on the local node and then query using StaleRead.
Maybe this is already possible today, if not, would you be open to have it added to dragonboat. I'm happy to contribute.

What I'd like to do, is to get the latest index from a Propose result and plug that into ReadIndex to only wait until that specific index has been applied on the local node and then query using StaleRead.

When a proposal is completed successfully, it indicates that the proposed entry has been applied on the node where the proposal was made, you can then use StaleRead to do whatever you like.

Just to clarify: When a proposal is completed i.e. SynPropose returns, the entry has been committed to the local log and applied to the state machine even if the local node is just a follower? Up until now, I was under the impression that SyncPropose would return after the leader committed and applied the entry, hence the need for SyncRead or ReadIndex.

When a proposal is completed i.e. SynPropose returns, the entry has been committed to the local log and applied to the state machine even if the local node is just a follower?

Correct.


CTK XNAT build fails due to wrong qRestAPI version

If you activate the ctk xnat tree browser you will get the following build error:
error: no member named 'setHttpNetworkProxy' in 'ctkXnatAPI'
d->xnat->setHttpNetworkProxy(proxy);

Fixed in https://github.com/commontk/CTK/commit/8403df53a7004a88a2bc8e9b55109c88f1516839
@AndreasFetzer Thanks for the PR :+1:


Make it available via package managers

Package managers

[ ] Debian RFP
[x] AUR Arch Linux (https://aur.archlinux.org/packages/vtm-git)
[ ] PPA
[ ] Homebrew
[x] MacPorts (https://ports.macports.org/port/vtm/)
[ ] zypper OpenSUSE Linux distribution
[ ] scoop on Windows
[ ] choco, Chocolatey for Windows
[x] Termux packages

Termux (Android) apt and pkg (wrapper over apt) ✅

When the vtm store is done, it should also be able to update vtm without the need of a system package manager. This means when vtm is not on the system package manager, vtm could update itself. This also means that the store has to see if the system packager can update vtm, or if it has to update itself.

I plan to support such a scenario in the future. Currently it is iceboxed #337 until the store is done.

How about Debian?

Indeed, if I understood everything correctly, I need to make a Request for Package (Debian). I've added this to the todo-list. Thank you.

TIL https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898259


Problem in 6.0.0: No port in :port range 8889 is available

below is some jenkins output of chefspec failures we're getting with 6.0.0. Reverting to 5.4.0 fixes the problem. We use the parallel_tests gem to run groups of specs in parallel for this cookbook.
You can see the full bundle and stacktrace in this gist: https://gist.github.com/atheiman/4ac3dd2db120ed5e7fc4e04d8948c3dc
+ bundle exec rake 'parallel:spec[8]'
8 processes for 28 specs, ~ 3 specs per process

An error occurred in a `before(:suite)` hook.
Failure/Error:
  raise Errno::EADDRINUSE,
    "No port in :port range #{options[:port]} is available"

Errno::EADDRINUSE:
  Address already in use - No port in :port range 8889 is available
# /home/jenkins/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/chef-zero-5.3.0/lib/chef_zero/server.rb:307:in `start_background'
# /home/jenkins/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/chefspec-6.0.0/lib/chefspec/zero_server.rb:31:in `setup!'
# /home/jenkins/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/chefspec-6.0.0/lib/chefspec/zero_server.rb:136:in `block (2 levels) in <top (required)>'

Also impacted by this symptom. Our tests are launched by jenkins and can have multiple rspec running at the same time.

This seems to be fixed for us, Thanks!


Update examples and add them into CI

Hi @dotcypress  and all,
Here are several fixes and updates for stm32l1xx-hal examples. Major changes include:

fix build failures: explicitly specify "rt" feature when needed: fixes #3
remove incomplete touch example
update RTFM/RTIC example up to RTIC latest stable version
add examples into Travis CI

P.S. I have marked this PR as WIP for the time being: probably more Travis tweaks will have to be queued into this PR.
P.P.S. BTW, what do you think about switching to Github Actions for CI ?
Regards,
Sergey

Remove WIP: tests look good.

@dotcypress  any thoughts on this PR ?


CTRL+Enter Shortcut for Completing Web Addresses

Since the omnibox in Oryoki is so simple, it would be nice to have some keyboard shortcuts to enhance query input. Chrome supports completing the URL with a ".com" prefix by pressing ctrl+enter. I'd like to suggest adding that one plus additional modifiers like alt and shift to do more completions like ".org" and ".net".

Right now using tab allows to change to a "feeling lucky" search, so that kinda does the ctrl+enter job.
alt & shit sounds a bit confusing - need to feel it out first. Also, the omnibox will be revised with more functionality in the future (<keyword> query kinda thing).

OK, I see what you mean with the "feeling lucky" search. It's direct for most sites, but it's not clear what's going to load until you press enter, which is a bit unsettling. You can try out the keyboard shortcuts I'm suggesting in Firefox. Check out the Miscellaneous section of their keyboard shortcuts list—they use combinations of shift and cmd.

0.1.0 introduces a ctrl+enter shortcut to a lucky search. Works nicely as an alternative, so I'm closing for now.