fix(eks-kubeconfig): eks-presignGetCallerIdentity

Signed-off-by: haarchri<EMAIL_ADDRESS>Description of your changes
fixes problem  connect failed: cannot create new Kubernetes client: cannot create Kubernetes client: Unauthorized

get PresignGetCallerIdentity working again after https://github.com/crossplane/provider-aws/pull/602 was part of v.0.20.0

Fixes https://github.com/crossplane/provider-aws/issues/892
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
log from authenticator-ef5149d99b00e4101f894bf4d79c0335
time="2021-10-31T19:01:12Z" level=info msg="access granted" arn="arn:aws:iam::255932642927:user/xxx" client="<IP_ADDRESS>:34196" groups="[system:masters]" method=POST path=/authenticate sts=sts.us-west-2.amazonaws.com uid="heptio-authenticator-aws:255932642927:xxxx" username=kubernetes-admin | time="2021-10-31T19:01:12Z" level=info msg="access granted" arn="arn:aws:iam::255932642927:user/xxx" client="<IP_ADDRESS>:34196" groups="[system:masters]" method=POST path=/authenticate sts=sts.us-west-2.amazonaws.com uid="heptio-authenticator-aws:255932642927:xxx" username=kubernetes-admin
-- | --

rollout kube-prometheus stack via provider-helm is not successful ;)
kubectl describe release.helm.crossplane.io/platform-ref-aws-cluster-g2klb-4xsdr
Name:         platform-ref-aws-cluster-g2klb-4xsdr
Namespace:
Labels:       crossplane.io/claim-name=platform-ref-aws-cluster
              crossplane.io/claim-namespace=api-service
              crossplane.io/composite=platform-ref-aws-cluster-g2klb
Annotations:  crossplane.io/external-name: platform-ref-aws-cluster-g2klb-4xsdr
API Version:  helm.crossplane.io/v1beta1
Kind:         Release
Metadata:
  Creation Timestamp:  2021-10-31T18:53:32Z
  Finalizers:
    finalizer.managedresource.crossplane.io
  Generate Name:  platform-ref-aws-cluster-g2klb-
  Generation:     2
  Owner References:
    API Version:     aws.platformref.crossplane.io/v1alpha1
    Controller:      true
    Kind:            Services
    Name:            platform-ref-aws-cluster-g2klb-j8thn
    UID:             5d69d95e-7519-4069-b5e6-51b6991d5202
  Resource Version:  8001633
  Self Link:         /apis/helm.crossplane.io/v1beta1/releases/platform-ref-aws-cluster-g2klb-4xsdr
  UID:               5d74c9e9-95f1-4e93-a4db-154f65d3aefb
Spec:
  Deletion Policy:  Delete
  For Provider:
    Chart:
      Name:  kube-prometheus-stack
      Pull Secret Ref:
        Name:
        Namespace:
      Repository:   https://prometheus-community.github.io/helm-charts
      Version:      10.0.2
    Namespace:      operators
    Values:
  Provider Config Ref:
    Name:          platform-ref-aws-cluster
  Rollback Limit:  3
Status:
  At Provider:
    Release Description:  Install complete
    Revision:             1
    State:                deployed
  Conditions:
    Last Transition Time:  2021-10-31T18:59:18Z
    Reason:                Available
    Status:                True
    Type:                  Ready
    Last Transition Time:  2021-10-31T18:57:13Z
    Reason:                ReconcileSuccess
    Status:                True
    Type:                  Synced
  Synced:                  true
Events:
  Type    Reason                   Age    From                                Message
  ----    ------                   ----   ----                                -------
  Normal  UpdatedExternalResource  7m27s  managed/release.helm.crossplane.io  Successfully requested update of external resource
  Normal  CreatedExternalResource  5m24s  managed/release.helm.crossplane.io  Successfully requested creation of external resource

Thanks a lot @haarchri ! I think we should cut a patch release to include this fix. Would you like to drive that (for patch releases, only steps after 3 is needed) or should I do it?

@muvaf think at the moment i have no rights for it - or did i missed something ?

I think @haarchri was added with the maintain permission just yesterday, which is the same permission @muvaf has, so I would expect him to have permissions going forward to run a release! let me know if there are still issues :)


DSK-19772: Add the Dropbox example add-in to public add-ins repo

This adds the ChemDrawBox add-in to our public add-ins repository. We need to provide an example add-in to the customer to demonstrate how the callback API works. This add-in shows the API in action using Dropbox as provider.
The add-in was written in React/TypeScript. It is the same add-in that was demoed in the last review meeting.
@PerkinElmer/chemdraw-desktop-reviewers

should we call this ChemDrawDropbox? Box and Dropbox are two very different products, both used at PKI

I wanted to name it ChemDropbox but the Dropbox's naming rules do not allow a Dropbox app name to have the word Drop in it so I carried the same rule here i.e. not using the word Dropbox.

We need to find a different name then - Box is a different product. How about ChemDrawOAuthExample?

ChemDrawOAuthExample is good

You could explain in the readme that this is an example that shows how to authorise to an application using OAuth, with Dropbox used as an example IdP?

The latest change is to allow users to specify their own Dropbox app-key instead of hardcoding in code:

@stevebaxter please review. I have made some slight modification to the add-in so the customer can use it right away without compiling their own. Also fixed some issues raised here, except for creating the script to bundle everything into a ChemDraw add-in.

Please add this comment in all sources files if possible:

The following things are missing:

A description and a picture of the add-in in the introduction page of the examples:
https://github.com/PerkinElmer/ChemDraw-AddIns/blob/master/Examples/README.md

An add-in like ChemDrawOAuthExample.chemdrawaddin that the the user can download and install into ChemDraw. We've provided such add-ins for all other examples.

Added the add-in to readme
Added a packaged version of the add-in
Added the file copyright comments to all code files


email confirmation not received & accounts suspended for some few pins

Hi, i register some account but i dont  receive any email confirmation using the simple and business registration and i try send some pins but i get many accounts suspended for some few pins (1 pin per 10 to 300 seconds) i notice also that pins are'not visible on search
I noticed that some people do not have this problem maybe they use another way or another library to send thousands of pins without being banned
does someone have the same problems and how to solve them? and how many pins is allowed per day with this library?

resolved


Feat/76 user database

Closes #76
Changes made by this Pull Request

Introduces a Database for storing users
For integration tests, a test database is created and every test is run in a separate transaction that is rolled back after the test
also includes routes for creating users and requesting a user by email (which is unique)

Definition of Done

[x] Tests are written and run successful
[x] Code is documented
[x] User Manual is updated
[x] All requirements of the user story are met

Codecov Report

Merging #81 (56bce6f) into dev (0b0910a) will decrease coverage by 3.25%.
The diff coverage is 92.14%.

:exclamation: Current head 56bce6f differs from pull request most recent head 8ff5429. Consider uploading reports for the commit 8ff5429 to get more accurate results

@@            Coverage Diff             @@
##              dev      #81      +/-   ##
==========================================
- Coverage   99.43%   96.17%   -3.26%
==========================================
  Files           9       15       +6
  Lines         178      314     +136
==========================================
+ Hits          177      302     +125
- Misses          1       12      +11

Impacted Files
Coverage Δ

api/mod/src/models/task.py
100.00% <ø> (ø)

api/mod/src/database/database.py
66.66% <66.66%> (ø)

api/mod/alembic/env.py
79.16% <79.16%> (ø)

api/mod/src/routers/users.py
95.23% <95.23%> (ø)

api/mod/src/database/db_models.py
97.77% <97.77%> (ø)

...od/alembic/versions/774303782e40_initial_schema.py
100.00% <100.00%> (ø)

api/mod/src/app.py
100.00% <100.00%> (ø)

api/mod/src/models/user.py
100.00% <100.00%> (ø)

api/mod/src/routers/login.py
100.00% <100.00%> (ø)

api/mod/src/settings.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add value prop to ActionForm

This commit adds a value prop to the ActionForm component of microcosm-dom. When set, the value prop is always passed as the serialized value of the form. This is intended to better support controlled forms.
This also achieves a nice parity with ActionButton, which lets you set a similar value property as the callback value when the button is clicked.
import { login } from '../actions/session'

class Login extends React.Component {
  state = {
    email: '',
    password: ''
  }

  render() {
    let { email, password } = this.state

    return (
      <ActionForm action={login} value={this.state}>
        <input type="email" name="email" value={email} onChange={this.setField} />
        <input type="password" name="password" value={password} onChange={this.setField} />
      </ActionForm>
    )
  }

  setField = event => this.setState({ [event.target.name]: [event.target.value] })
}

Fixes #429

Codecov Report

Merging #486 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #486      +/-   ##
==========================================
+ Coverage   98.54%   98.54%   +<.01%
==========================================
  Files          29       29
  Lines         686      687       +1
  Branches      134      135       +1
==========================================
+ Hits          676      677       +1
  Misses          8        8
  Partials        2        2

Impacted Files
Coverage Δ

packages/microcosm-dom/src/action-form.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Ack yes. Good call!

When you say

When set, the value prop is always passed as the serialized value of the form.

Do you mean "the value prop is always passed intead of the serialized value of the form"?

@dce yes. That is what I meant to say.

@cwmanning Documentation added!


feat: iam engine option

Description
Expose ability to configure IAM engine in SM instance in the DA.
https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager/issues/77
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Expose ability to configure IAM engine in SM instance in the DA.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

@jor2 I think there is a bug in the secrets group module that needs to be fixed first -> https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager-secret-group/issues/148

/run pipeline

/run pipeline

/run pipeline

