arch/risc-v: Apply common mtime driver to mtime based chps

Summary
See #6020, apply it to k210/bl602/qemu_rv etc
Impact
risc-v based chips
Testing
rv-virt/k210/bl602

@pussuw could you try this patch with MPFS?

@pussuw could you try this patch with MPFS?

Yes, goes to tomorrow though

In general LGTM!

I still observe some warnings on a CI
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT
  Building NuttX...
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
  Normalize maix-bit/smp2
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT

I think that .config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT is known and should be addressed soon, but Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule seems to be a new one

I still observe some warnings on a CI
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT
  Building NuttX...
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule
  Normalize maix-bit/smp2
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT
.config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT

I think that .config:118:warning: symbol value '' invalid for ARCH_CPU_COUNT is known and should be addressed soon, but Makefile:123: target 'riscv_cpuindex.o' given more than once in the same rule seems to be a new one

Both issues are fixed by https://github.com/apache/incubator-nuttx/pull/5985


Fix package discovery and document

Discover output resource via entrypoints + doc
Add packaging guide

Fixes #25

It looks really good!


Nitro Share does not support ngrok v3

Description
A coworker attempted to nitro share, but had yet to install ngrok. He installed it via homebrew, which automatically gave him 3.x, and when he tried to share it would give this error:
unknown shorthand flag: 'o' in -ost-header=<site-name>

When looking in to this, I noted my ngrok version was 2.3.x and works flawlessly, so I dug in to the upgrade changes seen here:
https://ngrok.com/docs/guides/upgrade-v2-v3 and noted:
"The ngrok agent only accepts long name flags prefixed with -- and will error if a single hyphen is used. When updating your scripts, ensure things like --hostname and --host-header are using double hyphens."
I found the script in the repo /command/share/share.go line 170 uses the single hyphen.
Tested on my local with two hyphens, the command still works in ngrok v2, so I would recommend simply switching it out for 2 hyphens to be compatible with v2+v3
Steps to reproduce

Download Ngrok v3 via homebrew
Nitro Share

Additional info

Nitro version: 2.0.9
Docker version: 1.41

Just tagged 2.0.10 with this change!

Thank you!


Linux

Summary
Linux provides great support for IOT
API Changes
TBD
Intended Use Case
TBD

This is off the table for now.


VCINSTALLDIR not exported

I am currently trying to get windeployqt.exe from the Qt framework working properly so that it copies the Visual Studio vc_redist files.
The problem occurs on our CI setup, but not when executed locally.
After enabling verbose output there, I noticed the message Warning: Cannot find Visual Studio installation directory, VCINSTALLDIR is not set. , and after searching about it I think this is the reason why it is not working.
Looking at https://github.com/ilammy/msvc-dev-cmd/blob/master/index.js#L14 I see that VCINSTALLDIR is not included in InterestingVariables and thus not exported. Would it be ok to include VCINSTALLDIR there?
Let me know if I should just create a pull request for that.

Would it be ok to include VCINSTALLDIR there?

Yes, that would totally be okay! 👍
That list is manually composed from variables that might be useful to build systems. If you need that one, feel free to make a PR. I'll gladly merge it and publish an update.

Now that #23 has been merged, could you please check that it works for you? You can try the master branch like this:
- uses: ilammy/msvc-dev-cmd@master

If it works, I'll cut a release with that change in it so that a more stable v1 gets it too.

Ok, I'll try it and report back.

I get a error when running from master, see https://github.com/simulationcraft/simc-publish/runs/1536041372?check_suite_focus=true

Run ilammy/msvc-dev-cmd@master
internal/modules/cjs/loader.js:800
    throw err;
    ^

Error: Cannot find module '@actions/core'
Require stack:
- D:\a\_actions\ilammy\msvc-dev-cmd\master\index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
    at Function.Module._load (internal/modules/cjs/loader.js:690:27)
    at Module.require (internal/modules/cjs/loader.js:852:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (D:\a\_actions\ilammy\msvc-dev-cmd\master\index.js:1:14)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'D:\\a\\_actions\\ilammy\\msvc-dev-cmd\\master\\index.js' ]
}

Damn, I constantly forget about this. GitHub Actions tutorials strongly suggested against committing Node.js deps into development branches, but it's so annoying to not be able to test it that way.
@scamille, could you please try again? Now it should be workable, I hope 🤞

Alrighty. This has been properly published as<EMAIL_ADDRESS>and msvc-dev-cmd@v1.


AWS IAM Role default tags differ from desired manifest, result in sync loop in ArgoCD

What happened?

I am creating an AWS IAM Role with crossplane. Role gets created and tags get set. However, the role resource switches in 1 sec frequency between Syncedand OutOfSync in Argo because the default tags are not included in the desired manifest. Seems to be related to merge request: #1000 The expected behavior is that Argo CD does not try to sync the manifest to delete the default tags all the time.
Here is the diff in Argo. Left side is the Live Manifest, right side the Desired Manifest.

In AWS the default tags are set to the role:

When I delete the tags in the AWS console, the tags will be automatically set again by crossplane.
The role:
apiVersion: iam.aws.crossplane.io/v1beta1
kind: Role
metadata:
  name: {{ .Values.backupIamRole }}
spec:
  forProvider:
    assumeRolePolicyDocument: |
      {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "Service": [
                        "ec2.amazonaws.com"
                    ]
                },
                "Action": [
                    "sts:AssumeRole"
                ]
            }
        ]
      }
    tags:
      - key: InvoiceTo
        value: {{ .Values.sanitized_tags.InvoiceTo }}
      - key: Name
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: app:name
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: org:region
        value: {{ .Values.sanitized_tags.orgregion }}
      - key: org:unit
        value: {{ .Values.sanitized_tags.orgunit }}
      - key: url:deployment-repository
        value: {{ .Values.sanitized_tags.urldeploymentrepository }}
      - key: org:project
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: owner
        value: {{ .Values.sanitized_tags.owner }}
      - key: contact
        value: {{ .Values.sanitized_tags.contact }}
  providerConfigRef:
    name: aws-provider

The provider-aws logs:
2022-01-19T07:54:37.743Z	DEBUG	provider-aws	External resource differs from desired state	{"controller": "managed/role.iam.aws.crossplane.io", "request": "/k8s-timescaledb-test-backup-iam-role", "uid": "XXXXXXXXXXXXXXXXXXXXXXXXXXXX", "version": "32408244", "external-name": "k8s-timescaledb-test-backup-iam-role", "diff": "Found observed difference in IAM role\n  &types.Role{\n  \t... // 1 ignored and 7 identical fields\n  \tPermissionsBoundary: nil,\n  \tRoleLastUsed:        &{LastUsedDate: &s\"2022-01-19 07:12:15 +0000 UTC\", Region: &\"eu-central-1\"},\n  \tTags: []types.Tag{\n  \t\t... // 7 identical elements\n  \t\t{Key: &\"owner\", Value: &\"XXXXXXXXXXXXXXXXXXXXXXX\"},\n  \t\t{Key: &\"contact\", Value: &\"XXXXXXXXXXXXXXXXXXXXXXXXXXXX\"},\n+ \t\t{Key: &\"crossplane-providerconfig\", Value: &\"aws-provider\"},\n  \t\t{Key: &\"crossplane-kind\", Value: &\"role.iam.aws.crossplane.io\"},\n  \t\t{Key: &\"crossplane-name\", Value: &\"k8s-timescaledb-test-backup-iam-role\"},\n- \t\t{Key: &\"crossplane-providerconfig\", Value: &\"aws-provider\"},\n  \t},\n  \t... // 1 ignored field\n  }\n\ndesired assume role policy: INLINEJSONBLOB"}

The problem does not exist for the IAM policy which I also create with Crossplane. Probably because no default tags are set there.
How can we reproduce it?

Create a role with the template above, see how the default tags are added by crossplane and watch how Argo tries to sync the tags away because they are not defined in the desired manifest.
What environment did it happen in?
Crossplane version: crossplane/crossplane:v1.6.1
provider-aws: crossplane/provider-aws-controller:v0.23.0

I added the default tags to the crossplane resource as a work around, which solves the ArgoCD sync issues.
apiVersion: iam.aws.crossplane.io/v1beta1
kind: Role
metadata:
  name: {{ .Values.backupIamRole }}
spec:
  forProvider:
    assumeRolePolicyDocument: |
      {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "Service": [
                        "ec2.amazonaws.com"
                    ]
                },
                "Action": [
                    "sts:AssumeRole"
                ]
            }
        ]
      }
    tags:
      - key: InvoiceTo
        value: {{ .Values.sanitized_tags.InvoiceTo }}
      - key: Name
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: app:name
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: org:region
        value: {{ .Values.sanitized_tags.orgregion }}
      - key: org:unit
        value: {{ .Values.sanitized_tags.orgunit }}
      - key: url:deployment-repository
        value: {{ .Values.sanitized_tags.urldeploymentrepository }}
      - key: org:project
        value: {{ .Values.clusterName }}-{{ .Values.nameOverride }}
      - key: owner
        value: {{ .Values.sanitized_tags.owner }}
      - key: contact
        value: {{ .Values.sanitized_tags.contact }}
      - key: crossplane-kind
        value: role.iam.aws.crossplane.io
      - key: crossplane-name
        value: {{ .Values.crossplaneName }}
      - key: crossplane-providerconfig
        value: aws-provider
  providerConfigRef:
    name: aws-provider

I am not sure if the combination of the crossplane default tags and the sync from ArgoCD is a bug or a feature. If you think everything works as defined, feel free to close it. Otherwise I am open for discussion and other solutions.

Hi @ayeks, by default provider-aws adds two additional tags to a managed resource: crossplane-kind and crossplane-name. This is intended behaviour. Unfortunately, ArgoCD would detect a diff because the array spec.forProvider.tags now contains additional elements.
If you don't want ArgoCD to detect a diff you would need to add those tags by hand or use Crossplane's composition feature instead of creating managed resources directly.

Hey @MisterMX, than I expect this to be intended behavior and will close this issue. Thank you for your detailed response! I will checkout the composition feature.

