Use custom domain name for IRSA cloudfront

As a customer i would like to have a custom domain for the Cloudfront bucket containing the IRSA details. Currently the Cloudfront generated url is hard to use in automation. This applies for both - Vintage and CAPA clusters.
Testing scenarios:

[x] Test creation of new v17 cluster with irsa enabled works
[x] Test creation of new v18 cluster with irsa enabled works
[x] Test enabling irsa on v17 cluster works
[x] Test enabling irsa on v18 cluster works
[x] Test upgrade of irsa operator upgrades cloudfront settings and does not break v17 clusters
[x] Test upgrade of irsa operator upgrades cloudfront settings and does not break v18 clusters
[ ] Test creating capa cluster with IRSA enabled
[ ] Test upgrading irsa-operator impact on existing capa cluster
[x] Test v18 cluster in china with irsa enabled
[x] Test enabling irsa in v18 china cluster

During irsa-operator upgrade, configmap URL does not get updated

@paurosello release 18.0.3 with fix of duplicate flag ready to be tested https://github.com/giantswarm/releases/tree/aws-18.0.3

We have an issue here which is very similar to the one we just fixed, the old cloudfront issuer needs to be kept otherwise the SA tokens are invalid again during the change.
Current SA tokens:
{
  "aud": [
    "sts.amazonaws.com"
  ],
  "exp":<PHONE_NUMBER>,
  "iat":<PHONE_NUMBER>,
  "iss": "https://d1znzzt8xntvfq.cloudfront.net",
  "kubernetes.io": {
    "namespace": "kube-system",
    "pod": {
      "name": "external-dns-7444869f65-hh6sq",
      "uid": "afdeb536-5816-4b62-95d4-1974a8be3959"
    },
    "serviceaccount": {
      "name": "external-dns",
      "uid": "2a2f575b-e1d2-41f5-b622-0ce14d3f391b"
    },
    "warnafter":<PHONE_NUMBER>
  },
  "nbf":<PHONE_NUMBER>,
  "sub": "system:serviceaccount:kube-system:external-dns"
}

Currently we replaced one with the other but we will need to keep both somewhow if they already enabled IRSA with Cloudfront (and the old one with the cluster domain):
--service-account-issuer=https://d1znzzt8xntvfq.cloudfront.net
--service-account-issuer=https://irsa.test.k8s.gauss.eu-west-1.aws.gigantic.io

Another issue is that the trust policy of Route53 role is not updated with the new OIDC provider:

should be

Then also we have 2 OIDC providers with different thumbprints

I tried the new aws-operator and have not see any issues with the signing keys

Then also we have 2 OIDC providers with different thumbprints

I was getting some issues in externalDNS with invalid thumbprint but would like to fix the other issues first before testing this again as the issuer might be related to this.

what is the desired state here? To have one provider but change the Url to the new one?

IRSA operator CloudFront domain alias needs to be optional or the option to disable it needs to be provided. This has to be implemented to facilitate the private clusters setup that we are working on for CAPA solution.

Will customers need to create the custom domain or will they be able to just rely on a default domain that we provide (e.g. linked to the cluster ID or something like that)?
It would be great if they could rely on some default one.

we provide a default

we provide a default

"provide" or "only support" ?

the current implementation (still WIP) hardcodes a calculated value as the alias, and that's the only alias we support right now.
The alias is something like this:
irsa.<cluster ID>.k8s.<installation>.<region>.aws.gigantic.io

I am testing this, on a v19 cluster.

I created the cluster with irsa operator 0.8.5 running
I tested irsa, all good
I upgraded irsa-operator
all needed resources have been created.
master nodes are still NOT rolled.
irsa workloads fail, with the following error

time="2022-11-14T16:45:48Z" level=error msg="records retrieval failed: failed to list hosted zones: WebIdentityErr: failed to retrieve credentials\ncaused by: InvalidIdentityToken: OpenIDConnect provider's HTTPS certificate doesn't match configured thumbprint\n\tstatus code: 400, request id: 07adce02-4dd3-4d34-a4d3-1fb35cad1659"

I think it is because the s3 file keys.json already includes the new URL

Just finished testing master on vintage and found no issue creating/upgrading/migrating from old irsa operator. I think we are good to go

Just finished testing master on vintage and found no issue creating/upgrading/migrating from old irsa operator. I think we are good to go

how about china?

ohh yeah

Vintage tested and looks good

Blocking this for vintage until customers adjust the permissions

all merged, ready to be released as soon as customer permissions will be ok

@whites11 is this the option to allow adidas to not use clusterIDs for IRSA? And all we have been waiting for is for them update the permissions that @T-Kukawka talked about in other tickets?

And can adidas specify the custom domain? or is it still with the clusterid? Because then you can't use clusters as cattle.

As discussed here: https://github.com/giantswarm/adidas/issues/1071
the custom domain is predefined and will have to be with cluster-id

The main interest form Adidas side to use a custom domain was in order to use a single role with the same domain across all the clusters but this introduces many issues for security upgrades.... I already had a chat with Iya about it and they will be creating a role per cluster for now as this is the best situation and they should sill be able to achieve this with automation

was CAPA tested?

this is implemented and works for both Vintage (integrated) and CAPA (integrated)


Support for setting item in Variable

Recently I'm implementing a network one of whose layers turns a sparse data representation into a dense data representation. The line to implement this is like dense[coord[0], coord[1], coord[2], :] = features. I found that this is supported in cupy array but not supported in Variable because it doesn't have __setitem__. So right now I have to write a stand-alone Function to support this. I hope this could be implemented for Variable just like in PyTorch.

#5171 partially addresses this.

Bump as the PR is ongoing

@toslunar What do you mean by partially?

#5171 enables
dense = F.set_item(
    dense,
    (coord[0], coord[1], coord[2], slice(None)),
    features,
    inplace=False)

while the request is

dense[coord[0], coord[1], coord[2], :] = features

I see.
Whether to support Variable.__setitem__ is just a matter of interface, but in order to support the original request efficiently, we will need inplace=True (which only have to work if dense does not require backprop), if my understanding is correct.

interface

Yes, the coordinates in my situation don't require back-propagation

As Chainer is under the maintenance phase, unfortunately we decided not to implement this feature. Thanks again for your contribution.


Lesson defs

Testing should work with updated seeds.
Query: view single lesson by ID
Mutation: add lesson, update lesson (any field except ID can be edited), delete lesson

This PR has server/schemas/lesson.js and server/schemas/lessonDefs.js which I think are the same thing. I know we talked about renaming the files from the defs versions and I neglected to do that in my PRs. For this PR approval please pick one file and delete the other. Then let me know if I should update any other file names!


Create movie and source classes

In this PR, I:
📃 Created Movie class in a separate .rb file.
📃 Created Source class with an association to the Item class (in a separate .rb file).
📃 All Movie class properties visible in the diagram are defined and set up in the constructor method.
📃 All Source class properties visible in the diagram are defined and set up in the constructor method.
📃 Implemented the add_item method  in the Source class which:
✔ takes an instance of the Item class as an input
✔ adds the input item to the collection of items
✔ adds self as a property of the item object (by using the correct setter from the item object)
📃 Implemented the can_be_archived?() in the Movie class which:
✔ overrides the method from the parent class
✔ returns true if parent's method returns true OR if silent equals true
✔ otherwise, it returns false

In this Milestone, I added the UI for the Movie and the Source methods with the following options:
✔ List all movies
✔ List all sources (e.g. 'From a friend', 'Online shop')
✔ Add a movie

Hi @Rebelzob, Thank you for the review, the reference to the different issues has been added to the pull request.


Modules, namespacing and overall dependency management

[ ] What is the story or sharing, importing and Bend modules? Will it follow python's fully qualified name system or be file-based like JavaScript?

// file based
import { some_symbol }  from "./my/module.bend"

# FQN based
from my.module import some_symbol

The advantage of the file-based approach is that you can include multiple versions of the same package in a single program. This has been advantage for the NPM ecosystem since it avoids some of the dependency hell problems seen in Python by allowing people to more freely upgrade versions downstream.
The advantage of FQNs is that it's familiar to Python developers which Bend seems to be targeting.

[ ] Will cargo be used or will Bend have its own package manager?

It depends on the module system later IMO.
I believe file based imports provides easy developer experience on major code editors and IDEs, since you can Ctrl + Left Click the file path.

We're not using cargo, we're making our own package manager.
We'll be using something like version + fully qualified name for imports


Flutter 3.0 build error

After upgrading to Flutter 3.0 we got a build problem when using expandable_page_view.
Log:
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/src/size_reporting_widget.dart:23
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../development/flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
    WidgetsBinding.instance!.addPostFrameCallback((_) => _notifySize());
                   ^
: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.

@zzterrozz This is just a warning, it should not prevent you from building the app. However I will upgrade and fix this warning with the upcoming version.

Warnings fixes in #36, changes available in version 1.0.14


Time-frequency in Source Space