still getting
 2024/04/10 17:10:57 Terraform apply | Error: CreateSecretGroupWithContext failed Post "https://e9465a83-5a63-4fa9-834e-ba7a86c999e9.us-south.secrets-manager.appdomain.cloud/api/v2/secret_groups": dial tcp: lookup e9465a83-5a63-4fa9-834e-ba7a86c999e9.us-south.secrets-manager.appdomain.cloud on <IP_ADDRESS>:53: no such host
 2024/04/10 17:10:57 Terraform apply | null
 2024/04/10 17:10:57 Terraform apply |
 2024/04/10 17:10:57 Terraform apply |
 2024/04/10 17:10:57 Terraform apply |   with module.iam_secrets_engine[0].module.secrets_manager_group_acct[0].ibm_sm_secret_group.secret_group,
 2024/04/10 17:10:57 Terraform apply |   on .terraform/modules/iam_secrets_engine.secrets_manager_group_acct/main.tf line 8, in resource "ibm_sm_secret_group" "secret_group":
 2024/04/10 17:10:57 Terraform apply |    8: resource "ibm_sm_secret_group" "secret_group" {

/run pipeline

/run pipeline

see comments - also diagram for DA will need to be updated to show IAM engine

Updated the diagram, not entirely sure how I should have shown IAM engine.

/run pipeline

:tada: This PR is included in version 1.6.0 :tada:
The release is available on:

GitHub release
v1.6.0

Your semantic-release bot :package::rocket:


Port existing 'controllers' unit tests to Ginkgo

At present, there exist some non-Ginkgo-based unit tests in the 'controllers' package of this repository. We should convert them to Ginkgo.

Red Hat JIRA Trackeer: https://issues.redhat.com/browse/GITOPS-3913


Feature Request - Show MonoBehaviour script icon for objects that contain scripts

If there's already an option for this feature, excuse my clumsiness! Would appreciate if someone could show me how!
Feature Description
Showing MonoBehaviour icon for GameObjects that contain a script, without the need to specify each script in the settings. Simply have an MonoBehaviour derived class and it would show up in the hierarchy. Also, having only 1 icon as in the other feature request  would be awesome!
Reason for feature
Quickly identifying what game object contains scripts (no matter which one) would also be an incredible help!

Hello nankink,
I'm linking to the pull request #67 as someone has went ahead and made this a feature addition.
There are some concerns about the codebase changes I've been working on, but either way this will be coming.

Hello nankink,
I'm linking to the pull request #67 as someone has went ahead and made this a feature addition.
There are some concerns about the codebase changes I've been working on, but either way this will be coming.
Edit: PR is currently closed but will be reopened when required.

This is awesome!! To be honest, wasn't expecting that this would be added to the tool, and this fast.
I wish I could contribute to the project as well, but my knowledge in editor code is not a lot ://
Thanks a lot!

I've been working on a ton of stuff and will be getting ready to release a new version quite soon. Got some improvements to do but it's getting there.
Alright so I've added a small toggle to show a single MonoBehaviour script on each instance that has one.
To extend what already existed I've added two new buttons that will allow you to independently toggle on built-in components and custom one automatically.

How does this look? Did I get anything wrong? Also as @SiarheiPilat originally made a PR for this (I should have pulled it after being quiet for months), think its fair to ask how you feel about this too.
Should be released within the next few weeks, but it's currently on the develop branch. Would note that develop might be a little unstable if you upgrade from your current version to it; just in case you try it out.

This is such a nice addition! It helps a lot cleaning when things gets a lot of Unity's components yet you still want the components you made.
Thanks a hell lot!!

Hey there, gonna close this as I'm making a release later on today with the changes.
Sorry it took a while, but I appreciate you keeping in touch and also submitting this 🙏

Wooshii


Add an Option in the Menu Entry Swapper For Wilderness Lever

This Issue is just for a quick  QoL for those with the wilderness Diary nothing more. Also makes escaping to Edgville from PKers easier but not making escape itself easier all together.

Is the option to teleport to both locations visible regardless of your diary progression?

No, it only appears once you have completed the appropriate diary. (easy iirc?) Nonetheless, this should be easy to implement since the menu entry swapper code we use shouldn't cause failures if the desired option isn't found.

Does this request even make sense? If you are just trying to escape pkers you can as well teleport to ardougne, it does not really matter.

I find it annoying when i forget to right click it and select edge. since i just left click and look away without thinking sometimes.  Theres 0 reason to go to ardy after you have the diary done so i would support this feature.

This is a niche feature that is best suited for the plugin hub, and is currently covered by the Menu swapper extented plugin there. See runelite/plugin-hub#42


I try to solve my problem with trying to find a way to download the "Arial narrow" font

If, on this page, I use the link : "Arial Narrow", it opens a new page. If then on the new page, i click on the link :
"Purchase & Download Microsoft fonts for personal, professional or business use on workstations"
then I get an 404
PAGE NOT FOUND
error.

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

ID: ab667f80-7df3-bafa-0877-51e7af198d44
Version Independent ID: cfd7b5d4-d79a-36d2-049e-a5d6fff1c270
Content: Fonts and supported products - Typography
Content Source: typographydocs/font-list/index.md
Product: typography
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

It appears that the broken links were resolved quite some time ago, but the reported problem was not updated or marked as resolved.


failed to run pod when run case A00002: edit pod annotations about field "route"

Describe the bug
failed to run pod after edit pod annotations about field "route"
Hwo To Reproduce

set pod annotations about "route"
create pod

Screenshots and log

#629


Calling  set_sys_clock_khz(438000, false)  hangs the Pico with 1.3V

For code that determines maximal working overclocking for a single Pico I have currently to start with highest value of 437999 because of this bug.
Just did a run with 1.2V and it kept going down from 437999 until it reached 404000 and hangs.

I guess you ought to expect undefined behaviour (e.g. crashes or hangs) at such high overclocks?
Or have I misunderstood and you're actually reporting something else?

I expected to see whether setting and reading gpio works, not crashes.
I identified the reason for the crashes, I forgot to call set_sys_clock_48mhz() before doing printf() to USB minicom. So the reason for the hang seems to be printing at very high clocks to USB subsystem. Going fown to lower clocks before printing avoids the crash.

I have currently to start with highest value of 437999 because of this bug.

What is the bug? You have described the hardware not functioning correctly at 3x its rated speed, and yes, this is why the rated speed is 3x lower than this. Please explain the software problem you would like to see fixed.

The rated maximum clock for RP2040 is 133MHz. If you're overclocking you're entirely on your own. Unexpected behaviour like crashes should be expected.


chore: simplify poolRoutine

By various metrics, poolRoutine is the most complex function in CometBFT.

cyclomatic complexity
cognitive complexity

This PR is from #2130, which I'll break down into smaller PRs similar to the flaky test PR.  I was able to identify this function as excessively complex by configuring linters in the way described in #2130.
review notes
I ended up removing some comments from the code, but it's possible that they should have been moved to one of the new helper functions.  Please let me know if the comments should be restored.

PR checklist

[x] Tests written/updated
[x] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[x] Title follows the Conventional Commits spec

Please note that this PR illustrates the flaky test problem.

Let's run the p2p tests and profile them, to learn how much RAM we can save

"E[2024-03-12|20:51:40.483] failed to send transaction                   err="error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). RPC error -32603 - Internal error: endpoint is closed while node is catching up"
^ maybe that?

#2618

e2e is not flaky.

@faddat what is left here? thinking of closing this since it seems very delicate and low confidence in changes

Low confidence in the changes or in the code that tests them?

@adizere my thoughts on closing this or not -

if low confidence in the changes here then by all means this PR should be closed

If the situation is as I suspect and you have low confidence in the code that tests these changes, then I think effort should be directed at tests.  I noticed that the main branch is once again not passing tests.  If you would like the tests in this repository to actually pass, actually all the time, and actually have meaning, then we should make a rule: PRs must pass tests and follow it.  I have high confidence that such a rule would improve the tests.

I'm going to review this tomorrow.

Closing in favor of https://github.com/cometbft/cometbft/pull/2820


Error: Cannot find a generated NgFactory

ng-render is consistently failing with the error [error] Failed to render application: Error: Cannot find a generated NgFactory matching the name cyph.com/app.module with a symbol AppModule, or ... cyph.com/app.module.ngfactory ... AppModuleNgFactory.
I've tried the following with the same or similar results:

Doing AOT via webpack + @ngtools/webpack

Doing AOT via ngc directly

Switching --module between relative and absolute paths

Switching --module between app.module.ts and app.module.ngfactory.ts

Omitting --module entirely

The file it's saying it can't find clearly exists, so I'm not sure what the problem is. The stack trace is below. Any ideas?
[info] Rendering application from source (working path: /tmp/38392951ec72b)
[error] Failed to render application: Error: Cannot find a generated NgFactory matching the name cyph.com/app.module with a symbol AppModule
    at CompilerException.ZoneAwareError (/node_modules/zone.js/dist/zone-node.js:915:33)
    at CompilerException.Exception [as constructor] (/node_modules/angular-ssr/source/exception.ts:6:5)
    at new CompilerException (/node_modules/angular-ssr/build/exception.js:64:42)
    at NgcModuleLoader.loadModule (/node_modules/angular-ssr/source/application/compiler/ngc/loader.ts:26:13)
    at NgcModuleLoader.load (/node_modules/angular-ssr/source/application/compiler/ngc/loader.ts:12:17)
    at /node_modules/angular-ssr/source/application/builder/from-source.ts:29:22
    at ZoneDelegate.invoke (/node_modules/zone.js/dist/zone-node.js:365:26)
    at Zone.run (/node_modules/zone.js/dist/zone-node.js:125:43)
    at /node_modules/zone.js/dist/zone-node.js:758:57
    at ZoneDelegate.invokeTask (/node_modules/zone.js/dist/zone-node.js:398:31)
    at Zone.runTask (/node_modules/zone.js/dist/zone-node.js:165:47)
    at drainMicroTaskQueue (/node_modules/zone.js/dist/zone-node.js:591:35)
    at ZoneTask.invoke (/node_modules/zone.js/dist/zone-node.js:464:25)
    at data.args.(anonymous function) (/node_modules/zone.js/dist/zone-node.js:1598:25)
    at _combinedTickCallback (internal/process/next_tick.js:86:20)
    at process._tickCallback (internal/process/next_tick.js:104:9)
    at Module.runMain (module.js:607:11)
    at run (bootstrap_node.js:423:7)
    at startup (bootstrap_node.js:147:9)
    at bootstrap_node.js:538:3

Hmm. Your application does not use Angular CLI or webpack?

