mixer: update test certificates

Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>Fixes #16184
/assign @howardjohn
/assign @PiotrSikora

Could you please extend them by more than a year? Otherwise, we're going to run into the same issue a year from now.

This code won't exist in a year or so we thought :)

@kyessenov: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
27a801410d7a38a9f8b85b89b13d16ba9d7bbb80
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

This code won't exist in a year or so we thought :)

People can still checkout the code though, and now tests will fail. Especially if we continue supporting istio 1.3 for 6 more months, I could see the test being around longer than a year

Changed it to 5 years.

@kyessenov: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

istio-unit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
On Mon, Aug 12, 2019 at 12:08 PM Istio Automation<EMAIL_ADDRESS>wrote:

@kyessenov https://github.com/kyessenov: The following tests failed,
say /retest to rerun them all:
Test name Commit Details Rerun command
integ-new-install-k8s-presubmit-tests-master a304888
https://github.com/istio/istio/commit/a304888eda93add020e1111309283bd0523034e9
link
https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/16206/integ-new-install-k8s-presubmit-tests-master/1783 /test
integ-new-install-k8s-presubmit-tests-master
istio-unit-tests-master a304888
https://github.com/istio/istio/commit/a304888eda93add020e1111309283bd0523034e9
link
https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/16206/istio-unit-tests-master/5371 /test
istio-unit-tests-master
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/16206?email_source=notifications&email_token=ACIYRRTPEPZCI3Q2QJEEDFDQEGYMDA5CNFSM4ILD52FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DQZJI#issuecomment-520555685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACIYRRXEFS22NNGXKHJWXK3QEGYMDANCNFSM4ILD52FA
.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-unit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-unit-tests-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
On Mon, Aug 12, 2019 at 12:28 PM Istio Automation<EMAIL_ADDRESS>wrote:

@kyessenov https://github.com/kyessenov: The following tests failed,
say /retest to rerun them all:
Test name Commit Details Rerun command
istio-unit-tests-master a304888
https://github.com/istio/istio/commit/a304888eda93add020e1111309283bd0523034e9
link
https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/16206/istio-unit-tests-master/5371 /test
istio-unit-tests-master
integ-new-install-k8s-presubmit-tests-master a304888
https://github.com/istio/istio/commit/a304888eda93add020e1111309283bd0523034e9
link
https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/16206/integ-new-install-k8s-presubmit-tests-master/1784 /test
integ-new-install-k8s-presubmit-tests-master
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/16206?email_source=notifications&email_token=ACIYRRQYIPAGJKL7YC6SWKLQEG2VPA5CNFSM4ILD52FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DSLLI#issuecomment-520562093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACIYRRUDIANZJRHZSAM7D7DQEG2VPANCNFSM4ILD52FA
.

@kyessenov: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

istio-pilot-multicluster-e2e-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-pilot-multicluster-e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid @JimmyCYJ @douglas-reid can you take a look?

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

istio-pilot-multicluster-e2e-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-pilot-multicluster-e2e-master

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-multicluster-e2e-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-pilot-multicluster-e2e-master

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-multicluster-e2e-master
a304888eda93add020e1111309283bd0523034e9
link
/test istio-pilot-multicluster-e2e-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@kyessenov: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-security-k8s-presubmit-tests-master

integ-new-install-k8s-presubmit-tests-master
a304888eda93add020e1111309283bd0523034e9
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #16301

In response to a cherrypick label: new pull request created: #16302

In response to a cherrypick label: new pull request created: #16303


XYZ-Format tiles support for unreal engine.;

supports to load xyz-format tiles;
such as load from https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}

Thanks for the pull request @spr1ngd! Before we can review it, please sign our Contributor License Agreement:
https://github.com/CesiumGS/cesium/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla

Hi @spr1ngd,
Unfortunately, we haven't received an update from you, so I'm closing this PR. Please feel free to reopen when you're able to coordinate about the state of this PR to merge with main.


Work type should display in title case

Formatting request: can we please use title case on the work type? It looks kind of weird / unintentional in all lower case.
Current:

Desired:

@wrenaria @Vensberg
This should be live on experts, in case you'd like to check it.


Add screen shots for how to install/ uninstall from VS

Add screenshots of the steps listed.

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

ID: 5692cfb5-52e1-b6b9-2b87-7ea0decc2882
Version Independent ID: 2da762a6-5bc4-a8d1-afae-f1a8243eee33
Content: How to install Model Builder - ML.NET
Content Source: docs/machine-learning/how-to-guides/install-model-builder.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

@rustd Do you have a set of screenshots showcasing the expected functionality?


Update feature does not update the location values.

Go to Capability tester
-Launch Map
-from left options select add remove get / add overlay / add feature / update feature
-dialogue appears go to update position listing to change the location of the feature .
-Feature doesn't change it's location

The GUI is clumsy, but it works.  You first have to click on the map and then tap the UPDATE[TAP FOR POSITION].  Then use the Locate function to see the moved feature.


'DataTime' does not exist in Hello world

Problem encountered on https://dotnet.microsoft.com/learn/web/aspnet-hello-world-tutorial/modify
Operating System: macos
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Details
On step 4 Edit your code. After entering the supplied code into Pages/Index.cshtml, I received the following error on the page after reloading the browser...
Error
An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
/Users/jgrundner/Repository/tutorials/myWebApp/Pages/Index.cshtml

The name 'DataTime' does not exist in the current context
+

The time on the server is @DataTime.Now