Reference issue
This is the main PR for the GSoC TFR in Source Space Project (See: Issue #6290 ).
What does this implement/fix?
This PR will allow SourceEstimates or lists/generators of SourceEstimates to be passed into time_frequency functions. This means that the functions tfr_morlet, tfr_multitaper and tfr_stockwell will accept all types of SourceEstimates, and compute the correct time-frequency representation of source level data. It should work for all possible arguments of the respective functions (except n_jobs, which is ignored for morlet/multitaper, if a list is passed).
Additional information
Note that the PR #6543 will be further maintained within this pull, as the SourceTFR class and changes in time_frequency/tfr often depend on each other.
There are also some things that still should be implemented:

economic computation, if stcs with a (kernel, sens_data) data field is passed
economic computation of lists for tfr_stockwell
frequency plotting in source space.

Why is this PR taking over #6543 ?

Why is this PR taking over #6543 ?

I don't think that we can keep them easily separated from now on (other than PR #6609, which is a smaller task that might be merged before this PR). This is, because each time, I want to do something (like rebuilding support for economic tfr_computation of kernel data), I start from this pull, (since validating on tfr_functions), but will have to alter a lot of stuff in mne/source_tfr.py. Instead of constantly remembering to also merge the relevant changes in the other branch, i thought it would be simpler to just keep stuff here. It should also be better for the bigger picture (e.g. checking why specific SourceTFR functions do what they do).

the fact that you need an error message that refers to the last data dimension of an attribute is a code smell for poor data representation.

The reference to the [-1] kernel shape is due to the fact that the kernel can have different shapes of (n_diploes, n_channels) for normal orientation or ( n_dipoles, n_orientations, n_channels) for vector, where the dot product should be computed along the channels axis. Of course you could reshape the kernel in another way when creating vector data, so that the orientation axis is added at the end, and the dot product is always added along the axis [1]. However, i tried to keep the shapes as comprehensive as possible with the full data shape being (n_dipoles[, n_orientations][,n_epochs], n_freqs, n_times) and kernel, sens_data of (n_dipoles[, n_orientations], n_channels), (n_channels[, n_epochs], n_freqs, n_times), which is in my opinion the clearest to understand. Another bonus of this is that you can create vector_ori unregarded of knowing whether you're handling a full data field or just a data kernel, by simply adding the new orientations dimension after the dipole/first dimension.

This plus the fact that you keep needing to check if you have the kernel attribute populated to either do this or that suggest that we miss one layer of encapsulation.

What would be your suggestion? Should we add some function that looks into the data and returns the according tuple element?

Ugh. Can Anyone tell me why sphinx throws errors like this in ci/circleci: build_docs:
/home/circleci/project/mne/time_frequency/tfr.py:docstring of mne.time_frequency.tfr_morlet:63: WARNING: py:obj reference target not found: SourceTFR

I already searched the web, but didn't find a way to solve this...
Is there any reference file where I have to put the new class, in order to omit this warning?

All API cross-reference targets must be in doc/python_reference.rst

... and if they are in a Parameters or Returns section they need to live here, too:
https://github.com/mne-tools/mne-python/blob/master/doc/conf.py#L565

It would help me @DiGyt if you could write an example. Running the example myself, seeing the API in a common use case and introspecting the objects in ipython would help a lot.
can you give it a try?

... and if they are in a Parameters or Returns section they need to live here, too:
https://github.com/mne-tools/mne-python/blob/master/doc/conf.py#L565

... and if they are in a Parameters or Returns section they need to live here, too:
https://github.com/mne-tools/mne-python/blob/master/doc/conf.py#L565

That's just what I needed! Thanks @larsoner and @drammock

It would help me @DiGyt if you could write an example. Running the example myself, seeing the API in a common use case and introspecting the objects in ipython would help a lot.
can you give it a try?

@agramfort
I created a first example in PR #6673 in examples/time_frequency/plot_source_tfr_power_and_itc.py . I hope that's what you were looking for.
Do you think examples are enough, or should I add a tutorial? I thought about ~3 examples using different tfr_functions, different stc types and different parameters. What do you say?

Is #6674 taking over this one?
On Sun, Aug 18, 2019, 17:03 Dirk Gütlin<EMAIL_ADDRESS>wrote:

It would help me @DiGyt https://github.com/DiGyt if you could write an
example. Running the example myself, seeing the API in a common use case
and introspecting the objects in ipython would help a lot.
can you give it a try?
@agramfort https://github.com/agramfort
I created a first example in PR #6673
https://github.com/mne-tools/mne-python/pull/6673 in examples/time_frequency/plot_source_tfr_power_and_itc.py
. I hope that's what you were looking for.
Do you think examples are enough, or should I add a tutorial? I thought
about ~3 examples using different tfr_functions, different stc types and
different parameters. What do you say?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/6629?email_source=notifications&email_token=ABVX5YZO6CMJHFMZME75MF3QFFQDHA5CNFSM4IJKQS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RB2KQ#issuecomment-522329386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVX5Y7ZZ7E6PVFMRM4LBPDQFFQDHANCNFSM4IJKQS7A
.

Sorry #6673
On Sun, Aug 18, 2019, 17:06 Sik<EMAIL_ADDRESS>wrote:

Is #6674 taking over this one?
On Sun, Aug 18, 2019, 17:03 Dirk Gütlin<EMAIL_ADDRESS>wrote:

It would help me @DiGyt https://github.com/DiGyt if you could write an
example. Running the example myself, seeing the API in a common use case
and introspecting the objects in ipython would help a lot.
can you give it a try?
@agramfort https://github.com/agramfort
I created a first example in PR #6673
https://github.com/mne-tools/mne-python/pull/6673 in examples/time_frequency/plot_source_tfr_power_and_itc.py
. I hope that's what you were looking for.
Do you think examples are enough, or should I add a tutorial? I thought
about ~3 examples using different tfr_functions, different stc types and
different parameters. What do you say?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/6629?email_source=notifications&email_token=ABVX5YZO6CMJHFMZME75MF3QFFQDHA5CNFSM4IJKQS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RB2KQ#issuecomment-522329386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVX5Y7ZZ7E6PVFMRM4LBPDQFFQDHANCNFSM4IJKQS7A
.

Is #6674 taking over this one?
Sorry #6673

@massich
No, I just opened #6673 and #6672 up as draft PRs, to be merged after this one. I think this pull should really be the priority, and the other stuff can be added later.

@agramfort
I tried to migrate the source_tfr.py module from mne/ to mne/time_frequency as you mentioned in https://github.com/mne-tools/mne-python/pull/6673#discussion_r314992973 (I also think that this idea makes a lot of sense). However this is causing a very nasty circular import reference, if we include in in time_frequency.__init__ and I'm not sure how to handle it in the best manner.
I thought, as you also would like to factorize everything with _BaseSourceEstimate ( https://github.com/mne-tools/mne-python/pull/6673#discussion_r314993242 ), we might just add the SourceTFR class to source_estimate.py, in order to keep everything together. But obviously, it would also make sense to keep SourceTFR in mne/time_frequency.
However, @agramfort @massich
The SourceTFR class does currently allow the possibility of storing data in the (kernel, sensor_data) form. But for now, this option is not even used, as the full tfr source time course is computed inside the time_frequency functions (in order to cope with the nonlinear steps that need to be performed after np.dot(kernel, sensor_data) ). So at the moment, the question is if we want to maintain the unused (kernel, sensor_data) representation for SourceTFRs.
If we do, I think it makes sense to make SourceTFR inherit stuff from _BaseSourceEstimate, and add it to the mne/source_estimate.py file as mentioned above. If we don't want to maintain this functionality, there will be less stuff to inherit from _BaseSourceEstimate, and therefore it would eventually be better to keep it a separate class.
So 2 questions, where i'd like to hear your opinions:

Should we maintain the functionality of SourceTFRs supporting (kernel, sensor_data) type data?
Should we add SourceTFR to mne/source_estimate.py or try to put it in mne/time_frequency/source_tfr.py?

Closed: See Issue #6290


Stack overflow when emitting ESM package

Steps to reproduce:

Check out this commit: https://github.com/NfNitLoop/feoblog-client/commit/ba0de8f73f47f726307edae5a90006e00d5e52d1
run deno task build-npm

Output:
PS C:\Users\Cody\code\feoblog-client> deno task build-npm
Warning deno task is unstable and may drastically change in the future
Task build-npm deno run -A ./build/npm.ts
[dnt] Transforming...
[dnt] Running npm install...

added 12 packages, and audited 13 packages in 3s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[dnt] Building project...
[dnt] Emitting declaration files...
[dnt] Emitting ESM package...
error: Uncaught (in promise) RangeError: Maximum call stack size exceeded
    function visitEachChild(node, visitor, context, nodesVisitor, tokenVisitor, nodeVisitor) {
                           ^
    at Object.visitEachChild (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:89515:28)
    at visitorWorker (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:94391:23)
    at visitor (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:94397:20)
    at visitNode (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:89313:23)
    at Object.visitEachChild (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:89735:61)
    at visitorWorker (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:94391:23)
    at visitor (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:94397:20)
    at visitNode (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:89313:23)
    at Object.visitEachChild (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:89735:61)
    at visitorWorker (https://deno.land/x/ts_morph@15.1.0/common/typescript.js:94391:23)

FWIW, still seeing this error (w/ a slightly different codebase) in dnt v0.32.0, ts-morph v17.0.1.
I'm looking into it a bit more because I'd really like to make Deno the canonical source for this library. :)
It turns out that if I just give it some more stack to work with, it completes:
easy to reproduce with these deno tasks:
        "build-npm-debug": "deno run -A --v8-flags=--stack-trace-limit=999999 ./build/npm.ts",

        //works:
        "build-npm-bigstack": "deno run -A --v8-flags=--stack-size=2000 ./build/npm.ts",

        // doesn't:
        "build-npm": "deno run -A ./build/npm.ts",

Unfortunately, "completes" means it tells me that it can't find a type:
> deno task build-npm-bigstack
Task build-npm-bigstack deno run -A --v8-flags=--stack-size=2000 ./build/npm.ts
[dnt] Transforming...
[dnt] Running npm install...

added 26 packages, and audited 27 packages in 4s

3 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[dnt] Building project...
[dnt] Type checking...
src/private/shim.ts:6:24 - error TS7016: Could not find a declaration file for module 'bs58check'. 'C:/Users/Cody/code/feoblog-client/npm/node_modules/bs58check/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/bs58check` if it exists or add a new declaration (.d.ts) file containing `declare module 'bs58check';`

6 import * as bs58c from "bs58check"
                         ~~~~~~~~~~~

error: Uncaught (in promise) Error: Had 1 diagnostics.
        throw new Error(`Had ${diagnostics.length} diagnostics.`);
              ^
    at build (https://deno.land/x/dnt@0.32.0/mod.ts:315:15)
    at async file:///C:/Users/Cody/code/feoblog-client/build/npm.ts:6:1

Now, when I import that from esm.sh like this:
import * as bs58c from<EMAIL_ADDRESS>
I get types. So esm is properly providing types to me. Shouldn't dnt just use those?
In the meantime I'm working around it by explicitly grabbing the type bindings by adding devDependencies to my build/npm.ts:
        devDependencies: {
            "@types/bs58check": "*",
        }

And now we're on to other shimming problems which I'll look into later. Sorry for the train-of-thought. Just trying to capture the use case of a new user. Several issues here that could probably be pulled out into their own tickets.  Happy to do so if that helps:

More stack space by default?
Grab types from esm.sh?
Whatever the next breaking thing is. :p

FWIW, the fix was to stop using the library that was causing the issue. Not sure what about that library was causing the issue, but it was an easy enough work around.  Once I figured out which library was causing the issue, which required firing up a debugger, because the error condition didn't make that clear.
So maybe another potential feature/improvement request is: add information about the current library being transformed to the output so that users can figure out which part failed more easily. :)
Super happy to have this working now. Thanks for making DNT!


xviz server can not run properly

After running ./scripts/run-kitti-example.sh, it will throw Error: Cannot find module '../dist/es5'. Node.js version is v12.15.0. Thanks.

i had the same issue which got resolved by installing jq(Json Parser)

i had the same issue which got resolved by installing jq(Json Parser)

How to Install this, try by npm install jq is error, and try brew install jq and then not find brew; I install brew by npm, and brew not find

@heshiwen1989 What platform are you on?  jq is a command line tool that should be available in linux and mac, not sure the setup for windows.
the website shows homebrew support.
https://stedolan.github.io/jq/download/


ja: Make docs/concepts/architecture/cloud-controller.md follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/architecture/cloud-controller.md to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/concepts/architecture/cloud-controller.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.1/content/ja/docs/concepts/architecture/cloud-controller.md
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/concepts/architecture/cloud-controller.md
diff between translated and v1.18
https://gist.github.com/f79319c6ef563b1886c6b2b9261d394f
Note
Currently, we use dev-1.18-ja.1 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/assign

/close


Planned implmentation?

Is there any planned implementation? Would love to see something as angular2-json-schema-form seems to have gone stagnant.

It is in progress, but it is slow going at the moment, not helped by me being on holidays till mid June.

Any progress or help required to take this forward?


feat: add option for skipping CRD installation

Could be passed using argo_application_values variable

@jaygridley using argo_application_values variable works with helm provider only. It doesn't work with kubernetes provider because you don't have to use deep merge block with dynamic content in this provider and terraform merge() function merges the first level of the map only.
Your fix is included in #9 but doesn't reuse var.helm_skip_crds (it uses own variable argo_skip_crds instead)


Some ideas for new version

Hi,
Yesterday, I worked on this project and tried to add couple of features. Since Swift 4, enums have allCases property and I think theme can be good case for this. Since I use enum, type safety is guaranteed. Basically I added the following;

Converted theme array to single enum.
Theme can be set directly or with its raw value.
All Themes and theme names
Random theme
Removed deprecated statusBarStyle binding.

@tomahh
Thanks for your contribution.
I do agree that CaseIterable can improve the interface.
I opened a new branch swift4.2, could you rebase your PR to that branch, which would be merged after Xcode10 released officially.
And by the way, could you separate your currenct PR to multiple PRs, where each serves a single purpose.


fix: Assets are not loaded when the library is used via an intermediate Razor component library

🐛 Bug Report
If I use the UI library in a Razor component library, the necessary data such as CacheStorageAccessor.js is not loaded. This leads to the fact that the application, which uses the library, cannot be executed correctly. As an example I have created a small application that demonstrates my problem.
💻 Repro or Code Sample
Sample Code: GitHub
🤔 Expected Behavior
I would expect that the components in the library can be used in the same way as if they can be used directly in a Blazor app. (Icons, Emojis, etc.)
😯 Current Behavior

💁 Possible Solution

Please let us know if you'd be willing to contribute the fix; we'd be happy to work with you
🌍 Your Environment

OS & Device: Windows
Browser e.g. Microsoft Edge, Google Chrome
.NET and FAST Version

.NET: 7.0.5

FAST: 2.1.4

Hi,
Sorry, but that is not something I foresee to be fixed. The components and library depend on settings (like the ones you have in your FastUi.Sample.Components.csproj file) to be present the referencing application and project.
The package is not and will not be transitive.

Hi,
Sorry, but that is not something I foresee to be fixed. The components and library depend on settings (like the ones you have in your FastUi.Sample.Components.csproj file) to be present the referencing application and project.
The package is not and will not be transitive.

Ok! Thanks for the quick feedback. Do you have a tip how I could use it via an own component library?

Why not just install it in both project (ie your library and consuming project)?

The idea was to provide a library with components that take over the styling and behavior of fast ui but have additional logic. So that it can be used in several projects at the same time without installing more than one package.

I see. Understood but I don't think there are a lot of component libraries that would make this scenario possible.


Final (?) deployment fix

This binds flask to all IPs within the container to allow it to reach the local machine. Also contains balance history table fixes.

still not working as expected, capitalization of files needed


New Icon Request

I'm sure this issue is not a duplicate.
I want to create an icon request(if not, remove these lines below):
- Type: [extension]
- Icon Name: [gadget][uslx]
- Sample original Icon (32x32/svg/transparent whenever possible): [url]
- Extensions: .gadget,.uslx

We highly appreciate if you can give us more info on the related software.

The uslx file is piece of html code,the gadget file is a collection of html,js,css to organize a function.

is .uslx a specific file extension for a particular program/application or set of programs?  Google isn't coming up with anything.  Or is it .gadget[1]
If it's .gadget, it's a zip file container... is it the output of a process?  it seems like it wouldn't be something you'd manipulate in vscode directly (can it be a directory suffix?)
I'm asking because I had to do a little searching, and I'm still not sure if I'm familiar with what you are wanting/expecting?
[1] https://fileinfo.com/extension/gadget

Expanding @tracker1 question, providing links that explain the software using those extensions would be more informative.


LED Additions Part 2/4: Added in status LED for wifi

This PR adds a debugging LED to determine when the device is connected to WiFi. This PR is linked to:

#20
#21
#3

Are we going to abandon this PR now given that this one exists?


Leksah in NixOS 14.12 - fails to install

Details:
http://stackoverflow.com/questions/30958505/leksah-in-nixos-14-12-fails-to-install-why

Please see the responses on that very page. That build failure did not occur on the release-14.12 branch. I don't believe a package for Leksah even exists in that branch.

sorry, yes, it is in unstable


cmake: Allow exporting CMake targets

This PR provides a way for CMake users to use standard CMake idioms to find an installed libuv.
In particular, libuv currently does not generate a libuv-config.cmake file and cannot be found through find_package without providing a Findlibuv.cmake which is not distributed with vanilla CMake.
Also, currently, non-UNIX platforms don't get a libuv.<shared-lib> or libuv_a.<static-lib> file installed.
Fixes:

Allow libuv installs on all platforms
Enable CMake to find the libuv package if at CMake generation time, LIBUV_EXPORT_CMAKE is truthy.

Testing:

Created a new folder foo containing two files:

foo/foo.c : test C code

// foo.c

#include <uv.h>

char const* foo()
{
    return uv_strerror(UV__EOF);
}

foo/CMakeLists.txt: a CMake user of libuv

# CMakeLists.txt test
cmake_minimum_required(VERSION 3.0)
project(foo LANGUAGES C)
find_package(libuv CONFIG REQUIRED)

add_library(foo foo.c)
target_link_libraries(foo libuv::uv_a)

Test output:
# Existing CMake setup works as usual
$ cmake -H. -B_build -G'Visual Studio 15 Win64' -DCMAKE_INSTALL_PREFIX=_install
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.12.25831.0
-- The CXX compiler identification is MSVC 19.12.25831.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: <retracted>/code/libuv/_build

# -- run install, and see the regular install tree

$ cmake -H. -B_build -DCMAKE_INSTALL_PREFIX=_install -G'Visual Studio 15 Win64' -DBUILD_SHARED_LIBS=1 -DLIBUV_EXPORT_CMAKE=1
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.12.25831.0
-- The CXX compiler identification is MSVC 19.12.25831.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Exporting for CMake
-- Configuring done
-- Generating done
-- Build files have been written to: <retracted>/code/libuv/_build

# -- run install, and see the newer files in the install tree

$ tree -h _install
... skip old stuff ...
---+ lib
---|---+ cmake
---|---|---+ libuv
   |   |   |-- libuv-config.cmake [669 B]
   |   |   |-- libuv-targets-debug.cmake [1.24 KB]
   |   |   |-- libuv-targets.cmake [3.76 KB]
... skip old stuff ...

$ cmake -Hfoo -Bfoo/_build -DCMAKE_INSTALL_PREFIX=_install -G'Visual Studio 15 Win64' -DBUILD_SHARED_LIBS=1
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.18362.
-- The C compiler identification is MSVC 19.12.25831.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: <retracted>/code/libuv/foo/_build

$ cmake --build foo/_build/ --target foo --config Debug
Microsoft (R) Build Engine version <IP_ADDRESS>428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  CMake does not need to re-run because <retracted>/code/libuv/foo/_build/CMakeFiles/generate.stamp is up-to-date.
  Building Custom Rule <retracted>/code/libuv/foo/CMakeLists.txt
  CMake does not need to re-run because <retracted>/code/libuv/foo/_build/CMakeFiles/generate.stamp is up-to-date.
  foo.c
  foo.vcxproj -> <retracted>\code\libuv\foo\_build\Debug\foo.dll

Any updates?

@akalsi87 You're targeting master but v1.x is likely the branch you want because that's where releases are made from (and its CMakeLists.txt is quite different from the one in master.)


imp: data stores available from script level

As discussed, a simpler approach to persisting the state of information point script between invocations has been found, which does not require making James script API more complex. @Field variable annotation provides similar functionality as information point local store.


Support embedded-hal 1.0

embedded-hal has reached 1.0, There are some changes in traits since 0.2 and we should ideally update atsamx7x-hal accordingly.

We'd need estimate how many changes there are affecting us. I'll try to check this this week.


Connect UCX endpoints early during app startup

Signed-off-by: Alessandro Bellina<EMAIL_ADDRESS>The following PR adds a heartbeat (default on, configurable) when the RapidsShuffleManager is enabled, allowing UCX to start connections to peers early, so it can exchange rkeys. Rkeys are opaque objects that UCX uses to encapsulate serialized handles to remote memory for RDMA and also for CUDA. Exchanging rkeys early helps because opening cuda IPC mem handles, and the various RoCE/Infiniband registrations, can take considerable time.
When all peers connect early, we have seen savings of up to 20%. This number is all over the place since we are lazily doing the registration as well. Especially for queries that are sub 1 minute in run length this can help because registration can be up to a few seconds, depending on system conditions.
Prior to this patch UCX connection establishment occurred at shuffle read time. spark.rapids.shuffle.transport.earlyStart can be set to false to go back to the late binding approach.
It is based on a patch from @jlowe. And early rkey unpacking was suggested by @Akshay-Venkatesh.
Closes https://github.com/NVIDIA/spark-rapids/issues/1558

build

Thanks @jlowe


chore(package): update eslint to version 3.17.1

Closes #245
https://greenkeeper.io/

Coverage remained the same at 98.969% when pulling c3b913165671fab5a12087a05b05684a40ae16ff on greenkeeper/eslint-3.17.1 into df21ab62cb7e498b56c9eca546b75db2e3344535 on master.

Coverage remained the same at 98.969% when pulling c3b913165671fab5a12087a05b05684a40ae16ff on greenkeeper/eslint-3.17.1 into df21ab62cb7e498b56c9eca546b75db2e3344535 on master.


Refactor frexp API

Description

What is the purpose of this pull request?

This pull request:

Refactors frexp package to support assign when the result needs to be overwrite a given array

Related Issues

Does this pull request have any related issues?

This PR is part of https://github.com/stdlib-js/todo/issues/1435
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@steff456 As part of this refactor, did you identify any dependents (i.e., packages using frexp) that would need to be updated as a result of refactoring to an assign API?

@steff456 As part of this refactor, did you identify any dependents (i.e., packages using frexp) that would need to be updated as a result of refactoring to an assign API?

I need to double check!

Update: there's no dependents that need to be updated 😉

@steff456 Thanks for checking!

@steff456 Aren't @stdlib/stats/incr/prod and @stdlib/stats/incr/mprod affected by the changes introduced in this PR?

 I'm not sure why my editor was excluding files in the search, but now it is fixed! Thanks for double checking on your side @kgryte :)

@steff456 I think any node_modules folders are being ignored by default in most code editors. I remember having had to configure my workspace to make sure that the lib/node_modules/@stdlib folder and its sub-folders are not ignored.


Duplicate Requests `Fetch finished loading: POST "https://mainnet.infura.io/v3/.

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.2.0
Current Behavior
It shows duplicate fetch requests upon route transition in next.js
What is the getUrl and is there any way i can deduplicate the requests

Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response

The stack trace shows below
| eval | @ | geturl.js:35
-- | -- | -- | --
  | eval | @ | geturl.js:13
  | __awaiter | @ | geturl.js:9
  | getUrl | @ | geturl.js:18
  | eval | @ | index.js:182
  ```

Happy to take a look if you create a CodeSandbox with a basic example!

Got it! Thank you so much for your work and support!

@shunkakinoki any luck on a basic example?

@tmm thank you for the mention!
can you wait until the week? sorry for the delay

Just fixed the error...
It was on my implementation, sorry for the unncessary error.
Thank you again for your awesome work!


Support different Container runtimes

Is this a request for help?: No

Is this an ISSUE or FEATURE REQUEST? (choose one): FEATURE

What version of acs-engine?: Master

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes
What happened:
Kicking off the discussion to make the Container runtime pluggable. Currently only looking to move from Docker engine to Docker ee/ce and nvidia-docker on GPU enabled VMs.
There's also the larger question of if we should move to CRI
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:

cc @jackfrancis

#1945 by @jessfraz added support for clear containers as runtime

Fantastic! Will use that as reference for building the other PRs.


wrong prototype reference

Hey man,
I think the prototype reference for subAccountsUniversalTransfer is wrong as it calls
SubAccount_1.SubAccounts.prototype.subAccountsList
instead of
SubAccount_1.SubAccounts.prototype.subAccountsUniversalTransfer
Hope you can fix it soon
Cheers and thanks
Allan
https://github.com/Treast/binance.js/blob/783b9e76cca6d3ccb9bcabe7aea1bf24ee70b5e2/dist/Binance.js#L194

Thank you for the feedback.
Should be fixed in v1.1.1


Had a question...

So, I guess I'm kind of confused so a little bit of help on this would be awesome! I didn't think the NadekoBot had to be self-hosted, but it appears it does? If I'm wrong, can someone correct me?
It's weird that the bot is online in the server, but needs to be self-hosted for the commands to execute. Is it possible to do this in any fashion other than self-hosting the bot? I'm going to be starting a rather large community discord channel soon, and I hope to see that I don't have to leave my computer online 24/7 for the bot's functionality to work.
Let me know, and thanks for taking the time to read this!

No it does not have to be self hosted. You can invite the public bot with this link
https://discordapp.com/oauth2/authorize?client_id=170254782546575360&scope=bot&permissions=66186303
She had a pretty long downtime until few hours ago.


Ensure booking confirmation screen handles all classes of CRN error

We update our Content Security Policy to allow the HMPPS Auth URL as a possible form action target.
Currently, if a 403 error occurs on a GET request, this will be captured by the error handling setup in errorHandler.ts, and the user will be redirected to the sign out URL, which then redirects to the HMPSS Auth URL. However, if a 403 error occurs on a POST request, this second redirect may not occur, and the user may, depending on their choice of browser, be frozen on the form page they just submitted.
Due to CSP implementation details that vary between browsers, adding the HMPPS Auth URL to our form action targets allows this second redirect to occur as expected.
For further details, see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/form-action

Nice work. This seems reasonable to me.
hmpps-auth is a trusted domain and so we should be able to redirect there safely. Any of our form data made visible there shouldn't be an issue. If I understand this correctly then even if hmpps-auth added another redirect to somewhere other than us, such as evil.com, then the redirect wouldn't work.
There appears to be some precedent for this in 3 other projects. This makes it feel like a good candidate to go back into the the template:

https://github.com/ministryofjustice/book-a-prison-visit-staff-ui/blob/7c9997ade13f599e3c8cac0d92ac176a097edff8/server/middleware/setUpWebSecurity.ts#L20
https://github.com/ministryofjustice/make-recall-decision-ui/blob/e09b64f52eb908f2a9f43ca8e0df13c4202e7c23/server/middleware/setUpWebSecurity.ts#L31
https://github.com/ministryofjustice/hmpps-incentives-ui/blob/b601aea8900735a78b003c623083d35f4b8b19e9/server/middleware/setUpWebSecurity.ts#L22


bundle: Prompts for write access to the deno cache, Deno.emit didn't

Deno.emit worked just fine with --allow-net --allow-read --allow-env
On 1.22 with this new userland module:
 Deno requests write access to "${HOME}/Library/Caches/deno". Run again with --allow-write to bypass this prompt.

This is expected behaviour for a user land implementation to be able to write to the DENO_DIR.


Remove and add auth template reference error

MacOS, latest amplify-cli
Reproduce: remove auth and add new auth service in one go
ui|master⚡ ⇒ amplify push

Current Environment: dev

| Category | Resource name   | Operation | Provider plugin   |
| -------- | --------------- | --------- | ----------------- |
| Auth     | pcc1cbb190b     | Create    | awscloudformation |
| Auth     | pcc34b3fd39     | Delete    | awscloudformation |
| Api      | pcc             | No Change | awscloudformation |
| Hosting  | S3AndCloudFront | No Change | awscloudformation |
? Are you sure you want to continue? Yes
⠙ Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
✖ An error occurred when pushing the resources to the cloud

Template error: instance of Fn::GetAtt references undefined resource authpcc34b3fd39

How can I proceed? I'm stuck now

Do you have a GraphQL API using cognito user pools?

I do yes

If so, you can update the API to use the new auth that you added using ‘amplify update api’

Okay, that seems to have helped. Thanks!
Still would consider this an issue - amplify should update the reference for me

Yeah, struggled with this for an hour. The error message was not helping at that point. Agree that this feels still like an issue for a beginner.


CSUB-266: Build git tags and push them as a release

Description of proposed changes:
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #520 (b5402e7) into dev (4aa59d7) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b5402e7 differs from pull request most recent head aa6949b. Consider uploading reports for the commit aa6949b to get more accurate results

@@           Coverage Diff           @@
##              dev     #520   +/-   ##
=======================================
  Coverage   77.99%   77.99%
=======================================
  Files          43       43
  Lines        8431     8431
=======================================
  Hits         6576     6576
  Misses       1855     1855

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Lazy language loading / tree-shakable languages loading

Hi @EvanHahn ,
is it possible to load one or a defined set of particular languages only?
Currently everything is stored in a single object, all functions are located in one file etc.
Do you plan to move the functions to different files with ES6 imports on top?
Or, at least, have the library separated from each language specifics, that every language can be loaded separately.

This library is in maintenance mode, so no new features will be added.
However, if you want to fork this project, feel free. I will include links to forks if they're reasonable.


AV1 Still Image File Format (AVIF) format support

As more and more browsers start supporting AVIF format, it would be very helpful to allow generating thumbnails in it.
Thumbnail size is critical and this format has much better compression ratio.

libavif tagged a new release, 0.1.3. See Colorist for an example implementation.


Add take_element methods for InMemoryDicomObject

Allow the user of dicom_object to take the element from the object, removing it in the process.
For in-memory objects, this can translate to less data copying.
    /// <document please>
    pub fn take_element(&mut self, tag: Tag) -> Result<InMemElement<D>> {
        todo!()
    }

    /// <document please>
    pub fn take_element_by_name(&mut self, name: &str) -> Result<InMemElement<D>> {
        let tag = self.lookup_name(name)?;
        self.take_element(tag)
    }

@Enet4 I'm interested in taking this on! To make sure I'm understanding, would it work to use the remove method of the entries BTreeMap?

@pjsier Yes, I believe that would be it for the implementation. :+1: A quality PR would also include documentation and a basic test (alongside the ones in the same module).

@Enet4 sounds great! I can work on that in the next few days


[Event Request] Codeunit 99000774 Function CreateLoadForward

Hello Team,
we need a new publisher before calculating the EndingTime
Old Code
IF TimeType IN [TimeType::"Setup Time",TimeType::"Run Time"] THEN
RelevantEfficiency := CalendarEntry.Efficiency
ELSE
RelevantEfficiency := 100;
EndingTime :=
NEW CODE
IF TimeType IN [TimeType::"Setup Time",TimeType::"Run Time"] THEN
RelevantEfficiency := CalendarEntry.Efficiency
ELSE
RelevantEfficiency := 100;
OnBeforeCalculatingEndingTime(ProdOrderRoutingLine, Var RelevantEfficiency, TimeType);
EndingTime :=
Thank you

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[FEAT] Add hacktoberfest topic

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
Hacktoberfest is back this year. I think we should participate in this.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@vedantmgoyal2009 Thank you for opening this issue!
I had signed this org and myself (as a maintainer and participant) up to hacktoberfest.
However there is only 4 days of Hacktoberfest left.
I think we should leave it for this year, and once this org becomes busy, it should be ready for events such as Hacktoberfest.
I really appreciate all your help and support in this org!


Is OP-P the official name of major opcode 0b1110111?

The Zvk* extensions call it OP-P in their encoding tables. The opcode table in the RV32/64G Instruction Set Listings calls it "reserved".
CC @aswaterman

For context, the current P-extension proposal moves those instructions elsewhere, but OP-P is used for Zvk* etc., so another name might be more appropriate.

@topperc The ARC wanted to know whether renaming the major opcode was a headache for toolchains.  If it's not onerous to change, we would like to rename it to OP-VE ("Vector Extensions") to more accurately reflect its current use and likely future use.

@topperc The ARC wanted to know whether renaming the major opcode was a headache for toolchains. If it's not onerous to change, we would like to rename it to OP-VE ("Vector Extensions") to more accurately reflect its current use and likely future use.

The only place I can think the name might be exposed to users by the toolchain is in the .insn handling. It doesn't look like binutils documented or implemented a name https://sourceware.org/binutils/docs/as/RISC_002dV_002dFormats.html. I think LLVM did expose it as OP_P. LLVM doesn't have its own documentation for .insn so if someone figured that out they had to look at the source code. So the risk is low.
Within the toolchain source code it should be a quick search and replace.
I think we should proceed with renaming.

Sounds reasonable to me, especially if we change it promptly.


NaN mapped to the feature grid

During preprocessing:
Traceback (most recent call last):
  File "/deeprank/deeprank/generate/DataGenerator.py", line 1115, in map_features
    gt.GridTools(
  File "/deeprank/deeprank/generate/GridTools.py", line 151, in __init__
    self.create_new_data()
  File "/deeprank/deeprank/generate/GridTools.py", line 171, in create_new_data
    self.add_all_features()
  File "/deeprank/deeprank/generate/GridTools.py", line 254, in add_all_features
    self.hdf5_grid_data(dict_data, 'Feature_%s' % (self.feature_mode))
  File "/deeprank/deeprank/generate/GridTools.py", line 764, in hdf5_grid_data
    GridTools._check_features("%s[%s] from %s" % (data_name, key, str(self.variant)), data)
  File "/deeprank/deeprank/generate/GridTools.py", line 745, in _check_features
    raise ValueError("%s: NaN detected" % name)
ValueError: Feature_ind[coulomb] from /pdb/pdb5mnh.ent:a:153:Aspartate->Asparagine: NaN detected

When feature values are NaN, training fails.
Traceback (most recent call last):
  File "/deeprank/scripts/learn.py", line 79, in <module>
    neural_net.train(nepoch = epoch_count, divide_trainset=[0.7, 0.2, 0.1], train_batch_size = 5, num_workers=0)
  File "/deeprank/deeprank/learn/NeuralNet.py", line 350, in train
    self._train(index_train, index_valid, index_test,
  File "/deeprank/deeprank/learn/NeuralNet.py", line 635, in _train
    train_loss, self.data['train'] = self._epoch("train-epoch-%d" % epoch,
  File "/deeprank/deeprank/learn/NeuralNet.py", line 773, in _epoch
    for d in data_loader:
  File "/usr/local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in __next__
    data = self._next_data()
  File "/usr/local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 561, in _next_data
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "/usr/local/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/deeprank/deeprank/learn/DataSet.py", line 290, in __getitem__
    features, target = self.load_one_variant(fname, mol)
  File "/deeprank/deeprank/learn/DataSet.py", line 904, in load_one_variant
    raise ValueError(f'Feature {name} not found in file {fname} for variant '
ValueError

There's a check here to be sure there are no NaNs. It was confirmed by a test that grid features with NaN do not get added to the preprocessed data. The training error is not reproducible and still a mystery.

Thanks so much Coos. I am re-running mini jobs with the modifications. I am guessing one certain kind of PDB is the culprit. Let's see.

NaN issues resolved.


add the rulename, transactionID, Resourcetype and resourceID for WAF

Change(s):

Add more details when alert fires for WAF item(s): ruleName_s, transactionId_g, ResourceType, ResourceId

Reason for Change(s):

We had this alert fire off for an application gateway and the existing items pulled into the alert do not state the actual resourcetype (from 4 in rule), or any details for the Resource or WAF Rule. The offending IP, URL, statuscode, useragent are not enough to easily figure out "what" WAF protected (or perhaps unprotected) resource is in question.
Adding the rulename is helpful if the data is passed and not blocked - we see what rule allows attempt
Adding Resourcetype + ResourceID helps the analyst determine the target quickly
Adding the transactionID is a unique search item to dig in deeper for details from WAF?azurediagnostics log directly

Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Looking into this


Add a "Myths" section

@emersonthis made this site before working on this project. The content is 100% up for grabs if we want to fold it into this site. The goal is to provide concise, informed responses to some of the popular wrong (and dangerous) ideas that people have.
Proposal:

Add a new sub-section called Myths, probably at the bottom of the Act & Prepare page
Use the same format: title followed by the explanatory text, but no colors on the titles (to differentiate from the DOs and DONTs section
Make sure each title is linkable. One of the biggest values of this content is that it's a quick resource that can be shared on social media or via email. (We were getting tired of refuting the same misconceptions again and again)
Update the sources to be more current (also note that a few of them currently cite this site)

cc @mellybelly

For convenience, here's the content:
It's just the flu.
It isn't! The severity is more similar to pneumonia. Many patients require respiratory support. It is also more contagious than the common flu.
Sources: [1] [2]
I'm young and healthy so I don't need to care.
Young and healthy people are generally less likely to die if infected, but this is not the point! Treatable conditions easily become deadly if the health system collapses. We are not equipped to handle hundreds or thousands of respiratory patients at the same time. In places where the outbreak is full-blown, the medical facilities are completely overwhelmed. Patients are in hallways and gymnasiums.  You might be lucky, but it will likely be at the expense of others in your community.
Sources: [1]
There are no infections near me.
There are almost definitely infections near you! But you cannot see them yet because there is a two week delay between the time of infection and when someone shows symptoms. During that time, the infected person is contagious and spreading the infection. For every single diagnosed case of COVID-19, there are likely hundreds of undiagnosed cases. For this reason, our only chance to avoid a massive public health disaster is if we take preventative measures before we see it everywhere.
Sources: [1]
I cannot afford to stay home or close my small business.
This is a public health and economic crisis. Everyone is impacted. All the evidence indicates that the pandemic will force most businesses to close soon whether we want to or not. Ideally, public officials will take decisive steps to mandate social distancing as it is currently one of the only tools available to flatten the curve of infections and save lives. We can't opt out of this pandemic, but we can opt out of unnecessary risk of infection. If a tsunami was coming towards your town, would you complain about the economic cost of evacuating? This outbreak is an invisible tsunami, but unlike the countries where it hit first, we have advanced warning. The US wasted much of that head start with inaction, but one of the lessons becoming increasingly clear is that every single day counts.
Sources: [1] [2]
The media is overblowing this. People are panicking.
There has been a lot of misinformation and the media is predisposed to fearmongering. But this does not change the fact that the situation is very serious. Panicking is dangerous and unproductive, but so is ignorance and inaction.
Sources: [1]
There's no point in me staying home because some people aren't.
The goal of social distancing is to slow the rate of infections and more is better, but it is not "all or nothing." In the context of an exponential growth pattern, even small reductions have large effects. If the wellbeing of your greater community doesn't motivate you, remember that you are risking infecting yourself and your family.

(This is an easy ticket, but we should wait to get a 👍 from @nditada or someone on the core team to confirm they actually want this PR.)

This is great, I +1. Here is a good graph in here to show the numbers.
https://www.washingtonpost.com/health/2020/03/19/younger-adults-are-large-percentage-coronavirus-hospitalizations-united-states-according-new-cdc-data/
It is pretty out of focus

I love this! Will get approvals and come back!

I approve

@emersonthis looks like you may have some references above, can you share those?

I’m afk at the moment but you can see them on the live site linked in the issue. You can also find them in the GitHub repo (linked on the site). I’ll add them to this issue later if someone else doesn’t get to it first.

On Mar 20, 2020, at 5:08 PM, Nicole Vasilevsky<EMAIL_ADDRESS>wrote:

@emersonthis looks like you may have some references above, can you share those?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I just updated the comment above with the citations from my cite. One is missing and some could be better for sure.


NO-JIRA: Refactor Ensure... functions starting with EnsureNoCrashingPods

Refactored EnsureNoCrashingPods as a first step to use an standard interface for all Ensure functions

/test unit

This looks like a large enough change that it should have its own Jira ticket IMO.
Is this related to some epic or feature about refactoring e2e's?

This looks like a large enough change that it should have its own Jira ticket IMO.
Is this related to some epic or feature about refactoring e2e's?

Yes, this is why I only put the first piece :). I don't think there is any Jira regarding this refactor but I think that the Ensure trigger function will help to make lighter the CI.

Looks like this will not be helpful at all for the team.
/close


add filter support

I add the filter support for elm canvas.

sorry that my elm-format seems to have different settings


[WIP] Add capability to perform socket based tests

This PR aims to add the ability to perform socket based tests in addition to the current HTTP based tests.
python speedtest.py --socket

I'm having trouble finding a place to submit a bug.  I installed it in ubuntu 20.04 with xfce desktop vps droplet and get this error when trying anything:

Retrieving speedtest.net configuration...
Traceback (most recent call last):
File "/usr/bin/speedtest-cli", line 11, in
load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest-cli')()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1986, in main
shell()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1872, in shell
speedtest = Speedtest(
File "/usr/lib/python3/dist-packages/speedtest.py", line 1091, in init
self.get_config()
File "/usr/lib/python3/dist-packages/speedtest.py", line 1173, in get_config
ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''

Any plans to merge this, or help needed to get there?
I know that it's a non-goal to exactly match the results of the speedtest.net web interface, but it's notable to me that the results are much more closely matched to the web interface when using socket-based tests, particularly in the upload direction.


Changed routes for V1 and V2

V2 uses route "/v1"
V1 used route "/v0"
fixed tests in helper/load_test.go

 RV1: Change SYNQ-Golang SDK to use /v1/

@JHUShanZhong @batmany13 what is the plan for the functions that have v1/v2 in their name?

@jessica-christie we have to keep the v1 for now since there still could be services that use it (aerico, pixie etc).  Once we completely shutdown obaku, we can rewrite this.


Chinese Text Not Displaying in vue-pdf

Hello, I'm encountering some issues while using vue-pdf. It seems that when there is Chinese text in the PDF, the text doesn't display properly, and the browser console shows the following error:
Warning: Error during font loading: CMapReaderFactory not initialized, see the useWorkerFetch parameter.
However, I couldn't find any relevant configuration options. Could you please provide some assistance?
Thank you!

Hi @SuxueCode, can you share that PDF file?

Uploading 1.pdf…

1.pdf
This invoice can not be displayed in Chinese


[Bug] requests.exceptions.JSONDecodeError:

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.
[x] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
[x] 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[X] 5. Please use English, otherwise it will be closed.

Describe the bug
After installing the newest version, it encouters a bug: when I launch a sglang run, it raises two exceptions in a few seconds.
(vllm) user@node14:~$  python -m sglang.launch_server --model-path models/Qwen2-72B-Instruct --port 30000 --tp 8
[14:39:01] server_args=ServerArgs(model_path='models/Qwen2-72B-Instruct', tokenizer_path='models/Qwen2-72B-Instruct', tokenizer_mode='auto', skip_tokenizer_init=False, load_format='auto', dtype='auto', kv_cache_dtype='auto', trust_remote_code=False, context_length=None, quantization=None, served_model_name='models/Qwen2-72B-Instruct', chat_template=None, is_embedding=False, host='<IP_ADDRESS>', port=30000, additional_ports=[30001, 30002, 30003, 30004], mem_fraction_static=0.83, max_running_requests=None, max_num_reqs=None, max_total_tokens=None, chunked_prefill_size=8192, max_prefill_tokens=16384, schedule_policy='lpm', schedule_conservativeness=1.0, tp_size=8, stream_interval=1, random_seed=420923413, log_level='info', log_level_http=None, log_requests=False, show_time_cost=False, api_key=None, file_storage_pth='SGLang_storage', dp_size=1, load_balance_method='round_robin', disable_flashinfer=False, disable_flashinfer_sampling=False, disable_radix_cache=False, disable_regex_jump_forward=False, disable_cuda_graph=False, disable_cuda_graph_padding=False, disable_disk_cache=False, disable_custom_all_reduce=False, enable_mixed_chunk=False, enable_torch_compile=False, enable_p2p_check=False, enable_mla=False, triton_attention_reduce_in_fp32=False, nccl_init_addr=None, nnodes=1, node_rank=None)
[14:39:07 TP3] Init nccl begin.
[14:39:07 TP0] Init nccl begin.
[14:39:07 TP5] Init nccl begin.
[14:39:07 TP7] Init nccl begin.
[14:39:07 TP6] Init nccl begin.
[14:39:07 TP2] Init nccl begin.
[14:39:07 TP4] Init nccl begin.
[14:39:07 TP1] Init nccl begin.
[14:39:21 TP2] Load weight begin. avail mem=76.63 GB
[14:39:21 TP6] Load weight begin. avail mem=76.63 GB
[14:39:21 TP4] Load weight begin. avail mem=76.63 GB
[14:39:21 TP5] Load weight begin. avail mem=76.63 GB
[14:39:21 TP0] Load weight begin. avail mem=76.73 GB
[14:39:21 TP3] Load weight begin. avail mem=76.63 GB
[14:39:21 TP1] Load weight begin. avail mem=76.63 GB
[14:39:21 TP7] Load weight begin. avail mem=77.10 GB
Loading safetensors checkpoint shards:   0% Completed | 0/37 [00:00<?, ?it/s]
Loading safetensors checkpoint shards:   3% Completed | 1/37 [00:00<00:07,  4.61it/s]
Loading safetensors checkpoint shards:   5% Completed | 2/37 [00:00<00:08,  4.28it/s]
Loading safetensors checkpoint shards:   8% Completed | 3/37 [00:00<00:08,  4.15it/s]
Loading safetensors checkpoint shards:  11% Completed | 4/37 [00:00<00:08,  4.02it/s]
Loading safetensors checkpoint shards:  14% Completed | 5/37 [00:01<00:07,  4.06it/s]
Loading safetensors checkpoint shards:  16% Completed | 6/37 [00:01<00:07,  4.22it/s]
Loading safetensors checkpoint shards:  19% Completed | 7/37 [00:01<00:06,  4.31it/s]
Loading safetensors checkpoint shards:  22% Completed | 8/37 [00:01<00:06,  4.32it/s]
Loading safetensors checkpoint shards:  24% Completed | 9/37 [00:02<00:05,  4.99it/s]
Loading safetensors checkpoint shards:  27% Completed | 10/37 [00:02<00:05,  4.65it/s]
Loading safetensors checkpoint shards:  30% Completed | 11/37 [00:02<00:06,  4.30it/s]
Loading safetensors checkpoint shards:  32% Completed | 12/37 [00:02<00:05,  4.66it/s]
Loading safetensors checkpoint shards:  35% Completed | 13/37 [00:02<00:05,  4.64it/s]
Loading safetensors checkpoint shards:  38% Completed | 14/37 [00:03<00:05,  4.56it/s]
Loading safetensors checkpoint shards:  41% Completed | 15/37 [00:03<00:04,  4.55it/s]
Loading safetensors checkpoint shards:  43% Completed | 16/37 [00:03<00:04,  4.53it/s]
Loading safetensors checkpoint shards:  46% Completed | 17/37 [00:03<00:04,  4.33it/s]
Loading safetensors checkpoint shards:  49% Completed | 18/37 [00:04<00:04,  4.40it/s]
Loading safetensors checkpoint shards:  51% Completed | 19/37 [00:04<00:03,  4.50it/s]
Loading safetensors checkpoint shards:  54% Completed | 20/37 [00:04<00:03,  4.51it/s]
Loading safetensors checkpoint shards:  57% Completed | 21/37 [00:04<00:03,  4.57it/s]
Loading safetensors checkpoint shards:  59% Completed | 22/37 [00:04<00:03,  4.36it/s]
Loading safetensors checkpoint shards:  62% Completed | 23/37 [00:05<00:03,  4.41it/s]
Loading safetensors checkpoint shards:  65% Completed | 24/37 [00:05<00:02,  4.44it/s]
Loading safetensors checkpoint shards:  68% Completed | 25/37 [00:05<00:02,  4.28it/s]
Loading safetensors checkpoint shards:  70% Completed | 26/37 [00:05<00:02,  4.37it/s]
Loading safetensors checkpoint shards:  73% Completed | 27/37 [00:06<00:02,  4.27it/s]
Loading safetensors checkpoint shards:  76% Completed | 28/37 [00:06<00:02,  4.35it/s]
Loading safetensors checkpoint shards:  78% Completed | 29/37 [00:06<00:01,  4.42it/s]
Loading safetensors checkpoint shards:  81% Completed | 30/37 [00:06<00:01,  4.26it/s]
Loading safetensors checkpoint shards:  84% Completed | 31/37 [00:07<00:01,  4.10it/s]
Loading safetensors checkpoint shards:  86% Completed | 32/37 [00:07<00:01,  4.11it/s]
Loading safetensors checkpoint shards:  89% Completed | 33/37 [00:07<00:00,  4.13it/s]
Loading safetensors checkpoint shards:  92% Completed | 34/37 [00:07<00:00,  4.14it/s]
Loading safetensors checkpoint shards:  95% Completed | 35/37 [00:08<00:00,  4.24it/s]
Loading safetensors checkpoint shards:  97% Completed | 36/37 [00:08<00:00,  4.36it/s]
[14:39:31 TP4] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
[14:39:31 TP7] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=60.11 GB
[14:39:31 TP6] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
[14:39:31 TP2] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
Loading safetensors checkpoint shards: 100% Completed | 37/37 [00:08<00:00,  4.51it/s]
Loading safetensors checkpoint shards: 100% Completed | 37/37 [00:08<00:00,  4.38it/s]

[14:39:31 TP0] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.73 GB
[14:39:31 TP3] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
[14:39:31 TP1] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
[14:39:31 TP5] Load weight end. type=Qwen2ForCausalLM, dtype=torch.bfloat16, avail mem=59.64 GB
[14:39:31 TP6] Memory pool end. avail mem=12.45 GB
[14:39:31 TP5] Memory pool end. avail mem=12.45 GB
[14:39:31 TP0] Memory pool end. avail mem=12.54 GB
[14:39:31 TP3] Memory pool end. avail mem=12.45 GB
[14:39:31 TP7] Memory pool end. avail mem=12.92 GB
[14:39:31 TP1] Memory pool end. avail mem=12.45 GB
[14:39:31 TP4] Memory pool end. avail mem=12.45 GB
[14:39:31 TP2] Memory pool end. avail mem=12.45 GB
[14:39:31 TP6] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP7] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP5] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP3] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP0] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP1] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP4] Capture cuda graph begin. This can take up to several minutes.
[14:39:31 TP2] Capture cuda graph begin. This can take up to several minutes.
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
INFO 09-11 14:39:46 custom_all_reduce.py:223] Registering 3703 cuda graph addresses
[14:39:48 TP0] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP4] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP1] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP6] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP3] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP2] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP7] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
[14:39:48 TP5] max_total_num_tokens=1218251, max_prefill_tokens=16384, max_running_requests=5119, context_len=32768
INFO:     Started server process [37328]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

  File "/home/user/anaconda3/envs/vllm/lib/python3.10/site-packages/sglang/srt/server.py", line 449, in _wait_and_warmup
    model_info = res.json()

