Junit changes to run tests faster

Codecov Report

Merging #1262 into dev will decrease coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##                dev    #1262      +/-   ##
============================================
- Coverage     56.64%   56.59%   -0.05%
+ Complexity     3692     3688       -4
============================================
  Files           132      132
  Lines         29780    29780
  Branches       4934     4934
============================================
- Hits          16869    16855      -14
- Misses        10543    10558      +15
+ Partials       2368     2367       -1

Impacted Files
Coverage Δ
Complexity Δ

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
44.64% <100%> (-0.2%)
333 <0> (-3)

...erverColumnEncryptionCertificateStoreProvider.java
48.27% <0%> (-3.45%)
5% <0%> (-1%)

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
43.95% <0%> (-3.3%)
15% <0%> (-1%)

...m/microsoft/sqlserver/jdbc/SQLServerException.java
75.71% <0%> (-1.43%)
35% <0%> (ø)

...ft/sqlserver/jdbc/SQLServerAASEnclaveProvider.java
75% <0%> (-0.56%)
15% <0%> (ø)

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
38.79% <0%> (-0.44%)
43% <0%> (-1%)

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
60.85% <0%> (-0.43%)
95% <0%> (-1%)

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
46.98% <0%> (-0.36%)
120% <0%> (ø)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
61.76% <0%> (-0.1%)
0% <0%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


HNC : New repository

hi @adrianludwin ,
The Hierarchical Namespace Controller is pretty interesting. Even if this project is a pre-alpha and also an incubation of the SIGs multi-tenancy... I think hnc is a project on its own (but it's a point of view).
I wonder if we can have a new repository for the HNC to simplify contribution and issue reporting?

Thanks! I don't have a strong opinion myself but I'm fairly new to navigating the rules around SIGs, WGs and repos. Perhaps @tashimi or @srampal could comment? I do want this to remain under the MTWG, at least for now.

I have no opinion on this. We opened up the multi-tenancy repo as a way to easily highlight all the multi-tenancy work going on, and I think that still holds true for this project. @iam-merlin I would suggest you just file issues here for now

@iam-merlin The current plan is to incubate this a bit more within the current repo. We agree that the work seems generic enough to have value beyond the multitenancy working group and will certainly promote it that way. However for now, it is most directly relevant to this area hence for now we are keeping it here until we discuss with other community leads on how/ where to take this forward. Please go ahead and file issues here for now. (Btw this is also the approach we are taking for other similar work such as the virtual clusters work from Alibaba.)

Ok I'd recommend closing this issue for now (I don't have the permission to do so). We can revisit later this year.

Thx everyone for the feedback 👍
May I suggest a dedicated branch for PR?

What's the benefit of a dedicated PR branch - just to keep the history
clean?
On Tue, Sep 10, 2019 at 11:01 AM Romain DARY<EMAIL_ADDRESS>wrote:

Thx everyone for the feedback 👍
May I suggest a dedicated branch for PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-sigs/multi-tenancy/issues/53?email_source=notifications&email_token=AE43PZFE6P2CKPEKUG666RDQI6ZGLA5CNFSM4IUXGHTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6LNFGA#issuecomment-529978008,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE43PZHXY5DDJJXOFDOKL6LQI6ZGLANCNFSM4IUXGHTA
.

Yep +1


Ok how tf is animation editor NOT done?


Toggle a Check choice with the space key.

I find using the spacebar to toggle items to be a more natural interaction than using the right/left arrow keys.

Haha that is very true. Thanks a lot!


x/sys/windows/svc: goroutine leak on exit path

https://github.com/golang/sys/blob/6d18c012aee9febd81bbf9806760c8c4480e870d/windows/svc/service.go#L248-L279
loop:
	for {
		select {
		case r := <-inch:
			if r.errno != 0 {
				ec.errno = r.errno
				break loop
			}
			inch = nil
			outch = cmdsToHandler
			outcr.Cmd = r.cmd
			outcr.EventType = r.eventType
			outcr.EventData = r.eventData
			outcr.Context = r.context
		case outch <- outcr:
			inch = s.c
			outch = nil
		case c := <-changesFromHandler:
			err := s.updateStatus(&c, &ec)
			if err != nil {
				// best suitable error number
				ec.errno = sysErrSetServiceStatusFailed
				if err2, ok := err.(syscall.Errno); ok {
					ec.errno = uint32(err2)
				}
				break loop
			}
			outcr.CurrentStatus = c
		case ec = <-exitFromHandler:
			break loop
		}
	}

If the handler send to changesFromHandler channel after the break loop due to r.errno != 0, the handler goroutine and the unbuffered channel will be leaked.
I understand that sysErrNewThreadInCallback can hardly happen, and it is generally safe to assume that caller will exit after svc.Run returned. This is just a minor issue.

Some other places that caught my eyes:

svc.Run called os.LockOSThread(), but does not have defer os.UnlockOSThread()
service.close() is not referenced anywhere, and it should be removed because CloseHandle while WaitForSingleObject is an undefined behavior

This seems like a problem with the Handler interface.  It has no support for shutting down the goroutine.  I don't know how important this is.
CC @alexbrainman

If the handler send to changesFromHandler channel after the break loop due to r.errno != 0, the handler goroutine and the unbuffered channel will be leaked.
I understand that sysErrNewThreadInCallback can hardly happen, and it is generally safe to assume that caller will exit after svc.Run returned. This is just a minor issue.

If r.errno != 0, then service is exiting, and it doesn't matter what happens to leaked handler goroutine or unbuffered channel.

svc.Run called os.LockOSThread(), but does not have defer os.UnlockOSThread()

Same. When StartServiceCtrlDispatcher returns, it means that service is about to exit. So it does not matter what happens to goroutine that calls os.LockOSThread().

2. service.close() is not referenced anywhere, and it should be removed because CloseHandle while WaitForSingleObject is an undefined behavior

Yes, service.close() is not called by anything. I don't remember why it is there. Perhaps it was used for debugging during development. I would rather leave it as is. It is just a couple lines of code. If you not insist.
Thank you.
Alex

Thank you for explanation. I'm fine with current implementation.
If anyone want to implement multi-service shared hosting, this issue might be helpful.


Update measure collection test with the new cython version.

Use the cython implementation of classification performance evaluation in measure tests.

Checklist

[x] Code complies with PEP-8 and is consistent with the framework.
[x] Code is properly documented.
[x] Tests are included for new functionality or updated accordingly.
[x] Travis CI build passes with no errors.
[x] Test Coverage is maintained (threshold is -0.2%).
[x] Files changed (update, add, delete) are in the PR's scope (no extra files are included).

Note: the value of kappa_m_score is different, I assume only because of the cython implementation.

The tests for the Cython implementation of the classification performance evaluators are located in tests/metrics/test_classification_performance_evaluator.py.
The python version tests are kept in order to maintain test coverage. The python implementation will be removed in version 0.7.0, and corresponding tests will be removed as well.


row background colour based on row value while rendering

Griddle version
1.9.0
Expected Behavior
set background colour of rows based on a row value on rendering.
Actual Behavior
cant able to set background colour during rendering.
Is there any way to set different colours to row based on a row value,
<Griddle       data={this.state.result}       plugins={[LocalPlugin]}       sortProperties={sortProperties}          							styleConfig={styleConfig}         					        pageProperties={{       									currentPage: 1,       									pageSize: 50,       									recordCount: this.state.result.length     								}}       							>         							<RowDefinition>           								<ColumnDefinition id="id" title="Cust Id" order={1} customComponent={LinkComponent1}/> <ColumnDefinition id="table" title="Category" order={9}  customComponent={LinkComponent13}/>         							</RowDefinition>       							</Griddle>

As of #644 (griddle-react@1.4.0), RowDefinition supports passing a function to cssClassName that receives the Row props (example). If you need to calculate a more precise background color, it seems like we should be able to support a similar mechanism to generate style overrides for a given Row.


[DS-4396][feat] Add project information to email alert message

build find project and user sql to ProjectMapper
add project information to alert db.

Codecov Report

Merging #4413 (991be82) into dev (cf41fb7) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #4413      +/-   ##
============================================
- Coverage     43.26%   43.21%   -0.05%
+ Complexity     3188     3186       -2
============================================
  Files           471      471
  Lines         21742    21759      +17
  Branches       2628     2628
============================================
- Hits           9406     9404       -2
- Misses        11442    11459      +17
- Partials        894      896       +2

Impacted Files
Coverage Δ
Complexity Δ

...lphinscheduler/dao/entity/ProcessAlertContent.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...heduler/server/master/runner/MasterExecThread.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...he/dolphinscheduler/server/utils/AlertManager.java
0.86% <0.00%> (-0.05%)
1.00 <0.00> (ø)

...lphinscheduler/service/process/ProcessService.java
25.66% <0.00%> (-0.04%)
46.00 <0.00> (ø)

...inscheduler/common/thread/ThreadPoolExecutors.java
19.23% <0.00%> (-1.93%)
3.00% <0.00%> (-2.00%)

Continue to review full report at Codecov.

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

Codecov Report

Merging #4413 (991be82) into dev (cf41fb7) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #4413      +/-   ##
============================================
- Coverage     43.26%   43.21%   -0.05%
+ Complexity     3188     3186       -2
============================================
  Files           471      471
  Lines         21742    21759      +17
  Branches       2628     2628