Command line output
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'Page: /Index'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'Page: /Index'
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException: One or more compilation failures occurred:
/Users/jgrundner/Repository/tutorials/myWebApp/Pages/Index.cshtml(8,31): error CS0103: The name 'DataTime' does not exist in the current context
   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.CompileAndEmit(RazorCodeDocument codeDocument, String generatedCode)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.CompileAndEmit(String relativePath)
   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorViewCompiler.OnCacheMiss(String normalizedPath)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageLoader.Load(PageActionDescriptor actionDescriptor)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerProvider.OnProvidersExecuting(ActionInvokerProviderContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ActionInvokerFactory.CreateInvoker(ActionContext actionContext)
   at Microsoft.AspNetCore.Mvc.Internal.MvcEndpointDataSource.<>c__DisplayClass21_0.<CreateEndpoint>b__0(HttpContext context)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 1.8922ms 500 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/favicon.ico
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/favicon.ico'. Physical path: '/Users/jgrundner/Repository/tutorials/myWebApp/wwwroot/favicon.ico'
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 0.4234ms 200 image/x-icon

Environment
.NET Core SDK (reflecting any global.json):
    Version:   2.2.105
    Commit:    7cecb35b92

Runtime Environment:
    OS Name:     Mac OS X
    OS Version:  10.13
    OS Platform: Darwin
    RID:         osx.10.13-x64
    Base Path:   /usr/local/share/dotnet/sdk/2.2.105/

Host (useful for support):
    Version: 2.2.3
    Commit:  6b8ad509b6

.NET Core SDKs installed:
    2.2.105 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
    Microsoft.AspNetCore.All 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
    Microsoft.AspNetCore.App 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
    Microsoft.NETCore.App 2.2.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Hi @jimigrunge.
I believe your code contains a typo.  The sample has this:

The time on the server is @DateTime.Now

And your error message suggests you copied this as ... @DataTime.Now....
Correcting @DataTime.Now to @DateTime.Now should resolve your issue.

AH, a Fat Finger issue. Thank you


fix(dependencies): utfgrid now specifies main file

Since danzel/Leaflet.utfgrid#36, a main file is specified. So the
override is no longer needed.

Great @simon04, merged.


DPDK:

./build/app/testpmd -l 0-1 -n 2 -- -i
EAL: Detected 2 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:02:01.0 on NUMA socket -1
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:02:05.0 on NUMA socket -1
EAL:   probe driver: 8086:100f net_e1000_em
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 00:0C:29:CE:9F:CF
Configuring Port 1 (socket 0)
Port 1: 00:0C:29:CE:9F:D9
Checking link statuses...
dpdk-stable-19.11.11 and Suricata version 4.1.4 RELEASE;
So I want to know how to solve this problem？Thank you for your replay.

thanks for your query. please find my answers below

this is not a bug or issue
based on testpmd logs, ooks liek you are running in avm with e1000 nic or running.
current PMD build and tested with are -Wl,-lrte_pmd_af_packet -Wl,-lrte_pmd_i40e -Wl,-lrte_pmd_memif -Wl,-lrte_pmd_null -Wl,-lpcap -Wl,-lrte_pmd_ring -Wl,-lrte_pmd_tap -Wl,-lrte_pmd_virtio -Wl,-lrte_bus_vmbus

Hence if you want to add support for your desired PMD please edit configure.ac and rebuilt.


Fix x86 compilation on some systems

Some systems (or system configurations) use a compiler version which does not have the x86 __rtdsc() intrinsic (and probably others) defined in immintrin.h.
On those systems, compilation for x86 arch will fail. This was reported on Debian 10, RHEL 8.x and Ubuntu 20.04.
It seems immintrin.h is mostly for x86 SIMD intrinsics, but some compilers also put __rtdsc() there.
x86intrin.h is supposed to include immintrin.h and define all the Intel processors intrinsics, so including it before immintrin.h.

Thanks!


I Hate 1111 (Problem 1526B)

Aim

Solve Problem 1526B of Codeforces

Details

This is a problem Under Number theory, I would love to solve this, Please assign me this under LGMSOC21 for C++ and JAVA

Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

@ravikr126   @Ayush7614   @Saurabh4626

you can work on it @tirth5828  and add some testcases in comment also


java.lang.StackOverflowError

Hi, I'm testing this library with a function 'toggleMenu' which displays a LinearLayout (like whatsapp does). The code is the same as in the example, but when I click it several times very fast I get a StackOverflowError, any ideas? Thank you very much

You should set a listener on the animation and should disable the button until the animation is ended.


Provide default VERSION tag option for .NETCore Versioner

This is based on @deadlydog comment in #298 - adding a new issue to make tracking easier
VSTS Extension you are using
Manifest versioning - DOTNETCore
Expected behaviour and actual behaviour
From #298...

It would make sense to add another boolean checkbox of Add Version field if missing to make it clear what the extension is doing, but I would also recommend that it be enabled by default.
I know there's also the workaround you mentioned of:
Add an empty version element to the .csproj, and then add the VERSION tag to the task's field property.
The problem I have with both the workaround and adding the new boolean field (and not having it enabled by default) is that your task won't do what people expect it to do. If I create a brand new vanilla .Net Core application, the version element is not added to the .csproj by default. So if I then used your extension and simply added it to my build process without making any changes to it, it wouldn't do anything. This would be confusing to users, and I think would result in more bug/issue reports. However, if you do add the new Add Version field if missing checkbox AND have it enabled by default, then your task would work as people would expect when used on a vanilla .Net Core application.

Any ETA on this one @rfennell ?

Probably next on the list, bugs allowing in other extensions. But I no timescale depends on how much time I have for 'free time, home projects'
Happy to consider PRs

Shipped as 1.38.2

This fix introduced a horrible regression

Looks like I screwed up a merge at the end of PR and lost the #296 changes
I have done a new release 1.39.1 that should correct the issues reported in #323 #322 #302, it is PR #325
Please reopen if I have not fixed the problem
My deepest apologies for such a stupid regression issue, all down to human error. The PR is obviously the part of the process that is not automated as part of  CI/CD pipeline


feat(products): [ECP-100] Add configurable matching name of fields exported for product catalog

[ECP-100]


Task Lists: Improve performance

Now that we have a relatively stable project its time to tune performance.

[x] Noted abrupt slowdown/termination of HTTPS requests on long run. (need to find out why). Improper handling of Proxy-Connection header may be the issue or is it because cache locks causing dead locks?
update:The issue was with TcpConnectionCache which mixed up connections; removed it. Also enabled LingerState with 0 timeout to free ports immediately after connection close to avoid port exhaustion. (due to default TCP CLOSE_WAIT timeout for 4 minutes)
[x] Need to replace List of HttpHeader with a Dictionary for faster lookup. This comes at the cost of creating an additional header Dictionary (headerkey, header List) for non-unique headers. (like cookies)
[ ] Replacing often used String.Format with a low level concatenation can be error prone if not careful, but it may provide negligible performance benefits. (So do it if we get a chance).
[ ] Reduce any castings that would unnecessarily involve moving objects between heap & stack
[ ] Reduce any data structure conversions that could be costly.

Thank you for merging my PR.
The next major problem is in CustomBinaryReader.ReadLineAsync:
while (await stream.ReadAsync(buffer, bufferDataLength, 1) > 0)

95+% of the first 4 allocations (more than 1 million, which is 81% of the total allocations) are called from this line.
Actually I spent more time on trying to fix this problem than on the PR, but I had to revert those changes because they were not so good solutions. I tried to add a buffer which keeps the data between the ReadLine calls, but the underlying stream is used outside of the CustomBinaryReader class, too, In this case the remaining data in the inner buffer is ignored/lost, which is wrong (e.g when the stream is converted to SslStream).
Another soultion would be to check the type of the stream. Because NetworkStream has a DataAvailable property, and regarding to the documentation when it is true the non async Read returns immediately.
But it does not work for SslStreams, and I think it is a "hack" to check the stream type.
Maybe the best solution would be to wrap the streams to a CustomBufferedStream, which has an inner buffer and it returns the data immediately if it is available in the buffer.
Another suggestion:
In this case:
using (var output = new MemoryStream())
{
int read;
while ((read = await decompressor.ReadAsync(buffer, 0, buffer.Length)) > 0)
{
await output.WriteAsync(buffer, 0, read);
}
                return output.ToArray();
            }

I think the 2nd await (on MemoryStream.WriteAsync) is unnecessary. It is not an IO intensive/bound operation, so it can be synchronous. But it is not a big issue.

I had previously stuck on CustomBinaryReader.ReadLineAsync , and reached the same conclusion. So one day may be we can come up with CustomBufferedStream.
For await output.WriteAsync(buffer, 0, read) I think the idea is that if the output network buffer is full, then we have to wait asynchrounously until it is free. (client reads data)

Yes, but it is a MemoryStream.
If it would be a network stream or filestream, then of course, it is needed.

Right. We can remove it then. Wow that customBufferedStream was really quick. I will look at it when I get home.


Just find 6s don't support  GPUImageVideoCamera setFrameRate:2

well   6 & 6p support rate = 2
rate = 3 works good on 6 & 6s

Not sure what I'm supposed to do about that.

I just don't know why 6s don't support rate = 2.
As in my app, i support rate = 2/5/10/15/30 for all devices; but finally find only rate = 2 crash on 6s.
device problem?

well  6 = iphone 6, 6s = iphone 6s, 6p = iphone 6plus


Another Sacred issue

Running on Windows 10
Traceback (most recent call last):
  File "src/main.py", line 19, in <module>
    ex = Experiment("pymarl")
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\site-packages\sacred\experiment.py", line 75, in __init__
    _caller_globals=caller_globals)
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\site-packages\sacred\ingredient.py", line 57, in __init__
    gather_sources_and_dependencies(_caller_globals)
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\site-packages\sacred\dependencies.py", line 487, in gather_sources_and_dependencies
    sources = gather_sources(globs, experiment_path)
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\site-packages\sacred\dependencies.py", line 440, in get_sources_from_imported_modules
    return get_sources_from_modules(iterate_imported_modules(globs), base_path)
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\site-packages\sacred\dependencies.py", line 409, in get_sources_from_modules
    filename = os.path.abspath(mod.__file__)
  File "C:\Users\Michael\AppData\Local\conda\conda\envs\nn\lib\ntpath.py", line 526, in abspath
    return _getfullpathname(path)
TypeError: _getfullpathname: path should be string, bytes or os.PathLike, not NoneType

Any idea of what might be causing this? The conda env was prepared via requirements.txt present in the repo.

@tabzraz Thanks man this took me a lot of time to debug!

@tabzraz Thank you for solving my problem


caartographer release 1.0 and ros wapper 1.0 does not compile well

Master branch fails, just checkout both 1.0, got this erro:
/usr/local/include/cartographer/io/points_processor_pipeline_builder.h:23:42: fatal error: absl/container/flat_hash_map.h: No such file or directory
 #include "absl/container/flat_hash_map.h"

/usr/local/include/cartographer/mapping/id.h:30:32: fatal error: absl/memory/memory.h: No such file or directory

It's all about this absl package.................. any fix on this issue?

I'm trying to fix the build instructions for the latest revisions, see #1531.


Dependency not met

I'm using the steps provided at FEniCS website to install it with conda package manager:
$ conda create -n fenics27 python=2.7 ipython=2.2
$ source activate fenics27
(fenics27) $ conda install fenics --channel juanlu001

By doing so, I get the following error message when trying import fenics:
 ---------------------------------------------------
 DOLFIN runtime dependency is not met.
 Install the following python module: 'ffc'
 and make sure its location is listed in PYTHONPATH.
 ---------------------------------------------------

Additionally if I try to import ffc I get this message:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ffc/__init__.py", line 21, in <module>
    from ffc.jitcompiler import jit
  File "/home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ffc/jitcompiler.py", line 30, in <module>
    import ufc
  File "/home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/__init__.py", line 7, in <module>
    from .ufc import (cell,
  File "/home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/ufc.py", line 32, in <module>
    _ufc = swig_import_helper()
  File "/home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/ufc.py", line 28, in swig_import_helper
    _mod = imp.load_module('_ufc', fp, pathname, description)
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/USER/anaconda/envs/fenics27/lib/python2.7/site-packages/ufc/_ufc.so)

The ffc library is installed and listed under the ~/anaconda/envs/fenics27/bin which is in the environment path.
Have I missed a step?

Hello @oliveirarodolfo! What Linux distro are you using? Perhaps it is too old, try following this advice:
http://fenicsproject.org/download/installation_using_conda.html#importerror-lib64-libc-so-6-version-glibc-2-14-not-found