insert a print(res.text) before this line

Or apply this patch https://github.com/sgl-project/sglang/pull/1390/files so we can know better about this error

I have tried your new patch and the following is the output:
[19:45:50] Initialization failed. warmup error: Traceback (most recent call last):
  File "/root/anaconda3/envs/sgl/lib/python3.10/site-packages/sglang/srt/server.py", line 443, in _wait_and_warmup
    assert res.status_code == 200, f"{res=}, {res.text=}"
AssertionError: res=<Response [502]>, res.text=''

It seems that we can solve it by changing both the port and host simultaneously.
python -m sglang.launch_server --model-path Qwen/Qwen2-0.5B-Instruct  --port 3000 --host <IP_ADDRESS>

@eyuansu62 Yeah, your local settings may have special permissions for certain ports. Close this for now as it is resolved.


Configured golangci-lint

Issue: KNTK-192

Please squash the commits

@Opelord Please rename the commit to e.g. Configure golangci-lint and adjust the code to comply
Also, take a look: https://chris.beams.io/posts/git-commit/

Waiting for @Fenthick to approve before merging.

@mmac-m3a Daniel approved the changes. Can you approve too, because your review got cancelled after the first push with corrections.

As for your question here it was solved in this conversation. The problem was that I was supposed to avoid package level nolints. The logic being that it's better to nolint only the block of code that is called by the linter. However in these files the linter highlighted all of their content as a duplicate of the other. I tried to move the exception to the linters configuration file but it hurt clarity of what is actually happening so we decided to move it back. Hence probably the confusion that nothing changed.