============================================
- Hits           9406     9404       -2
- Misses        11442    11459      +17
- Partials        894      896       +2

Impacted Files
Coverage Δ
Complexity Δ

...lphinscheduler/dao/entity/ProcessAlertContent.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...heduler/server/master/runner/MasterExecThread.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...he/dolphinscheduler/server/utils/AlertManager.java
0.86% <0.00%> (-0.05%)
1.00 <0.00> (ø)

...lphinscheduler/service/process/ProcessService.java
25.66% <0.00%> (-0.04%)
46.00 <0.00> (ø)

...inscheduler/common/thread/ThreadPoolExecutors.java
19.23% <0.00%> (-1.93%)
3.00% <0.00%> (-2.00%)

Continue to review full report at Codecov.

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

good job, please update the code style according to official instruction:  https://dolphinscheduler.apache.org/en-us/docs/development/pull-request.html

good job, please update the code style according to official instruction:  https://dolphinscheduler.apache.org/en-us/docs/development/pull-request.html

Great, but you need to provide UT for this change, otherwise SONAR detection will fail.

Great, but you need to provide UT for this change, otherwise SONAR detection will fail.


Fix type assignment (#4826)

Pull request opened by the merge tool on behalf of #4826

Merged into branches iso5 in 2dcd602386f462a7b01d4a3b45f544f6127a4615


New version: HHDSoftware.FreeHexEditorNeo version <IP_ADDRESS>95

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@PckgrTom

@wingetbot run

@wingetbot run


Fixed doc warnings

I ran cargo doc on the code and noticed a couple of minor warnings. Here's a small patch to fix them

Thanks for this! Will add into next release :+1:


enable for existing vms?

"To enable automatic VM guest patching, ensure that the property osProfile.windowsConfiguration.enableAutomaticUpdates is set to true in the VM template definition. This property can only be set when creating the VM."
does this mean the new automatic patching can't be enabled for existing VMs?

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

ID: 61687573-f03b-85dc-54cf-e95d95efb235
Version Independent ID: 7bfd1c0f-0ecd-44da-9724-6118b950f4ff
Content: Automatic VM Guest Patching for Windows VMs in Azure - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/automatic-vm-guest-patching.md
Service: virtual-machines-windows
GitHub Login: @mayanknayar
Microsoft Alias: manayar

Hi @jurajtobias ,
According to this section of the doc, you can use the following command. Where you able to give that a try?
az vm update --resource-group myResourceGroup --name myVM --set osProfile.windowsConfiguration.enableAutomaticUpdates=true osProfile.windowsConfiguration.patchSettings.patchMode=AutomaticByPlatform

@mayanknayar
Can you help deconflict the information, the doc does provide an AZ CLI Command to update an existing VM but also states

This property can only be set when creating the VM.

@jurajtobias - thank you for your query. You can use Automatic VM Guest Patching for existing VMs if you the property osProfile.windowsConfiguration.enableAutomaticUpdates set to true for your VM. This property is set to true by default unless you have explicitly set it to false, so your VM might already have this property set.
If you had earlier set the property to false, then you will not be able to set it to true at this time. We are working on enabling this change for existing VMs and will include the change during the preview.

@WinstonHoward-MSFT thx for the suggestion - this is the result:
PS /home/azure-admin> az vm update --resource-group LEAF-INFRA --name lfws04 --set osProfile.windowsConfiguration.enableAutomaticUpdates=true osProfile.windowsConfiguration.patchSettings.patchMode=AutomaticByPlatform
Couldn't find 'windowsConfiguration' in 'osProfile'. 'osProfile' does not support further indexing.

is it possible, that unless the attribute is set at the time the VM is created, then it simply doesn't exist in existing VMs?

Hey @jurajtobias ,
I just spun up a VM without that attribute being filled out and then used the command I mentioned to you earlier.
az vm update --resource-group myResourceGroup --name myVM --set osProfile.windowsConfiguration.enableAutomaticUpdates=true osProfile.windowsConfiguration.patchSettings.patchMode=AutomaticByPlatform
I am able to verify that my VM now has the Automatic VM Guest Patching

"patchSettings": {
"patchMode": "AutomaticByPlatform"
},

Can you try it again or check for environment specific issues? Make sure your specifying your RG and VM names in the command.

@WinstonHoward-MSFT,
I tried to create a new VM, and there's already an option in GUI to enable this preview functionality, so I guess we can consider that a successfull test.
the question, though, still remains - should, or should NOT this be possible to turn on on existing VMs?
in case it should, something's broken in azure.
in case it should not, the docu needs to be updated to explicitly state, that the feature can only by managed on VMs created after the feature became available (simply because it wasn't possible to create a VM with the required attributes before)
thanks

Hi @jurajtobias ,
I was able to enable it on an existing VM that didn't originally have it (see above). Therefore the doc is correct, you can update an existing VM provided the attribute was undefined previously. If the attribute is false it cannot be updated.

@jurajtobias can you try to follow my process exactly, below is what I did and was successful.
1. Create a VM fresh VM
az vm create \
    --resource-group myResourceGroup \
    --name myVM \
    --image win2016datacenter \
    --admin-username azureuser

You should see something like this to validate the VM Creation was successful
{
  "fqdns": "",
  "id": "/subscriptions/<guid>/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
  "location": "eastus",
  "macAddress": "00-0D-3A-23-9A-49",
  "powerState": "VM running",
  "privateIpAddress": "<IP_ADDRESS>",
  "publicIpAddress": "<IP_ADDRESS>",
  "resourceGroup": "myResourceGroup"
}

2. Validate the extension isn't enabled
az vm get-instance-view --resource-group myResourceGroup --name myVM

You shouldn't see a patch setting section
3. Enable the Preview for the subscription
az feature register --namespace Microsoft.Compute --name InGuestAutoPatchVMPreview

az provider register -n Microsoft.Compute

It can take up to 15 minutes but you can check the status with az feature show --namespace Microsoft.Compute --name InGuestAutoPatchVMPreview
4. Update the existing VM to have it
az vm update --resource-group myResourceGroup --name myVM --set osProfile.windowsConfiguration.enableAutomaticUpdates=true osProfile.windowsConfiguration.patchSettings.patchMode=AutomaticByPlatform
Now run the check to validate you got it... you should see a

"patchSettings": {
"patchMode": "AutomaticByPlatform"
},

@WinstonHoward-MSFT,
thx for the effort to help - really appreated.. however, I don't see a point in trying to enable the feature for a new VM - we already know it'll work.
what we're troubleshooting, is enabling this feature for a VM that was created many months ago. Like you said in your previous post - if the "osProfile.windowsConfiguration.enableAutomaticUpdates" attribute wasn't present in the VM's template definition at the time VM was created, it won't be possible to update it now.
question is, whether we can somehow "add" the attribute to the VM, and if not, whether a re-deploying the VM (say, from a backup), would allow us to add it.

Hi @jurajtobias,

Okay yeah so if the attribute isn't in the VM by definition you cannot update it to True from Undefined. The update functionality is more intended to be closer to my example above where you have a VM that has the property but you didn't set it to True when the VM was created.

If you really want the property you could migrate your data to a newer VM with the Preview Enabled.

And please keep in mind this feature is in preview so more functionality should come later.

Hey @jurajtobias ,
Am I okay to close this issue or do you have a follow-up question?

yeah, close it. thanks for the help!

@whoward-msft sorry for digging this issue up, but is this still in preview? 2 years later and I got this same message: The property 'linuxConfiguration.patchSettings.patchMode' is not valid because the Microsoft.Compute/InGuestAutoPatchVmssUniformPreview' feature is not enabled for this subscription.
I would expect that preview features are marked in docs with (Preview) in title - this one isn't, but enabling patching still requires a preview feature to be enabled, which is a bit odd...

I guess this is still an issue, If I wanna have control over updates and if I change configuration to manual when deploy VMs, I then later cannot change them to automatic, and services like "Update management center" cannot be used, because it requires to have setting "automatic by OS" which I cannot set anymore...  If I deploy with automatic OS, then PROD server automatically reboot, unless I manually stop them from doing so via group policy, I mean come on this is essential stuff, how come you cannot set this things back and forth as you wish... And Microsoft solution is to redeploy a VM to achieve desired result, really? redeploy production environments because of some true / false setting?

Same issue here. I want to do this for EXISTING vms that currently have null for the osProfile property. Getting the same error - 'osProfile' does not support further indexing.


ssl support ciphers&protocals

What is the purpose of the change
ssl support ciphers&protocals
Brief changelog
Verifying this change

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #7740 (54c37c7) into master (30616ea) will decrease coverage by 0.29%.
The diff coverage is 0.00%.

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

Would you please add some unit test cases for this PR? Also, please try add some descriptions of how to use it in apache/dubbo-website.

sorry so late.
how to describe the use case？

sorry so late.
how to describe the use case？

Just add some description about the usage. Also, it would be better to add some samples about this pr to dubbo-samples.

my puzzle is where to write？ write in the test？
are there  any example for me？

my puzzle is where to write？ write in the test？
are there any example for me？

This issue might help you


notice details

feat(routingv8): add return value field to route request
feat(routingv8): add notice details to route response
test(routingv8): add example tests for HERE documentation
fix(routingv8)!: correct types for route arrival + departure
feat(routingv8)!: add notice to route section

Another FYI: Section array is typically 1 item. There's multiple sections when the route actually needs to use a Ferry or something of the sort.


Commands with "service" name arguments should be typed as Address instead of String

Current behavior
Outlet commands (tcp, influx, kafka) have name and from arguments that accepts strings like /service/my-outlet or my-outlet.
Desired behavior
These arguments should be typed as Address instead.

I'll work on this!

I'll work on this!

Nice all yours! Let me know if you need help in the process


how to change dbname and create database more than one

In my application,i want to create database name with diffierent account,when i change loging account;

This function supported since 1.4.0 version. Read doc for more details.


snapshots/devmapper: suspend a device to avoid data corruption

Hello containerd folks,
We have found this issue in our testing stack and the fix seems working so far. I still haven't reproduced the issue locally with containerd-stress though.

According to https://github.com/torvalds/linux/blob/c309b6f24222246c18a8b65d3950e6e755440865/Documentation/admin-guide/device-mapper/thin-provisioning.rst#internal-snapshots;

If the origin device that you wish to snapshot is active, you
must suspend it before creating the snapshot to avoid corruption.

However the devmapper snapshotter is currently not doing that.
Signed-off-by: Kazuyoshi Kato<EMAIL_ADDRESS>

Let me rebase this branch first. I think master was not passing CI checks before.

@kzys can you please do comments in the code and update error messages.

Would you mind if I backport the change to 1.3.x? I need to add ResumeDevice in addition to though.
https://github.com/kzys/containerd/commit/c2cf0570096ec50d6b3fbf696b8f0a7eab54880d

Would you mind if I backport the change to 1.3.x? I need to add ResumeDevice in addition to though.

sure

LGTM


Physics tied to framerate

This can be seen by comparing the gun knockback with different settings. Knockback moves the player a shorter distance when vsync is off and the game is allowed to reach higher frame rates and knockback moves the player a further distance when max_fps is set lower.
At a very low max_fps like 10, looking around goes crazy and is uncontrollable

These issues should now be fixed, thanks for reporting!


Unable to register at test.pypi.org

When trying to register at test.pypi.org, I always get the message
The username is invalid. Usernames must be composed of letters, numbers, dots, hyphens and underscores. And must also start and finish with a letter or number. Choose a different username.
I tried different usernames and made sure the information is given in the right input fields.
Am I missing something? Is there a required pattern for Usernames?

Hi @Drhansom, are you maybe putting your email address in the username field? Could you share a screenshot of the username you're trying and the resulting error message?

I tried again and it worked. Thanks!


Add ADR requiring checks to pass before approvals are made

Description
Pull Requests require both that all checks that have been implemented pass and that at least 1 developer approve the pull request. Unfortunately, there's no way to ensure that a developer is only approving pull requests that have passed all checks, which can result in an opportunity for developers to merge PRs with unsuccessful checks. This PR introduces two ADRs, which encompass two different solutions to this. I assume that one of the ADRs will be rejected in favor of the other, but I wanted to provide both as an option.
Feedback Requested

Which of these seems like the best approach to ensuring bad merges don't take place?
Is there another option I'm not considering?

I vote for PRs are blocked until all status checks are completed. If we were supporting a production application there would be reason to allow for the option to override these to get hotfixes out, but this doesn't apply to us.


Ability to send data encoded by MultipartEncoder from requests_toolbelt.multipart.encoder

Ability to send data encoded by MultipartEncoder from requests_toolbelt.multipart.encoder

nvm, seems like switching from bytes to string is working
from requests_toolbelt.multipart.encoder import MultipartEncoder
data = str(MultipartEncoder(fields={'key1':'value'}))


Implement new --ignore-file and --ignore-dir

ack 3 needs to redo --ignore-file and --ignore-dir.

Currently, the documentation for --ignore-dir only allows --ignore-dir=DIRNAME. You may also use the new --ignore-dir=is:DIRNAME syntax; in the future, other filter types will also be allowed. The documentation should be updated to reflect this.

Email from @delvarworld to the ack-users mailing list.
This page is a mess in terms of --ignore-file:
http://beyondgrep.com/documentation/
I was lucky enough to find an example ackrc through google that showed
--ignore-file=match:file.txt
--ignore-file=match:/regexp/
but beyond that I have no idea what my options are for --ignore-file. I am also trying to construct a regex with forward slashes in it but it doesn't seem to be working. The documentation is very lacking in terms of how to do this.

Comment from @jgbishop
I think it might be beneficial to create a new sub-heading (=head2) named Available filter types (or something similar) under the Defining your own types heading in the manual. This would:

Make the available filter types stand out better, seeing as they don't necessarily only apply to creating new file types
Provide something better to link to in various parts of the manual (again, for places that don't necessarily refer to creating custom types); i.e. users wouldn't have to read through the entire block of text on creating user types to get to the information they want

This would at least assist with this issue, if not fix it. If that sounds reasonable, I'll take a stab at implementing this.
That said, I think the documentation page should point to the manual, not to the --help output. The latter is a reminder for what switch is what, while the former is more of what I'd call documentation. Just a thought.

See also https://github.com/petdance/ack/issues/216

Just as --ignore-dir has --noignore-dir, we should --ignore-file have --noignore-file.  We have to be able to negate whatever is in someone's .ackrc at the command line.

Also notes in https://github.com/petdance/ack3/blob/dev/dev/IGNORE.md

This ticket has been split into #88 and #89


Bug: microphoneprocess does not clear active attributes

Describe the bug
before using this fork, i was using the original HASS.Agent
i once played Content Warning and was using Discord at the same time
my PC crashed in the middle of the session and ever since that happened these two programs have been stuck as "ON" in the attributes.
they cannot be cleared, and i thought that clearing all HASS.Agent files from the %appdata% will fix it, but i think that it was not the right directory as the issue persisted
when i use anything other than discord or content warning, like zoom, it will be "on" and then go away as it should
To Reproduce
Steps to reproduce the behavior:

Use old Hass.Agent
Crash PC with Discord and Content Warning listed in microphoneprocess
Have them persist for 6 months

Expected behavior
both microphoneprocess should be clearable
or find the file/location where this variable is cached so i could clear it manually
Screenshots

Misc info (please complete the following information):

Windows build (ideally screenshot/info of winver.exe output):

HASS.Agent version: still persists on 2.1.1-beta2 (but this has happened on a much older version)

Please check what's applicable (multiple answers possible):

[x] Installed via installer
[ ] Installed manually
[x] Problem occurs in HASS.Agent
[ ] Problem occurs in Satellite Service

That's interesting, I think we had this discussion on discord somewhere :D
So, do you by any chance have MQTTExplorer installed?

i do have it installed!
i don't know what you want to see so i am just going to dump the things related to the sensor:
homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess
null
homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess/config
 {
  "state_class": "measurement",
  "icon": "mdi:microphone",
  "json_attributes_topic": "homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess/attributes",
  "unique_id": "0fbc9587-22ea-45f5-89a5-8a2138a86b18",
  "object_id": "DANIEL-PC_microphoneprocess",
  "availability_topic": "homeassistant/sensor/DANIEL-PC/availability",
  "device": {
    "identifiers": "hass.agent-DANIEL-PC",
    "manufacturer": "HASS.Agent Team",
    "model": "Microsoft Windows NT 10.0.26100.0",
    "name": "DANIEL-PC",
    "sw_version": "2.1.1-beta2"
  },
  "entityname": "DANIEL-PC_microphoneprocess",
  "name": "DANIEL-PC_microphoneprocess",
  "state_topic": "homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess/state"
}

homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess/state
2
homeassistant/sensor/DANIEL-PC/DANIEL-PC_microphoneprocess/attributes
{
  "Content Warning": "on",
  "Discord": "on"
}

please comment if you need more information @amadeo-alex :)

Ok, I assume discord and "content" warning were not active while testing :D
Looks like this might be the same issue as https://discord.com/channels/1173033284519862392/1235336244339409067
If you don't have access to discord, for some reason, windows sometimes borks and leaves registry entries for the apps that are no longer using microphone:

Easiest fix is that you open regedit, navigate to the path visible on the screenshot and then remove the entries + reboot the PC.
Are you accustomed to working with stuff like regedit or would you like some help :D?

@amadeo-alex thank you so much! it got fixed right away!
i looked into the entries for Content Warning and the various Discord ones and found exactly two of them that were out of place.
both entries had the LastUsedTimeStop value set to 0x000.. so i just copied the start value into the end value :)
6+ months of broken microphone sensor issues now gone!


add option --rebuild used for rerunning same command

By default buildtest will clean the root of software test directory to avoid duplicate test names added in CMakeList.txt.
buildtest can mimic this same behavior with option --rebuild which will clean the test directory before writing test and the default behavior will be to not delete the root of software test directory. This may be useful if user is running multiple buildtest commands to generate test for Python packages or rebuild test with different shell.

This was resolved in commit https://github.com/HPC-buildtest/buildtest-framework/commit/0882ab58331b701c36a251cbdda573c5db167561
Option was called --clean-build which  allows user to delete any existing test prior to testing. If you don't use this option the default will be to add any tests to the existing directory. Particularly useful if you want to test software with different shell option (--shell)


Face ID doesn't work

Face ID on the simulator appears repeatedly after using a matching ID. After a face is matched JKLLockScreenViewController's viewDidAppear: method is hit which triggers lsv_policyDeviceOwnerAuthentication to show Face ID again.

Never mind seems that the Face ID window acts a little differently than the Touch ID window. I needed to put my call to JKLLockScreenViewController in applicationWillEnterForeground instead of applicationDidBecomeActive for it not to be called twice.


feat: support disjunctive normal form types

Checklist

[x] All tests pass in CI
[x] There are enough tests for the new fix/feature
[x] Grammar rules have not been renamed unless absolutely necessary (x rules renamed)
[x] The conflicts section hasn't grown too much (2 new conflicts)
[x] The parser size hasn't grown too much (master: 2654, PR: 2689)
(check the value of STATE_COUNT in src/parser.c)

Hello!
This adds support for DNF types and subsequently closes #139 (note that this is branched from #192).
Thanks!

This is very nice work!
@maxbrunsfeld May I suggest giving @calebdw commit access so that he may merge simple PRs without waiting too long for the rest of us to find the time?


Orchid 13 support

Fixes #
Proposed Changes

Orchid 13 support
add jquery 3.6.1

Thanks for the PR. However the 12->13 change is a bit bigger, since it needs to install script changes too, as they started to use the laravel way how resources/assets are being handled.


straight-server build fails with "uninitialized constant BTC::ScriptChunk::OP_PUSHDATA4"

https://travis-ci.org/MyceliumGear/straight-server/builds/76432132
/home/travis/.rvm/gems/ruby-2.2.1/gems/btcruby-1.1.4/lib/btcruby/script/script_chunk.rb:150:in `with_data': uninitialized constant BTC::ScriptChunk::OP_PUSHDATA4 (NameError)
	from /home/travis/.rvm/gems/ruby-2.2.1/gems/btcruby-1.1.4/lib/btcruby/script/script.rb:31:in `initialize'
	from /home/travis/.rvm/gems/ruby-2.2.1/gems/btcruby-1.1.4/lib/btcruby/block.rb:33:in `new'
	from /home/travis/.rvm/gems/ruby-2.2.1/gems/btcruby-1.1.4/lib/btcruby/block.rb:33:in `genesis_mainnet'
	from /home/travis/.rvm/gems/ruby-2.2.1/gems/btcruby-1.1.4/lib/btcruby/network.rb:35:in `mainnet'

Is something wrong on our side?

Oops, it's a bug in name scopes. Fixing...

@AlexanderPavlenko should be fixed in 1.1.5, please check.


Allow the pip command during init to run with --user

This fails for global installs otherwise!
Shouldn't we always install with that flag?

From what Nikita is saying, PyTorch CI would actually use that and that would avoid the need for dry-run the init and manually adding the --user there.

sorry was on PTO. The discussion here: https://stackoverflow.com/questions/33412974/how-to-uninstall-a-package-installed-with-pip-install-user/56948334#56948334 makes me nervous about this, as running with --user by default would break people using venvs.
Do you think we should try to detect whether we're in a virtual environment and branch on that?

I didn't meant to make this the default. Only to be an optin thing.
Like lintrunner init --user should be possible.

Closing as it's fixed in pytorch/pytorch.
But overall lintrunner doesn't know anything about the (pytorch-specific) init commands and has no way to pass user-supplied arguments to the linters (an important design point as that is how we keep invocation uniform across all users).


Zli subcommands: new and init

Add tow subcommands for zino-cli:
new: creat a new project in the specified directory.
init: creat a project in the current directory.

@coderabitai summary


Bach

Fixes #.
Dir docs add file Test
Description of the changes:

How changes were validated:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: lisntwork sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

ok


Add Github issue template

This PR adds a Github issue template to make it easier to submit structured bug reports. See https://blog.github.com/2016-02-17-issue-and-pull-request-templates/ for details.
If you want to see how this looks when opening a new issue before merging this PR, click on "New issue" for the OneBusAway Android project:
https://github.com/OneBusAway/onebusaway-android/issues

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: barbeau sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@acrown-msft did you want to review, or should I merge? Not sure of the process you normally follow.


Discrepancy between EM/F1 scores logged during training and those output from squad_eval.py

Hi,
Thanks for open-sourcing your code!
I noticed a discrepancy between the EM and F1 scores logged during training and those computed when evaluating the model separately using docqa/eval/squad_eval.py. The difference is significant at the beginning of training, but becomes small by the end of training. It'll be super helpful if you could explain where the difference comes from, and more importantly, which are the "correct" scores.
A couple of disclaimers before I describe in more detail:

I am running python3.4 and not >=3.5.
I am using json package and not ujson package in read_data.py.

Unfortunately, my compute environment does not allow me to change the above to see if the problem persists with python3.5 and ujson. However, the code runs fine, and I believe the problem to be somewhere else. Please correct me if I am wrong though.
So I am running the paragraph setting on Squad as follows:
python3.4 docqa/scripts/ablate_squad.py paragraph output/squad

And I am evaluating the output checkpoints as follows:
python3.4 docqa/eval/squad_eval.py -o output/squad-1205-140719/dev-output.json -c dev output/squad-1205-140719/ -s <checkpoint_number>

The output scores I see on Tensorboard and from the evaluation script are as follows:

Update
Tensorboard Acc
Tensorboard F1
Tensorboard text-EM
Tensorboard text-F1
squad_eval.py Acc
squad_eval.py F1
squad_eval.py text-EM
squad_eval.py text-F1

1200
0.4685
0.5886
0.4896
0.6080
0.1755
0.2726
0.1853
0.3044

2400
0.5479
0.6610
0.5700
0.6798
0.4572
0.5786
0.4781
0.5992

3600
0.5647
0.6790
0.5886
0.6966
0.5506
0.6688
0.5746
0.6861

4800
0.5951
0.7077
0.6192
0.7239
0.5842
0.6980
0.6094
0.7154

10800
0.6377
0.7501
0.6675
0.7667
0.6437
0.7508
0.6707
0.7662

As you can see the squad_eval.py is much lower than the Tensorboard performance initially, but catches up with it around update 5000. Later it even becomes slightly better.
I guess my main questions are --

Does this happen in your setup? If not, then it is probably something to do with python3.4 / 3.5.
If this does happen in your setup, can you point to why? Also which performance is the correct one?

The reason why I am interested in the initial performance is because I am running some experiments with only 10% of squad training set. In this case there is a big difference in the performances logged during training and from the evaluation script, similar to the top rows of the table above.
Thanks a lot for your time!
Bhuwan

I think that is because we are using exponential moving average (EMA) weights. At test time we use the EMA of the weights, but the dev score computed during the training cycle just use the current weights. You can run the script with --no_ema and you should see the same scores.

Indeed that is the case. There is still a small difference between the two (for example, 0.680580080475 v 0.68047) but it is close enough. Thanks for your help!


*new_feature: delete items with custom filter

This pull request updates the query::class to support delete  query results  using custom filter.
$db->query()->where('name','LIKE','john')->delete(function($item){
        return $item->name=='0John' &&<EMAIL_ADDRESS>
});

Pull Request Test Coverage Report for Build 134

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 92.952%

Totals

Change from base Build 130:
0.03%

Covered Lines:
488

Relevant Lines:
525

💛  - Coveralls

This looks good. Nice Job! I will have this merged with the next update. Thanks!


[config] add test OpenTitan Earlgrey A1 sku

An OpenTitan Earlgrey A1 sku config should be crafted for testing. A PA loadtest for this sku should also be created.

Completed in #32


Add the advanced abbreviations

Need to link the abbreviations file to the .vimrc

Added the file abbreviation file under .vim/etc/abbrev.vim


Adding initial Hebrew support for sentences.

@haim-b Can you please remove the "HassToggle" intent? We decided it wasn't worth including for now.


Segregate MessageHub into it's own stack

Moved to sprint backlog:
https://app.zenhub.com/workspaces/team-volt-60a61059028fd7000e49956e/issues/energinet-datahub/geh-charges/946


Support with redux

I am wonder if i can use this module together with redux.
For example, when i have a simple input, i write something like this:
<input type="password" onChange={ this.handleInput.bind(this, 'password-input' }/>
So i can get an information about user is filling the password field and update the certain state in redux. Is there any way to do something like this with this module? Thanks.

I'm gonna close this. Feel free to reopen if you feel this is something you'd feel to work on.


Patch to the first validate-metric-name PR

Hi @golgotha, here I collected some my suggestions to your PR, could you review?

What minimal version is java are you going to support 11?
Should we rid of Gradle and use Maven, right?


Resolving #29 - Failing early if bwa pipe fails

@MaxUlysse This set -eo pipefail should be set to every bash script part if there are pipes involved.

@szilvajuhos
I'll set NXF_OPTS in the config file for milou (which is currently our standard), so that we don't propose to users to set it up in their .bashrc
I'll set up a profile for interactive on milou (and a section on help for using profiles)
And I'll look for pipes in the main.nf
Thanks for fixing that


UDF can not used in Hive external table when user in catalog

Steps to reproduce the behavior (Required)
when we use jdbc link such as mysql -uuser -ppassword -P9030 -hhost  -Dhive_catalog0.db，then create function as
mysql> CREATE FUNCTION MY_TEST_FUNC(string)
    -> RETURNS string
    -> properties (
    ->     "symbol" = "com.test.starrocks.udfs.TestUDF",
    ->     "type" = "StarrocksJar",
    ->     "file" = "http://host/udfs-1.0-SNAPSHOT.jar"
    -> );
ERROR 1064 (HY000): Unknown database ‘db’

Expected behavior (Required)
udf can not used in Hive external table when user in catalog
Real behavior (Required)
ERROR 1064 (HY000): Unknown database ‘db’

StarRocks version (Required)

2.3.0

Currently, external catalog does not support UDF :(


.ts files show up empty is aspnet-typescript skeleton

I'm submitting a bug report

Aurelia Skeleton Version
skeleton-typescript-aspnetcore

Framework Version:
major.minor.patch-pre

Please tell us about your environment:

Operating System:
OSX 10.x

Node Version:
4.2.6

NPM Version:
3.10.9

JSPM OR Webpack AND Version
JSPM 0.16.48

Browser:
Chrome

Language:
TypeScript 2

Current behavior:
I set up the Typescript Aspnet Core project following the instructions. It works and runs as expected, but when I tried opening the typescript files for debugging, they show up empty as seen here.
Expected/desired behavior:

What is the expected behavior?
Being able to debug typescript files

@AshleyGrant Know anything about this?

I'll look in to it.

I'm having the same issue @AshleyGrant
@akshayKhot have you found a fix?

Ah, I think the issue is specific to the aspnetcore project. The reason is the src folder is not accessible by URL because it is hosted from the wwwroot folder.
https://github.com/aurelia/skeleton-navigation/blob/d17bc9797c1ffa2746dcefb99100c0b900a00f98/skeleton-esnext-aspnetcore/src/skeleton/build/tasks/build.js#L24
This line set includeContent: false therefore requiring a sourceRoot option, which is inaccessible by URL because the aspnetcore project is hosted from the wwwroot folder.
I have set the line to .pipe(sourcemaps.write('.')) which solves the immediate issue though I don't know if it's a desirable fix.

@AdamWillden I switched to using Aurelia CLI for typescript, and it works fine. Thanks for the fix btw!

@AdamWillden I found a solution, I change the  .pipe(sourcemaps.write('.', {includeContent: false, sourceRoot: '/src'})) to   .pipe(sourcemaps.write('.', {includeContent: false, sourceRoot: '/dist'})) and it work for me.

@danielmeza would you mind creating a PR with that fix?

Stale since january 2017

Closing as much has changes with the CLI and the asp.net projects since this issue.


FEATURE: Create new commands to simplify daily operations

Propose of new commands under a new verb set for most common operations while managing clusters
manta set <target> [-H <hsm group name> | -x <list of xnames>] <operation>

eg:
manta set runtime_configuration -H my-hsm my-configuration

manta set runtime-configuration
manta set boot-confguration
manta set boot-image
manta set kernel-parameters

NOTE:
We could define HSM or xname list as an argument or as a subcommand. This is an open discussion.
eg:
# subcommand examples
manta set runtime-configuration cluster my-hsm my-configuration
manta set runtime-configuration nodes x1,x2 my-configuration

# argument examples
manta set runtime-configuration -H my-hsm my-configuration
manta set runtime-configuration -x x1,x2 my-configuration

done


Cluster creation stuck waiting for OIDC configuration if --mode auto and --watch supplied

$ rosa version
1.1.11

When creating a cluster:
rosa create cluster --cluster-name=testing-123 --sts --mode=auto --yes --watch

The --watch flag conflicts with --mode=auto causing the cluster creation to hang waiting for OIDC configuration. Roles and OIDC provider are automatically provisioned if mode is set here:
https://github.com/openshift/rosa/blob/b5af865e3f78ac8cf7ffc9d26540b89a3be893bf/cmd/create/cluster/cmd.go#L1802-L1806
This comes after the --watch block which causes the cluster to wait for install logs but the cluster never begins creation due to not having OIDC configuration yet.
https://github.com/openshift/rosa/blob/b5af865e3f78ac8cf7ffc9d26540b89a3be893bf/cmd/create/cluster/cmd.go#L1786-L1787
❯ rosa create cluster --cluster-name=testing-123 --sts --mode=auto --yes --watch
I: Using arn:aws:iam::x:role/ManagedOpenShift-Installer-Role for the Installer role
I: Using arn:aws:iam::x:role/ManagedOpenShift-ControlPlane-Role for the ControlPlane role
I: Using arn:aws:iam::x:role/ManagedOpenShift-Worker-Role for the Worker role
I: Using arn:aws:iam::x:role/ManagedOpenShift-Support-Role for the Support role
I: Creating cluster 'testing-123'
I: To view a list of clusters and their status, run 'rosa list clusters'
I: Cluster 'testing-123' has been created.
I: Once the cluster is installed you will need to add an Identity Provider before you can login into the cluster. See 'rosa create idp --help' for more information.
I: Cluster 'testing-123' is in waiting state waiting for installation to begin. Logs will show up within 5 minutes
...

without the --watch flag
❯ rosa create cluster --cluster-name=testing-124 --sts --mode=auto --yes
I: Using arn:aws:iam::x:role/ManagedOpenShift-Installer-Role for the Installer role
I: Using arn:aws:iam::x:role/ManagedOpenShift-Support-Role for the Support role
I: Using arn:aws:iam::x:role/ManagedOpenShift-ControlPlane-Role for the ControlPlane role
I: Using arn:aws:iam::x:role/ManagedOpenShift-Worker-Role for the Worker role
I: Creating cluster 'testing-124'
I: To view a list of clusters and their status, run 'rosa list clusters'
I: Cluster 'testing-124' has been created.
I: Once the cluster is installed you will need to add an Identity Provider before you can login into the cluster. See 'rosa create idp --help' for more information.
I: To determine when your cluster is Ready, run 'rosa describe cluster -c testing-124'.
I: To watch your cluster installation logs, run 'rosa logs install -c testing-124 --watch'.
...
I: Preparing to create operator roles.
I: Creating roles using 'arn:aws:iam::x:user/osdCcsAdmin'
I: Created role 'testing-124-h1j8-openshift-machine-api-aws-cloud-credentials' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-machine-api-aws-cloud-credentials'
I: Created role 'testing-124-h1j8-openshift-cloud-credential-operator-cloud-cred' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-cloud-credential-operator-cloud-cred'
I: Created role 'testing-124-h1j8-openshift-image-registry-installer-cloud-crede' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-image-registry-installer-cloud-crede'
I: Created role 'testing-124-h1j8-openshift-ingress-operator-cloud-credentials' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-ingress-operator-cloud-credentials'
I: Created role 'testing-124-h1j8-openshift-cluster-csi-drivers-ebs-cloud-creden' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-cluster-csi-drivers-ebs-cloud-creden'
I: Created role 'testing-124-h1j8-openshift-cloud-network-config-controller-clou' with ARN 'arn:aws:iam::x:role/testing-124-h1j8-openshift-cloud-network-config-controller-clou'
I: Preparing to create OIDC Provider.
I: Creating OIDC provider using 'arn:aws:iam::x:user/osdCcsAdmin'
I: Created OIDC provider with ARN 'arn:aws:iam::x:oidc-provider/rh-oidc.s3.us-east-1.amazonaws.com/xy'

strangely enough, when I add --output=json to the command, we also get stuck waiting for OIDC and the config isn't created automatically.

Thank you for this feedback. We'll work in a fix to make sure --output doesn't break auto mode's flow and look into a better way to use --watch


Create snd ps1

Create another ps1 for automatic registration
Remove the environment variable to save the last path location (when for example asking for a folder in the ps1) to gain time
(This pull request is for merging in the registration branch)

Also the second ps1 script is now in the installation setup like the other ps1


Fix middlewares sequences

As title.

Codecov Report

Merging #14354 (55b67df) into master (bfd0c47) will decrease coverage by 0.01%.
The diff coverage is 43.58%.

@@            Coverage Diff             @@
##           master   #14354      +/-   ##
==========================================
- Coverage   41.86%   41.85%   -0.02%
==========================================
  Files         744      744
  Lines       79638    79680      +42
==========================================
+ Hits        33342    33349       +7
- Misses      40808    40832      +24
- Partials     5488     5499      +11

Impacted Files
Coverage Δ

routers/repo/projects.go
13.58% <20.00%> (+0.16%)
:arrow_up:

models/project_board.go
41.79% <48.93%> (-4.82%)
:arrow_down:

routers/api/v1/api.go
79.50% <100.00%> (ø)

routers/routes/macaron.go
93.25% <100.00%> (+<0.01%)
:arrow_up:

modules/log/event.go
59.90% <0.00%> (-1.89%)
:arrow_down:

modules/queue/unique_queue_disk_channel.go
53.84% <0.00%> (-1.54%)
:arrow_down:

services/pull/pull.go
43.06% <0.00%> (+0.49%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #14354 (55b67df) into master (bfd0c47) will decrease coverage by 0.01%.
The diff coverage is 43.58%.

@@            Coverage Diff             @@
##           master   #14354      +/-   ##
==========================================
- Coverage   41.86%   41.85%   -0.02%
==========================================
  Files         744      744
  Lines       79638    79680      +42
==========================================
+ Hits        33342    33349       +7
- Misses      40808    40832      +24
- Partials     5488     5499      +11

Impacted Files
Coverage Δ

routers/repo/projects.go
13.58% <20.00%> (+0.16%)
:arrow_up:

models/project_board.go
41.79% <48.93%> (-4.82%)
:arrow_down:

routers/api/v1/api.go
79.50% <100.00%> (ø)

routers/routes/macaron.go
93.25% <100.00%> (+<0.01%)
:arrow_up:

modules/log/event.go
59.90% <0.00%> (-1.89%)
:arrow_down:

modules/queue/unique_queue_disk_channel.go
53.84% <0.00%> (-1.54%)
:arrow_down:

services/pull/pull.go
43.06% <0.00%> (+0.49%)
:arrow_up:

Continue to review full report at Codecov.

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


Eq 374 serialiser

Changes
Adds the MCI Schema as python code, along with to_json() methods to generate json from model.
Also overrides eq and ne methods to check for equivalence rather than strict equality.
How to test

Check out the branch
Run the unit tests
Verify they all pass

Who can test
Anyone except @weapdiv-david

LGTM - 👍


Add a Pull Request link to the proposal template

I'll close this PR since @DougGregor is already planning to update the proposal template with a link to the implementation.


Zero shot classifier sigkill

I am using the zero shot classifier to predict topics of news articles, and for a specific article I am getting an error that stops my script and forces it to exit abnormally with code 137. I am unsure whether the problem is the specific article or the issue was built up until that point (it's the 20th article I am classifying). I use one class and I split each article into sentences and predict per sentence.
I initially had Runtime errors (couldn't allocate enough GPU memory), which I solved following the torch.no_grad() suggestion in this issue. After this problem is gone, I experience the sigkill error, which I suppose is related to GPU memory again. I have also increased the batch_size to 32, because the prediction takes approximately one minute per 10 articles.
Any thoughts? I am now checking the size of the sentences, in case one sentence is too long and it creates memory issues. So far, even some unusually long sentences (~1000 characters) didn't cause an error and worked fine with the prediction.
My code:
zeroshotclassifier = text.ZeroShotClassifier()

relevant_sentences = []

 with torch.no_grad():
      # tokenize the article into sentences and find relevant sentences to keywords
        for sentence in nltk.sent_tokenize(content):
            print(len(sentence))
            try:
                prediction = zeroshotclassifier.predict(doc=sentence,
                                                        topic_strings=keywords,
                                                        include_labels=True,
                                                        batch_size=32)
                score = prediction[0][-1]
                if score > 0.90:
                    relevant_sentences.append([sentence, prediction])
            except RuntimeError as e:
                print("CUDA error: {}".format(e))
        gc.collect()
    # sort sentences based on their score
    relevant_sentences = [x[0] for x in sorted(relevant_sentences, key=lambda x: x[1], reverse=True)]

Hello:
I'll take a look and try to reproduce it.

How many topics are included in your keywords list that you are supplying to topic_strings parameter?
A new version of ktrain was just released (v0.19.0).  Are you using this latest version or a previous version (e.g., v0.18.5)?

I wasn't able to reproduce this even when using 800 topics and a documents that are each over 1000 words. I was running on an Ubuntu 18.04 system with a TITAN V GPU.  Both the GPU memory and main memory remain stable and constant during the repeated calls to predict.

Can you please try your code again with the latest version of ktrain, which is v0.19.1 as of right now?
If you have a self-contained example to reproduce the problem, you can send to me and I can try that on my end.

Thanks a lot for your time. I have only one keyword in the topic_strings parameter and I am using the 0.18.5  version. I use Manjaro, NVIDIA Quadro T2000 GPU, tensorflow 2.1.0, cuda 10.1 (and 10.2, I think 10.1 is used though) and cudnn 7.6.5. My GPU has quick spikes when I suppose the predict method is called (I can tell from watch nvidia-smi). I also double checked with tf.test.gpu_device_name() and my GPU is indeed being used.
I experience another error now, but when I create the zer shot classifier:
RuntimeError: cuda runtime error : device-side assert triggered. This is new - the previous runtime error I had was when I called predict and it didn't mention "device-side assert triggered".
I will try the next version of ktrain and also to write a self-contained example if possible.

I think I will close this issue, because I checked earlier what happens if I remove the gc.collect() and actually the sigkill occurs again. So, I suppose this is the solution - at least for now. I will open another issue for the runtime error.


Fix /apps redirect, clean up corporate portico code, remove unnecessary zulip.com from link

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I checked there were no other links to https://zulip.com/help rather than /help, via:
git grep zulip.com/help templates/zerver/help/

This is great, merged after the small comment tweak noted above. Thanks @alexmv!
Also backported to 6.x as series ending with 4bd092b98fb336368cfff65cc8f02c3abe5f7361.


added to dask.array.diag() support for extracting k-diagonals from a 2d-array

[ ] Closes #2726 (and maybe #5683)
[x] Tests added / passed
[ ] Passes pre-commit run --all-files

Perhaps you might find this useful.  It mirrors the dask-grblas implementation, which supports rectangular  chunks.
It follows the straight path of the k-diagonal through the rectangular chunks of the input matrix , constructing the dask graph along the way.  So chunks untouched by the diagonal end up not being part of the final dask graph.
Relevant test-units have been modified to reflect this change.
Critique is welcome.
NB: It might be worth comparing this with #5683 (which I only discovered after pushing this commit).

Can one of the admins verify this patch?

add to allowlist

At the time, #5683 failed on the issue described in #5661 with test_corrcoef() in dask\array\tests\test_routines.py (which was semi-unrelated). As of master today, #5661 still seems valid, so it might be interesting in comparing to see if this does not trigger #5661 and if so: why not.

For completeness:
I am the original author of #5683 and happy to let this PR supersede it :+1:
As per discussion there, #5661 is essentially independent of this PR. (Which makes this all the better PR to merge of the 2).

Other than thinking about not duplicating code from da.diagonal as mentioned above, this PR seems in all ways better than #5683 to me.
I think (admittedly from the sidelines, it has been some time since I was this deep in the dask code base) that if @ParticularMiner already had a good reason to not call da.diagonal this can be merged, #5683 can be closed/rejected and #8703 can be handled separately, otherwise it might be worth it to incorporate #8703 here, call da.diagonal and review and merge this as one PR.

Btw, many thanks for your constructive critique and support of this PR @TAdeJong .

Thanks all! 😄


XAML hot-reload not working when Carousel is in a page of a TabbedPage

This is making development harder.
Any other tab in my app works with HotReload just fine.
Whenever I change something in XAML, the page goes blank.
Is there any know workaround?

Hi, I don't think so.
Does it work fine with Xamarin Carousel or another carousel plugin?

Yes, XF CarouselView works fine in the same scenario.

I'd propose to set "reload entire page" Xaml Hot Reload option and see if it helps)


Update dbmigrate-lib mysql version

Build is failing on stable Rust (1.20.0):
error: type `io::IoPack + 'static` is private
    --> /home/mentalbrew/.cargo/registry/src/github.com-1ecc6299db9ec823/mysql-10.0.0/src/conn/mod.rs:1044:30
     |
1044 |         let (data, seq_id) = self.get_mut_stream().as_mut().read_packet(old_seq_id)?;
     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type `io::IoPack + 'static` is private
    --> /home/mentalbrew/.cargo/registry/src/github.com-1ecc6299db9ec823/mysql-10.0.0/src/conn/mod.rs:1051:22
     |
1051 |         let seq_id = self.get_mut_stream().as_mut().drop_packet(old_seq_id)?;
     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type `io::IoPack + 'static` is private
    --> /home/mentalbrew/.cargo/registry/src/github.com-1ecc6299db9ec823/mysql-10.0.0/src/conn/mod.rs:1059:23
     |
1059 |         self.seq_id = self.get_mut_stream().as_mut().write_packet(data, seq_id, max_allowed_packet)?;
     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors

Searching for this error revealed this support issue for the compiler:
https://github.com/rust-lang/rust/issues/43662
The simplest path seems to be upgrading to a newer version of mysql crate. Is there any issue with doing so?

I've noticed that yesterday but didn't have time to fix it yet. There shouldn't be any issue upgrading mysql, i'll take a PR for it or I'll do it today/this weekend.

Just pushed a new version to crates.io that should fix the issue!

Thank you! By the time I was available to work on it, you already had the fix in. Much appreciated!


Contextual inference for nested calls that return constructors

#54813 attempted to make this work, but exposed an underlying bug that caused too many instantiations. Once that bug is fixed, the code in #54813 should be re-applied if possible.
Here's an example of something that should work, but doesn't:
// @strict: true
// @noEmit: true

interface Action<TContext> {
  new (ctx: TContext): void;
}

declare class AssignAction<TContext> {
  constructor(ctx: TContext);
}

declare function assign<TContext>(
  assigner: (ctx: TContext) => void
): {
  new (ctx: TContext): AssignAction<TContext>;
}

declare function createMachine<TContext>(config: {
  context: TContext;
  entry: Action<TContext>;
}): void;

createMachine({
  context: { count: 0 },
  entry: assign((ctx) => { ctx }),
});

ctx should have type { count: number }, inferred from the context of assign, but doesn't.

@Andarist this tracks your original fix until the performance bug which it exposed is fixed.


Several Policy Links Missing

There are several links missing in the 'Types of Policies' section of this page. For example, Teams Policies, Teams Update Policies, Templates Policies, etc.
I came specifically looking for documentation on the policy setting described in this announcement on (Private Team Site Discovery), which doesn't seem to exist although the feature is now available in my tenant, but defaulted to ON:
https://admin.microsoft.com/AdminPortal/home?#/MessageCenter/:/messages/MC683664

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

ID: c6c42acc-76a1-25fc-0ead-8b6dc73648a2
Version Independent ID: 908b483c-3c88-b384-5cd5-7ab9d14e4b70
Content: Manage Teams with policies - Microsoft Teams
Content Source: Teams/manage-teams-with-policies.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

Thanks for your feedback!

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Chef knife task does not include --config and --key when private key is selected

When using the Execute Knife (Chef) task in Azure DevOps with a private key selected, only a --key flag gets added to the command that is run. A --config is not added, and errors are thrown at run time that a config is not specified.
 [command]C:\windows\system32\cmd.exe /D /S /C "c:\opscode\chefdk\bin\knife.bat search environment "'name:*foobar*'" -i --key c:\windows\temp\foobar.pem"
No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.
Sometimes, if an Execute Knife (Chef) step that does not use a private key is added before the tasks that do use a private key, then the commands have both --key and --config.
[command]C:\windows\system32\cmd.exe /D /S /C "c:\opscode\chefdk\bin\knife.bat search environment "'name:*foobar*'" -i --config c:\windows\temp\knife.rb --key c:\windows\temp\foobar.pem"
Once the --config and --key are available, the system attempts to connect to localhost, instead of the chef server specified in the server connection.
Connection refused connecting to https://localhost/search/environment?q=%27name:*foobar*%27&start=0&rows=1000
Bug fixes requested:

Allow a --key and --config file to both be generated and used when a Private Key is selected as a knife argument for the Execute Knife (Chef) task.

Use the chef server url specified in the Chef Server Connection instead of localhost

@gobananasgo Thank you for the issue.
We will have a look into this.

@gobananasgo I apologise for not getting back to you sooner on this.
I did make the changes to the extension so that --config and --key were both respected. Additonally the Chef Server URL should be coming from the cvhef Server Connection.
As this is an old issue have you been able to use the task since?

@russellseymour, I have not circled back to my previous task to check on the updated version, I hope to do this in the next few weeks.
I am also curious if it will be possible to run .ps1 scripts using the chefdk, instead of one knife command at a time as a release task.


⚠ Bofrost.es has degraded performance

In 71fe7c8, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1567 ms

Resolved: Bofrost.es performance has improved in 1e7f8d9 after 58 minutes.


About single parameter in application/json request case

Does exist more elegant manner to process single parameter in swagger ui?
Background: front-end want all post/put request consistently use application/json to commit data, so if one Api only need single parameter, e.g.
public Result<?> cancelOrder(
      @ApiParam(value = "Order ID", required = true) @PathVariable long orderId,
      @ApiParam(value = "User ID", required = true) @RequestBody int userId)

in this case the ui effect is

but I want this effect

I feel this effect is more clear to front-end user. So I have to create a special DTO Object ,
 @Data
  static class OrderCancelForm {
    int userId;
  }

Of course I could create some common DTO Object for single parameter or two parameters, e.g.
class CommonSingleValueForm{
    Object value;
}

but I want know if exist some more convenience and elegant manner for this requirement?

@zhugw What version of the sofware are you using? Im not able to reproduce this issue in 2.2.3-SNAPSHOT

			<dependency>
				<groupId>io.springfox</groupId>
				<artifactId>springfox-swagger2</artifactId>
				<version>2.2.2</version>
			</dependency>
			<dependency>
				<groupId>io.springfox</groupId>
				<artifactId>springfox-swagger-ui</artifactId>
				<version>2.2.2</version>
			</dependency>

@zhugw Is this problem fixed in 2.3.0. Not able to reproduce this issue

Fixed what?
I only found Data Type is not undefined but show real type and still have to create a DTO to include this single parameter to achieve my effect that is a json body, see below
public ResponseEntity<?> deleteReservation(@PathVariable long id, @RequestBody int userId){...}

ui interface

I want is do not need to create a additional dto object.

@zhugw I may have misunderstood your request. Well I don't see a way to do what you're expecting to achieve without creating a DTO.
So just to be clear, the bug that it was showing up as undefined is what was fixed. You might be able to achieve what your expecting to achieve using a Map perhaps instead of a DTO.


Update Introduction.md

Hey @imnotashrimp can I ask you to take a look at these fixes before I merge? from velo docs review


[FLINK-24456][Connectors / Kafka,Table SQL / Ecosystem] Support bound…

The setBounded API in the DataStream connector of Kafka is particularly useful when writing tests. Unfortunately the table connector of Kafka lacks the same API.
It would be good to have this API added.
Brief change log
6f62e37
Two changes were made：
1 is to make changes to the problems pointed out by @haohui
2. to carry out the implementation of test cases
186faf1
changes were made：
Modify the content proposed by @ruanhang1993
Verifying this change
This PR adds a new test KafkaTableITCase.testKafkaSourceSinkWithBoundedOffsets () to cover the issue.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (don't know)
The S3 file system connector: (no)

Because of the time problem has not been tested, as well as the preparation of test cases, the next few days will be tested and improved accordingly

It seems like that this PR only supports to stop at some fixed offsets. I think we need more options than this, like latest, timestamp and so on. I think we need provide a table options scan.end.mode to set. the stopping offset initializer like the scan.startup.mode does.

@SteNicholas Hello, I have made changes to address the issues you have pointed out

@SteNicholas

Do you know how to solve the above problem when running test cases?

Hi @SteNicholas , I am looking at testcontainers  to complete the test case run successfully
Thank you for your guidance

@MonsterChenzhuo , thanks for addressing comments. I have left the minor comments. @ruanhang1993 , could you please take a look to the changes and whether the implementation is same as your design?

@SteNicholas Can you have another look if this PR is now OK with the latest changes?

@MonsterChenzhuo What's the status of this PR?

Closed in #21808


Mythbusters Falling Penny Myth Link is Broken

The outgoing link in this section for the Mythbusters testing the falling penny case study is broken. I'm not sure if you want to remove it entirely, or perhaps link to a YouTube video that illustrates their experiment.

Text to grep for:

The television show Mythbusters has tested the myth

I changed the link so it forwards here: https://www.youtube.com/watch?v=16Ci_2bN_zc


New Error for Hotfix 5

Crashes upon first starting up, before reaching the main menu.
Previous hotfix was working earlier, so perhaps something was adjusted? Heard that the load order may be different now with ModLib but I am not sure.

Exact same issue for me as well I am currently playing around with the load order to see if it can be resolved easily.

Messed with load order a little bit and moving it below ModLib has worked for me, starting up now so will report back if I run into anything else.

I tried it with loading Modlib first overall, and just before the Patch, and both cases still crashing with the same message for me.

Recorded Unhandled Exceptions:

System.NullReferenceException: Object reference not set to an instance of an object.
at CommunityPatch.MenuCleaner.IsThirdPartyOption(InitialStateOption item)
at CommunityPatch.MenuCleaner.CleanUpMainMenu()
at CommunityPatch.CommunityPatchSubModule.OnBeforeInitialModuleScreenSetAsRoot()
at TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen()
at DMD<DMD<OnApplicationTick_Patch1>?3200366::OnApplicationTick_Patch1>(Module this, Single dt)
at TaleWorlds.DotNet.Managed.ApplicationTick(Single dt)
at DMD<DMD<Managed_ApplicationTick_Patch1>?45943265::Managed_ApplicationTick_Patch1>(Single dt)

Recorded First Chance Exceptions:

System.IO.FileNotFoundException: Could not load file or assembly 'TaleWorlds.PSAI.XmlSerializers, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'TaleWorlds.PSAI.XmlSerializers, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at System.Xml.Serialization.TempAssembly.LoadGeneratedAssembly(Type type, String defaultNamespace, XmlSerializerImplementation& contract)

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Launcher.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = TaleWorlds.PSAI.XmlSerializers, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null, processorArchitecture=AMD64
 (Fully-specified)
LOG: Appbase = file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Launcher.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers/TaleWorlds.PSAI.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers.EXE.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers/TaleWorlds.PSAI.XmlSerializers.EXE.

System.IO.FileNotFoundException: Could not load file or assembly 'TaleWorlds.PSAI.XmlSerializers' or one of its dependencies. The system cannot find the file specified.
File name: 'TaleWorlds.PSAI.XmlSerializers'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.LoadWithPartialNameInternal(AssemblyName an, Evidence securityEvidence, StackCrawlMark& stackMark)

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Launcher.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = TaleWorlds.PSAI.XmlSerializers
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: TaleWorlds.PSAI.XmlSerializers | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Steam\steamapps\common\Mount & Blade II Bannerlord\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.Launcher.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers/TaleWorlds.PSAI.XmlSerializers.DLL.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers.EXE.
LOG: Attempting download of new URL file:///C:/Steam/steamapps/common/Mount & Blade II Bannerlord/bin/Win64_Shipping_Client/TaleWorlds.PSAI.XmlSerializers/TaleWorlds.PSAI.XmlSerializers.EXE.

System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Reflection.RuntimeModule.get_FullyQualifiedName()
System.NullReferenceException: Object reference not set to an instance of an object.
at CommunityPatch.MenuCleaner.IsThirdPartyOption(InitialStateOption item)
at CommunityPatch.MenuCleaner.CleanUpMainMenu()
at CommunityPatch.CommunityPatchSubModule.OnBeforeInitialModuleScreenSetAsRoot()
at TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen()
at DMD<DMD<OnApplicationTick_Patch1>?3200366::OnApplicationTick_Patch1>(Module this, Single dt)
at TaleWorlds.DotNet.Managed.ApplicationTick(Single dt)
at DMD<DMD<Managed_ApplicationTick_Patch1>?45943265::Managed_ApplicationTick_Patch1>(Single dt)
System.NullReferenceException: Object reference not set to an instance of an object.
at CommunityPatch.MenuCleaner.IsThirdPartyOption(InitialStateOption item)
at CommunityPatch.MenuCleaner.CleanUpMainMenu()
at CommunityPatch.CommunityPatchSubModule.OnBeforeInitialModuleScreenSetAsRoot()
at TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen()
at DMD<DMD<OnApplicationTick_Patch1>?3200366::OnApplicationTick_Patch1>(Module this, Single dt)
at TaleWorlds.DotNet.Managed.ApplicationTick(Single dt)
at DMD<DMD<Managed_ApplicationTick_Patch1>?45943265::Managed_ApplicationTick_Patch1>(Single dt)

Modules Information:

!DCC v<IP_ADDRESS>830
DCC Main (Required) (!DCC)
AltRenownGains v<IP_ADDRESS>830
Alternative Renown Gains (AltRenownGains)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
Aragas.SaveMissingModuleFix v<IP_ADDRESS>830
Save Missing Module Fix (Aragas.SaveMissingModuleFix)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. StoryMode
5. CustomBattle
ArmyArrowCounter v<IP_ADDRESS>830
Army Arrow Counter (ArmyArrowCounter)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
AutoUpgrade v<IP_ADDRESS>830
Auto Upgrade Troops (AutoUpgrade)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
ChangeSettlementCulture v<IP_ADDRESS>830
Change Settlement Culture (ChangeSettlementCulture)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
CharacterTrainer v<IP_ADDRESS>830
Character Trainer (CharacterTrainer)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
Cheer v<IP_ADDRESS>830
Cheer Mod (Cheer)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
CommunityPatch v<IP_ADDRESS>830
Community Patch (CommunityPatch)
CompanionOverhaul v<IP_ADDRESS>830
Companion Overhaul (CompanionOverhaul)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
CompanionRespecConsole v<IP_ADDRESS>830
Companion Respec (Console) (CompanionRespecConsole)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
CTRLSPACE v<IP_ADDRESS>830
CTRL+SPACE (CTRLSPACE)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
CustomBattle e<IP_ADDRESS>830 Selected
CustomBattle (CustomBattle) Official
Dependencies:
1. Native
2. SandBoxCore
DeveloperConsole v<IP_ADDRESS>830
Developer Console (DeveloperConsole)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
DiplomacyReworked v<IP_ADDRESS>830
Diplomancy Reworked (DiplomacyReworked)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
entrepreneur v<IP_ADDRESS>830
Entrepreneur (Entrepreneur)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
EquipBestItem v<IP_ADDRESS>830
EquipBestItem (EquipBestItem)
Dependencies:
1. Sandbox
ExperienceMultiplier v<IP_ADDRESS>830
Experience Multiplier (ExperienceMultiplier)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
FreePlay v<IP_ADDRESS>830
Just Let Me Play (FreePlay)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
MBFastDialogue v<IP_ADDRESS>830
MBFastDialogue (MBFastDialogue)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
MBSuperSpeed v<IP_ADDRESS>830
MBSuperSpeed (MBSuperSpeed)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
ModLib v<IP_ADDRESS>830
ModLib (ModLib)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
MoreHorses v<IP_ADDRESS>830
MoreHorses (MoreHorses)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
Native e<IP_ADDRESS>830 Selected
Native (Native) Official
NobleTroops v<IP_ADDRESS>830
NobleTroops (NobleTroops)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
RecruitAllButton v<IP_ADDRESS>830
RecruitAllButton (RecruitAllButton)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
Recruiter v<IP_ADDRESS>830
Recruiter (Recruiter)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. StoryMode
Rulership v<IP_ADDRESS>830
Rulership (Rulership)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
Sandbox e<IP_ADDRESS>830 Selected
Sandbox (SandBox) Official
Dependencies:
1. Native
2. SandBoxCore
SandBoxCore e<IP_ADDRESS>830 Selected
SandBox Core (SandBoxCore) Official
Dependencies:
1. Native
SavingOverhaul v<IP_ADDRESS>830
SavingOverhaul (SavingOverhaul)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
SettlementIcons v<IP_ADDRESS>830
Settlement Icons (SettlementIcons)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
SkillsMatter v<IP_ADDRESS>830
Skills Matter (SkillsMatter)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
SoundTheAlarm v<IP_ADDRESS>830
Sound The Alarm (SoundTheAlarm)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
StoryMode e<IP_ADDRESS>830 Selected
StoryMode (StoryMode) Official
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
TheeShallstServe v<IP_ADDRESS>830
Thee shall´st serve (TheeShallstServe)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
TournamentBetCap e<IP_ADDRESS>830
Tournament Bet Cap (TournamentBetCap)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
TournamentFairArmour v<IP_ADDRESS>830
Tournament Fair Armour (TournamentFairArmour)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
TournamentsXPanded e<IP_ADDRESS>830
Tournaments XPanded (TournamentsXPanded)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
XorberaxBanks v<IP_ADDRESS>830
Xorberax's Banks of Calradia (XorberaxBanks)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
XorberaxCutThroughEveryone v<IP_ADDRESS>830
Xorberax's Cut Through Everyone (XorberaxCutThroughEveryone)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
XorberaxTrainingField v<IP_ADDRESS>830
Xorberax's Training Field (XorberaxTrainingField)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
zCulturedStart v<IP_ADDRESS>830
zCulturedStart (zCulturedStart)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
zzBannerlordTweaks v<IP_ADDRESS>830
Bannerlord Tweaks (zzBannerlordTweaks)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
6. ModLib
zzCharacterCreation v<IP_ADDRESS>830
Detailed Character Creation (zzCharacterCreation)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
zzzBetterLords v<IP_ADDRESS>830
Better Lords (zzzBetterLords)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5. StoryMode
zzzBuyPatrols v<IP_ADDRESS>830
BuyPatrols (zzzBuyPatrols)
Dependencies:
1. Native
2. SandBoxCore
3. Sandbox
4. CustomBattle
5.  Intel Core i7-6950X with 10 cores:
1. (?) MHz (?) °C
2. (?) MHz (?) °C
3. (?) MHz (?) °C
4. (?) MHz (?) °C
5. (?) MHz (?) °C
6. (?) MHz (?) °C
7. (?) MHz (?) °C
8. (?) MHz (?) °C
9. (?) MHz (?) °C
10. (?) MHz (?) °C

Moving it to last fixes it for me. Did remove a few mods as well.

Duplicates #169

Will be fixed in an upcoming release, the bug is in Community Patch.


Update autoload.php

GitHub rabbit hole brought me here 😆
strtolower :)

Thanks. This is all work in progress :)


