(kubernetes-kustomize) Added AU automatic package

Description
Added new automatic package for kustomize, more or less copying the package format of kubernetes-kompose.
Motivation and Context
This is a "new" tool that's becoming popular with Kubernetes and there was no easy installation method yet.
How Has this Been Tested?
Just locally as it's basically a copy of kubernetes-kompose.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[x] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

@wkritzinger are you able to fix the requested changes?
I'm afraid we cannot accept this PR until the requested changes is fixed.

Hey! Thanks for the detailed instructions on how to get it accepted. I'll
be able to fix it, but I haven't had a lot of free time lately. I'll make
time for it soon!
On Fri, Dec 7, 2018, 18:19 Kim J. Nordmo<EMAIL_ADDRESS>wrote:

@wkritzinger https://github.com/wkritzinger are you able to fix the
requested changes?
I'm afraid we cannot accept this PR until the requested changes is fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chocolatey/chocolatey-coreteampackages/pull/1121#issuecomment-445302686,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAckYLYeCZQ_t1KnIgkDfsdY6GDMvf8_ks5u2qMugaJpZM4XNBVZ
.

Closed due to no activity.


Not able to generate Dependency Graph on Dependency Tracker with sbom generated with cdxgen

Hi @prabhu
I am not able to get the Dependency Graph when I upload the sbom generated through cdxgen tool using the below command:
cdxgen -r -p -o bom.json  --server-url https://dependencytracker.example.com/ --project-name example-project --api-key example-key --project-version 2.1
OR
cdxgen -t java -o bom.json  --server-url https://dependencytracker.example.com/ --project-name example-project --api-key example-key --project-version 2.1
When I am generating the sbom using the plugin in pom.xml, the dependency graph is then visible in dependency tracker.
Also, when I am using -p the dependency tree is getting printed on my cli but now showing up on Dependency tracker.

@abhinavsaxena-webengage could you share the bom.json generated? I suspect the metadata.component.name is not getting overridden correctly.

Can you try with --spec-version 1.4 ?

Dependency Track assumes that every tree would start with a single root component. Often the root component could be unknown since it could be in a separate repo or a folder or based on an iac deployment.

A solution to this that I've found is to make the "root component" in the dependencies have the bom-ref from metadata.tools.component.bom-ref.  Then all ref objects point to a single root object, which handles all your danglies multiple trees.
It adds an extra layer to the dependency graph, but it also adds some protection as you can check to make sure that the root most dependency ref is what's in the metadata.
You would need a check to make sure you're not circular nesting, for example if you had the metadata bom-ref and an isolated tree somehow at the root, but in that case it should be easy enough to just find all of the root most dependenices and skip the metadata bom-ref.

@gbennett-squarespace, we have a postgen script that can be used to add this logic. https://github.com/CycloneDX/cdxgen/blob/master/postgen.js
Could you send a PR? We can make this the default for dependency track users (look for project and API key arguments) if enough people agree.

