Update  schema-registry  docker.env

When we want to connect to Kerberos kafka, we need to add some new parameters and copy jaas.conf, krb5.conf and other configuration files to the schema-registry container
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Hi @liyuhui666!
Thanks for the contribution. What is the intention of the PR? I see that we are only changing the default environment variables?
John

Hi John！
When we want to modify the environment variables to support The Kerberos schema, we can only look at the schema-Registry code without prompting which environment variables are available, which is inconvenient. We add environment variables that can later be used in the docker-compose file
Li

This makes sense - do you mind commenting the new environment variables out? I want to make sure we don't break any existing deployments of datahub quickstart!
For example,
# Uncomment to customize the Schema Registry kafka store connection
# SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL=PLAINTEXT
# SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS=broker:29092
# ZOOKEEPER_SASL_ENABLED=false
# KAFKA_OPTS=-Xms1g -Xmx1g
# SCHEMA_REGISTRY_JMX_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false

You're right. We should comment it out as a reminder


refactor towards proposed interface change.

@xiaoyunwu
Can you explain why Task implementation ServeAsX should return error? What should framework do if it happened.

func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.Point)
(*pb.Feature, error) { for _, feature := range s.savedFeatures { if proto.
Equal(feature.Location, point) { return feature, nil } } // No feature was
found, return an unnamed feature return &pb.Feature{"", point}, nil} when
we move to rpc, it will generate error. since it is rpc, the error will
pass to client directly. so we do have to worry.
On Thu, Mar 12, 2015 at 12:11 PM, Hongchao Deng<EMAIL_ADDRESS>wrote:

@xiaoyunwu https://github.com/xiaoyunwu
Can you explain why Task implementation ServeAsX should return error? What
should framework do if it happened.
—
Reply to this email directly or view it on GitHub
https://github.com/taskgraph/taskgraph/pull/20#issuecomment-78421048.

do not have to worry.
On Thu, Mar 12, 2015 at 1:20 PM, Xiaoyun Wu<EMAIL_ADDRESS>wrote:

func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.Point)
(*pb.Feature, error) { for _, feature := range s.savedFeatures { if proto.
Equal(feature.Location, point) { return feature, nil } } // No feature
was found, return an unnamed feature return &pb.Feature{"", point}, nil}
when we move to rpc, it will generate error. since it is rpc, the error
will pass to client directly. so we do have to worry.
On Thu, Mar 12, 2015 at 12:11 PM, Hongchao Deng<EMAIL_ADDRESS>wrote:

@xiaoyunwu https://github.com/xiaoyunwu
Can you explain why Task implementation ServeAsX should return error?
What should framework do if it happened.
—
Reply to this email directly or view it on GitHub
https://github.com/taskgraph/taskgraph/pull/20#issuecomment-78421048.

see also
https://github.com/grpc/grpc-go/blob/master/examples/route_guide/client/client.go#L63
On Thu, Mar 12, 2015 at 1:20 PM, Xiaoyun Wu<EMAIL_ADDRESS>wrote:

do not have to worry.
On Thu, Mar 12, 2015 at 1:20 PM, Xiaoyun Wu<EMAIL_ADDRESS>wrote:

func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.
Point) (*pb.Feature, error) { for _, feature := range s.savedFeatures {
if proto.Equal(feature.Location, point) { return feature, nil } } // No
feature was found, return an unnamed feature return &pb.Feature{"",
point}, nil} when we move to rpc, it will generate error. since it is
rpc, the error will pass to client directly. so we do have to worry.
On Thu, Mar 12, 2015 at 12:11 PM, Hongchao Deng<EMAIL_ADDRESS>
wrote:

@xiaoyunwu https://github.com/xiaoyunwu
Can you explain why Task implementation ServeAsX should return error?
What should framework do if it happened.
—
Reply to this email directly or view it on GitHub
https://github.com/taskgraph/taskgraph/pull/20#issuecomment-78421048.

LGTM


Outdated Xcode error when external drive is connected containing old system backup

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.

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

It seems homebrew is too eager to find a copy of Xcode anywhere, even if it's not actually intalled.
It seems to be finding a copy of Xcode in an old system backup and complaining about it being an old version, preventing me from installing anything.

It seems homebrew is too eager to find a copy of Xcode anywhere, even if it's not actually intalled.

Yep, this is intentional. We exclude Time Machine backups (/Backups.backupdb/).

@johtso install the current Xcode in /Applications and the problem should go away.

I don't want/need Xcode, I'm using command line tools instead.
The external drive contains a Carbon Copy Cloner backup, so that explains why it's not getting ignored.

In that case, you'll need to unplug the drive.

If there's a way to detect a Carbon Copy Cloner backup specifically then we'd welcome a PR to add that to the exclusion list.

I don't think there's any reliable way of detecting a CCC backup. There may be a _CCC SafetyNet directory at the top level.
A decent solution I just found was to add the external drive to the Spotlight preferences privacy list to stop it appearing in search results.

A decent solution I just found was to add the external drive to the Spotlight preferences privacy list to stop it appearing in search results.

Good idea, I didn't think about that. I'll let people know that in future. Sorry and thanks!


3git port

import
review
document

not needed, publishingtools already replaced the whole thing. https://github.com/threebotserver/publishingtools


test: Fix TestAcquiaPush and TestLagoonPush, add mariadb-old clients, fixes #6295

The Issue

#6295
TestLagoonPush broke for the same reason
We want to put a neutral mysql/mysqldump in there for people in this situation, so it's now in /usr/local/mariadb-old/bin

Acquia uses MySQL 5.7. We were using the default MariaDB:10.11 for the TestAcquiaPush test, and of course it has the mariadb-client 10.11.8, which has the broken directive in it.
This changes the tests to use MySQL 5.7, which now gets the MySQL 5.7 client in it, which should work OK.

I think a blog post will do the job.


Deletion of in progress annotation should not be possible

https://github.com/seung-lab/neuroglancer/pull/377#pullrequestreview-312666440

[ ]  Ctrl+Alt+Rightclick can be used to delete annotation parts, which breaks Neuroglancer when doing it with an in-progress annotation. This issue already exists in the master branch, when deleting the starting point of a two step annotation before placing the second point. Can deal with it later.

Introduced by https://github.com/google/neuroglancer/pull/109
Any deleted in progress annotation (2 or more steps, will break neuroglancer)
This can be fixed using the isPending function

Should be resolved by #413


Godot Editor crashes while opening an inherited glTF scene

Godot version:
Latest version from master branch
OS/device including version:
Ubuntu Linux 16.04 64 bit
Issue description:
I've used the Blender glTF exporter to export a car model to Godot.
I can open the scene with Godot, but the Godot editor crashes when I try to open the gtTF scene inside a tscn scene.
Steps to reproduce:

Download master branch from Github
compile with scons
open the demo project below
don't open the glTF file manually with the file manager
node Spatial in world.tscn --> open in editor
node Scene Root --> open in editor
Godot crashes

Minimal reproduction project:
Demo.zip

back trace (tip 8297ea903a0568c715bdcd421382788174c7d14f)
[Thread 0x7fffe51cf700 (LWP 21947) exited]
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.
ERROR: get_global_transform: Condition ' !is_inside_tree() ' is true. returned: Transform()
   At: scene/3d/spatial.cpp:265.

Thread 1 "godot3" received signal SIGSEGV, Segmentation fault.
0x00000000017c23b7 in HashMap<StringName, HashMap<StringName, Ref<StyleBox>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>::getptr () at core/hash_map.h:332
332			const Element *e = const_cast<Element *>(get_element(p_key));
(gdb) bt
#0  0x00000000017c23b7 in HashMap<StringName, HashMap<StringName, Ref<StyleBox>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>::getptr () at core/hash_map.h:332
#1  HashMap<StringName, HashMap<StringName, Ref<StyleBox>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>, StringNameHasher, HashMapComparatorDefault<StringName>, (unsigned char)3, (unsigned char)8>::has () at core/hash_map.h:286
#2  Theme::has_stylebox () at scene/resources/theme.cpp:379
#3  0x00000000012ad254 in Control::get_stylebox () at scene/gui/control.cpp:856
#4  0x0000000001257538 in ScrollBar::get_grabber_min_size () at scene/gui/scroll_bar.cpp:441
#5  0x000000000125aa66 in ScrollBar::get_minimum_size () at scene/gui/scroll_bar.cpp:537
#6  0x0000000001295e31 in Control::get_combined_minimum_size () at scene/gui/control.cpp:149
#7  0x000000000136654b in Tree::get_column_width () at scene/gui/tree.cpp:3206
#8  0x0000000001366b57 in Tree::_find_item_at_pos () at scene/gui/tree.cpp:3486
#9  0x0000000001366a8b in Tree::_find_item_at_pos () at scene/gui/tree.cpp:3512
#10 0x0000000001366a8b in Tree::_find_item_at_pos () at scene/gui/tree.cpp:3512
#11 0x000000000136701f in Tree::get_item_at_position () at scene/gui/tree.cpp:3590
#12 0x0000000001370964 in Tree::_gui_input () at scene/gui/tree.cpp:2515
#13 0x0000000000cf1ed7 in MethodBind1<Ref<InputEvent> >::call () at core/method_bind.gen.inc:729
#14 0x0000000001cc8419 in Object::call_multilevel () at core/object.cpp:747
#15 0x0000000001cc2941 in Object::call_multilevel () at core/object.cpp:853
#16 0x00000000011c096a in Viewport::_gui_show_modal () at scene/main/viewport.cpp:2380
#17 0x0000000001296bd1 in Control::show_modal () at scene/gui/control.cpp:2094
#18 0x000000000133f66c in Popup::popup_centered () at scene/gui/popup.cpp:160
#19 0x000000000133f883 in Popup::popup_centered_minsize () at scene/gui/popup.cpp:144
#20 0x0000000000c44af2 in EditorNode::load_scene () at editor/editor_node.cpp:3020
#21 0x00000000004ad620 in MethodBind1<String const&>::call () at core/method_bind.gen.inc:729
#22 0x0000000001cc87a6 in Object::call () at core/object.cpp:913
#23 0x0000000001ccd929 in Object::emit_signal () at core/object.cpp:1194
#24 0x0000000001cce4d0 in Object::emit_signal () at core/object.cpp:1239
#25 0x0000000000cb0e13 in SceneTreeEditor::_cell_button_pressed () at editor/scene_tree_editor.cpp:63
#26 0x00000000004abf44 in MethodBind3<Object*, int, int>::call () at core/method_bind.gen.inc:2151
#27 0x0000000001cc87a6 in Object::call () at core/object.cpp:913
#28 0x0000000001ccd929 in Object::emit_signal () at core/object.cpp:1194
#29 0x0000000001cce4d0 in Object::emit_signal () at core/object.cpp:1239
#30 0x0000000001370a04 in Tree::_gui_input () at scene/gui/tree.cpp:2516
#31 0x0000000000cf1ed7 in MethodBind1<Ref<InputEvent> >::call () at core/method_bind.gen.inc:729
#32 0x0000000001cc8419 in Object::call_multilevel () at core/object.cpp:747
#33 0x0000000001cc2941 in Object::call_multilevel () at core/object.cpp:853
#34 0x00000000011c096a in Viewport::_gui_show_modal () at scene/main/viewport.cpp:2380
#35 0x0000000001296bd1 in Control::show_modal () at scene/gui/control.cpp:2094
#36 0x000000000133f66c in Popup::popup_centered () at scene/gui/popup.cpp:160
---Type <return> to continue, or q <return> to quit---