Simplify installation of R development dependencies

This removes the special script for installing the R dependencies needed for development and moves those to environment.yml. This is simpler to maintain and also faster because it removes the need to compile the R development dependencies.

Checklist for technical review

[x] The pull request has a descriptive title that can be used as a one line summary in the changelog
[x] The code is composed of functions of no more than 50 lines and uses meaningful names for variables and follows the style guide
[x] Documentation is available

Automated checks pass, status can be seen below the pull request:

[ ] Circle/CI tests pass. If the tests are failing, click the Details link to find out why.
[ ] Preferably Codacy code quality checks pass, however a few remaining hard to solve Codacy issues are still acceptable. If there is an error, click the link to find out why. If you suspect Codacy may be wrong, please ask by commenting.
[ ] The documentation is building successfully on readthedocs and looks well formatted, click the Details link to see it.

@jvegasbsc Any comments on this?

@jvegasbsc Any comments on this?


Use @media (hover: hover) for hover, active, and focus states

Use @media (hover: hover) for hover, active, and focus states

Why active!!!

@mhrastegari oh you're right!


CorsairLightingProtocolHID does not name a type

Describe the problem
I have a problem with the examples 'LS100' or 'Ambient backlight', the error "CorsairLightingProtocolHID does not a name a type; did you mean CorsairLightingProtocolSerial?"
If I change it to 'CorsairLightingProtocolSerial', the check goes through without errors.
Screenshots

System (please complete the following information):

OS: Windows 10x64 (2004)
Board: Adafruit Metro mini
IDE: Arduino IDE
Version: 1.8.13
Sketch: LS100 / Ambient backlight

The Adafruit Metro mini uses a ATmega328 chip, which is not supported because it has no native USB capabilities.


Console Writing should be in its own class

As of right now console writing is split between the alert system, and the interface making system. This should instead be a separate class that is called upon regardless if the threshold is reached, each time the data is accessed.

Done so