Build arm64 Docker image

Updates the build.yml workflow to build a multi-arch Docker image with both arm64 and amd64 variants. This enables support for increasingly popular ARM-based machines and corresponds with a PR that is currently open in the main Kroki project (https://github.com/yuzutech/kroki/pull/1487). These changes are based on the multi-arch example provided in the Docker documentation.
Both variants are working locally on my machines, but I haven't been able to verify that the CI pipeline will pass because it runs on a schedule.

I've integrated changes into branche 37-build-arm64-docker-image. Do you confirm that docker image 37-build-arm64-docker-image-2cf5a2b1 is working fine on arm64, so I can merge into main branch ?
docker pull ghcr.io/webgiss/niolesk:37-build-arm64-docker-image-2cf5a2b1

@gissehel Thanks, that branch is working for me. ✌🏻


Bug in Termux

$ python a2sv.py -h
File "a2sv.py", line 128
print ""
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?
Please, help me)

(i just speak a little bit of english)
to use "print()", you must put what you want to print between parentheses

Fixed this bug.
Please update a2sv
[ Update command ]
#> a2sv -u

or

#> cd a2sv
#> git pull

[ Change log ]
print "" => " "

[ Code ]
127
128     print " "
129     # SSL Check Logic ---------------------------

Thank you for sending issues and solutions.