We aren't using the Angular CLI, but we do use webpack with the @ngtools AOT plugin (although as mentioned while debugging this I tried using ngc directly as well).
Just to give an idea of the different permutations of things I've tried, this is what the relevant part of the script currently looks like (have commented/uncommented different things, alternated between relative and absolute paths, etc., without any luck):
# sed -i 's|/platform-browser-dynamic|/platform-browser|g' "cyph.com/main.ts"
# sed -i 's|platformBrowserDynamic|platformBrowser|g' "cyph.com/main.ts"
# ngc -p .
# sed -i 's|\./app.module|\./app.module.ngfactory|g' "cyph.com/main.ts"
# sed -i 's|AppModule|AppModuleNgFactory|g' "cyph.com/main.ts"
# sed -i 's|bootstrapModule|bootstrapModuleFactory|g' "cyph.com/main.ts"
# ngc -p .

webpack --config "cyph.com/main.webpack.js"

ng-render \
	--debug \
	--template "/home/gibson/.build/cyph.com/index.html" \
	\ # --module "${PWD}/cyph.com/app.module.ts" \
	\ # --module "${PWD}/cyph.com/app.module.ngfactory.ts" \
	\ # --symbol AppModule \
	\ # --symbol AppModuleNgFactory \
	--project "${PWD}" \
	\ # --project "${PWD}/tsconfig.json" \
	--webpack "cyph.com/main.webpack.js" \
	--output "/home/gibson/.build/cyph.com"

Well, not exactly sure what was causing this, but I set up a branch with our project folder converted into the Angular CLI structure and it's resolved! I am running into #28 now, though.

@buu700 You can resolve the #28 issue by passing --module app/app.module --symbol AppModule (or whatever the right values are for your project). This is a workaround - I will investigate a proper fix. Can you give me access to this code?

Perfect, thanks! That's a much more convenient workaround than merging tsconfig files by hand.
Here's the Angular CLI version that's running into #28: https://github.com/cyph/cyph/tree/3f01d0ba8ab20226cd2173369ef1e1257423c1cb/cyph.com
And here's the pre-Angular-CLI version that was running into this issue (the exact state that triggers the problem is in the middle of a build script): https://github.com/cyph/cyph/blob/0f003462b99300d4fcae1326d1f0a60ed4eb0ca3/commands/build.sh#L587. The problem might be as simple as node_modules having been a symlink, since the Angular CLI had some issues building in the new branch until I replaced the node_modules symlink with a bind mount.

Hi @buu700. I've tried running the code in cyph.com and I believe it is failing due to the symbolic links inside the project.
This is where it's dying for me (on ng build): (note<EMAIL_ADDRESS>does not exist -- the right path is<EMAIL_ADDRESS>CREATE<EMAIL_ADDRESS>undefined
Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
    at createSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:14877:109)
    at parseSourceFileWorker (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:14808:26)
    at Object.parseSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:14757:26)
    at Object.createSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:14612:29)
    at WebpackCompilerHost.getSourceFile (/Users/bond/cyph/cyph.com/node_modules/@ngtools/webpack/src/compiler_host.js:210:27)
    at findSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64752:29)
    at processSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64683:27)
    at /Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64793:17
    at Object.forEach (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:1398:30)
    at processReferencedFiles (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64791:16)
    at findSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64776:21)
    at processSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64683:27)
    at /Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64793:17
    at Object.forEach (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:1398:30)
    at processReferencedFiles (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64791:16)
    at findSourceFile (/Users/bond/cyph/cyph.com/node_modules/typescript/lib/typescript.js:64776:21)

Got it, that makes sense. The Angular CLI is replacing essentially a hand-rolled build system / project structure that felt a bit fragile in its interactions with Angular-related tooling at times, so I guess it's not surprising that our pre-Angular-CLI project would blow up coming in contact with something as complicated as angular-ssr. Probably not worth fixing this if it seems like it's not something anyone else is likely to ever run into (especially considering that even the Angular CLI doesn't like node_modules symlinks).
As far as the ng build error in the second commit I linked: it doesn't exist yet there (at that point we were kind of halfway switched over to the CLI), but there's another script that initialises each CLI project folder with bind mounts to node_modules and other shared folders, which would've been needed for any of the CLI commands to work.


read file hdf5

Hi, sorry for the inconvenience but I have a question.
i am a python user and i have red hdf5 files with h5py. I am now working within .net environment and I am looking to use your library with IronPython.
I would like to understand how can I get a specific data within the database and how to get access to the different trees.
Any help are super appreciated.
I leave you an example of how I access the file in python ('readH5.py').
I am also attaching the hdf5 file that I would like to use ('recorder.hdf5')
Regards
Domenico
file.zip

Hi @DomenicoGaudioso ,
Basically you create a .net class that represent your dataset.
few questions:

Are you looking to read the entire file or only specific datasets? if specific dataset please write which one so I will check the dataset.
is the file structure always the same or is it dynamically create at runtime?
Do you need to modify it  or just read back in .net?

thanks for the immediate response, I answer your questions.

I am trying to read a specific set of data.
in particular, with python it is as if it were a dictionary so what I do is this:

f = h5py.File(r'C:\recorder.hdf5','r')
dset = f['MODEL_STAGE[1]']['MODEL']['NODES']['COORDINATES'][1]
*in the square brackets you see the opening keys I used to find my dataset
2. the file structure is more or less always the same
3. i just need to read it in .net

Then it is very easy:
You first can set some error handling:
...
Hdf5.Settings.LowerCaseNaming = false;
Hdf5.Settings.EnableErrorReporting(true);
Hdf5Utils.LogWarning = (s) => Errors.Add(s);
Hdf5Utils.LogError = (s) => Errors.Add(s);

then you create a class that represent your data:
public class Coordinate
{
       [Hdf5EntryName("COORDINATES")] public double[,] COORDINATES { get; set; }
}

and the you just read it:

string filename = @"recorder.hdf5"; \\full path
long fileId = -1;
try
{
        fileId = Hdf5.OpenFile(filename, true);
        var result = Hdf5.ReadObject<Coordinate>(fileId, "/MODEL_STAGE[1]/MODEL/NODES");
}
 finally
 {
        if (fileId > 0)
           {
             Hdf5.CloseFile(fileId);
            }
 }

the result is matrix of 1817,3 (in tihs case):

Thanks @LiorBanai!
it looks like that it is possible to read the data! Amazing
Do you have any experience with IronPython?
Me and @DomenicoGaudioso need to translate what you have written in C# for IronPython and It would be amazing if you already know the answer.

not sure why you need IronPython with this. IronPython is an implementation of the Python programming language targeting the .NET Framework and Mono. This means you are already running under .net so you can use the code I wrote above.
If you want to run python inside .net (Iron Python) then it is no clear to me why you cannot use python  h5 code to read it.

We are writing a plug-in for a software where it is possible to write with C# or IronPython 2.7 and me and Domenico are familiar with python.
I was thinking that h5py was using numpy under the hood but I could be wrong and numpy is not available for ironPython 2.7 and this is the reason for use your library.

Hi @LiorBanai
I have manage to translate your code in C# and it works!
Thanks.
How would you read the DISPLACEMENT for different time step with your approach?
Step_0
Step_1

Thanks,
Marco

Hi @Marco-Pellegrino ,
Glad to hear you managed to use the library.
for the different steps dataset I would use something like this:
        public class Steps
        {
            [Hdf5EntryName("STEP_0")] public double[,] STEP0 { get; set; }
            [Hdf5EntryName("STEP_1")] public double[,] STEP1 { get; set; }

        }

and read it:
                fileId = Hdf5.OpenFile(filename, true);
                Assert.IsTrue(fileId > 0);
                var step = "/MODEL_STAGE[1]/RESULTS/ON_NODES/DISPLACEMENT/DATA";
                var result2 = Hdf5.ReadObject<Steps>(fileId, step);

In the future I'll add option to read it dynamically without needing to specify each name (step_0, step_1) so you could  read wit hsingle step_+number

Hi @LiorBanai , I'm sorry but I'll ask you another little question.
How would you read this data? I'm having trouble getting into '53 -UnknownMovableObject [201: 0] '.
Thanks for the help.
Best

I'll add in the coming weekend a generic Mathis to read and 2d matrix so you will be able to use same object for all your matrices. It will simplify your usage.

thanks, you are the best.

Hi Liron, did you add something that suits us? thanks for the help

no yet, bein busy.
will do it tomorrow or the day after

Ok, so I created new method to read tabular data.
the way to use it is follow:

open the file using  fileId = Hdf5.OpenFile(filename, true);
Specify the path to the groupname and open it:   var groupId = Hdf5.CreateOrOpenGroup(fileId, groupName );
Read the data in T[,] using the name of the dataset: var tableOfData = Hdf5.Read2DTable<double>(groupId, "STEP_0");

                fileId = Hdf5.OpenFile(filename, true);
                var groupName = "/MODEL_STAGE[1]/RESULTS/ON_NODES/DISPLACEMENT/DATA";
                var groupId = Hdf5.CreateOrOpenGroup(fileId, groupName );
                var tableOfData = Hdf5.Read2DTable<double>(groupId, "STEP_0");

so in your case just call the Read2DTable methods with "STEP_0","STEP_1", etc .
update your nuget package to V1.12.2:
https://www.nuget.org/packages/HDF5-CSharp/1.12.2

The data will be in public property inside the tableOfData class (you can ignore the other null property inside):

Thank you so much,  I'll try it these days.

I knew I remember the step_X data :)
this the same as https://github.com/LiorBanai/HDF5-CSharp/issues/201 so closing this one :)


Drop hax-lib dependency

The regular libcrux build should not depend on hax-lib.
Hide the dependency behind the cfg(hax).

Fixed in https://github.com/cryspen/libcrux/pull/185


Gitter batch in readme?

Should a link to the Gitter batch be added in the readme? I can't see it right now. @chrisfilo @KirstieJane

Heya @dorahermes - I can see the “chat on gitter” badge in the README - it isn’t well aligned but it does show up on the second line as I see it....

Sorry, thank you, it skipped my eye for some reason. Added a 'For discussions': before the badge.


Reserve list for activities

Some other asssociations have the ability to sing up for a reserve list on the website when an activity is full. This would save a lot of administration and would also lower the barrier for members to put themselves on the reserve list.