Hi @Juanlu001,
I'm running CentOS 6.3 (no root access) and I've tried what you suggested. It worked but with one pitfall, I could not find the boost-1.55.0-1 package when installing from the fenics:1.4.0:centos channel:
Error: HTTPError: 404 Client Error: NOT FOUND: https://conda.binstar.org/juanlu001/channel/fenics:1.4.0:centos/linux-64/boost-1.55.0-1.tar.bz2

I solved this by adding the juanlu001 as well as the fenics:1.4.0:centos channel.
$ conda config --add channels juanlu001
$ conda config --add channels https://conda.binstar.org/juanlu001/channel/fenics:1.4.0:centos

And now I can install it using the fenics=1.4.0 version.
$ conda install "fenics=1.4.0"

However now I found an error with libbz2.so.1.0:
>>> import fenics
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/roliveira4/anaconda/envs/fenics27/lib/python2.7/site-packages/fenics/__init__.py", line 6, in <module>
    from dolfin import *
  File "/home/roliveira4/anaconda/envs/fenics27/lib/python2.7/site-packages/dolfin/__init__.py", line 16, in <module>
    import cpp
  File "/home/roliveira4/anaconda/envs/fenics27/lib/python2.7/site-packages/dolfin/cpp/__init__.py", line 42, in <module>
    exec("import %s" % module_name)
  File "<string>", line 1, in <module>
  File "/home/roliveira4/anaconda/envs/fenics27/lib/python2.7/site-packages/dolfin/cpp/common.py", line 32, in <module>
    _common = swig_import_helper()
  File "/home/roliveira4/anaconda/envs/fenics27/lib/python2.7/site-packages/dolfin/cpp/common.py", line 28, in swig_import_helper
    _mod = imp.load_module('_common', fp, pathname, description)
ImportError: libbz2.so.1.0: cannot open shared object file: No such file or directory

I tried the steps mentioned on the Re: [FEniCS-support] Conda package for FEniCS message but had no luck yet...
I don't think that I thanked you for the work, great job!

Thanks for the compliments! :) We are making progress. Thanks for telling me about boost, I screwed something up lately and will fix it ASAP.
It is strange that libbz2 is not found though, can you post the output of whereis libbz2? There is no conda package for it so let's see if it is just a version mismatch.

Well it turned out that whereis libbz2 wasn't returning anything soon after I got it, another lib problem came out and so on. I would probably have to put this aside for now as I do not have much time to work on it right now...
Anyhow thanks for the help @Juanlu001!

So you mean that you installed libbz2 and then more lib problems came? Anyway I will leave this open so when you have some more spare time we can fix the issue. Thanks to you!

I think I already fixed the broken channel thing. Closing this!

I'm still on the same page... As soon as I can I'll try it again and will let you know!


refactor(lexer): change TokenValue::String(Atom) to TokenValue::Value(&str)

Based on #171, we discovered that we don't need to create the Atom inside the lexer, it should be done in the parser.
The code was written this way because the borrow checker won the lifetime game a year ago, but this time I tamed it in like 5 minutes ;-)

for TokenValue(RegExp), RegExp.pattern can also be converted. I'll leave this to the next person :-)


[JDK21/22] Permanently disable tests

MethodExitTest is being permanently disabled. See
https://github.com/eclipse-openj9/openj9/issues/17490#issuecomment-1726635987 for more details on why
MethodExitTest is being permanently disabled.
MovingCompWindow and ToggleNotifyJvmtiTest were permanently disabled
in adoptium#4737. But it didn't correctly point to adoptium#1297. It
pointed to an OpenJ9 issue. This PR also corrects the link to
adoptium#1297 for MovingCompWindow and ToggleNotifyJvmtiTest.

@llxia @LongyuZhang Requesting your review.
fyi @fengxue-IS.


Feature request, custom Typeable?

It seems that even though Typeable is not compulsory, and the decorator method is also supported for closed type domains - it seems to creep into a lot of the features of syntactic, could something generalizing the Typeable interface work?
class Typed rep a where
typeRep :: proxy a -> rep a
data BindingT rep sig where
VarT :: Typed rep a =>  Name -> BindingT (Full a)
LamT :: Typed rep a =>  Name -> BindingT (b :-> Full (a -> b))
Edit: Given that there're papers written on syntactic < 2.0, it would be nice to get a good overview of what the major differences are with the latest versions.

Sorry for the delay!
I think it's a good suggestion to parameterize on the type representation. I'm no longer working at the university, so I can't spend time on this. But I'm happy to accept patches, and can also give guidance if needed.
Regarding the various versions, here is the short story:

Syntactic-1.* had a lot of experimental stuff, some of which I wasn't very happy with. I bumped the major version when the paper was published, but it should really have stayed at 0.* until things settled.
In Syntactic >= 2 I cleaned up the library and kept only the things I was happy with. I'm not aware that anyone but me used those things anyway. I also moved away from HOAS (which worked very badly together with the rest of Syntactic) and went for the circular first-order approach currently used.

As a result the current library is lacking some things that would be nice to have and that it was originally intended to have (e.g. observable sharing), but at least the things that are there work rather well I think.

Thanks a lot for the reply! I didn't actually notice you'd replied, sorry! Since I first posted that up I've become much more familiar with what's going on and appreciate some more of the subtleties.
I'm quite interested in the idea that @Icelandjack had, it seems like the most straightforward way to include closed type Universes, do you have any idea what happened to that - was it stuck on a GHC Issue?

I'm not sure. I don't think the GHC issue was a blocker, since he posted a less general workaround.

Hmm - the problem with the restricted AST type is that you lose the closed type Universe again (which I guess is the main benefit).
Btw. I have been playing with a type
data SumF :: [k -> Type] -> k -> Type where
   L :: f a -> SumF (f : fs) a
   R :: SumF fs a -> SumF (f : fs) a

https://gist.github.com/Saulzar/d863a15cd0c122a4ffa8655d9e8ce81f
which seems to let you do most of the same things as (:+:) but without overlapping types, do you know of any downside to this kind of type?

That looks like a nice approach. I think with a list it gets harder to do composing and decomposing of domains as in Composing and decomposing data types: a closed type families implementation of data types à la carte.
But compared to the original Data Types à la Carte, used in Syntactic, I cannot think of any downsides of your approach. Possibly the type errors get worse...
Where do modules like Type.Family.List come from?

Mostly from type-combinators https://hackage.haskell.org/package/type-combinators, there may be a couple of extraneous imports in that gist. Most useful is the class Elem from Data.Type.Index


NUnit 3 Test Adapter cannot find any tests anymore

Build VFT
Open test explorer

It started a couple of days ago or so.

Is this specific to F# projects? Can you reproduce the failure to find tests if you try to use the NUnit 3 test adapter to run tests from a C# project?

I saw the same thing here. I assume a bad commit (maybe nuget package changes) broke this.

I still can reproduce it - no tests in Test Explorer.

A few days ago I ran into this, iirc the problem was caused by emitting pdb debug symbols, once I changed the output type the test runner started working again.

@cloudRoutine where is this output type changed? In project settings?

I think you can either switch to debug (which uses full pdbs), or edit the targets file to also use full in release.
Afaik this is caused by an old mono.cecil version, which can't handle portable pdbs yet: https://github.com/nunit/nunit-vs-adapter/issues/145

I'm on Debug.

I cannot reproduce it on current master.

@vasily-kirichenko Thanks you for checking and closing out these old issues.