same problem i have latest update and try above trick don't work
python a2sv.py -u
File "a2sv.py", line 128
print " "
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" ")?


feat: generate types from payload json

🆒 Your use case
Heyho :)
Just had an idea this morning...
When I want to create a type based on the data I've received. I've to do this manually or use an external service to speed up manual typing. It would be nice to include some sort of type generation that does this based on the input.
🆕 The solution you'd like
A button within the payload tab that generates types as e.g. quicktype does it.
The button could copy the generated type to clipboard.

Not sure if feasible within the dev tools or not 😬 have a good day 🌞
🔍 Alternatives you've considered
Write the type manually or use a service like https://quicktype.io/typescript
ℹ Additional info
No response

Interestingly we already discussed about that: https://github.com/nuxt/devtools/issues/322#issuecomment-1643818818
/cc @arashsheyda
I am not yet sure if QuiteType support passing the text with URL params.

@antfu can we use quicktype-core directly?


Ghost v3 support

Hello,
Is this adapter compatible with Ghost v3 ?
Thanks ! Best !

I am probably missing some configuration steps, here is what I get:
ERROR Unable to find storage adapter b2 in ,/var/www/ghost/content/adapters/

ls /var/www/ghost/content/adapters/ gives
storage

b2

This adapter is still working fine, but you need to use the git setup process and run npm audit fix after npm install because there are several critical vulnerabilities.