Duplicate of #12 and #564

Hmm, apperently my search skills are not very good

Np, most likely you searched for open issues only! See the original issue for the discussion that have been held (and attempts that have been done)


Indent before SET

After formatting, first and last line are indented with 3 spaces. Should be 0. (Why not 4 when I have indent set to 4 spaces in the formatter settings?)
   SET ECHO OFF;

CREATE OR REPLACE PACKAGE BODY emp_mgmt AS

    FUNCTION hire (
        last_name      IN  VARCHAR2,
        job_id         IN  VARCHAR2,
        manager_id     IN  NUMBER,
        salary         IN  NUMBER,
        department_id  IN  NUMBER
    ) RETURN NUMBER IS
        new_empno NUMBER(16, 0);
    BEGIN
        --some code
        return(new_empno);
    END;

END emp_mgmt;
/

   SET ECHO ON

I can reproduce it and used the settings as in #12.

Why not 4 when I have indent set to 4 spaces in the formatter settings?

Well, it's not an indentation, it's a right alignment. Here is another example:
SET ECHO OFF
SELECT *
  FROM dual;

When you format this, you see that the SET is right-aligned with SELECT.
Responsible is the query rightAlignments in the Arbori program. The SET keyword is query criterion without further conditions. This leads to the right-alignment.
I'm going to fix that.


[Bug]: aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What happened?
When I run thsi program,It show me this error:
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://sydney.bing.com/sydney/ChatHub')
Steps to reproduce the problem

Go to ....
Press ....
...

What should have happened?
Stable
Version where the problem happens
Name: EdgeGPT
Version: 0.10.16
Summary: Reverse engineered Edge Chat API
Home-page: https://github.com/acheong08/EdgeGPT
Author: Antonio Cheong
Author-email<EMAIL_ADDRESS>License: GNU General Public License v2.0
Location: C:\Users\VMTask\AppData\Local\Programs\Python\Python311\Lib\site-packages
Requires: aiohttp, BingImageCreator, certifi, httpx, prompt-toolkit, requests, rich, websockets
Required-by:
What Python version are you running this with?
Python 3.11.0
What is your operating system ?
Windows
Command Line Arguments
No

Console logs
I don't want to provide.

Additional information
No response

I don't want to use 0.8.2 now.

The "bing" implem of "G4F" (gpt4free) doesn't have this trouble :
https://gitler.moe/manatlan/gpt4free/src/branch/main/g4f/Provider/Providers/helpers/bing.py
The code is a lot simpler, and help me to understand the "whole image" (how http/wss exchanges works with bing ia)
But I haven't found the trouble in edgegpt ... and I mainly use G4F for now.

I haven't been able to reproduce this error. Any hints?

I added some headers. Test latest commit

@VMTask https://github.com/acheong08/EdgeGPT/releases/tag/0.11.0

Check websockets branch to see if aiohttp is the issue https://github.com/acheong08/EdgeGPT/tree/websockets

The code is a lot simpler

Yeah I do feel like this repo has become a somewhat confusing mess

https://github.com/acheong08/EdgeGPT/releases/tag/0.11.0

@acheong08 : for me it's ok (no more wss handshake errors)
I switch from 0.8.2 to the newest 0.11.0 !
But a prompt like "draw me a blue car" doesn't work in "creative" mode ... (redirect error, line 111 in bingimagecreator.py)
It worked in the past ...

@acheong08
In fact, edgegpt is very dependant of "bing api changes".
So this depot should concentrate to implement the protocol, at the lower level, and only the protocol.
And adopt KISS (keep simple and stupid).
With simple unittests/pytests (which could be the doc of use of the api), to cover 99to100% the code base.
To make it "rock solid" (and when "bugs" : it will be on bing api changes only ...)
things like store/restore conversations, and query/utils should be in another depot based on edgegpt.
(never reach to use "Query" (the idea is good) ... but doesn't seem to work)

Not quite sure  about the future of this project. I can't really keep up with all the changes by Bing considering I only have a few hours a day available (between 11PM and 2AM)


I just can't.

I don't know if this is a crash or a bug, but I'll just lay it down here.
main.log
settings.ini.log
DxDiag.txt

System information

OS: Windows 10
Grabber version: 7.1.1.

The state of my system and the Grabber:

Before, I was using Grabber in a Windows 7. After finished updating to Windows 10, my Grabber doesn't work anymore.
My current OS: Windows 10
Grabber version: 7.1.1. (both before and after updating Windows)
Lots of configurations in Grabber

My issues in question:

After putting in the tag(s) in the search bar, the page doesn't show anything, just blank. I've attached both a screenshot of it and the log screen, or maybe you already know how it's supposed to look like? My question is: What just happened?

I cut-pasted my destination folder to my external HDD. Did that affect the Grabber.

Is there any way I can show you all of my Grabber configurations? LIke a ,txt file or something. Should I return my Grabber configs to default? And how?  I've attached the main.log and system.ini since you asked to, but I don't know what they're supposed to do.

Tell me what else to check or if there's anything I missed. I'm completely blind to this kind of thing.

There are many configurations I did to my Grabber (like showing blacklisted tags etc.), but I forgot how many I've had changed.
I've also tried reinstalling many times up to 10 times, nothing worked. The search page keeps showing blank page.

Try the 32 bit version, that fixed this for me at one point.


fix: #156

fixes #156
ToDo before merging:

[ ] Add colour of language to vertical bar character

In editor:

(Verbose)

In console:


Circle color attribute + IE8 support.

It would be nice to have circle color attribute. Now it is somehow grey color, which seems to have some opacity. It would be nice to be able to definie your own color. For example I would like to have light red color of the whole circle and the progress will have dark red color. Now everything has to be in grey (due to page background).
Another thing is IE8 support. It would be nice to somehow have IE8 support.
it is still heavily used on WIN XP.

I was able to get these working on IE8 using ES5 Shim (to fill in missing JS methods) https://github.com/es-shims/es5-shim and ExplorerCanvas (to get Canvas working) https://github.com/arv/ExplorerCanvas
It's possible that complex fills won't work, but solid colors definitely do.

Thanks! I will try it. It is not so important for me to have there the animation, but I need to have the page without js errors and this cause an JS error of undefined method for object in IE8.
The best result for me will be if it will display my numbers, texts and circle even without animation for IE8, so there will be the data without error. Animation is an advantage for new browsers.

You can set "background circle" color using emptyFill config option. By default it's transparent gray - rgba(0, 0, 0, .1), but you may set it to red if you want to - #ff0000
As for IE8 support - I have not implemented it because it requires extra effort and would make my code "dirty". You may try to use some IE8 <canvas> polyfill... I will try it and let you know if it works

I've tried to use excanvas. You may take a look at my example. I've met a problem - excanvas doesn't want to stroke the circle with gradient fill so I used solid fill fallback.
I don't want to struggle with IE8, I want people to stop using it instead :) But you may dig into my example and use it in your code

I understand, that you would like people to use better browsers, We also want it, but We cannot somehow force our clients to sell their computers and buy new ones with Win Vista + newer, because They have Win XP in their offices with IE8 and due to google analytics We can see, that there are many customers, who still use IE8. MS should block the Win XP :D
I will try your example. Thanks!

@TomThak @kottenator   how did you add thousandth value in your counter?


Stop ModelAdmin from failing when filtering over a foreign key relation

Supersedes #4998
As per https://github.com/wagtail/wagtail/pull/4998#issuecomment-471005219, the implementation of lookup_allowed is flawed and breaks on some valid lookups while allowing invalid ones. We are therefore better off removing that validation entirely.

(merging this now, as this code and proposed fix has had enough eyes on it as part of #4998 :-) )


Backup machine-plan secrets independent of namespace (close  Restore renders downstream cluster unusable if this one resides in a non-fleet-default namespace #574)

close #574

Appreciate this however as mentioned on the issue our team will need to triage further. For now please apply this as a local workaround on the affected cluster(s).


refactor(core): remove unnecessary storage.run() promise

remove unnecessary storage.run() promise
  static createAsync<T>(em: EntityManager, next: (...args: any[]) => Promise<T>): Promise<T> {
    const context = new TransactionContext(em);
    // async_hooks.d.ts
    // AsyncLocalStorage<T>.run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
    // AsyncLocalStorage<TransactionContext>.run<Promise<T>, []>(store: TransactionContext, callback: () => Promise<T>): Promise<T>
    return this.storage.run(context, next);
  }

Codecov Report

Merging #2996 (4712391) into master (9b2ef36) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2996   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          193       193
  Lines        11835     11833    -2
  Branches      2734      2734
=========================================
- Hits         11835     11833    -2

Impacted Files
Coverage Δ

packages/core/src/utils/RequestContext.ts
100.00% <100.00%> (ø)

packages/core/src/utils/TransactionContext.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[Slider] Miscellaneous improvements

[x] I have followed (at least) the PR section of the contributing guide.

There are two things in this PR:

Remove the unnecessary React.Fragment wrapper from Material-UI Slider.
Reuse the valueToPercent method defined in the useSlider hook file, thus preventing duplicate code.

@michaldudak @mnajdova This can be reviewed when you get time.


tkinter crashing on startup NSInvalidArgumentException

Running the code as is without Anaconda crashes python on startup with a NSInvalidArgumentException.
Adding these two lines from this answer to the top of the basic_gui.py file solves this problem.
Python crashes after Tkinter and matplotlib.pyplot are imported

I updated the file where I import matplotlib. However, I find the issue odd as theoretically tkinter and matplotlib should not interact. Could you please check if it works now as I do not have a macOS device?

Tkinter GUI will be removed and a web app will take its place. This way people will not have compatibility problems afterwards.


HowTo Change Interface for a zone

I see references to resources around firewall-cmd but I don't see any attributes for interface. How could I replicate this command using this cookbook:
firewall-cmd --permanent --zone=trusted --change-interface=docker0

Added in #7, see README for documentation


test case file

Keshav why have you copy pasted the whole code from Alok? I asked you to think of scenarios and write accordingly. The hands-on is supposed to groom you so that you're comfortable on your own.

Sorry....But I did not understand those codes in the beginning, so I thought copying and understanding again, but you can trust it will never happen from next time.

Looking at 1 or 2 test codes is fine to understand.. but copying each and every line in all test files? If you understood, why didn't you write the new tests on your own? Not a single test is your own.

ok so what should i do next please tell me


FYPO:0005425, follow on from fypo/issues/2676

spurious comment needs deleting

curved elongated vegetative cell with long curved microtubules

This and its descendants should all refer to cytoplasmic microtubules. Can this be added?

So here I haven't differentiated my phenotypes properly.
There are distinct phenotypes.
A.  where the cell is long, and the microtubules are long. But they are probably "normal' microtubules for the length of the cell (they touch the cell tip)
B. Where the cell is long, but the microtubules really are long because the curl around the cell tips. These are the ones which appear to have microtubule depol defects but I am losing this
C. there are others where the cells are normal length but the microtubules are long and curved around the cell tip.
At present, some of the defs say "the microtubules may or may not curl around the tip"
I think its important to capture/separate the phenotypes there the microtubules do n't stop growing at the cell ends.
Can we have terms to differentiate depending on whether the microtubules stop at the cell tip or not?
I flagged in which session
the cdc10/klp*  mutant (J-shaped) don't curl around the ends
https://curation.pombase.org/pombe/curs/8d41506ec01aec5b#
but the cdc25/klp* mutant do

No definitions say "microtubules may or may not curl around the tip". The FYPO:0005426 definition includes "Microtubules may loop around the ends of the cell.", and one term, 'long curved cytoplasmic microtubules' (FYPO:0004511), has a comment saying "In severe instances of this phenotype, microtubules grow long enough to curve around the cell tip.". In both cases, the term names and text definitions specify that the microtubules are always curved, so they exclude case A. The minor distinction is how much extra MT length is being stuffed into the cell. If the FYPO:0005426 cells always have loopy MTs, I can delete "may".
Is it always the case that cytoplasmic interphase MTs that are longer than normal for the cell will be curved?
It's not explicit at present, but we don't actually say that straight end-to-end MTs in an elongated cell are elongated MTs. So it sort of implies that if MTs remain straight and extend no further than end-to-end, they're normal length for that cell, whether the cell itself is normal length or not.

In both cases, the term names and text definitions specify that the microtubules are always curved, so they exclude case A.

not here

The microtubules are curved (but not bent around the tip)
They are long, but that is probably only because the sell is long....

Contrast to:

Here the cell is normal lentht but the microtubules are very long and curve around the tip

These are long and curved around the end of the elongated cell

Is it always the case that cytoplasmic interphase MTs that are longer than normal for the cell will be curved?

I think so... ('curled' even, not just curved)

Your initial description of case A does not say that either the cell or the microtubules are curved. I took your latter two images (H and H) to represent cases B and C, and I don't see a text description in this ticket that refers exclusively to the first pic (D). The case A description encompasses pic D and cells that are long but straight, with straight MTs.

It's not explicit at present, but we don't actually say that straight end-to-end MTs in an elongated cell are elongated MTs. So it sort of implies that if MTs remain straight and extend no further than end-to-end, they're normal length for that cell, whether the cell itself is normal length or not.

Ah OK, so to annotate D above, I would just say 'elongated curved cell with curved microtubules' and not say anything about microtubule length at all. That would work....
That way we could stick with the original def for long microtubules, and say that they may curve around the end, but if describing the microtubules in an elongated cell, and they didn't curl around the end we would just not refer to microtubule length at all.....

Yes, I think that would be fine. Hooray.
For future reference, and to see if I've got it, is it true that
a) normal length MTs will be straight in a straight cell, but will curve along with the long axis in a curved cell;
b) following on from (a), curved MTs may be normal length or elongated;
c) all longer-than-normal MTs are curved (sometimes unto loopitude)
?
I think all that is consistent with pic D = 'elongated curved cell with curved microtubules' too.