Add CloudWatchFullAccessV2 managed policy (#2913)

/run-acceptance-tests

Hey @JustinTW. Thanks for the contribution!
I can't find where AWS says that CloudWatchFullAccess will be deprecated on December 7. Can you link that?
If CloudWatchFullAccess is deprecated, we can add a deprecation message:
 provider/resources.go                              |   7 +-
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/provider/resources.go
+++ b/provider/resources.go
@@ -5644,8 +5644,11 @@ $ pulumi import aws:networkfirewall/resourcePolicy:ResourcePolicy example arn:aw
 					{Name: "CloudWatchEventsInvocationAccess", Value: "arn:aws:iam::aws:policy/service-role/CloudWatchEventsInvocationAccess"},
 					{Name: "CloudWatchEventsReadOnlyAccess", Value: "arn:aws:iam::aws:policy/CloudWatchEventsReadOnlyAccess"},
 					{Name: "CloudWatchEventsServiceRolePolicy", Value: "arn:aws:iam::aws:policy/aws-service-role/CloudWatchEventsServiceRolePolicy"},
-					// After December 7, 2023, "CloudWatchFullAccess" will no longer be supported. Use "CloudWatchFullAccessV2" instead.
-					{Name: "CloudWatchFullAccess", Value: "arn:aws:iam::aws:policy/CloudWatchFullAccess"},
+					{
+						Name:               "CloudWatchFullAccess",
+						Value:              "arn:aws:iam::aws:policy/CloudWatchFullAccess",
+						DeprecationMessage: `After December 7, 2023, "CloudWatchFullAccess" will no longer be supported. Use "CloudWatchFullAccessV2" instead.`,
+					},
 					{Name: "CloudWatchFullAccessV2", Value: "arn:aws:iam::aws:policy/CloudWatchFullAccessV2"},
 					{Name: "CloudWatchInternetMonitorServiceRolePolicy", Value: "arn:aws:iam::aws:policy/aws-service-role/CloudWatchInternetMonitorServiceRolePolicy"},
 					{Name: "CloudWatchLambdaInsightsExecutionRolePolicy", Value: "arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy"},

Hello @iwahbe,
Thanks for reviewing this PR. I also couldn't find any AWS documentation that specifies that CloudWatchFullAccess will be deprecated on December 7. The only thing I have is an email from AWS, which I've attached.
The relevant AWS documentation does mention that the policy will be deprecated, but it doesn't specify a date.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html#managed-policies-cloudwatch-CloudWatchFullAccess


fix: remove self-cancelling set_option ... in

While possibly confusing, set_option ... in section does not extend past section.

bors merge


High disk read usage

Do you want to request a feature or report a bug?
Bug
What did you do?
traefik running in kubernetes,traefik had read 50G+ data，but i don't known what it is, it's normal when restart traefik,but A few minutes later, it cause high disk read usage too
Output of traefik version: (What version of Traefik are you using?)
Version:      v1.6.0-rc6
Codename:     tetedemoine
Go version:   go1.10.1
Built:        2018-04-17_11:59:31AM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
logLevel = "INFO"
defaultEntryPoints = ["http","https"]
[entryPoints]
  [entryPoints.http]
  address = ":80"
  compress = true
  [entryPoints.https]
  address = ":443"
  compress = true
    [entryPoints.https.tls]
      [[entryPoints.https.tls.certificates]]
      CertFile = "/ssl/tls.crt"
      KeyFile = "/ssl/tls.key"
[kubernetes]
labelselector = "realm=internal"
[accessLog]
format = "json"

Could you try to do this https://github.com/containous/traefik/issues/2673#issuecomment-373022820 and send us all the data you collect?
With this, we will be able to analyze what is read.

@kachkaev As you say，I install traefik with helm chart and limit cpu and  mem, when I increase  CPU and mem limit,  IO usage same to be  normal! I will continue to observe！Thank you!


Can we get this updated for Foundry 12?

See subject.  I'm getting yellow version warnings.

I'll take a look.   I doubt there will be a problem with v12, so hopefully it won't take long to check.

Verified for v12.

Thanks!  I think the only thing that has to be done is adjust the
manifest.  Id hate for it do disappear when foundry gets around to blocking
“old” extensions
On Sun, Jul 14, 2024 at 2:08 PM GMScott @.***> wrote:

Verified for v12.
—
Reply to this email directly, view it on GitHub
https://github.com/lifer4700/13th-age-combat-loops/issues/1#issuecomment-2227431566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3F73Y6WX6LXJ7K2753PFTZMK5AFAVCNFSM6AAAAABK2NM5VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQZTCNJWGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I figured that out after I released 1.0.3
In 1.0.4 I actually changed the compatibility attribute in the module.json file.

Thanks you’re the best!
On Sun, Jul 14, 2024 at 2:42 PM GMScott @.***> wrote:

I figured that out after I released 1.0.3
In 1.0.4 I actually changed the compatibility attribute in the module.json
file.
—
Reply to this email directly, view it on GitHub
https://github.com/lifer4700/13th-age-combat-loops/issues/1#issuecomment-2227447654,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3F736PTMKLJSOSOH3C6DTZMLBA5AVCNFSM6AAAAABK2NM5VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQ2DONRVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


InvalidArgumentException Could not get class storage for eloquent

Describe the bug
InvalidArgumentException Could not get class storage for eloquent
Emitted in /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Provider/ClassLikeStorageProvider.php:45
Stack trace in the forked worker:
#0 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/ClassAnalyzer.php(783): Psalm\Internal\Provider\ClassLikeStorageProvider->get()
#1 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/ClassAnalyzer.php(416): Psalm\Internal\Analyzer\ClassAnalyzer::addContextProperties()
#2 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/FileAnalyzer.php(203): Psalm\Internal\Analyzer\ClassAnalyzer->analyze()
#3 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Codebase/Analyzer.php(1581): Psalm\Internal\Analyzer\FileAnalyzer->analyze()
#4 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Fork/Pool.php(209): Psalm\Internal\Codebase\Analyzer->analysisWorker()
#5 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Codebase/Analyzer.php(373): Psalm\Internal\Fork\Pool->__construct()
#6 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Codebase/Analyzer.php(272): Psalm\Internal\Codebase\Analyzer->doAnalysis()
#7 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Analyzer/ProjectAnalyzer.php(651): Psalm\Internal\Codebase\Analyzer->analyzeFiles()
#8 /var/www/vendor/vimeo/psalm/src/Psalm/Internal/Cli/Psalm.php(380): Psalm\Internal\Analyzer\ProjectAnalyzer->check()
#9 /var/www/vendor/vimeo/psalm/psalm(9): Psalm\Internal\Cli\Psalm::run()
#10 /var/www/vendor/bin/psalm(120): include('...')
#11 {main}

  at vendor/vimeo/psalm/src/Psalm/Internal/Fork/Pool.php:397
    393▕                                  * @psalm-suppress MixedArgument
    394▕                                  */
    395▕                                 posix_kill($child_pid, SIGTERM);
    396▕                             }
  ➜ 397▕                             throw new Exception($message->message);
    398▕                         } else {
    399▕                             error_log('Child should return ForkMessage - response type=' . gettype($message));
    400▕                             $this->did_have_error = true;
    401▕                         }

Impacted Versions
php -v

PHP 8.1.14 (cli) (built: Jan 13 2023 10:43:50) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.14, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.14, Copyright (c), by Zend Technologies

./vendor/bin/psalm -v

Psalm 5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863

composer show | grep -E 'psalm|laravel'

barryvdh/laravel-debugbar                      v3.7.0             PHP Debugbar integration for Laravel
barryvdh/laravel-ide-helper                    v2.12.3            Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
eusonlito/laravel-meta                         v3.2.3             A package to manage Header Meta Tags
eusonlito/laravel-packer                       v2.2.6             A package for pack css and javascript files
laravel/framework                              v9.48.0            The Laravel Framework.
laravel/helpers                                v1.6.0             Provides backwards compatibility for helpers in the latest Laravel release.
laravel/pint                                   v1.4.0             An opinionated code formatter for PHP.
laravel/serializable-closure                   v1.2.2             Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
psalm/plugin-laravel                           v2.2.0             A Laravel plugin for Psalm
sentry/sentry-laravel                          3.1.3              Laravel SDK for Sentry (https://sentry.io)
spatie/laravel-ignition                        1.6.4              A beautiful error page for Laravel applications.
spatie/laravel-ray                             1.32.0             Easily debug Laravel apps
vimeo/psalm                                    5.4.0              A static analysis tool for finding errors in PHP applications

Additional context
Error is not always in same file with --debug-by-line parameter.
Steps

Clone https://github.com/eusonlito/GPS-Tracker.git
Install composer packages composer install
Launch ./vendor/bin/psalm

@eusonlito
Thanks for reporting!
Do you have ide-helper files locally when you run psalm?

@eusonlito
From what I found, the issue caused by vendor/psalm/plugin-laravel/cache/models.stubphp file (available after running psalm). Previously this file was empty, but we fixed it in https://github.com/psalm/psalm-plugin-laravel/releases/tag/v2.1.1, so the latest working version for you will be 2.1.0, but it has an issue of not detecting Model's properties (this is what we have fixed in 2.1.1).
This is all what I know ATM. I'm working on this issue

I was able to get psalm to run on your project when manually adding this line to your config/app.php file
'aliases' => [
        ...
        'Eloquent' => Illuminate\Database\Eloquent\Model::class,
    ],

We should fix this internally, however we have a few options:

Always add the Eloquent alias at runtime in psalm plugin
Make a change upstream in ide-helper to reference the actual Illuminate\Database\Eloquent\Model::class rather than using the Eloquent alias
one day... remove our reliance on ide-helper entirely

Maybe the first option would be the easiest to implement at this moment. It would solve this problem with minimal changes. Then you could ask the IDE for the necessary changes to correctly resolve the class :)

yep! Are you up for a PR @eusonlito ?
I think off the top of my head, you may be able to adjust the app aliases at runtime here? https://github.com/psalm/psalm-plugin-laravel/blob/master/src/Providers/ApplicationProvider.php#L112-L121

@mr-feek it's fine? https://github.com/psalm/psalm-plugin-laravel/pull/273/files


fix build on DragonFly: IP_RECVTOS and join_leave_ssm_v4() disabled

Well, it makes build and tests clean. Not sure if I'm doing it right though.
Also IP_RECVTOS support issue do prevent socket2 v0.4.6 building.

Actual problem with ssm:
thread 'join_leave_ssm_v4' panicked at 'Joined SSM: Os { code: 42, kind: Uncategorized, message: "Protocol not available" }', tests/socket.rs:1246:53