Sorry to jump in - I don't think this is Argo CD causing, but rather Provider reconciliation is too sensitive to the tag data change.
The log provided in the issue description actually reads as this:
"diff": "Found observed difference in IAM role
  &types.Role{
  	... // 1 ignored and 7 identical fields
  	PermissionsBoundary: nil,
  	RoleLastUsed:        &{LastUsedDate: &s\"2022-01-19 07:12:15 +0000 UTC\", Region: &\"eu-central-1\"},
  	Tags: []types.Tag{
  		... // 7 identical elements
  		{Key: &\"owner\", Value: &\"XXXXXXXXXXXXXXXXXXXXXXX\"},
  		{Key: &\"contact\", Value: &\"XXXXXXXXXXXXXXXXXXXXXXXXXXXX\"},
+ 		{Key: &\"crossplane-providerconfig\", Value: &\"aws-provider\"},
  		{Key: &\"crossplane-kind\", Value: &\"role.iam.aws.crossplane.io\"},
  		{Key: &\"crossplane-name\", Value: &\"k8s-timescaledb-test-backup-iam-role\"},
- 		{Key: &\"crossplane-providerconfig\", Value: &\"aws-provider\"},
  	},
  	... // 1 ignored field
  }

desired assume role policy: INLINEJSONBLOB"

I'm seeing the same behaviour, where the order of tags being different causes Provider to consider this is not in sync, and tries to send an update.
This doesn't cause any , but the resource keeps getting new generation in Kubernetes, and is a noise in the logs. It would be great if Provider can gracefully handle the order differences.


Replaces standalone queries and extend mode with use as a @playwright…

To bring support for @playwright/test it makes sense to not use the old extend or standalone method but instead adopt fixtures. I've tried to do this here.
This does not dig into the guts of playwright to extend prototypes and such, which I personally think is a good thing. But that means that a lot of the tests are no longer relevant.

I 100% agree with you here:

This does not dig into the guts of playwright to extend prototypes and such, which I personally think is a good thing.

And, I think we should recommend @playwright/test fixtures as the ideal way to use this library, but not the only way.
So, my main concern with this PR as it stands is that this couples this library specifically with @playwright/test, and I would like to maintain compatibility with standalone playwright. Unfortunately, due to the way that Playwright distributes the different packages, that looks like it might be more difficult than I was initially hoping.
I was thinking we could just add a package entrypoint for playwright-testing-library/fixture, but the tricky part is that the types are imported directly from @playwright/test or playwright. If Playwright distributed them in a common package that the top-level packages depended on... we could probably get away with specifying playwright and @playwright/test as optional peerDependencies, and just importing the types from the common dependency. However, Playwright generates the different packages dynamically at build time, so unfortunately we may need to do the same thing in order to support both packages.
I'm gonna keep doing some research and thinking on this and I'll let you know what I come up with. If you have any ideas there, please feel free to give something a go.

I'm planning to integrate these changes into a new release that likely will publish two separate versions of this library: playwright-testing-library and @playwright-testing-library/test. If I'm not able to get that sorted this Friday, I'm going to at least try to get these changes published in a prerelease so people can start using this library with @playwright/tet.

This was added in #329


TiltRotor VTOL goes to 0 thrust during transition under v1.10.1

Describe the bug
We are developing a VTOL from 2 years ago, it runs very well under 1.7.3.
Video is here: https://www.youtube.com/watch?v=am2847IQGLU
Recently we are updating the firmware follow upstream PX4.
But it will has 0 thrust during translation under 1.10.1.
Expected behavior
Smooth transition.
Log Files and Screenshots

https://logs.px4.io/plot_app?log=79824200-9462-4298-80c4-d8fde13c9e01
Drone (please complete the following information):
TiltRotor VTOL 1145mm wingspan
I'm not sure this is a bug or we missing some parameter, we already tried several days, but didn't fix it. So we need some help on this, thanks!

@bys1123 if possible please test the current v1.11.0-beta1. It's still possible to get this fixed in time for the v1.11.0 stable release (if it's still broken in current master).

@dagar Thanks! I'll test the current master in three days.

@bys1123 The altitude drop is a known issue. It only happens when you are flying in stabilized mode and are ascending fast. When you then switch into transition, the altitude controller that is running in then tries to immediately and aggressively hold the altitude and cuts throttle strongly. It's much smoother when you already before the transition were flying in altitude or position control mode.
In your case the drop in altitude was pretty big because your vehicle has a very high hover throttle that it needs to even fly level (around 68% looking at the log). That means that the vehicle has a small control thrust margin, and it only very slowly can accelerate upwards again after it has begun to sink (it keeps descending for a couple of seconds even with max hover throttle):

Given that you can't change the hardware (what would be the best thing!) and improve the hove thrust margin (a healthy system has a hover throttle in the range of 40-60%), I would advise you to set:
MPC_THR_HOVER to 65
MPC_THR_MIN to 40

Thanks! We tested with this parameter, works better now! @sfuhrer
https://logs.px4.io/plot_app?log=a3e8367a-cd6b-4f7f-b5a1-b5c4cec74bb9

wow

New test in Mission mode: the throttle seems correct.

file:///C:/Users/Administrator/Desktop/%E5%8F%82%E6%95%B0%E5%9B%BE/bokeh_plot.png
New test in Mission mode: the throttle seems correct.

New test in mission mode: the throttle goes well.


Describe relationship between sources and binaries

Any of the checked boxes below indicate that I took action:

[x] Reviewed the Contribution Guidelines.
[x] Signed the Gradle CLA.
[ ] Ensured that basic checks pass: ./gradlew quickCheck

For all non-trivial changes that modify the behavior or public API:

[x] Before submitting a pull request, I started a discussion on the Gradle forums
[ ] I considered writing a design document. A design document can be
brief but explains the use case or problem you are trying to solve,
touches on the planned implementation approach as well as the test cases
that verify the behavior. Optimally, design documents should be submitted
as a separate pull request. Samples
can be found in the Gradle GitHub repository. Please let us know if you need help with
creating the design document. We are happy to help!
[ ] The pull request contains an appropriate level of unit and integration
test coverage to verify the behavior. Before submitting the pull request
I ran a build on your local machine via the command
./gradlew quickCheck <impacted-subproject>:check.
[ ] The pull request updates the Gradle documentation like user guide,
DSL reference and Javadocs where applicable.

Thanks for the addition. I merged the PR and it will be part of the documentation with the next release (3.2).

Thanks!


Bump ouath version

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/8872044512

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/8872044512
Status: success


Buffer GC issue with Nodejs 4.2

Description
A simple subscriber (example code see below) fails after some successful receives with the following error:
node: ../src/node_buffer.cc:151: void node::Buffer::CallbackInfo::WeakCallback(v8::Isolate*, v8::Local<v8::Object>): Assertion `(object)->IsUint8Array()' failed.

This behavior is new in nodejs Version 4.2 while in Version 4.1.2 the same code worked perfectly.
Reproduction
Environment:
$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
$ node -v
v4.2.0
$ dpkg -l | grep libzmq
ii  libzmq3:amd64       4.0.5-1chl1~trusty1    amd64   lightweight messaging kernel (shared library)
ii  libzmq3-dev:amd64   4.0.5-1chl1~trusty1    amd64   lightweight messaging kernel (development files)

Example Code:
#!/usr/bin/env node

"use strict";
const
  zmq = require('zmq'),
  subscriber = zmq.socket('sub'),
  publisher = zmq.socket('pub');

// Publisher
setInterval(function() {
  publisher.send(JSON.stringify({msg:"Hello World."}));
}, 50);

publisher.bind('tcp://*:8000');

// Subscriber
subscriber.subscribe('');

subscriber.on('message', function(data) {
  console.log(data.toString())
});

subscriber.connect('tcp://localhost:8000');

https://github.com/nodejs/node/pull/3329


It looks like this is your firt time opening an issue in This project

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Danna
What part(s) of the article would you like to see updated?
Danna
Additional information
Danna

Hola

Danna

Hola me llamó Danna tengo 10 años

Skdjjdjdjdjjdjdjd

Iwhsbdbdkxjhxjbxbxbxbdjdjjdjdjfjkfkfk(kdkfkfkkfkffj

Done

Bella se  a la verga


UI integration PR - do not merge

Integrate all fixes for UI.

Rebased.

This review is no longer relevant, as part of the changes were merged separately.


Update copy on "Login to OpenShift" page

Source is in https://github.com/openshiftio/launchpad-frontend/blob/master/src/app/wizard/wizard.component.html#L39


Basic introduction of various functions of Pandas library

Python package providing fast, flexible, and expressive data structures designed to make working with “relational” or “labeled” data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real-world data analysis in Python.

Please add this issue to repo, add label hacktoberfest and assign it to me...

Please assign this to me


Add "pad_z" when constructing microscope metadata

Fixes #207

Codecov Report

Merging #208 (52754c5) into main (d032484) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #208   +/-   ##
=======================================
  Coverage   11.11%   11.11%
=======================================
  Files          45       45
  Lines        6036     6036
=======================================
  Hits          671      671
  Misses       5365     5365

Impacted Files
Coverage Δ

recOrder/plugin/workers/calibration_workers.py
0.00% <ø> (ø)

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

Thanks for spotting this bug, Ziwen.
I accidentally introduced this in #163 when I removed pad_z, bg_correction_option from the Microscope params since these settings aren't parameters of the microscope, they're parameters for reconstruction.
I also removed swing from Microscope params, but left it among the high-level calibration metadata fields---it was being written twice.
So I would vote that the fix for #207 should be to remove pad_z from the expected parameters instead of returning it to the written parameters. pad_z should (and is AFAIK) be written and read from the config files, not the calibration metadata files.
Thanks!

the fix for https://github.com/mehta-lab/recOrder/issues/207 should be to remove pad_z from the expected parameters

Done!


How can developers in China improve Speed?

Bug report
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[ ] ran brew update and can still reproduce the problem?
[ ] ran brew doctor, fixed all issues and can still reproduce the problem?
[ ] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Install and use homebrew.
What happened (include command output)
When installing homebrew, the speed is very slow and often disconnect with server. Even if I install it, the speed of installing package is very slow as well.

Command output

What you expected to happen
Improve the speed or give me some help.
Step-by-step reproduction instructions (by running brew commands)

Output of brew config and brew doctor commands

Sorry, this is something you'll need to figure out yourself, there's nothing Homebrew can do about it.


Make GlobalDescriptorTable const generic

To avoid breaking compatibility, renamed to BasicGlobalDescriptorTable, and made GlobalDescriptorTable be an alias with 8 entreis.
Went with the rename + alias approach due to this issue.

Thanks for submitting and sorry for the long delay!
This looks good overall, but I'm not sure if I like the rename+alias approach. Another solution could be to use a default sie and implement the new and from_raw_slices only for GlobalDescriptorTable<8>. Then we could add separate methods for constructing tables with other sizes. This way, we should still be backwards compatible.
Alternatively, we could also accept the small breaking change and target the upcoming v0.15 release, which we wanted to publish for some quite some time.
@josephlr @Freax13 What do you think?

This looks good overall, but I'm not sure if I like the rename+alias approach. Another solution could be to use a default sie and implement the new and from_raw_slices only for GlobalDescriptorTable<8>. Then we could add separate methods for constructing tables with other sizes. This way, we should still be backwards compatible.

If this works, I'd prefer this.

It turns out that we already merged a PR to make the GDT const generic in #360. This feature will be available once #446 is merged.
@MechSlayer Thanks for your contribution anyway and sorry for the chaos!


Update Repos.csv

Please create a merge request with your information in Repos.csv.

I updated the repo once again. It should be good to go now.

I saw that it was successfully merged, thanks.


RPC server that batches requests

Click to expand!
Issue Type
Feature Request
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
2.8.0
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Currently the only implemented `GrpcServer`, that implements `Server` does not handle server side batching. Perhaps we would want an additional implementation that supports server side batching?

This could be done similar to how SEED-RL wrote their batching layer (https://github.com/google-research/seed_rl/tree/master/grpc).

`Server`: https://github.com/tensorflow/tensorflow/blob/071ef3748e5fdb67a0438f357f37b962edae83e2/tensorflow/python/distribute/experimental/rpc/rpc_ops.py#L51

`GrpcServer`: https://github.com/tensorflow/tensorflow/blob/071ef3748e5fdb67a0438f357f37b962edae83e2/tensorflow/python/distribute/experimental/rpc/rpc_ops.py#L260

Standalone code to reproduce the issue
N/A

Relevant log output
No response

Hi @cemlyn007 ,
Thanks for reporting this. Currently this module is under experimental stage.Could you please confirm whether this API can't handle server side batching. Have you tested this ? I know this is under experimental stage and still many features might not be available right now.
If you want to contribute you may please raise a Pull request for same and Team may happily review it. Thanks!

I can confirm that in this code the server does not support server-side batching. I'll have a think about what to do because we are using an older version of TensorFlow (2.8) so we might just decide to implement this as a custom operation.


Showing progress for remote workflows

Would it be possible to get the progress via a websocket connection to a remote machine running comfy?

no worries totally understand


docs: Added console authentication docs

This PR adds documentation for our authentication process.  It's separated into two section, one section about sign-up/sign-in replaces the old documentation which lacked most information. The other is the completely new part about two-factor authentication.

Sorry for the spam with the commits. Just learned that to apply suggestions all together I needed to go to the files section...


Missing Slovak Language

Slovak is missing from the list of the languages. Even though HumanizeDuration.js supports it.

@AymanNatsheh i added the missing languages, is in version 2.1.0


Nested DrawerNavigator has top gap for header when open

If a DrawerNavigator is nested inside a StackNavigator (particularly a modal one), then opening the drawer shifts everything (the drawer and the active screen behind it) down by the standard height of a StackNavigator header:

DrawerNavigator is implemented as two nested TabRouters. The outer one should have header: null in its navigationOptions so that it doesn't add a gap for its nonexistent header when nested inside a StackNavigator.
Bugfix PR coming right up…

I am not sure if this is your exact case but I came across the same things. Adding navigationOptions: { header: null }  after DrawerNavigator removed that space at the top when the Drawer is open.
Main : {
	screen: DrawerNavigator({
		Main		: { screen: Main },
		Profile		: { screen: Profile },
		Vehicle		: { screen: Vehicle },
		Schedule	: { screen: Schedule },
	}),
	navigationOptions: { header: null }
}

Hope this helps some.

@SCasarotto It's been some time since I worked on this in April, but we did try header: null back then, and it did not work properly with DrawerNavigator nested inside another navigator. Perhaps it has been been fixed, but I would ask maintainers to keep this issue open to confirm the nested use case (as described above, a DrawerNavigator nested inside a StackNavigator).

Did you ever fix that? Happening to me as well..

@hugows probably it will be fixed in beta.16, but until that lands I am not sure.

This is happening to me too. The only way I've found to work around it is to create a custom view above my DrawerItemswith a height that approximately overlaps this blank space.
The problem it caused me was that I couldn't press on my first DrawerItem label. The blank space, although not visible, was discretely covering the label, preventing me from navigating to that screen.

you should put stacks inside of the drawer, or on your drawernavigator do:
const HomeNavigation = DrawerNavigator({
  Tasks: {
    path: 'tasks',
    screen: TasksScreen,
  },
});

HomeNavigation.navigationOptions = {
  header: null,
};

@brentvatne There are legitimate use cases for putting a DrawerNavigator inside a StackNavigator. One very common example is to use a StackNavigator to transition from a login screen to a logged-in state, where the logged-in state includes a hamburger menu to open a drawer that is only available while logged-in.
If this was your sole argument for closing the issue, then please undo that decision and reopen.

ok, please reopen an issue and follow the issue template this time :)


Remove unneeded evaluation kzg

Remove unneeded evaluation kzg

Codecov Report

Merging #536 (3c4a770) into main (7e21695) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #536      +/-   ##
==========================================
- Coverage   94.52%   94.52%   -0.01%
==========================================
  Files          62       62
  Lines        8964     8963       -1
==========================================
- Hits         8473     8472       -1
  Misses        491      491

Files Changed
Coverage Δ

crypto/src/commitments/kzg.rs
99.34% <100.00%> (-0.01%)
:arrow_down:

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


improvements in ObservableItemCollection

-add new constructor
-improve ItemPropertyChanged to allow knowing which property changed
-remove handler on clearItems

Why make hamburger disposable?

You're right, it doesn't have to be. I've changed that.

I think we should add ChangedItemIndex.

Do you like ItemChanged or ChangedItem?

I like ChangedItem.

ChangedItem sounds better!

Can we add ChangedItemIndex ?

I've already done that.
Enviado a partir do Outlookhttp://taps.io/outlookmobile para Android
On Tue, Nov 24, 2015 at 11:46 AM -0800, "Jerry Nixon" <notifications<EMAIL_ADDRESS>wrote:
Can we add ChangedItemIndex ?

Reply to this email directly or view it on GitHubhttps://github.com/Windows-XAML/Template10/pull/356#issuecomment-159385055.


Fix benchmark_task_durations fixture when running without --benchmark option

Closes #322

Thanks! I was just about to raise the same issue :)
It looks like the memory benchmarking fixture has the same problem. Mind doing that here while you're at it?


WIP: Export body files / body / all

Since bodyFiles get loaded into body on import, body is returned filled on export along with bodyFile. When both fields provided a warning is printed and hoverfly will use only body.
One way to get around this behavior is to add some flag to /api/v2/simulation that defines how to export the simulation. I've added bodyMode that can configure this based on the value:

body-only: export only body, emptying all bodyFile fields (which is default)
prefer-bodyfile: export both fields, but set body to an empty string when bodyFile is not empty (maybe this should be the defaut?)
all: export both body and bodyFile as is (current behavior)

It's just a quick working example to show a concept. It builds but tests don't pass for now. Refactoring required. Don't merge :warning:

@tommysitu how do you think? would this approach that solve the exporting issue?

Hey @ns3777k thank you for suggesting a solution. How about doing something simple first:
if the response has both body and bodyFile, exporting should create or update the body file with the content from body, and then clearing the body field. This is useful if the user has run some capture, and doing an export can keep body files up-to-date
This can be expanded to support another feature is to allow users doing capture, and exporting a simulation with body stores in separate files.
So importing/ exporting simulation with body files workflow will be complete.

@tommysitu Sounds cool. As far as I understand, hoverctl export should create / update bodyFiles locally, right? What if bodyFile is an absolute path, where this file should be saved?

yeah, that's what hoverctl does, it calls the get simulation API, and save it to a file.

Yes, but if we run hoverctl export against a remote instance and get back an absolute path in bodyFile, we should not save it locally in the given absolute path for obvious security reasons, so the question is how to handle absolute paths when exporting?)

Agreed. I feel a bit wary about allow hoverctl to write to any absolute path autonomously on export.  We should enforce bodyFile path to be relative only. What do you think?

Actually that makes sense since we allow to set the path against the relative bodyFiles get resolved.

I've force pushed the branch. some tests still fail, I'll make em work later. Could you take a look please?

sure @ns3777k, will get back to you soon.

I've fixed the current tests and the code your comments were referenced to. (I didn't write new tests and docs. I'll make a separate PR)


Use Dynamic Content in Statically Hosted Websites

Hey there,
I was playing around with Tokamak and as I was doing so, I wondered if there is a possibility yet to use TokamakStaticHTML (for instance via the TokamakPublish library) for a fast first render of the website, but then use some dynamic content like e.g. buttons that can react to user interactions and can execute code via WebAssembly to modify the page.
If so, could someone point me to a example on how to accomplish that? :)

Hi!
This is a great idea, but unfortunately I'm not aware of existing implementations.
What you've described looks quite close to what I had in mind when creating https://github.com/TokamakUI/Tokamak/issues/257. Let me know if you think as well, then maybe we should close one of the issues as a duplicate.

Hi Max, thanks for the quick reply!
The issue you mentioned sounds exactly like what I wanted to do, sorry for the duplicate. I'll close the issue as duplicate.


assert mechanism?

Throughout the project I cannot find a way of asserting something.
What is the recommended way of doing this?

We don't use assertions in the code; we have a separate suite of specs that we use to verify the code's correctness; see the spec directory.

What I understand is that specs are test suites, but assertions might be better for debugging. I came into some situations like this:
function test(a,b) where either a or b must be null, and it might be able to test all the situations in the test suites.
On the other hand, with an assertion in the function body, it will be auto breakpoint when something is wrong, which will allow us to find the caller.

it might not be able to test all the situations in the test suites.

Why would you not be able to?

with an assertion in the function body, it will be auto breakpoint when something is wrong, which will allow us to find the caller

In very rare cases where a bug has been reported and we cannot reproduce it, we might introduce an extra throw statement in the way that you're talking about. Most of the time though, we don't do that.

I think there are just too many combinations of user input, even if a specific keystroke sequence trigger the bug, say a and b are both null, the problem might appear in other places, then we need some time to pin point this function.
But it's ok if we don't do so in this project.


Documentation for callbacks

Added documentation for callbacks

And in order to get these on sphinx, I will need to set up a proper pipeline and config to read the event-docs ^_^

As mentioned on discord DM with you,
we call these events instead of callbacks, and they are used subscribe to things like callbacks behind the scenes.
In the API itself, they look like this now:
    @event("OnActorStreamIn")
    def on_stream_in(cls, actorid: int, forplayerid: int):
        """This callback is called when an actor is streamed in\
        by a player's client.
        :param int actorid: The ID of the actor.
        :param int forplayerid: The ID of the player\
        that streamed the actor in.
        :returns: No return value.
        .. note:: This callbackcan also be called by NPC.
        """
        return (cls(actorid), Player(forplayerid))

...Bbut they are part of our OO Pysamp 2.1 API. The way you use them is not how they look in the API, but rather what the decorator does (and returns) to the methods we decorate. Imagine we use that event as an example:
@Actor.on_stream_in
def my_event_handling_function(actor: Actor, player: Player):
    # see the expected types, these are the same as the ones we return from that event above
    pass

That means the documentation needs to reflect what the event "decorates" and returns, instead of what they are expecting behind the scenes. The user should not have to handle playerid's or actorid's, but rather the objects themselves.

new: https://github.com/pysamp/PySAMP/pull/140


Sometimes the repo tries to clear negative bytes from the cache

INFO[2018-06-22 02:42:37.496 Z] Attempting to clear -1046852647 bytes from media cache

I haven't seen this in forever


Val cannot be reassigned in kotlin

override fun attachBaseContext(newBase: Context?) {
newBase = LocaleChanger.configureBaseContext(newBase)
super.attachBaseContext(newBase)
}
}
newBase  : Val cannot be reassigned in kotlin

resolved, may be closed ;)


Update google-cloud-storage to 1.113.11

Updates com.google.cloud:google-cloud-storage from 1.109.1 to 1.113.11.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-storage" } ]

labels: library-update, semver-minor

Superseded by #195.


Feature request: Add "warm_start_from" to tf.keras.estimator.model_to_estimator

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.8
Python version: 2.7
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

Describe the problem
I can create an estimator either direct or from a keras model using the initialisers:
tf.estimator.estimator(
    model_fn,
    model_dir=None,
    config=None,
    params=None,
    warm_start_from=None
)

tf.keras.estimator.model_to_estimator(
    keras_model=None,
    keras_model_path=None,
    custom_objects=None,
    model_dir=None,
    config=None
)

However with the keras approach there is no option to warm start the model from a previously saved checkpoint. I am requesting a feature that makes it possible to do this with a call such as:
tf.keras.estimator.model_to_estimator(
    keras_model=None,
    keras_model_path=None,
    custom_objects=None,
    model_dir=None,
    config=None,
    warm_start_from=None
)

Without this I cannot see how to start an estimator in a pre-trained state.
I have also tried to do this by just calling an untrained estimator to do .predict which causes it to attempt to load from a checkpoint. When I provide the checkpoint from previous estimator training I get an error as not all data seems to be available. This is described in more detail at stackoverflow here https://stackoverflow.com/questions/50855256/keras-estimator-model-to-estimator-cannot-warm-start-or-load-previous-checkpoi

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

A duplicate of https://github.com/tensorflow/tensorflow/issues/19295?
Another related problem is at https://github.com/tensorflow/tensorflow/issues/18696

/cc @ispirmustafa for https://github.com/tensorflow/tensorflow/issues/14713#issuecomment-396422797

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It is a duplicate.

Closing this since its a duplicate.


UPDATED: README.MD

I've updated the README to clarify the purpose of this bundle and added the Bundle setting part which is required before one can run database migrations.

Build failure is same as https://github.com/DealerDirect/short-uuid-bundle/pull/14#issuecomment-293998065 which is likely related to https://github.com/travis-ci/travis-ci/issues/6339


STP SmartThreadPool Thread# ThreadCounter > MaxThreads Settings

Our MaxThreads settings is set to 20. However I see that the Thread Name [STP SmartThreadPool Thread#] increase over time and is currently at  STP SmartThreadPool Thread #62  We've noticed this only in our test environments.
Can you please explain under what circumstances can the ThreadCounter number be greater than the MaxThreads settings?

Hi,
You are referrung to the name of the thread.
Each thread is created with a name suffixed with an incrementing counter.
Threads are created and terminated as time passes and the names are not reused, so you might have a thread named Thread #1001.
However, as long as the number of activate threads in an STP instance is not greater than the MaxThreads in the settings, you are ok.
Regards,
Ami

Thank you for clarifying.


docs: fix typo in 'Flutter Version' section

Status
READY
Description
Use a different Flutter Versions --> Use a different Flutter Version

Thanks!


Update strings.xml

correct manuekker to manueller

Checklist

[ ] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[ ] If this PR comes from a fork, please Allow edits from maintainers
[ ] Set a speaking title. Format: {task_name} (closes #{issue_number}). For example: Use logger (closes #41)
[ ] Link your Pull Request to an issue (if applicable)
[ ] Create Work In Progress [WIP] pull requests only if you need clarification or an explicit review before you can continue your work item.
[ ] Make sure that your PR is not introducing unncessary reformatting (e.g., introduced by on-save hooks in your IDE)
[ ] Check our Contribution Guidelines

Description

correct manuekker to manueller

I already opened a PR, also for this typo; see https://github.com/corona-warn-app/cwa-app-android/pull/42

Dear @RickorDD ,
thank your very much for your contribution! The project team is working tirelessly on getting the app ready in time and working on many backlog items in parallel. This also means that some implementations cannot be done, yet, as we are, for example, waiting for final texts and translations from dedicated streams as these are not provided by the development team.
Therefore, we unfortunately have to reject your PR for now.
To avoid this situation in the future, please open an issue for your fixes first, and wait until the team assigns you to the issue. We will further create issues with the community label, which you can claim by commenting on them and don't have to wait for the assignment.
Thank you for your understanding!


⚠ Activitar Management Platform has degraded performance

In 864f2cb, Activitar Management Platform (https://new.activitar.com) experienced degraded performance:

HTTP code: 200
Response time: 2313 ms

Resolved: Activitar Management Platform performance has improved in 2524714.


[HELP] Cannot read property 'backgroundLocationServices' of undefined

Hello,
I have try to add and run this plugin but I have an error that said "Cannot read property 'backgroundLocationServices' of undefined".
My steps is:

cordova plugin add https://github.com/pmwisdom/cordova-background-geolocation-services.git --save
Copy all script in 'How to use' in my index.html
Run it with cordova run browser

Anyone can help?
thanks

You cannot run cordova plugins in the browser, they need access to native libraries. aka you need to run cordova run ios / android.


Mods to add handlers for (Suggest mod support here)

The following mods could still use NEI handlers.

Better Beginnings

Advanced Crafting Table
Kiln
Brick Oven
Smelter
Campfire?

Big Reactors

Reactor fuel/waste

GrowthCraft Cellar

Fruit Press
Ferment Barrel
Brew Kettle

Aether II

Altar of Light
Incubator

Custom NPCs

Carpentry Bench

Necromancy

Sewing Machine

Clockwork Phase

Clockwork Assembly Table

ProjectE

Energy Collector

Soul Shards: The Old Ways

Soul Forge

More mod support can be suggested in the comments.

For the Harvestcraft thing: Pam forgot to put the actual java classes in, thats why they are not loading.
Code: https://www.dropbox.com/s/fkhco85tut8eaih/harvestcraft-nei.zip?dl=0

Thanks +1

For Thaumcraft there is already a separate plugin :)  :http://www.curse.com/mc-mods/minecraft/225095-thaumcraft-nei-plugin

Added in the suggestions from the above two issues. Sorry about the 'no progress at all' thing lately, my time has been quite limited.

Cannot wait to see some progress on the plans that you have in mind! :)

What's your take on an IC2 handler? There are alot of new machines in IC2X that don't have handlers, such as the fermenter, the new canning machine (where coolant is made), and others. I know traditionally NEI support has been a pain for IC2, but I do know they rewrote their crafting handler recently, and at least GregoriousT (of gregtech) thinks it's much better.

Tinkers steel works :)

Also Pixelmon?
I mean Anvil recipes.

@Timeslice42: IC2 has its own internal NEI handlers. The mod's developers are responsible for adding their own NEI handlers for their new machines. I don't want both NEI Integration and IC2 itself adding handlers for it; that would be a mess.
@Dominance: I might reconsider that one. I initially hesitated because I thought the author of the mod was going to add NEI support by themselves already.
@Xen1290: To be honest, I'm not keen on adding such a big mod to my dev environment for such a minor feature, sorry :(

@Tonius no problem! I hope pixelmon team add the NEI Handler themselves in the future :+1:

Thanks for the reconsideration Tonius. I really think that is a major feature missing from the mod. I am dreading the how to make steel or MT custom items issues poping on my tracker.

How about a handler for binnie's mods, specifically extra trees?

Do you support BuildCraft assembly table somehow? I read some info about NEI Integrations supports BC, but I do not see it in the source and it does not work in my custom modpack.

@hron84 Get Buildcraft Compat in buildcraft website.

@Xen1290 I have Buildcraft Compat 7.1.3, and assembly table recipes don't show up. There should definitely be assembly table integration.

@bigyihsuan In the BC config make sure you have the "hideFacadeRecipes" set to false.

@Timeslice42 That would show ALL of the facade recipes. What I'm talking about is the chip recipes, gate recipes, color wire recipes, etc.

It works for me. Check if you use the latest BC Additions because it needs to match with BC API.


Lock file being created even when model had already been downloaded

To reproduce in Linux:

Run this code as root user

>>> import tensorflow_hub as hub
>>> embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder-multilingual/3")

Switch to a non-root user and run the same thing:

>>> import tensorflow_hub as hub
>>> embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder-multilingual/3")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/module_v2.py", line 92, in load
    module_path = resolve(handle)
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/module_v2.py", line 47, in resolve
    return registry.resolver(handle)
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/registry.py", line 51, in __call__
    return impl(*args, **kwargs)
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/compressed_module_resolver.py", line 67, in __call__
    return resolver.atomic_download(handle, download, module_dir,
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/resolver.py", line 370, in atomic_download
    tf_utils.atomic_write_string_to_file(lock_file, lock_contents,
  File "/var/lang/lib/python3.8/site-packages/tensorflow_hub/tf_utils.py", line 65, in atomic_write_string_to_file
    f.write(contents)
  File "/var/lang/lib/python3.8/site-packages/tensorflow/python/lib/io/file_io.py", line 102, in write
    self._prewrite_check()
  File "/var/lang/lib/python3.8/site-packages/tensorflow/python/lib/io/file_io.py", line 87, in _prewrite_check
    self._writable_file = _pywrap_file_io.WritableFile(
tensorflow.python.framework.errors_impl.PermissionDeniedError: /opt/tfhub_modules/26c892ffbc8d7b032f5a95f316e2841ed4f1608c.lock.tmp92234c62ea7b4a1c95216654d6db1a83; Permission denied

The non-root user can still read the folder /opt/tfhub_modules and the files/folders in it. It just does not have write permissions.
This use case would be handy for baking images to be run in AWS Lambda which has a read-only filesystem

Hi Ken,
We will look into this issue. Meanwhile, one potential work-around is to set the env var to enable uncompressed model resolution.
TFHUB_MODEL_LOAD_FORMAT=UNCOMPRESSED

The fix has been submitted in https://github.com/tensorflow/hub/commit/bc9589114edc88ba662ef54992fed0a197042368. It will pushed to pypi package in the next scheduled release.

Amazing, thanks for the quick fix @akhorlin !


What is the intended handling of resources not being found?

Issue summary
Sometimes ids are assigned to resources that do not yet exist, how should we handle this?
For example, on order_created, the payload includes a customer along with it's id. But if you try to make a request to this id, shopify will respond with a 404 if the customer does not yet exist.
Should we just let the webhooks fail and on one of the subsequent retries the data will be available?
Steps to reproduce
// on order_create with new email
const order = JSON.parse(payload);
const id = order.customer.id

const customerObj = await client.get({
  path: `customers/${id}`,
});

// shopify responds with 404

Ah so update, I think my issue might be related to the search endpoint? The above example actually works, its when I search for it via query parameters like email where it doesn't work. I wonder if there's a lag time between when a customer is created and when it is indexed?


Vehicle.Wheelspeed. How it works?

Its always returns 0, why?

It's incorrectly labeled. It's the speed that shows on the dashboard.

Oh, fine. But actually I need to know when my car is drifting...

You can figure out if the car is drifting (and by how much) by comparing the total velocity with the forward velocity.
I used this once:
float angle = acos(velocity.y / sqrt(velocity.x^2+velocity.y^2)) * 180.0f / M_PI;

It returns NaN when I stopped and heading by 2 parts of 180° when Im moving... Maybe its cause Im using vb.net but its hard to belive..
In vb it looks like:
Acos(CurrVeh.Velcity.Y/Sqrt(CurrVeh.Velocity.X^2 + CurrVeh.Velocity.Y^2)) * 180.0F / PI


404 errors on beta2

I've installed deis-workflow on a bare-metal Ubuntu 14.04 box using the kubernetes docker setup and helm to install deis-workflow.
All the deis services are in a running status, but I get 404s for any request.
NAME                          READY     STATUS    RESTARTS   AGE
deis-builder-13ppc            1/1       Running   2          54m
deis-controller-axkqi         1/1       Running   4          54m
deis-database-mz33p           1/1       Running   2          54m
deis-logger-9y52y             1/1       Running   0          54m
deis-logger-fluentd-0cfza     1/1       Running   0          54m
deis-minio-ilmh9              1/1       Running   0          54m
deis-registry-12fte           1/1       Running   1          54m
deis-router-rz5o5             1/1       Running   0          54m
deis-workflow-manager-k4fpa   1/1       Running   0          54m

56m		56m		1	{default-scheduler }			Normal		Scheduled	Successfully assigned deis-router-rz5o5 to <IP_ADDRESS>
...
  33m	33m	1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal	Pulling		pulling image "quay.io/deis/router:v2.0.0-beta2"
  31m	31m	1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal	Pulled		Successfully pulled image "quay.io/deis/router:v2.0.0-beta2"
  31m	31m	1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal	Created		Created container with docker id 1ab50f2d9eef
  31m	31m	1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal	Started		Started container with docker id 1ab50f2d9eef

Name:			deis-router
Namespace:		deis
Labels:			heritage=deis
Selector:		app=deis-router
Type:			LoadBalancer
IP:			<IP_ADDRESS>
Port:			http	80/TCP
NodePort:		http	32642/TCP
Endpoints:		<IP_ADDRESS>:8080
Port:			https	443/TCP
NodePort:		https	31722/TCP
Endpoints:		<IP_ADDRESS>:6443
Port:			builder	2222/TCP
NodePort:		builder	31702/TCP
Endpoints:		<IP_ADDRESS>:2222
Port:			healthz	9090/TCP
NodePort:		healthz	30617/TCP
Endpoints:		<IP_ADDRESS>:9090
Session Affinity:	None
No events.

[(ruby-2.1.3)] ~/Downloads curl http://<IP_ADDRESS>/v2

<title>404 Not Found</title>

404 Not Found

nginx/1.9.6

[(ruby-2.1.3)] ~/Downloads curl http://<IP_ADDRESS>/v2

<title>404 Not Found</title>

404 Not Found

nginx/1.9.6

Adding full describe output:
[(ruby-2.1.3)] ~/.helm/workspace/charts/workflow-beta2 kubectl describe pod deis-router --namespace=deis                                                                                <<<
Name:		deis-router-rz5o5
Namespace:	deis
Node:		<IP_ADDRESS>/<IP_ADDRESS>
Start Time:	Sat, 23 Apr 2016 09:55:36 -0400
Labels:		app=deis-router
Status:		Running
IP:		<IP_ADDRESS>
Controllers:	ReplicationController/deis-router
Containers:
  deis-router:
    Container ID:	docker://d8cee25347d0d8618fb7016f2a6d964c188e118a7464dd2fdc8dec7267a6e962
    Image:		quay.io/deis/router:v2.0.0-beta2
    Image ID:		docker://sha256:933998723fc6ad10a8d44c6a3dc4bc185e4416a7b2aba17a1c0cfc6cdc29f0d5
    Ports:		8080/TCP, 6443/TCP, 2222/TCP, 9090/TCP
    QoS Tier:
      cpu:		BestEffort
      memory:		BestEffort
    State:		Running
      Started:		Sat, 23 Apr 2016 12:00:29 -0400
    Ready:		True
    Restart Count:	0
    Liveness:		http-get http://:9090/healthz delay=1s timeout=1s period=10s #success=1 #failure=3
    Readiness:		http-get http://:9090/healthz delay=1s timeout=1s period=10s #success=1 #failure=3
    Environment Variables:
      POD_NAMESPACE:	deis (v1:metadata.namespace)
Conditions:
  Type		Status
  Ready 	True
Volumes:
  deis-router-token-b4jjb:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	deis-router-token-b4jjb
Events:
  FirstSeen	LastSeen	Count	From			SubobjectPath			Type		Reason	Message
  ---------	--------	-----	----			-------------			--------	------	-------
  3m		3m		1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal		Pulled	Container image "quay.io/deis/router:v2.0.0-beta2" already present on machine
  3m		3m		1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal		Created	Created container with docker id d8cee25347d0
  3m		3m		1	{kubelet <IP_ADDRESS>}	spec.containers{deis-router}	Normal		Started	Started container with docker id d8cee25347d0

Found some errors in the workflow manager - could these be implicated?
[(ruby-2.1.3)] ~/.helm/workspace/charts/workflow-beta2 kubectl logs --namespace=deis deis-workflow-manager-k4fpa
2016/04/23 16:01:09 periodic job ran and returned error:
2016/04/23 16:01:09 Get https://versions.deis.com/v2/versions: dial tcp: lookup versions.deis.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:60425-><IP_ADDRESS>:53: i/o timeout
2016/04/23 16:01:49 Get https://versions.deis.com/v2/versions: dial tcp: lookup versions.deis.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:45828-><IP_ADDRESS>:53: i/o timeout
2016/04/23 16:01:49 Get https://versions.deis.com/v2/versions: dial tcp: lookup versions.deis.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:45828-><IP_ADDRESS>:53: i/o timeout
2016/04/23 16:02:29 error sending diagnostic data
2016/04/23 16:02:29 periodic job ran and returned error:
2016/04/23 16:02:29 Post https://versions.deis.com/v2/clusters/f00c4423-4a7e-46ae-9da4-2fc95df33438: dial tcp: lookup versions.deis.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:48311-><IP_ADDRESS>:53: i/o timeout

@jeremyjh the problem is that the router directs traffic within the cluster based on the value of the HTTP Host header.  That header is implicitly set by curl when you use a URL that contains a fully qualified domain name, e.g. curl http://foo.example.com.  If you use a URL containing an IP, as you have in your examples here, you need to explicitly set that header yourself.
Try this... assuming an application named foo:
$ curl --header 'Host: foo.example.com' http://<ip>

Thanks, you told me what I needed to know!
I was able to register with the controller by using the xip.io  domain:
deis register http://deis.<IP_ADDRESS>.xip.io

Yup.  I always forget to suggest xip.io.  Glad you are up and running.


Sprite.texture created programmatically is Empty in remote tree node inspector

Godot version:
05a0a68
Issue description:
Sprite.texture set programmatically is Empty in remote tree node inspector

Also related to #28353 and probably other resources have this too.

Seems fixed in 3.2.2

@KoBeWi I think this is not fixed in 3.2.2 and still valid in 3.2.3 / 3.2.4.beta4.
Try this MRP: ShapeDebug.zip

Looks like this only happens with textures created in code. When you do $B/Sprite.texture = load("res://icon.png") it appears correctly.

Duplicate of https://github.com/godotengine/godot/issues/28353 (same cause).


[Mining] Monero / Tari block mined notifications

the above notifications should be shown as modals, with backdrop
user interaction is needed for the notification to disappear (either "got it" button or backdrop click)
if any other modal is currently open (e.g. settings), the notification should wait - once the current modal is closed, the new one appears after short delay (300~500ms ?), effectively making a stack of popups waiting for the user
the same principle explained above should apply when there are multiple different mining notifications, so:
if there are 3 blocks mined of the same type (XTR/XMR), the text should combine them "3 blocks were mined" etc.
but if there are blocks of different type XTR & XMR, we should not cmbine them, they should stack as explained with modals)
we should show a text OS notification about mined blocks, example notification:

[Title] Tari Launchpad: Fantaritastic!
[Body] You've just mined a Tari block!

internal discussion:

should they pop up like modals to take the whole screen and user attention?
do they auto-close or is user interaction necessary (either "Got it" or clicking backdrop)?
what if the user is currently in a modal (like settings) - do we obscure everything to show them that a block was mined?
what if we mine multiple blocks in succession in a short time before user interacts with the previous notification - do they stack?
do we show an OS notification about mined blocks?

@CjS77 @alex1307
what is the event that we should listen to for mining notifications?

Doesn't the design have pop-ups / notifications for whenever you mine a new block?

This is still to be written

https://github.com/Altalogy/tari/issues/155

Doesn't the design have pop-ups / notifications for whenever you mine a new block?

yes, they're designed - included in the description, also figured out OS notifications
thanks for the backend issue

preparing the frontend while backend is unblocking

this was resolved in #297


issue-#44

Brief Description of Fix
Adds Validation Support For:

Discover
Maestro (13, 15, 16, and 19 digit)
China UnionPay (16 and 19 digit)
UATP
Dankort

Linked Issue
Closes #44

Looks good, give us some time to check it :)

im not too sure how to do either

LGTM!


You Travis badge is broken

Hi, just to let yyou know that your Travis build (and hence Travis badge) is broken.

Hello, this should be resolved or addressed in Unirest 2. Please see the upgrade guide for important changes.


How can I define the colors of these objects?

Dear author:
Thanks for your excellent work. The vscode looks great after using vslook. I like this extension so much. However,  I still have some problems unsolved after several weeks' using, as shown below. Would you please tell me how to change the colors of these marked objects? Thank you.

For 3
Foreground  is Components -> Text
Background is Components -> Dropdown -> Content
Active Item Background is Layouts -> QuickPick -> Item -> Background
I'm not able to find the picker for 1. Sorry

For 3 Foreground is Components -> Text Background is Components -> Dropdown -> Content Active Item Background is Layouts -> QuickPick -> Item -> Background
I'm not able to find the picker for 1. Sorry

Oh, thanks very much. At least I can adjust two parts more. Thank you~


remove annoying version postfix for library

remove the version postfix, make compiling rDSN easier

I have tried the compilation. It will generate libthrift.so.0.9.3 together with a symbolic link libthrift.so. So why does the version postfix should be removed?

the compilation and installation several steps. For the thrift library, firstly we need to copy the shared library to ${DSN_ROOT}/builder/lib, then to ${DSN_ROOT}/builder/output, then to ${DSN_ROOT}/install/lib. If the postfix is not removed, you have to copy the libthrift.so.0.9.3 for loading and create symbolic libthrift.so for linking.

Have you met any problem about this issue yet? It seems that the link contains relative path. So moving or copying the library together with its link works on my machine.

I used readlink -f libthrift.so to detect the absolute path of the link's target

Copying the link also works.

Yes. It seems that directly copy a symbolic link result in copying the target file of that link. And copy a whole directory result in copying both the link and the target file.

well, you may want to use "cp -L" to follow the symbolic link


Functional to_tensor returns float tensor of default dtype

Fixes #3393
Description:

Functional to_tensor returns float tensor of default dtype

Does it make sense to also change the following?
vision/torchvision/transforms/_functional_video.py

I think this private API to be removed ?


Update main.yml

Codecov Report

Merging #99 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   97.69%   97.69%
=======================================
  Files           8        8
  Lines         391      391
  Branches       75       75
=======================================
  Hits          382      382
  Misses          9        9

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 01063e6...df6d9b2. Read the comment docs.


Get data for Partner Network page through portal backend

Overview

Explain the topic in 2 sentences
We need to develop an API in portal-backend to get data from partner-network-pool instead of calling business-partner-pool service directly from the portal-frontend.
What's the benefit?
To have a consistency to call business-partner-pool services from backend side and this could also avoid firewall issues if we put business-partner-pool service is behind the firewall.
What are the Risks/Dependencies ?

Detailed explanation
We need to develop an API in portal-backend to get data from partner-network-pool instead of calling business-partner-pool service directly from the portal-frontend. This approach will make it consistent and secure, as we are already been calling business-partner-pool service from portal-backed to get legal-entity data by BPN.
API: https://business-partners-pool.example.com/v6/members/legal-entities/search?page=0&size=10
Current implementation
Currently frontend is been calling business-partner-pool directly to get Partner Network data.
Proposed improvements
Feature Team
Contributor

@tfjanjua

Committer

@ntruchsess
@oyo

User Stories

https://github.com/eclipse-tractusx/portal-backend/issues/1079

Acceptance Criteria

[ ] Develop a portal-backend API that facilitates secure access to the endpoint of business-partner-pool and respond data to portal-frontend.
[ ] The portal-backend API should be authenticated first and then route to the business-partner-pool service internally.
[ ] The API should handle errors gracefully and returns appropriate HTTP status codes.
[ ] Expected config change: [PORTAL - BPN] Get data from partner network pool by portal backend portal#457
[ ] Add respective test cases in portal-backend repo.
[ ] Changes should be communicated to the front-end to make appropriate changes over there as well.

Test Cases
Functionality and Test Cases should work as they are working right now because with this change, portal-frontend would be getting partner-network data from portal-backend instead of getting data directly from business-partner-pool and portal-backend would be calling business-partner-pool service internally and responding data to frontend.
Expected Result

Frontend would be getting Partner Networks data from backend directly instead of calling business-partner-pool service directly.
Backend API would be responding more or less the same data as it has been responded by business-partner-pool service.

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

[ ] This feature aligns with our current architectural guidelines

Data Sovereignty: All data sharing activities across company boundaries follow the Catena-X Regulatory Framework, in particular the Data Exchange Governance, and the Dataspace Protocol via a compliant Connector (like the tractusx-edc or similar, see Connector KIT)

[ ] CX-0010 Business Partner Number
[ ] CX-0013 Identity of Member Companies
[ ] CX-0018 Data Space Connectivity (EDC)
[ ] CX-0049 DID Document Schema
[ ] CX-0050 Framework Agreement Credential
[ ] CX-0149 Verified Company Identity

Interoperability: Digital Twins are used (compliant to the Digital Twin KIT and the Industry Core KIT)

[ ] CX-0001 EDC Discovery API
[ ] CX-0002 Digital Twins in Catena-X
[ ] CX-0018 Data Space Connectivity (EDC)

Data Format:

[ ] The data model is based on a published Semantic Model

[ ] The impact on the overall system architecture has been assessed. The Feature does not require changes to the architecture or any existing standard? Please have a look here on the overarching architecture
[ ] Potential risks or conflicts with existing architecture has been assessed

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)
Additional information

[ ] I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

Status currently in Inbox. ⇾ Only features with status backlog are considered in open planning
Please add missing sections from the feature template, or fill them out
Please add contributor and committer

In review based on comments from @ntruchsess and @oyo during refinement. May not be implemented in this form, depending on feedback from Cofinity-X infrastructure team.

@evegufy mentioned ⇾ still under refinement


Block/card upload document

#78
Hi @siriwatknp,
⚠ I have added the react-dropzone library for dragging files to the card. Please take a look.

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=74

Storybook Preview
https://64e95d8f1f548945b1225cb8-yjwcwirlwy.chromatic.com/

Component Count
56

@all-contributors please add @bazsup for code.

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=75

Storybook Preview
https://64e95d8f1f548945b1225cb8-ciorslxizj.chromatic.com/

Component Count
56

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=76

Storybook Preview
https://64e95d8f1f548945b1225cb8-uzyhhoyvjv.chromatic.com/

Component Count
56

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=77

Storybook Preview
https://64e95d8f1f548945b1225cb8-zbwrptrvdp.chromatic.com/

Component Count
56


Update our xUnit usage to fix warnings

After the #1965 update, new xUnit analyzers are kicking in and producing warnings. It should be fairly easy to adapt the code.

Fixed via #2018.


Cloud Adoption Framework Template for SQL and Server Mismatch

The following Templates
ServerMigration_CAF_DevOps_ProjectTaskList
SQL_CAF_DevOps_ProjectTaskList
both highlights the tasks of SQL. Previously Server and SQL both were different. But now I cant find the task lists for Server Migration
AB#3568

Hi @PranjalPatel24 Thank you for reaching us.
It was some mismatch in the template directories and files, could you please retry and let us know your updates?
Thanks

Hi @PranjalPatel24 Thank you for reaching us.
It was some mismatch in the template directories and files, could you please retry and let us know your updates?
Thanks

Hello @aksh-h Thanks for the help.
I can confirm that the issue is resolved.
Thanks

Hello @aksh-h Thanks for the help.
I can confirm that the issue is resolved.
Thanks

Thank you for your updates. Hence closing the issue.

Thank you for your updates. Hence closing the issue.


Fix NavObjects map assignments

Fixes NavObjects map assignments.
Fixes https://github.com/godotengine/godot/issues/78625.
The main change is that now only the NavObjects (regions, agents, links, obstacles) themself are doing the final map assignment and required updates.
This avoids situations where the server, the map, or something else all want to do changes in different order. E.g. objects deleting or switching the map internally and forgetting to clear some of the old stuff, or like in the linked issue the obstacle removing the map and the agent not doing a full clear before delete because there is no map anymore.

Thanks!


[Lists] How should a user exit lists?

In the current implementation of lists on web, to exit a list, a user has to press enter in an empty list item to exit a list.
This issue is being raised to discuss some issues resulting from this behaviour:

It is not possible to add empty bullet points to a list
Previous experience (Slack, googledocs) led me to expect pressing backspace in an empty list item would remove the item and exit the list (actual behaviour removes the item, but puts the cursor at the end of the previous list item, shown in video)
Should pressing the down arrow exit a list? I think it should but this could just be my expectation being odd, I think this probably comes from time using Slack (as it's the composer I've used the most)

Video of pressing backspace in an empty list item, then enter twice to exit
https://user-images.githubusercontent.com/56027671/212375062-e7fdbca3-a9ea-4707-8c3e-f1d0db23dfe7.mov
Discussion of this suggested expected behaviour might be something along the lines of:

have an empty list item
press backspace
cursor goes to start of line, exiting the list
press backspace
cursor goes to end of last list item (inside the list)
up or down arrows can be used to enter/exit the last list item (web only)

Notes:

Slack and Googledocs behaviour is close to the expected behaviour above

Slack actually achieves this behaviour using custom classes on list items, ie a list is a single list node and everything else inside is a list item

Implementing nested lists inside other lists may present issues on mobile clients

This behaviour noted in point 1 is the same in code blocks (unable to insert a blank line) which I think is a reasonable limitation given how a code block is expected to be used.


Two separate user models in a single application

Hi! Is it possible to have 2 separate models with two separate login pages say User and AdminUser in a single application? I can't find a simple way to do that.
Thanks!

Also interested in how to implement this. I have same use case as AlphaB.

I tried this too and couldn't found a way that didn't imply duplicating and overriding a lot of code, so got to the conclusion that this is discouraged by design.
With Clearance as it is, I've found the best way is to simply use the same model and add an admin? method, be it with a boolean or with a more complex logic behind it. Then, simply create an admin namespace and its own set of routes within a Clearance constraint:
  constraints Clearance::Constraints::SignedIn.new { |user| user.admin? } do
    get "/admin", to: "admin#index"
    namespace :admin do
      resources :posts
    end
  end

and finally group some login for all admin controllers in a concern:
module AdminPanel
  extend ActiveSupport::Concern

  included do
    layout "admin"
    before_action :require_login
  end

  private

  // This is the only method to override
  def require_login
    deny_access("Only admins here") unless signed_in? && current_user.admin?
  end
end

class Admin::Posts < ApplicationController
  include AdminPanel
end

Now only admins will be able to access /admin routes, while all others will get 500 errors, and also has the benefit that you'll be able to use the application as a regular user would, which I think is great after all.
So well, not really a solution to the specific issue but, again, I have the feeling that they've made this decision by design. Of course, I might be wrong :-)

I have the feeling that they've made this decision by design

I think this is more or less accurate.
I'm going to close this on the assumption that "use a boolean attribute or some other role system instead of different models" is the approach we'd take with clearance auth on an app with this requirement.


Optim

p_invsqrt_f32 () : simplify the function reading (more human readable)
Make invsqrt() evenly accurate to sqrt()
Implement faster base 10 log based on natural log

comments have been applied


Mutability of archives?

Hi,
Is it possible to mutate a u64 field of an archive in-place without deserializing first ?
like mutating the how field of a non deserialized archive for performance reasons?
#[derive(Archive, Deserialize, Serialize, Default)]

struct Strt {
    what: String,
    how: u64,
    hm: Hm,
}

#[derive(Archive, Deserialize, Serialize, Default)]

struct MyStruct {
    vec: Vec<Strt>,
    p: u32,
}

Thanks

Yes, you can get mutable access to the structure by calling archived_root_mut. That will give you back a Pin<&mut T::Archived> which you can traverse and mutate through. If you need to traverse containers, you'll probably need to use the specialized (e.g. index_pin).

Thanks!
here is my try:
    const ARBITRARY_VALUE: u64 = 3;

    let mut buffer: MyStruct = Default::default();

    buffer.p = 55;

    for i in 0..ARBITRARY_VALUE {
        let mut s: Strt = Default::default();

        s.how = 65 + i;

        s.what = format!("Test {}", i);

        buffer.vec.push(s);
    }

    let mut u = rkyv::to_bytes::<MyStruct, 1024>(&buffer).unwrap();

    let mut z = unsafe { rkyv::archived_root_mut::<MyStruct>(Pin::new(u.as_mut())) };

    for i in z.vec.pin_mut_slice() {
        i.how += 100;
    }

    for i in z.vec.iter() {
        println!("{}", i.how);
    }

but z.vec.pin_mut_slice() doesn't exist. How to access it ? thanks a lot

I think you need to pin-project your z.vec access, for example by doing z.map_unchecked_mut(|z| &mut z.vec) and then calling .pin_mut_slice() on it. There is probably also a way to get pin projection code written for your archived type using a macro or derive, but I'm not very familiar with what the options are. It's common to write a helper method for doing this:
impl ArchievdMyStruct {
    pub fn vec_pin(self: Pin<&mut Self>) -> Pin<&mut ArchivedVec<...>> {
        unsafe { self.map_unchecked_mut(|s| &mut s.vec) }
    }
}

So then you can just call z.vec_pin().pin_mut_slice().

Thanks, this is what I tried:
    let mut u = rkyv::to_bytes::<MyStruct, 1024>(&buffer).unwrap();

    let mut z = unsafe { rkyv::archived_root_mut::<MyStruct>(Pin::new(u.as_mut())) };

    unsafe {
        let mut v = z.as_mut().map_unchecked_mut(|z| &mut z.vec);

        let mut the_slice = v.pin_mut_slice();
        let result = &mut the_slice.index_mut(0);

        result.how += 5;
    };
    for i in z.vec.iter() {
        println!("{}", i.how);
    }

I am still welcomed with :
cannot borrow data in dereference of `Pin<&mut [ArchivedStrt]>` as mutable
trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Pin<&mut [ArchivedStrt]>`

Also tried with the impl above, same error as above:
for i in z.vec_pin().pin_mut_slice().iter_mut() {}
It works perfectly fine if I deserialize first but performance suffer.
I don't know what is going on..

Apparently, even when reusing the code of another issue just modifying the last loop from:
for (k, v) in rkyv_map.iter() {
        ...
}

to
for (k, v) in rkyv_map.iter_mut() {
        *v += 1;
 }

yields an error: no iter_mut.
Well, I will consider that what I want is not possible at the moment. I leave this issue open in case someone is able to make this work. But in the meantime, I will serialize/deserialize, take a perf hit because doing otherwise it is too obscure right now. :slightly_smiling_face:
But thanks a lot!

An finally, this is the working code:
    let o = unsafe { z.as_mut().vec_pin().pin_mut_slice().get_unchecked_mut() };

    for i in o.iter_mut() {
        i.how += 100;
    }

    for i in z.vec.iter() {
        println!("{}", i.how);
    }

It was a bit obscure, but that's the price of learning a language I guess.
Thanks for your support !


Router Gaurd corrected for ManagerView route

ManagerView route was accessible without being invited

@vishav-singla will you be able to make the changes? If not we will asign it somebody else, so please ping us back ;)

@KarinePistili  Yes, I will try to rectify it this weekend was busy from 2 weeks due to college examinations

Thanks for the fast answer @vishavsingla !! Okay, I'll wait for you them! :muscle:

Closing this PR due to inactivity.


Example to play videos from playlist Id

Having issues when using playlistitemresponse to list videos of a playlist, getting playlistListResponse.getItems() null

I haven't looked into this project in awhile, if you have any ideas why it fails, you are welcome to open a pull request. Otherwise, I'll try to look at it when I find some time.


Adding 1.3.0 release notes - (1.3 branch)

Signed-off-by: Bharathwaj G<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

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

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

Codecov Report

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

@@          Coverage Diff           @@
##             1.3     #109   +/-   ##
======================================
  Coverage       ?   83.47%
  Complexity     ?      553
======================================
  Files          ?       61
  Lines          ?     2058
  Branches       ?      146
======================================
  Hits           ?     1718
  Misses         ?      235
  Partials       ?      105

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 229a84a...33f6308. Read the comment docs.


Canonical post urls

Fixes #56
Land #82 first, though, this depends on it.

needs rebase!

Rebased and forcefully pushed!


Adds aws credentials cfn stack lookup

Adds (what I believe is) missing aws credentials as an input to cfn-outputs task.
without this I have not been able to use the playbooks that generate the ansible inventory or validates the openshift deployment.

Will probably need to update the reference architecture documentation as well since that fails to mention the need for aws credentials.

@propyless I'm not sure if this is required because the values should be exported by the local system before attempting to perform this

Hi yeah I had them exported. But it didn't read those environment
variables. That's why I added this.
On 28 Jun 2017 9:13 pm, "Ryan Cook"<EMAIL_ADDRESS>wrote:

@propyless https://github.com/propyless I'm not sure if this is
required because the values should be exported by the local system before
attempting to perform this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/openshift-ansible-contrib/pull/516#issuecomment-311759102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF4xITC7aSz-sgzdimqzUxPswkhcjmI_ks5sIqXFgaJpZM4OHzNc
.

the same is required for the validation scripts. It is also unable to fetch data from aws..

I've verified it twice.
https://github.com/openshift/openshift-ansible-contrib/blob/master/reference-architecture/aws-ansible/playbooks/library/cloudformation_facts.py
This module thats used in the anisble playbooks doesn't load/read the environment variables for AWS at least.

hve you been able to verify this as well?


Pasting from MTP device doesn't work.

Description
If I copy a file from an MTP device and paste it anywhere else, a 0 bytes file is created, and that's it.
Steps To Reproduce

Plug an MTP device to the PC
Copy any file from it
Paste it on a local drive

Expected behavior
It should paste the file as it would from any other disk
Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 11 21H2 22000.258
Relevant Assets

File I just pasted from an MTP device into my hard drive.

It's working for me in v<IP_ADDRESS>

It happened to me when no sufficient storage space was left on my device

Merging with #9003


Feature: Reverse DNS/whois in "insight" - pie chart

Hey, it's me again,
maybe I should read the f*** manual one more time, but I don't see the switch to enable that feature..
I'm asking myself if it's possible to do a reverse DNS-search (or Whois) on the Pie-chart in the  Reporting | Insight  view.? That would be a pretty nice feature.
Thanks again to all who make this project possible!

This seems to be a duplicate of #1034.

it's indeed a duplicate, if I can find some time I might add the functionality, it would indeed be practical to have it.
Let me close this issue, we keep the original one open.


PasswordCredentialPanel: add form validation and AuthenticationType

[X] form validation
[ ] using AuthenticationType

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 15 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 99.552%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/measure/OlMeasurementHandler.js
1
96.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
11779

Relevant Lines:
11784

💛  - Coveralls


NoneType for NamedTuple during process_signature

I have the following NamedTuple:
from typing import NamedTuple

class SampleNamedTuple(NamedTuple):
    """Sample Named Tuple"""

    attr1: int
    """Attribute"""

This NamedTuple causes trouble during output building:
Exception occurred:
  File "//anaconda3/lib/python3.7/site-packages/sphinx_autodoc_typehints.py", line 179, in process_signature
    outer = getattr(outer, clsname)
AttributeError: 'NoneType' object has no attribute 'SampleNamedTuple'

Versions:
Python 3.7.3
Sphinx v2.2.1
sphinx-autodoc-typehints 1.10.3
Note, that I did not use the napoleon extension at all, just:
extensions = ["sphinx.ext.autodoc", "sphinx_autodoc_typehints"]

Are NamedTuples supported or at least expected to be processed without throwing exceptions?
Related issues:
#42
#68

Alternative definition as a workaround:
from typing import NamedTuple

SampleNamedTuple = NamedTuple("SampleNamedTuple", [("attr1", int)])

For future onlooker, an important distinction: this is using the Typing.NamedTuple, not the collections.namedtuple. Using the later doesn't work. The former does.

Please check again with latest release and report back if the problem is still active.


fix Fix frequent request je/tcmallloc metrics waste cpu

Proposed changes
Issue Number: close #xxx
Problem summary
Periodically refresh je/tcmallloc metrics instead of fetching each metrics request.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.44 seconds
load time: 510 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230202193533_clickbench_pr_89808.html


Add integration test for jsonb comparison with boolean values

Follow up of https://github.com/elixir-ecto/ecto_sql/pull/399

@josevalim what's the approach to deal with
   +integration-test *failed* |   1) test typed boolean map (Ecto.Integration.TypeTest)
   +integration-test *failed* |      /src/ecto/integration_test/cases/type.exs:256
   +integration-test *failed* |      ** (Ecto.QueryError) Tds adapter does not support json_extract_path expression, use fragment with JSON_VALUE/JSON_QUERY in query:
   +integration-test *failed* |
   +integration-test *failed* |      from p0 in Ecto.Integration.Post,
   +integration-test *failed* |        where: p0.meta["enabled"] == true,
   +integration-test *failed* |        select: p0.meta

?

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Fix initial.json after property manager changes

Hitas Pull Request
Description
Fixes initial.json to work after property manager has had their address removed.
Pull request checklist
Check the boxes for each DoD item that has been completed:

Testing

[ ] Changes have been tested
[ ] Automatic tests have been added

Database

[ ] Database migrations will work in the DEV & TEST environments
[x] initial.json has been updated to work with migrations
[ ] Oracle migration has been updated

Documentation

[ ] Tooltips have been added in the frontend for all new fields
[ ] OpenAPI definitions have been updated
[ ] Test instructions have been written for the customer in the appropriate ticket in Jira
[ ] Terminology page in Confluence has been updated

Test plan

[ ] Boot up backend container to read in initial.json to see if it works

Tickets
This pull request resolves all or part of the following ticket(s): -

Oh, I used the GitHub feature, just a second.


Can not connect to to database with only_full_group_by error

Describe the bug
Can not connect to the database
Error
Error while preparing columns completions for connection Flow ER_WRONG_FIELD_WITH_GROUP: Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'information_schema.f.ROUTINE_NAME' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Would you like to see the logs?

To Reproduce

Ensure that MySQL has (default) sql_mode=only_full_group_by set.
Connect to MySQL database by clicking on configured connection.

Expected behavior
Database should connect
Screenshots

Desktop (please complete the following information):

OS: Linux (CentOS 7 Gnome)
SQLTools Version: 0.17.12

Additional context
I havenot tried making change in MySQL sql_mode yet.

The stack trace:
WARN: stack trace: Error: Request connection/RefreshAllRequest failed with message: ER_WRONG_FIELD_WITH_GROUP: Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'information_schema.f.ROUTINE_NAME' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
	at handleResponse (/home/fixspec/.vscode/extensions/mtxr.sqltools-0.17.12/extension.js:534:48)
	at processMessageQueue (/home/fixspec/.vscode/extensions/mtxr.sqltools-0.17.12/extension.js:361:17)
	at Immediate.module.exports.setImmediate (/home/fixspec/.vscode/extensions/mtxr.sqltools-0.17.12/extension.js:345:13)
	at runCallback (timers.js:696:18)
	at tryOnImmediate (timers.js:667:5)
	at processImmediate (timers.js:649:5)

Thanks for quick changes. I wouldn't have been that fast to contribute :)

You are welcome!
If you like the project, consider a donation or reviewing it on VSCode marketplace. That you help it to keep evolving.
Thanks!


api: pattern golang's JSON tags to snake case

@leonardojoao I believe this has an impact on UI. Could you check that?

@henrybarreto, from API point of view it looks good. We just need @leonardojoao or @noreng-jg to check the UI so we do both changes on same PR.


chore(ci): use cargo-docs-rs to lint docs

Out of curiosity, can you give an example of a (edge) case we can catch with this CI check?

Anything that is doc specific. E.g.: the following mismatched code fence:
//! ```
//! ``
```
Or a link to a non-existent item:
```rust
/// [`foo`]
```
https://doc.rust-lang.org/rustdoc/lints.html has the lints.

We use nightly for docs because we like several of the features that are only available in nightly
- Writing the feature flag next to code that requires that flag to be enabled https://doc.rust-lang.org/rustdoc/unstable-features.html#doccfg-recording-what-platforms-or-features-are-required-for-code-to-be-present (which we use via https://doc.rust-lang.org/rustdoc/unstable-features.html#doc_auto_cfg-automatically-generate-doccfg
- scraped examples https://doc.rust-lang.org/rustdoc/scraped-examples.html

Switching to cargo-docs-rs over our custom params means that we don't have to track the exact params that docs-rs will use to build our docs, which means that the CI tests the same thing that will be eventually deployed.

Got it, thanks for the example 👍🏼


Default to a wider map view to give more context

When viewing a marker the map is zoomed in all the way. This is good when editing, but in the MapRoulette task assignment view it might make more sense to zoom out a few notches to give the user some more context about where they are and what data is around the area of interest.
It might be that this is specific to the "Aerodrome in NC" project it's defaulting to (i.e. I need to zoom out to see if there's an airport or runway mapped next to this aerodrome node), but it feels generally applicable to me.

I think that is a good point, probably should create a default that makes sense, and then also allow challenges to override the default value.

Yes. It would be good for challenges to be able to override the following things:

map zoom
UI collapse / expand
base map layer

other things?

I am going to ask the Mapzen folks to see if they're interested in helping us think about this from a design perspective.

rolling this into #102


Documentation example uses wrong import

In the Basic State Setting Example of the home assistant documentation, there is an import of a package that doesn't exist :
from homeassistant.helpers import validate_config
It looks like it should use the homeassistant.helpers.config_validation module instead, but I'm not sure what function to use

We do configuration validation now with voluptuous.
Fixed in https://github.com/home-assistant/home-assistant.github.io/commit/ec4a528e9a1f45158663ea9669599a1a3ae102d3


Memory violations when generating bitmaps in background threads [BUG]

This is a continuation / variation on #755.  I've been able to GPU generate bitmap images in background threads on all platforms, including Windows.  When I monitor GPU activity when the app is running, I can see that it never goes higher than about 40%.  I'd like improve the load on the GPU by generating the images on more than one background thread.
I have written a mapping utility where my app receives a collection of vector tiles which it needs to render.  Each tile is independent of the others, and each tile can be very heavy: ie. contain tens of thousands of features that are drawn using paths.  A typical screen contains 36 tiles and the user can interact with the screen quickly (during panning or zooming interactions) so the map must render itself very quickly.  Since each tile is a unit unto itself, the ability to generate its bitmap quickly and then to weave the results onto the display is a crucial requirement.  If it takes more than two seconds to update the display, the app is considered unacceptable.
I have read the Kronos EGl spec and a fair bit of documentation on OpenGL in general. My understanding is that if a GLContext is generated in an independent thread, which is associated with a PBuffer created in the same thread, and if that context is made current in that thread, then the GLContext's handle can be passed to the GrGlInterface, and a GRContext can be created from the interface so that SkiaSharp can render using the GRContext.  If I follow this approach with one thread, all the needed objects (the eglDisplay, the eglConfig, the eglPbufferSurface, and eglContext generate properly with no errors.  I'm able to generate bitmaps with the GRContext.
When I turn on two threads, again, all  the needed object generate with no errors.  The System.IntPtrs are all different, so there doesn't appear to be any overlaps.  But invariably when both threads are running memory violations will occur.
Here is an example of how I create the context in UWP:
UWPGRContextProvider.txt
The mechanism is straight forward.  In an independent thread I instantiate a UWPGRContextProvider object and then call its CreateGRContext method.
The method first initialises the EGL context, and then I use a custom loader to force the access to the EGL library:

Then I assemble the GRGlInterface using the eglContext and this custom loader.  From the interface I create the GRContext.

If there is something I'm misunderstanding or using incorrectly, please let me know.  I've tried asking the same question on the Kronos bulletin board.  If you know of another place I should ask, I'm all ears!!
Thanks for any insights you can provide,
Tom

I don't know if this is of any help, but the memory exception happens on the DrawPath call.  I'm not using any path effect, but there was a bug fix that went into Skia a few months back regarding making path effects thread safe (https://skia.googlesource.com/skia/+/20054dca88d578a642905b975656a4d767139d54)

I can supply a small Visual Studio project to demonstrate how the failure occurs, if that would be of any benefit.

TestMultithreadedGPURendering.zip


Enable Lazy mode for queues

It would be interesting if Hutch offered options to set the consumers' queues as lazy through an option such as queue_name.
Lazy queues are recommended in some use cases.

I can provide a PR if it is in the scope of the project ;)

@arthurmde yes, absolutely. Please do! Thank you!

While at it we should support quorum queues. Since both use optional queue arguments (queue type does not support policies as it cannot be changed at runtime), it makes sense to add support for both at once.

Note that #348 undoes some of the defaults for Hutch 1.0 because it breaks backwards compatibility for some installations.


English questions appear to be broken.

I don't believe this is right. My local language is English.

Sorry about that, I think it was an API issue. Should be better now.