i faced the same issue and tried to find the root cause. I found out the "Dependency Graph" was not generated due to specifying '--project-version' in the cdxgen command.
command used:
cdxgen -t go -o sbom.json --server-url http://localhost:8081 --project-name "test" --project-version PROD --api-key <REDACTED>
when "project-version" is specified, the output bom.json "component" root node "bom-ref" will be changed, hence the tree is not displayed
{ 	"bomFormat": "CycloneDX", 	"specVersion": "1.5", 	"serialNumber": "urn:uuid:99c62ff8-223c-4f3a-af74-cf8a7a506bae", 	"version": 1, 	"metadata": { 		"timestamp": "2024-12-17T05:25:10Z", 		"tools": { 			"components": [...] 		}, 		"authors": [...], 		"lifecycles": [..], 		"component": { 			"group": "prod", 			"name": "test", 			"version": "PROD", 			"type": "application", 			"bom-ref": "pkg:application/prod/test@PROD", 			"purl": "pkg:application/prod/test@PROD" 		},


Pre-configured apps

Example how to create and use pre-configured apps/app templates

@johannges IIRC these are the docs we discussed yesterday :)


Move the proofs of bisimilarity core laws into separate theories

Currently the proofs of the bisimilarity core laws of the basic and the proper transition system are part of the theories Basic_Transition_System and Proper_Transition_System respectively. Our plan is to move them into new, dedicated theories Basic_Bisimilarity_Core_Laws and Proper_Bisimilarity_Core_Laws.

Meanwhile, we’re using the Þ-calculus instead of the Þ-calculus instead of the ♮-calculus, and the Þ-calculus has those core laws in a separate theory. Therefore, I’m closing this issue.


[cudamapper] Create public interface for IndexDescriptor

As discussed in #508, the read grouping functionality of the IndexDescriptors is useful for creating batches for cudamapper. It should have an entry point to use in the public interface

Duplicate of #517 , closing this


Adios_plugin exception handling

Building the adios_plugin under Ubuntu (20.04.2 LTS) yields the following error:
no matching function for call to 'std::exception::exception(const char [42])'
thrown in line 475 CallADIOSData.h: throw std::exception("[CallADIOSData] Conversion not supported.");
It seems the std::exception constructor with the string argument is a MSVC extension and is not available on ubuntu.

Also, ubuntu is not able to find std::transform without adding "#include " in CallADIOSData.h

Fixed in e95c68a9b983e92330609fe2ceb53c83f3313c7e


Add more detail on agent

The current README references a non-existent file in examples, so I've pointed to the right file. I've also added clarification on how the agent runs and other minor things 😃

Thanks for reviewing @euank. I've made the suggested changes.


Fix crash when emitting force-unwrap-and-call expression for optional ObjC methods

Due to some changes in how the AST is constructed by CSApply to handle
global actors from @preconcurrency declarations, the AST for a force-call to
an optional ObjC method that is part of a global-actor qualified protocol, such as:
import Foundation

@mainactor
@objc protocol P {
  @objc optional func generateMaybe() async
}

extension P {
  func test() async -> Void {
        await self.generateMaybe!()
    }
}

now contains a function conversion in between the forced-value operation and the dynamic-ref:
(force_value_expr type='@mainactor () async -> ()'
  (optional_evaluation_expr implicit type='(@mainactor () async -> ())?'
    (inject_into_optional implicit type='(@mainactor () async -> ())?'
      (function_conversion_expr implicit type='@mainactor () async -> ()'   <<<<< new!
        (bind_optional_expr implicit type='() async -> ()'
          (dynamic_member_ref_expr type='(() async -> ())?' ... )))))

For compatibility with how ObjC does message sends to these optional methods, in Swift there
is a difference between how something like a.method!() and the following are compiled:
let meth = a.method!
meth()

The former will directly call the optional method and let the "unknown selector" error be emitted
if it's not implemented. But the latter will query the dynamic method and inject that result into an
Optional<...> to then be forced, yielding a "force-unwrap nil" error. It's a subtle difference but
those two scenarios lead to different code paths in SILGen.
Now, this patch fixes the issue by enhancing the recognition of these direct call scenarios so that it
can look past these function conversions. Because that recognition already tries to ignore implicit
conversions, this is not something new. The problem was that we weren't considering implicit conversions
between the optional-evaluation and bind-optional expressions.
This patch is intentionally precise about what kind of function conversions can be skipped, because I
do not know if all of them are OK to blindly skip or not. We might need to expand that in the future.
Resolves rdar://97646309

@swift-ci please test

@swift-ci please test

@swift-ci please smoke test


Wierd line under the control buttons + local variables pane hides after i close the code-runner terminal, almost no space left for the actual code

I was thinking of how to hide this line for a while but didn't come up with a worthy solution

I have code-runner installed so i execute code before debugging it, after the lower pane appear the locals hide and i have to manually close the code-runner terminal, when i do so, there is really almost no space for the actual code

Is there an option to redraw the dap-ui or something similar, because toggling doesn't help obviously, thx in advance...

I had a similar problem but after the debugging session ended and the dap-UI is closed. The neo-tree became over-sized. I resolved it by invoking a WinClosed-autocmd or hooking into the dap listeners to reset certain windows dimensions to hardcoded values when a specific buffer is closed. More.
It's a bit crude in my opinion but saves a lot of frustration (the example is with toggle-term & quickfix-list but can be adapted). dap.listeners.after.event_initialized["dapui_config"] = callback_fn might trigger at the appropriate time in your situation.

Gotta try that one, seems like this might work for me, good work bruv


Update test cases for Person Model

Codecov Report

Merging #352 (b9e37ba) into master (c995f19) will increase coverage by 0.95%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #352      +/-   ##
============================================
+ Coverage     59.01%   59.97%   +0.95%
- Complexity      762      781      +19
============================================
  Files           138      138
  Lines          3133     3133
  Branches        409      409
============================================
+ Hits           1849     1879      +30
+ Misses         1198     1172      -26
+ Partials         86       82       -4

Impacted Files
Coverage Δ

.../java/seedu/awe/model/person/UniquePersonList.java
100.00% <0.00%> (+11.36%)
:arrow_up:

src/main/java/seedu/awe/model/person/Name.java
100.00% <0.00%> (+14.28%)
:arrow_up:

src/main/java/seedu/awe/model/person/Phone.java
100.00% <0.00%> (+15.38%)
:arrow_up:

...n/java/seedu/awe/logic/commands/CommandResult.java
100.00% <0.00%> (+24.13%)
:arrow_up:

src/main/java/seedu/awe/model/person/Person.java
100.00% <0.00%> (+30.43%)
: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 c995f19...b9e37ba. Read the comment docs.


[BUG] [web-test-runner-plugin] Test runner does not accept exclude options properly

Bug Report Quick Checklist

[x] I am on the latest version of Snowpack & all plugins.
[x] I use package manager npm
[x] I run Snowpack on OS Mac
[x] I run Snowpack on Node.js v12+

Describe the bug
For some reason web-test-runner places files like myComponent.css.proxy.js in the final coverage report. But when trying to open that file I get the following error:
Unable to lookup source: /frontend/dist/common/IconCommon.css.proxy.js (ENOENT: no such file or directory, open '/frontend/dist/common/IconCommon.css.proxy.js')
One way to "fix" it is to add it to exclude options, but why such files are in the coverage report in the first place?
To Reproduce
We can't fix bugs that we can't see for ourselves. Issues often need to be closed if this section is skipped.

npx create-snowpack-app snowpack-tests-sourcemap --template @snowpack/app-template-react-typescript
add --coverage option to npm test in package.json
run npm test
open coverage html file and go to snowpack-tests-sourcemap/coverage/lcov-report/
See that test.tsx files are included in the coverage report.

Expected behavior
Coverage report should not include test files themselves out of the box. When I've tried to exclude them manually via
exclude: [
	'**/*.test.js',
],

in my web-test-runner.config.js it does not work.
What I needed to do is to add:
buildOptions: {
	sourcemap: true
}

to snowpack.config.js.
This is not documented anywhere and it should be provided by the plugin itself.

Hi, I've attempted a replication here. I also could not get exclude to work but I also couldn't get it to work with the sourcemap options on or off. https://github.com/melissamcewen/snowpack-repros/tree/issue-2849/issue-2848
Let me know if I did something wrong.
Related: #2848

I cannot find why it works in my project.
In the project created with npx create-snowpack-app snowpack-tests-sourcemap --template @snowpack/app-template-react-typescript it does not work at all. I mean the exclude option does not work no matter what I do.


METRON-1075: Add faceted search capabilities

Contributor Comments
This PR adds faceted search to indexing DAO.  This can be tested in full dev with Swagger.  When searching with the "/api/v1/search/search" endpoint adding a "facetFields" property with a list of fields as the value will return facet counts for those fields.  For example, for this request:
{
  "facetFields": [
    "ip_src_addr"
  ],
  "from": 0,
  "indices": [
    "bro", "snort"
  ],
  "query": "*",
  "size": 5
}

A "facetCounts" property will be added to the result, looking similar to:
"facetCounts": {
    "ip_src_addr": {
      "<IP_ADDRESS>": 1913,
      "<IP_ADDRESS>": 2159,
      "<IP_ADDRESS>": 45167,
      "<IP_ADDRESS>": 82,
      "<IP_ADDRESS>": 120,
      "<IP_ADDRESS>": 30771,
      "<IP_ADDRESS>": 11513,
      "<IP_ADDRESS>": 3793,
      "<IP_ADDRESS>": 767
    }
  }

If the "facetFields" property is left out, the search will function the same.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1 works as described.  Great Job!


Cloudflare Worker - ReferenceError: process is not defined

Using @workos/node v7.14 in a cloudflare worker locally using wrangler dev and being given an error.
using node 22
wrangler 3.65.1
ReferenceError: process is not defined
at new WorkOS2
  (file:///Users/danjenkins/<path>/node_modules/@workos-inc/node/lib/workos.js:47:24)
      at new WorkOSWorker
  (file:///Users/danjenkins/<path>/node_modules/@workos-inc/node/lib/index.worker.js:34:1)
      at Array.<anonymous>

Am I meant to use compatibility modes in cloudflare workers?

Worked it out, I was passing undefined to the WorkOS constructor... so it would end up getting into a bit of codebase where process was indeed not defined. Feels like the module shouldn't get to that point though!

My guess is you ran afoul of this line here: https://github.com/workos/workos-node/blob/main/src/workos.ts/#L57
We should add a check on whether process is defined there and bail if it isn't. I'll leave this issue open as a reminder to fix that. Thanks!

This should be fixed start in v7.20.0. Closing this issue out, but feel free to open another issue if you're still seeing errors. Thanks again for the report!


Add log entry's Operation class and tests

Coverage increased (+0.04%) to 84.261% when pulling d5cac933a9cbf34f3e6f874d20b569236edaec5c on mziccard:logging-operation into 48971b2f0bf6c424a919fdec9a09f914aa471fc4 on GoogleCloudPlatform:logging-alpha.

/cc @lesv

LGTM


added search in rotated sorted array folder and updated data.json

@shivam8112005 Please create an issue first. Once you're assigned, feel free to open a Pull Request (PR). Be sure to follow the contribution guidelines properly. And don’t forget to star this repo if you haven't already! ⭐ Thank you!


Using stylus, not very well working.

When i tried to replace sass loader with stylus, then everything works in development but in production version, images and fonts will be broken, also i get error
[webpack-isomorphic-tools] [error] asset not found: ./src/views/styles/main.styl
[webpack-isomorphic-tools] [error] asset not found: ./src/views/styles/allposts.styl
Like its not finding files even they are there.
There is a code in webpack isomorphic tools, that should find files ending with ss, like sass ,css,
tried replacing ss with  yl, still same error.
    if (options.environment === 'production') {           return regex.test(m.name);         }         return (regex.test(m.name) && m.name.slice(-2) === 'ss' && m.reasons[0].moduleName.slice(-2) === 'ss');       },

did not see there already is fix for that.


Wrong OID in the schema when adding attribute

Hello,
I'm currently trying to send a csr to a Microsoft PKI.
For some reason when I set the attribute this way:
pkcs10_simpl.attributes.push(new org.pkijs.simpl.ATTRIBUTE({type: "<IP_ADDRESS>.4.1.3<IP_ADDRESS>", values: [new org.pkijs.asn1.UNIVERSALSTRING({ value: "CertificateTemplate" }), new org.pkijs.asn1.UNIVERSALSTRING({ value: "AL_WIFI_Users_NotWindows" })]}));
when I run the code in debug mode the schema contains this list of SID value block:
43,6,1,4,1,311,13,2,1
Is this normal?

The PKIjs made the way when you should not borther about internal coding. Yes, SID array is correct. If you would like to know more about OID encoding and ASN.1 feel free to read my article.

Hello,
Sorry for my mistake.
As I said, I'm fairly new to these things.
I'm currently using PKI.js (for a customer) to enroll Google Chromebook users in a Microsoft PKI using MS-XCEP/MS-WSTEP.
And in order to do that I need to generate a CSR from scratch.
So far so good..
But then I need to add the attribute "CertificateTemplate" attribute and that's where I'm failing..
I always get the message "The request (CSR) does not contain a certificate template extension or the CertificateTemplate request attribute".
Looking at Microsoft documentation, attribute architecture should look like this:
//beginning
30 42				; SEQUENCE (42 Bytes)
|  06 0a				; OBJECT_ID (a Bytes)
|  |  2b 06 01 04 01 82 37 0d  02 01
|  |     ; <IP_ADDRESS>.4.1.3<IP_ADDRESS> Enrollment Name Value Pair
|  31 34				; SET (34 Bytes)
|     30 32			; SEQUENCE (32 Bytes)
|        1e 26			; UNICODE_STRING (26 Bytes)
|        |  00 43 00 65 00 72 00 74  00 69 00 66 00 69 00 63  ; .C.e.r.t.i.f.i.c
|        |  00 61 00 74 00 65 00 54  00 65 00 6d 00 70 00 6c  ; .a.t.e.T.e.m.p.l
|        |  00 61 00 74 00 65                                 ; .a.t.e
|        |     ; "CertificateTemplate"
|        1e 08			; UNICODE_STRING (8 Bytes)
|           00 55 00 73 00 65 00 72                           ; .U.s.e.r
|              ; "User"
//end
Have you ever encountered such an issue?
And if not, do you have any idea on how to proceed?
Thank you,

My time is my money. If you would like to hire me then I can think about it but now I am busy at least for nearest two months.

I understand that. :)

Do you at least have an example of how to add an attribute to a csr?
because there is no example of that.
Le 7 mai 2015 18:28, "Yury Strozhevsky"<EMAIL_ADDRESS>a écrit :

My time is my money. If you would like to hire me then I can think about
it but now I am busy at least for nearest two months.
—
Reply to this email directly or view it on GitHub
https://github.com/GlobalSign/PKI.js/issues/36#issuecomment-99929220.

I do not know what is it - "attribute in CSR".

I meant adding attributes in a pkcs10 certificate signing request..
Le 7 mai 2015 19:54, "Yury Strozhevsky"<EMAIL_ADDRESS>a écrit :

I do not know what is it - "attribute in CSR".
—
Reply to this email directly or view it on GitHub
https://github.com/GlobalSign/PKI.js/issues/36#issuecomment-99960012.

Please create a CSR with certreq.exe that looks like you want and paste it here.

Hello,
Here is the request and the inf file that I used to generate it.
Brice Nandi
*Deployment Engineer @ *

revevol*
Revevol France SAS
mobile: +33 <IP_ADDRESS>.01

2015-05-08 1:23 GMT+02:00 Ryan Hurst<EMAIL_ADDRESS>
Please create a CSR with certreq.exe that looks like you want and paste it
here.
—
Reply to this email directly or view it on GitHub
https://github.com/GlobalSign/PKI.js/issues/36#issuecomment-100045593.

My bad, it does not send attachment..
Here it is:
-----BEGIN NEW CERTIFICATE REQUEST-----
MIIEmzCCA4MCAQAwQjEeMBwGA1UEAxMVc29tZXRoaW5nLmV4YW1wbGUuY29tMRMw
EQYDVQQKEwpFeGFtcGxlIENvMQswCQYDVQQGEwJVUzCCASIwDQYJKoZIhvcNAQEB
BQADggEPADCCAQoCggEBAMmqT+mGH3W+MP4DHmCWnfgflbU/5hRBARrLFxXQxdcy
i3CYJSgZ2tGE50fZkSp/TMNAgCbe6t2ZzsFg9OlRWn2KIHepzqXdNbgVM8sgd0gh
ImDZX8cSnKrxg2FySkxz2Xoso5mdsX22/os0nlmVYrFCFXrW8AQWbg7bF4stnyDk
Vwx4ruZCqznN/kr3fBxwiw0hGjE1qScRc4eZyAmXk4MWhw6KQHQR4fEwBzcB8Q9j
8+e0UUMCLHGEQbw7AqlYwcRVdEWzm3ypsVf8Y7PBU+NYQA7LDRbaDfyBhdkhHmJc
1SU44+4bLaUvymGb81dVAW13ChbfuPblKxKuXLpM7HUCAwEAAaCCAhIwGgYKKwYB
BAGCNw0CAzEMFgo1LjIuMzc5MC4yMEIGCSsGAQQBgjcVFDE1MDMCAQEMDmRjLnJl
dmV2b2wuY29tDBVSRVZFVk9MXEFkbWluaXN0cmF0b3IMB2NlcnRyZXEwga8GCSqG
SIb3DQEJDjGBoTCBnjAdBgNVHQ4EFgQUIAx/Rb+mElqephfawdPD2pE8/ZEwHAYJ
KwYBBAGCNxUKBA8wDTALBgkrBgEEAYI3FRMwPQYJKwYBBAGCNxUHBDAwLgYmKwYB
BAGCNxUIhcOPQYX58myCgYc/hae7Bob1D4EUhJKzU4WK4l8CAWUCAQAwEwYDVR0l
BAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMIH9BgorBgEEAYI3DQICMYHuMIHr
AgEBHloATQBpAGMAcgBvAHMAbwBmAHQAIABSAFMAQQAgAFMAQwBoAGEAbgBuAGUA
bAAgAEMAcgB5AHAAdABvAGcAcgBhAHAAaABpAGMAIABQAHIAbwB2AGkAZABlAHID
gYkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADANBgkq
hkiG9w0BAQUFAAOCAQEAuKPwAqKfftDCRQRoM95FBvHtKgGBj1PXvyomjIwE5TqU
szOMV/ASJN174/nGc+myvO5Yb0T5QfdjTVUSjjHbxhQqR8quSvUh17+kRAFqB1X1
0ja5PQtTsNyPnyulW1DHyzikRVkEcCR9LI/PGD4+bBSCsJfEP5NIkuRy3W7ClQQ3
ctgbgnTgHFLFGrkU9/uQVVsWAz3KBqBva3/SDSOeWXkBL9tb5qDTutT8/BgywjGa
h5phv4JjI92cSVxtXcptS1HH8pUcfvEBvgtOvmjETn0MgdSfV1xfWKj0Xm7JomXY
BnQQFahJyugd/KoD5OI1bRCG36XBNRbw/zCNXeOWmg==
-----END NEW CERTIFICATE REQUEST-----
INF file:
;----------------- request.inf -----------------
[Version]
Signature="$Windows NT$"
[NewRequest]
;Change to your,country code, company name and common name
Subject = "C=US, O=Example Co, CN=something.example.com"
KeySpec = 1
KeyLength = 2048
Exportable = TRUE
MachineKeySet = TRUE
SMIME = False
PrivateKeyArchive = FALSE
UserProtected = FALSE
UseExistingKeySet = FALSE
ProviderName = "Microsoft RSA SChannel Cryptographic Provider"
ProviderType = 12
RequestType = PKCS10
KeyUsage = 0xa0
[EnhancedKeyUsageExtension]
OID=<IP_ADDRESS>.<IP_ADDRESS>.1 ; this is for Server Authentication / Token Signing
[RequestAttributes]
CertificateTemplate = AL_WIFI_Users_NotWindows ;
;-----------------------------------------------
Brice Nandi
*Deployment Engineer @ *

revevol*
Revevol France SAS
mobile: +33 <IP_ADDRESS>.01

2015-05-08 14:43 GMT+02:00 Brice Nandi<EMAIL_ADDRESS>
Hello,
Here is the request and the inf file that I used to generate it.
Brice Nandi
*Deployment Engineer @ *

revevol*
Revevol France SAS
mobile: +33 <IP_ADDRESS>.01

2015-05-08 1:23 GMT+02:00 Ryan Hurst<EMAIL_ADDRESS>
Please create a CSR with certreq.exe that looks like you want and paste
it here.
—
Reply to this email directly or view it on GitHub
https://github.com/GlobalSign/PKI.js/issues/36#issuecomment-100045593.

This is an invalid encoded request.

Hello,
What do you mean by "invalid"?
Certreq did all the work..
Le 8 mai 2015 14:57, "Yury Strozhevsky"<EMAIL_ADDRESS>a écrit :

This is an invalid encoded request.
—
Reply to this email directly or view it on GitHub
https://github.com/GlobalSign/PKI.js/issues/36#issuecomment-100224791.

OK so I am not sure which part of the P10 Yury is saying is Invalid but he is seldom wrong on such things, with that said it its what certreq produces valid or not clients need to support it.
First lets look at your P10 in a pretty print:
http://lapo.it/asn1js/#3082049B308203830201003042311E301C06035504031315736F6D657468696E672E6578616D706C652E636F6D31133011060355040A130A4578616D706C6520436F310B300906035504061302555330820122300D06092A864886F70D01010105000382010F003082010A0282010100C9AA4FE9861F75BE30FE031E60969DF81F95B53FE61441011ACB1715D0C5D7328B7098252819DAD184E747D9912A7F4CC3408026DEEADD99CEC160F4E9515A7D8A2077A9CEA5DD35B81533CB207748212260D95FC7129CAAF18361724A4C73D97A2CA3999DB17DB6FE8B349E599562B142157AD6F004166E0EDB178B2D9F20E4570C78AEE642AB39CDFE4AF77C1C708B0D211A3135A92711738799C80997938316870E8A407411E1F130073701F10F63F3E7B45143022C718441BC3B02A958C1C4557445B39B7CA9B157FC63B3C153E358400ECB0D16DA0DFC8185D9211E625CD52538E3EE1B2DA52FCA619BF35755016D770A16DFB8F6E52B12AE5CBA4CEC750203010001A0820212301A060A2B0601040182370D0203310C160A352E322E333739302E32304206092B0601040182371514313530330201010C0E64632E72657665766F6C2E636F6D0C1552455645564F4C5C41646D696E6973747261746F720C07636572747265713081AF06092A864886F70D01090E3181A130819E301D0603551D0E04160414200C7F45BFA6125A9EA617DAC1D3C3DA913CFD91301C06092B060104018237150A040F300D300B06092B0601040182371513303D06092B06010401823715070430302E06262B060104018237150885C38F4185F9F26C8281873F85A7BB0686F50F81148492B353858AE25F02016502010030130603551D25040C300A06082B06010505070301300B0603551D0F0404030205A03081FD060A2B0601040182370D02023181EE3081EB0201011E5A004D006900630072006F0073006F00660074002000520053004100200053004300680061006E006E0065006C002000430072007900700074006F0067007200610070006800690063002000500072006F007600690064006500720381890000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300D06092A864886F70D01010505000382010100B8A3F002A29F7ED0C245046833DE4506F1ED2A01818F53D7BF2A268C8C04E53A94B3338C57F01224DD7BE3F9C673E9B2BCEE586F44F941F7634D55128E31DBC6142A47CAAE4AF521D7BFA444016A0755F5D236B93D0B53B0DC8F9F2BA55B50C7CB38A445590470247D2C8FCF183E3E6C1482B097C43F934892E472DD6EC295043772D81B8274E01C52C51AB914F7FB90555B16033DCA06A06F6B7FD20D239E5979012FDB5BE6A0D3BAD4FCFC1832C2319A879A61BF826323DD9C495C6D5DCA6D4B51C7F2951C7EF101BE0B4EBE68C44E7D0C81D49F575C5F58A8F45E6EC9A265D806741015A849CAE81DFCAA03E4E2356D1086DFA5C13516F0FF308D5DE3969A
For your project its important to understand that there are several "versions" of the certificate template extension. The first version used plain strings to communicate what type of certificate to request. The later version (v2) supported versions and used unique IDs to name the templates. If your woking with WSTEP clients you can just do the more complicated one as you wont have interoperability issues since those clients that support WSTEP* will be happy with the newer version.
Looking at your P10 the v2 template is the one numbered "<IP_ADDRESS>.4.1.311.21.7" and looks like this:
OBJECT IDENTIFIER<IP_ADDRESS>.4.1.311.21.7
OCTET STRING(1 elem)
SEQUENCE(3 elem)
OBJECT IDENTIFIER<IP_ADDRESS>.4.1.3<IP_ADDRESS>85473.12482924.4211647.11132294.113295.148.8690131.10662…
INTEGER101
INTEGER0
You will notice it is contained within a PKCS#9 extension request (1.2.840.1135<IP_ADDRESS>) which itself is a SET (https://tools.ietf.org/html/rfc2986).
As you have found we do not yet provide an example of how to add request attributes,

Hello Ryan,
Thank you for all the information, I'll try to work from that.
And will provide you with the example when (if  :) ) I get it to work.
Thanks again. :)
ps: Just so you know, the fact that pki.js uses Webcrypto standards, makes it easier to integrate with Google "chrome.enterprise.platformKeys" api which makes it (to my opinion) the best alternative right now.


