Error: VS402803: Field name '...' you specified is already in use, choose a different name.

Can there be a skip for fields that were already created in a different process? I keep getting this error because different processes want to use the same custom fields.

I worked around this problem by giving all my custom fields a prefix (given my time again I might have used a suffix) that should ensure that they're always unique. I think that's likely the only solution as you can't rely on other definitions of the field fitting your requirement (e.g. the existing field might be an integer and you need it to be a string).
Its slightly annoying because, although you can change the label of the field on the work item type to remove the prefix/suffix, when that field is output on a query or you use it on a board card, it always uses the field name and not the label text.

I worked around this problem by giving all my custom fields a prefix (given my time again I might have used a suffix) that should ensure that they're always unique. I think that's likely the only solution as you can't rely on other definitions of the field fitting your requirement (e.g. the existing field might be an integer and you need it to be a string).
Its slightly annoying because, although you can change the label of the field on the work item type to remove the prefix/suffix, when that field is output on a query or you use it on a board card, it always uses the field name and not the label text.

We will release an update addressing previous problems. For new issues, create a ticket, and we'll resolve it promptly. Thank you for you.


Class app\modules\admin\Module does not exist

ReflectionException
Class app\modules\admin\Module does not exist

To manage rbac permissions/rules you must attach rbac module to your application. Readme describes how to attach it to admin module if you have such in your application. If you don't have admin module you're free to attach it somewhere else.


A cancellation doesn't work in some cases and a deadlock may occure. …

…I added an additional cancellation.

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