recast FYPO:0005425-5427 to specify cytoplasmic MTs
moved & edited FYPO:0005427 to remove "long MT" part of description
deleted spurious comments, and added others
that might be everything for this ticket; if not, can reopen later or do a new one

edit file: 78a1fbc60da524ea66a75ea414d47ddb92382e22
release: 8eb81f314401b27a2f0a353f677d1f3c9206c599


Ignore certain PDBs during the building process

Some users are asking how not to consider certain PDBs' torsions when creating conformers. This is relevant when building proteins (or parts of proteins) already deposited in the PDB. It is a very good question we have discussed many times. There are two ways to achieve this:

Unlist those PDBs from the initial PDB culled list when creating the database, or
Remove those entries from the JSON final database file.

We need two things:

[ ] A tutorial page explaining this issue and how to address it
[ ] A new client helping people to remove specific PDB entries from an already created JSON torsion database or a flag in build to ignore certain PDBs from the building process (likely this one is better).

For example, to ignore PDBs 1ABC and 2DEF from the torsion sampling:
idpconfgen build [...] --ignore 1ABC 2DEF

I think search is a very broad word. Why another subclient? To edit the database? It can be. Can we forge some examples to prototype the interface before starting coding?
Cheers! :rocket:

Oh I meant for the tutorial page, users can use the existing cli_search to find which PDB IDs they need in the database already, and during the build step, they can specify which PDB IDs to ignore from the database like: -ign 2MX4 to ignore all chains/segements of 2MX4

Hi Nemo,
-ign sounds good. We could also allow -ign to accept PDBIDs not in the database. In this way, we (or the user) could have provide (have) "the" database and ignore at will.


[BUG] Can't import latest version of xgcm

What happened:
I installed xgcm from commit b2fc97e and couldn't import it.
What you expected to happen:
I expected to be able to import.
Minimal Complete Verifiable Example:
python -m pip install --user git+https://github.com/xgcm/xgcm.git@b2fc97e29c6e262f69dc699d4c31dd2ad3ee53fc --upgrade

  Cloning https://github.com/xgcm/xgcm.git (to revision b2fc97e29c6e262f69dc699d4c31dd2ad3ee53fc) to /scratch/v45/nc3020/tmp/pip-req-build-94nh9e6b
  Running command git clone -q https://github.com/xgcm/xgcm.git /scratch/v45/nc3020/tmp/pip-req-build-94nh9e6b
Requirement already satisfied, skipping upgrade: xarray>=0.14.1 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xgcm==0.5.0+5.gb2fc97e) (0.16.1)
Requirement already satisfied, skipping upgrade: dask in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xgcm==0.5.0+5.gb2fc97e) (2.28.0)
Requirement already satisfied, skipping upgrade: numpy in ./.local/lib/python3.7/site-packages (from xgcm==0.5.0+5.gb2fc97e) (1.19.1)
Requirement already satisfied, skipping upgrade: future in ./.local/lib/python3.7/site-packages (from xgcm==0.5.0+5.gb2fc97e) (0.18.2)
Requirement already satisfied, skipping upgrade: docrep<=0.2.7 in ./.local/lib/python3.7/site-packages (from xgcm==0.5.0+5.gb2fc97e) (0.2.7)
Requirement already satisfied, skipping upgrade: setuptools>=38.4 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xarray>=0.14.1->xgcm==0.5.0+5.gb2fc97e) (49.2.0.post20200712)
Requirement already satisfied, skipping upgrade: pandas>=0.25 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from xarray>=0.14.1->xgcm==0.5.0+5.gb2fc97e) (1.1.2)
Requirement already satisfied, skipping upgrade: pyyaml in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from dask->xgcm==0.5.0+5.gb2fc97e) (5.3.1)
Requirement already satisfied, skipping upgrade: six in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from docrep<=0.2.7->xgcm==0.5.0+5.gb2fc97e) (1.15.0)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from pandas>=0.25->xarray>=0.14.1->xgcm==0.5.0+5.gb2fc97e) (2020.1)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages (from pandas>=0.25->xarray>=0.14.1->xgcm==0.5.0+5.gb2fc97e) (2.8.1)
Building wheels for collected packages: xgcm
  Building wheel for xgcm (setup.py) ... done
  Created wheel for xgcm: filename=xgcm-0.5.0+5.gb2fc97e-py3-none-any.whl size=60190 sha256=4901447ef2bb3b5bfae8f7c6ed399f70223a461406d9d33b0c4d4e72fafa9973
  Stored in directory: /home/552/nc3020/.cache/pip/wheels/31/e5/2a/2ebc2c994ecc59d2a757e2f93a388cddba68c78c374254da23
Successfully built xgcm
Installing collected packages: xgcm
Successfully installed xgcm-0.5.0+5.gb2fc97e

Python 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:25:08)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xgcm
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/552/nc3020/.local/lib/python3.7/site-packages/xgcm/__init__.py", line 6, in <module>
    from .grid import Grid, Axis
  File "/home/552/nc3020/.local/lib/python3.7/site-packages/xgcm/grid.py", line 19, in <module>
    from .transform import linear_interpolation, conservative_interpolation
  File "/home/552/nc3020/.local/lib/python3.7/site-packages/xgcm/transform.py", line 18, in <module>
    nopython=True,
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/npyufunc/decorators.py", line 179, in wrap
    guvec.add(fty)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py", line 215, in add
    self.nb_func, targetoptions, sig)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py", line 146, in _compile_element_wise_function
    cres = nb_func.compile(sig, **targetoptions)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py", line 95, in compile
    return self._compile_core(sig, flags, locals)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/npyufunc/ufuncbuilder.py", line 130, in _compile_core
    flags=flags, locals=locals)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler.py", line 551, in compile_extra
    return pipeline.compile_extra(func)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler.py", line 331, in compile_extra
    return self._compile_bytecode()
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler.py", line 393, in _compile_bytecode
    return self._compile_core()
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler.py", line 373, in _compile_core
    raise e
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler.py", line 364, in _compile_core
    pm.run(self.state)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler_machinery.py", line 347, in run
    raise patched_exception
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler_machinery.py", line 338, in run
    self._runPass(idx, pass_inst, state)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler_machinery.py", line 302, in _runPass
    mutated |= check(pss.run_pass, internal_state)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/compiler_machinery.py", line 275, in check
    mangled = func(compiler_state)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/typed_passes.py", line 95, in run_pass
    raise_errors=self._raise_errors)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/typed_passes.py", line 67, in type_inference_stage
    infer.propagate(raise_errors=raise_errors)
  File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-20.07/lib/python3.7/site-packages/numba/typeinfer.py", line 985, in propagate
    raise errors[0]