This is not compatible with Ghost v3


Draft: table level RAW

Related Issue(s) & Descriptions

Checklist

[ ] Tests were added or are not required
[ ] Documentation was added or is not required

when session1 has a long transaction on t1, other sessions can achieve blocking when querying t1 and non-blocking when querying t2.
However, set @@table_level ="off"; has not taken effect. After closing the table-level RAW, querying t2 is still not blocked.


In v3.0, sort doesn't work for cols with no name

Seems to be an issue that's not allowing column sorting to work. Line 664:
} elseif (isset($columns[$order_col])) {
    $this->query->orderBy($columns[$order_col], $order_dir);
}

There is no local $columns var. When I change it to $this->columns to match the rest of the function it seems to work.
} elseif (isset($this->columns[$order_col])) {
    $this->query->orderBy($this->columns[$order_col], $order_dir);
}

@Robarelli, I think this was already fixed. Try updating your package to latest which is v3.6.5.

@Robarelli, updating the package should fixed the issue. Closing this one. Thanks!


Count trailing zeroes in factorial of a number

💥 Proposal
I am a GSSOC participant and want to work on count trailing zero in factorial of a number using C++
Have you read the Contributing Guidelines on Pull Requests?
YES

/assign


main broken: benchmarks fail: could not translate host name start.zenith.tech to address