Can you also enable the the test:
https://github.com/rust-lang/socket2/blob/712768344f94ff2a8cc67b7e64e91e0ebdf94237/tests/socket.rs#L1252
.

I'm bit sure I got this right, if I enable this test while SSM functions are disabled I'll get this:
   Compiling socket2 v0.4.6 (/home/arcade/work/socket2.other)
error[E0599]: no method named `join_ssm_v4` found for struct `Socket` in the current scope
    --> tests/socket.rs:1246:21
     |
1246 |     let () = socket.join_ssm_v4(&s, &g, &interface).expect("Joined SSM");
     |                     ^^^^^^^^^^^ method not found in `Socket`

error[E0599]: no method named `leave_ssm_v4` found for struct `Socket` in the current scope
    --> tests/socket.rs:1247:21
     |
1247 |     let () = socket.leave_ssm_v4(&s, &g, &interface).expect("Left SSM");
     |                     ^^^^^^^^^^^^ method not found in `Socket`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `socket2` due to 2 previous errors

Though I'm testing on 0.4.6, can't build trunk as of right now.

@kworr sorry in my haste I read the cfg wrong, it has a not around I didn't read.  Thanks for the changes.
If you want I can backport this into v0.4.x.

Yes, please, if this can be backported to 0.4.x that would be nice.


Added missing handling of card refunds for portfolio performance csv export

Currently, refunds on Visa credit card transactions are not included in the Portfolio Performance CSV.
[   {     "id": "bc663404-36f7-5027-b0a6-ca9f856b7acb",     "timestamp": "2024-06-28T06:36:08.258+0000",     "title": "Amazon",     "icon": "logos/merchant-9c4e270f-84f4-4c45-9bfe-026d66d148b1/v2",     "badge": null,     "subtitle": null,     "amount": {       "currency": "EUR",       "value": 9.99,       "fractionDigits": 2     },     "subAmount": null,     "status": "EXECUTED",     "action": {       "type": "timelineDetail",       "payload": "bc663404-36f7-5027-b0a6-ca9f856b7acb"     },     "eventType": "card_refund",     "source": "timelineTransaction",     "details": {       "id": "bc663404-36f7-5027-b0a6-ca9f856b7acb",       "sections": [         {           "title": "Du hast 9,99 € erhalten",           "data": {             "icon": "logos/merchant-9c4e270f-84f4-4c45-9bfe-026d66d148b1/v2",             "subtitleText": null,             "timestamp": "2024-06-28T06:36:08.258+0000",             "status": "executed"           },           "action": null,           "type": "header"         },         {           "title": "Übersicht",           "data": [             {               "title": "Status",               "detail": {                 "text": "Fertig",                 "functionalStyle": "EXECUTED",                 "type": "status"               },               "style": "plain"             },             {               "title": "Zahlungsart",               "detail": {                 "text": "Rückerstattung",                 "trend": null,                 "action": null,                 "type": "text"               },               "style": "plain"             },             {               "title": "Händler",               "detail": {                 "text": "Amazon",                 "trend": null,                 "action": null,                 "type": "text"               },               "style": "plain"             }           ],           "action": null,           "type": "table"         }       ]     }   } ]
This pull request implements the handling for these timeline entries.

Looks good

Just checked and the following event types are currently not handled either:
11:15:24 unhandled event typte TRADE_INVOICE
11:15:24 unhandled event typte benefits_saveback_execution
11:15:24 unhandled event typte ssp_corporate_action_invoice_cash
11:15:24 unhandled event typte ORDER_EXECUTED
11:15:24 unhandled event typte CREDIT
11:15:24 unhandled event typte SAVINGS_PLAN_EXECUTED
11:15:24 unhandled event typte card_failed_transaction
In case any of these are relevant for Portfolio Permonace, it would be great to add them.


Luigi Slackbot

um, @daveFNbuck mentioned a Luigi slack bot?
Huge :+1: if you can share it!

@jfeala he put it up here: https://github.com/houzz/hubot-luigi :)

awesome, thanks!
On Thu, Sep 10, 2015 at 9:56 AM, Arash Rouhani<EMAIL_ADDRESS>wrote:

@jfeala https://github.com/jfeala he put it up here:
https://github.com/houzz/hubot-luigi :)
—
Reply to this email directly or view it on GitHub
https://github.com/spotify/luigi/issues/1203#issuecomment-139241867.

--
Jacob Feala, PhD
Scientific Investigator II, Bioinformatics
H3 Biomedicine
300 Technology Square
Cambridge, MA 02139
(mobile)<PHONE_NUMBER>
<EMAIL_ADDRESS>--
[This e-mail message may contain privileged, confidential and/or
proprietary information of H3 Biomedicine. If you believe that it has been
sent to you in error, please contact the sender immediately and delete the
message including any attachments, without copying, using, or distributing
any of the information contained therein. This e-mail message should not be
interpreted to include a digital or electronic signature that can be used
to authenticate an agreement, contract or other legal document, nor to
reflect an intention to be bound to any legally-binding agreement or
contract.]

Is there a way to link the slack bot to this repo so it'll be easier for luigi users to find?

@daveFNbuck You can just open a PR and point to it in the README somehow. :)


How can I  use it with storyboard references ?

The same way you would use a normal UITabBarViewController, but just make a subclass and use it in your storyboard?


Workflow interface not accessible - two HTML5 backends error?

This was suggested by the page that now can't run the workflow, telling me:
Error: Cannot have two HTML5 backends at the same time.
Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: github
Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

CMS configuration
site_url: https://howto.acdh.oeaw.ac.at
logo_url: /assets/images/logo-with-text.svg
load_config_file: false
local_backend: false
backend:
  name: github
  repo: acdh-oeaw/howto
  branch: main
  base_url: https://howto.acdh.oeaw.ac.at
  auth_endpoint: api/auth/github
  auth_scope: public_repo
  squash_merges: true
  commit_messages:
    create: 'content(cms): create {{collection}} "{{slug}}"'
    update: 'content(cms): update {{collection}} "{{slug}}"'
    delete: 'content(cms): delete {{collection}} "{{slug}}"'
    uploadMedia: 'content(cms): upload "{{path}}"'
    deleteMedia: 'content(cms): delete "{{path}}"'
    openAuthoring: "{{message}}"
publish_mode: editorial_workflow
show_preview_links: false
media_folder: public/assets/cms/images
public_folder: /assets/cms/images
editor:
  preview: false
collections:
  - name: posts
    label: Posts
    label_singular: Post
    description: ""
    folder: content/posts
    path: "{{slug}}/index"
    format: frontmatter
    extension: mdx
    create: true
    delete: false
    slug: "{{slug}}"
    media_folder: images
    public_folder: images
    preview_path: resource/posts/{{dirname}}
    editor:
      preview: true
    sortable_fields:
      - commit_date
      - date
      - title
      - commit_author
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
    fields:
      - name: title
        label: Title
        hint: ""
      - name: shortTitle
        label: Short title
        hint: ""
        required: false
      - name: lang
        label: Language
        hint: ""
        widget: select
        options:
          - label: English
            value: en
          - label: Deutsch
            value: de
        default: en
      - name: date
        label: Publication date
        hint: ""
        widget: datetime
        date_format: DD/MM/YYYY
        time_format: false
        picker_utc: true
        default: ""
      - name: version
        label: Version
        hint: ""
        default: 1.0.0
      - name: authors
        label: Authors
        hint: ""
        widget: relation
        collection: people
        multiple: true
        value_field: "{{slug}}"
        search_fields:
          - firstName
          - lastName
        display_fields:
          - "{{firstName}} {{lastName}}"
      - name: editors
        label: Editors
        hint: ""
        required: false
        widget: relation
        collection: people
        multiple: true
        value_field: "{{slug}}"
        search_fields:
          - firstName
          - lastName
        display_fields:
          - "{{firstName}} {{lastName}}"
      - name: contributors
        label: Contributors
        hint: ""
        required: false
        widget: relation
        collection: people
        multiple: true
        value_field: "{{slug}}"
        search_fields:
          - firstName
          - lastName
        display_fields:
          - "{{firstName}} {{lastName}}"
      - name: tags
        label: Tags
        hint: ""
        widget: relation
        collection: tags
        multiple: true
        value_field: "{{slug}}"
        search_fields:
          - name
        display_fields:
          - name
      - name: featuredImage
        label: Featured image
        hint: ""
        required: false
        widget: image
      - name: abstract
        label: Abstract
        hint: ""
        widget: text
      - name: body
        label: Content
        hint: ""
        widget: markdown
        editor_components:
          - image
          - code-block
          - Download
          - Video
          - SideNote
          - Figure

...

Hm, seems to work again. Still, any thoughts?


Fix all parameter name mismatch between header and source files.

Fixing warnings from clang-tidy related to [readability-inconsistent-declaration-parameter-name]
The goal here is consistency. I always deferred to the parameter names in the header file rather than what's in source.
If a parameter name is incorrect in either place, please let me know.