numba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Use of unsupported NumPy function 'numpy.flip' or unsupported use of the function.

File ".local/lib/python3.7/site-packages/xgcm/transform.py", line 23:
def _interp_1d_linear(phi, theta, target_theta_levels, mask_edges, output):
    <source elided>
    if theta[-1] < theta[0]:
        theta = np.flip(theta)
        ^

[1] During: typing of get attribute at /home/552/nc3020/.local/lib/python3.7/site-packages/xgcm/transform.py (23)

File ".local/lib/python3.7/site-packages/xgcm/transform.py", line 23:
def _interp_1d_linear(phi, theta, target_theta_levels, mask_edges, output):
    <source elided>
    if theta[-1] < theta[0]:
        theta = np.flip(theta)
        ^

Anything else we need to know?:
xgcm version and environment:
xgcm 0.5.0+5.gb2fc97e

same issue if I use the tag v0.5.0

Thanks for the bug report @navidcy. This is probably a numba version issue. I think it should work if you upgrade numba.
We need to figure out how to handle this. Since numba is an optional dependency, we can't require a specific version. I would just replace
theta = np.flip(theta)

with
theta = theta[::-1]

Which should accomplish the exact same thing.

I'll work on a PR to fix both this and #261. Might not get it today but likely tomorrow.


Async methods for JsonTextReader / JsonTextWriter

Hello.
I wanted to know if there were any plans for Json.Net to provide async methods on the text reader and the text writer. Since those classes deal with streams, it could be good addition. I wanted to know if you would be doing it eventually soon, or if there were no plans.
I know you already made an attempt at creating those methods, but I wanted to know if you would try again without the Task.Run.
Thanks.

No plans right now. It was be a significant amount of work and I'm not confident I have the knowledge to write perfect async code currently.

https://github.com/JonHanna/Newtonsoft.Json/commit/0ec73f19773f6eaa4a810f5609f4c844ef7059bc is a quick start on this, pushing async through to the stream, and returning synchronously when that's not available (c.f. how StringReader and StringWriter return synchronously on their *Async methods) and mostly not trying to be too clever (refactoring can happen later).
I'd be happy to continue with this if it's desired.

Thanks for looking at this. I've been putting it off.
Wow that is a lot of copy and paste. I know most it can't be helped due to the nature of async. Looking at that, I'm worried about how doing a lot of things twice and testing them twice will effect maintainability. Also so much duplicate code, and all the async state machines are going to grow the DLL hugely.

That would be a primary focus of looking at this deeper. It's relatively easy to produce such a copy-paste implementation as this. The real work comes in with finding shared code and/or deciding to be synchronous with I/O

In a way though, this assembly is iin the perfect storm position. Most are either very close to the I/O (just add a couple of async overloads) or ultimate consumers (async or not; pick one), but this assembly is nastily between the two. 4