It all started yesterday, e.g. https://app.circleci.com/pipelines/github/neondatabase/neon/6565/workflows/dcbdce47-8ac5-4e07-877e-fc3574e7a240/jobs/66412
===== 30 passed, 4 skipped, 3 deselected, 31 warnings in 962.64s (0:16:02) =====
+++ dirname -- scripts/generate_and_push_perf_report.sh
++ cd -- scripts
++ pwd
+ SCRIPT_DIR=/home/circleci/project/scripts
+ echo 'Uploading perf report to zenith pg'
Uploading perf report to zenith pg
+ DATABASE_URL='***********************************************************************************************************************************************************************************'
+ poetry run python /home/circleci/project/scripts/ingest_perf_test_result.py --ingest /home/circleci/project/test_runner/perf-report-local
Traceback (most recent call last):
  File "/home/circleci/project/scripts/ingest_perf_test_result.py", line 136, in <module>
    main()
  File "/home/circleci/project/scripts/ingest_perf_test_result.py", line 116, in main
    with get_connection_cursor() as cur:
  File "/home/circleci/.pyenv/versions/3.9.2/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)
  File "/home/circleci/project/scripts/ingest_perf_test_result.py", line 36, in get_connection_cursor
    with psycopg2.connect(connstr) as conn:
  File "/home/circleci/.cache/pypoetry/virtualenvs/zenith-3aSsmiER-py3.9/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "start.zenith.tech" to address: Name or service not known

Exited with code exit status 1

CircleCI received exit code 1

@LizardWizzard
correct hostnames for prod defined there for proxy and there for proxy with SCRAM

I changed the URL so it points to connect.neon.tech instead of start.zenith.tech. It still uses password-based flow because scram is not yet fully supported by our current production setup. I retried the latest attempt to upload results and it worked: https://app.circleci.com/pipelines/github/neondatabase/neon/6618/workflows/0e8732a3-0553-4f16-8b24-38521bbdd5a9/jobs/67112


node v22 has a punycode depre

Describe what should be investigated or refactored
On node v22 there is a deprecation warning for punycode.
(node:47514) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

Definition of done:
Remove the punycode warning

It looks like there isn't much that we can do besides keeping our dependency versions up to date and wait for them to be updated to remove punycode.
There are a lot of issues on Github that have been raised around this deprecation warning, and it basically comes down to Node v22 deprecating punycode and module authors needing to update to a userland alternative.
We aren't using punycode directly, our dependencies are using it. So our options appear to be:

Stay with Node v20. The issue is not in v20.
Keep our dependencies up to date and when they are updated to remove punycode the warning will go away and we will be able to use v22 with no warnings.
Trace our dependency chain to find which modules are using punycode (or using dependencies that use punycode) and then change to alternative dependencies. It looks like the tr46 module is the main offender in our dependency chain.

The first two options appear to be the best way to go.

Thanks @schaeferka . Closing this for now


Make state spillable in partitioned writer [databricks]

Closes https://github.com/NVIDIA/spark-rapids/issues/6980
This change ensures that the partitioned writer queued batches are made spillable prior to releasing the semaphore.
I did change the ParquetWriterSuite such that exceptions being checked during writer failures look at the cause and find a SparkUpgradeException, instead of a SparkException to reflect the current state of some checks done in parquet specifically for date/time rebasing. I didn't include fixes for this, just made the tests test for the exception actually thrown.
I verified that this change allows the store_sales nds_transcode at 50GB to work with only 3GB of GPU memory, whereas I needed 12GB of memory before the change (failing with OOM at various places with less than 12GB due to all of the state kept around without the semaphore held). I used 16 shuffle partitions to make the write tasks process around 500MiB each. I used the following command and template to test, changing the JAR location (and the allocSize to test when the baseline would stop OOMing):
./spark-submit-template test.template nds_transcode.py file:///data/nds_50_csv file:///data/nds_50_parquet report.out --output_mode overwrite --tables store_sales