Thanks for the feedback. My intent with this PR was mainly to synchronize the header/source files and not change parameter names. Though I agree with most of the suggestions, I think we should fix them all up and come with with parameter naming patterns/guidelines together and then apply them across the board.


10/25/2018 18:00 : Create Pull Request for branch master -> prTesting1_2018102517

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

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


Add 2022-05-13 agenda and minutes

As I've mentioned numerous times, I'll propose the agenda. As Chair. If that's alright with you?
This agenda includes topics that were neither in the initial agenda or agreed. As mentioned, if there are new topics, we can consider them when the timing is right. After covering topics that are far more important right now.

I don't agree.


Typo in README screenshot

The screenshot in the README.txt reads "This type of modal can be used to ask the user a questions"
We need a screenshot without the a.

https://github.com/electerious/basicModal/commit/c4032205cb3286a86f36d922bdb9f3d63fa676ff


slider in cell not updating

Congrats on a release! I'm using the binder at https://mybinder.org/v2/gh/QuantStack/ipysheet/stable?filepath=examples.
I notice that when I run the first two cells of widget_cell notebook, a couple of things happen:
(a) the widget in the ipysheet cell resizes as I change it's value.
(b) When I move the slider in the first notebook cell (outside of ipysheet), the slider in ipysheet doesn't update, but the value in ipysheet does update.

Thanks for the report Jason :) The resize is due to the other cell value at C4. Concerning the synchronization update, I was sure this one was fixed... I'll try and fix it on Monday

This does not make sense to me... I added a test for it on Friday, the CI should not pass on master.


Add a note about ManifestStaticFilesStorage and CKEditor

Refs #347, #192, #348, #346, #326.