+1 to async JsonTextReader (and possibly JsonTextWriter, although that's not impeding our progress so much).
There are patterns that can be followed to avoid repetition of code to keep the test matrix small. I can explain and perhaps demonstrate those patterns if there's enough interest to respond with the update.

Well, it may have been a year between my saying I'd tackle it and my submitting a PR, but PTAL.

Hi @JonHanna,
Would you please share a time-line (if it exists) as to when this change will be generally available on nuget as a stable package?
Thanks,
Elham

BTW, consider using ValueTask<T> to avoid the cost of allocating Tasks for the async methods in the (hopefully frequent) case of not needing to refill the read buffer.

I'm afraid that if I'd posted a timeline for my part in this, it would now be lies.
What are other people's thoughts on ValueTask here? I'm personally torn between the advantages on one hand and the dependency addition, though as ValueTask becomes better known that is less of a big deal (if many consumers would depend on it anyway) and the stream consumption pattern of json would seem to be a good match.
We would be breaking anyone currently using the async in the repository, which is an obvious downside.

Would you please share a time-line (if it exists) as to when this change will be generally available on nuget as a stable package?

Probably in a week or two.

BTW, consider using ValueTask to avoid the cost of allocating Tasks for the async methods in the (hopefully frequent) case of not needing to refill the read buffer.

Should ValueTask<T> be exposed on public APIs? I was under the impression that it should be used internally. Right now calls to JsonReader.Read() will returned a cached Task<bool> most of the time. JsonReader.ReadAsInt32() and friends would be the calls that allocate a task.

I think for the public contracts it should use Task but internally where available use ValueTask. For .NET Standard and .NET Framework 4.6.2+ use ValueTask and create an internal version of ValueTask for prior frameworks.

If ValueTask is only for internal usage then I don't see any benefit. Both the reader and the writer basically bubble up the task from TextReader/TextWriter. There was one place where Tasks were being allocated internally and it was refactored to no longer be an issue.

Are those reader methods being used internally? If so then creating internal versions of those methods that return a ValueTask may be advantageous to avoid Task allocations.

They are but they're also virtual.

Yeah, we've done a lot to avoid a lot of the overhead of tasks when possible, so ValueTask might not win much, and could even add overhead in some cases. I wouldn't discourage anyone who wanted to experiment and see if it gained much, but it's not an obvious win a priori.

ValueTask<T> is intended for public API use. Stephen Toub who was behind its creation said .NET would have returned them from Stream async methods had it been around at the time.
But if your methods return Task<bool> and you can return a cached task, then that's fine. ValueTask<int> is where it is really useful since the result value can vary.

@AArnott, that makes sense but I doubt @JamesNK wants to add a dependency on System.Threading.Tasks.Extensions for the full .NET Framework when otherwise it doesn't have any external dependencies.


Should summary have a CSS cursor pointer?

Since <summary> is clickable, seems natural to give it a cursor: pointer.

This was fixed in 1c7806c5182be87878fb6bab297c738535a4a6cc and will be shipped with 2.0!


Integration tests for StorIOContentResolver

@nikitin-da finally!
Since most of integration tests for StorIOContentResolver can live normally in storio-content-resolver/androidTest I left them there, but I've moved "stream" tests to storio-sample-app, and rewrote them completely.
I decided to check only two emissions: initial and emission after some change (insert, update, delete), please take a look!

Can one of the admins verify this patch?

Damn, Jenkins, what's wrong with you?

add to whitelist

test this please

ok to test

argh

Awesome, I've updated Jenkins plugins today and now it does not work with GitHub API, falling back to Travis CI.

:+1: Cool!


numpy records do not support "is" identity comparison.

Reporting a bug
The following fails:
from numba import cuda  # type: ignore
import numpy as np

def test_structured_is() -> None:
    a = np.zeros(1, dtype=[("a", "i4"), ("b", "i4")])[0]
    test_kernel[1, 1](a)

@cuda.jit
def test_kernel(a: np.ndarray) -> None:
    """
    Test kernel.
    """
    print(int(a is a))

Error:
    @lower_builtin(operator.is_, types.Any, types.Any)
    def generic_is(context, builder, sig, args):
        """
        Default implementation for `x is y`
        """
        lhs_type, rhs_type = sig.args
        # the lhs and rhs have the same type
        if lhs_type == rhs_type:
                # mutable types
                if lhs_type.mutable:
                    msg = 'no default `is` implementation'
>                   raise LoweringError(msg)
E                   numba.core.errors.LoweringError: Failed in cuda mode pipeline (step: native lowering)
E                   no default `is` implementation
E                   During: lowering "$32is_op.6 = a is a" at /home/shauncutts/src/factfiber.ai/learn/timbuktu/tests/context/test_util.py (156)

Thanks for the report and reproducer - I don't think this is limited to the CUDA target, but is a general issue:
from numba import cuda, njit  # type: ignore
import numpy as np

def test_structured_is() -> None:
    a = np.zeros(1, dtype=[("a", "i4"), ("b", "i4")])[0]
    njit(test_kernel)(a)

def test_kernel(a: np.ndarray) -> None:
    """
    Test kernel.
    """
    print(int(a is a))

test_structured_is()

also fails in a similar manner.

I think the following demonstrates a potential workaround:
from numba import cuda, njit, types  # type: ignore
from numba.core import cgutils
from numba.core.extending import lower_builtin
import numpy as np
import operator

@lower_builtin(operator.is_, types.Record, types.Record)
def record_is(context, builder, sig, args):
    aty, bty = sig.args
    if aty != bty:
        return cgutils.false_bit

    return builder.icmp_unsigned('==', args[0], args[1])

def test_kernel(a, b) -> None:
    print(int(a is a))
    print(int(a is b))
    print(int(b is a))
    print(int(b is b))

a = np.zeros(1, dtype=[("a", "i4"), ("b", "i4")])[0]
b = a.copy()
njit(test_kernel)(a, b)
cuda.jit(test_kernel)[1, 1](a, b)
cuda.synchronize()

For me this gives:
1
0
0
1
/home/gmarkall/numbadev/numba/numba/cuda/dispatcher.py:536: NumbaPerformanceWarning: Grid size 1 will likely result in GPU under-utilization due to low occupancy.
  warn(NumbaPerformanceWarning(msg))
1
0
0
1

Note that you could get a surprising result in CUDA if you pass the same record that's in host memory twice - e.g. test_kernel[1, 1](a, a) - two separate copies of a would be made in the device memory, so the is comparison would return false in that case.

Labelling as "good first issue", as it could be fixed by taking the above workaround and upstreaming it into numba/np/arrayobj.py, alongside the addition of tests.

Removing "good first issue" in case there is extra complexity here as discussed in the triage meeting on 15 Jan.

Could you please elaborate a little on the extra complexity as it would help me with incorporating the required changes.


Update omnibus pinning to pull in Solaris 11 pkg fix

@mwrock

I'll merge today. The chef pipeline is not well right now and I want to wait until its green before introducing this. Thanks!!


Unable to locate the @bytecodealliance/preview2-shim package

Hi,
I have both @bytecodealliance/preview2-shim and @bytecodealliance/jco installed with npm install.
{
	"dependencies": {
		"@bytecodealliance/jco": "^1.4.0",
		"@bytecodealliance/preview2-shim": "^0.16.4"
	}
}

When I run npx jco serve xxx.wasm, I got the following error:

(jco serve) Error: Unable to locate the @bytecodealliance/preview2-shim package, make sure it is installed.

It seems that the import.meta.url here: https://github.com/bytecodealliance/jco/blob/3946278b4471961f2d3a6b80576097996472bc07/src/cmd/run.js#L88
gives me the path to the<EMAIL_ADDRESS>Versions:

Node.js v22.5.1
npm / npx v10.8.2

Seeing similar behavior node 20, same packages, Windows (in-case it's OS-specific).

This could be due to the npm deduping logic moving the install URL to ../../../node_modules/@bytecodealliance/preview2-shim effectively.
We should update this codepath to do a node_modules backtracking search for the folder name in this way at this point in the code.
Alternatively a local install of Jco may fix this.
PRs very very welcome.


Refining progress bar

updating progress bar to be empty for pending projects
calculating actual percentage for progress bar based on used and allocated storage in raw bytes
closes #1094

coverage: 84.312% (+0.1%) from 84.211%
when pulling 796f9a5e1a8ef63ec4e28b4448503739c2f336ab on 1094-empty-progress-bar
into a85bddc813ad3f43941745c36958fd31cdd56d45 on main.


added llvm3.9 packages to installation in case of fedora 27

I had problems building peloton with fedora 27 due to fedora's default LLVM Version (could be related to issue #1106 ). Therefore I propose this changes to the package.sh install script to automatically install LLVM3.9 on fedora 27.
Additionally I would like you to ask, if it would be possible to add the following Line to the wiki for building peloton with Fedora (27):
cmake -DLLVM_DIR=/usr/lib64/cmake/llvm3.9/ -DCMAKE_BUILD_TYPE=Release ../
With this two changes building peloton works on my fedora 27 system out of the box.

The Fedora 27 Docker image in our Jenkins setup was already configured with LLVM 4.0 before they updated it to LLVM 5.0 so I suggest a slightly different patch.

@crd477 I tried to incorporate your suggestion, but unfortuntely there seems to be a problem with the cmake configuration provided with the llvm4.0 package in fedora 27 resulting in the following build error:
 #include "llvm/IR/IRBuilder.h"

Therefore, I changed the script to use LLVM 3.9 for all fedora versions >= 27. Furthermore I updated the fedora 27 docker file to the use the LLVM 3.9 version to build peloton.
Do you have any other idea to build peloton with llvm >= 4.0 ?

We have decided that we are not going to support Fedora at this time.


Added Bosch contributions to Iron roadmap.

Can you please put these items at the top of the Roadmap, in alphabetical order by company name? Otherwise, this looks good to me.

Sure. Done!


I broke the "Copy package URL" instrumentation

Very probably as part of #1519, although I'm sure I checked it!

I didn't break it, just renamed it!

Panic over.


Prevent override global URL when environment is not client

Will temporarily fix issue on #666
URL namespace is always available in server side (Nodejs) as well as client-side.
In client, it will resolve to window.URL
In case it's undefined. The fallback code can do its job.

@midori0507 @Musacoli Can you guys get this merged? Would be really helpful.

@muaz-khan, can this please be addressed?

@muaz-khan, can this please be addressed?

Please merge. I just ran into this issue as well.

Hey please fix this I just ran into this issue as well.

To get RecordRTC and StereoAudioRecorder working with NextJS, I had to apply these the changes in this PR using patch-package. Would be great to get these merged into master

@muaz-khan can you merge this?

Ran into this issue too with NExtJS. Is this package no longer maintained?


Stuck in the app when removing my account from event management

In this event I'm coordinator
I am in the test app : on the cartographic view, I edit the event options and I remove my account from the event coordinators
No message warns me that I'll be rejected. When I validate, I can't go back.
I have to quit the app and relaunch it

Already reported in https://github.com/kalisio/aktnmap/issues/280


Use -performSelector: instead of objc_msgSend()

Avoids warnings and errors related to not casting objc_msgSend() to a
function prototype matching the target selector on 64-bit platforms.
Since this code has to support different signatures (the action selector
may or may not accept an argument), -performSelector: is used.
For more excruciating detail, see:
https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.html#//apple_ref/doc/uid/TP40013501-CH3-SW26

Thanks for cleaning this up


Terminal : Shell Integration Failed to activate

Type: Bug

Install Pything 10.7
Install Current version of Studio Code
Open Terminal (CMD, PowerShell, Python)

VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:03:37.738Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i9-12950HX (24 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.69GB (21.20GB free)

Process Argv
--crash-reporter-id 20d1dce2-c7b0-4959-9c17-1d7345f9f102

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

python-environment-manager
don
1.0.4

vscode-docker
ms-
1.22.1

python
ms-
2022.14.0

vscode-pylance
ms-
2022.9.40

jupyter
ms-
2022.8.1002431955

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

cpptools
ms-
1.12.4

nsight-vscode-edition
nvi
2022.2.31663688

nvidia-smi-plus
RSI
1.0.0

vscode-genv
run
0.1.1

embedded-vscode-for-nvidia-omniverse
Ton
0.0.3

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903
i5d37513:30580093
pyindex848:30577860
40g7c324:30573242

Shell integration should only work on pwsh 6+ (not "Windows PowerShell", <= 5). Is this just the failed to activate warning showing up in those unsupported shell terminals? I know there's a bug where we show it sometimes when we didn't actually try, I don't think it's tracked anywhere yet though.

likely duplicate of #158218

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Qt UIC thing preventing build from source on Fedora

When I try to compile the latest VAPOR code on a Fedora machine, I run into the following error, seemingly rooted from QT UIC thing.
Note, I've tried both bundles of 3rd party dependencies:

2023-Sept-Ubuntu22.tar.xz
2023-Sept-suse.tar.xz

and they both fail with this Qt UIC thing.
Error message:
[ 57%] Automatic MOC and UIC for target vapor

AutoUic subprocess error
------------------------
The uic process failed to compile
  "SRC:/apps/vaporgui/QRange.ui"
into
  "SRC:/build/apps/vaporgui/vapor_autogen/include/ui_QRange.h"
included by
  "SRC:/apps/vaporgui/QRange.cpp"
Process failed with return value 127

Command
-------
/usr/local/VAPOR-Deps/current/bin/uic -o /home/li/VAPOR/build/apps/vaporgui/vapor_autogen/include/ui_QRange.h /home/li/VAPOR/apps/vaporgui/QRange.ui

Output
------
/usr/local/VAPOR-Deps/current/bin/uic: error while loading shared libraries: libicui18n.so.70: cannot open shared object file: No such file or directory

Update: update creating a symlink of libicui18n.so.70 the uic program starts to complain about other things. It feels that the bundled QT is very tied to the host operating system.

Sam will try a few things with QTdir CMake option and update

@sgpearse @shaomeng is this still relevant?

@NihanthCW Since we are not compiling any distributable binaries on Fedora, I do not think this is relevant.

Users like Leigh remain not be able to compile VAPOR.
Do we care about that group of users? No then this is not relevant. Yes then this is relevant.

Do we care about that group of users?

@shaomeng We totally care about high impact users like Leigh, but we just employed the AppImage installer so that we can avoid the impossible task of deploying on every Linux distribution.
Have you asked Leigh what his reasons are for using Fedora, and whether using a more mainstream distribution like Ubuntu is not an option?  It's not tenable to build our libraries for every Linux distribution.

Do we care about that group of users?

@shaomeng We totally care about high impact users like Leigh, but we just employed the AppImage installer so that we can avoid the impossible task of deploying on every Linux distribution.

Maybe it helps to differentiate users like Leigh and developers like Leigh. The AppImage doesn't help developers like Leigh at all. As a reminder, Leigh was very eager to experiment with different flow line settings programmaticly, but he wasn't able to because VAPOR doesn't build.

Not trying to be stubborn, but I need to know the answer to my previous question:

Have you asked Leigh what his reasons are for using Fedora, and whether using a more mainstream distribution like Ubuntu is not an option? It's not tenable to build our libraries for every Linux distribution.

Not trying to be stubborn, but I need to know the answer to my previous question:

Have you asked Leigh what his reasons are for using Fedora, and whether using a more mainstream distribution like Ubuntu is not an option? It's not tenable to build our libraries for every Linux distribution.

Maybe Leigh is a better person to answer this question?
Just to point out that Ubuntu is mostly 1-2 position higher than Fedora on this Linux popularity ranking: https://distrowatch.com/dwres.php?resource=popularity. The difference isn't significant enough to support that Ubuntu is more mainstream.

Hi guys, based on what I'm hearing, I think this is just a matter of prioritization. We undoubtedly care about all our users but we might be forced to prioritize tasks based on the number of users it's going to impact.
On a side note: I do want to understand Qt related issues, in the context of accruing technical debt (later in a meeting). Cause, if this is something that would have other consequences in the future (such as the issue showing up on other platforms). In this instance, it might be worthwhile to plan and fix it when we can rather than when we have to. For now, I'm ok leaving it open. Thanks for the discussion!


Problem with --profile-metadata

Hi to everyone! I'm trying to scrape user metadata, but If I code:
instagram-scraper 'username' -u 'my username' -p 'my password' --profile-metadata
it doesn't work. Am I the only one? Someone can help me? I used that command some months ago and it worked...thanks for attention!

Having the same problem!

I'm also having the same problem

same.. if this does not get fixed in the "meantime" i will most likely fix it within a few months.

Just checked the code constant.py
base_url and user_url looks fine :/


Use fixed alpine image; Add certificates to access https endpoints

Use alpine 3.7 instead of latest and fixes #3
Hope that helps.

@sunshinekitty any updates?

Sorry, I missed your issue and this PR.  I'll get a new tagged image up to dockerhub with these fixes.  I do plan to updating docs/errors to make mount paths better understood.

No problem!
Thanks for merging it, once the mage is built, i will use it as my main image.
You may also point the docs to that comments on the issue where i described a bit about the mount paths until the docs are not updated.
Great project!

@sfrique this is now pushed up at sunshinekitty/vaultingkube:v0.1.1

Thank you!
On Thu, May 10, 2018, 00:36 Alex<EMAIL_ADDRESS>wrote:

@sfrique https://github.com/sfrique this is now pushed up at
sunshinekitty/vaultingkube:v0.1.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sunshinekitty/vaultingkube/pull/4#issuecomment-387942281,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADih-b1t7H0VmHR_3rQbekI2fkHsZ-cBks5tw7XVgaJpZM4TrQh5
.


Server Crash, Description: Ticking Block Entity

Describe the Bug
Loading chuck with a deployer in it causes server to crash. I do not understand why. Seemingly similar to issue #513
Reproduction Steps

Load Chunck with deployer placed in it running on fabric server.

Expected Result
Not crashing server.
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/TdDARScW , https://pastebin.com/YsMLCyCU
Operating System
Server: Linux (amd64) version 5.15.0-46-generic
Mod Version
0.5.0c
Minecraft Version
1.18.2
Other Mods
List of mods from the crash report: https://pastebin.com/3mmWeUFp
Additional Context
Some other mods are being run client side, notably Sodium/Iris and Xaeros World Map, notably missing Indium from Sodium.

duplicate of #503


[backport] Deterministic test

This PR is backport of #82

This PR is miss.

@okuta
Don't we have to backport?
Stable branch should also be stabilized.

@niboshi
This PR includes new features. What do you think about this point?

@okuta
I think stabilizing tests is more important.
The new features were simply needed to fix a "bug".

OK, I reopen this PR

jenkins, test this please

Test is failing because of this:
./tests/cupy_tests/linalg_tests/test_decomposition.py:60:6: F821 undefined name 'condition'

Can you fix it?

Please merge #241 before this PR.

Fix conflict please

LGTM!


xdg-shell: destroy child popups on unmap

It doesn't make sense to keep popups opened when unmapped. We also need to do
so in wlr_xdg_popup_destroy so that popups are destroyed in the correct order.

Thanks!


Nav bar is not centered

The navigation bar seems to be left aligned.  It would be nice to have it centerd or to have a switch to do this in config.toml (especially when you have few nav bar entries). I already tried to fix this with custom.css but without success.
A hint which elements and properties are needed here in custom.css would be also helpful for me.
Thanks!

Adding
.navbar-item {
    flex: auto;
}

Should help

Thanx. Works fine for me

Thanx. Works fine for me

joewaj - can i ask what exactly you did to get the nav bar center aligned? I'm not exactly sure how and where to place the snippet provided by hanzei.

I created an extra file "custom.css" at the "assets" folder of the theme and copy/pasted the 3 lines into that file
You have to add this file name at config.toml (Entry: customCSS= ["custom.css"])

The entries from custom.css  will overwrite the the original css properties of the theme.
For fine tuning the theme I use the firefox built-in inspector to find out which items and properties to modify. You can add and modify properties on-the-fly with inspector. (For example try to add "flex: auto;"  at Demo page of "introduction" (https://themes.gohugo.io/theme/hugo-theme-introduction/) but it doesn't seem to work correctly at the moment.


Zoroark's illusion mis-reveals moves of team mates

As can be seen in this battle from the first turn onwards, Zoroark uses Nasty Plot while disguised as Celebi. When its illusion breaks (turn 3), the simulator believes that Celebi also carries the move Nasty Plot. This does not reflect its true moveset.

The amount of code required to determine which moves are real and which are fake is just way too complicated. Keep track of it in your own head, unless you want to write the code to track it yourself.

The point of Illusion is to lie to you about what Pokémon it is. As far as I'm concerned, if it displays incorrect information, that's just Illusion doing its job.


NIFI-7335: PutCosmosDocument to provide the cosmos sql api support for Azure Cosmos

PutCosmosDocument to provide the cosmos sql api support for Azure Cosmos  Azure Cosmos DB
Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Functionally it is equivalent to PutMongo Processor in nifi-mongodb-bundle, but this processor will use the cosmos native sql API.
Cosmos SDK, part of azure SDK(https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/cosmos), will be leveraged in this processor.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically master)?

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[X] Have you written or updated unit tests to verify your changes?
[X] Have you verified that the full build is successful on both JDK 8 and JDK 11?
[X] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[X] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

@pvillard31 and @turcsanyip : Would you be able to spend time and review my PR? Thank you for your time and review.

Functionally I tested this against a CosmosDB service and it works well. Tried a number of error cases as well.
A few code comments/naming to address but otherwise it looks good to me.

I have built and tested the functionality with a CosmosDB service and works fine. Added few minor comments inline. Looks good to me.

Just quickly looked and this appears to require/expect a JSON document. It seems like this would be dramatically more powerful if it took a RecordReader instead.  Any reason that path was not taken?

@joewitt My approach is to take the same approach as nifi Mongo processors. I mirrored the same implementation as PutMongo, which does not use RecordReader. I have record oriented processor (PUT/GET) in my local branch that maps out PutMongoRecord processor. I am planning to contribute the record-oriented processors later. I just decided to contribute one by one.
If you still think I miss-understand your suggestion, let me know which existing nifi processors you want me to take a look at and start work on your suggestion.

I have create a jira ticket for PutAzureCosmosRecord processor development. https://issues.apache.org/jira/browse/NIFI-7406.


Updated cybermedium.flf to include digits

Hi, I found out that the Block Output in nuke-build where missing the digits because the selected default font cybermedium did not include them. I updated the Font-File (great format "flf" btw...) to include the digits.
I hope making a pull request here is ok for you?

Updated Font cybermedium and added digits 0 to 9

Hi Henning, it took too long anyway. Shortly after your PR, I removed major parts of what is written via Figlet fonts. We currently only use it for the logo. I'm sorry I have to close this (also because we're moving to nuke-build/nuke again).
But thanks anyway for your contribution! 🤗


Refactoring after #1481 - removing not needed env variables

Description:
Cleanup and refactor work to prevent code duplication related to setting Kubernetes attributes by using k8sAttributesProcessor for cluster receiver introduced by PR
Once following two PRs will be merged we can merge this one:

Contrib repo PR
Chart repo PR

We need also decide what to do with resource/add_collector_k8s: link
as this is using env variables which we want to remove, but the functionality of adding additional parameters is covered by k8sattributes/metrics, so probably it is safe to remove resource/add_collector_k8s from configuration

For resource/add_collector_k8s:

Replace this with a k8sattributes processor.
Aim to use a single instance of the k8sattributes processor if possible. If required, add a second instance (e.g., k8sattributes/add_collector) for handling collector metrics specifically.
Functional Tests cover internal collector metrics and attributes (e.g., otelcol_exporter_send_failed_spans). Check to see if you can get the tests to pass with using only a single k8sattributes processor instance. Add a second processor instance (named something like k8sattributes/add_collector) because the tests failed and it is necessary.

sorry, please fix conflicts


Update Participant Date Format

Change date to new participant format.
Update spec to check for formatting.
Update Comment Serializer spec.
Update Time.now to Time.zone.now

[#91861818]

Looking good. :+1:


Property changed the ordering

I have a suggestion, is it better not to change the order of the properties...

I'll try to make a survey.

@Hmilyxj
I've released an updated library that maintains the property order.


Is it possible to create a colored point cloud from the resulting data?

Is it possible to create a colored point cloud from the obtained data?
If you can, could you please give us some tips on how to do this?

hi, yes, it is definitely possible. basically, you reconstruct 3d points from depth data provided by the depth sensor frames. the sdk here has all the api's you need for this process. you can refer to this issue post (https://github.com/microsoft/HoloLensForCV/issues/64) as starting point.

Hi,
this is possible and not so difficult. But you need to know how. There are several important things to consider. The short (long) throw depth don´t give you the real depth value. It gives you the distance from the clipping plane to the points.
This is described here:
https://github.com/Microsoft/HoloLensForCV/issues/63
Often mistakes are done when not using the right encoding for the depth data:
https://github.com/microsoft/HoloLensForCV/issues/56
Also very important as a starting point is the HoloLensForCV project:
https://github.com/Microsoft/HoloLensForCV/blob/87c5eeb436ae909894a8049cb2584e60dcad13b0/Shared/HoloLensForCV/SensorFrameRecorder.cpp#L243
Greetings


Can it repain the display with real-time data?

Can  it support displaying  real-time data on canvas with a  timer fetching data from sever.

yes, it can you have to update the data prop

Can you give a  example? please .

http://rrag.github.io/react-stockcharts/documentation.html#/updating_data
press
1 to start adding new data
Esc to stop
+ to increase the speed
- to reduce the speed

Thank you .


Updated learn.md, added Rusts Module System Explained

I am not sure if this is the correct section, but I haven't found anything to fit.

Thank you!


add transport and cleanup

add Transport to socks
add readable and writeable streams
cleanup Stream conformance (redundant classes removed)
made SecurityLayer generic so TLS isn't required at this layer

Codecov Report

Merging #118 into master will increase coverage by 5.77%.
The diff coverage is 67.01%.

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
+ Coverage   62.44%   68.22%   +5.77%
==========================================
  Files          27       37      +10
  Lines        1161     1501     +340
==========================================
+ Hits          725     1024     +299
- Misses        436      477      +41

Impacted Files
Coverage Δ

Sources/Sockets/Core/Conversions.swift
100% <ø> (ø)

Tests/SocketsTests/XCTestManifests.swift
0% <ø> (ø)

Tests/SocketsTests/ConversionTests.swift
100% <ø> (ø)

Sources/Sockets/Core/Types.swift
77.5% <0%> (ø)

...ransport/Streams/ProgramStream/SecurityLayer.swift
100% <100%> (ø)

Sources/Sockets/TCP/TCPEstablishedSocket.swift
100% <100%> (ø)

Tests/SocketsTests/PipeTests.swift
100% <100%> (ø)

Tests/SocketsTests/AddressResolutionTests.swift
100% <100%> (ø)

...ransport/Streams/ProgramStream/ProgramStream.swift
100% <100%> (ø)

Sources/Sockets/Core/FDSet.swift
61.98% <100%> (ø)

... and 48 more

Continue to review full report at Codecov.

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