Open Folder: Unable to select folder when shown on left side of tray

OS: Windows 11
SyncTrayzor: v1.1.29

Setup: Arrange the SyncTrazor Icon close to the right of the screen.
Right click on the SyncTrazor Icon.
Fly over "Open Folder".  The folder names will be expanded.
If the folder name(s) expand to the left, attempting to move the mouse to select a folder closes the folder selections before you can make a choice.
If the folder name(s) expand to the right, you must arrange the SyncTrazor icon closer to the right to reproduce the problem.  Creating a long folder name may also do the trick.
There is no problem if the folder name(s) expand to the right.

I'm just using a native Windows menu I'm afraid - there's nothing I can do to change the behaviour here. Sorry!

Perhaps report the problem to Microsoft, I wouldn't know how.  Thank you.  Feel free to close.

Is this position of the icon what you mean by close to the right of the screen?

I had replied to the email, but don't see it here, so I will answer again ...
Yes, that is the location.  Were you able to select a folder to open when they listed on the left side like this?

Yes, I have no problem
On Mon, Jul 18, 2022, 19:29 Rob Mahn @.***> wrote:

I had replied to the email, but don't see it here, so I will answer again
...
Yes, that is the location. Were you able to select a folder to open when
they listed on the left side like this?
—
Reply to this email directly, view it on GitHub
https://github.com/canton7/SyncTrayzor/issues/713#issuecomment-1187286211,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTCUXPDKTI4SVDAAXPOT6TVUVE3NANCNFSM52RIHR2A
.
You are receiving this because you commented.Message ID:
@.***>


Decompose packages: spect-core, spect-dom, spect-collection

To feel good about using spect as dependency, it should be tiny, fast, reliable.
Having that a really trivial $- like thingy, assigning aspects to elements, with pluggable effects seems perfect.
Use aspects by default, plug in required effects on demand.

[x] - spect - single-target aspects/effects with pubsub mechanism

[ ] spect-core - no-effects raw core (use + run), unusable by itself, only for extension

[ ] spect-util - timeouts, rafs etc - various effects
[ ] - spect-dom - dom effects

[ ] - spect-css
[ ] - spect-html
[ ] - ...

[ ] spect-hooks - react hooks for aspects. Easy peasy.
[ ] spect-audio - spect effects for audiojs.
[ ] spect-worker - put aspect into a web-worker, effects are async anyways.
[ ] spect-cookies - cookies domain
[ ] spect-local
[ ] spect-router

Plugins

spect-route - provide global navigation effect.

spect-request - async request provider.

spect-observe - selector observer.

spect-isect - intersection observer.

[ ] local(value?)

[ ] watch

[ ] route

[ ] isect(fn, target?)

[ ] i18n

[ ] resize

Community

spect-react - render react components in spect.
spect-redux - use state hooks, connected to redux store.
spect-gl - enable layers for gl-canvas element.
spect-a11y - enable a11y props for the element.
spect-dataschema - provide dataschema props for the element.
spect-meta - set document meta props.
spect-uibox

Ok, separate effects are fine, but registering a bunch of packages must be done via org, but the org is blocked. So keep that to #36