Here's a different attempt which automatically sets the BASEPATH:
https://github.com/django-ckeditor/django-ckeditor/compare/master...matthiask:autobasepath
(Ping #374)

Since you merged #377 this is obsolete. Thanks!


Scroll

Is There A Way I Can Change So If I Add More Then 7 Characters I Can Scroll Cuz Right Now That's Not Possible

@marcostom32  Would That Be Something You Could Help With?


#KARAF-5632: Reuse in HeapDumpProvider now the copy function of LogDu…

Fixed the copy of the dumpfile in the HeapDumpProvider

retest this please

retest this please

This PR should have been based on master instead of karaf-3.0.x. I'm  testing the branch locally. I think same fix can be applied on other branches no ?

in karaf-4.0.x, karaf-4.1.x and master the HeadDumbProvider is correctly implemented.

@rhierlmeier thanks for the update. Let me test the PR locally before merging and cutting 3.0.9.

By the way, this PR will never build as the Jenkins  PR uses JDK 8 whereas karaf 3.0.x is supposed to be built with 1.7, that's why I'm testing locally.

It has been merged.


Retreat to charger in between tasks if the next task will bring the robot below the safety threshold

Reported in https://github.com/open-rmf/rmf/discussions/566 there are situations where a robot's battery can be brought dangerously low if it is given a long series of small tasks.
The task planner will only insert charging tasks if it estimates that the robot will become unable to make it back to the charger without the charging. However the real battery usage may be greater than the task planner estimates, so the robot's battery may become critical if the robot keeps performing tasks.
Each time before beginning a new task we should estimate if doing the next task would bring the battery level below the threshold and redirect the robot to the charger if it would. We could also consider doing a replan of all tasks since the charging would disrupt the schedule, but this should probably be opt-in behavior.

Hi @mxgrey, here's an update regarding the issue: I have only one robot in one of the fleets, and I wrote an automated script to continuously check for running and queued tasks. The script ensures that there is always at least one running task and one queued task. In this scenario, the TaskPlanner will never create a charging task, and the robot will continue performing tasks until the battery is completely drained.

If you're able to share that script with us, it would be super helpful for us to validate any fix that we come up with.
Due to a combination of end-of-year administrative housekeeping and folks going on holiday, we might not be able to produce a fix until mid-January, but any community contributions that help with the testing and validation will speed up our ability to fix the problem.

Not sure if this is the right location, but maybe we can add in a condition check here?
https://github.com/open-rmf/rmf_ros2/blob/bee9778579dc1fc7a70686f5c3a0b259c142ff4b/rmf_fleet_adapter/src/rmf_fleet_adapter/TaskManager.cpp#L1459-L1470
The TaskManager can check if the SoC has dropped below the threshold and queue a charging task.

A naive and straightforward way to fix this is to just add in a battery check check prior to running each next task. But there are two concerns I have:

How much should the inserted task charge the battery? To full? High enough to perform the remaining tasks until the next scheduled charge? To a user-specified threshold?
What do we do with the previously planned charging tasks? It would be silly to charge the battery to full, perform one minor task, and then charge the battery to full again just because that second charging task is what the planner originally specified. We should probably replan the charging sequence for the individual robot, probably by generating a task plan that only includes the one robot and its currently assigned tasks.

Do you think it is right to take references from existing fleet management systems?
For example, Mir Fleet has a few settings that dictate such conditions (reference to doc)

We can add these to the fleet configuration file and pass it downstream to the task manager.
Following this will solve some of our problems, like how long should the robot be charging for, and how much charge the robot needs before leaving the charger.
But that also brings us to a potential situation of a robot being held at the charger station with a queue task and another idle robot with sufficient charge to finish the mission.

@mxgrey here the script
import requests
import time
import json
from datetime import datetime

# Constants for API Endpoints
TASK_URL = "http://<IP_ADDRESS>:8000/tasks/dispatch_task"
STATUS_URL = "http://<IP_ADDRESS>:8000/tasks"
FLEET_STATE_URL = "http://<IP_ADDRESS>:8000/fleets/Robot500xw/state"

status_params = {
    'assigned_to': 'nano500xw01',
    'status': 'underway,queued'
}

# Define the robot and fleet we are focusing on
TARGET_ROBOT = "nano500xw01"
TARGET_FLEET = "Robot500xw"

def generate_task_payload():
    current_time = int(time.time() * 1000)  # Current time in milliseconds
    payload = {
        "type": "dispatch_task_request",
        "request": {
            "unix_millis_earliest_start_time": current_time,
            "unix_millis_request_time": current_time,
            "priority": {
                "type": "binary",
                "value": 0
            },
            "category": "compose",
            "description": {
                "category": "transfer_material",
                "phases": [
                    {
                        "activity": {
                            "category": "sequence",
                            "description": {
                                "activities": [
                                    {
                                        "category": "go_to_place",
                                        "description": "pgv_dock5"
                                    }
                                    {
                                        "category": "go_to_place",
                                        "description": "pgv_dock7"
                                    }
                                ]
                            }
                        }
                    }
                ]
            },
            "labels": [""],
            "requester": "rmf_demos_tasks",
            "fleet_name": TARGET_FLEET
        }
    }
    return payload

def send_task():
    task_payload = generate_task_payload()
    # Log the payload before sending
    print(f"Sending task payload: {json.dumps(task_payload, indent=2)}")

    response = requests.post(TASK_URL, json=task_payload)
    if response.status_code == 200:
        print("Task submitted successfully")
    else:
        print(f"Failed to submit task: {response.status_code} - {response.text}")

def get_tasks_status():
    response = requests.get(STATUS_URL, params=status_params, headers={'accept': 'application/json'})

    if response.status_code == 200:
        tasks = response.json()
        return tasks
    else:
        print(f"Failed to retrieve tasks: {response.status_code} - {response.text}")
        return []

def manage_tasks():
    while True:

        tasks = get_tasks_status()
        running_tasks = [task for task in tasks if task.get('status') == 'underway']
        queued_tasks = [task for task in tasks if task.get('status') == 'queued']

        print(f"Running tasks for {TARGET_ROBOT}: {len(running_tasks)}, Queued tasks: {len(queued_tasks)}")

        # Ensure only 1 task is running
        if len(running_tasks) == 0:
            if len(queued_tasks) < 2:
                send_task()
                print("No running task, adding a new task to queue (up to 2 queued).")
        elif len(running_tasks) == 1 and len(queued_tasks) == 0:
            # Add a task to ensure there's always 1 running and 1 queued
            send_task()
            print("Adding a task to ensure 1 running and 1 queued task.")

        # Sleep for 5 seconds before the next status check
        time.sleep(5)

if __name__ == "__main__":
    manage_tasks()


Opening some folder that contains over 300 charts crash

There's log in event viewer (Crash reporter no longer appears during crash)
Faulting application name: LunaticVibesF.exe, version: <IP_ADDRESS>, time stamp: 0x66112804
Faulting module name: LunaticVibesF.exe, version: <IP_ADDRESS>, time stamp: 0x66112804
Exception code: 0xc0000005
Fault offset: 0x00000000003523dd
Faulting process id: 0x1404
Faulting application start time: 0x01da883da7df3a32
Faulting application path: C:\Users\Administrator\Downloads\LR2 - HD (720p)\LR2 - HD (720p)\LR2beta3\LunaticVibesF.exe
Faulting module path: C:\Users\Administrator\Downloads\LR2 - HD (720p)\LR2 - HD (720p)\LR2beta3\LunaticVibesF.exe
Report Id: 35fb946d-84d5-4353-b5d8-b0408ed96a59
Faulting package full name:
Faulting package-relative application ID:

There is a high chance this is the same as #10, which I just pushed a fix for. Can you try v0.12.3, please? https://github.com/chown2/lunaticvibesf/releases/tag/v0.12.3

Freezing (Not responding) during startup


Create Minimum-Operations-to-Collect-Elements.java

Problem added
Minimum Operations to Collect Elements
Pull Request Template
Description
https://leetcode.com/problems/minimum-operations-to-collect-elements/description/
Put check marks:
Have you made changes in README file ?

[✔ ] Added problem & solution under the correct topic.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Make sure all below guidelines are followed else PR will get Reject:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code so that it is easy to understand
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

hello anyone here to merge


Attempt to fix broken OSS iOS framework build

Summary: Publishing this to github to see OSS CI results.
Differential Revision: D19352181

aaand the bot exported my entire working stack of diffs instead of a single revision. Closing and trying again.


Does something really weird in 2021.2

Hey, yeah this hasn't been updated in a while and the reorderable arrays release was pretty messed up imo.
But good news is you can just uncomment the class attribute in the property drawer to disable it, or remove it and let Unity draw the data structure in the inspector.
I'll try to allocate some time to update this repo soon now that I think things have stabilized.

Hey sorry for taking so long to get back to you.
I just made a new release with improvements to the property drawer and verified it now works in both 2021.1 and 2021.2.
https://github.com/upscalebaby/generic-serializable-dictionary/releases/tag/1.0.1
Thanks for your support in helping improve this project!


getQueryParams() method in yii.js fails on URL with question mark and no query parameters

What steps will reproduce the problem?

Make GridView with filter in column
Enter some text, press Enter

What is the expected result?
Filter must work without JS errors
What do you get instead?
Filter not work.
In Console i see error "Uncaught TypeError: Cannot read property 'replace' of undefined"

This error appeared after this commit https://github.com/yiisoft/yii2/commit/17df7577a53ee2ac35d8e53ed87aaf03ce9309ac#diff-f433792b516845f488519deb1a72741aR293
Additional info

Q
A

Yii version
2.0.?

PHP version

Operating system

JS context in error line

You should elaborate that for reproducing this issue with GridView initial URL must be like /admin/capsules/index? (that is with question mark only and no query parameters). And the core problem is ingetQueryParams() in yii.js (which can be used separately). So I changed the title to better reflect problem for future reference.


Linux package error references mac files?

Packaging app for platform linux x64 using electron v0.28.0
[ { [Error: ENOENT, stat '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Libraries/Libraries']
    errno: -2,
    code: 'ENOENT',
    path: '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Libraries/Libraries' },
  { [Error: ENOENT, stat '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/Libraries']
    errno: -2,
    code: 'ENOENT',
    path: '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/Libraries' },
  { [Error: ENOENT, stat '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Libraries/Libraries']
    errno: -2,
    code: 'ENOENT',
    path: '/Users/krainboltgreene/Code/krainboltgreene/lowbrow/releases/macos/x64/Lowbrow.app/Contents/Frameworks/Electron Framework.framework/Versions/Current/Libraries/Libraries' } ] undefined

It sounds like you need to ignore the output directories for previously generated packages. For example, add --ignore=releases.

Yep, this absolutely solved my problem. Any chance we can get some of these config pieces read from packager.json?

Is #37 what you're looking for?
Regarding your original problem, I think the hard thing about adding the output directory to the ignore filter is when people decide to create packages in the current directory instead of a subdirectory.

Yes, #37 is basically what I'm talking about.

I've created a new bug for your original problem.


After Update to Core 2024.1.0

WARNING (MainThread) [homeassistant.components.device_tracker] SOURCE_TYPE_GPS was used from seatconnect, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please create a bug report at https://github.com/farfar/homeassistant-seatconnect/issues

This code is no longer being maintained by me and requires contributors in order to fix issues.


Add option to disable service button actions

Description
Add option to disable delete/terminate actions in service tab.
Use case
Don't give users the ability to delete an existing service.
Interface Changes
Sunstone and its configuration files.
Additional Context

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Updating user view and restarting sunstone works.
Closing until more feedback is provided.


add support for python?

Would it be easy to implement something like this?:
# Python
my_var = "world"
print("hello {my_var}")
# should turn into
print(f"hello {my_var}")

thanks

It could be a good feature. I'll take a look

Well, this should work now 🙂


better Patch object support

In my initial sketch of update_ actions that takes a Patch object, I'm just handing in the towel and asking for a u8 array.
It would be better to have just something that implements Serialize.
Unfortunately, it's not merely json:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md
even if json is the most common form of a patch.
(and even if we were to only support that, you can't put Serialize as a trait object without some difficulty)

First patch attempt: https://github.com/clux/kube-rs/commit/570da98d21530845b0e64c6c287d6d9514eb897a

Patch works in crp_api example now: https://github.com/clux/kube-rs/commit/7efbcd3d464e89f2a8379b4d1f067372422ac3ee
Have limited patch requests to --type=merge equivalent (application/merge-patch+json). Strategic is not supported for CRDs (which is what i'm testing).
Currently running into one issue. kubectl patches fine:
spec:
  name: patched baz!

kubectl apply -f examples/crd-baz.yaml
kubectl patch foos baz --patch "$(cat patch.json)" -v=9 --type=merge

and you can clearly see in the response you should get back a complete object.
However, when calling .patch(), kube is not merging, but PUT'ing it seems. curl tests confirms that headers are right, I think. It's a bit annoying. Have exposed a lot more debug for now, but some more tests needed.


python310Packages.pycoin: 0.91.20210515 -> 0.92.20220213

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pycoin is: "Utilities for Bitcoin and altcoin addresses and transaction manipulation"
meta.homepage for python310Packages.pycoin is: "https://github.com/richardkiss/pycoin"
meta.changelog for python310Packages.pycoin is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.coinc-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/keychain had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/b58 had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/ku had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/tx had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.ku-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/coinc had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.tx-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.msg-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.keychain-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.b58-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/.block-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/block had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin/msg had a zero exit code or showed the expected version
0 of 14 passed binary check by having a zero exit code.
0 of 14 passed binary check by having the new version present in output.
found 0.92.20220213 with grep in /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213
found 0.92.20220213 in filename of file in /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
pycoin
python310Packages.pycoin
python39Packages.pycoin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pycoin https://github.com/r-ryantm/nixpkgs/archive/226558f38bf1523477abe6c9f9bc28255567e4f8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213
ls -la /nix/store/vqbllvxk49rlc2jwngj4ahzvvnpshm7l-python3.10-pycoin-0.92.20220213/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

pycoin (python39Packages.pycoin)
python310Packages.pycoin

Maintainer pings
cc @nyanloutre for testing.

addressed by https://github.com/NixOS/nixpkgs/pull/160079


Add test points back in

Such a pain not having them.

This should be done using tag-connect pins, and add debug pins too

Done


(CSS) custom property --_margin-top: 1rem, top gets wrongly highlighted

Describe the issue
In CSS,  custom property such as --_margin-top: 1rem, top gets wrongly highlighted
It seems to be caused by some kind of interaction between the underscore and hyphen.
Which language seems to have the issue?
CSS, I'm using language="css" and NOT using auto-detect.
Sample Code to Reproduce
.example {
    --_margin-top: 1rem;
}

Expected behavior
--_margin-top should be treated as an atomic unit of text for highlighting purposes.

- is a word boundary, so the rule matches:
      {
        className: 'attribute',
        begin: '\\b(' + css.ATTRIBUTES.join('|') + ')\\b'
      },

One fix here might be to use a multi-matcher. (example: https://highlightjs.readthedocs.io/en/latest/mode-reference.html#beginscope). You'd first match \s (with no scope) and then match the attribute... that's the closest we can currently get to a negative look-behind, which we don't support yet because Safari is still slow to that party.
A PR would be welcome here if you hav time.

I am Workin on it

- is a word boundary (\b), so the rule matches:
      {
        scope: 'attribute',
        match: '\\b(' + css.ATTRIBUTES.join('|') + ')\\b'
      },

One fix here might be to use a multi-matcher. (example: https://highlightjs.readthedocs.io/en/latest/mode-reference.html#beginscope). You'd first match \s (with no scope) and then match the attribute... that's the closest we can currently get to a look-behind, which we don't support yet because Safari is still slow to that party.
Once we could use lookbehind you'd just do a lookbehind for "not space" instead of \b...
A PR would be welcome here if you hav time.

I am working in it

I am working on it

There is a bug in src/languages/lib/css-shared.js file. adding an underscore( _ ) fixes the problem.

Hi @joshgoebel I would like to solve this issue please assign this to me

We don't usually do assignments, but I don't think anyone is rushing to complete this before you do.  Happy to see a PR if you contribute one.

I think this should be closed as it was solved in https://github.com/highlightjs/highlight.js/pull/3863

Looks like it's fixed in the official site's demo.


Mention on new line breaks

I was just trying out the demo, and I noticed that if you do a mention towards the end of the textarea box, it breaks up like so:

I'm trying to find ways to make the div match the text below it appropriately, but I keep getting misses.  Any thoughts on how we can remedy this?

Hmmm... honestly didn't even think about it. Easiest answer? Don't break mentions. Just use   or no-wrap around the test?

I'm seeing mixed results depending on spacing:

I think i got kind of close.
It has something to do with the mix of box-sizing, border, and overflow.  I put box-sizing: border-box on both the textbox and underlay, changed the span to use box-shadow instead of border (because it adds width to it), and overflow: hidden on the textbox.

If the span has border-box then the border shouldn't increase the size either

Nvm yeah your solution definitely fixes a few problems with the span's bounding box being bigger than the text it's supposed to be highlighting.

@handonam want to submit a small PR with the fix to the example?

I'm also curious if you find this project to be useful at all since it's sort of hobbled together pretty crappily

https://github.com/angular-ui/ui-mention/pull/19 for ya @ProLoser!
It took me a long while to figure out where to start.  I can possibly come up with a better README.md for you to fill in the knowledge gaps in the future.

Should we close this and/or add instructions or an example to the readme or like add an FAQ?

Actually, forgot to update the readme.

Should we just reference the CSS file itself instead of duplicating it in the Readme.MD?  We can also add CSS comments to explain what's going on (such as the confusion on the transparent border on my PR).

Yup that sounds like a good idea
On Mon, Mar 7, 2016, 12:04 PM Handonam<EMAIL_ADDRESS>wrote:

Should we just reference the CSS file itself instead of duplicating it in
the Readme.MD? We can also add CSS comments to explain what's going on
(such as the confusion on the transparent border on my PR).
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-mention/issues/18#issuecomment-193426215
.

Not too sure if this has been fixed, but I ran into this issue recently. To see how I got around it - https://jacobmarshallpp.github.io/ui-mention/example - for me, it was related to the scrollbar showing on the textarea, but not the highlight element, behind.


Remove profanity and slurs

:+1:  That's a fun one!  :laughing:  :stuck_out_tongue:

I disagree with many of these. For example, damnation and homoerotic are neither slurs nor profane, and it is a stretch to even call them offensive.
What's the goal and intended value with this PR? The list added is just a copy of cracklib-small, one of the de facto standard files for wordlists in UNIX land. Why modify it? If you roll a password that contains something you don't want in a password, why not just roll another one?

@thiderman  Agreed. Trust me, I'm no prude. Not trying to censor anyone.
I'm using this library to generate passwords for reset emails for an internal service. I didn't come across any generated passwords in my testing that suggested the dictionary included profanity. Then a few awkward/hilarious emails from users later, I went through the default list and removed anything that I thought might even raise an eyebrow. Just hoping to save any future users from potential embarrassment or worse.
Perhaps adding an office-safe.txt is a better solution?

Anything biology related or dual use should stay.  If you cannot handle seeing the word breast, then that's really your own problem.    Imho, removing them is only coddling the bigots who lost the fight over that term.
  I don't see any others though.

From a security point of view the word list and choosing algorithm employed must be as unbiased as possible.
Therefore an additional office-safe.txt word list, together with with a warning in the README, or a filter script to run the original list through seems to me to be the best 'solution'.

(Apologies for the delay in replying to this, was overseas without reliable internet access).
My feeling is that adding a separate office-safe.txt to the repo is the best answer: it doesn't reduce the resulting password entropy in the default configuration, and it provides an easy alternative for situations like the ones Tristan encountered.
I actually came across such a list a while ago, created by a user of the software. It is heavily filtered to remove as much potentially offensive combinations as possible. I reached out and he gave me permission to include it in the repo:
https://github.com/redacted/XKCD-password-generator/blob/master/contrib/office-safe.txt
I have also added a note and warning to the README. If this addresses the issue I will close the PR and leave default.txt alone.

@redacted Thanks!

No worries, and thanks for spending time on this as well!


can the backend API (django-rest-framework) part be replaced with django-ninja?

This is a very good scaffolding for a django project, can the backend API (django-rest-framework) part be replaced with django-ninja? Compared to django-rest-framework, ninja development is more flexible and has a smoother learning curve.
I'm actually developing a similar scaffolding for django projects (called DjangoStarter) and switched from django-rest-framework to django-ninja in a recent new release and it feels great!

I don't have any experience with django-ninja but if you want to replace django-rest-framework, feel free to do that.


When 1 node in a 3 node ES cluster stops lose cerebro web page

Using a 2 storage node with 1 ingest node stack with cerebro running on ingest node along with logstash.  when I stop 1 storage node, I lose cerebro output.

user error :(


如何解决ValueError: cannot reshape array of size 1288 into shape (28,28)

Getting transformed features...
Calculating distances...
Maximum distance from cluster centers is 1.31
initial embedding size :  (137984, 1536)
final embedding size :  (13798, 1536)
0%|                                                                                | 0/10 [29:48<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 685, in
main()
File "train.py", line 193, in main
gt_list_px_lvl, gt_list_img_lvl, gt_list, gt_mask_list = test_patchcore2(models, inference_round, fixed_fewshot_list,
File "train.py", line 673, in test_patchcore2
anomaly_map = score_patches[:,0].reshape((28,28))
ValueError: cannot reshape array of size 1288 into shape (28,28)

The size of your input image maybe wrong?


onboard managementpartner to cli extension

This checklist is used to make sure that common guidelines for a pull request are followed.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/jeffrey-ACE/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"

The check failed because of the generated SDK, can you please help fix it


Suggestion

Could you adapt this project to the placeholderapi? I would love to add some data like: Current Season, days left to change...

I personally have no experience with that plugin, so probably not something I'd get to very soon. Could take it in if someone else wants to make it though.


Allow duplicate ports when using multiple IP addresses

I see the code:
        {
          assertion =
            let
              serverPorts = mapAttrsToList
                (name: conf: conf.serverProperties.server-port or 25565)
                (filterAttrs (_: cfg: cfg.openFirewall) servers);

              counts = map (port: count (x: x == port) serverPorts) (unique serverPorts);
            in
            lib.all (x: x == 1) counts;
          message = "Multiple servers are set to use the same port. Change one to use a different port.";
        }

I haven't tested it, but this looks very much like you can't have multiple servers using the same server-port even if they have different server-ip values.
Or Maybe it just means you can't use openFirewall with such configs. Still trying to understand this logic.

This is indeed an oversight. The general logic is that it catches trivial mistakes for the general case of non-differentiated IPs, which prevents starting servers in a situation that would cause them to conflict. Shouldn't be too difficult to make it check both server ip and port to make sure those combinations are unique.

Just adding my input. Even when on the same ip, i personally use this to just easily setup up multiple mc servers for playing with different people on my laptop. I think the check should be able to be opted out entirely possibly. I have autostart off for all my servers and just start them up when needed. Obviously I could also just port forward a port range instead but it'd be nice for convenience to just have them all be the same one since I only ever have one up at a time.

I think if you set cfg.openFirewall=false it disables this check. Seems to work for me anyway.
But then of course you will have to open the firewall ports yourself.


Add DevTools version to dart --version output

We do this for flutter --version
flutter --version
Flutter 2.6.0-12.0.pre.749 • channel master • git@github.com:flutter/flutter.git
Framework • revision 92d2a9ab06 (2 weeks ago) • 2021-11-17 15:56:35 -0500
Engine • revision d389ae475c
Tools • Dart 2.16.0 (build 2.16.0-20.0.dev) • DevTools 2.8.0

This will allow tools and users to understand which version of DevTools is included in the Dart SDK.

Would adding a dart devtools --version option be sufficient? I think we rely on the format of the version string output from dart --version in some situations, so that would likely be breaking.

I think dart devtools --version would still work

@DanTup can you confirm whether this will work for detecting the DevTools version from inside VS code?

Yep, dart devtools --version would work fine for me. Although, if we're going to use commands like this from tools, it would be nice if there was an option for structured output (for ex. json) rather than text to avoid any cosmetic changes breaking things (as seems to be the concern above).

Closed in https://github.com/flutter/devtools/pull/3546


Travis - Only run tests that have changed

(work in progress. Will assign when ready)

Okay - 'tis ready.

Current coverage is 48.19% (diff: 100%)

Merging #381 into master will not change coverage

@@             master       #381   diff @@
==========================================
  Files            73         73
  Lines          2268       2268
  Methods           0          0
  Messages          0          0
  Branches        158        158
==========================================
  Hits           1093       1093
  Misses         1145       1145
  Partials         30         30

Powered by Codecov. Last update 14dbfe0...ca6ec09

@lesv please take a look, too.

@tswast Added some comments. LMKWYT


⚠ captana.io | API has degraded performance

In 7ce4ff8, captana.io | API ($CAPTANAIO_API_BACKEND_CHECK) experienced degraded performance:

HTTP code: 200
Response time: 2202 ms

Resolved: captana.io | API performance has improved in 36fae7f.