(gdb) list
327		_FORCE_INLINE_ const TData *getptr(const TKey &p_key) const {
328
329			if (unlikely(!hash_table))
330				return NULL;
331
332			const Element *e = const_cast<Element *>(get_element(p_key));
333
334			if (e)
335				return &e->pair.data;
336

1fa9aac3e415f53a095e955c8a37000629d56dde fixes this too.

Ok


REFACTOR: st2reactor/container/utils needs some refactor love.

Sensor model creation code is all in container/utils.py. These should be moved to st2common/services/sensor.py just like triggers. This way container/utils.py is smaller and focuses on high level APIs.

Looks pretty refactored to me: https://github.com/StackStorm/st2/commit/a1d814dac2f7b1cda649906c37f89acef29c8485
Closing.


Accessing Kubernetes Resources from Federation Apiserver

Description
Accessing Kubernetes resources from federation apiserver feature enables users to be able to get all or a subset of all their resources from all their Kubernetes clusters under federation by talking to federation Apiserver. Note that users will be able to get all resources from underlying clusters, not just the ones which have a corresponding federation object.
The design doc is in progress will be uploaded soon
Progress Tracker

[ ] Alpha

[ ] Write and maintain draft quality doc

[ ] During development keep a doc up-to-date about the desired experience of the feature and how someone can try the feature in its current state. Think of it as the README of your new feature and a skeleton for the docs to be written before the Kubernetes release. Paste link to Google Doc: DOC-LINK

[ ] Design Approval

[ ] Design Proposal.  This goes under design-proposals.  Doing a proposal as a PR allows line-by-line commenting from community, and creates the basis for later design documentation.  Paste link to merged design proposal here: PROPOSAL-NUMBER
[ ] Decide which repo this feature's code will be checked into. Not everything needs to land in the core kubernetes repo. REPO-NAME
[ ] Initial API review (if API).  Maybe same PR as design doc. PR-NUMBER

Any code that changes an API (/pkg/apis/...)
cc @kubernetes/api

[ ] Identify shepherd (your SIG lead and/or<EMAIL_ADDRESS>will be able to help you). My Shepherd is<EMAIL_ADDRESS>(and/or GH Handle)

A shepherd is an individual who will help acquaint you with the process of getting your feature into the repo, identify reviewers and provide feedback on the feature. They are not (necessarily) the code reviewer of the feature, or tech lead for the area.
The shepherd is not responsible for showing up to Kubernetes-PM meetings and/or communicating if the feature is on-track to make the release goals. That is still your responsibility.

[ ] Identify secondary/backup contact point. My Secondary Contact Point is<EMAIL_ADDRESS>(and/or GH Handle)

[ ] Write (code + tests + docs) then get them merged.  ALL-PR-NUMBERS

[ ] Code needs to be disabled by default.   Verified by code OWNERS
[ ] Minimal testing
[ ] Minimal docs

cc @kubernetes/docs on docs PR
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
New apis: Glossary Section Item in the docs repo: kubernetes/kubernetes.github.io

[ ] Update release notes

[ ] Beta

[ ] Testing is sufficient for beta
[ ] User docs with tutorials
- Updated walkthrough / tutorial in the docs repo: kubernetes/kubernetes.github.io
- cc @kubernetes/docs on docs PR
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Thorough API review

cc @kubernetes/api

[ ] Stable

[ ] docs/proposals/foo.md moved to docs/design/foo.md
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Soak, load testing
[ ] detailed user docs and examples

cc @kubernetes/docs
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

FEATURE_STATUS is used for feature tracking and to be updated by @kubernetes/feature-reviewers.
FEATURE_STATUS: IN_DEVELOPMENT
More advice:
Design

Once you get LGTM from a @kubernetes/feature-reviewers member, you can check this checkbox, and the reviewer will apply the "design-complete" label.

Coding

Use as many PRs as you need.  Write tests in the same or different PRs, as is convenient for you.
As each PR is merged, add a comment to this issue referencing the PRs.  Code goes in the http://github.com/kubernetes/kubernetes repository,
and sometimes http://github.com/kubernetes/contrib, or other repos.
When you are done with the code, apply the "code-complete" label.
When the feature has user docs, please add a comment mentioning @kubernetes/feature-reviewers and they will
check that the code matches the proposed feature and design, and that everything is done, and that there is adequate
testing.  They won't do detailed code review: that already happened when your PRs were reviewed.
When that is done, you can check this box and the reviewer will apply the "code-complete" label.

Docs

[ ] Write user docs and get them merged in.
User docs go into http://github.com/kubernetes/kubernetes.github.io.
When the feature has user docs, please add a comment mentioning @kubernetes/docs.
When you get LGTM, you can check this checkbox, and the reviewer will apply the "docs-complete" label.

Assigning to myself as a proxy for @CindyXing, who I can't seem to assign to.

Closing in favor of https://github.com/kubernetes/features/issues/71


Research Blockchain

尚硅谷_以太坊简介
full-blockchain-solidity-course

The basic algorithm is essential for future coding.


Support for ODBC driver connection type

Resolves #104
Description
Add support for ODBC driver connections with Databricks via cluster specific path and sql endpoint path.

add pyodbc for using ODBC driver for connection
add driver and endpoint to profile config (cluster and endpoint are mutually exclusive, they determine how to connect to Databricks)
add integration and unit tests

because this connection method uses a driver, I created a new image with the driver installed for integration tests to use. TBD where this Dockerfile lives!

Note
At the time of writing this, the new SQL Endpoint does not support create temporary view. Also, extended is prohibited by the ODBC driver for some operations https://github.com/fishtown-analytics/dbt-adapter-tests/pull/8

FYI removing myself from review, but this looks chefs-kiss.jpeg


Introduce API to change DebugSession.name

We would like to introduce API such that the Extensions can change the name of a DebugSession.
Our proposal is that we make the debugSession.name no longer readonly, but that it can be changed by extensions.
We also thought about constraining the name setter only to the extension which provides the debugger type for this DebugSession but we are not convinced this is needed.
Motivation for this: https://github.com/microsoft/vscode/issues/79583
PR for hits: https://github.com/microsoft/vscode/pull/80122

Tackled via https://github.com/microsoft/vscode/pull/80122


Feature Request: Select which relays you want to see in the global feed

In the currently deployed version of Snort, I'm only able to read the global feed from a few specific relays. I'd like to be able to choose which ones are used to populate the global feed and not be restricted to a specific set that someone else have selected for me.

Global feed selector only shows your relays which are paid relays, i could change it to a hard coded list of paid relays?

Honestly, I'd just want to be able to select/deselect which relays I want to use for the global feed. E.g. my own relay wss://nostr.oxtr.dev isn't paid but I might want to only populate the global feed with that relay + one or more of my paid relays.
What about defaulting to the user's paid relays as you do today but also let the user select/deselect which relays they want to use in the global feed?

Implemented


fix: Services::request() should call AppServices instead static

CodeIgniter\Config\Services::request() should return Config\Services::incomingrequest() instead of static::incomingrequest() to allow override the IncomingRequest
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@pjsde Thank you!


feat(youtube)

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

🚀 Styleguide deploy preview ready!https://6706ca807e45d92a9ddc933c--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@57.3.4-alpha.f25878.0@codecademy/gamut-kit@0.6.448-alpha.f25878.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://670d29d670908bfc8ad74fa1--gamut-preview.netlify.appDeploy Logs


[consul-template] missing client token when container doesn't run as root

Describe the bug:
I try to deploy Grafana with psp, but I have an error in consul-template container
2021-08-18T15:24:40.688Z [WARN] (view) vault.read(secrets/grafana/temp): vault.read(secrets/grafana/temp): Error making API request.

URL: GET https://vault.vault:8200/v1/secrets/grafana/temp
Code: 400. Errors:

* missing client token (retry attempt 5 after "16s")

I had to rewrite the rbac because grafana psp doesn't allow SYS_PTRACE capabilitie.
from what I noticed, Grafana doesn't run as root and seems that's why it doesn't work because consul-template with with the same user id instead of 100 (consul-template user). the token is stored in consul-template user so that's why he can't retrieve it.
an application running under root:
application=> 0 (root)
consul-template => 100 (consul-template)
an application running under user:
application => 475 (grafana)
consul-template => 475 (unknown user)
Expected behaviour:
A concise description of what you expected to happen.
Steps to reproduce the bug:
Deploy grafana with pod security policy
Environment details:

Kubernetes version (e.g. v1.10.2): v1.21.3
Cloud-provider/provisioner (e.g. AKS, GKE, EKS, PKE etc): On premise
bank-vaults version (e.g. 0.4.17): 1.13.1
Install method (e.g. helm or static manifests): helm
Logs from the misbehaving component (and any other relevant logs):
Resource definition (possibly in YAML format) that caused the issue, without sensitive data:

values.yaml:
podAnnotations:
  vault.security.banzaicloud.io/vault-addr: "https://vault.vault:8200"
  vault.security.banzaicloud.io/vault-role: "grafana"
  vault.security.banzaicloud.io/vault-skip-verify: "true"
  vault.security.banzaicloud.io/vault-ct-configmap: grafana-admin-password

rbac:
  create: true
  useExistingRole: grafana-priv-rb
  pspEnabled: false

rbac.yaml (unsecured):
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: grafana-priv-role
  namespace: monitoring
rules:
  - apiGroups: ["extensions"]
    resourceNames: ["privileged"]
    resources: ["podsecuritypolicies"]
    verbs: ["use"]
  - apiGroups: [""] # "" indicates the core API group
    resources: ["configmaps", "secrets"]
    verbs: ["get", "watch", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: grafana-priv-rb
  namespace: monitoring
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: grafana-priv-role
subjects:
  - kind: ServiceAccount
    name: kube-prometheus-stack-grafana
    namespace: monitoring
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: privileged
  annotations:
    seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
spec:
  privileged: true
  allowPrivilegeEscalation: true
  allowedCapabilities:
  - '*'
  volumes:
  - '*'
  hostNetwork: true
  hostPorts:
  - min: 0
    max: 65535
  hostIPC: true
  hostPID: true
  runAsUser:
    rule: 'RunAsAny'
  seLinux:
    rule: 'RunAsAny'
  supplementalGroups:
    rule: 'RunAsAny'
  fsGroup:
    rule: 'RunAsAny'

/kind bug

When the container doesn't run as root, consul-template take the same and group id...
if fix my problem by modifying the consul-template dockerfile and update line 21 & 22 with the right ID


Nuget package out of date

Just curious if there is any particular reason that the develop branch which supports the latest cake tools 0.30 is not pushed to master currently?
the current nuget package is targeting netcore 1.x anyway we could get this pushed to nuget public feed
if there are bugs still i understand ,  just kind of anxious to use the latest build

It's currently avail on MyGet
https://www.myget.org/feed/cake/package/nuget/Cake.Frosting/0.30.0
Targeting  .NETFramework 4.6.1 and .NETStandard 2.0

awesome thanks !

@clmcgrath Frosting now up to date with just released version 0.31.0 of Cake
https://www.nuget.org/packages/Cake.Frosting/0.31.0

awesome :D


Emit header for gRPC messages

gRPC connections currently don't have enough information in the request for us to do efficient traffic management/routing.
Will you add a header that allows for us to optimize for this on the server? The header format is:
name: google-cloud-resource-prefix
value: projects/my-project-id

In general, the prefix would be the same as the JSON-over-http URL up to any custom method. For example, a Cloud Datastore commit message over JSON would hit the url projects/my-project-id:commit.
Here is an example usage in the cloud-bigtable-client: https://github.com/GoogleCloudPlatform/cloud-bigtable-client/pull/915/files#diff-1078787e69bc1d7c5bb8507f0a87a143R83

The bigtable client is already doing this as of:
https://github.com/GoogleCloudPlatform/gcloud-golang/commit/4f1a5ca1c906ba5ff5ff9fba3bee49d526a8d03f

Awesome! Can we add it for Cloud Datastore too?

@jba or @okdave can probably weigh in on that.

I don't see any problem with it.
I'd suggest @adams-sarah for Datastore. Do you care about the other clients?

I care mostly about Datastore (but am biased). I think this will be generally useful for all the services.

SGTM. @shantuo, do you want to take this one?
If not I'm happy to implement.


An unauthorized request was made

root@server:~/proxyscotch/out/linux-server# ./proxyscotch-server-linux-amd64-v0.1.1 --host="<IP_ADDRESS>:9159" --token="XXXX"
2023/11/16 06:30:19 Starting proxy server...
2023/11/16 06:30:19 [ready=true] Listening on http://<IP_ADDRESS>:9159/
2023/11/16 06:30:24 An unauthorized request was made.
2023/11/16 06:31:48 An unauthorized request was made.

My first time setup proxyscotch. How can i ensure that my request was authorized from hoppscotch.io ? i have been getting this error and not sure how to plug in the token value on the hoppscotch.io web. When I removed the token its working fine though. Sorry cause not that familiar with proxyscotch.

It seems for some reason that the main Hoppscotch application has removed support for specifying the access token for the server. A ticket needs to be made over there (https://github.com/hoppscotch/hoppscotch) to re-add support.

ok sure. thanks for your fast reply. will close this issue for now.


How to use differing values and value labels for select box?

💬 Question
Hello,
nice work with the framework, I really like it. Question though: How can I use a different value (different from the text prop) for select boxes?
Inside the typings I didn't find any clue to what that field would be?
So basic example, option 1 in a select box holds the value en but I want to display English to the user. How can I do that?
UI Kitten and Eva version

Package
Version

@eva-design/eva
1.4.0

@ui-kitten/components
4.4.1

@JohannesKlauss thanks for the meaningful question. However, I guess this is not possible within this version, but I thought about this in v5 #914

Ah okay, thx for the fast reply. Any idea when the v5 will be released? The framework is super handy, but working with select boxes is very fiddly right now.

@JohannesKlauss we don't know yet. The truth is that the team is currently focused on other products and there is not enough time to make a good code review to avoid publishing "as is".


[v4-alpha] display-* not documented

.display-{N} class as in:

Hello!

is not documented at https://v4-alpha.getbootstrap.com/.

My bad. Found it.


Update index.md

Made correction to explanation types and links

@JohanFreelancer9 Please copy review

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3994

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3994


[iOS] Background music is stopped

Expected behaviour
I want to play the asset audio with ocarina library without stoping background music (e.g. Spotify)
Actual behaviour
The background music is currently stoped and even does not restart after playing the audio from ocarina.

To play things in background, you will need to use some type of background service. That is out of scope of this package, to do something like that, I suggest checking audioplayers which is a package with a larger feature set.


Does this work?

Hi!
Is there a Readme for this project?
What functionality does it have?
Do you have any instructions for getting it installed?
Project looks super awesome!
Thanks!

Hi, this is a side project that I recently started working on.  It's not in a usable state yet.
I don't have immediate plans to add trading functionality to this system.  The goal right now is just to be able to see your current investments and watchlists on the browser instead of having to use the phone app.


Adding AstraDB as a DocumentStore

This is the PR discussed with Masci and Tuana which adds Astra using the JSON API as a DocumentStore for Haystack built for Haystack 2.0.
All unit tests passing.
Working examples.
Looking forward to feedback. :-) --Nick

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: mounaTay:x: anomnaco:x: ElenaKusevskaYou have signed the CLA already but the status is still pending? Let us recheck it.

@hc33brackles By the way, in order to run the other CI steps, the Contributor License Agreement needs to be signed by all contributors. You can find the check above: https://github.com/deepset-ai/haystack-core-integrations/pull/144#issuecomment-1867779127

@julian-risch - we are still responding to some comments but all contributors have signed!

@julian-risch We just pushed all the needed fixes and added our CI work as well.
Please let us know if you think we should add more changes to this PR
An FYI about the CI, it requires setting some git secrets to be able to connect to the datastax's database

Mouna is working on the linting issues, but there might be something more underlying with the way we changed the astra secrets to be handled is causing some of the errors in the python components. @julian-risch - I think if you input the ASTRA_DB_APPLICATION_TOKEN and ASTRA_DB_ID to the test repo as repo secrets these tests will pass.


Temporary fix of pyrun that failed to install setuptools.

Summary

Fixes #401
The new release of install-pyrun.sh is creating an issue when building the KA-Lite OS X installer.
To fix this issue I use the older version of eGenix PyRun prior to the latest release.

Screenshots

I base the older versions of eGenix pyrun  here
The older versions of eGenix PyRun prior to the latest release is Version 2.2.0

@arceduardvincent Your hotfix branch came from upstream/master which has some diffs with upstream/0.16.x.
Please branch-out from upstream/0.16.x, do your fix in a hotfix branch, push it to origin, then make another PR targeting upstream/0.16.x.
Closing this now.


chore(stream): separate identity and logical operator info

What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
As the title suggests, we should keep identity as the simple name with its executor id. This is used in span name.
We also have logical operator info for all the executors. This info gets logged by the schema check executor when the error occurs.
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Refer to a related PR or issue link (optional)

We miss this after refactoring to executor v2. 😢

Your long-term memory is so good, my dear archaeologist


Internet Access

Hello, why this app needs "Full Network Access" permission?  (according to F-Droid)

The app doesn't need internet access as you can see here (https://github.com/jenspfahl/BDT/blob/master/android/app/src/main/AndroidManifest.xml). I assume a Flutter plugin i import adds this to the merged apk. I'll remove this permission from the built apk permanently with the next release.

Great !
It shocked me when I saw this permission on F-Droid.

Fixed with V1.2.1


Add Kleomedes to FetchHub

The operator info has moved to https://github.com/eco-stake/validator-registry now - would you mind submitting your update there instead :)


"global" is not defined in vite and not browser friendly.

[x] Review the documentation: https://docs.clerk.com/
[x] Search for existing issues: https://github.com/clerkinc/javascript/issues
[x] Go through package changelog files.
[x] Provide the Frontend API key from your application dashboard.

Package + Version

[ ] @clerk/clerk-js
[x] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore
[ ] other:

Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
Include the @clerk/ packages and their versions!*
Example:
"dependencies": {
    "@clerk/clerk-react": "^4.14.1",
    "@clerk/themes": "^1.5.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.10.0"
  },
  "devDependencies": {
    "@types/node": "^18.15.11",
    "@types/react": "^18.0.28",
    "@types/react-dom": "^18.0.11",
    "@types/react-router-dom": "^5.3.3",
    "@vitejs/plugin-react-swc": "^3.0.0",
    "autoprefixer": "^10.4.14",
    "postcss": "^8.4.21",
    "tailwindcss": "^3.3.1",
    "typescript": "^4.9.3",
    "vite": "^4.2.0"
  }

Browser/OS
If applicable e.g. Chrome {version}, Node {version} , Bun {version} , Cloudflare worker {version}
Description
Describe your issue in detail, a demo repository or a sandbox would be great.
"global" is not defined in vite's development environment(yarn dev).
my vite app(react with ts + SWC) throws an error saying

isomorphicClerk.js:494
Uncaught (in promise) Error: Failed to download latest ClerkJS. Contact<EMAIL_ADDRESS>at IsomorphicClerk.loadClerkJS (isomorphicClerk.js:494:27)

For some reason it works fine on a production build(yarn preview)

Hello @mind0bender, thanks for the report. This is fixed in<EMAIL_ADDRESS>more details can be found in https://github.com/clerkinc/javascript/issues/1027
Closing this one but feel free to reopen if you hit any issues :)


Update crosspost.py

The filesize limit is 8MiB, not 8MB. And it changes when the server is boosted.
We also use getbuffer() instead of getvalue(), as the latter copies the entire contents as a bytestring.

okey dokey

artichoking on deez nuts


More detailed usage of SV tasks

I refer to the README for SV task training using Wavlm as the upstream.
The usage of this Demo is to train on vox1's Dev and test it on vox1's Test.
I would like to ask what if I want to train on VOX2 and test the results of ERR on VOX1?

Hi,
For the old codebase in s3prl/downstream, this is not possible.
However, recently we release the new codebase and its documentation.
In the new codebase I believe you can easily change the data for a task, so you can follow the doc here and prepare your own csv files (train/test).
Also see here for how to customize this behavior.

We just released this new version and not yet sure about how clear our doc is. Feel free to let us know if anything is unclear or contributing the doc via PR. Thanks!


filter method getFieldAsync does return 401 on super store example

Description
I have faced an issue where I wanted to get the field that was used for a filter. For this I found in the API reference this method getFieldAsync(). But instead of returning the field object, I always get unauthorized response, even though everything else from the API does work.
What I am using
Workbook: SuperStore - Shipping
My implementation
export async function getColumnRoles(worksheet: Worksheet): void {
  let metaInfo: any = {};
  const filters = await worksheet.getFiltersAsync();
  console.log(filters);
  // This gives me the error
  console.log(await filters[0].getFieldAsync());
}

Request (simplified)
Request URL: [...]/w/Superstore/v/Shipping/sessions/A3093F7D1A1D4B409E9D8146FC983557-0:0/commands/tabdoc/get-datasource-pres-model
Request Method: POST
Status Code: 401
Remote Address: [...]
Referrer Policy: strict-origin-when-cross-origin

My goal in the end is to find out whether the filter is assigned to a field which is a dimension or measure

Hello @LingVuDev
We have recently found and fixed an issue with Filter.getFieldAsync(). It will be fixed in our upcoming 1.5 version of the extension library (coming in Q2).  Meanwhile, the only work-around would be to use Filter.fieldId, and look up the field in DataSource.fields. From that field, you can get the role.
John

Still getting a 401 on the latest extension version 1.5.0. I am using exactly this code snippet:
const worksheets = await tableau.extensions.dashboardContent.dashboard.worksheets.forEach(
    async (worksheet: Worksheet) => {
      const filters = await worksheet.getFiltersAsync();
      filters.forEach(async (filter) => {
        const field = await filter.getFieldAsync();
        console.log(field);
      })
    },
  );

Still getting a 401 on the latest extension version 1.5.0. I am using exactly this code snippet:
const worksheets = await tableau.extensions.dashboardContent.dashboard.worksheets.forEach(
    async (worksheet: Worksheet) => {
      const filters = await worksheet.getFiltersAsync();
      filters.forEach(async (filter) => {
        const field = await filter.getFieldAsync();
        console.log(field);
      })
    },
  );

Hello,
I have the same issue and I cannot use your workaround @johnDance because what I want is to retrieve the datasource from the field object.
Indeed, using Worksheet.getDatasourcesAsync() is way too long to execute when I just want to retrieve one precise datasource name.

@LingVuDev
I am sorry for the delay. We converted to a new mail client, and messages got buried.
We have duplicated the issue on server. It will be fixed in the October maintenance releases of Tableau server.
Thanks for your patience.
John

@LingVuDev
Actually... September maintenance releases. It should be fixed in 2020.4.9, 2021.1.6, 2021.2.3, 2021.3.1
Thanks again,
John

There was a security update to 2021.3, so the maintenance releases that this is fix in are now:
2020.4.9, 2021.1.6, 2021.2.3, 2021.3.2, and online

Closing as fixed.


Add a button for adding new encrypted snippet

Maybe we can add it to the folder context button.

Or we can consider holding the add snippet button:


Output type parameter default values

Since this PR was merged typedoc supports default values for type parameters. So why not show them in the docs?
The format is simply:
* A = TheType

with A being the type parameter and TheType the default type for that parameter and it looks like this:

I'm open for better ideas though.

Thanks!


NEW Configurable file version prefix

Numbers are often used at the end of file names in image sequences (e.g. digital photos) and the current renaming scheme can disrupt this, creating a confusing situation for the user. A configurable file version prefix should help prevent this.

Filename
Old result
New result

IMG001.jpg
IMG2.jpg
IMG001-v2.jpg

Note: this is a version of #4241 for master which introduces a default value of '-v'.

Thanks @jonom :D I've been noticing you've been doing some good work lately; It's well appreciated!

My pleasure


Move fonts to a separate repo

As discussed in #632, we'd like to move fonts to their own separate repo so that we can keep the size of this repo small.

This probably doesn't matter any more, but I believe the eot syntax for old IE versions is not quite right. It currently is (e.g.):
src:url(fonts/KaTeX_AMS-Regular.eot#iefix) format('embedded-opentype')
However, the "iefix" should actually involve a query string (anything after that doesn't really matter), and would be better as:
src: url(/includes/cssjs/katex/fonts/KaTeX_AMS-Regular.eot?#iefix) format('embedded-opentype')
See the following for why: http://blog.fontspring.com/2011/02/the-new-bulletproof-font-face-syntax/

I've created a new repo for our fonts at https://github.com/KaTeX/katex-fonts.


Thanks for the awesome code snippet first! But if we do anything specially Update UI after the connectPeripheral Call in didDisconnectPeripheral, we don't get Reconnected with the Peripheral when Peripheral comes back in range.

This project isn't really intended as a "best practice" on using Core Bluetooth.  It is just something that I put together 3 years ago for a quick test.
In particular, this project implements the CBCentralManagerDelegate methods in the view controller; this is a bad idea.  These methods should be in their own class.
This, more recent project, is a better example of using Core Bluetooth; it supports state restoration and uses a Bluetooth Manager class - https://github.com/paulw11/BTMonitor

Thanks, actually I need to ask something: you were trying to reconnect in
your previous sample code (BTBackground) after your connection has been
disconnected and now in (BTMonitor https://github.com/paulw11/BTMonitor)
you are searching for the peripheral again after the disconnection. Whats
the difference?? and I read in Apple documentation that there is no request
timeout for "reconnect commnad". what about  scanForPeripherals??  does
scanForPeripherals also have no request timeout like
connectPeripheral??
On Fri, Aug 18, 2017 at 3:27 AM, Paul Wilkinson<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/paulw11/BTBackground/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulw11/BTBackground/issues/1#event-1211007895, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJheajS9Kr89kwA0S9iygqhv7yyWG2xVks5sZL5XgaJpZM4O6di8
.

in My application I need to first update the UI (if application is in
foreground and connection gets disconnected due to BLE out of range) and
then connect to BLE when back in range. and if application is in background
and connection gets disconnected due to BLE out of range, I first need to
fire a local notification to tell the user that connection has disconnected
and then try for reconnection.
The issues is : WE CAN'T DO THAT (UI UPDATE + RECONNECTION / NOTIFICATION
FIRE + RECONNECTION)  TOGETHER.
IF JUST CALL FOR RECONNECTION, WE GETS CONNECTED. BUT IF UPDATE UI OR FIRE
LOCAL NOTIFICATION THEN WE DON'T GET CONNECTED.
NEED HELP
On Fri, Aug 18, 2017 at 11:05 AM, Raja Ji<EMAIL_ADDRESS>wrote:

Thanks, actually I need to ask something: you were trying to reconnect in
your previous sample code (BTBackground) after your connection has been
disconnected and now in (BTMonitor https://github.com/paulw11/BTMonitor)
you are searching for the peripheral again after the disconnection. Whats
the difference?? and I read in Apple documentation that there is no request
timeout for "reconnect commnad". what about  scanForPeripherals??  does
scanForPeripherals also have no request timeout like
connectPeripheral??
On Fri, Aug 18, 2017 at 3:27 AM, Paul Wilkinson<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/paulw11/BTBackground/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulw11/BTBackground/issues/1#event-1211007895, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJheajS9Kr89kwA0S9iygqhv7yyWG2xVks5sZL5XgaJpZM4O6di8
.

These two bits of code were designed to test different scenarios.  The BTMonitor code was a proof-of-concept for a client that wanted to perform long-term scanning in the background rather than maintaining a connection.  To maintain a connection you can just call connect in didDisconnect.  As far as posting a local notification when you get a disconnection or updating the UI there is no reason why you can't do this.  You would need to provide more information.  I suggest you ask a question on Stack Overflow with your code and a description of the problem

BTW which approach is better? long-term scanning OR maintaining a connection??
and which one has long running request timeout ?? and does it affect running the Central manager on main thread or background thread?

It depends what you want to do.  The client in this case wanted to be able to connect to a peripheral advertising a particular service, even if that peripheral hadn't been seen before; so scanning for the service was required.  If you want to maintain a connection to a specific peripheral then reconnecting is the right approach.  Both methods are supported but you need to opt-in to state restoration for really long-term operations.  Long term operations are not affected by the queue you use.


Out of the box test coverage is not 100%

I love this as a starting point for React apps, but I am puzzled by one thing...Having Jest and test coverage built in is awesome, but why isn't coverage 100% out of the box?
If I run the test coverage report, I see:
[Thu Jan 12 11:29:25] fb $ npm test -- --coverage

><EMAIL_ADDRESS>test /Users/rob/repos/fb
> react-scripts test --env=jsdom "--coverage"

 PASS  src/App.test.js
  ✓ renders without crashing (18ms)

----------|----------|----------|----------|----------|----------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
----------|----------|----------|----------|----------|----------------|
All files |       50 |      100 |      100 |       50 |                |
 App.js   |      100 |      100 |      100 |      100 |                |
 index.js |        0 |      100 |      100 |        0 |              1 |
----------|----------|----------|----------|----------|----------------|
Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.137s
Ran all test suites.

It'd be great to start folks off with 100% tested code - no matter how trivial the index.js file is =)

Does index.js even have any exports?

It doesn't - but it seems like if code coverage is something that is a huge benefit, it'd be great to start folks off with 100% coverage. For the life of me, all the googling I did regarding Jest and configuration options didn't seem to matter one bit for this.

Thanks for the issue! I understand where you're coming from, but in real apps the goal of 100% test coverage is often unrealistic and encourages people to create brittle tests that aren't very useful.
I think it’s fine to leave this as is, but I appreciate your opinion.

@TheRobBrennan -
You can exclude index.js from coverage reporting.
I remedied the problem by adding
"jest": {   "coveragePathIgnorePatterns": ["<rootDir>/src/index.js"] }
https://facebook.github.io/jest/docs/configuration.html#coveragepathignorepatterns-array-string

@wasifhyder thanks, this looks promising. This isn't working for me though. I added what you mentioned above in package.json, and I'm running react-scripts test --env=jsdom --coverage, yet index.js is still brought up (with 0 coverage). Did you run it differently?

I'm experiencing the same issue. I can't tell if these Jest configs work on an unejected app at all...

@sebastienbarre, @thecristen
I did this after ejecting react. Haven't tried without ejecting, so can't say for sure how this will behave.

Coverage collection is configurable in the next version.
https://github.com/facebookincubator/create-react-app/pull/1830

Please help beta test the new version that includes this change!
https://github.com/facebookincubator/create-react-app/issues/2172


Country versus Worldwide discrepancy

I actually discovered your site by accident while browsing the web, and noticed a discrepancy in the rankings. Apparently, I am the most active user in Belgian (makes me wonder what I have done so far with my life 😉), while at the same time I am not being ranked in the Worldwide table.
This seems kind of odd given the fact that I am not an astronaut (yet) and given the minor difference between the corresponding search queries. The (pseudo) search query for Belgium is basically the same as the (pseudo) search query for Worldwide with the exception of an additional filter.

Yup, looks like you have some 32 which likely means your account won’t make it past the initial filter (sort by followers). This sorting by followers is necessary, since unfortunately the GitHub API doesn’t allow sorting by number of contributions. The reasoning being that people who have many followers are more likely to have many contributions as well.


Seq sort evaluated immediately.  Is this Intended behavior?

What happened
Calling sort on a Seq evaluated the Seq immediately even though I expect it to not evaluate until the Seq is actually used.
How to reproduce
When I run:
Seq([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).filter(x => {
  console.log('filtering');
  return x >= 5;
});

I see no output, which is expected behavior.  However, when I append a .sort() after the filter call:
Seq([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).filter(x => {
  console.log('filtering');
  return x >= 5;
}).sort();

I receive the following output:
filtering
filtering
filtering
filtering
filtering
filtering
filtering
filtering
filtering
filtering

Is this intended behavior?  If so, do you have any suggestions for combining sort functions with lazy evaluation?

Seq is lazy.
therefore the first scrip does not perform any work, because the resulting Seq is never used.
however in the second script, the first resulting Seq(filter method) will be uesd in sort method, so you will see filtering string was printed ten times.

sort() is always an eager operation (much like groupBy()) - I've added this to the documentation


 U: .

 U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2349/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 51s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 28s
master passed

+1 :green_heart:
mvnsite
12m 34s
master passed

+0 :ok:
refguide
6m  4s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 11s
the patch passed

+1 :green_heart:
mvnsite
12m 34s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
6m 27s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

48m 49s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2349/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2349

JIRA Issue
HBASE-24980

Optional Tests
dupname asflicense refguide mvnsite

uname
Linux 0c632cc8fadc 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a352706700

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2349/1/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2349/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
89 (vs. ulimit of 12500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2349/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


bug: seeing "biolink:null" for node categories

The ARS results for query D.1 are here (from asyncquery): https://arax.ncats.io/?r=99419778-90df-4d55-b6f5-e1f78ec2bfd2 (screenshot 1 below).  The BTE result fails TRAPI 1.2 validation because it contains nodes with biolink:null for some node categories (screenshot 2 below).  Full results should be able to be downloaded here: https://arax.ncats.io/api/arax/v1.2/response/99419778-90df-4d55-b6f5-e1f78ec2bfd2
Screenshot 1:

Screenshot 2:

I'm also wondering if something is off with the logic for setting the category (if this ID doesn't return a semantic type from SRI ID resolver, I thought it was supposed to use the semantic type of the operation it came from).
But also...
something is odd with the edges for these nodes as well...

examples of Ids involved. I think this is coming from some API that's using odd IDs...
BFO:0000001
BFO:0000002
OGMS:0000031

I believe this is a sporadic issue or an issue with the prod instance, since I ran the query just now on a local instance and didn't have an issue...

currently not seeing. Closing this issue


Bug: Polygon error. If number of key point over 118, last point will be missing

My code is in below, please run my code first and read this simple code description.
I made 'my_list' list object that contains 236 elements.
Elements with odd index mean x coordinate, when even index for y coordinate.
'polygon_list' has 118 tuples which mean 118 keypoints for polygon.
When I made 'my_pol' Polygon object, and print it,
I only has 117 points. Last point that (320,787) was missing.
Did I make mistake?
Thanks.
This is my code,
from imgaug.augmentables.polys import Polygon, PolygonsOnImage
cnt = 0
my_list = [320.0, 787.5, 284.0, 787.5, 260.0, 781.5, 233.0, 779.5, 227.5, 771.0, 228.5, 762.0, 233.5, 756.0, 231.0,
742.5, 227.0, 747.5, 220.0, 749.5, 210.0, 749.5, 201.0, 743.5, 196.0, 748.5, 181.0, 748.5, 169.0, 744.5,
148.5, 725.0, 141.5, 707.0, 132.0, 705.5, 122.0, 699.5, 107.5, 680.0, 107.5, 671.0, 115.0, 661.5, 136.0,
648.5, 152.0, 645.5, 153.5, 638.0, 164.0, 631.5, 176.0, 616.5, 204.5, 593.0, 206.5, 588.0, 203.0, 571.5,
196.0, 578.5, 187.5, 575.0, 187.5, 571.0, 195.5, 562.0, 195.5, 557.0, 186.0, 545.5, 157.0, 549.5, 149.5,
542.0, 151.5, 528.0, 144.5, 510.0, 144.5, 493.0, 132.5, 455.0, 129.5, 418.0, 132.5, 374.0, 118.5, 316.0,
109.5, 298.0, 103.5, 267.0, 97.5, 256.0, 92.5, 235.0, 93.5, 218.0, 110.5, 188.0, 136.0, 163.5, 144.5,
161.0, 140.0, 159.5, 133.5, 150.0, 134.5, 129.0, 127.0, 126.5, 112.5, 108.0, 112.5, 101.0, 116.5, 95.0,
115.5, 75.0, 119.5, 70.0, 119.5, 59.0, 146.0, 30.5, 166.0, 22.5, 190.0, 23.5, 215.0, 30.5, 246.5, 65.0,
247.5, 107.0, 253.5, 124.0, 250.5, 159.0, 244.0, 166.5, 226.0, 173.5, 221.5, 181.0, 232.0, 183.5, 245.5,
193.0, 272.5, 237.0, 291.5, 257.0, 299.5, 270.0, 303.5, 284.0, 303.5, 304.0, 299.5, 324.0, 291.5, 341.0,
313.5, 397.0, 324.5, 416.0, 335.5, 428.0, 333.5, 443.0, 322.5, 455.0, 330.5, 491.0, 338.5, 508.0, 337.5,
516.0, 333.0, 519.5, 324.0, 519.5, 320.5, 529.0, 321.5, 539.0, 330.5, 555.0, 331.5, 571.0, 323.5, 583.0,
297.5, 605.0, 292.0, 617.5, 270.5, 621.0, 269.5, 634.0, 274.5, 651.0, 269.5, 657.0, 267.5, 672.0, 268.5,
693.0, 280.5, 727.0, 288.0, 729.5, 296.0, 741.5, 303.0, 741.5, 309.0, 736.5, 317.0, 737.5, 333.0, 755.5,
341.0, 756.5, 346.5, 763.0, 346.5, 768.0, 339.0, 778.5, 320.0, 787.5]
polygon_list=[]
###################
#loop part
###################
for i in range(int(len(my_list)/2)):
x = my_list[cnt]
y = my_list[cnt+1]
tmp = (int(x), int(y))
polygon_list.append(tmp)
cnt+=2
###################
my_pol = Polygon(polygon_list)
print(polygon_list)
print(my_pol)

Polygons are in imgaug by definition always closed and hence don't require a last point that is identical to the first point. If the last point is (almost) identical to the first point, it is automatically removed. The e.g. drawing functions will still draw the polygon in closed form.

Polygons are in imgaug by definition always closed and hence don't require a last point that is identical to the first point. If the last point is (almost) identical to the first point, it is automatically removed. The e.g. drawing functions will still draw the polygon in closed form.

Thanks to reply my question. My problem solved.


Fix #134 . Missing current_item reset during reset_changed_item_counts.

Reset of the buffer was missing an attribute reset.
Locally unit tested with addition of a  despawn/spawn system in 2d/sprite.rs
Tested against my local code using bevy that was failing before.

Reset of the buffer was missing an attribute reset.
Locally unit tested with addition of a despawn/spawn system in 2d/sprite.rs
Tested against my local code using bevy that was failing before.

fn spawn_cube(
    mut commands: Commands,
    mouse_input: Res<Input<MouseButton>>,
    mut meshes: ResMut<Assets<Mesh>>,
    mut materials: ResMut<Assets<StandardMaterial>>,
){
    if mouse_input.pressed(MouseButton::Left) {
        commands.spawn(PbrComponents {
            mesh:meshes.add(Mesh::from(shape::Cube {size:0.5})),
            material: materials.add(Color::rgba(0.5, 0.5, 0.5, 0.8).into()),
            translation: Translation::new(0.0, 2.0, 0.0),
            ..Default::default()
        })
        .with(Flyable::default())
        .with(CouldDespawn);
    }
}
fn despawn_cube(
    mut commands: Commands,
    mouse_input:Res<Input<MouseButton>>,
    mut cubes:Query<With<CouldDespawn,Entity>>,
) {
    for cube in &mut cubes.iter() {
        if mouse_input.pressed(MouseButton::Right) {
            commands.despawn(cube);
        }
    }
}

I tested my code and Despawn didn't really crash, but Spawn didn't add Cube properly

@YRainbbbb  I have added your spawn and  despawn system to the 3d/3d_scne.rs example and the spawn and despawn continously work properly after with fix.

#135 is similar as #134 but @katis code no more spawn but does behave as I would expect, perhaps similarly as @YRainbbbb said.
The fix is probably not enough. I'll work on it.


Run locally

I've built all the containers successfully.
But I've NO idea how to run them.
Any tip?

Hi @g30ba1 , you can find the run instructions on NGC.  For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hi @g30ba1 , you can find the run instructions on NGC. For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hello @dusty-nv,
I can run the container at localhost:8888 however all my saved work gets lost the next time I access the same. Seems like no checkpoint is saved when I save my jupyterlab files. Do you know why this may be happening?
Thanks!

Hi @g30ba1 , you can find the run instructions on NGC. For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hi Dusty, thank you for your time.
I found that if we re-built the containers, the command to run is:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/Documents/Projects:/home l4t-tensorflow:r32.4.2-tf1.15-py3
(-v flag indicates that we will be working on a local folder)
NGC containers are a nice tool to get an environment as quickly as possible.

Hi @g30ba1 , you can find the run instructions on NGC. For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hello @dusty-nv,
I can run the container at localhost:8888 however all my saved work gets lost the next time I access the same. Seems like no checkpoint is saved when I save my jupyterlab files. Do you know why this may be happening?
Thanks!

You must use the -v flag to WORK on a local folder while using the container, i.e.:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/Documents/Projects:/home l4t-tensorflow:r32.4.2-tf1.15-py3
If you are suing the container published on Nvidia´s NGC, the command is:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/project:/location/in/container nvcr.io/nvidia/l4t-ml:r32.4.2-py3
To use a local folder, you can use any path existent on your local machine (host), or you can create the folder while you´re INSIDE the container.

Hi @g30ba1 , you can find the run instructions on NGC. For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hello @dusty-nv,
I can run the container at localhost:8888 however all my saved work gets lost the next time I access the same. Seems like no checkpoint is saved when I save my jupyterlab files. Do you know why this may be happening?
Thanks!

You must use the -v flag to WORK on a local folder while using the container, i.e.:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/Documents/Projects:/home l4t-tensorflow:r32.4.2-tf1.15-py3
If you are suing the container published on Nvidia´s NGC, the command is:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/project:/location/in/container nvcr.io/nvidia/l4t-ml:r32.4.2-py3
To use a local folder, you can use any path existent on your local machine (host), or you can create the folder while you´re INSIDE the container.

Thank you Jorge. I can use a local folder to save my scripts, notebooks however I am wondering how to keep the changes I make to the whole container image. Let's say I install new dependencies, libraries on top of existing default ones. Will I have to create a new container image?

Hi @g30ba1 , you can find the run instructions on NGC. For example:
https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml
sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.4.2-py3

Hello @dusty-nv,
I can run the container at localhost:8888 however all my saved work gets lost the next time I access the same. Seems like no checkpoint is saved when I save my jupyterlab files. Do you know why this may be happening?
Thanks!

You must use the -v flag to WORK on a local folder while using the container, i.e.:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/Documents/Projects:/home l4t-tensorflow:r32.4.2-tf1.15-py3
If you are suing the container published on Nvidia´s NGC, the command is:
sudo docker run -it --rm --runtime nvidia --network host -v /home/user/project:/location/in/container nvcr.io/nvidia/l4t-ml:r32.4.2-py3
To use a local folder, you can use any path existent on your local machine (host), or you can create the folder while you´re INSIDE the container.

Thank you Jorge. I can use a local folder to save my scripts, notebooks however I am wondering how to keep the changes I make to the whole container image. Let's say I install new dependencies, libraries on top of existing default ones. Will I have to create a new container image?

I figured out. The below link explains it.
https://docs.nvidia.com/deeplearning/frameworks/user-guide/index.html

Nice find! I'm already reading it.
Regarding your question, yes, you have to re-built an image, to add libraries, dependencies or any other requirements for your projects.

Nice find! I'm already reading it.
Regarding your question, yes, you have to re-built an image, to add libraries, dependencies or any other requirements for your projects.

I also read the whole thing to learn but I found the answer to my question in Section 10.1.4.


Schedule rapid onboarding learning session with dbt

mid to late january
see if we can get more folks to go through after we've already sent through an initial cohort

is this something we still want to do? @jasonlally

No we don't need to do this anymore, closing


Update InlinekeyboardCommand && update Entities

Update inlinekeyboardbutton to allow passing of new arguments.
https://core.telegram.org/bots/api/#inlinekeyboardbutton
add switch_inline_query_current_chat

Great! Thanks for adding the new property.
A few things:

Please point your PR to the develop branch, not master.
The travis build failed because of some coding standard errors: look here
(we use spaces for indentation, not tabs)
Please also add the new method in the Docblock comment above the class definition (here), text can be copied from the official Telegram Bot API documentation here.

Please make these changes and then create a new PR pointed at the develop branch.
Thank you 🎉

I'm confused with git, I'm sorry

I saw that you deleted your branch 😕
I'll take your commit and add to it.

I'm confused with git, I'm sorry

No problem! We're all here to learn together, so don't apologise for that 😉


fix logic request physical card

Details

Shipping physical card doesn't appear to work, and I still see the prompt to get physical card
Fixed Issues

$ https://github.com/Expensify/App/issues/35094
PROPOSAL: https://github.com/Expensify/App/issues/35094#issuecomment-1909177797
Tests

issue >$0 limit to a user
With that user, go to settings > wallet > expensify card
Select get physical card
Enter info and select Ship card
Verify that: see the button to Activate physical card in card settings

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

issue >$0 limit to a user
With that user, go to settings > wallet > expensify card
Select get physical card
Enter info and select Ship card
Verify that: see the button to Activate physical card in card settings

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/129500732/698835b0-080b-4b03-8f7b-1782caa80abd

Android: mWeb Chrome

https://github.com/Expensify/App/assets/129500732/613b8b40-af6f-4dee-8181-67fb9109f928

iOS: Native

https://github.com/Expensify/App/assets/129500732/6686669c-9002-4c7b-afa1-ee0c3a1aac0b

iOS: mWeb Safari

https://github.com/Expensify/App/assets/129500732/41a67a92-70aa-4ce3-ad1a-cc3430cd6125

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/129500732/a1e24270-a288-42e7-a86c-5e3cee83f783

MacOS: Desktop

https://github.com/Expensify/App/assets/129500732/87d30fe7-0219-48b3-b273-340f6edded27

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.33-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.34-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
cancelled 🔪

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.34-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 1.4.34-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Pick or take photo produces black/empty preview on iOS/Android

This is a

[x] Bug
[ ] Feature Request

Which plugin does this impact:

[ ] Battery
[ ] Connectivity
[ ] Contacts
[ ] DeviceInfo
[ ] ExternalMaps
[ ] Geolocator
[x] Media
[ ] Permissions
[ ] Settings
[ ] Text To Speech
[ ] Vibrate
Other:

Version Number of Plugin: 2.3.0
Device Tested On: iPhone 6S, iPad 2, LG G3 (Android 6)
Simulator Tested On:iPhone 6
Expected Behavior
After selecting an image from the gallery or take new from camera I view a preview of the selected image (using ImageSource.FromFile(mediaFile.Path))
Actual Behavior
On iOS after selecting an image from the gallery displays a black preview of the selected image (using ImageSource.FromFile(mediaFile.Path)).
On Android after take picture from camera displays an empty preview of the image (using ImageSource.FromFile(mediaFile.Path)).
Steps to reproduce the Behavior
With iOS select an image from gallery and use an ImageSource to show the selected image (black preview).
With Androd take a photo from camera and use an ImageSource to show the selected image (empty preview).
The gallery problem is reproduced only on iOS while the camera problem is reproduced only on Android 6 (with my LG G3 with Android 5 the problem does not occur).

This issue was moved to jamesmontemagno/MediaPlugin#18


delay is slightly inconsistent

A delay of 1 ms might take anywhere from 5ms to 17ms, in general it is off by around 5-25ms.
Consider looking into why this is

https://stackoverflow.com/questions/1303667/how-accurate-is-thread-sleeptimespan Seems to be OS specific


fix: complete cloudflare kv integration docs

🚀 Deployed on https://6705f5948934d3b5d0b0a13c--cozy-fox-0defec.netlify.app


Increment versions for jdbc releases

Increment package versions for jdbc releases

@msftbot do not merge unless @saragluna approves


CHQ-97 UI now runs in docker container using node rather than a simple HTTP server

Story
https://maddonkeysoftware.myjetbrains.com/youtrack/issue/CHQ-97
Summary

Updated the Vue.JS project to use node for it's web server rather than compiling the app to html/js and serving it via a simple HTTP server

The reasoning behind this is to not incur builds when switching the docker image between environments.

Made the corp-hq api url configurable to the UI via the CORPHQ_API_URL environment variable.

Testing
Docker Image Change

Use the make file to rebuild the docker image: make docker-build-ui

You may see a bunch of warnings. I plan to attempt cleaning these up under another task.

Run the new UI container via the docker compose: docker-compose up -d ui api

Poke around the app as you normally would

Environment variable API url

Run the app as normal with the make target or via npm run dev
Verify you can still log into the application and/or can still register users.
Stop the application and repeat the above steps with the CORPHQ_API_URL set to something other than "http://<IP_ADDRESS>:5000`

Merging to get things closed out before the end of the sprint


The output whole output of the tests called using SDK are red which brings confusion

Same : https://github.com/k8s-operatorhub/community-operators/issues/751
c/c @mvalarh @J0zi

Epic with comments posting to PR thread will improve it.


After re-establishing the connection (after being offline) item is played from beginning and not resuming at current position

From my debugging it seems like it should theoretically work as you seekToTime() in the retryOrPlayNext() method. But in the seekToTime method it doesn't get any seekableTimeRanges back from the AVPlayerItem so it starts from the beginning. Any idea why this could be the case?

Yes, this is because the player is new and is re-buffering data in order to play, so the currentProgression is immediately set and is certainly not in the seekableTimeRanges yet.
Anyway, calling player.seekToTime(...) should fix this. I'm letting this open for you to confirm and eventually close if everything works out.
Thanks for reporting the issue.

Ok I guess you fixed it with 5b18414263fc4615274a068a5b5e77933e77b0f2
During my test it worked, at least most of the times. Great!


ci: remove CODECOV_TOKEN

Because it is unnecessary when we use Codecov GitHub App

...Looks like it is necessary.


8184.1 DEV add route to initialize vault

https://github.com/Shippable/pm/issues/8184
add route POST /api/vault/ to initialize vault container.
the handler should run the corresponding vault initialization script on local machine to bring up vault server
vault should boot with persistent data mounts

Vault Configuration

once vault is installed, create vault table on db
update vault config file with database ip, user and password
start vault service and bootstrap it
copy the vault root key from remote and update it in database
copy the generated vault token from remote machine to local /etc/shippable/vault/ directory
update the vault token into system config in db
set the status of machine in systemConfigs.secrets.isInitialized=true
the UI should look like following for the init page
logs should be tailed from a logfile in logs tab


The model is missing from https://paperswithcode.com/sota/speaker-verification-on-callhome

Issue still there...


test: preload scripts: add e2e test with user gesture

Closes: #293
Reland-of: #752 (revert: #879)

I expect there's one more flaky test to fix and then this will be good to go.


Feature Request: Allow root level configuration "defaultSnippets"

Some extensions have very flexible and powerful configuration options, and sometimes these configuration options should be set together.
For example, for VS Code Power mode, I have included a few examples in the README of settings that when used together will have a certain effect. I'd like to make it easy for users to add those to their settings using snippets.
Ideally I would like users to be able to start typing "powermode" in settings.json and have a snippet suggestion show up that would complete to:
"powermode.enabled": true,
"powermode.enableShake": false

Unfortunately, the only way I've been able to do this is to create a "powermode" entry in my configuration like this:
"powermode": {
    "type": "object",
    "defaultSnippets": [
        {
            "label": "No shake",
            "body": {
                "enabled": true,
                "enableShake": false
            }
        }
    ]
},

The problem with this, though, is that the convention is to define settings in a single level, i.e. as "powermode.enabled" and "powermode.enableShake". I can go against this and define all my settings as properties on "powermode", but I'd rather not.
But there is one more reason why snippets in the root level are useful: It would allow people to contribute snippets that set settings across multiple extensions/built in settings.
In my case, "combos" in powermode rely on having the status bar visible, so adding "workbench.statusBar.visible": true might make sense.

dupe of #13182

@jrieken I don't see how this is a dupe of that issue. I'm talking specifically about defaultSnippets contributed for settings.json, not about globally available snippets. These snippets should not show up for any other json files, and especially not in files that are not .json files

Yeah, please don't use the snippet word. If you want special suggestions just for settings.json you should write an extension that registered a completion item provider for just that file (the document selector supports that)

I believe "snippet" is the correct word as it is what is used in the offical docs under the header "Define Snippets in JSON Schemas" which describes how snippets can be added to json schemas as values for a particular setting.
In the product today, working, I can say that a snippet should be offered as a completion for a particular key. In my example above, if I add the key "powermode" to the settings.json file, the snippet suggestion will appear.
This is a limitation, though, as it forces settings to be nested and does not allow snippets to be added across multiple root settings. My request here is this same syntax be supported at the root level of a configuration
In the meantime I can explore registering a completion provider


No Log Entry in shows /lock/log

Hey,

Lock 4 Pro
Keypad 2

I'm trying enable the log-Datapoint to see which user has used the keypad.
Enabled keypad control via MQTT is enabled
Publish auth data (May reduce battery life) is enabled
The Access level is set to Full
Nuki Lock PIN is also set.
But /lock/log show only "---".
Have I forgotten anything else?
Nuki Hub version: 8.33
run: true
confVersion: 833
deviceId:<PHONE_NUMBER>
deviceIdOp:<PHONE_NUMBER>
mqttbroker: <IP_ADDRESS>
mqttport: 1883
mqttuser: ***
mqttpass: ***
mqttlog: true
checkupdates: false
lockena: true
mqttpath: nuki
openerena: false
openercont: false
mqttoppath:
maxkpad:
opmaxkpad:
mqttca:
mqttcrt:
mqttkey:
hassdiscovery: homeassistant
hassConfigUrl:
dhcpena: true
ipaddr:
ipsub:
ipgtw:
dnssrv:
nwhw: 1
nwwififb: false
rssipb: 60
hostname: nukihub
nettmout: -1
restdisc: false
rstbcn: -1
lockStInterval: 1800
configInterval: 3600
batInterval: 1800
kpInterval: 1800
kpEnabled: true
accLvl: 0
regAsApp: false
nrRetry: 3
rtryDelay: 100
crdusr:
crdpass:
pubauth: true
pubdbg: false
prdtimeout: 60
hasmac: false
macb0:
macb1:
macb2:
MQTT connected: Yes
Lock firmware version: 4.2.8
Lock hardware version: 7.0
Lock paired: Yes
Lock PIN set: Yes
Lock has door sensor: No
Lock has keypad: Yes
Network device: Built-in Wifi
Uptime: 11 minutes
Heap: 87736
Stack watermarks: nw: 4468, nuki: 332, pd: 228
Restart reason FW: ConfigurationUpdated
Restart reason ESP: ESP_RST_SW: Software reset via esp_restart.

Ok, my fault.
The Nuki Lock PIN is the 4 digit PIN. I've tried the 6 digit Keypad PIN. Now it is working.
Sorry.


feat(gateway): Add a new open API of gateway. Add a new util to trans…

…form mac.
Owner

[ ] Nickname(Tuya): 钟离
[ ] Intra-group review（组内审阅人员）：风眠

Description
Add a new open API of gateway. Add a new util to transform mac.
Package
Please select the relevant package.

[ ] tuya-panel-animation-sdk
[x] tuya-panel-api
[ ] tuya-panel-electrician-sdk
[ ] tuya-panel-ipc-sdk
[ ] tuya-panel-lamp-sdk
[ ] tuya-panel-lock-sdk
[ ] tuya-panel-robot-sdk
[ ] tuya-panel-outdoor-sdk
[x] tuya-panel-gateway-sdk

Type of change
Please select the relevant option.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Self CheckList
Please check all options.

[ ] Intra-group review
[ ] ESLint lint
[ ] Example Run
[ ] Jest Run
[ ] No Grammer Error
[ ] No Spell Error
[ ] No Merge Conflict

Codecov Report

Merging #168 (91a3bb1) into main (8e05560) will decrease coverage by 1.01%.
The diff coverage is 15.38%.

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
- Coverage   62.45%   61.44%   -1.02%
==========================================
  Files         314      316       +2
  Lines       11749    12021     +272
  Branches     2662     2779     +117
==========================================
+ Hits         7338     7386      +48
- Misses       4394     4606     +212
- Partials       17       29      +12

Impacted Files
Coverage Δ

...teway-sdk/src/components/deviceListPanel/index.tsx
45.18% <ø> (+0.33%)
:arrow_up:

packages/tuya-panel-gateway-sdk/src/utils/index.ts
30.12% <10.00%> (-2.76%)
:arrow_down:

packages/tuya-panel-api/src/gateway/relation.ts
45.45% <33.33%> (-4.55%)
:arrow_down:

packages/tuya-panel-api/src/lamp/timing.ts
12.30% <0.00%> (-1.33%)
:arrow_down:

packages/tuya-panel-api/src/index.ts
100.00% <0.00%> (ø)

packages/tuya-panel-api/src/lamp/index.ts
100.00% <0.00%> (ø)

packages/tuya-panel-api/src/robot/gyroDataApi.ts
9.72% <0.00%> (ø)

packages/tuya-panel-api/src/robot/laserDataApi.ts
8.88% <0.00%> (ø)

...l-gateway-sdk/src/components/setPassword/index.tsx
48.27% <0.00%> (ø)

...-gateway-sdk/src/components/addDeviceTip/index.tsx
40.74% <0.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


fix cardinality on isReportedIn for StudyStatements

For purposes of these GKS Standard Profiles, I would not strictly require data providers to include a publication in every Statement object for these profile types.
I get that these Statement profiles are all scoped to report the conclusions of a specific published study, and that some form of publication should generally be available to cite here. But a strict requirement for this seems like it should be more of an implementation-specific decision/constraint.


Ensure Event metadata is never null

Pull request
Description
Otherwise we render the metadata unusable and unmodifiable in tremor-script. As we can only access it via  we require  to be a record/object.

Related
Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[ ] The performance impact of the change is measured (see below)

Performance

I'm a bit unsure that moving the default metadata from null to {} is good, allocating an object, even if empty, is significantly more expensive then null.
null seems to be a decent standard for no metadata.
If we move away from null to an object I could we do some performance comparison to have an idea of the cost of this? I'm especially concealed for the recursion part.

The reason to use an empty object instead of null here is that if we'd establish null people would always have to do:
match $ of
  case null =>
    let $ = {"foo": "bar"}
  case %{} =>
    let $foo = "bar",
end;

as it is necessary with state for each script operator in trickle.
this would be especially bad, since the metadata path $ is set up so that the only possible access is via some identifier $identifier which requires $ to be an object. The above dance of assigning in different ways is really ugly.
What we could do is to handle metadata assignments differently in that they allocate an object only upon access.

Coverage increased (+0.006%) to 84.03% when pulling adfbbacf6036b4bedf178b48c084e3b3b7ceeba2 on meta-never-null into 611d83420a4a31f47a87708e6c2ef102d07f9c29 on main.


How do I authorise microservice-to-microservice calls? Do I write custom code?

Hi,
I have successfully implemented protecting 2 microservice/APIs using an authorisation server.
What I would like to know is what about the communication between the two microservices (microservice-to-microservice)?
Do I have to create code to request for client tokens?
I have used the method below and it works. I doubt this is what I should be doing for every microservice that wants to call another microservice.
Any ideas or pointers?
//... some using statements
using IdentityModel.Client;

//.. some static class

       public static async Task<string> GetAccessToken()
        {
            var client = new HttpClient();
            client.DefaultRequestHeaders.Add("TestHeader", "1");

            var request new IdentityModel.Client.ClientCredentialsTokenRequest
                {
                    Address = "The-Identity-Server-Url",
                    ClientId = "The-Client-Id",
                    ClientSecret = "The-Client-Secret",
                    GrantType = "The-Grant-Type",
                    Scope = "The-Scope"
                };

            var response= await client.RequestClientCredentialsTokenAsync(request);

            if (response.IsError)
            {
               Console.WriteLine($"Error requesting client token: {response.Error}");
                return null;
            }

            // return access token
            return tokenResponse.AccessToken;
       }

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

ID: 94bfd895-d2af-390b-0801-428b36a27ff4
Version Independent ID: 0e0d870e-e49a-e16c-c259-68d58e701b8f
Content: Introduction to Identity on ASP.NET Core
Content Source: aspnetcore/security/authentication/identity.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @tinonetic ... Did you check through the Microservices docs at ...
https://docs.microsoft.com/azure/architecture/microservices/
This is probably a better question for Azure PU and docs folks given that the ASP.NET Core Identity coverage is meant to be more general than what a given set of Azure service docs would cover for a given Azure service. For example, they have an Interservice Communication doc at ...
https://docs.microsoft.com/azure/architecture/microservices/design/interservice-communication
... that looks like it's running in the direction of what you're trying to implement. If you don't find what you're looking for over there, you might want to open an issue from the bottom of their topic to ask ... then they might ping an Azure engineer to respond if they can't point you to a better doc (or any doc) for this scenario.

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.

Hi there, thanks for responding.
I only asked here because it is documentation related. And there is a direct link from the documentation that generates the github issue.
I have asked questions similarly that address documentation issues and have been answered from other .NET Core documentation
Thanks anyways


Several users wanted to take a photo with a smartphone, but were never presented with an opportunity to do so.

Some returned to this page and answered ‘yes’ hoping they might then be able to use the picture on their smartphone.

I think this is covered by #334


Enhancement/update fugue installer

Adds

iam:GetRole
sns:SetTopicAttributes

Why
New and upcoming features to the Fugue CLI will require these permissions for installers.

LGTM!

Thanks! Merging!


YouTube video embed results to error if video url contains /live/

YouTube video embed results to error if video url contains /live/
Sorry, something went wrong with your request
t.url.match(...) is null

Tested at https://demo.plone.org
To Reproduce
Steps to reproduce the behavior:

Go to https://www.youtube.com/watch?v=ISdHvS6Ck3k&list=PLGN9BI-OAQkSXMXVBXLWQAQr0AF2xM_NU&index=19
Click on Share
Copy link https://www.youtube.com/live/ISdHvS6Ck3k?si=COeVakmC1lI6jQy3
Go to Plone 6 Volto site and add video embed.
Paste url and save page

Expected behavior
Video embed should work
Screenshots

Software (please complete the following information):

OSX
Firefox
Volto Version
plone6-demo 1.0.0
Volto 17.5.0
Plone 6.0.8
plone.restapi 9.1.2
CMF 3.2
Zope 5.8.6
Python 3.11.6 (main, Nov 1 2023, 14:02:22) [GCC 10.2.1 20210110]
PIL 9.5.0 (Pillow)

@ericof this is the video embed issue mentioned

Where is the Video embed option. I can only see the option to add page links etc.

I am working on this

Is the issue resolved?

@IshaanDasgupta no worries. We're all learning how to improve and use GitHub features here.


Run PowerShell Script

How can I run a PowerShell script on the agent, I have installed the agent on windows machine.
I tried:
steps:

command: test.ps1

This only opens up a notepad with the script.

i have also tried:
`steps:

command: pwsh ./test.ps1
`

this throws me an error:
'pwsh' is not recognized as an internal or external command,

i have also tried:
`steps:

command: pwsh ./test.ps1
`

this throws me an error:
'pwsh' is not recognized as an internal or external command,


#has_text? to accept an array of strings

Please share your thoughts regarding #has_text? matcher being able to accept an array of strings that need to appear on the page only once.
Before
expect(page).to have_text 'Apple Watch Sport'
expect(page).to have_text '38mm Silver Aluminum Case with White Sport Band'
expect(page).to have_text '$349.00'

After
text = %q(
  Apple Watch Sport
  38mm Silver Aluminum Case with White Sport Band
  $349.00
).lines

expect(page).to have_text(text)

Would be happy to send the pull request.

I'm not sold on this really gaining anything, since I tend to lean more towards having the tests be very clear about what is actually being checked for - If you actually have an array of text you can always just do
array_of_strings.each { |s| expect(page).to have_text(s) }

, but for most cases its just clearer to write out each line.


Where is linked the texture object to "v_text/in_text" ?

A simple question: in the code I don't understand how the texture is bound to the model ? The simple mention is through shader v_text, in_text, but where do this relate to the python "texture" object ?
I don't know a lot about OpenGL, I usually work with three.js level libraries which hide away all those details.
Thanks a lot for all your answers.

The vertex shader contains a sampler2D
[here])https://github.com/cprogrammer1994/Headless-rendering-with-python/blob/master/data/shader.frag#L3)
The default value is 0
the texture.use() defaults to texture.use(0)
Hint
You can set the value using the uniforms:
prog.uniforms['Texture'].value = 4
texture.use(4)

Okay !


can't understand the meaning of parameters?

in the fconv saved models, I find these parameters, I  can understand "encoder.fc1.weight_v",
"encoder.fc1.bias", but I am confused about "encoder.fc1.weight_g"
the sizes of " encoder.fc1.weight_g , encoder.fc1.weight_v, encoder.fc1.bias" are
torch.Size([1024, 1])
torch.Size([1024, 500])
torch.Size([1024])
what the "encoder.fc1.weight_g" means ?

The _g and _v versions come from weight norm: https://pytorch.org/docs/master/nn.html#torch.nn.utils.weight_norm


Local run

Added code and instructions to run the Symphony integrations locally.
Few notes:

Missing instructions on how to register the Symphony extension and how to expose the integration bridge (see IB_DOMAIN in env.sh.sample)
The run.sh invokes mvn using -pl \!integration-provisioning, which excludes the integration-provisioning module, the only one having com.symphony (private) dependencies; as such, ./run.sh works everywhere!

Just realised that I need to change all application.yaml files in the test suites; please wait before merging.
As a heads-up, I believe that tests will fail, due to hardcoded checks on nexus.symphony.com; would be possible to read the host from the YAML configuration?
See https://github.com/symphonyoss/App-Integrations-Core/search?l=Java&q=nexus.symphony.com&utf8=✓

PR is ready to be merged!