Only close active consumer for Failover subscription when seek().

Related to #5278
Motivation
Only close active consumer for Failover subscription when seek().
Verifying this change
Unit tests added
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): ( no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Cancellation

Handle CTRL+C this should not crash the program.
Gracefully shutdown connections and display summary message

added CTRL+C handling for TCP/UDP clients


Add validation of the obs files to ctests

Description
ufo-data validates the obs files in the tests; it would be good to have the same for the obs files in fv3-jedi-data.

I've added validation like in ufo-data in this branch: https://github.com/JCSDA-internal/fv3-jedi-data/tree/feature/validate_obs_files.
A lot of files (51 / 55 tests) are failing with errors on validation. The errors are non-trivial and fixing each of the files would require dedicated work. I don't think we'll be able to turn this on any time soon, moving to the Icebox and keeping the branch for future use.

Closing: I think it's unrealistic in the near future. Please reopen if needed.


Proof of concept to replace jackson-databind with GSON

Description
Replaces jackson-databind with GSON
Issues Resolved
https://github.com/opensearch-project/opensearch-plugins/issues/211 for this plugin
Check List

[X] New functionality includes testing.

[X] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1411 (ee75116) into main (cd95bc5) will decrease coverage by 0.05%.
The diff coverage is 88.57%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #1411      +/-   ##
============================================
- Coverage     98.38%   98.34%   -0.05%
- Complexity     3693     3695       +2
============================================
  Files           343      343
  Lines          9107     9121      +14
  Branches        585      587       +2
============================================
+ Hits           8960     8970      +10
  Misses          142      142
- Partials          5        9       +4

Flag
Coverage Δ

sql-engine
98.34% <88.57%> (-0.05%)
:arrow_down:

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

Impacted Files
Coverage Δ

...l/opensearch/data/utils/OpenSearchJsonContent.java
91.30% <84.00%> (-8.70%)
:arrow_down:

...nsearch/data/value/OpenSearchExprValueFactory.java
100.00% <100.00%> (ø)

...ch/sql/prometheus/client/PrometheusClientImpl.java
100.00% <100.00%> (ø)

...l/prometheus/storage/PrometheusStorageFactory.java
100.00% <0.00%> (ø)

...etheus/authinterceptors/AwsSigningInterceptor.java
100.00% <0.00%> (ø)

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

What is the scope of the integration tests breakage - do you know if there is a singular root cause or multiple issues?

So far, it seems to be a Guice injection error from what I'm seeing on my local

@ryanbogan What should we do with this? Close/finish?
[Catch All Triage - 1, 2, 3, 4]


RFC-3

Let's move the glossary out to a GH wiki page?
Slight RFC-3 reorganization.

:+1:

Quickly threw some glossary stuff (slightly edited from here + #29) in this wiki, feel free to update: https://github.com/mediachain/mediachain/wiki/Glossary


Generic From impl for newtypes

Creating a new issue because this is, in my opinion, probably the most commonly encountered and annoying to work around issue caused by no-orphan rules:
struct NewType<T>(T);

impl<A, B: From<A>> From<NewType<A>> for NewType<B> {
    fn from(a: NewType<A>) -> NewType<B> {
        NewType(a.0.into())
    }
}

Namely, the special case where A == B overlaps with the generic impl<T> From<T> for T.
It's also an instance where it's usually trivial to prove that the overlapping implementations are equivalent, though I realise this is probably not a productive path toward a solution.

Would specialization help with this case?
(I don't understand specialization enough to figure that out myself)

I presume it would, so long as the most generic impl uses the default keyword (assuming specialization will work roughly as in the RFC).
impl<T> From<T> for T {
    default fn from(t: T) -> T { t }
}


fix: use blocking subscribe everywhere

Description
Resolves #291
How Has This Been Tested?
Automated tests
Due Diligence

[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

Probably going to close this in-favor of https://github.com/WalletConnect/notify-server/pull/316 since tests are too flaky


Update some links through the documentation

Description
Update a link on the README.md file that pointed to PyPi and add links to the package.json file.
Requirements
None.
Additional changesfiles)]
None.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@24f4d1e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #14   +/-   ##
=========================================
  Coverage          ?   98.28%
=========================================
  Files             ?       23
  Lines             ?      409
  Branches          ?       50
=========================================
  Hits              ?      402
  Misses            ?        0
  Partials          ?        7

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 24f4d1e...cbc9a5e. Read the comment docs.


Getting error at the time of running code

ERROR in ./node_modules/ng2-smart-table/components/cell/cell.module.js
Module not found: Error: Can't resolve 'ng2-completer' in 'D:\CMS\hello\demo1\node_modules\ng2-smart-table\components\cell'

Same. Just do a npm install ng2-completer --save as a temporary solution. The module should have been in the dependency.

try this:
npm i rxjs-compat --save
npm i ng2-completer --save


[BUG] Tooltip text color breaks when setting displayColors to false on pie charts

Expected Behavior
I expect the tooltips on a bar chart and a pie chart with identical settings, including displayColors: false, to look the same on both.
Current Behavior
The tooltip appears to be blank and devoid of text.
Possible Solution
On closer inspection, the text is faintly visible against a transparent background and more so during the fade out animation of the tooltip. I suspect that the text color just gets set to the background color. This only happens when displayColors is set to false. This happens regardless of the backgroundColor currently set.
Steps to Reproduce
https://jsfiddle.net/q8bw89pr/
Above fiddle contains two charts with identical settings, except for their type; one is a "bar", the other is a "pie".
Context
This makes tooltips with displayColors set to false on pie charts impossible to show.
Environment

Chart.js version: 2.7.0
Browser name and version: Chrome 61.0.3163.100 (Official Build) (64-bit), Firefox 56.0 (64-bit)

Closing as a duplicate. This is already fixed in master.

@etimberg Good to know, thanks! Any ideas on when it'll be released to npm?

We're targeting end of the month for a v2.7.1 release


"Expected more than 1 value per channel when training.."

I'm tyring to run using this command line:
CUDA_VISIBLE_DEVICES=0 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 2
This is after your post on how to solve memory issues, I'm still getting memory error, apparently, it's not enough for me.
After adding another GPU means running this command line:
CUDA_VISIBLE_DEVICES=0,1 python3 train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 2
I'm getting this error:
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/workdisk/AutoML/auto_deeplab.py", line 348, in forward
aspp_result_4 = self.aspp_4 (self.level_4[-1])
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/workdisk/AutoML/operations.py", line 164, in forward
conv_image_pool = self.conv_p(image_pool)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/batchnorm.py", line 81, in forward
exponential_average_factor, self.eps)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py", line 1652, in batch_norm
raise ValueError('Expected more than 1 value per channel when training, got input size {}'.format(size))
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 20, 1, 1])
Any Idea?
Thanks!

it is a known issue, not specific to this repository.
batchnorm requires a batch size > 1 in train mode or it will produce an error like the one you got.
see this for instance

also 1x1 conv will also get an error, nn.linear can replace it

I had a feeling it's somehting like this, but even when I'm using  --filter_multiplier 4 --resize 358 --crop_size 224  (which is a decrease from the initial parameters) I don't have space for 2 batchs on 1 gpu.
And I have a 12GB gpu.
Any Idea?

@BarakBat a fix has been merged into the master branch. Let us know if you still have any trouble.


Write a Swift program to convert hours to days

Description
Write a Swift program to convert hours to days
1 day = 24 hours
Input  : 120
Output : 5

How to contribute

Save the solution in program/ConvertHoursToDays.swift file
Add ConvertHoursToDays.swift file in convert-hours-to-days folder

!assign


Xamarin.Build.Download.targets - invalid Id

I cannot build the project after adding Xamarin.Firebase.Functions nuget (v120.0.0) . The error message is:
Xamarin.Build.Download.targets(3,3): Error XBD020: Invalid item ID firebaseappcheckinterop-16.0.0-beta01

What can it be? I already tried the usual things like deleting the bin/obj folders, rebuilding, restarting, installing different versions of Xamarin.Build.Download. No idea where to even start investigating this issue.

I didn't see this issue before opening up a duplicate: https://github.com/xamarin/XamarinComponents/issues/1293

This should be fixed in https://github.com/xamarin/XamarinComponents/pull/1384.


⚠ haccp has degraded performance