export JARS=rapids-4-spark_2.12-23.08.0-SNAPSHOT-cuda11.jar
export SPARK_CONF=("--master" "spark://<IP_ADDRESS>:7077"
                   "--conf" "spark.plugins=com.nvidia.spark.SQLPlugin"
                   "--conf" "spark.executor.extraClassPath=$JARS"
                   "--conf" "spark.driver.extraClassPath=$JARS"
                   "--conf" "spark.eventLog.enabled=true"
                   "--conf" "spark.sql.shuffle.partitions=16"
                   "--conf" "spark.rapids.memory.gpu.allocSize=3GB"
                   "--conf" "spark.rapids.sql.csv.read.decimal.enabled=true")

build

build

build

build

build

Another follow on issue: https://github.com/NVIDIA/spark-rapids/issues/8736

@jlowe @revans2 this should be ready for another look. I added unit tests that cover the interaction with batches to write, spillables, and splits, but that do not validate the outputs. I wanted to get this reviewed and follow up with more testing either via integration tests or unit tests as follow on work. It would be nice to get runtime for this patch in general.

build

Looks like this failed creating a 330db cluster.

build

ORC cached row index failed in the last run, I'll take a look

build

build

Unrelated databricks build failure https://github.com/NVIDIA/spark-rapids/issues/8754

build

build

I am working on the failure. It looks like a failure to shutdown RMM causing failures in other tests. It seems related to mocking exceptions in the tests, so that looks to be a real issue. Will post once I have it

build

build

build

I having lots of issues with DeviceMemoryEventHandlerSuite and this build will fail. I cannot explain the issue yet, as the suite initializes all mocks and uses them. The test passes by itself, but not in combination of others, which is taking a very long time to go through. I'll push again.

Ok the reason why RmmSparkRetrySuiteBase was flaky was because it was failing if we had leftover RMM callbacks configured (singletons). It was also a bad test because it was succeeding for the wrong reasons after changes happened to the impl.

build

@revans2 this is ready for another look

@revans2 thanks for the review, pushed https://github.com/NVIDIA/spark-rapids/pull/8667/commits/a08e5a595e65d49144b8d282ab8e8a14ef13921b to handle both issues.

build


[Respresso] -> [Others]

Respresso
Import resources (localizations, images, colors, etc.) from design tools (Figma, Adobe XD, Zeplin) with Respresso’s integrations, collaboratively edit them, then get them in a platform-specific format, automatically delivered to your source code.
Link: https://respresso.io/
Clarification

I'm one of the developers from the Respresso team.
Respresso is a commercial project, but it is currently free, without ads or limitations.
In the future, we'll have an always-free tier for small projects. (As far as I can tell, without feature limitations, only quantity limits.)

Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

First thanks for the commit however I'm sorry, it's a saas project and not 100% resource.
Closing.


unify ludown's output for different locales

Tool
Name: Ludown
Describe the problem
Due to https://github.com/microsoft/botbuilder-tools/blob/master/packages/Ludown/lib/enums/luisbuiltintypes.js, some entities are ignored or renamed according to different locales.
However, it causes troubles in compiling apps for multiple languages (when used together with luisgen).
Describe the solution you'd like
Always return all detected entities since luis itself will return null for these entities for related locales.
It is even applied for datetime & datetimeV2. It is more easier to test which is not null in code than maintain two copies of code using different variables.
Describe alternatives you've considered
Additional context
[enhancement]

This is by design. If you keep in-compatible pre-built types for a locale, then LUIS will throw an error when you try to import that model. e.g. with this lu content
$ prebuilt : geographyV2

And if you try to parse this to culture=de-de, ludown will skip geographyV2 today which is by design.
If ludown didnt do this, you wouldnt be able to import the model with geographyV2 configured for de-de.


Missing change in Replicate function on 90 to 100

It appear the following change was also added to the database compatibility level 100, but it was only noted on following document.
I understand it is only affecting SQL Server 2012, which is extended support phase, or SQL Server 2008/2008 R2 with ESU, but could you add this change to this Docs?
Behavior Changes to Database Engine Features in SQL Server 2008
https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008/ms143359(v=sql.100)?redirectedfrom=MSDN#replace

REPLACE Function
In SQL Server 2005, trailing spaces specified in the first input parameter to the REPLACE function are trimmed when the parameter is of type char. For example, in the statement SELECT '<' + REPLACE(CONVERT(char(6), 'ABC '), ' ', 'L') + '>', the value 'ABC ' is incorrectly evaluated as 'ABC'.
In SQL Server 2008, trailing spaces are always preserved. For applications that rely on the previous behavior of the function, use the RTRIM function when specifying the first input parameter for the function. For example, the following syntax will reproduce the SQL Server 2005 behavior SELECT '<' + REPLACE(RTRIM(CONVERT(char(6), 'ABC ')), ' ', 'L') + '>'.

@taroarai : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[BUG][PAM] Index pointers stop functioning when arms are extended

Dunno how long this bug has been around for SDraw, but uh... Essentially, when one extends either arm, that arm's respective index pointer stops functioning correctly and only sometimes interacts with stuff, but often only ever on avatars, and not props. It be something worth looking into and fixing.

Issue resolved: Avatar animator's update mode was set to Animate physics, when it should be set to Normal.


CornerstoneToolsMouseMove not firing when hold mouse hey (CornerstoneToolsMouseDown)

Hello,
When I create listener for CornerstoneToolsMouseDown and inside, bind listener for event CornerstoneToolsMouseMove it's not firing so I can't listen for move when mouse key is hold.

Vjjgkvgvkkkvuinjjgkkgjkjkjkjjgkhjjkvthkkgomgkkgmykvkgkgymjgkkvv hi h
On Mar 14, 2017 5:32 AM, "Krystian Drożdżyński"<EMAIL_ADDRESS>wrote:
Hello,
When I create listener for CornerstoneToolsMouseDown and inside, bind
listener for event CornerstoneToolsMouseMove it's not firing so I can't
listen for move when mouse key is hold.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chafey/cornerstone/issues/99, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOZm_DlQXJWSelhg6Joj2mjdMBa6Av8tks5rlmy7gaJpZM4McYx8
.
Torrent Downloaded From KAT -> https://katcr.co/community/index.php

Thanks for the report!

Could you try using CornerstoneToolsMouseDrag instead?
I didn't notice this earlier, but the event you are looking at, CornerstoneToolsMouseMove, is only intended to fire when the mouse is moving and NOT held down.

@swederik
Thanks, now work :-)
But I found other thing, when I just click (without holding key) event CornerstoneToolsMouseUp is not fired

I think we have a CornerstoneToolsMouseClick event for that.

I don't want to listen a click :-) I want know about mouseup even if it just click

Could you clarify what you are trying to do?
The CornerstoneToolsMouseClick event just means that mouseUp happened within 200 ms of mouseDown. If you absolutely need to know what happens on mouseUp, just listen for CornerstoneToolsMouseUp OR CornerstoneToolsMouseClick. The point at which they are fired still corresponds to mouseUp.
The onMouseUp handler here (https://github.com/chafey/cornerstoneTools/blob/7a78fc0d9ad376137a1c0b7ea651d002c8b18518/src/inputSources/mouseInput.js#L148) takes care of determining whether or not to fire CornerstoneToolsMouseUp or CornerstoneToolsMouseClick.


Page ends before full explanation of task

The page ends after clicking the download button but after navigating to Azure Portal / Azure Active Directory / Sign-in Logs / Download / CSV there are several files/downloads to choose from which could use explanation to understand the security value of each file, which would prevent users from downloading all just to review and see what file contains what metadata.

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

ID: 4f4de390-e6c9-e024-75a9-23d97659fe63
Version Independent ID: 4bf2b46d-778b-7b7e-09c5-2ca1e8f5105e
Content: How to download logs in Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/reports-monitoring/howto-download-logs.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

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

Hi @knicholson0
You can be able to add filters to download the files according to your requirement which would prevent users from downloading several files.

if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@ManoharLakkoju-MSFT I'm sorry, I don't think you're following what I've described. The article is incomplete. There are steps the user must take after clicking Download. The user is presented with several different CSV files to download. It would be helpful to have an explanation of the different files, reducing the load on Azure portal when users may select just the file they need.  Have you tried this process end to end to understand?

@knicholson0
I'm going to assign this to the document author so they can take a look at it accordingly
@MarkusVi
Can you please check and add your comments on this doc update request as applicable.

#reassign:shlipsey3

Hello @knicholson0,
I've recently taken over this content and taking a look at your question. I do see what you're describing - specifically when trying to download the sign-in logs. You're presented with several to download. Thanks for letting us know.
It may take me a little bit to get the article updated appropriately - in the meantime do you have what you need or is there anything else I can track down for you?
Thanks!

Great! Thanks.  I have what I need for now, yes.
On Mon, Nov 28, 2022, 10:41 AM shlipsey3 @.***> wrote:

Hello @knicholson0 https://github.com/knicholson0,
I've recently taken over this content and taking a look at your question.
I do see what you're describing - specifically when trying to download the
sign-in logs. You're presented with several to download. Thanks for letting
us know.
It may take me a little bit to get the article updated appropriately - in
the meantime do you have what you need or is there anything else I can
track down for you?
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/100526#issuecomment-1329406154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTCWPKMUKH2BZK5CYXENILWKTOCHANCNFSM6AAAAAARPKFTGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Very good. I'm going to create a work item on my end to track the work and close this issue here.

#please-close


html-mixed mode:

Repro:

go to codemirror.net
in the example editor input

<style x="y"
       y="z">
  .foo {
    font: "bar";
  }
</style>

Expected:
css highlighting should apply inside the <style> tag
Actual:
no highlighting in the <style> tag
If you move all the properties of the style element into one line it works fine

Attached patch should help here.


fix install script for ubuntu trusty

spun up a trusty server and installed experimental and saw this was thinking it was debian jessie, same goes for installing via the script in a container see: https://jenkins.dockerproject.org/job/Docker Master (test install script)/194/console
ping @tianon

lololol LGTM

LGTM


Add option to disable varlog hostPath

On a Kubernetes distribution like Talos, a hostPath can cause issue with pod security.

This PR add a new value to enable or not the varlog volume (enable by default).

/kind enhancement

/area agent