@jterry75
I`ve encountered this issue too when tried to read event from Docker for Windows (18.03 if that matters).
My understanding is it is hanging somewhere in native code inside ReadLineAsync, trying to find end of line delimiter, but if there is no docker events at all it cannot return to managed world and react to token cancellation.


Add some tolerance for skippped images in cleaner

This is repeatedly failing - https://github.com/apache/beam/actions/runs/7992925962 - and this should fix it.

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

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

The current failure is that it fails to delete some images, because those images were referred to other images. However, on the second one those images can get deleted (as the one that refers it get deleted now), and there is no leak. Probably just remove the last check.

Probably just remove the last check.

I think keeping the check is still worthwhile because if there's an issue stale containers could pile up. I went with a slightly different approach: allow some containers to be skipped, but only up to 10. It worked in https://github.com/apache/beam/actions/runs/7992925962 and I think should generally work

R: @Abacn


Screen Overflow Issue

 there is an Overflow issue here I believe that i can solve this
 Can you please assign this issue to me
 After that i will create a Pull Request

@Priyanshi662  is this issue ok? if yes can you please assign this to me

@Shinjan-saha yes its valid, please resolve it

@Shinjan-saha progress?


Regression in version 0.3.0

When I want to extract a metadata json file from my hevc with hdr10plus_parser 0.3.0, I have this error message at the end (and no json file) :
thread 'main' panicked at 'called Result::unwrap() on an Err value: Parse("not enough data: expected 12 bits got 2 bits")', src/hdr10plus/parser.rs:233:71
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
It works fine if I use version 0.2.8 or version 0.2.9 on the same hevc (no error message) and I have my json file.

This has been fixed in master but I haven't created a release, I'll make a hotfix release I guess.

Yes it works with this new version !!
Thanks a lot for all your work, it's really impressive.


Prevent files not readable by FFmpeg

Attachments with a size > 256 MiB are not demuxable by FFmpeg due to a code from FFmpeg considering such file as potentially corrupted, so we block the creation of such attachment.
For reference attachments with a size >= 1 GiB are not correctly muxed by some old FFmpeg, which is even worse.
Right now the creation of such RAWcooked reversibility file is blocked, a future patch will offer the possibility to use another method for storing RAWcooked reversibility file in MKV.

Attachments with a size > 256 MiB

A single attachment > 256 MiB or the total of many attachments > 256 MiB? (I haven’t checked the FFmpeg code.)

A single attachment > 256 MiB or the total of many attachments > 256 MiB?

Single. Are you suggesting to create several attachments as a work around? This could be a workaround while developing a more robust method, but some users have several GB of content (padding bits not 0), I would need to check if there is an attachment count limit (if not FFmpeg, maybe the command line length!)

Yes, that is exactly what I was thinking while reading your comment.

This is not a nice method but fair enough, especially because it is mainly for more or less buggy DPX, so impact is low.

I fully agree that’s not a clean solution. I guess, it’s a possible workaround. I don’t know which solution is better.

I plan was to add the content to the error correction code part (which is already outside the mkv segment).
Right, I merge that now and we see later what is best to do.


Dev Box creation not showing pools

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Go to create environment and select Dev Box,
Select project and try to find a pool under the project
Expected result
No response
Actual result
Video: https://microsoft-my.sharepoint.com/:v:/p/jiayanchen/EeCLfXHFKWdMpiHxKckgfFEBb11pIgqR3HT2a6dB5gg7LA?e=NM5e2h&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D
Log file: https://microsoft-my.sharepoint.com/:u:/p/jiayanchen/EY1M_8K8pE9MgcxUfib44rkBI2lMlk2c8uELFtcPVnuLbw?e=7zwKeu
Included System Information
No response
Included Extensions Information
No response

@jiayac Can you repro this in the latest canary?


List path to logile on console in case of error

Can we here (at least with -v) for
[00:00:21] [01] [00:00:04] Finished ..: Failed: check-plist [show path to log here]
also show the path to the log file on the console like we do for saved workdirs?
[00:00:53] [01] [00:00:02] Saved ... wrkdir to: /usr/local/poudriere/data/wrkdirs/....tbz
Tapping the path to open it on the console to have a look is so much faster than having to manually (or the web) go there.

For bulk or testport?


self signed certificate automatically renewed?

Using ingress to issue a self signed certificate, can you specify the validity period of the certificate, and can it be automatically renewed or renewed?

Hi, you mean ingress-shim?
The cert will be automatically renewed like any other cert-manager Certificate, you can check its status.renewalTime to see when.
You can specify duration and renewBefore values with cert-manager.io/duration, cert-manager.io/renew-before annotations on Ingress (see here).

Hi, you mean ingress-shim?
The cert will be automatically renewed like any other cert-manager Certificate, you can check its status.renewalTime to see when.
You can specify duration and renewBefore values with cert-manager.io/duration, cert-manager.io/renew-before annotations on Ingress (see here).

Yes, it does work. I like your answer


Minor misprint fix in README.md

Minor misprint fix in README.md (plate->plane)

Only code changes fire the "Build and Unit Test", so can this change be merged w/o this step?


85 - Creates unique chatroom from runmodel

Takes the run model of the current run, and creates the unique chatroom using the customerid+runnerid

Now creates a run placed screen for if you a runner / customer.
Did this because:

customer map will probably be different if we go ahead with giving the runner some navigation type map.
customer has no use for an accept delivery button
contact  button will display different text


[GHSA-2p57-rm9w-gvfp] ip SSRF improper categorization in isPublic

Updates

Affected products

Comments
Alert

Hi @Serenablack, this community contribution is not being accepted because the pull request makes no changes to the content of GHSA-2p57-rm9w-gvfp. If you wish to suggest a change to GHSA-2p57-rm9w-gvfp that did not appear correctly in this pull request, you may open a new pull request.


[BUG] GetAccessTokenAsync returned expired token for a fresh token request

Describe the bug
We are using AzureServiceTokenProvider
and somethimes we are getting expired token (permanently, for few hours) for a fresh token requests.
Expected behavior
Valid token will be returned by AzureServiceTokenProvider and we will be able to access to Azure Resources
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
We are running a micro-service (in a container in a pod) as part of kubernetes cluster (version 1.16.15)
we are using AAD Pod Identity for the identity management,
the micro-service using a managed identity with the relevant role assignments.
The micro-service have Assigned Identity, which most of the time works properly and get valid token.
unforutnatelly, in a sporadic frequency we are getting expired token.
and we need to restart the service in order to overcome this issue.
09:51:54.8646702 HandleExceptionAsync: Exception handler caught tenant XXX Unauthorized exception - consider as Unhealthy
{"Type":"YYY.Exceptions.ZZZZClientExceptionClientException","Message":"**Response code is Unauthorized.
Content: {\"Message\":\"Authorization has been denied for this request.**\"}
.
.
.
-**same error written to log till restart service is performed** (no need to restart the pod, only the micro-service container)
.
.

11:21:46.2729312 HandleExceptionAsync: Exception handler caught tenant XXX Unauthorized exception - consider as Unhealthy
{"Type":"YYY.ZZZZClientException","Message":"Response code is Unauthorized. Content: {\"Message\":\"Authorization has been denied for this request.\"}

we are using this nuget package https://www.nuget.org/packages/Microsoft.Azure.Services.AppAuthentication
Steps To Reproduce
We don't have steps the exact stetps to reproduce.
but we can say that it happened every few weeks on different services.
Environment:

VisualStudioVersion: 15.0.28010.2041

Host (useful for support):
Version: 3.1.9
Commit:  774fc3d6a9

.NET Core SDKs installed:
No SDKs were found.

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

It's important to mention that

Relevant Node, Pod, MIC, NMI -  logs looks totally ok without any issue from AAD Pod Identity side.
Identity assigned to the VMSS properly, other Pods on the same node got token as expected during the failure (09:51:54-11:21:46)
Stress tests for Identity request from Pod CLI works as expected, also in described bug, the node wasn’t too loaded and it should recover after few seconds and not stuck ~1h.
Azure Assigned Identity CRD age of the problematic pod has ~30h age immediately after the service application restart (it means that the container restart was transparent from AAD Pod Identity side, and nothing was changed on this side)
Only container restart without pod deletion solve the issue – this is really good point.
Sometimes the token request failed and it should be transient, in this case it was permanent,
AAD Pod identity handle requests in a Pod (and not container) level, As you know, Azure Assigned Identity created per pod.

we are using now Microsoft.Azure.Services.AppAuthentication- (updated from 1.3.1 to 1.6.0)
we upgrade now to version 1.6.0, in order to be able to do force cache update as fallback, for more info see this PR https://github.com/Azure/azure-sdk-for-net/pull/12633
we suspect that there is a caching issue that not working properly.

//cc: @nonik0

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

@atiasadir
It appears that the issue is with the caching of the token. You are using the function to call for the token, but it is still using the one in the cache. The response has an ExpiresOn property that you can view to see if this is the case. Link to method property here.
Can you please try using this method instead: GetAuthenticationResultAsync(string resource, string tenantId,
bool forceRefresh, CancellationToken cancellationToken = default)
It makes use of the GetAuthResultAsyncImpl function that looks in the cache, sees if the token is near expiry, and return a result accordingly.

@atiasadir Would you be able to fetch token using GetAuthenticationResultAsync and confirm that the returned token is expired? We already check for this in the library and do not believe it returns expired tokens. So it would be good to get confirmation on that. If you can get the result and log expiry info if the token is already expired, it will provide clear evidence of the issue. Thanks!

@varunsh-msft @jsquire @atiasadir I'm getting expired access tokens from AzureServiceTokenProvider as well when calling GetAccessTokenAsync: https://stackoverflow.com/questions/66502950/why-is-azureservicetokenprovider-returning-an-expired-access-token
I'll give GetAuthenticationResultAsync  a try and report back on my findings.

Okay, I tried GetAuthenticationResultAsync but it gave me the same expired token. ExpiredOn value was the same expired date that I was getting with GetAccessTokenAsync.

@joeyeng Would you be able to retry? I'm curious if it was an issue with VS authentication and changing to the Azure.Identity library and following their guide made you re-auth in VS.
From your SO question, I got that you used AppAuth 1.6.1 and using the lib for VS auth (connection string = "RunAs=Developer; DeveloperTool=VisualStudio"). Can you also share your VS version?

@anaismiller My org's AAD auth policy logs us out all the time, so I have to frequently check my VS auth and re-authententicate it. So unfortunately that is not the issue. I'm on VS2019 16.8.4. I was getting expired tokens in Azure too though.

Thanks Joey for the response. I am going to assume this was not an AppAuth library issue, but something larger that got fixed based on your previous response. Still a little suspicious that the token was able to travel through as expired, but I am unable to reproduce it.
Adir also confirmed with me that this is no longer an issue.


Use a plugin to read data files from gem

Hello Michael,
Revisiting this again. Jekyll learnt a few new tricks since the last time I came with a proposal. It will now automatically require a theme's runtime dependencies. Ergo, the end-user doesn't have to add the required plugins to their config file.
Simply having theme: minimal-mistakes-jekyll will call the dependencies as if it were a Ruby program
With jekyll-data, users need not update their data files with the changes you make. It'll be pulled in from the theme-gem itself.
(It's a different story, if users prefer to use custom ui-text strings though)
With this PR

jekyll-data v1.x
jekyll 3.5 automatically requires a theme's runtime deps
jekyll v3.5.0 had bugs. Hence use v3.5.1 and beyond

Nice! Thanks for the PR. When I get a chance I just want to give it a quick test and then I think it'll be easily merged in.

Thank you Michael :smiley:


Material cards to support header with different background-color than body

Bug, feature request, or proposal:
Proposal: support different background-color for Card header than body
What is the expected behavior?
Background color on card-header would be different than card body.
What is the current behavior?
Cards (and material in general?) seem to only support headers with same background-color as body.
What are the steps to reproduce?
Look at card sample on angular.material.io/.../card.

or look at this blitz:

https://stackblitz.com/edit/angular-mdnzpi
What is the use-case or motivation for changing an existing behavior?
Customer wants a different look for material cards (i.e. headers with background color).
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Most recent material.
Is there anything else we should know?
It's interesting that in the documentation, there is a div with a different colored header (see 'Basic cards' in material_card.png attachment), but then the material component itself ('Simple card') is all (header and body) the same background-color.

See #9696 and @jelbourn's comment there:

We don't have any plans to turn this into an API. You should be able to use CSS to customize the background color, or SCSS to pull the color from the current theme.

Closing, as noted above, you are able to set use CSS to customize the background color directly.


fix(challenges): Revert CSS regex test

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #15567

Description
Some CSS tests were changed to regex tests while the CSS tests weren't working on Firefox. Now that the original issue has been fixed (#15775), these changes can be reverted.
This allows more correct answers to pass as a valid solution again.
The changes reverted were originally made in #13389, #13491 and #13709.
Ignore the first camperbot message, it conflicts with the commitizen guidelines.

Thanks for the review! Sorry, that was very sloppy. I have removed the extra )s

Thanks @systimotic LGTM with the updates. :8 ⚡ 🔑


Fix MLAS dynamic shape checking and TRT dynamic batching

This PR aggregates several bugfixes into the 1.9.1 release:

Dynamic shape checking in MLAS: https://github.com/neo-ai/tvm/pull/214
Dynamic batching in TRT: https://github.com/apache/tvm/pull/8461
Workaround to enable select ops in TRT explicit batch mode

Thanks @dvhg
Could you fix the linter/sanity check CI issues? Then we can merge

Thanks @dvhg!


🪲 bytes_read stat appears to only be the first blob

Thank you for taking the time to report a problem with Opteryx.
To help us to respond to your request we ask that you try to provide the below detail about the bug.
Describe the bug A clear and specific description of what the bug is.
Expected behaviour A clear and concise description of what you expected to happen.
Sample Code/Statement If you can, please submit the SQL statement or Python code snippet, or a representative example using the sample datasets.

Additional context Add any other context about the problem here, for example what you have done to try to diagnose or workaround the problem.

can't replicate or prove original report


Improve CSV support

see #26 and #33
improve documentation
how to parse values?

it seems that there is currently no interest in this topic, topic will be reopened if necessary


Entire contact insert batch fails with single bad address when state/country picks enabled

When state and country picklists are enabled, and a contact is inserted with a bad state or country (or any other data that generates an account level validation error) as part of a batch, the account insert fails, which causes the entire batch to fail.
I know that with the change in 3.83 the idea is that the calling application is responsible for error handling, but I'm not sure how this looks with batches, or with a generic ETL tool that's creating or scheduling batches like DBAmp which couldn't possible anticipate NPSP.
Is this just an unfortunate consequence of the change in 3.83, or is there a more graceful way we could handle a DML error?

Please post a message in the Power of Us Hub NPSP group for further troubleshooting and discussion. Thanks!


[Noetic] Use catkin_install_python()

This uses catkin_install_python() instead of a mix of install and the setup.py scripts argument to make sure the shebang gets rewritten.
It fixes a bug in the current debian package I encountered here: http://wiki.ros.org/ROS/Tutorials/UnderstandingTopics#Using_rqt_graph
$ rosrun rqt_graph rqt_graph
/usr/bin/env: ‘python’: No such file or directory

@dirk-thomas got time to make another Noetic release with this fix? If not, with your permission I can make one.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-noetic-call-for-testing/14203/1

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-noetic-ninjemys-release/14262/14


added service principal authentication version to nodejs

i want to use service principal authentication in API Samples - NodeJS

We are publishing new samples. For nodeJS we are publishing a sample which works with service principal as well.
Closing this PR. Thank you.


Cache updates to the set of instances registered with a VIP address or application

Per the preceding discussion in #53, and sitting on top of #55, poll the instances for either a VIP address or application periodically, and store the latest result for safe retrieval on demand.
Here we expose a few new types and functions:

function ScheduleAppInstanceUpdates
type InstanceSetSource
function NewInstanceSetSourceForVIPAddress
function NewInstanceSetSourceForSecureVIPAddress
function NewInstanceSetSourceForApp

The first is a way to get a channel of InstanceSetUpdate for an application, that delivers (optionally) filtered and shuffled instances instead of the whole application like NewAppSource does. That would have been part of #55 had I thought of it early enough.

Say, @damtur, are you reviewing changes for fargo these days?
If not, is there anyone else you'd recommend that I request to review this proposal?

Hey @seh I've had time to go through only first PR, and just to grasp a concept of all changes. It all looks well thought so I shouldn't expect big problems. You can always ping @wliao008 or @tysonstewart for CR as well. Other then that I'll try to look into those next week.

Hey @damtur, did you see this comment and the one that followed?
I'll follow up with another PR, before we expose the current interface in a release, but I'd like your feedback on the parameter type.

Hey @seh Please leave it as boolean. Thanks for a follow up.


Classify Action properties

These properties are dfined using the participant and perdurant-proper-parthood properties currently indicated in UCO Issue 544.

@plbt5 , I'm particularly interested in your opinion on if gufo:MaterialRelationshipType was appropriate to use here.  By my current understanding, the gUFO documentation indicates an instance of gufo:MaterialRelationshipType is a property that would only be used as a triple that de-reifies (/flattens) an instance of a gufo:Relator.  E.g., if org:Membership is a gufo:Relator, then org:memberOf would be its gufo:MaterialRelationshipType.  To you, is it fine to declare a gufo:MaterialRelationshipType without consideration of defining a corresponding gufo:Relator?
The properties I typed in the first patch seem intrinsic to their subjects, and while some can be qualified, others don't seem (to me) to need qualification.  E.g., under PROV-O, uco-action:performer could align with prov:wasAssociatedWith, which has a reification of prov:Association for the sake of describing how specifically an agent is associated.  Off the top of my head, I can't think of such a potential gufo:Relator for uco-action:result.
I'm fine rolling back the gufo:MaterialRelationshipType bits if you otherwise agree with this PR.
Aside from this discussion, this PR is ready for review and merge.

This PR is similar in spirit to UCO-Profile-BFO PR 2.

Merge conflicts addressed.


Cosole might print obsolete database properties

Just small issue in console, but made me crazy for a while.

update database properties, eg
ALTER DATABASE DATEFORMAT yyyy-MM

and then run 'info' or 'list properties', printed property value is not updated, eg there is still
Date format                | yyyy-MM-dd

disconnect and reconnect is needed to get fresh values.

This is same also with other properties.
tried on 2.0-rc1

This is already fixed i 2.1.x when after an ALTER DATABASE command, the db info are reloaded.


What about arm deployment?

This whole having to use two storage accounts concept isn't really arm template deployment friendly right?
Isn't there another way to do this?

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

ID: aa989bf6-c8f7-71fc-e823-f2726dfc8935
Version Independent ID: 8dc810a4-bfd2-aba7-c48d-b0b1e8aaa8e1
Content: How to configure Azure Functions with a virtual network
Content Source: articles/azure-functions/configure-networking-how-to.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@pgilhuijs
Thanks for your feedback! We will investigate and update as appropriate.

Hello @pgilhuijs - The guidance in this doc appears to be more aimed at a time when you already have the Function Apps and its corresponding storage account resources created without the VNET integration, and the specific steps to take when deciding to integrate with a VNET via private endpoints. For scenarios where you already know you'll be needing the VNET integration ahead of creating the resources, such as ARM deployments, please refer to the more in-depth Tutorial: Integrate Azure Functions with an Azure virtual network by using private endpoints instead.
For ARM & bicep deployment for the same, specific configuration, please review the following sample: https://github.com/Azure-Samples/function-app-arm-templates/tree/main/function-app-private-endpoints-storage-private-endpoints

I hope the info in my previous comment is helpful. Since we didn't determine any changes to this doc upon reviewing this feedback, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Run Docker interactively

This allows for Ctrl+C to work.

FWIW, it looks like this doesn't seem to work on CI, see for example:
https://github.com/kleisauke/wasm-vips/actions/runs/3628866537/jobs/6120437544
Commit https://github.com/kleisauke/wasm-vips/commit/02d0b97a9afa751a6789bbe4403fd99b14caa4cc and this PR used the cache from the previous run (i.e. it didn't run npm run build), hence I went unnoticed. Sorry for not catching this earlier.
Perhaps the CI should use an other npm script (or simply issue these Docker commands in non-interactive mode)?

... commit https://github.com/kleisauke/wasm-vips/commit/9f6cc94a2a2d116cc6c75aaedc7f57793d74eb00 fixes this.
I also considered adding package.json to the cache invalidate list, but that doesn't make a lot of sense after that commit (+ that would cause unnecessary builds on tagged commits). :)

FWIW, it looks like this doesn't seem to work on CI, see for example:

Hm, that's unfortunate.


Error on cisco ipfix template save

[vflow] 2017/05/28 08:39:25 couldn't not dump template json: unsupported type: map[uint32]ipfix.Data

Does it work before dumping? Please let me know the below info:
1- device model and IOS
2- operating system
3- go version

It does... works wonderfully. There are template errors when vflow is started after a flow is already running, (unknown ipfix template id# 257) however adding "template data timeout 300" to the exporter causes a template resend every 5 minutes. And works fine after that.
Also, here is what we are exporting (i am guessing it does not know how to save one of the fields?)...
flow record NetFlowRecord
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes
collect counter packets
collect routing next-hop address ipv4
collect interface output
collect interface input
collect flow direction
1 Cisco CISCO2911/K9 IOS: Version 15.0(1r)M16
2. Ubuntu 16.04 4.4.0-62-generic #83-Ubuntu
3. go version go1.6.2 linux/amd64

@rtsam did you compile the latest code? cuz we had a dump issue a few months ago but it fixed and i just tried again at our network (Juniper) and works. we have all of your fields. can you compile w/ go 1.8.x as well and try again? Thanks!

I did... just set everything up last week. So the code would be recent. However I just upgraded go to 1.8.1. And it is dumping the templates now. So the conclusion is; the version of go that comes with Ubuntu was the problem. Thanks!

@rtsam very cool :) no idea why 1.6.2 caused this issue but I'm happy the Go upgrade fix this issue.


chore: fix typo

Hey there! Thanks for the project. I'd like to help to the best of my abilities, starting with a typo!

Hi! I'm happy you like my project and fixed the typo.


I can't verify my account

Subject: I can't verify my account
Description:
The mail does not arrive, and I can't register again apparently
Results:
It would be nice to have de option to register with other mail, and not be trapped in these loop
Backend version: develop-d6739683
Frontend version:
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15
Page: https://couchers.org/signup
User:

can't contact reporter


Folder path is not found

I am running the extension on arch and ubuntu systems in my arch setup everything works as expected but in ubuntu I am running into "Folder path is not found" error.
I tried to change the folder path to something absolute like /home/user/Documents etc. but nothing changed.
I was using the snap version of vscode changed to apt version and also tried the insider edition but error persists.
my setting are configured as follows:

Same issue here, even when leaving the field empty or putting there "~"

i found out that the error message is a bit misleading as it shows up when there is simply no workspace in that folder but the folder exists.

I will see if I can diuplicate this error.
If I leave the folder path empty workspaces are still found.

AH!
I was experiencing this error, as OP mentioned. I saw @sketchbuch's screen grab, so thought to change the defaults to match those here.
Workspace Sidebar: depth was 0, now 10 and BINGO.... its cleared up. It works,
@sketchbuch , ignore my earlier comment on the other thread (#69) that you've pinned in here. I will use the ~/ as that is your intent and it shows all my projects just nicely.
I was thrown off by the malfunction, plus my expectation.  The change in the default worked (but I'm fairly certain I did that earlier! .... but I must not have). Soz!
.....
BTW, I wish to say, this workspace manager is EXACTLY what I was looking for and I'm really amazed that it isnt a #1 plugin.

If you leave the folder blank it should default to your home folder. I will check this and make sure this still happens, but depth 0 would mean in this case just look in the home folder.
I see also the description says you can use -1 but this is not possible. The field only accepts number from 0-25.
I will look into changing the error message and possibly also mention what the current depth is and that maybe the user should increase it if no workspaces are found.

Maybe default to 10 rather than 0 ?

@zadobudak I see you also have zero depth and no path.
This means you are only looking in your home folder for workspace files and no subfolders.
I will update the error message to better indicate what might be the issue. The message should not be "folder not found"

I have the same issue (running v1.4.2 with VSCode 1.79.2 on SuSE linux) but setting depth to 10 does not solve the problem. Neither does an absolute path.
Is there any way I can find out what is happening? Or a minimal setup with which it should definitively work?

The next version will include better error messages.
Not a folder

No workspaces found

No workspaces found depth = 0

Generic error - falback if none of the above apply

Previously, whatever the reason for the error, a message saying folder is not a directory was always displayed

In v1.5.0


Move record-consumption logic out of datagram-fetching routine

When processing the stack of datagrams, (D)TLS records, messages, the preparation of new content is logically separate from the disposal of old, already processed content.
Previously, however, in case of DTLS the datagram fetching routine mbedtls_ssl_fetch_input() not only implemented the fetching of a new datagram, but also the logic of disposing of the last record.
This PR moves the record-disposal logic from mbedtls_ssl_fetch_input() to ssl_consume_current_message().

As it stands, we won't try to improve the current msg layer any further, but switch to MPS.


fix bug of "CPU train --> multi GPUs finetune/test"

@woailaosang  could you also update 中文版 tutorial.md?

@woailaosang could you also update 中文版 tutorial.md?

translate English version into Chinese? okay.


Implement dot error notifications for tabs

When a screen haves multiple tabs is hard to identify the error. Therefore, the dot notification will allow users to quickly now where their error is at:

Closed by https://github.com/samtecspg/articulate/commit/0ef423fe1ca30b383447e9fab51c3e4e59129999


Run Travis against Node LTS and Stable versions

See commit messages for references.

+1 for the grunt-contrib-jasmine bump—just ran into this testing with Node 5/NPM 3

While doing some updates for 0.7.3, I noticed that our websockets library (github.com/websockets/ws) has gone through several iterations since we've updated, and they've dropped support for node 0.8. I believe that is currently the lowest number we support, and I would be in favor of dropping that to make way for the ws version bump, which is our only non-dev, non-optional dependency listed.
This would probably require a bit of testing before getting on master, but I think it'd be for the better.

Oh, do we even advertise support for Node 0.8? I don't think I've ever tried it, haha. Anyway, we should definitely consider upgrading ws (and our other dependencies). Want to open a pull request for it? I'm going to merge/close this one.

sure, I'll make a PR and get the process started of testing


Add documentation delimiters to example files

In order to enable the automation of updating the SDK code snippets within the developer documentation, delimiters have to be added to logically separate different code blocks pertaining to functions of the SDK.

Same as the Python comments, we should group them into functions and show it off like that.

@MOmarMiraj I disagree - in the future, I would like to get rid of the functions even in Go, since that example file is notoriously harder to navigate than Python and JS, where everything is laid down in one stream. Perhaps it would make sense to separate different API examples in separate functions, but for now, the lack of functions is specifically why I elected the mjs example as a source of truth (as opposed to the cjs one, which is already partitioned like that)


[ICON] Polar.sh

Icon Request

Icon name: Polar
Use case: Open source funding with Polar
Screenshots of similar icons:

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Just funded on behalf of Polar. Polar funding via Polar to see a delicious Polar icon in the beautiful iconoir set 😍

Just funded on behalf of Polar. [...]

Wow, let me already thank you on behalf of Iconoir! ❤ This is highly appreciated!
I didn't know about Polar until @lucaburgio adopted it on this repository, but I immediately fall in love with the concept and great & thoughtful design of the platform!

[...] Polar funding via Polar to see a delicious Polar icon in the beautiful iconoir set 😍

🌀😁

Thank you so much for the super kind words of encouragement @paescuj – we really appreciate it ♥
Also, I can't believe that TIL about the 🌀 emoji. It's absolutely brilliant and now I'll use it everywhere for Polar 😅 That is everywhere that doesn't use iconoir once our icon comes out there 😉


Segmentation fault (core dumped)

please help to solve the problem = Segmentation fault (core dumped)

I believe this is caused by wrong GCC/G++ version.

Hmm...  Is this because 'modern' Ubuntu installations no longer have 4.9?  It's fairly straightforward to get 4.8 (but lacks required c++14), buy extremely difficult to get 4.9 on 18.04
is there a range of gcc that work?  ubuntu 18.04 has 5.5, 6.4 7.4, 8.3...
What's involved in bringing it to a point where we don't have to use windows?


fix(symbol): treat null value the same as undefined

Fixes #13

@stoffeastrom I could have swore that you had submitted PRs before...but I can't find you in our list of CLA signatories. Can you sign the CLA for me? https://docs.google.com/a/durandal.io/forms/d/1Npd68d32UDUKUYuCDDrW0VN5Lv8p-a6Ziaa2JFKp6Cg/viewform?c=0&w=1

Yeah me to but it should be signed!

Thanks!

Ok, releasing in the next couple of minutes.


Feature Request: New Entity Type - SecureString

SecureString (MSDN) represents text that should be kept confidential, such as by deleting it from computer memory when no longer needed.
I would like to request EF's ability to map to the type SecureString instead of just String.

@VAchris We discussed this and we're not going to add built-in support, but custom type mapping/conversions should allow it to be supported--this is tracked by #242. Closing this as a dupe of that.
We are interested in knowing how you would make use of SecureString--what issue specific issue would it solve for you?


dask.array.concatenate

Really two issues here

We should implement a concatenate function that concatenates many dask.Array objects into a single one.  This is relatively straightforward.
We need to think about how users should specify collections of arrays as a single dask.Array

For example given a directory of netCDF files, each with several datasets, we might want something magical like the following
into(da.Array, '/data/myfile.*.h5::/data/path/to/X', blockshape=(1, 1000, 1000))

Or maybe this is too magical.  Maybe we need to have a more verbose function that allows users to specify their intent more precisely.  One approach with concatenate would be
uris = [fn + '::/data/path/to/X' for fn in sorted(glob('./data/myfile.*.h5'))]
arrays = [into(Array, uri, blockshape=(1000, 1000)) for uri in uris]
arr = da.stack(arrays, axis=0)

I'd value @shoyer 's opinion here.

There are two common ways to combine arrays:

along an existing dimension (np.concatenate)
along a new dimension (np.array)

I would design an explicit API that makes clear distinctions between the two. I'm all for shortcuts, but it is not obvious from your first example which is intended. (This is a little easier in xray where we can put both these into concat because we have dimension names, but we still need the user to supply the name of the dimension to concatenate along.)

Is there an alternative to the name array for "stack along a new dimension" that doesn't conflict with other common names?

In biggus they use the name stack for "stack along a new dimension". That would probably be my first choice (though clearly the meaning of stack is not obviously different from concatenate, e.g., see your second example).

See http://biggus.readthedocs.org/en/latest/creation.html#combining-arrays

BTW, I also added concatenate.


Typing props and stuff in LoadOutput and Load

Describe the bug
I'm using TypeScript, and trying to specify the type of the props property in the return type of my load function. But I don't seem to be able to get it working:
<script lang="ts" context="module">
    import type { Load, LoadInput, LoadOutput } from "@sveltejs/kit";

    type Props = {
        foo: number;
    }

    const output: LoadOutput<Props> = {
        props: { // type is 'Props', as expected.

        }
    }

    export const load: Load<LoadInput, LoadOutput<Props>> = async () => {
        return {
            props: { // type is 'Rec<any>', it should be 'Props'.

            }
        }
    };
</script>

Also, when I do:
type Test = ReturnType<Load<LoadInput, LoadOutput<Props>>>>;
// 'Test' is:
// MaybePromise<Either<LoadOutput<Rec<any>, Rec<any>>, Fallthrough>>
// But it should be:
// MaybePromise<Either<LoadOutput<Props, Rec<any>>, Fallthrough>>

There seems to me to be something wrong with SvelteKit's Load type here.
System Info
  System:
    OS: Windows 10 10.0.19042
    CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
    Memory: 1.02 GB / 7.89 GB
  Binaries:
    Node: 14.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.62)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @sveltejs/kit: ^1.0.0-next.232 => 1.0.0-next.232
    svelte: ^3.42.6 => 3.44.2

Severity
annoyance

Update: After playing with this for hours, I just found out that the way you're supposed to type the properties of input and output of load function (like props for the output type, or even session of the input type) is something like this:
export const load: Load<{ session: Sessio }, { props: PropsType }> = async () => {
    return {
        props: {

        }
    }
};

But to me this wasn't clear at all. So I'll keep this issue open as a suggestion to write about this in the docs.

The interface LoadOutput<> defines props as optional, but the inner type InferValue<> expects props to be a required property, so it fallbacks to Rec<any> instead of Props.
You can see why it happens here:
import type { InferValue, Rec } from "@sveltejs/kit/types/helper";
// the InferValue returns either type of the named property in the first type or the third type
type Test1 = InferValue<LoadOutput<Props>, 'props', Rec>; // type Test1 = { [x: string]: any; }
// the same but with just unfolded and simplified, for this case, `LoadOutput`.
type Test2 = InferValue<{props?: Props}, 'props', Rec>; // type Test2 = { [x: string]: any; }
type Test3 = InferValue<{props: Props}, 'props', Rec>; // type Test3 = { foo: number; }

But LoadInput doesn't have this problem as all its fields are defined as required.

@7nik Thanks for the explanation. I was confused about that too, now it makes sense.
Am I still right in thinking that this is the way these property types are supposed to specified? I'm assuming that's the reason why InferValue is used and why Load is defined like this:
export interface Load<
	Input extends LoadInputExtends = Required<LoadInputExtends>,
	Output extends LoadOutputExtends = Required<LoadOutputExtends>
> {
	(
		input: LoadInput<
			InferValue<Input, 'pageParams', Rec<string>>,
			InferValue<Input, 'stuff', Rec>,
			InferValue<Input, 'session', any>
		>
	): MaybePromise<
		Either<
			LoadOutput<InferValue<Output, 'props', Rec>, InferValue<Output, 'stuff', Rec>>,
			Fallthrough
		>
	>;
}

If so, I think it would be nice if this was mentioned somewhere perhaps, as it's likely to confuse people.

I doubt that the PR fixed the problem. As far as I can see, the types passed to LoadOutput<> still get ignored and replaced with Record<string, any>.
I think the solution can be to return the following type by Load:
MaybePromise<
    Either<
	    Fallthrough,
	    LoadOutput<
		    InferValue<Required<Output>, 'props', Record<string, any>>,
		    InferValue<Required<Output>, 'stuff', Record<string, any>>
	    >
    >
>

It's should be okay to requirefy Output as LoadOutput anyway defines props and stuff as optional.

@ignatiusmb Sorry I don't understand how your PR resolved this issue?!

What seems to be the problem here? The original issue points that you don't understand how to use the Load type from the lack of documentation, hence the PR including the definitions in the docs.

@ignatiusmb Well, I was expecting an example (the usage if you will), as opposed to just the types themselves.
Similar to the code snippet in this comment of mine.

We don't have any usage examples for using types in the docs, so it doesn't make sense to add one for this.

Okay then I think it would be a good idea to add type usage examples to the docs in general, although I understand that that's beyond the scope of this issue.
Is there an already-existing issue for this or not?


Access createContentItem from within plugin

I have a plugin that uses .createContentItem - I expected this to be the SVGO object instance, but it is not. As a workaround I create an additional SVGO instance in the plugin itself, but I think ideally the fn function would be bound to the SVGO instance it runs on. Any reason this is currently not done?

Well, SVGO is for optimizing, thus creating items condraticts its purpose. It was exposed for external usage.
You can workaround by using constructor property:
exports.fn = function(item) {
   var elem = new item.constructor({...});
}

Also there is clone method (used by SVGOMG).

ah, great, that works, thanks! I have an optimization step that makes an SVG accessible (it creates an aria-labelledby attribute and adds a <title> and <description> element. Not necessarily a performance optimization, but still an optimization in a sense.


[BUG] Modal Component closes on dragging off the modal

Describe the bug
The modal component will close itself if the user starts a click on the modal body, then releases the click off of the modal body anywhere in the gray overlay area.
To Reproduce
Steps to reproduce the behavior:

Open the modal component
Hold the mouse down with the mouse over the modal body
Move the mouse off the modal body and over the gray overlay area
Release the mouse button on the gray area
See that the modal closes

Expected behavior
It seems like the modal shouldn't close if a click starts on the modal body, or if the user is dragging on the modal body and releases their drag off the modal body.

Here's a video of the specific issue we're encountering. We have a text input inside the modus modal. When a user holds the mouse down in the text input and drags out of the modal body (to select the text in this case), then releases the mouse outside the modal body, it closes the modal.
Our current work-around is to be more precise when selecting the text, but we believe the most natural way a user would select the text would involve starting on the modal and moving the mouse off of it. All we need is a way to keep the modal open if the mouse click starts on the modal then releases off of the modal.
https://github.com/trimble-oss/modus-web-components/assets/97758471/fa62090c-6432-44d2-906c-0dd9a5b5e6f7


DNN语言模型

百度AI开放平台中DNN语言模型计算词在句子中的概率和ppl是怎么做的？是用transformer类的预训练语言模型吗？有么有学习案例？

Could you please provide the link of the DNN lm project?

Could you please provide the link of the DNN lm project?

https://ai.baidu.com/ai-doc/NLP/0k6z52fb4


How to reproduce the model training process？

Hi, Shih-Lun Wu, I'm trying to reproduce the model training process implemented in the paper, but i found there's only test process of the model explained in the readme file.

i'm begging for a more detailed readme file to demonstrate how to do the model training

Hi @keepcreative , thanks for reaching out.
Would you please kindly refer to Section 3.1 of our paper (https://arxiv.org/pdf/2309.17352) for the training settings? Thanks.
-- Shih-Lun


Uncaught TypeError: Cannot convert undefined or null to object

An error occurs when: inputs: { hex: false, rgb: false, hsl: false }

Fixed the issue, thank you for the feeback.


Global events hooks not working

Describe the bug
A global event emitted on the front-end side via emit() [1] does not seem to get propagated to the back-end but is instead propagated to a front-end listener setup via listen() [2].
To Reproduce
Steps to reproduce the behavior:
NOTE: The sample code shown below is available in this repository created to showcase the issue.)

Create a new tauri project (vanilla HTML/CSS/JS front-end)
Provide global event hooks on the front-end side following the Events guide, like:

var sendEvent = null;
import('/modules/@tauri-apps/api/event.js').then((eventMod) => {
  const onUserClick = eventMod.listen('user-click', (event) => {
    // event.event is the event name (useful if you want to use a single callback fn for multiple event types)
    // event.payload is the payload object
    console.log('onUserClick() called');
    console.log(event.event);
    console.log(event.payload);
  });

  sendEvent = () => {
    console.log('sendEvent() called');
    eventMod.emit('user-click', '{"message": "Tauri looks good! (coming from front-end)"}');
  };
});

Provide event hooks on the back-end side following the Events guide, like:

use tauri::Manager;

#[derive(Clone, serde::Serialize)]
struct Payload {
   message: String,
}

fn main() {
   println!("** Tauri app about to start");
   tauri::Builder::default()
      .setup(|app| {
         // listen to the `event-name` (emitted on any window)
         let id = app.listen_global("user-click", |event| {
            println!("got event with payload {:?}", event.payload());
         });
         // unlisten to the event using the `id` returned on the `listen_global` function
         // an `once_global` API is also exposed on the `App` struct
         app.unlisten(id);

         // emit the `event-name` event to all webview windows on the frontend
         app.emit_all(
            "user-click",
            Payload {
               message: "Tauri is awesome! (coming from back-end)".into(),
            },
         )
         .unwrap();
         Ok(())
      })
      .run(tauri::generate_context!())
      .expect("error while running tauri application");
}

Run the application and open the webview JS console to monitor the execution.
Trigger the front-end sendEvent() function call and observe the console output and the back-end stdout.
The JS console output looks like

sendEvent() called
onUserClick() called
user-click
{"message": "Tauri looks good! (coming from front-end)"}

and there is nothing of the relevant rust println!() calls, which speaks for the event being received directly by the front-end listener without being propagated to the back-end.
Expected behavior
The event should propagate to the rust back-end and trigger
println!("got event with payload {:?}", event.payload());

which should show up on the back-end stdout.
Then the back-end app.emit_all() call should send an event back to the front-end, which should be received by listen() [1] and the JS console should show
onUserClick() called
user-click
{"message": "Tauri is awesome! (coming from back-end)"}

Platform and Versions (required):

Operating System - Linux Mint, version 20.2 X64

Node.js environment
  Node.js - 14.17.3
  @tauri-apps/cli - 1.0.0-beta.6
  @tauri-apps/api - 1.0.0-beta.5

Global packages
  npm - 7.19.1
  yarn - 1.22.10

Rust environment
  rustc - 1.53.0
  cargo - 1.53.0

App directory structure
/www
/node_modules
/.git
/src-tauri

App
  tauri.rs - 1.0.0-beta.5
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../www
  devPath - http://localhost:8000

Additional context
Hit this in an attempt to setup a minimal Tauri application with event-based communication via global events, following the Events guide.

I have the same problem and look forward to solving it


Ex4: pair<Ward,int>

Bai 4: Tao pair <Ward,int> pp chuan

[sad]   Le Xuan Phuc 20225066 reacted to your message:

From: Phong Trần Nam @.>
Sent: Thursday, April 18, 2024 6:06:13 AM
To: Sukkaito/hoangnv-sfm @.>
Cc: Le Xuan Phuc 20225066 @.>; Review requested @.>
Subject: Re: [Sukkaito/hoangnv-sfm] Ex4: pair<Ward,int> (PR #10)
@Sukkaitohttps://github.com/Sukkaito requested your review on: #10https://github.com/Sukkaito/hoangnv-sfm/pull/10 Ex4: pair<Ward,int>.
—
Reply to this email directly, view it on GitHubhttps://github.com/Sukkaito/hoangnv-sfm/pull/10#event-12518077710, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4KS2KSXJPVQYFXI4QDDILDY55PFLAVCNFSM6AAAAABGMSXSICVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGUYTQMBXG43TCMA.
You are receiving this because your review was requested.Message ID: @.***>

[sad]   Le Xuan Phuc 20225066 reacted to your message:

From: Huu Huy Nguyen @.>
Sent: Thursday, April 18, 2024 6:05:47 AM
To: Sukkaito/hoangnv-sfm @.>
Cc: Le Xuan Phuc 20225066 @.>; Assign @.>
Subject: Re: [Sukkaito/hoangnv-sfm] Ex4: pair<Ward,int> (PR #10)
Assigned #10https://github.com/Sukkaito/hoangnv-sfm/pull/10 to @PhucLe1725https://github.com/PhucLe1725.
—
Reply to this email directly, view it on GitHubhttps://github.com/Sukkaito/hoangnv-sfm/pull/10#event-12518073952, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4KS2KR7COIAETBFOHWIDGLY55PDRAVCNFSM6AAAAABGMSXSICVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGUYTQMBXGM4TKMQ.

—
Reply to this email directly, view it on GitHubhttps://github.com/Sukkaito/hoangnv-sfm/pull/10#issuecomment-2139586891, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4KS2KR6SE474GBE4JIYG5DZE4UE5AVCNFSM6AAAAABGMSXSICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZZGU4DMOBZGE.

We only saved Ward objects in the form of a single character in json, indicating the Ward itself for simplicity

Also I'm working on converting these to C++ for future usage, for now just call Python inside C++ :/


Adding Azure Update Manager Accelerator GitHub repo

Azure Update Manager Accelerator written using Azure Bicep, link added to README.md

Thank you @ThojoUno for your Bicep 💪  contribution!


Not able to inject spring deps in custom RequestInterceptor

Let's suppose I have 3 feign client A, B and C with their own request interceptor A_int, B_int and C_int. Now I want to inject dependency of spring class using @autowire for each of the interceptors. For this I have to put @component annotation in each of them, by doing so I am letting all clients to share the all the 3 interceptors because of this FeignClientFactoryBean#configureFeign
In short, I want to preserve the 1-1 mapping for feign client and interceptor by letting spring autowire other beans. Is there is any way we can do it? (or else I am happy to contribute to build feature around it 😄)
I am using feign client: v9.7.0
and open feign with feign starter version: Edgware.SR1
Reference: https://github.com/spring-cloud/spring-cloud-netflix/issues/2746

Hello, @poke19962008 this is configured per FeignContext (i.e. Feign client). You need to pass your configuration classes via @FeignClient annotation to have them configured per-client, please see the docs. If not, please provide a minimal, complete, verifiable example that reproduces the issue. Also, please upgrade from Edgware. The only supported versions at this time are Hoxton (till the end of August) and Ilford.

I see, passing configuration via @FeignClient will let 1-1 mapping, but is it possible to have 1-N mapping?
for example

// my client A
@FeignClient
public interface ClientA {}

@Component
public class InterceptorA1 extends RequestInterceptor {
 @Autowired
 private SomeService someService;

 // some bussiness logic
}

@Component
public class InterceptorA2 extends RequestInterceptor {
 @Autowired
 private SomeService someService;

 // some bussiness logic
}

// my client B
@FeignClient
public interface ClientB {}

@Component
public class InterceptorB1 extends RequestInterceptor { // similar to above interceptor but defferent logic
}

@Component
public class InterceptorB2 extends RequestInterceptor { // similar to above interceptor but defferent logic
}

Here in the above example ClientA should be intercepted with InterceptorA1 and InterceptorA2 only. Whereas for ClientB it should be InterceptorB1 and InterceptorB2.
If I remove @Component and follow this doc then it works but I loose all the @Autowired variables resulting in NPE

Instead of using @Component, try instantiating them with @Bean in the custom configurations.

Olga is right. You can change you code like this. You can add your custom configuration to FeignClient annotation like below.

// my client A
@FeignClient(configuration = {InterceptorA1Configuration.class})
public interface ClientA {}

public class InterceptorA1Configuration  {
 @Autowired
 private SomeService someService;

 @Bean
 public RequestInterceptor internalRequestInterceptor() {
    return template -> {
      // your business logic
    }
 }
}

i see that's helpful, one thing is it possible to define multiple beans of RequestInterceptor here?

Yes you can define multiple beans. They will call one by one in written order.
interceptorA is called before interceptorB.
@Bean
 public RequestInterceptor interceptorA() {
    return template -> {
      // your business logic
    }
 }

 @Bean
 public RequestInterceptor interceptorB() {
    return template -> {
      // your business logic
    }
 }

yeah! verified that works. thanks @cbezmen and @OlgaMaciaszek.


How costly is to create a sanctuary instance

Hello,
I am going to create a package for internal use on my company that encapsulates sanctuary. To make things easier to my co-workers I want to export a sanctuary version that only performs type checking on production by default. However, I want to provide an easy way for using some functions that perform type-checking even on production, so you can choose which one to use. Take some allways safe functions for certain parts and non-checking functions for the rest.
My question is, how costly is to bootstrap a sanctuary instance ? My idea is to make something like this:
const sanctuary = create ({ checkTypes: isProd, env });
const sanctuarySafe = create ({ checkTypes: true, env });

module.exports = { sanctuary , sanctuarySafe };

My main concern is about memory, because bootstrap time I understand that is negligible.
If it is too costly to make it by default, I can always encapsulate the second option on a thunk, and require users to execute it to actually get the bootstrapping.
Thanks in advance.

My question is, how costly is to bootstrap a sanctuary instance ?

The cost is negligible, I imagine. The implementations are defined exactly once, so the cost of creating a Sanctuary module is equal to the sum of the costs of wrapping the various implementation functions.

const sanctuary = create ({ checkTypes: isProd, env });

If isProd is defined as process.env.NODE_ENV === 'production' and env is defined as S.env, you could use the default Sanctuary module here.

Hello @davidchambers ,
I ended wrapping the always safe version on a thunk that bootstraps it, to avoid bootstrapping it when not needed.
I'm not sure I understand your second comment. Do you mean that by default sanctuary will look for NODE_ENV and use the default env from S.env ?

Do you mean that by default sanctuary will look for NODE_ENV and deactivate the runtime-type-checking accordingly and that it will use the default env from S.env ?

Yes. This change was made in #512. I must write the release notes for v0.15.0 to document this.

Does that mean that If I run create myself I am actually doing the same twice ?

Yes. You will need to use S.create if you want to specify a different rule for when type checking should be enabled and/or include different types in the environment.

Yes. You will need to use S.create if you want to specify a different rule for when type checking should be enabled and/or include different types in the environment.

But then, whatever I do, the creation is being executed at least once ? Let's say that I want to add some extra env to my custom sanctuary build, does that mean that I will have my custom one and the default one exported by sanctuary ?

Let's say that I want to add some extra env to my custom sanctuary build, does that mean that I will have my custom one and the default one exported by sanctuary ?

Yes. In fact, Sanctuary exports two modules: S itself, and S.unchecked.

Yes, I noticed about the unchecked one. Thanks for your clarifications. They make a lot of sense for the default case I have to say. At first encapsulating sanctuary into our own internal library was to make it's usage easier. I didn't wanted that my coworkers had to take the responsibility of activating and deactivating type checking based on the environment.
Thankfully it still makes sense because now I customize sanctuary with some custom types and I also export some utility functions.
But the behavior you described is not obvious, and I think you should clarify it on the documentation. Maybe a small note on the creation example where you do it based on node env would be enough. Something like: please note this is the default behavior.
Regards

But the behavior you described is not obvious, and I think you should clarify it on the documentation. Maybe a small note on the creation example where you do it based on node env would be enough.

Is the following sufficient?

There is a performance cost to run-time type checking. Type checking is disabled by default if process.env.NODE_ENV is 'production'.

Is that on the documentation already? I totally overlooked it

It was added within the past two weeks. :)

OOO, that makes sense 😄


feature request: switchers for essential consumables

would be nice to have switchers for essential resources, similar to luxuries, useful for higher tier workforces.

Hey! That is basically already implemented and only requires the Checkboxes to be placed somewhere.
I was thinking about moving this into a pop-up at some point to reduce clutter for less-often used items.
For now you can

Save
Open your UserData/empire.json file
Set the individual consumables there to false & save the changes
Load

That should do the trick. :)


Final control plane node can never be deleted

/kind bug
What steps did you take and what happened:

Create a kind management cluster
create a capa cluster using capd
delete the capd cluster (using the changes in kubernetes-sigs/cluster-api#1180 so the machines get deleted first)
Control plane node fails to delete with an error like failed with exit code one

What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
The cluster will try to find another control-plane node to run kubectl on, but of course no such container exists. It will therefore try to execute a command on a container with the name of the empty string, which doesn't exist.
Environment:

Cluster-api-provider-docker version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

/priority important-soon

/assign
/lifecycle active


Bte03 data science

@jmmastey please review.

Hey, one big suggestion for refactor (based on the Feature Envy described elsewhere). Other things are suggestions for robustness of implementation / tests, but not a big deal. Do the refactor for cohorts, your call if it needs another review.


The generated ovpn file has no key and cer

The key and cer in the ovpn file generated in the 5.01 version of softether are blank. The old version (4.23) does not have this problem. Is my setting wrong? What should I do?thanks！

I confirmed the issue with 5.01.9674. As mentioned in config file, "client certificate and private key is required in case you want to use the certificate authentication" and you must have the client cert and key in the client. So just paste it there if you want to use the certificate authentication.

I confirmed the issue with 5.01.9674. As mentioned in config file, "client certificate and private key is required in case you want to use the certificate authentication" and you must have the client cert and key in the client. So just paste it there if you want to use the certificate authentication.

Thank you for your reply, just curious, why in the new version, the automatically generated client certificate and the key in the opvn file are cancelled?

The <cert> and <key> sections are entirely missing in the stable version.
The certificate and key are not filled automatically because the configuration is generic, rather than for a specific user.

The  and  sections are entirely missing in the stable version.

Did you mean developer version? Stable version HAS <cert> and <key> section (but it is a dummy for some client implementation).
###############################################################################
# The client certificate file (dummy).
#
# In some implementations of OpenVPN Client software
# (for example: OpenVPN Client for iOS),
# a pair of client certificate and private key must be included on the
# configuration file due to the limitation of the client.
# So this sample configuration file has a dummy pair of client certificate
# and private key as follows.

<cert>
(snip)

The <cert> and <key> sections are entirely missing in the stable version.
The certificate and key are not filled automatically because the configuration is generic, rather than for a specific user.
Thank you for your reply！

@metalefty You're right, I forgot about that. Thank you for pointing it out.
@roycho93 You're welcome!

Just for the note and IIRC,

Stable version
Developer version

OpenVPN certificate authentication

☑

(dummy) cert and key in generated config
☑

Yes, that's correct.

Just for the note and IIRC,
Stable version	Developer version
OpenVPN certificate authentication		☑
(dummy) cert and key in generated config	☑

thanx！When I originally used the 4.23 build 9647 version, I could generate cer and key in the ovpn file. Is there a way to modify the configuration file so that the 5.01 version can also automatically generate the key and cer?

Are you sure they were the right certificate and key and not the dummy ones?

Are you sure they were the right certificate and key and not the dummy ones?

Sorry, I am not a professional and do n’t know how to distinguish between a right certificate and a dummy certificate? I only know that the certificate is automatically generated

Some more related issues: #521 #990

The certificate and its key are indeed generated automatically (and valid), however they're not associated to a user.
They were added in order to get the configuration to work with the OpenVPN Client for iOS back when it required them.
The dummy certificate doesn't cause an authentication failure only because the stable version doesn't support OpenVPN's certificate authentication method.
See #521.

Thank you guys, so if I want to automatically generate the key and cer, is it a way to switch to the developer version?This is the certificate I have

The certificate and key are never inserted automatically into the OpenVPN configuration.
In addition to filling the <cert> and <key> fields, you have to use the developer version.

Where can I filling the cert and key insertion?

The certificate and key are never inserted automatically into the OpenVPN configuration.
In addition to filling the <cert> and <key> fields, you have to use the developer version.

thnx,I got it!

The certificate you showed is server certificate. The <cert> and <key> field in .ovpn file is client certificate. You need to register client certificates to server for each users if you want to use certificate authentication in OpenVPN.
(Excuse me the screenshot is in Japanese)

The certificate you showed is server certificate. The <cert> and <key> field in .ovpn file is client certificate. You need to register client certificates to server for each users if you want to use certificate authentication in OpenVPN.
(Excuse me the screenshot is in Japanese)

Create client certificates for each users (1 certificate per 1 user)
Register the client certificate to the server for users
Copy & paste 1. to .ovpn file

日本の方ですか？ご回答ありがとうございます！
図のようにしていますが、認証方法を固有証明書選択し、こういうメッセージを出てしまいました。

I'll give you a hint. Here it is:
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/942051d/src/Cedar/Server.c#L10596-L10647

I'll give you a hint. It is an open secret.
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/942051d/src/Cedar/Server.c#L10596-L10647

thnx！


Store config in $XDG_CONFIG_HOME if available

Closes #77

Hi !
Can I suggest to use os.UserConfigDir() to have a multiplatform support?


Fix some notes that don't use the noteWriter correctly

Removes two occurrences of duplicate emojis.

/lgtm

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

Project coverage is 38.07%. Comparing base (e958bb2) to head (aab24b1).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #288   +/-   ##
=======================================
  Coverage   38.07%   38.07%
=======================================
  Files          19       19
  Lines        1547     1547
=======================================
  Hits          589      589
  Misses        919      919
  Partials       39       39

Files
Coverage Δ

pkg/investigations/chgm/chgm.go
62.68% <0.00%> (ø)


parameters in conditions

Inside a template I need to use a condition based on the name of the build. I tried condition: eq(parameters.name, 'foo') which seems how it should work, but it fails with Unrecognized value: 'parameters'.. Tried also with ${{ parameters.name }} instead, but can't make it to work either. Would be nice to have an example in this page.

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

ID: 3f151218-9a11-0078-e038-f96198a76143
Version Independent ID: 09c4d032-62f3-d97c-79d7-6fbfd89910e9
Content: Conditions - Azure Pipelines
Content Source: docs/pipelines/process/conditions.md
Product: devops
Technology: devops-cicd
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Use eq('${{ parameters.name }}', 'foo') - Note the single quotes around the variable.

You may also ask this question here Azure DevOps on Stack Overflow.

I'm sorry can I please be validated that the amount of variable declarations / expansions in azure pipelines is just not ok? If I wrote a programming language like this I would be vilified.
Am I wrong? I've spent hours today on these issues. I even had to open one. https://github.com/MicrosoftDocs/azure-devops-docs/issues/11728


Merge master branch to prTesting1_202009101925 branch

Docs Build status updates of commit 52bfc7f:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 52bfc7f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestCon1.md
:warning:Warning

Details

split/updateTestCon1.md

Line 0: [Warning-h1-not-first] Markdown content is not allowed before {0}.
Line 1: [Suggestion-h1-missing] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning around July 2020.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Switch to git subtree for lib/vscode instead of a submodule

Our patch is massive, a subtree would be a better option at this point.
Discussed and approved by @code-asher

Also see discussion at https://github.com/cdr/code-server/pull/1982

I just experimented a bit and it seems pretty simple to migrate to git subtree :eyes:

Remove the Submodule: delete .gitmodules and lib/vscode and commit.
Add Subtree: git subtree add -P lib/vscode https://github.com/microsoft/vscode.git release/1.51 --squash

This added all the content of Vanilla VS Code's release/1.51 branch to code-server/lib/vscode in a single commit.

Bye Bye Patch:

git apply --directory=lib/vscode ci/dev/vscode.patch

All the meaty changes are now applied to the local lib/vscode directory.
Note: yarn vscode:patch won't work here unless you add --directory=lib/vscode to the script, which isn't worth it as we will delete the script really soon.

Commit something like Apply patch.
Delete ci/dev/vscode.patch.
Delete ci/dev/patch-vscode.sh and npm vscode:patch script.
Delete ci/dev/diff-vscode.sh and npm vscode:diff script.

It's actually still possible to diff between the local VS Code and the Vanilla VS Code.
First set up remotes: git remote add vscode https://github.com/microsoft/vscode.git && git fetch vscode
Then git diff vscode/release/1.51 HEAD:lib/vscode

Commit. Perhaps I missed a lot of scripts and workflows that should be changed though.

Now every changes made to lib/vscode can be reviewed like how it should be. It just works™.
If you want to update the local lib/vscode with Vanilla VS Code, run git subtree pull -P lib/vscode <VS Code remote name> <VS Code remote branch name> --squash.

Thank you for writing down the process @SPGoding! Going to make closing this issue much easier.

Closed via #2476


Display the file where error was detected

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.14%. Comparing base (60a688f) to head (804eeaa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   97.14%   97.14%
=======================================
  Files           2        2
  Lines          35       35
=======================================
  Hits           34       34
  Misses          1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Show error on invalid rule config

Linter doesn't validate configurations so there's no info on misconfigured rules, and they will be executed with unsupported config values.
This is wrong severity level:

This is wrong value for the string option for this rule:

Also, since the AJV validation is not run on rule configs, default values specified in the schema will not be set. For example, if you configure use-isnan with ["error", { "enforceForIndexOf": true }], the rule will work as if enforceForSwitchCase was set to false, although the default value for this option is true.

Sounds reasonable to me.

I will add it 👍


New Parameter for Commit Message Length - #648

Two setting parameter to adjust commit comment length (50-100) and Body line size (72-100)

issue https://github.com/larshp/abapGit/issues/648

@bigld when do you think you will have time to update the PR, removing the max values?

@larshp max length is removed - PR updated


Cow: Watch decoreglow.com

Cow requests the watch of the watch_keyword decoreglow\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by VLAZ in Charcoal HQ

decoreglow\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Verify the content spelling and grammar of the 'Usability Tester' job page

Description: You must ensure that all written content on the 'Usability Tester' job page is free from spelling and grammatical errors.
Preconditions: The website  is live and accessible.

Step 1: Go to 'Cum poți ajuta tu?' section and click on the 'Usability Tester' job.
Expected Result: The job page loads successfully.

Step 2: Review the job's header for spelling and grammatical errors.
Expected Result: No spelling or grammatical errors in the job's header.

Step 4: Review the contact information section for spelling and grammatical errors.
Expected Result: No spelling or grammatical errors in the contact information section.

Step 5: Check if the 'Aplica' button text is written correctly.
Expected Result: The 'Aplica' button text is spelled correctly.

Step 6: Check if the 'Inapoi la locurile de munca' button text is written correctly.
Expected Result: The 'Inapoi la locurile de munca'' button text is spelled correctly.


The component showAt rendering a < div > tag

How do I do to do not render a <  div > tag outside my content inside ?

You can't.
Vue.js always needs a single root element to render. Support for multiple root elements is on the roadmap for version 3 if I remember correctly.
As vue-breakpoints is utilizing slots, you can pass multiple elements into the slot. In order to work properly they need to be wrapped into a div.

Thanks for the help, Jakub!!


Typo in Today's date, should be 01/12/2022 instead of 01/11/2022

Today's date is mistyped in COVID-19 Malta - Aggregate Data Set.csv.
Thanks & Regards,
Marco
https://www.facebook.com/COVID19AutoUpdatesMalta

Was just going to raise the issue since my graph went nuts :)
https://fenej72.pythonanywhere.com/


Update docs

as titled.

Codecov Report

Merging #405 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
+ Coverage    42.4%   42.42%   +0.02%
==========================================
  Files         206      206
  Lines        4936     4936
  Branches      518      518
==========================================
+ Hits         2093     2094       +1
+ Misses       2694     2693       -1
  Partials      149      149

Impacted Files
Coverage Δ

...loud/alicloud/ans/registry/AnsServiceRegistry.java
57.14% <0%> (+2.38%)
:arrow_up:

Continue to review full report at Codecov.

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


[vrpex] spawn error

It happens when you come after the crash.
Then character reset

modules/survival.lua has 219 lines, so error messages are wrong or the file is modified.

it's my debug print and comments, sorry
153 line
AddEventHandler("vRP:playerJoin",function(user_id,source,name,last_login)
  local data = vRP.getUserDataTable(user_id)
  if data.hunger == nil then
    data.hunger = 0
    data.thirst = 0
  end
end)

You can check the user_id validity and check the value of vRP.getUData(user_id, "vRP:datatable"), also check if there are MySQL errors.

I don't think I can specifically reproduce this error again. I'll add prints for the future.

There are some reports of money loss, random MySQL errors, etc, so maybe using something else than vrp_mysql will solve those issues.

I'll try to use https://github.com/GHMatti/FiveM-MySQL

You can create a driver, I don't know if this resource supports prepared statements, but stability is be better than performance for now. If you create a repository, I could help you with the interface.

You mean the fork GHMatti''s MySQL? I have zero knowledge in C#

No C#, it's just a bridge resource that depends on vrp and this resource, register a "DB driver" in Lua for vRP and use this resource API. My knowledge (and desire) about C# is poor too, it's why I added this new API to abstract any MySQL resources in vRP.

https://github.com/SnaiCrys/vRP-GHMatti-s-MySQL

I don't know if it's good to do it this way, I will ask on the topic of the creator.

In any case, we comply with AGPLv3

If his work is a standalone resource, it could be better to just write the bridge and let people install his resource with our own.

So it would be better in terms of resource support.

Yes, and no duplication of data.

I think I will create a global repository with all the potential bridges inside instead, if you don't mind, easier to manage and they are too specific resources related to vRP core features, not really standalone.

ok, i delete mine

It wasn't so difficult, I think I have GHMattiMySQL working. https://github.com/ImagicTheCat/vRP-db-drivers

With a new database the problem was repeated
tested without https://github.com/ImagicTheCat/vRP/commit/ac679a9b3d6c4817da1ae13bc05bf8ced6806665
[vRP] 31.****193 disconnected (user_id = 41)
[vRP] Paradox (<IP_ADDRESS>) joined (user_id = 41)
[vRP] Paradox (<IP_ADDRESS>) re-joined (user_id = 41)
[vRP] Paradox (31.****.193) re-joined (user_id = 41)
[vRP] Paradox (<IP_ADDRESS>) joined (user_id = 41)
[vRP] 31.****.193 disconnected (user_id = 41)
[vRP] Paradox (31.****.193) joined (user_id = 41)

Then character reset

I don't know why this this happening, but to keep the loop going, it's better to move the SetTimeout to the beginning.
function task_save_datatables()
  SetTimeout(config.save_interval*1000, task_save_datatables)

  TriggerEvent("vRP:save")

  Debug.log("save datatables")
  for k,v in pairs(vRP.user_tables) do
    vRP.setUData(k,"vRP:datatable",json.encode(v)) -- v==null?
  end
end

When a lot of players try to connect to a full server, they are stored in a strange way in the DB and die when spawned (because there is no value for hp). Note even that there is no user group
{inventory":{"item":{"amount":5}},"thirst":0,"groups":[],"hunger":0}

Probably irrelevant for vRP 2.


Ignore all Disabled models for checks

Describe the feature you'd like
If a model is disabled (enabled=false) then ignore those models for the checks.
Additional context

Ran into this today in a dev build where I wanted to disable some models until upcoming changes to source were actually made. I'll stop being lazy and put those disabled models on a separate branch, but it would be nice!


BUG: prepare_cache is not concurrency safe

I hit this when running flakeheaven with pre-commit which runs multiple processes concurrently by default.
Traceback (most recent call last):
  File "venv/bin/flakeheaven", line 8, in <module>
    sys.exit(entrypoint())
  File "venv/lib/python3.9/site-packages/flakeheaven/_cli.py", line 40, in entrypoint
    exit_code, msg = main(argv)
  File "venv/lib/python3.9/site-packages/flakeheaven/_cli.py", line 32, in main
    return COMMANDS[command_name](argv=argv[1:])
  File "venv/lib/python3.9/site-packages/flakeheaven/commands/_lint.py", line 12, in lint_command
    app.run(argv)
  File "venv/lib/python3.9/site-packages/flake8/main/application.py", line 375, in run
    self._run(argv)
  File "venv/lib/python3.9/site-packages/flake8/main/application.py", line 364, in _run
    self.run_checks()
  File "venv/lib/python3.9/site-packages/flake8/main/application.py", line 269, in run_checks
    self.file_checker_manager.start(files)
  File "venv/lib/python3.9/site-packages/flake8/checker.py", line 324, in start
    self.make_checkers(paths)
  File "venv/lib/python3.9/site-packages/flakeheaven/_patched/_checkers.py", line 63, in make_checkers
    prepare_cache()
  File "venv/lib/python3.9/site-packages/flakeheaven/_logic/_snapshot.py", line 20, in prepare_cache
    path.mkdir(parents=True)
  File "/usr/lib/python3.9/pathlib.py", line 1313, in mkdir
    self._accessor.mkdir(self, mode)
FileExistsError: [Errno 17] File exists: '/root/.cache/flakeheaven'

The prepare_cache function can fail if multiple instances of flakeheaven run it a the same time. https://github.com/flakeheaven/flakeheaven/blob/d0f1254771272a3f950534dec512fba117fce545/flakeheaven/_logic/_snapshot.py#L18=
AFAIK it should be changed to something like this (missing_ok is Python >= 3.8):
def prepare_cache(path=CACHE_PATH):
    if not path.exists():
        path.mkdir(parents=True, exist_ok=True)
        return
    try:
      for fpath in path.iterdir():
          if time() - fpath.stat().st_atime <= THRESHOLD:
              continue
          fpath.unlink(missing_ok=True)  # Could be removed by another instance of flakeheaven
    except OSError:  # Ignore other issues like fpath not existing anymore
        pass

Both changes do make sense, although the code would read funny... Have you tried runnig pre-commit with said modifications? I wonder if there's more of these. Anyway, PRs with proper testing are always welcome!
I believe pre-commit does have a require-serial or similar flag...


ML + Download tab ready

There might be a possibility of version conflicts
I myself had to spend a lot of time trying to make things compatible with each other.

Closes #20 #21


Segfault on startup

./run: line 4:  3927 Segmentation fault      sudo ./champion
Get a segfault after a successful compile.
Using Arch linux kernel  4.18.16-arch1-1-ARCH

Cheat is outdated - latest commit is from April (it's even before Panorama update). I do not plan to continue development so fixing this is up to you.


Too complex to integrate and not enough tutorials

There is too much process involved in integrating the cash app pay and the tutorial is not enough to guide a none dev. Please either use a simple API system that just require few lines of code to show the button and fetch cart price using variables or create a more elaborate tutorial for those who don't use react... just basic HTML, CSS, JS.

Thanks for the feedback. A simple Cash App Pay implementation could look like:
// where the Cash App Pay button will show

// load Web Payments SDK


Are the STL models directly available from the manufacturer?

Hello @tasada038 Takumi
Thank you for your excellent work and for sharing the project with us. I do have a question, though. I visited the manufacturer's website to look for the STL files of separate links to the robot, but I couldn't find them.

Am I looking in the wrong place? Or do I need to convert the files from STEP format? Please clarify this for me.
Thank you once again for your help.
Thank you!

Thanks for your reply, @tasada038
I went through the process, from importing STEP assembly into Fusion 360 to exporting the STL for links.

However, a problem that I was expecting appeared in Rviz because the STL files not only carry the mesh information but also their coordinates. In this case, the coordinates are missing. Look how the problem shows up in Rviz.

You made a great project, but not easily reproducible. I am glad we share the same interest. I tried to connect with you on LinkedIn but did not manage to find you. Please feel free to send me an invitation. Here is my profile. I would like to keep in touch with a professional like you.
If you do not mind sharing the STL files, here is my email<EMAIL_ADDRESS>Thank you!

Thank you for your question @Robotawai
Please accept our sincere apologies for the delay in reply.
Also, the image has been removed due to copyright issues.
The downloaded STEP assembly is oriented with the Y-axis up.
Could you position the COBOTTA_BASE at the origin in Fusion 360 with the Z-axis up and rename file written by READEME.md?
You can set the individual joints of the robot by navigating to Assembly > Joints in Fusion 360.
Please consult the manual for the extent of motion of each individual joint.
Moreover, the default pose angle in Rviz is as follows:
J1, J2, J3, J4, J5, J6 = (0, 0, 90, 0, 90, 0)
The proprietary rights relating to any components or parts manufactured by Development company and used in this product, including but not limited to copyrights, trademarks, and other intellectual property rights, shall remain vested in  Development company.
Therefore, the STL file cannot be redistributed. I'm sorry.
I hope this will help you.
Thank you!


Says that a parent job is finished when it obviously hasn't

This happened when none of the items were successfully queued; maybe I should add special handling for that.


Create data class without default values

Hi, Alexey! Thank you for great lib!
Is there possible to create data class without default values?
Now if try that:
class User extends Data {
  name: string;
  age: number;
}

const user = User.create({ name: "Evlampy", age: 20 });

Then got:
Uncaught (in promise) TypeError: Cannot add property name, object is not extensible

I know it's possible to define class with null values, but it's not same.
The goal is don't define default values in class and prevent instantiating with empty values.

Is there possible to create data class without default values?

Yes, but it requires making sure your TypeScript setup allows it. I described it here in the docs https://dataclass.js.org/guide/caveats.html#optional-keys-and-code-compilation

Uou have to consider ensure following: you're using tsc version 4.3.2 or higher and either your compile target is es2022 or useDefineForClassFields is set to true. You may find this flag being set to false if some dependencies in your system rely on the old behavior of class fields initialization. In any other case, optional properties are going to be missing completely and you won't be able to define them using create() method.

the docs https://dataclass.js.org/guide/caveats.html#optional-keys-and-code-compilation

...seem to describe a way to define optional props:
class Entity extends Data {
  optionalProp?: string;
}

while the request here seems to ask for mandatory properties without defaults, as in https://github.com/alexeyraspopov/dataclass/issues/9
I see that in 2019 it was deemed impossible, but I don't understand the reasoning provided ("In JavaScript it's not possible because Babel removes class fields with no value"), as JS certainly supports class fields with no values and I can write what I want in TypeScript:
class User {
	name: string;
	age: number;
	constructor(name: string, age: number) {
		this.name = name;
		this.age = age;
	}
}
const u = new User("John", 21);

I was hoping dataclass would save me the constructor boilerplate in this case...


A more direct way to input pyansys results into wxpython。

class View3D():
	def __init__(self,filename = examples.hexarchivefile):
                archive = pyansys.Archive(filename)
                self.grid = archive.parse_vtk(force_linear=True)
	def wxVTKRenderWindowConeExample(self,frame):
		widget=wxVTKRenderWindow(frame,-1) #the frame is wx.frame  or wx.panel  and so on
		ren=vtk.vtkRenderer()
		widget.GetRenderWindow().AddRenderer(ren)
		plotter = pv.Plotter()
		actor = plotter.add_mesh(self.grid.copy(True),show_edges=True)
		ren.AddActor(actor)

you could ：
import pyvista as pv
from vtk.wx.wxVTKRenderWindow import wxVTKRenderWindow

Hello,
I'm pinging you on this closed issue because GitHub doesn't have an email address for you.
ANSYS is busy improving and extending pyansys.  As an existing user, we are interested in learning about your experience and opinions using this package.  Most notably:

What is your application?
How does pyansys facilitate your work?
What new pyansys features or improvements would you find valuable?
Your feedback will help us prioritize our investments and make pyansys even better.

On behalf of the pyansys development team, I look forward to hearing any feedback from you as it will be used to improve and advance pyansys.
Feel free to respond here to this issue, or email me at<EMAIL_ADDRESS>Alex Kaszynski


export_example.py empty output file

After running example "export_example.py" I got "my_export.json" in the same directory but it was empty. What could be wrong?

@evgenibers which version of chatterbot are you using?

I also ran into this issue using Chatterbot installed with pip.
Apparently changing json.dumps() to json.dump() on chatterbot.trainers fix this.

I, likewise, ran into this issue.
The change from json.dumps() to json.dump() solved the empty file problem.
However, I got the UnicodeEncodeError: 'ascii' codec can't encode character u'\xbf' in position 2: ordinal not in range(128)... when I used Spanish
I solved this by adding decode() in the _generate_export_data() function of chatterbot.trainers, as follows:
result.append([response.text.decode("utf-8"), statement.text.decode("utf-8")])


Composition of progams

We should implement the composition of two finalized programs (1 → 1). How should this be done?
Approach 1: Unfinalize, combine, refinalize
Trivially correct. The type of witness nodes may change if there were any free variables (that were mapped to unit) in either program. This could confuse users.
Approach 2: Unify finalized programs
Potentially more efficient. Should work if the type pointers of both programs don't overlap (they come from different Contexts)? What are the conditions that this works? Do we refuse to unify if these conditions are not satisfied?
What happens if unification fails? AFAIU, the current algorithm tries to greedily unify until it gets stuck. Any bindings that are created in the process stay. Unification for composition should be atomic.

I think we should only allow composition of unfinalized programs CommitNodes .... I think once you have a RedeemNode this should basically be an immutable object.
If we support composing redeemnodes we also need to think about what to do with witnesses.


Can't drop in ANY .mca file into chunk viewer on ANY browser

I cannot upload/drag in any .mca files on any browser into the Minecraft chunk viewer. I get the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'forEach')     at bundle.js:45:442507     at bundle.js:45:442561     at t._onDataLoaded (bundle.js:45:442608)     at FileReader.i.onload (bundle.js:45:443870)

I also encountered this problem.
However, demo web page works well when I drop a mca file from version 1.7.10.
It's said that MOJANG changed the storage format after 1.18.
I don't know if this is the root of the problem.
Hope this will help you.


allow passing port to factory

My speaker is at port 56001, so this allows me to override it from the API

Ping?

thanks @kusma !


[AKS] Trusted Access Role Binding CLI

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

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

AKS

Could you add some tests for those new commands?

The resource has not been deployed to prod regions so currently there's no way to test the commands.

@wangzelin007 @zhoxing-ms could you help a merge?


Avoid loading popper.js.map

I'm importing Popper and compiling it using Webpack (Laravel Mix):
import Popper from 'popper.js';
window.Popper = Popper;

Sadly I see browsers trying to download popper.js.map which isn't present on the server. How can I include popper without the reference to the map?

This is probably a question for webpack or laravel.
The source maps are provided together with the builds. So they should get included automatically.

@tillkruss
It's been a while but I was finally able to fix this issue myself by excluding source maps for Popper.js.
https://stackoverflow.com/a/49946403/3446655
I wanted to share this for anyone else who might land here looking for a solution.


removed apps/ and moved subdirs up one level

Release note:

<PLEASE PUT RELEASE-NOTE HERE, PUT NONE if NO RELEASE-NOTE>
NONE

folder re-org changes of PR #893

/lgtm

/lgtm
poking the bot.

Reviewers: it's part of your job to check for release notes, proper description of risk/benefits and not rush changes in 1h unless there is a huge fire

This is a simple reshuffling of code to get rid of an annoying extra directory. I don't think it warrants release notes.

no it also change the optics, making "istio rules" now appear like "kube/" rules just because the consul implementation doesn't understand or is unable to normalize some parts of them
the reference platform should still be k8s in 0.2 and the others can be deltas/on the side
this was rushed and should not have been
cc @smawson

the optics have already changed because you approved the PR that first introduced Consul rules https://github.com/istio/istio/pull/681. [Not sure if you paid any attention to "optics" there].
If you by chance take a look at the design and docs. Namespace field is a clear kubernetes hack. Also, consul has its own DNS domain, which necessitates different rules with just minor changes between them.
In my opinion, this PR was merely adding the missing rules and reorganizing the clutter.


Allow to add manufacturer specific data to advertisement data #2

I accounted for the comments in the last pull request.
The method is now called startAdvertisingWithOptions.

Closing for now until OS X CoreBluetooth/blued supports this feature.