In 65f8cf1, haccp (https://www.haccp.or.kr) experienced degraded performance:

HTTP code: 200
Response time: 5870 ms

Resolved: haccp performance has improved in edbbb5a.


MAHOUT-2067: Update RAT plugin to latest release version.

Purpose of PR:
Please give a short description of what this PR is for.
Update to latest RAT version 0.13
Important ToDos
Please mark each with an "x"

[X] A JIRA ticket exists (if not, please create this first)[https://issues.apache.org/jira/browse/MAHOUT/]
[ ] Title of PR is "MAHOUT-XXXX Brief Description of Changes" where XXXX is the JIRA number.
[ ] Created unit tests where appropriate
[ ] Added licenses correct on newly added files
[ ] Assigned JIRA to self (not possible due to insufficient rights)
[ ] Added documentation in scala docs/java docs, and to website
[ ] Successfully built and ran all unit tests, verified that all tests pass locally.

If all of these things aren't complete, but you still feel it is
appropriate to open a PR, please add [WIP] after MAHOUT-XXXX before the
descriptions- e.g. "MAHOUT-XXXX [WIP] Description of Change"
Does this change break earlier versions? n
Is this the beginning of a larger project for which a feature branch should be made? n

lgtm pending  tests.

@andrewpalumbo - thanks for taking a look and sorry for the many commits. I hope stuff can be merged now.

thanks for the contribution @ottlinger! i'm actually giving a version bump in the poms right now to 14.0 just FYI.

The ASF parent reference looks quite old and a lot of maven plugins, maybe this has something to do with the problems that were mentioned on<EMAIL_ADDRESS>

Merging now, Thanks again @ottlinger,  Yes I was just looking at the parent and it is v.17 . seems to be a bit old.  do you know what version most projects are using these days?

@andrewpalumbo someone merged out my changes as they are not available on current head - can you reapply my changes. I'm happy that many people suggested to update the plugins.
Personally I'd use the latest version if that's fine with your compiler (language level) settings.
Thanks


CM 367 return objects for errors (and small readme update)

Updating the errors so that they return objects as Nick requested
Added PDB information to readme

this won't work with what I've written because the store_subscription_data function needs to be edited too. let's chat and figure out the best way to do this.

this won't work with what I've written because the store_subscription_data function needs to be edited too. let's chat and figure out the best way to do this.

do not merge this, please

do not merge this, please

changes will be incorporated elsewhere

changes will be incorporated elsewhere


Return error if deploying to the wrong runtime.

Return error if deploying to the wrong runtime
Return error if deploying an outdated version of Meteor to the Meteor runtime

Closes #117

@franvarney updated

updated

I was thinking of moving all the code from line 236 to line 251 to a separate function that would check the version of whatever project type the user is deploying. What do you all think?

👍

PR looks ok to me.  Maybe @jackboberg could confirm that issues have been addressed.

👍 all my local tests performed as expected

I have a meteor 1.2 project that was happily running on modulus as a node.js runtime.  Now when I go to deploy it, it's yelling at me about "You are deploying a Meteor project to a Node.js runtime".   Is there a way around this?

@dsjoerg Unfortunately you will have to downgrade your CLI. If you have a Meteor runtime option available, we recommend creating a new project under the Meteor runtime and deploying your source. If you prefer to not go this route, you will need to downgrade your CLI so the demeteorizer process happens locally.

Thanks @harlanj that worked (after I found out how to downgrade CLI, Googling for downgrade meteor CLI gets you nowhere :\ )


Show How To Format JSON Responses using Pascal Case in Formatting doc

This section was removed since camel casing is now the default JSON formatting.
Configuring the JSON Formatter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
A common request when formatting responses using JSON is to use JavaScript-style "camel" casing (the first character of each property is lowercase, then uppercase is used to begin each additional word making up the name). Support for camel casing can be added by using the AddJsonOptions extension method when configuring MVC:
.. code-block:: c#
services.AddMvc()
.AddJsonOptions(o =>
o.SerializerSettings.ContractResolver =
new CamelCasePropertyNamesContractResolver());
Replace the default SerializerSettings.ContractResolver with a new instance of CamelCasePropertyNamesContractResolver. Before this change, an object with a property of "FirstName" and a value of "Steve" would be serialized to JSON as {"FirstName":"Steve"}; after the change to use camel case, it would serialize as {"firstName":"Steve"}.
Consider updating the article for RTM to show how to format the JSON as PascalCase rather than camelCase.

cold be added a specific doc listing ths kind of breaking changes between aspnet and core? could be of use migrating existing asp.net apps

Hi
use the following code
var jsonFormatter = config.Formatters.OfType().First();
//jsonFormatter.SerializerSettings.ContractResolver = new //CamelCasePropertyNamesContractResolver();


Quick Accent in Spanish is very cool! 🔥 But there are 2 details missing to be perfect 😖

Description of the new feature / enhancement
In the "Quick Accent" app, in the Spanish language, the characters "¿" before "?" and "¡" before "!" are not yet included.
If these two characters ("¿", "¡") were included in your app, practically nothing else is needed to be able to write in Spanish with impeccable writing.
I propose that the way to use it could be just like with accents, when you press the keys to print "?",  and you quickly press the space bar, then that "?" becomes "¿" and the same with the exclamation mark.
Scenario when this would be used?
When you write in Spanish, every time you make an exclamation mark you write like this: "¡Hola!". Every time you ask a question you have to type it like: "¿Cómo estás?".
If you use the computer for writing or communicating in Spanish, without these two characters you can't really do it properly.
Supporting information
In fact, only the accents, the letter "ñ" and these two characters are the only differences between an English keyboard and a Spanish one.
With this mods, "Quick Accent" would simply be perfect for any profession or everyday use that requires writing in Spanish.

You have the ¿ ? ¡ ! using the , + SPACE shortcut but I agree it make more sense to use it with the existing ? and ! keys.


glances: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 147038 run on x86_64-darwin 1

1 package failed to build:

glances

@smancill the test could be overly specific to linux. We could probably disable the tests on darwin if the output is still reasonable


Translate footer & minor missing pieces in homepage

Includes:

LayoutFooter

I went through it and it looks good!


Extends base typescript types for attributify syntax

Describe the bug
Using the new attributify features, base element types throws errors for unknown properties in Typescript.
Minimal Reproductions

Hey,
 welcome back.

Current workaround
The current workaround works when using the prefix w so that only matches the attributes that starts with the prefix used. Investigation could be done to see if this can be dynamically inferred.
type WindiAttributify = `w${Capitalize<string>}`;

declare namespace svelte.JSX {
	type HTMLProps<T> = {
		[k in WindiAttributify]?: string;
	} &
		HTMLProps<T>;
}

Versions

vite-plugin-windicss: 0.16.7
vite: 2.3.3
framework(vue/react/svelte/etc): SvelteKit@next

https://github.com/windicss/windicss/pull/322


Allow to set a different doc_type per model

By adding a doc_type attribute in the Elasticsearch class and use it in get_doc_type method, just like the index attribute.
The problem was mentioned in #4.

@NicolasYDDER just for your information, I added a doc_type attribute on the Elasticsearch class in the feature/add-doctype-attr branch, the tests are still passing so you are safe to use it. I will not merge it until I add a test for this functionality and update the docs though.

21ab475e70ea59269aa12058d216383873a1ab89
still needs docs/tests


Xforward

Updated LoadBalancerXForwardTransformer classes and relevant test classes.

@gandhiUH will continue working on this PR next week.


HelmDeploy@0 unknown flag: --wait with helm v3.0.2

Question, Bug, or Feature?
Type: Bug
Enter Task Name: HelmDeploy@0
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Image: ubuntu-latest
Agent: Hosted Agent
Issue Description
HelmDeploy@0 not working with the latest version of Helm 3.0.2. error unknown flag: --wait
Current azure-pipelines.yaml:
variables:
  vmImageName: 'ubuntu-latest'

 stages:
- stage: Build
  displayName: Build and push stage
  jobs:
  - job: Build
    displayName: Build
    pool:
      vmImage: $(vmImageName)
    steps:
    - task: HelmInstaller@1
      displayName: Helm installer
      inputs:
        helmVersionToInstall: latest
    - task: HelmDeploy@0
      displayName: Helm init
      inputs:
        command: init
        connectionType: 'None'
        upgradetiller: false
        waitForExecution: false
        arguments: --client-only

Troubleshooting
Run the given yaml in the pipeline
Error logs

Task         : Package and deploy Helm charts
Description  : Deploy, configure, update a Kubernetes cluster in Azure Container Service by running helm commands
Version      : 0.162.4
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/helm-deploy
==============================================================================
/opt/hostedtoolcache/helm/3.0.2/x64/linux-amd64/helm init --wait --client-only
Error: unknown flag: --wait

[error]Error: unknown flag: --wait

Finishing: Helm init

@thijslimmen , helm 3.0 version don't support 'helm init command'. In your HelmInstaller@1 task specify helm v2 version number in 'helmVersionToInstall' instead of 'helmVersionToInstall: latest' . helmVersionToInstall: latest downloads latest helm version and current helm latest version is 3.0.

Thank you for the information. I changed my build to remove the helm init and it works again.


only set compile_time on chef_gem if supported

check that the resource responds to the compile_time attribute to avoid breaking with older chef.

fixed by https://github.com/opscode-cookbooks/aws/commit/44886b8cacfa3499a4b17fcca7453c445b06089b

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@jameslegg

Please sign the CLA here.


Constant's units changed to the SI basic units

As discussed in Issue #232, the units for the constants stored in src/poliastro/constant.py has been conversed from multiples of the SI basic units to the SI basic units (e.g. from km to m).
As a remark, note that my editor (i.e. emacs) has wrapped some lines of the comments (the ones providing the source of the constant). I hope this is not a problem.

This one's for @anhiga :)

All seems right to me, but it is @Juanlu001 who has to merge it. Thank you very much for contributing, @PabloRdrRbl  😄

Thanks @anhiga for the review and @PabloRdrRbl for the pull request! Merging 🤘


Module gruvbox not found

I tried to use your theme but the following showed up when I did

Can I see your config? I can guess what's wrong but I need to be sure.

This since the theme is written in lua, you shouldn't have it as opt because you need the theme at start time. Remove the opt then it should work just fine.

I did what you said but the message is still there.
What can I do to provide you with data for you to fix this issue, screen-shots, specific configurations?

If I close you nvim will it work out of the box? Do I need to install anything? And plus… which branch is your latest configs on?

You should have packer installed, and you could use the main branch. If there is something missing that I didn't tell you about, let me know and I'll try to respond as fast as possible

Tried your configs and it worked fine for me with these minute changes.

The only thing I did not try from your changes was the 'use {...}' because it was included in the main statement, I'll try this out when I get home and let you know. You said it worked, so maybe I need to clear packer or something in case your change does not work. Thank you for your help!

No problem. You need to have the theme on the runtime at start time, that was the problem. You're welcomed

In the end, all I needed to do was to remove the ~/.local/share/nvim/site/pack folder and install all my plugins again, it could have been some cache thing or the download order, I really don't know... but it's working now. Thank you for your quick response.


Canonicalize Trino IT in GitHub Action workflow

:mag: Description
Issue References 🔗

This pull request canonicalizes Trino IT in GitHub Action workflow.
mvn -am means "also make", so that mvn integration-tests/kyuubi-trino-it -am would trigger compiling of kyuubi-server, externals/kyuubi-spark-sql-engine, externals/kyuubi-download modules automatically.
Describe Your Solution 🔧
CI part change in https://github.com/apache/kyuubi/commit/6688b3dacf80ac519f6a0d56f8168d15166f5916 is unnecessary.
Types of changes :bookmark:

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

Test Plan 🧪
Pass GA.

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Merged to master/1.8


show contextmenu when hover a node and hide contextmenu when leave

hello,  I'm using the jstree I want show contextmenu when hover a node and hide contextmenu when leave.
but i doesn't work。
the code is：
$('#tree').on("mouseover.jstree", function (e, data) {
$(e.currentTarget).trigger('contextmenu');
})；
Thank you very much。

Make sure you trigger the event on the anchor element, not current target. Keep in mind that will be a very bad user experience (from what I imagine) - if you really need this make sure you use the mouseenter, mouseleave events attached to the jstree-anchor elements.

thanks ， I have test it。it is not so good to use mouse over。


feat: support multithread spectrogram and small perf tweaks

This PR adds support for multithreaded workers in log_mel_spectrogram_ and significantly speeds up the pcm_to_mel step.
On an Apple M3 Max this adds a ~6-7x speed up 139.284375ms -> 21.299458ms using the following commands
cargo run --release --example whisper --features metal

additionally there are a few new tests that can be run
cargo test --package candle-transformers --lib -- models::whisper::audio::tests --nocapture

**note this speed up is particularly useful with smaller models since the pcm_to_mel can take as much time or more as the decoding step on some backends (cuda, metal) so in those cases pcm_to_mel is no longer the bottleneck

Thanks!

@LaurentMazare thank you!!


[Feature Request] Allow underlay external subnet to custom VPC without making default external network mandatory

Description
I am following this guide to attach a unique external underlay subnet to a custom VPC. But seems like it is only possible to make it work if we have default external subnet defined.
In the custom VPC, there is an option to add extraExternalSubnets but no option to exclude default external network.
I think we should have option.

No dependency on default external network for custom vpc. User should be able to define and attach external underlay network to custom VPC without modifying kube-controller and cni to add default external network first.
Able to add extraExternalSubnets and can exclude default external network.

My use-case is assign different vlans to different VPC as external networks and I want to isolate. I was able to workaround this by creating a dummy vlan as default external network.
E.g.
My goal is to add a custom externalsubnet to a custom vpc101.
If i make enablexternal:false and just leave addexternalsubnet, nothing gets added.
apiVersion: kubeovn.io/v1
kind: Vpc
metadata:
  name: vpc101
spec:
  namespaces:
  - vpc101
  enableExternal: false # want to exclude default external network external204
  extraExternalSubnets: # want to include custom external network unique to this vpc
  - external
---
kubectl ko nbctl show vpc101
router 2f8ddb7c-bf8f-4193-b7da-6f87d1891643 (vpc101)
    port vpc101-vpc101-subnet1
        mac: "7a:e8:95:37:bd:28"
        networks: ["<IP_ADDRESS>/24"]

If I change enableexternal:true and addextraexternal subnet will add both default and additional extra subnet.
apiVersion: kubeovn.io/v1
kind: Vpc
metadata:
  name: vpc101
spec:
  namespaces:
  - vpc101
  enableExternal: true
  extraExternalSubnets:
  - external
---
kubectl ko nbctl show vpc101
router 2f8ddb7c-bf8f-4193-b7da-6f87d1891643 (vpc101)
    port vpc101-external204
        mac: "0e:0e:8a:00:c2:c9"
        networks: ["<IP_ADDRESS>/24"]
        gateway chassis: [0fb6cd0a-9801-4870-9557-067070358015]
    port vpc101-vpc101-subnet1
        mac: "7a:e8:95:37:bd:28"
        networks: ["<IP_ADDRESS>/24"]
    port vpc101-external
        mac: "86:e9:20:8d:18:4d"
        networks: ["<IP_ADDRESS>/16"]
        gateway chassis: [0fb6cd0a-9801-4870-9557-067070358015]

Who will benefit from this feature?
No response
Anything else?
No response

Thanks four you info, I will try to make it.


Bank Search Hot-Key

Add CTRL + F to open up bank search whilst bank is open.

Duplicate of #3994


[Implementation] ABSTRACT's showing up in MOVIZ

1 or 2 gromet versions ago (somewhat recently) there was a new type of box added called "ABSTRACT"  . These are essentially the exact same as primitives but have a different name because the primitive operation they perform is "under the hood". They are mostly for unpacking and packing tuples in python. @titomeister
I noticed they aren't being created in the visuals, which I'm guessing is because we forgot to tell you about them during that gromet version update, sorry about that.

Support for abstract is now added.


Update project gif

We need to update the project gif with the new UI changes.

On it

@origranot  please assign me this work

@origranot please assign me this work

@ArnabDey1543, this issue has a PR #145 already.
Would you work on any of the remaining open issues?
Thanks! 🚀

@origranot please assign me this work

@ArnabDey1543, this issue has a PR #145 already.
Would you work on any of the remaining open issues? Thanks! 🚀

sure !


feat(redis): add message queue with User Info

closes PLT-138

@wsalles there are tests failing [2022-01-13 17:49:42] [FATA] Error while connect to Redis:  [redis_client.go:23]


error in running "annotation function"

KeyError: "None of [Index(['Tumor Type', 'Cancer Type', 'Sex'], dtype='object', name='track_name')] are in the [index]"

Please provide your code otherwise I can't debug it. Thanks!


Package needs a LICENSE

Now that the project is openly available, it needs an open-source license—otherwise nobody else is legally allowed to use / distribute / anything it.
I recommend either the MIT license or BSD 3-clause license, which should be included as a LICENSE file in the repo.

License added.


Desmos v0.10.0 compatibility

Once that Desmos v0.10.0 is tagged, we need to make sure we are compatible with the changes implemented

The code is present inside the version/v0.10.0 branch


How to support FBX 3d file format?

This library support only gltf format? How to support FBX files?

convert FBX to gltf use library such as fbx2gltf, and then load them in sceneview


Unrecovered IndexDB Error

Hey!
Thanks for an incredible library. I'm using it in a React application and encountered some surprising behavior. On initial load (when IndexedDB has no PicMo entry), there's an issue loading the emojis. On reload, it tends to work alright, but I was surprised to find that the Try Again button did not successfully reload the emojis when the initial load failed.
Here is a video of the bug in action:
bug_p1.webm
bug_p2.webm
I'm using google chrome in the video, but it also happens in firefox. On a mac.
Stack trace:
Promise.then (async)
setEmojiData @ index.js:428
  create  @ index.js:2441
   onError  @  index.js:2283
   (anonymous) @  index.js:1008
   emit  @ index.js:1007
   (anonymous)  @  index.js:2489 |
setEmojiData(e) {
// in the e.then(), I think
    this.emojiDataPromise = e, e.then((t) => {
      this.emojiData = t;
    });
  }

I haven't been able to reproduce this issue, could you share the code you are using to integrate with React?

Thanks for looking into this!!! Here's the component I built:
import React, { useEffect, useRef, useState } from 'react'
import { createPopup, PopupPickerController } from '@picmo/popup-picker';
import styled from 'styled-components';
import smileySvg from '../../assets/icons/smiley.svg'

interface EmojiPickerProps {
  selectionCallback: React.Dispatch<React.SetStateAction<string>>;
}

const EmojiPicker: React.FC<EmojiPickerProps> = ({selectionCallback}) => {
  const smileyRef = useRef<HTMLImageElement | null>(null);
  const [picker, setPicker] = useState<PopupPickerController | null>(null);

  useEffect(() => {
    setPicker(createPopup({}, {
      triggerElement: smileyRef.current as HTMLElement,
      referenceElement: smileyRef.current as HTMLElement,
      position: 'bottom-start'
    }))
  }, []);

  useEffect(() => {
    if (!picker) return;
    picker.addEventListener('emoji:select', ({emoji})=> {
      selectionCallback((prevMessage) => prevMessage + emoji);
    });
  }, [picker, selectionCallback])

  const clickHandler = () => {
    if (!picker) return;
    picker.open()
  }

  return (
    <Smiley src={smileySvg} width="36" ref={smileyRef} onClick={clickHandler} />
  )
}

export default EmojiPicker;

const Smiley = styled.img``;

Still looking into this, but it looks like this error happens any time createPicker is called more than once. Hopefully will have a fix soon!

Since the DB population is asynchronous, I believe what's happening is that subsequent calls to createPicker happen before the initial DB is created, so it's in a weird state, and it tries to create it again.

Okay, I think I've got it.
I was able to reproduce your issue, and after the fix I made, I can no longer reproduce it. I think it's fixed! When you have a chance please try version 5.8.2 and let me know if the issue is resolved.
Feel free to reopen if you still run into issues.

Thank you!!!


Error querying NuGet.org V2 API (Search endpoint)

In our NuGet client, we are querying the NuGet.org V2 API. For a specific request, the server seems to load a while, then returns "An error has occurred."
Repro steps:

Hit https://www.nuget.org/api/v2/Search()?searchTerm=%27newtonsoft.json%27&includePrerelease=true&$filter=IsLatestVersion%20or%20IsPrerelease&$orderby=Id&$top=27&$skip=0
Witness slow load
Witness <m:message xml:lang="en-US">An error has occurred.</m:message>

This used to work fine in the past, please advice.

Any news on this one? Really annoying some of our users :-)

Fix deployed in dev.

This will be deployed to prod Wednesday next week


Use 64-bit long type for Java layer device IDs (#5630)

Tested by pairing an m5stack using a hardcoded ID of FFEE00124444AAAA.
Fixes #5630

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


nightly integration tests

I assume the schedule time and frequency are not configured through the .travis.yml yaml but through the travis web UI. If so, looks good to me.


Directory info is displayed when directory created

Directory info is output if folder is provided as parameter and the directory does not exist. The New-Item command should not output to the screen but it does.

looking good - fixed now


Request: allowing openai:embeddings as a provider

I am trying to use openai:embeddings directly, and I think promptfoo isn't quite set up for that:
[FAIL] Error: Unknown OpenAI model type: embeddings. Use one of the following providers: openai:chat:, openai:completion:

Error: Unknown OpenAI model type: embeddings. Use one of the following providers: openai:chat:, openai:completion:
at loadApiProvider (/Users/user/code/promptfoo/dist/src/providers.js:122:19)
at getGradingProvider (/Users/user/code/promptfoo/dist/src/matchers.js:40:63)
at matchesSimilarity (/Users/user/code/promptfoo/dist/src/matchers.js:62:31)
at runAssertion (/Users/user/code/promptfoo/dist/src/assertions.js:367:56)
at runAssertions (/Users/user/code/promptfoo/dist/src/assertions.js:49:30)
at Evaluator.runEval (/Users/user/code/promptfoo/dist/src/evaluator.js:182:74)
at async /Users/user/code/promptfoo/dist/src/evaluator.js:418:25

Can we enable openai:embeddings to be used?
https://promptfoo.dev/docs/providers/openai suggests this is possible: openai:<endpoint>:<model>

Until https://github.com/promptfoo/promptfoo/issues/175 is done, I am trying to hack invoking LocalAI embeddings endpoint using the OpenAI provider and export OPENAI_API_HOST="http://localhost:8080" as suggested here.
defaultTest:
    options:
        provider: openai:embeddings:bert-embeddings

The openai:embeddings alias is not supported - you'll have to specify a full model like openai:embedding:text-embedding-ada-002

Look at the bottom of that request, I think I was:
defaultTest:
    options:
        provider: openai:embeddings:bert-embeddings

What do you think from there?

That will work only if OpenAI (or your localhost) supports an embeddings model named bert-embeddings.  If that model exists, it will send requests to that endpoint.

I am gaming bert-embeddings from LocalAI (per here) until https://github.com/promptfoo/promptfoo/issues/175 is in, using OpenAI (since they have the same API).

Note that the prefix is openai:embedding: with "embedding" singular.

That worked! Moving forward.
Fwiw, I think embeddings would be the better choice over embedding, since embeddings (with s) matches OpenAI's endpoint: https://platform.openai.com/docs/guides/embeddings/what-are-embeddings

Sadly, this OpenAI API key validation denies me in my backdoor here:
Error: OpenAI API key must be set for similarity comparison

Error: OpenAI API key must be set for similarity comparison
at OpenAiEmbeddingProvider.callEmbeddingApi (/Users/user/code/promptfoo/dist/src/providers/openai.js:45:19)
at matchesSimilarity (/Users/user/code/promptfoo/dist/src/matchers.js:64:51)
at async runAssertion (/Users/user/code/promptfoo/dist/src/assertions.js:367:17)
at async runAssertions (/Users/user/code/promptfoo/dist/src/assertions.js:49:24)
at async Evaluator.runEval (/Users/user/code/promptfoo/dist/src/evaluator.js:182:37)
at async /Users/user/code/promptfoo/dist/src/evaluator.js:418:25

I can fake it out using export OPENAI_API_KEY="fake" though 😈 .
I wonder, should we only run the API key validation during a catch clause, to throw a better error?  That way, this backdoor would work without having to set OPENAI_API_KEY.

This doesn't work for azure, any work arounds for this?

Opened https://github.com/promptfoo/promptfoo-docs/pull/13 to document openai:embedding:<model name>.  @typpo feel free to close this out, unless you feel like loosening the OPENAI_API_KEY validations as I posed above.

@kevin2107 when you say "this", you mean the embedding endpoint?  Fwiw, this issue is resolved from my standpoint, maybe open a separate issue

Yep the embedding endpoint. Will open up another issue. Thought this was fixed in a previous pr but looks like it still doesn't work


Additional translations

If a translation is missing for your language, feel free to contribute :earth_americas:!

Added Traditional Chinese https://github.com/jakke-korpelainen/newtab/commit/93e60f4195628e4b109b93e8176f651c223cffa5 (Thanks to @kevinjcliao)

I'd like to throw some German translations in. However with the current structure it is not really possible since 'Good evening' is 'Guten Abend' however 'Good night' is 'Gute Nacht'. If you would like to have German translations, the model would need to be updated.

Ok great! It's sort of possible like this without changes into models;
{
	"morning" : "",
	"afternoon" : "",
	"day" : "",
	"evening" : "Guten abend",
	"night" : "Gute night",
	"good" : "",
	"today" : "",
	"is" : "",
	"greeting" : "{daystate} {name}, today is {date}"
}

Should I wait for you to make some changes or should I create the German translations and create a PR?

Feel free to create a PR, I'm going for a holiday tomorrow so I'll refactor the translations later this month :).

There you go https://github.com/jakke-korpelainen/newtab/pull/25

Merged, thanks!


Referencing scripts in composer.json to avoid duplication

It's a new feature of composer (referencing-scripts) available as of 1.0.0-alpha11.

It forces users to update their composer installation, and even if composer itself sends warnings, I don't know if it's a best practice.
But anyway I really like this feature :+1:

Given that it's included in a tagged release and that release is even more than a month old I am :+1: on this.

Please note that the Composer update warnings are no shown after 60 days instead of 30, maybe it's better to wait another month?

Oh did they exceed that value?

We already use config.platform from the same release as of https://github.com/symfony/symfony-standard/commit/d0e9308e807aae02c332897d610ad5eb49d81c1e.

I think we can merge this now :+1:

That's very different. If config.platform is not taken into account, that's no big deal. Here, if script references are not supported, hooks do not work anymore.

Thank you @1ed.


Merge 1.8.5

See https://github.com/Homebrew/brew/releases/tag/1.8.5

==> brew tests --no-compat --online
Too long with no output (exceeded 10m0s)

https://circleci.com/gh/Linuxbrew/brew/1318
I'll try rebuilding.


maxillary sinus inflammation

Add:
maxillary sinus inflammation (a child of sinus inflammation MP:0001872)
DEF: local accumulation of fluid, plasma proteins, and leukocytes in the maxillary sinuses
SYN: maxillary antritis
SYN: inflamed cheek sinuses
SYN: maxillary sinusitis
SYN: inflammation of the maxillary antrum
J:185566 (PMID:21746835)
Anna

maxillary sinus inflammation MP:0030113


The pasted item displays after refreshing the explorer if pasting one archived blob to one file share

Storage Explorer Version: 1.29.0-dev
Build Number: 20230228.11
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload a blob and change its access tier to Archive.
Copy the archived blob -> Paste it to one file share.
There is a failed activity log -> Click 'Refresh'.
Check whether the pasted file doesn't display.

Expected Experience
The pasted file doesn't display.
Actual Experience
The pasted file displays.

Verified this issue on the build main 20230304.8. Fixed.
The paste action in file share explorer is disabled after clicking copy for one archive blob. So, we are going to close it.


Admin API documentation is out of date

Running prometheus 2.11.0. The documentation of the admin api (https://prometheus.io/docs/prometheus/latest/querying/api/) seems to be outdated. The curl commands to delete time series are not working.
This does not work (nothing gets deleted):
curl -X POST -g 'http://prometheus:9090/api/v1/admin/tsdb/delete_series?match[]={__name__=~".+:\\d+"}'
This works (everything gets deleted, as expected):
curl -X POST -g 'http://prometheus:9090/api/v2/admin/tsdb/delete_series' -d '{"matchers": [{"name": "__name__", "type": 2, "value": ".+"}]}'

Hmm strange, I see the same behaviour. The docs do mention that deletes are not immediate but that they should happen at compaction time.
Is the difference in behaviour intentional or is this a bug? @brian-brazil @juliusv @gouthamve

Those are different matchers.

The + characters probably needs to be escaped as %2B to not be turned into a space in a URL.

@brian-brazil Sorry, was a copy/ paste mistake. The regexp I used was the same, updated the description.

@gucki Did you try with escaped + characters?

Closing this for now, please reopen if it doesn't work after applying my escaping comment above.


Slight corrections - formulas.md

Changed all occurrences of "fomula" to "formula"
The format for these fomulas is very similar to that used in...
to
The format for these formulas is very similar to that used in...
The Fomula Structure - An Overview
to
The Formula Structure - An Overview
With just rows and columns, the fomula is limited...
to
With just rows and columns, the formula is limited...

Apparently there was a problem with my r key when I wrote that doc. Thanks!


Fixup untar readable boundry

Motivation
Since each TarEntry from UnTarStream has its own readable, the boundry of the readable is incorrect, that will cause the readable reads next entry's header in the whole tar stream.
This patch fixup this situation.
Observation
By running the test expandTarArchiveCheckingBodiesDefaultStream with addition file entry will get error:
Test code:
https://github.com/david50407/tar-stream/blob/fix/untar-readable-boundry/tests.ts#L205-L242
Output:
 ERRORS

expandTarArchiveCheckingBodiesDefaultStream => ./tests.ts:205:6
error: RangeError: offset is out of bounds
        buffer.set(value, offset)
               ^
    at Uint8Array.set (<anonymous>)
    at file:///.../tar-stream/tests.ts:236:16

This is caused by the boundry of readable.pull in TarEntry is incorrect while readable.cancel sets correct boundry.
Solution
Fixup the boundry and detect "Tarball ended unexpectedly" while reading the TarEntry.readable stream.
This patch also includes the test above.

LGTM Thanks


iOS build error "extra argument 'toTopic' in  call"

When using capacitor-fcm in my project Xcode shows me the
following error when building the application: "extra argument 'toTopic' in
call";
this occurs in the following function:
@objc func subscribeTo(_ call: CAPPluginCall) {         let topicName = call.getString("topic") ?? ""         Messaging.messaging().subscribe(toTopic: topicName) { error in             // print("Subscribed to weather topic")             if ((error) != nil) {                 print("ERROR while trying to subscribe topic \(topicName)")                 call.error("Can't subscribe to topic \(topicName)")             }else{                 call.success([                     "message": "subscribed to topic \(topicName)"                     ])             }         }     }
(the same error is received at the unsubscribe call).
the last issue here is the getToken() function:
InstanceID.instanceID().instanceID { (result, error) in provides the error: 'Static member 'instanceID' cannot be used on instance of type 'InstanceID'"

what's capacitor version?

"@capacitor/cli": "^1.0.0-beta.25",
"@capacitor/core": "^1.0.0-beta.25",
"@capacitor/ios": "^1.0.0-beta.25",

hum something may have broken, can you try on beta24?

I just rolled back to beta.24. The errors remain:
/node_modules/capacitor-fcm/ios/Plugin/Plugin/Plugin.swift:25:50: Extra argument 'toTopic' in call /node_modules/capacitor-fcm/ios/Plugin/Plugin/Plugin.swift:40:54: Extra argument 'fromTopic' in call /node_modules/capacitor-fcm/ios/Plugin/Plugin/Plugin.swift:52:20: Static member 'instanceID' cannot be used on instance of type 'InstanceID'

that's weird, I just deployed an app that uses that version. will double check this issue at weekend.

added a demo app
https://github.com/stewwan/capacitor-fcm-demo

I'm having the same issue. I'm using Capacitor v1.1.0

In regards to the error Static member 'instanceID' cannot be used on instance of type 'InstanceID'
For me, this was caused by out of date pod dependancies. I needed up run pod update to install the latest pods which fixed the error.

cd ios/App
pod update

I can then compile the app.

Yes. npx cap sync ios also does pod install. Remember to always run it after installing any plugin via npm install.


Support for Battlefield and Metro Last Light

Hi Antonpup,
first of all, thanks for the great work.
I would love to see Support for Metro Last Light and Battlefield 3.
Both Are AlienwareFX Games, so i hope its no too big dfeal to implement.
Thanks and keep up the good work.
Anders

Battlefield 3 already has completed support, will be in next version. Metro should also work, as LightFX wrapper is done, so it should work with any game.
Basically, next update.

Metro works with a minor issue (will be fixed before release), BF3 support was added a few commits ago. So, yes. Both of the mentioned games will have official support.


2.0 regression when searching a dict with functions

Hi,
We stumbled upon an issue with the new release (2.0.1) of dpath:

import dpath.util

def foo():
    print('hi')

the_dict = {'fun': foo, 'config': 'something'}

dpath.util.values(the_dict, 'something')

crashes with a TypeError:
TypeError: object of type 'function' has no len()

This was working fine in dpath <= 1.5.0.
Is this usage not allowed anymore ?

This also seems to apply to other types:
dpath/segments.py", line 16, in kvs
    return zip(range(len(node)), node)
TypeError: object of type 'datetime.datetime' has no len()

@akesterson @calebcase do you have an idea on how to fix this ?

happens also with dataclasses as values:
class Connection:
    group_name: str
    channel_name: str
    last_seen: float
    state: WebsocketConnectionStates

connection = Connection(
    group_name=group_name,
    channel_name=channel_name,
    last_seen=time.time(),
    state=WebsocketConnectionStates.pending
)
d = {"my-key": connection}
from dpath.util import search
search(d, "my*")

     14         return iter(node.items())
     15     except AttributeError:
---> 16         return zip(range(len(node)), node)
     17
     18

TypeError: object of type 'Connection' has no len()

pip list | grep dpath
dpath                         2.0.1

Looks like there are 3 open PRs now that seem to be fixing this: #120, #122, #123.

The error is caused by what dpath considers a leaf.
dpath/segments.py line 19
def leaf(thing):
      '''
      Return True if thing is a leaf, otherwise False.

      leaf(thing) -> bool
      '''
      leaves = (bytes, str, int, float, bool, type(None))

      return isinstance(thing, leaves)

The walk function (also in dpath/segments.py) uses this to determine if it should stop or not.
  def walk(obj, location=()):
      '''
      Yield all valid (segments, value) pairs (from a breadth-first
      search, right-to-left on sequences).

      walk(obj) -> (generator -> (segments, value))
      '''
      if not leaf(obj):       <<<<<<<<<<<<< Right here.
          for k, v in kvs(obj):
              length = None

              try:
                  length = len(k)
              except:
                  pass

              if length is not None and length == 0 and not options.ALLOW_EMPTY_STRING_KEYS:
                  raise InvalidKeyName("Empty string keys not allowed without "
                                       "dpath.options.ALLOW_EMPTY_STRING_KEYS=True: "
                                       "{}".format(location + (k,)))
              yield ((location + (k,)), v)
          for k, v in kvs(obj):
              for found in walk(v, location + (k,)):
                  yield found

So anything that is not one of the types listes in leaf will have kvs(...) called on it, which is also in dpath/segments.py
  def kvs(node):
      '''
      Return a (key, value) iterator for the node.

      kvs(node) -> (generator -> (key, value))
      '''
      try:
          return iter(node.items())
      except AttributeError:
          return zip(range(len(node)), node)     <<<<<<<<< Right here

If the node doesn't have an items() method, then it is passed to len().
This seems like a bug to me. Nodes should be considered leaves if they can't be iterated. Otherewize, there is no way to store user-defined objects in the dict.
The workaround is to replace the leaf function (I live python). In my case, my dict only uses dict and list for branches, so I just did
import dpath.utils
dpath.segments.leaf = lambda x: not isinstance(x,(dict,list))

If you have other branch types you can list them too.

This is blocked by #136

Hopefully fixed by merge of #126


Fix code scanning alert - Log entries created from user input

Tracking issue for:

[x] https://github.com/gilcrest/go-api-basic/security/code-scanning/1

Fixed in https://github.com/gilcrest/go-api-basic/commit/239aaba3c36fe5a001987dc1c6f2833c2fce5057


Await expect linting error

Describe the bug
When using expect or userEvent TS and eslint seem to not agree on what needs to be used
To Reproduce
play: async ({ canvasElement }) => {
		const canvas = within(canvasElement);

		const btn = canvas.getByRole('button');
		const style = window.getComputedStyle(btn);

		await userEvent.click(btn);
                // await shows a TS error "'await' has no effect on the type of this expression.ts(80007)"
		expect(btn).toBeVisible();

		expect(style.backgroundColor).toBe('rgb(255, 233, 120)');
		expect(btn.innerText).toBe('Large');
		expect(btn.offsetHeight).toBe(48);
                // all of the expect functions are lining with a message "Interaction should be awaited: toBeeslint[storybook/await-interactions](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md)"
	},

Expected behavior
"Expect" functions do not need to be awaited to work yet eslint is asking for them to be awaited. If you await them the 80007 TS error appears

"Expect" functions do not need to be awaited

From the Storybook interactions addon docs:

In order to enable step-through debugging, calls to userEvent., fireEvent, findBy, waitFor* and expect have to
be await-ed. While debugging, these functions return a Promise that won't resolve until you continue to the next step."

That said, even when I follow these rules, the eslint plugin fails to highlight misuse of await (or absence of await)


Unpack pacman package groups into a list of packages.

Arch linux package groups are not real packages and because of that are not displayed by 'pacman -Q' as installed. This causes pyinfra to reinstall them every time.
To fix that this PR expands groups into the corresponding packages before calling ensure_packages.

After taking a look I can't figure out why the tests are failing. Any pointers?

After taking a look I can't figure out why the tests are failing. Any pointers?

This is better, but I'm unable to fix an issue with the tests.
They fail when supplying a list of arguments. The list gets wrapped around a tuple and the tuple iterated, using the list inside as arguments.

This is better, but I'm unable to fix an issue with the tests.
They fail when supplying a list of arguments. The list gets wrapped around a tuple and the tuple iterated, using the list inside as arguments.


Try to fix deadlock issue that occurs when multiple threads attempt to connect to the Steam Client API

This attempts to fix the deadlocking issue by removing the auto-connection feature. ConnectAndLogOnAsync() is now exposed as part of the public API and is expected to be called before making requests to the API.

Codecov Report

Merging #22 into master will increase coverage by 0.49%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   98.64%   99.13%   +0.49%
==========================================
  Files          50       50
  Lines         591      579      -12
  Branches       54       49       -5
==========================================
- Hits          583      574       -9
  Misses          4        4
+ Partials        4        1       -3

Impacted Files
Coverage Δ

...aderboards/Steam/ClientApi/SteamClientApiClient.cs
100% <100%> (+4.39%)
:arrow_up:

...fz.NecroDancer.Leaderboards/toofz/OAuth2Handler.cs
97.72% <0%> (-2.28%)
:arrow_down:

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 4ab8526...1282ac1. Read the comment docs.


Make available as CDK constructs

Is your feature request related to a problem? Please describe.
Ability to customize the customization pipeline using readily available CDK constructs.
Describe the feature you'd like
Would like to be able to add additional steps and stages and leverage CDK constructs.
Additional context
For customers that are unable to use cdk, you can always just synthesize and share the cfn as is being done today.

Thanks for opening this feature request. We have added this to our backlog.

Hi @groverlalit I'm very interested in this, and would be keen to assist.

Hi @groverlalit
Any plans to implement this anytime soon?

Any updatres?


Integration tests are flaky on windows

Describe the bug
I've noticed our windows workflow failing at about 5 minutes on a few occasions now.
It seemed to start on https://github.com/LinuxForHealth/FHIR/pull/3887 but I don't see how that could be related.
Environment
main (CI only)
To Reproduce
Steps to reproduce the behavior:

run the CI a lot

Expected behavior
tests should reliably pass or fail
Additional context
GraphTermServiceProviderTimeLimitTest sets a time limit of 1 millisecond for cassandra, then performs a query and expects that query to time out.  Its reliable on my machine, but its occasionally failing in the CI for some reason.
JDBCSortTest is failing because the windows-19 environment was assigning the same timestamp (microsecond granularity) to 5 of the 6 resources that get created for this test.  It never used to do that.
JDBCWholeSystemSearchTest is failing for a similar reason...one of the test cases searched by lastUpdated time and was expecting a single match (but was getting 2).

The windows-2019 behavior is still pretty odd, but I've made changes to GraphTermServiceProviderTimeLimitTest and JDBCWholeSystemSearchTest to make them more robust.
For GraphTermServiceProviderTimeLimitTest, I just disabled it.

For Windows, it's possible the JVM isn't using the hi-resolution (aka multimedia) clock...in which case it probably runs at 100 ticks/second (10ms ticks). It could be a limitation of the virtualization environment.

Integration tests have been more stable on windows.  Considering this one done.


add support for JS decorators too

One of the best things about custom-react scripts is also the support for babel ES next decorators. Are going to add support here?

@ortonomy I published test version to NPM<EMAIL_ADDRESS>For enable Decorators, add REACT_APP_BABEL_STAGE_0=true to config
Сan you please check the work with Decorators?

a335f20

Closed #fc57680

Hey @artemirq -- thanks! Sorry I didn't reply over the weekend. I'll test it out this week.

I published test version to NPM<EMAIL_ADDRESS>For enable Decorators, add REACT_APP_BABEL_STAGE_0=true to config

Did you already merge this into the active version on NPM?

@ortonomy Now version 0.3.44-beta.3. Anyway check Readme


return None when function gets nothing, but not Error

I tried to get egg's inventory and spot box, and I get Error.
I guess that the functions get nothing. It would be better to return None under such circumstances.
get_inventory_data(3, 80)

Traceback (most recent call last):
File "C:\Users\2689\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
jd_invent = ak.get_inventory_data(3, 80, plot=False)
File "C:\Users\2689\AppData\Roaming\Python\Python37\site-packages\akshare\futures\futures_inventory.py", line 72, in get_inventory_data
exchange_name = soup.find_all("select")[0].find_all(attrs={"selected": "selected"})[0].get_text()
IndexError: list index out of range

box_office_spot()

Traceback (most recent call last):
File "C:\Users\2689\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3319, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
ak.box_office_spot()
File "C:\Users\2689\AppData\Roaming\Python\Python37\site-packages\akshare\movie\movie_maoyan.py", line 53, in box_office_spot
map_dict = get_map(text=text)
File "C:\Users\2689\AppData\Roaming\Python\Python37\site-packages\akshare\movie\movie_maoyan.py", line 39, in get_map
map_li = map(lambda x: str(int(x)), _classify.knn_predict(info))
File "C:\Users\2689\AppData\Roaming\Python\Python37\site-packages\akshare\movie\movie_maoyan_knn_font.py", line 43, in knn_predict
np.zeros((df.shape[0], self.len - df.shape[1])),
ValueError: negative dimensions are not allowed

Hello, i have checked the errors.

if you want to use function: get_inventory_data(3, 80), please put the function in try except, just like the example in source code, because of the website of is not worked vary well:

    for i in range(10):
        try:
            data = get_inventory_data(exchange=3, symbol=80, plot=True)
            print(data)
            break
        except:
            continue

box_office_spot function must use machine learning method e.g. KNN, it may found errors, so just try again, it will work again.

Hello, i have checked the errors.

if you want to use function: get_inventory_data(3, 80), please put the function in try except, just like the example in source code, because of the website of is not worked vary well:

    for i in range(10):
        try:
            data = get_inventory_data(exchange=3, symbol=80, plot=True)
            print(data)
            break
        except:
            continue

box_office_spot function must use machine learning method e.g. KNN, it may found errors, so just try again, it will work again.

I tried again and both worked.
well, uncertain behavior is not a good experience. A nice project anyway