Issues connecting D435 and T265 together using Python.

Required Info

Camera Model
D435 and T265

Firmware Version
D435 - <IP_ADDRESS>,  T265 - <IP_ADDRESS>6

Operating System & Version
Win 10

Kernel Version (Linux Only)
NA

Platform
PC

SDK Version
2.34.0

Language
Python

Issue Description
When I connect both devices D435 and T265 together and try to run one of the examples, it gives me an error saying 'No device connected'. I did not have any issues accessing both devices individually. Below is the code followed by its output:
Code:
import pyrealsense2 as rs
import numpy as np

context = rs.context()
pipelines = []
for device in context.query_devices():
    print(device)
    pipe = rs.pipeline(context)
    config = rs.config()
    config.enable_device(device.get_info(rs.camera_info.serial_number))
    pipe.start(config)
    pipelines.append(pipe)

Output:
<pyrealsense2.device: Intel RealSense D435 (S/N:<PHONE_NUMBER>06)>
<pyrealsense2.device: Intel RealSense T265 (S/N:<PHONE_NUMBER>15)>
Traceback (most recent call last):
File "C:\Users\AppSa001\Google Drive\Staples\Python\Intel\MultiCam.py", line 18, in
pipe.start(config)
RuntimeError: No device connected

I wanted to add that I can hear two alert sounds from windows (this sound is common when any USB device is connected to windows computer) one for each device before I start running the code. As soon as I run the code, I hear only one 'USB device disconnected' alert from Windows. It feels like running the code disconnects T265 momentarily for some reason. I do not hear this disconnect device when I use the devices individually.

Update:
Following the comments in issue #1735 I tried to use a part of it to see if it works and found something interesting and will be very helpful for users trying to work with D435 and T265 together.
Here is the code:
import pyrealsense2 as rs

# Configure depth and color streams...
# ...from Camera 1
pipeline_1 = rs.pipeline()
config_1 = rs.config()
config_1.enable_device('920312070806')
config_1.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config_1.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)
# Start streaming
pipeline_1.start(config_1)

# ...from Tracking Camera
pipeline_2 = rs.pipeline()
config_2 = rs.config()
#config_2.enable_device('947122110515')
config_2.enable_stream(rs.stream.pose)
# Start streaming
pipeline_2.start(config_2)

# Stop streaming
pipeline_1.stop()
pipeline_2.stop()

Observations:

When using tracking camera the running the line config_2.enable_device('947122110515') throws an error, hence I commented it.
With my kernel restarted, when I run this code iteratively, I get errors in some runs and runs without issues in other runs. The error has no definitive pattern (as far as I know). Here are the outputs:

[1] runfile('****PATH****/untitled0.py', wdir='****PATH****')

[2] runfile('****PATH****/untitled0.py', wdir='****PATH****')
Traceback (most recent call last):

  File "****PATH****\untitled0.py", line 30, in <module>
    pipeline_2.start(config_2)

RuntimeError: Couldn't resolve requests

[3] runfile('****PATH****/untitled0.py', wdir='****PATH****')

[4] runfile('****PATH****/untitled0.py', wdir='****PATH****')

[5] runfile('****PATH****/untitled0.py', wdir='****PATH****')
Traceback (most recent call last):

  File "****PATH****\untitled0.py", line 30, in <module>
    pipeline_2.start(config_2)

RuntimeError: Couldn't resolve requests

As I am testing the the device for my application, I can keep pressing F5 till it runs, but, this has to be fixed.
Hope that helps some one.

Hi,
Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.
Thanks


Implement encryptWKey :: Encryptable a => a -> PublicKey -> Encrypted and decryptWKey :: Encryptable a => Encrypted -> PrivateKey -> a.

For all things, a thing should be encryptable iff this thing can be converted to and from JSON.


Create DB connectors

Connectors for sqlite and postgresql DBs

Done in https://github.com/outcatcher/simple-exquisite-webserver/pull/6


Updated bower main entry for pre-release version

Hi! Thanks for creating this, excellent logging library. I've noticed that when using bower for package management I lose latest features like getLogger(), hence this small patch.

Ah, I see. This needs to be pointing at the built dist version, not the lib, because that's the official known-good version, and if I update the bower.json I'll have to change it back every time we do build a real release, so I'm not going to merge this I'm afraid.
If you use the /lib/ version you've got no guarantees it won't suddenly change, and it's code that hasn't been properly tested, and might contain all sorts of backward incompatible crazy changes. You're welcome to use it anyway, but it may fall apart for you :-).
Anyway, the problem here really is that the bower config is only intended for official releases, not prerelease use. If you want to get the prerelease features, I'd suggest you do one of:

Download the prerelease version manually, drop it into your project and then upgrade to the release when it lands soon separately
Depend on your prerelease-configured fork through bower, and then upgrade to the release when it lands soon separately
Muddle through without for now, and wait a week or two until I push a new official release with all these features in and everything magically works for you

Sorry about that, thanks for contributing anyway!

Yeah, sorry for the fuss. Thanks for excellent library, I'll be waiting for the next npm release.


Proposal: Add incremental loading support for ItemsRepeater

Proposal: Add incremental loading support for ItemsRepeater
Summary

Add incremental loading support for ItemsRepeater.
Rationale

Currently ItemsRepeater control does not support item sources implementing incremental loading (ISupportIncrementalLoading interface). Using such source results in no items being load.
However, right now using ItemsRepeater and creating custom VirtualizingLayout is the only way developers can create custom virtualizing ListView-like UI.
ListView and GridView support incremental loading only when using the two built-in VirtualizingPanel, and there is no way to create custom ones. That means developers must sacrifice either incremental loading or layout flexibility.
If ItemsRepeater control could support incremental loading, the problem would be solved.

Functional Requirements

Important Notes

Open Questions

Does incremental loading need to include support for both starting at the top and scrolling down (i.e. what ListView currently supports) as well as starting from the bottom and scrolling up (e.g. a chat view)?
Or starting in the middle and scrolling up or down (e.g. some kind of feed that needs to restore the scroll position of a list after navigating away and back)?
Is having the data source implement ISupportIncrementalLoading (or something equivalent that supports the above two scenarios) be preferred over explicitly listening to the viewport position and fetching new data?

@DL444, are there layout(s) you already have in mind with which you'd want to use incremental loading?
An alternative to ISupportIncrementalLoading on which I'd be interested to hear your feedback would be to observe the position of the ScrollViewer's viewport and load more data in your items source as the viewport approaches the extent.  With ListView/GridView that would have been hard to do.  They didn't make their internal ScrollViewer readily accessible.  With ItemsRepeater having no control template you're forced to provide your own ScrollViewer.  Depending on your perspective that may be good or bad, but it does make it easy to access and observe the viewport.  Your thoughts?

@micahl It was a custom virtualizing layout that I created, basically the same layout as the StaggeredPanel in Windows Community Toolkit. I also noticed there is a PinterestLayout in test code, the same as well.
I've tried the alternative, and it works, I'm using it right now.

@DL444 Cool.  Given your experience, which approach would you prefer to use?  Should we keep this proposal open as-is or modify it to track updating the doc to explicitly call out this approach to incrementally load data?

@micahl Well, I think it's okay to just update the document and close this for now, but I still want this implemented in the future, as the alternative solution:

Sounds more like a hack
Requires some extra work by developers
Is somewhat harder to implement using MVVM

But the alternative solution does work, and I understand that you might have priorities, so for now I think both is okay.

Good feedback!  I'll add a note to the docs. Let's also keep this proposal open to discuss options and potential requirements for enabling support for incremental loading.

I've had to make a really custom implementation around ListView to get a grid of items with headers that supports virtualization, incremental loading, pull to refresh logic because ListView and GridView really didn't support the UI that our designer made for iOS and Android. CollectionView could handle header and items, but doesn't implement the ISupportIncremental interface and CollectionView was sealed so I couldn't extend it, which led me down the road of hacking ListView to make it look like a GridView because GridView didn't work the way I needed it to. I then had to create my own CollectionView that supports ISupportIncrementalLoading The ItemRepeater sample we mocked out does everything that we needed, but didn't exist at the time we needed it, but the only thing that's missing to migrate to this control is support for incremental loading. Please add because I'd really like to migrate over to this control.

@chrisahill CAN'T AGREE MORE.

support incremental loading. @chingucoding

@HppZ Nothing I can do...

@HppZ Nothing I can do...

why or who can?

First the proposal needs to be added to the backlog of things to be implemented, than there needs to be an API review (probably not gonna be a big one) and while that is happening it can be developed by someone.

I agree！！


Password input with hyperlink or button tag shows icon outside the input

Setting the icon in a hyperlink (or button tag) (to allow onclick events) sends the icon outside the input box.
Example:
`

Password
visibility
`
https://codepen.io/maxyme/pen/oNQQBBG

Temporary solution: give  element a z-index

  <input type="text">
  Label
  visibility

Try front or back helpers, to bring elements to front or back, and use onclick event.
Before
visibility

After
visibility

Seems nice to support another tags inside field besides .


Active Query joinWith Problem

What steps will reproduce the problem?
I tried to run this active query
Personal::find()
->select(['personal.id_personal AS value', 'CONCAT(personal.nama, ' (No. KP: ', personal.no_kp, ')') AS label', 'personal.id_personal AS id'])
->joinWith('personalPerjawatans')
->orderBy('nama')
->asArray()
->all();
What is the expected result?
I got an error stated that "Undefined index: id_personal" related to file in C:\wamp\www\yii2\eprofiling2\vendor\yiisoft\yii2\db\ActiveRelationTrait.php . line 456
What do you get instead?
When I removed 'AS value' from the select function, there is no error.
Additional info

Q
A

Yii version

PHP version

Operating system

You can alias columns using key=>value pairs.
->select(['id' => 'personal.id_personal'])

I got an error stated that "Undefined index: id_personal"

You should either disable relation fetching:
->joinWith('personalPerjawatans', false)

Or add junction field id_personal in your select statement.


C-RNN-GAN for time series

This seems like an interesting and a useful model for generating time series using GANs. Perhaps, this might be a worthy addition to this library?

This seems pretty hard to implement in keras as has a GAN, which is already overly complicated to implement in keras(as compared to tensorflow), and it also includes things such as pretraining, which again, are much easier to implement in tensorflow. However, some things, such as the time distributed dense layers and bidirectional lstms are much easier to implement in keras. Only if there were a way to have the ease of keras layers and the flexibility of tensorflow at once... Oh yes there is - tf.keras. You can use tf.keras in order to make this much more easily. However, tf.keras doesn't work with tensorflow variable scopes, and I am in the process of finding a fix for that.


fix: broken radio-button in v1.6

Setting of radio-button values is broken since WebUI v1.6.0.
This is because the value of radio buttons is now list of tuples of strings, not list of strings any more.
Example: radio button img2img_mask_mode has value of [('Inpaint masked', 'Inpaint masked'), ('Inpaint not masked', 'Inpaint not masked')] in v1.6, but it was ['Inpaint masked', 'Inpaint not masked'] in v1.5.

Yeah, why is it a tuple now, do you happen to know?  It seems like a useless change and makes the UI very clunky.  I'm sure there's a reason for it, and probably best to ask on the A1111 repo, but maybe you can illuminate me on this?

Good catch. I personally don't use presets that include any radio buttons so I wouldn't have found this myself.

Yeah, why is it a tuple now, do you happen to know? It seems like a useless change and makes the UI very clunky. I'm sure there's a reason for it, and probably best to ask on the A1111 repo, but maybe you can illuminate me on this?

It's so that the display name and the value can be different.
"A list of string or numeric options to select from. An option can also be a tuple of the form (name, value), where name is the displayed name of the radio button and value is the value to be passed to the function, or returned by the function."
See this commit in Gradio for details: https://github.com/gradio-app/gradio/commit/c57d4c232a97e03b4671f9e9edc3af456438fe89


🚀 Feature: Add loading Skeletons

🔖 Feature description

On every loading add skeleton for better UI experience

🎤 Why is this feature needed ?
Better UI/UX
✌ How do you aim to achieve this?
UI framework
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

Ok do it


Only a Master Node is Getting EXTERNAL-IP Not worker nodes?

root@5net-k8s-master-0:~# kubectl get nodes -A -o wide
NAME                STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP    OS-IMAGE             KERNEL-VERSION       CONTAINER-RUNTIME
5net-k8s-master-0   Ready    control-plane,master   23h   v1.30.1   <IP_ADDRESS>     <IP_ADDRESS>   Ubuntu 22.04.4 LTS   5.15.0-112-generic   docker://26.1.4
5net-k8s-node-0     Ready    worker                 23h   v1.30.1   <IP_ADDRESS>             Ubuntu 22.04.4 LTS   5.15.0-112-generic   docker://26.1.4
5net-k8s-node-1     Ready    worker                 23h   v1.30.1   <IP_ADDRESS>              Ubuntu 22.04.4 LTS   5.15.0-112-generic   docker://26.1.4
5net-k8s-node-2     Ready    worker                 23h   v1.30.1   <IP_ADDRESS>              Ubuntu 22.04.4 LTS   5.15.0-112-generic   docker://26.1.4
I saw this earlier:
root@5net-k8s-master-0:~# kubectl logs -n kube-system -l k8s-app=openstack-cloud-controller-manager
I0608 09:19:59.531119      10 controllermanager.go:319] Starting "service-lb-controller"
I0608 09:19:59.531235      10 node_lifecycle_controller.go:113] Sending events to api server
I0608 09:19:59.531576      10 openstack.go:385] Claiming to support LoadBalancer
I0608 09:19:59.531722      10 controllermanager.go:338] Started "service-lb-controller"
I0608 09:19:59.531863      10 controller.go:231] Starting service controller
I0608 09:19:59.531964      10 shared_informer.go:313] Waiting for caches to sync for service
I0608 09:19:59.631182      10 node_controller.go:425] Initializing node 5net-k8s-master-0 with cloud provider
I0608 09:19:59.632722      10 shared_informer.go:320] Caches are synced for service
I0608 09:20:00.346484      10 node_controller.go:492] Successfully initialized node 5net-k8s-master-0 with cloud provider
I0608 09:20:00.346746      10 event.go:389] "Event occurred" object="5net-k8s-master-0" fieldPath="" kind="Node" apiVersion="v1" type="Normal" reason="Synced" message="Node synced successfully"
I restarted it thinking this may register the other nodes, no go...
root@5net-k8s-master-0:~# kubectl logs -f -n kube-system -l k8s-app=openstack-cloud-controller-manager
I0609 08:52:08.275473      10 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I0609 08:52:08.275485      10 shared_informer.go:313] Waiting for caches to sync for RequestHeaderAuthRequestController
I0609 08:52:08.275567      10 tlsconfig.go:240] "Starting DynamicServingCertificateController"
I0609 08:52:08.275664      10 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::client-ca-file"
I0609 08:52:08.275676      10 shared_informer.go:313] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0609 08:52:08.275684      10 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I0609 08:52:08.275908      10 shared_informer.go:313] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0609 08:52:08.375986      10 shared_informer.go:320] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0609 08:52:08.376143      10 shared_informer.go:320] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0609 08:52:08.375993      10 shared_informer.go:320] Caches are synced for RequestHeaderAuthRequestController
I0609 08:52:23.547603      10 leaderelection.go:260] successfully acquired lease kube-system/cloud-controller-manager
I0609 08:52:23.550525      10 event.go:389] "Event occurred" object="kube-system/cloud-controller-manager" fieldPath="" kind="Lease" apiVersion="coordination.k8s.io/v1" type="Normal" reason="LeaderElection"                       message="5net-k8s-master-0_1c08edda-634c-40aa-b580-12852f2a4bc5 became leader"
I0609 08:52:23.554762      10 openstack.go:504] Setting up informers for Cloud
I0609 08:52:23.555992      10 controllermanager.go:319] Starting "cloud-node-lifecycle-controller"
I0609 08:52:23.558714      10 controllermanager.go:338] Started "cloud-node-lifecycle-controller"
I0609 08:52:23.559834      10 controllermanager.go:319] Starting "service-lb-controller"
I0609 08:52:23.561899      10 openstack.go:385] Claiming to support LoadBalancer
I0609 08:52:23.562019      10 controllermanager.go:338] Started "service-lb-controller"
I0609 08:52:23.562063      10 controllermanager.go:319] Starting "node-route-controller"
I0609 08:52:23.564807      10 node_lifecycle_controller.go:113] Sending events to api server
I0609 08:52:23.565221      10 controller.go:231] Starting service controller
I0609 08:52:23.565276      10 shared_informer.go:313] Waiting for caches to sync for service
W0609 08:52:23.649048      10 openstack.go:488] Error initialising Routes support: router-id not set in cloud provider config
W0609 08:52:23.649189      10 core.go:111] --configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.
W0609 08:52:23.649196      10 controllermanager.go:326] Skipping "node-route-controller"
I0609 08:52:23.649203      10 controllermanager.go:319] Starting "cloud-node-controller"
I0609 08:52:23.651145      10 controllermanager.go:338] Started "cloud-node-controller"
I0609 08:52:23.651467      10 node_controller.go:164] Sending events to api server.
I0609 08:52:23.652264      10 node_controller.go:173] Waiting for informer caches to sync
I0609 08:52:23.665533      10 shared_informer.go:320] Caches are synced for service
the old versions would register this on all nodes (I have one up with it...)
(kolla-2023.2) root@slurm-primary-controller:~/ansible/5Net/k8s-bootstrap# kubectl get nodes -A -o wide
NAME                             STATUS   ROLES    AGE   VERSION   INTERNAL-IP   EXTERNAL-IP    OS-IMAGE                        KERNEL-VERSION          CONTAINER-RUNTIME
k8s-5net-ljtcgza6zsbt-master-0   Ready    master   30d   v1.23.3   <IP_ADDRESS>    <IP_ADDRESS>   Fedora CoreOS 38.20230806.3.0   6.4.7-200.fc38.x86_64   docker://20.10.23
k8s-5net-ljtcgza6zsbt-node-0     Ready    worker   30d   v1.23.3   <IP_ADDRESS>     <IP_ADDRESS>   Fedora CoreOS 38.20230806.3.0   6.4.7-200.fc38.x86_64   docker://20.10.23
k8s-5net-ljtcgza6zsbt-node-1     Ready    worker   30d   v1.23.3   <IP_ADDRESS>    <IP_ADDRESS>   Fedora CoreOS 38.20230806.3.0   6.4.7-200.fc38.x86_64   docker://20.10.23
k8s-5net-ljtcgza6zsbt-node-2     Ready    worker   30d   v1.23.3   <IP_ADDRESS>    <IP_ADDRESS>   Fedora CoreOS 38.20230806.3.0   6.4.7-200.fc38.x86_64   docker://20.10.23
What's missing / different in the new version?
adding diagnostic info i can think of to help.
root@5net-k8s-master-0:~# kubectl get pods -A
NAMESPACE      NAME                                        READY   STATUS    RESTARTS      AGE
default        diagnostic-pod                              2/2     Running   0             78m
kube-flannel   kube-flannel-ds-2mlph                       1/1     Running   0             23h
kube-flannel   kube-flannel-ds-5v6w6                       1/1     Running   0             23h
kube-flannel   kube-flannel-ds-crlks                       1/1     Running   0             23h
kube-flannel   kube-flannel-ds-pg8fb                       1/1     Running   1 (24h ago)   24h
kube-system    coredns-5cf4f94ffd-4px6h                    1/1     Running   0             31m
kube-system    coredns-5cf4f94ffd-j9phr                    1/1     Running   0             31m
kube-system    dnsutils                                    1/1     Running   1 (12m ago)   72m
kube-system    etcd-5net-k8s-master-0                      1/1     Running   1 (24h ago)   24h
kube-system    kube-apiserver-5net-k8s-master-0            1/1     Running   1 (23h ago)   24h
kube-system    kube-controller-manager-5net-k8s-master-0   1/1     Running   1 (24h ago)   24h
kube-system    kube-proxy-5b279                            1/1     Running   0             23h
kube-system    kube-proxy-5l2cc                            1/1     Running   1 (24h ago)   24h
kube-system    kube-proxy-bdz4v                            1/1     Running   0             23h
kube-system    kube-proxy-lfrsz                            1/1     Running   0             23h
kube-system    kube-scheduler-5net-k8s-master-0            1/1     Running   1 (24h ago)   24h
kube-system    openstack-cloud-controller-manager-crnlz    1/1     Running   0             7m15s
root@5net-k8s-master-0:~# kubectl get ds openstack-cloud-controller-manager -n kube-system
NAME                                 DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR                            AGE
openstack-cloud-controller-manager   1         1         1       1            1           node-role.kubernetes.io/control-plane=   23h
Please edit the object below. Lines beginning with a '#' will be ignored,
and an empty file will abort the edit. If an error occurs while saving this file will be
reopened with the relevant failures.

apiVersion: apps/v1
kind: DaemonSet
metadata:
annotations:
deprecated.daemonset.template.generation: "4"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"DaemonSet","metadata":{"annotations":{},"labels":{"k8s-app":"openstack-cloud-controller-manager"},"name":"openstack-cloud-controller-manager","namespace":"kube-system"},"spec":{"selector":{"matchLabels":{"k8s-app":"openstack-cloud-controller-manager"}},"template":{"metadata":{"labels":{"k8s-app":"openstack-cloud-controller-manager"}},"spec":{"containers":[{"args":["/bin/openstack-cloud-controller-manager","--v=1","--cluster-name=$(CLUSTER_NAME)","--cloud-config=$(CLOUD_CONFIG)","--cloud-provider=openstack","--use-service-account-credentials=false","--bind-address=<IP_ADDRESS>"],"env":[{"name":"CLOUD_CONFIG","value":"/etc/config/cloud.conf"},{"name":"CLUSTER_NAME","value":"kubernetes"}],"image":"registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.30.0","name":"openstack-cloud-controller-manager","resources":{"requests":{"cpu":"200m"}},"volumeMounts":[{"mountPath":"/etc/kubernetes/pki","name":"k8s-certs","readOnly":true},{"mountPath":"/etc/ssl/certs","name":"ca-certs","readOnly":true},{"mountPath":"/etc/config","name":"cloud-config-volume","readOnly":true}]}],"dnsPolicy":"ClusterFirstWithHostNet","hostNetwork":true,"nodeSelector":{"node-role.kubernetes.io/control-plane":""},"securityContext":{"runAsUser":1001},"serviceAccountName":"cloud-controller-manager","tolerations":[{"effect":"NoSchedule","key":"node.cloudprovider.kubernetes.io/uninitialized","value":"true"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane"}],"volumes":[{"hostPath":{"path":"/etc/kubernetes/pki","type":"DirectoryOrCreate"},"name":"k8s-certs"},{"hostPath":{"path":"/etc/ssl/certs","type":"DirectoryOrCreate"},"name":"ca-certs"},{"name":"cloud-config-volume","secret":{"secretName":"cloud-config"}}]}},"updateStrategy":{"type":"RollingUpdate"}}}
creationTimestamp: "2024-06-08T08:58:54Z"
generation: 4
labels:
k8s-app: openstack-cloud-controller-manager
name: openstack-cloud-controller-manager
namespace: kube-system
resourceVersion: "182284"
uid: 8006e824-3ea2-44b4-8a0b-335777a86009
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
k8s-app: openstack-cloud-controller-manager
template:
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: "2024-06-09T08:52:05Z"
creationTimestamp: null
labels:
k8s-app: openstack-cloud-controller-manager
spec:
containers:
- args:
- /bin/openstack-cloud-controller-manager
- --v=1
- --cluster-name=$(CLUSTER_NAME)
- --cloud-config=$(CLOUD_CONFIG)
- --cloud-provider=openstack
- --use-service-account-credentials=false
- --bind-address=<IP_ADDRESS>
- --feature-gates=CloudDualStackNodeIPs=true
env:
- name: CLOUD_CONFIG
value: /etc/config/cloud.conf
- name: CLUSTER_NAME
value: kubernetes
image: registry.k8s.io/provider-os/openstack-cloud-controller-manager:v1.30.0
imagePullPolicy: IfNotPresent
name: openstack-cloud-controller-manager
resources:
requests:
cpu: 200m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/kubernetes/pki
name: k8s-certs
readOnly: true
- mountPath: /etc/ssl/certs
name: ca-certs
readOnly: true
- mountPath: /etc/config
name: cloud-config-volume
readOnly: true
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
node-role.kubernetes.io/control-plane: ""
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 1001
serviceAccount: cloud-controller-manager
serviceAccountName: cloud-controller-manager
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoSchedule
key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
volumes:
- hostPath:
path: /etc/kubernetes/pki
type: DirectoryOrCreate
name: k8s-certs
- hostPath:
path: /etc/ssl/certs
type: DirectoryOrCreate
name: ca-certs
- name: cloud-config-volume
secret:
defaultMode: 420
secretName: cloud-config
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
type: RollingUpdate
status:
currentNumberScheduled: 1
desiredNumberScheduled: 1
numberAvailable: 1
numberMisscheduled: 0
numberReady: 1
observedGeneration: 4
updatedNumberScheduled: 1
Are the tolerations the issue? It should only run on master nodes, but it should still pull info for the worker nodes external IP's ?!

Q: How are you meant to bootstrap the worker nodes ? is there an example? guessing kubelet args are missing ... ?

not sure I fully understand the question here
are you saying the nodes you created for worker node doesn't have the external ip (which is from floating ip) ?

Yes, root issue was that it was not bootstrapped on the worker node side
correctly with "external" for the cloud provider key & was a cloud init
issue on my side. All sorted now
On Tue, Jun 18, 2024, 3:06 AM ji chen @.***> wrote:

not sure I fully understand the question here
are you saying the nodes you created for worker node doesn't have the
external ip (which is from floating ip) ?
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/cloud-provider-openstack/issues/2617#issuecomment-2175318484,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFSSJU3Y7S3LDPW5CJHI6NTZH7L7TAVCNFSM6AAAAABJAWZ62KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZVGMYTQNBYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Info icon for branch

usability

Are you planning to do submodule separately?

The info button gets a little bit clipped at some screen sizes:

Also, this is what I was talking about doing for making the buttons "consistent:"

@shortstuffsushi submodule separately!

:+1:


The header of the copywrith is wrong.

Should update the copy header copyright:

DiagonalDrawable - A set of Android libraries to help speed up Android development.

I know, we have the same problem in ArcToolbarView

Yes, I've already created https://github.com/massivedisaster/ArcToolbarView/issues/14 there.


Failed to load ComfyUI workflow editor

After installing StableSwarmUI I had this problem with Failed to load ComfyUI workflow editor. Although I followed the correct steps to install StableSwarmUI.

Go to Server -> Logs and check for errors. If it's not obvious from there, swap "View type" in the logs page to "Debug".
Most likely your comfy instance failed to load, the reason should be identifiable from logs. If you can't figure it out yourself from the logs, copy/paste the log text here

انتقل إلى الخادم -> السجلات وتحقق من الأخطاء. إذا لم يكن الأمر واضحًا من هناك، فقم بتبديل "نوع العرض" في صفحة السجلات إلى "تصحيح الأخطاء". على الأرجح فشل تحميل مثيلك المريح، ويجب تحديد السبب من خلال السجلات. إذا لم تتمكن من معرفة ذلك بنفسك من السجلات، فانسخ/ألصق نص السجل هنا

Thank you. I followed the procedures you mentioned, but unfortunately I did not discover the problem. Here is the text of the log.
2024-03-24 01:58:48.372 [Init] === StableSwarmUI v<IP_ADDRESS> Starting ===
2024-03-24 01:58:51.015 [Init] Prepping extension: StableSwarmUI.Builtin_StabilityAPIExtension.StabilityAPIExtension...
2024-03-24 01:58:51.369 [Init] Prepping extension: StableSwarmUI.Builtin_ScorersExtension.ScorersExtension...
2024-03-24 01:58:51.386 [Init] Prepping extension: StableSwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
2024-03-24 01:58:51.396 [Init] Prepping extension: StableSwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
2024-03-24 01:58:51.418 [Init] Prepping extension: StableSwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
2024-03-24 01:58:51.432 [Init] Prepping extension: StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
2024-03-24 01:58:51.456 [Init] Prepping extension: StableSwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
2024-03-24 01:58:52.974 [Init] Parsing command line...
2024-03-24 01:58:52.977 [Init] Loading settings file...
2024-03-24 01:58:53.382 [Init] Re-saving settings file...
2024-03-24 01:58:53.508 [Init] Applying command line settings...
2024-03-24 01:58:53.811 [Debug] [Load Time] Initial settings load took 5.28s (5.28s from start)
2024-03-24 01:58:55.088 [Debug] [Load Time] Extension PreInit took 1.28s (6.56s from start)
2024-03-24 01:58:55.088 [Init] Prepping options...
2024-03-24 01:58:58.165 [Debug] [Load Time] Prep Objects took 3.06s (9.63s from start)
2024-03-24 01:58:58.165 [Debug] [Load Time] Web PreInit took 0.02s (9.64s from start)
2024-03-24 01:58:58.338 [Debug] [Load Time] Extensions Init took 0.17s (9.81s from start)
2024-03-24 01:58:58.339 [Debug] [Load Time] Prep Utils took 0s (9.81s from start)
2024-03-24 01:58:59.625 [Debug] [Load Time] Languages load took 1.28s (11.09s from start)
2024-03-24 01:58:59.625 [Init] Loading models list...
2024-03-24 01:59:01.408 [Debug] [Load Time] Model listing took 1.78s (12.88s from start)
2024-03-24 01:59:01.408 [Init] Loading backends...
2024-03-24 01:59:01.440 [Init] Loading backends from file...
2024-03-24 01:59:01.690 [Init] Initializing backend #0 - ComfyUI Self-Starting...
2024-03-24 01:59:01.742 [Init] Backend request handler loop ready...
2024-03-24 01:59:01.748 [Debug] [Load Time] Backends took 0.34s (13.22s from start)
2024-03-24 01:59:01.748 [Init] Prepping API...
2024-03-24 01:59:01.767 [Debug] [Load Time] API took 0.02s (13.23s from start)
2024-03-24 01:59:01.767 [Init] Prepping webserver...
2024-03-24 01:59:11.684 [Debug] [Load Time] [Web] WebApp builder prep took 7.72s (7.72s from start)
2024-03-24 01:59:18.954 [Debug] ComfyUI (Git Pull) stderr: From https://github.com/comfyanonymous/ComfyUI
2024-03-24 01:59:18.954 [Debug] ComfyUI (Git Pull) stderr:    327ca13..5d8898c  master     -> origin/master
2024-03-24 01:59:19.691 [Debug] [Load Time] [Web] WebApp build took 8s (15.72s from start)
2024-03-24 01:59:19.982 [Debug] [Load Time] [Web] exception handler took 0.3s (16.02s from start)
2024-03-24 01:59:19.982 [Debug] [Load Time] [Web] StartStop handler took 0s (16.02s from start)
2024-03-24 01:59:20.142 [Debug] [Load Time] [Web] static files took 0.16s (16.17s from start)
2024-03-24 01:59:23.593 [Debug] [Load Time] [Web] core use calls took 3.45s (19.63s from start)
2024-03-24 01:59:24.193 [Debug] ComfyUI (Git Pull) stdout: Updating 327ca13..5d8898c
2024-03-24 01:59:24.193 [Debug] ComfyUI (Git Pull) stdout: Fast-forward
2024-03-24 01:59:24.232 [Debug] [Load Time] [Web] core maps took 0.64s (20.27s from start)
2024-03-24 01:59:24.232 [Init] Scan for web extensions...
2024-03-24 01:59:24.575 [Debug] ComfyUI (Git Pull) stdout:  comfy/model_management.py | 16 +++++++++++-----
2024-03-24 01:59:24.575 [Debug] ComfyUI (Git Pull) stdout:  execution.py              |  1 +
2024-03-24 01:59:24.575 [Debug] ComfyUI (Git Pull) stdout:  2 files changed, 12 insertions(+), 5 deletions(-)
2024-03-24 01:59:24.591 [Info] Self-Start ComfyUI (Git Pull) exited properly.
2024-03-24 01:59:24.595 [Debug] Status of ComfyUI (Git Pull) after process end is RUNNING
2024-03-24 01:59:24.829 [Debug] Requested generic launch of dlbackend/comfy/ComfyUI/main.py on GPU 0 from ComfyUI-0
2024-03-24 01:59:24.836 [Debug] (ComfyUI-0 launch) Adding path C:\111\Voic\StableSwarmUI\dlbackend\comfy\python_embeded
2024-03-24 01:59:24.836 [Debug] (ComfyUI-0 launch) Will use python: C:\111\Voic\StableSwarmUI\dlbackend\comfy\python_embeded\python.exe
2024-03-24 01:59:24.958 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
2024-03-24 01:59:25.017 [Debug] [Load Time] [Web] end took 0.78s (21.05s from start)
2024-03-24 01:59:25.017 [Debug] [Load Time] Web prep took 23.25s (36.48s from start)
2024-03-24 01:59:25.017 [Init] Readying extensions for launch...
2024-03-24 01:59:25.023 [Debug] [Load Time] Extensions pre-launch took 0.02s (36.5s from start)
2024-03-24 01:59:25.023 [Init] Launching server...
2024-03-24 01:59:25.026 [Init] Starting webserver on http://localhost:7801
2024-03-24 01:59:31.391 [Debug] [Load Time] Web launch took 6.36s (42.86s from start)
2024-03-24 01:59:31.391 [Init] Program is running.
2024-03-24 01:59:31.950 [Init] Launch web browser...
2024-03-24 01:59:44.956 [Info] Creating new admin session 'local' for ::1
2024-03-24 02:00:12.776 [Debug] ComfyUI-0 port 7821 waiting for server...
2024-03-24 02:01:03.645 [Debug] ComfyUI-0 port 7821 waiting for server...
2024-03-24 02:01:54.495 [Debug] ComfyUI-0 port 7821 waiting for server...
2024-03-24 02:02:45.392 [Debug] ComfyUI-0 port 7821 waiting for server...
2024-03-24 02:03:36.313 [Debug] ComfyUI-0 port 7821 waiting for server...
2024-03-24 02:04:04.047 [Warning] ComfyUI-0 on port 7821 stderr: Traceback (most recent call last):
2024-03-24 02:04:04.052 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\main.py", line 76, in
2024-03-24 02:04:04.090 [Debug] ComfyUI-0 on port 7821 stderr:     import execution
2024-03-24 02:04:04.104 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 11, in
2024-03-24 02:04:04.105 [Debug] ComfyUI-0 on port 7821 stderr:     import nodes
2024-03-24 02:04:04.105 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 21, in
2024-03-24 02:04:04.162 [Debug] ComfyUI-0 on port 7821 stderr:     import comfy.diffusers_load
2024-03-24 02:04:04.162 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\diffusers_load.py", line 3, in
2024-03-24 02:04:04.214 [Debug] ComfyUI-0 on port 7821 stderr:     import comfy.sd
2024-03-24 02:04:04.214 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\sd.py", line 5, in
2024-03-24 02:04:04.311 [Debug] ComfyUI-0 on port 7821 stderr:     from comfy import model_management
2024-03-24 02:04:04.311 [Debug] ComfyUI-0 on port 7821 stderr:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\model_management.py", line 38, in
2024-03-24 02:04:04.312 [Debug] ComfyUI-0 on port 7821 stderr:     import torch_directml
2024-03-24 02:04:04.312 [Debug] ComfyUI-0 on port 7821 stderr: ModuleNotFoundError: No module named 'torch_directml'
2024-03-24 02:04:14.607 [Info] Self-Start ComfyUI-0 on port 7821 unexpectedly exited (if something failed, change setting LogLevel to Debug to see why!)
2024-03-24 02:04:14.610 [Debug] Status of ComfyUI-0 on port 7821 after process end is LOADING
2024-03-24 02:04:14.610 [Info] Self-Start ComfyUI-0 on port 7821 had errors before shutdown:
ComfyUI-0 on port 7821 error: Traceback (most recent call last):
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\main.py", line 76, in
ComfyUI-0 on port 7821 error:     import execution
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 11, in
ComfyUI-0 on port 7821 error:     import nodes
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 21, in
ComfyUI-0 on port 7821 error:     import comfy.diffusers_load
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\diffusers_load.py", line 3, in
ComfyUI-0 on port 7821 error:     import comfy.sd
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\sd.py", line 5, in
ComfyUI-0 on port 7821 error:     from comfy import model_management
ComfyUI-0 on port 7821 error:   File "C:\111\Voic\StableSwarmUI\dlbackend\comfy\ComfyUI\comfy\model_management.py", line 38, in
ComfyUI-0 on port 7821 error:     import torch_directml
ComfyUI-0 on port 7821 error: ModuleNotFoundError: No module named 'torch_directml'
2024-03-24 02:04:15.964 [Debug] ComfyUI-0 self-start port 7821 loop ending (should now be alive)
2024-03-24 02:04:16.330 [Debug] Data refreshed!

Ah, you're on an AMD GPU? See here https://github.com/Stability-AI/StableSwarmUI/issues/23
tldr: AMD GPUs are a pain to get working properly, but it can be done with a bit of manual forcing it

Thank you, the problem has been solved

Hey. My workflow tab isn't loading as well. I'm on a 4090. Here's the debug log. Thanks!
2024-08-16 15:35:33.769 [Debug] ComfyBackendDirect call was misrouted, rerouting to '/ComfyBackendDirect/user.css'
2024-08-16 15:35:33.769 [Debug] ComfyBackendDirect call was misrouted, rerouting to '/ComfyBackendDirect/materialdesignicons.min.css'
2024-08-16 15:35:33.769 [Debug] ComfyBackendDirect call was misrouted, rerouting to '/ComfyBackendDirect/assets/index-DIiqwEjy.js'
2024-08-16 15:35:33.769 [Debug] ComfyBackendDirect call was misrouted, rerouting to '/ComfyBackendDirect/assets/index-CwWW6Xjy.css'
2024-08-16 15:35:33.784 [Debug] [Load ComfyUI Self-Starting #0] Got valid value set, will parse...
2024-08-16 15:35:33.784 [Debug] Comfy backend 0 using model folder format: backslash \ due to model OfficialStableDiffusion\sd_xl_base_1.0.safetensors
2024-08-16 15:35:33.784 [Debug] [Load ComfyUI Self-Starting #0] Done parsing value set.
2024-08-16 15:35:33.787 [Debug] Data refreshed!
2024-08-16 15:35:34.175 [Debug] ComfyUI redirection gave non-200 code: '404' for URL: GET 'api/userdata/workflows%2F.index.json'
2024-08-16 15:35:34.186 [Debug] ComfyBackendDirect call was misrouted, rerouting to '/ComfyBackendDirect/assets/index-DjWyclij.css'

@dapa5900 this is the old Stable repo, see modern independent repo @ https://github.com/mcmonkeyprojects/SwarmUI/issues/169#issuecomment-2294346528


Barchart Scope to hurumap core

Description
Moves Barch
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Screenshots
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

@kelvinkipruto @kilemensi check this out

Looks alright @koechkevin but can you add a bit of documentation/description of the approach we're going with?

@kilemensi are we expecting your review here?

No @koechkevin .... once other members have approved, please go ahead and merge.


Elevation is higher than position...?

In the following code shows one thing that I didn't undertsand very good yet
Why the elevation prop is higher than position: absolute with zIndex: 99...
If uncomment the elevation tha red View stays on top of the Card :question:
https://snack.expo.io/@alexalannunes/provingpositionwithelevation

Missing Environment Information
Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

I'm using snack.expo.io ...

?

I'd like someone answer me!


[Add] Remote job finding resouce

Site URL
https://remoteintech.company
Description of the above provided site
A list of semi to fully remote-friendly companies in or around tech.
Category
Resources
Sub Category
website
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

As mentioned in the contributing guidelines

I'm opening this up for others to grab.
You already have issues assigned to you.

My pull requests have been created and require a second review the pull requests are #1738 and #1728 can you please review them so I can work on this issue then

@dfordp
Please be patient, and don't tag us repeatedly.
It takes time, and we will do it accordingly.

I don't know why you all are in such a rush, you will get your point.

Sorry I will try and be more patient now. It was just a lil overwhelming

Sorry I will try and be more patient now. It was just a lil overwhelming

I get it @dfordp. Just take a deep breath, it'll all be fine. 😄  I was pretty overwhelmed when I first started in open source, but what calmed me down is that things will be looked at eventually and to just think of making a pull request like cooking. If you cook it at the right temperature and give a balanced amount of seasoning, you get something beautiful everyone will enjoy! 😄

Sorry I will try and be more patient now. It was just a lil overwhelming

I get it @dfordp. I was pretty overwhelmed when I first started in open source, but what calmed me down is that things will be looked at eventually and to just think of making a pull request like cooking. If you cook it at the right temperature and give a balanced amount of seasoning, you get something beautiful everyone will enjoy! 😄

WOW! 😁

Sorry I will try and be more patient now. It was just a lil overwhelming

I get it @dfordp. I was pretty overwhelmed when I first started in open source, but what calmed me down is that things will be looked at eventually and to just think of making a pull request like cooking. If you cook it at the right temperature and give a balanced amount of seasoning, you get something beautiful everyone will enjoy! 😄

WOW! 😅

lol, I just had to spread some wisdom you know :)

@dfordp
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me if you require any assistance.

@dfordp
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me if you require any assistance.

And me too lol

@dfordp
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me if you require any assistance.

And me too lol

Let me update the saved reply. !


Action LQR is broken

In GitLab by @nmansard on Mar 14, 2019, 12:16
When NX!=NU, ActionModelLQR does not work. Here is a feedback of test_solvers.py when LQR(3,2) is set:
Traceback (most recent call last):
File "test_solvers.py", line 667, in
problem = ShootingProblem(model.State.zero()+1, [model]*T,model)
File "/home/nmansard/src/crocoddyl/unittest/crocoddyl/shooting.py", line 12, in init
self.runningDatas  = [ m.createData() for m in runningModels ]
File "/home/nmansard/src/crocoddyl/unittest/crocoddyl/action.py", line 35, in createData
return self.ActionDataType(self)
File "/home/nmansard/src/crocoddyl/unittest/crocoddyl/action.py", line 184, in init
self.Fu[:, :] = model.B
ValueError: could not broadcast input array from shape (2,2) into shape (2,3)

In GitLab by @cmastalli on Mar 15, 2019, 13:42
assigned to @cmastalli

In GitLab by @cmastalli on Mar 15, 2019, 14:04
mentioned in merge request !141

In GitLab by @cmastalli on Mar 15, 2019, 14:05
I will close this since it's solved in !141.

In GitLab by @cmastalli on Mar 15, 2019, 14:05
closed

In GitLab by @cmastalli on Mar 20, 2019, 14:31
reopened

In GitLab by @cmastalli on Mar 20, 2019, 14:31
I will close after merging !141

In GitLab by @nmansard on Mar 22, 2019, 09:16
mentioned in commit 65c178d851a4498d591eaed62c84f685632169ec

In GitLab by @cmastalli on Mar 26, 2019, 16:41
closed


I wish I could nicely have a Class that implements all these handlers/providers

Testing #205609
Creating the Chat:
const participant = chat.createChatParticipant(name, ( ...) => {
    // ...
});
participant.commandProvider = (...) => {
    // ...
};
participant.followupProvider = (...) => {
   // ...
};

I wish that this was just:
class MyChatParticipant implements vscode.ChatParticipant {
    requestHandler(...) {
        // ...
    }

    commandProvider(...) {
        // ...
    }

    followupProvider(...) {
        // ...
    }
}

and then I pass this into chat.createChatParticipant(name, participant);
(commandProvider & followupProvider being optional)

Same discussion as https://github.com/microsoft/vscode/issues/205730 and https://github.com/microsoft/vscode/issues/205727 IMO, vscode owns the object that is created


Validating inputs for Mongo Collection Name DocDB DocumentID

Modify the partition key check to search for illegal symbols anywhere in the key.
Addresses #139

@PrashanthCorp Are you going to abandon this?

@StephenWeatherford  this was deemed lower priority. The current bugs in for 0.3.0 would touch on some of this code hopefully.

@PrashanthCorp If you're not merging this, please abandon it for now so it gets off our list.  You can always re-open later.

Closing this since it seems like a dupe of https://github.com/Microsoft/vscode-cosmosdb/pull/293


Support overlayFS per image

Summary and Scope

Issue Type

RFE Pull Request

Use a symlink to refer to the primary overlayFS. This will enable an overlayFS to be created that matches the image name, meaning a new image will receive a new overlayFS unless the disk is wiped.
This enables rollbacks to a previous overlayFS by updating the symlink, updating rd.live.squashimg, and then rebooting.
Prerequisites

[ ] I have included documentation in my PR (or it is not required)
[x] I tested this on internal system (x) (if yes, please include results or a description of the test)

Idempotency

Risks and Mitigations
This is not risky.

On a reboot to a new squashFS we hit a race condition where dmsquash-live tries to pivot to the rootfs before its ready.
Since SQFSRAID is available already on a reboot, dmsquash-live finds this and immediately tries to open the squashFS file inside. However the squashFS file hasn't been downloaded yet, and the new overlayFS hasn't been created either.


immersed-vr: init at 9.6

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Please consider to add this derivation to pkgs/by-name.
https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/README.md

Result of nixpkgs-review pr 260362 run on x86_64-linux 1

1 package built:

immersed-vr

The binary name is ${pname}-${version}. I guess that it would be more convenient to rename it to ${pname}, what do you think?

I looked for other derivations that used appimageTools.wrapType2, and I found that we can change the name using extraInstallCommands.
https://github.com/NixOS/nixpkgs/blob/f99e5f03cc0aa231ab5950a15ed02afec45ed51a/pkgs/applications/networking/station/default.nix#L25-L26


UI text not translated when creating a multilingual site with only one locale

What version of starlight are you using?
0.20.1
What version of astro are you using?
4.4.4
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
Brave
Describe the Bug
If I create a multilingual site with only one non-English locale like this, the UI text (like "On this page") is not translated, but always English instead.
defaultLocale: 'de',
locales: {
    de: {
        lang: 'de',
        label: 'Deutsch'
    }
},

As soon as I add another locale, for example fr, the UI text of the de locale is correctly translated to German.
Why am I trying to create a multilingual site with only one locale in the first place? I want to prepare for translations in the future.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-4oxm53?file=astro.config.mjs
You have to visit /de/ in Stackblitz manually. For some reason, the redirect from / to /de/ doesn't seem to work in Stackblitz - in my local installation, it does.
Participation

[ ] I am willing to submit a pull request for this issue.

Thank you for the report and the clear reproduction @sschultze!
I can confirm I’m seeing the same thing in your StackBlitz link. I think we never accounted for this situation with the expectation that monolingual sites always used the root as the default locale (as shown in our i18n guide), but this should work.

Thank you @delucis !

I did a little debugging and found out that the when returning the UserConfig it's expected to have "root" present but because of the Zod configuration it is not mandatory.
This would be fixed by changing this on user-config.ts:
	/** Configure locales for internationalization (i18n). */
	locales: z
		.object({
			/** Configure a “root” locale to serve a default language from `/`. */
			root: LocaleSchema.required({ lang: true }).required(),
		})

Either way I've also noticed that if we set "root" plus another locale setting the "defaultLocale" has no effect.


Testnet panick

The closing of #12 did indeed solve the issue of connecting to peers however I now see the following issue on testnet. Running current master 43aace6d711fb73b9e70b2b0039cfe8f309166f3
./target/release/zebra --data-dir=/home/gareth/.zebra-testnet --testnet
2019-06-27 16:20:41  INFO sync Processed 1000 blocks in 2.60 seconds (384.24 blk/s).    Peers: 3 (act: 3, idl: 0, bad: 0).      Chain: [sch:0 > req:237 > vfy:43 > db:1001]
2019-06-27 16:20:44  INFO sync Processed 1000 blocks in 2.94 seconds (340.25 blk/s).    Peers: 3 (act: 3, idl: 0, bad: 0).      Chain: [sch:0 > req:80 > vfy:0 > db:2001]
thread '<unnamed>' panicked at 'slice index starts at 1 but ends at 0', src/libcore/slice/mod.rs:2566:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:197
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:211
   4: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:474
   5: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:381
   6: rust_begin_unwind
             at src/libstd/panicking.rs:308
   7: core::panicking::panic_fmt
             at src/libcore/panicking.rs:85
   8: core::slice::slice_index_order_fail
             at src/libcore/slice/mod.rs:2566
   9: bitcrypto::pghr13::verify
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libcore/slice/mod.rs:2735
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libcore/slice/mod.rs:2818
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libcore/slice/mod.rs:2543
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/vec.rs:1677
             at crypto/src/pghr13.rs:89
  10: verification::sprout::verify
             at verification/src/sprout.rs:65
  11: verification::accept_transaction::JoinSplitVerification::check
             at verification/src/accept_transaction.rs:582
             at verification/src/accept_transaction.rs:655
  12: verification::accept_transaction::TransactionAcceptor::check
             at verification/src/accept_transaction.rs:80
  13: rayon::iter::plumbing::Folder::consume_iter
             at verification/src/accept_chain.rs:79
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libcore/result.rs:637
             at verification/src/accept_chain.rs:79
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/fold.rs:122
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/plumbing/mod.rs:176
  14: rayon::iter::plumbing::bridge_producer_consumer::helper
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/plumbing/mod.rs:108
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/plumbing/mod.rs:418
  15: std::panicking::try::do_call
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.3/src/iter/plumbing/mod.rs:413
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-core-1.4.1/src/join/mod.rs:122
             at /home/gareth/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-core-1.4.1/src/job.rs:113
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libstd/panic.rs:309
             at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/libstd/panicking.rs:293
  16: <unknown>
             at src/libpanic_abort/lib.rs:29
fish: “./target/release/zebra --data-d…” terminated by signal SIGABRT (Abort)

Additional details:
cargo --version
cargo 1.35.0 (6f3e9c367 2019-04-04)

I also removed the old testnet directory and was able to reliably reproduce this behaviour.

My mistake, I was on the wrong local branch :sleeping: It does indeed work :smile:


Expose {create,delete,...}_entity methods to manipulate objects of dynamic kind

If you have objects whose kind you don't know ahead of time, you can't used discovery-created methods like create_service, get_services.
Computing the method name e.g. client.send("get_#{kind}", ...) is messy, especially if you need the plural name :-(
We already have generic methods: get_entity, get_entities, create_entity, update_entity, patch_entity, delete_entity, watch_entities — except they're not documented in README and not considered public (and I believe we already changed interface once based on this)
Main use case is using objects from a yaml file (or from template processing). Related #208, #187, #325, #329.  (I felt before those would be good to expose, now found convincing use case)

[ ] review the API is good

[ ] watch_entities does double singular/plural duty depending of if :name is given — is this elegant?
So does watch_pods BTW — there is no watch_pod.
[ ] is namespace passed consistently? #312

[ ] document as public

Some initial feedback from my side. I just tried create_entity and noticed a couple of things:

Isn't it redundant that I need to specify kind and name, since they are present in entity? Maybe we could overload create_entity here with two diffrent kinds of parameters here? For example create_entity(entity_type, resource_name, entity_config) and create_entity(entity). The latter one could then be used with YAML.load_stream(file).first (basically just dumping the yaml file content in a loop into create_entity as a first step. Later an additional method like create_entities_from_yaml could be provided.
The method should check if the keys in the hash are strings or symbols, or at least raise a warning. Currently string-keys lead to undefined method '[]' for nil:NilClass because of https://github.com/abonas/kubeclient/blob/c637dc1d44363ea3facf2c893225a844f806dbb3/lib/kubeclient/common.rb#L311
In the same line I would additional fallback to the default K8S namespace default

Happy to provide more feedback (or even PR, if I can free up some time and get the connection to my cluster working.)
Thanks for your help in #329!

Feedback from @stiller-leser, not sure why it disappeared:

Some initial feedback from my side. I just tried create_entity and noticed a couple of things:

Isn't it redundant that I need to specify kind and name, since they are present in entity? Maybe we could overload create_entity here with two diffrent kinds of parameters here? For example create_entity(entity_type, resource_name, entity_config) and create_entity(entity). The latter one could then be used with YAML.load_stream(file).first (basically just dumping the yaml file content in a loop into create_entity as a first step. Later an additional method like create_entities_from_yaml could be provided.
The method should check if the keys in the hash are strings or symbols, or at least raise a warning. Currently string-keys lead to undefined method '[]' for nil:NilClass because of https://github.com/abonas/kubeclient/blob/c637dc1d44363ea3facf2c893225a844f806dbb3/lib/kubeclient/common.rb#L311
In the same line I would additional fallback to the default K8S namespace default

Happy to provide more feedback (or even PR, if I can free up some time and get the connection to my cluster working.)

https://github.com/abonas/kubeclient/pull/241#issuecomment-296431061 points out that among many other things #241 tried to, in offered better names and possibly better interface:

client.create(resource|json)
client.update(resource|json)
client.patch(resource|json)
client.delete(resource|json)

where the passed data was expected to contain kind possibly apiVersion.
(didn't mention .get() and .watch() but these are also workable)
Ability to omit apiVersion requires client to be able from discovery on multiple api groups would depend on the rest of #241 — one client associated with discovery on multiple API groups, which I'm not yet convinced is a good approach.
However, if you must provide both kind and apiVersion, that could be independent of discovery and a nice low-level API!

How would the client know to use api/ vs apis/ vs openshift's oapi/ ?
api/ is only v1 (and in future v2 etc.)
oapi/ is special but I think requiring a 2nd client for that is acceptable.

@abonas you've previously objected to #241 adding "more than one way of doing the same thing".  Would love to hear your thoughts as I'm pushing for a variant of same :-)
^^ https://github.com/abonas/kubeclient/issues/332#issuecomment-400662039
TLDR Kubeclient sorely lacks a way to manipulate dynamic resource types — client.send("get_#{kind}", ...) is awkward, especially if you have to pluralize — so I feel we can't avoid a 2nd way to do the same.
A major use case people are asking for is "I already have a yaml", so I think a low-level interface shaped exactly like k8s yamls is best.
Plus I'm hoping it can work without any discovery, from single client for any apiVersion, with rest of discovery -> define_method becoming a convenience layer on top of this.

client.patch(resource|json)

For patch, we need a way to choose patch format (#357) — json patch / json merge patch / strategic merge patch (https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/).
This is not communicated in body but via Content-Type header, and in kubectl via separate flag --type=json|merge|strategic so probably wouldn't belong in the single "resource" argument.
Can either use separate arg or 3 separate methods, should keep consistency with #357.

@cben It looks like you arrived at a decision on this for a method where specifying both kind and apiVersion are required. What is blocking implementing and shipping that? It seems trivial.

Right, that decision is clear.
Nothing serious, just lack of my time... PRs very welcome :smile:
See checkboxes above, there are some questions that I hoped people would have an opinion on, but I've been linking people to this issue for some time and nobody said anything so I guess the design is OK :man_shrugging:
A major thing I hope we can achieve here is having a single client object work with any apiVersion, kind given.  Can we deduce the request URL from the apiVersion and kind alone?  kind is always singular, e.g. NetworkPolicy, but the URL always contains a plural e.g. .../networkpolicies/... (both for single-object and multi-object requests).
k8s devs have said they regret this, it makes life harder for clients, but we're stuck with it...

Currently we get this plural name from discovery (name, called resource_name in rest of our code), but currently we only do discovery for a single api group.
We could split discovery into "get and cache info by an api group" separate from "define methods".  "define methods" part would still only happen for the 1 group chosen group chosen at construction time.  [and in future multiple #348].
This is definitely workable, just more work than the "trivial" refactoring you thought this needs...

Could this low level interface work without discovery, by mechanical pluralization?  Needs rules for y-> ies, s -> ses, plus a list of exceptions.  It's mostly workable, though CRDs in principle allow arbitrary unrelated kind vs plular.   This could stink if some resources won't work at this low level before discovery but will work after discovery...
AFAICT, kubectl didn't attempt this, it always does discovery (cached in filesystem).  Though maybe it has higher standards — also does things like client-side validation, kubectl explain etc...
OTOH, I think generate clients like the Go one don't need discovery (?), but all supported types are hard-coded, which we don't want to do.
Bottom line: I doubt we want to get into this...

Can we sidestep this by requiring/allowing caller to also give the plural?
Note we need it even for actions on a single object, which looks a bit silly, e.g. getting a single pod might look like:
client.get({kind: 'pod', apiVersion: 'v1', metadata: {name: ..., namespace, ...}}, plural: 'pods')
or maybe:
client.get('pods', {kind: 'pod, apiVersion: 'v1', metadata: {name: ..., namespace, ...}})
(If given, can we allow omitting kind?  Probably, long ago it was needed for some actions (create etc), and kubeclient still sends it but doesn't really need to, #333.)
What I dislike here is that people have real use cases to take JSON/YAML as kubectl does—with kind but without plural—and have it Just Work.
But maybe it's a useful migration path: first implement this feature requiring a 2nd plural: option, which is straightforward; later make that optional by discovery and/or pluralization?

Another small step that's possible is first make this work for currently discovered api group only.
Then make multi-discovery work later.


Qbaka alternative

Find a faster alternative
Original issue by @bmesuere on Mon Oct 28 2013 at 21:29.
Closed by @bmesuere on Sat Nov 16 2013 at 15:21.

Use Google Analytics to track errors:
window.onerror = function(message, file, line) {
    trackEvent("Global", "Exception", file + ': ' + message);
};
_gaq.push("_trackEvent", param1, param2, ..)

Original comment by @bmesuere on Fri Nov 08 2013 at 13:30.


No more updates?

This is a great repository and hopefully will continue to be updated!

unfortunately, in the last few months, I haven't had a lot of time to dedicate to the development of the project. The purchase of a MacBook Air contributed to this. As soon as I can, I will update the project with the latest opencore and kext releases.

Thanks so much!


Doc:Howtos: Token exchange

Issue and Steps to Reproduce
I have usecase of token exchange.
May I know how can we tackle this ?
At a high level, we have 2 oidc servers where login is required only first time and then auto authorize with other.  One is local keycloack and other one enterprise Forgerock.

Versions
Any
Screenshots
Expected
Need more example and ways if you are familiar with this.
Actual
Additional Details

Installed packages:

Hi @pgangwani , thank you for your issue.
I have to read token exchange documentation more in details but i'am pretty sure it is a server side protocol.  Do you need to apply token exhange at server side inside you API or from client side ?

Imagine like Shell which is authenticated always using keycloak. However there is sub component/MFE (think like tab of the  which is registered with enterprise IAM - forgerock). Now when sub-compoenent renders, it redirects to enterprise SSO, which I need to silently resolve like in your multi auth example. But only difference is authority is changing to enterprise SSO so token would not work.
Now same logistic can apply to BFF of that MFE and I expect the same solution can apply there as well. Please note I dont have surity that it is solution for library but this is for example / doc if we can achieve some combination like that for the reference.


ARROW-10651: [C++] Fix alloc-dealloc-mismatch in S3-related factory

aws-sdk-cpp requires to use matched Aws::New and Aws::Delete. Since the
AwsWriteableStreamFactory provides an Aws::IOStreamFactory object that
would be called inside aws-sdk-cpp, it is supposed to use an Aws::New
instead of the native cpp new operator.

Thank you. Does Aws::New use a different allocator?

Thank you. Does Aws::New use a different allocator?

Referring to https://github.com/aws/aws-sdk-cpp/blob/master/aws-cpp-sdk-core/include/aws/core/utils/memory/AWSMemory.h , aws-sdk-cpp uses its own allocator and deallocator of Aws::New and Aws::Delete, which call malloc/free and constructor/destructor explicitly in turn.


Add support for #[schema(pattern = "...")] on new type structs

This adds pattern for new type structs
Forgot about this issue I had a busy semester.
Closes #1150

Forgot about this issue I had a busy semester.

No worries, :slightly_smiling_face:


Redeployment Role Assignment Error

Hi there, having issues with redeployment using the deploy with ARM template in the link below. The first instance of deployment works fine. Deleted all the resources groups, policy assignments, management groups and moved the subscriptions back to root tenant. But when I try to deploy the same template using the same subscription the second time I get the following error. Not sure if Im missing any other steps in the clean up process. Appreciate your guidance please. Thank you.
https://github.com/Azure/Enterprise-Scale/tree/main/docs/reference/adventureworks

On the subscription used for connectivity/platform, you will likely have a dangling roleAssignment now that the policyAssignment from the LZ management group is deleted. Deleting this - followed by a re-run of the deployment should do the trick.

Works like a charm. Thank you so much for the quick response! :)


Allow falling back to using dynamic_config_fallbacks.json if the dynconf service is not responding

@vfarme

Is it possible to switch to a fallback if there's no dynamic configs service running?

@Anton3

Yes by turning off dynamic-config-client-updater and turning on dynamic-config-fallbacks using load-enabled

@vfarme

But then how the updater would work if there is the dynconf service?

@Anton3

Well, using dynamic configs client and automatically falling back to the fallbacks file is currently not supported
We currently don't allow automatically falling back to the fallback config, because the configs there could be outdated or mostly testsuite-oriented, since our devs are so used to working with dynamic configs through the frontend for the dynconf service
We could add a switch to dynamic-config-client-updater to allow that.

@vfarme

I see the point but I'd think it's logical behavior.
Use dynconf service by default -> if not available do fallback -> if dynconf service becomes available connect to it rereading config values.

While refactoring dynamic configs, we discovered a workaround that will already work.
First, you should specify fs-cache-path so that if the config service is unavailable, the starting service will take the config from it.
But what if the service was restarted and the cache was reset? Actually, for the configs that are missing from the cached JSON, the defaults are used. So you could just manually create a cache file with {} as the contents, and defaults will be used for all the configs.
Once the config service becomes available, the service will replace the cache with up-to-date configs.


How about apps not in LaunchPad?

StarCraft II, launched through Battle.net, for example, doesn't seem to be using the eGPU at all, after running the script and "Set eGPU Preference for All Applications".
Macbook Pro 2017 with TouchBar, macOS High Serra 10.13.5, AMD Radeon RX Vega 64
Does it matter if eGPU has a connected display?
Also does it matter which display is set as the main? (I ask because Parallels Desktop prompts me to set the display that is connected to eGPU as the main one.)

If the preference for an application is set correctly, then the setting should be display-agnostic. However, some users have reported that sometimes games won't use the eGPU. Additionally, some games only work if there is a display attached to the GPU (no need for it to be the main display, just be present - can be a headless HDMI - no mirroring required).
I will investigate the issue with applications installed by clients like Battle.net and Steam soon. In the meantime, you could try setting the preference manually (Option #2). The basis of the script is that it finds the config plist of the apps using a simple trick:
osascript -e 'id of app "<app_name>"'

If the game, in this case "StarCraft II", returns an output for this command, then manually setting it will change its preference for sure - whether it responsibly adheres to the preference is unknown.

osascript -e 'id of app "StarCraft II"' returns net.battle.bootstrapper, which I guess does not help detecting the game...
On the other hand, the game I want this to work the most, EVE Online, the launcher of which spawns a Wine container. osascript -e 'id of app "wine"' doesn't work at all. :(

FYI, now I'm trying out games from Steam, osascript -e 'id of app "Besiege"' returns unity.Spiderling Games.Besiege. But the script still says Target application does not exist.

Thank you for the report. I will attempt making refinements to the script soon.

v1.1.0 should resolve issues with steam Applications. Applications that don't expose their correct config plist will be investigated later. Apps must be updated to use eGPUs on dev-end. This is only a stopgap measure.


Error when installing @jazzer.js/core on linux arm architectures

We using the @jazzer/core for one of our libs which is also a native module.  Thanks making this module!!!  We prebuild the binaries for a number of architectures and found an edge case in your build process.
Issue 1)
We are attempting to prebuild our library for linux/arm64 which is not prebuilt by jasser.js/fuzzer so it attempts to build it locally.  The issue is that prebuild is a devDependency.
@jazzer.js/fuzzer package.json
		"prebuild": "prebuild --runtime napi --backend cmake-js --all --strip --verbose",
		"install": "prebuild-install --runtime napi || npm run prebuild",

The installation falls back to the second case where npm run prebuild scripts runs and when it does it throws Error: prebuild not found.  Likely this is because its a dev dependency.  For the time being we have added prebuild as a global package in our docker container but when the build runs we came up with the second issue below.
Issue 2)
Your CmakeLists.txt has a target that is not supported on linxu/arm64
set(LIBFUZZER_TARGET "clang_rt.fuzzer_no_main-x86_64")
Not sure how to handle this second part of things but wanted to also bring it to your attention.

The only solution I found was to save Jazzer deps as optional...

The only solution I found was to save Jazzer deps as optional...

We use yarn and this approach caused us issues downstream because yarn pulls optional and there is no flag to ignore them like there is for peer deps.  We ended up just running an exec in the fuzz test entrance file if it was not installed yet.
https://github.com/ChainSafe/blst-ts/blob/05be5dac3b2c296f3627e06f75623aaba4d1fa78/test/fuzz/fuzz.test.ts#L31


create a subclass to connect to RabbitMQ using the dead letter queue

This PR is about this task and consists of creating a new class to connect to RabbitMQ using a dead letter queue.
The change of this PR does not introduce a new feature, it is also improving the readability of this repository.
All the services that use a queue have been updated to utilize the new class and remove the parameter dead_letter_queue. Additionally, some tests have been updated.
In the Dockerfile, the ownership of the /app folder was updated to resolve an issue identified in Kubernetes.
How to test it?

Clone the repository
git clone ... or git fetch

Use the branch of this PR
git checkout -b DEV-1188-queueConnection-subclass

In the working directory,

3.1. Create the image
docker build -t document_generator .
3.2. Run the container
docker compose up document_generator -d
3.3. Run Python tests related to document_generator_service
docker compose exec document_generator pytest document_generator ht_document ht_queue_service ht_utils
If you see the image below in your terminal, the PR is working fine.

Thank you, @Ronster2018 and @moseshll!


Migrate to rebar3

I have to revork how CT suite data is located because rebar3 creates a copy of data files in _build. So, I decided to use data directories http://erlang.org/doc/apps/common_test/write_test_chapter.html#data_priv_dir and symlinc submodule to it.

Think I'm going to merge it - it doesn't break anything.


[BUG] Calendar information not updated correctly even after changing trigger fields

If a user updates an existing calendar entry and uses DOMI to update meeting location and meeting id, but also changes start date and end date which are for sure trigger fields, the invitee gets the update notification including the meeting information, but after confirming it, the meeting information is still not saved to the calendar entry.

Hi @KSchroeder2021 :   Are you clicking the the "Update Meeting" button?  That is required to send the updated meeting information to the appropriate Online Meeting Service (Teams, GTM, whatever) in order to get an updated meeting URL.

BTW, this will be handled automatically in the DOMI integrated mail template shipping with 12.01.

Hi @KSchroeder2021 :  I deleted my previous comment because I originally misunderstood the issue and my answer is not valid.  It appears that reschedule notifications are only sending out core trigger fields, and not the updated location information.   This is a core code issue, and not part of the DOMI enhancements.  I will report this to Core Development, in the hopes that they can resolve it quickly for 12.0.2 (or possibly have already resolved it for 12.0.1).

This has been fixed in the 12.0.1 template.

Hello, some of our customers still using 11.0.1FP3 and 12.0 templates.
It is possible to share the code for this fix?
Kind regards


List id and stake of pools

Context
We want to implement this endpoint for (the cardano-node-) Shelley.
https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/listStakePools
There is a LocalStateQuery command to GetStakeDistribution. Although this returns the stake as a fraction, not in real ada.
Decision

Use GetStakeDistribution list stake pools, providing their id and stake, as a first step. Other fields may be omitted or use dummy values.

Acceptance Criteria

[ ] API and CLI must be able to list stake pools
[ ] the id field must be correct
[ ] the controlled_stake field must be correct
[ ] the saturation field may be implemented

Development

[ ] Can we get the total stake, or would it be acceptable to use the fractional stake we have?

QA

See https://github.com/input-output-hk/cardano-wallet/blob/master/lib/core-integration/src/Test/Integration/Scenario/API/Shelley/StakePools.hs#L443-L559

lgtm


Conditional Check for custom primary key

Is your feature request related to a problem? Please describe.
I am not sure if this is a known thing. I searched for similar open issues haven't found any.
When I set a custom primary key for a model like this example :
type Project @model @key(fields:["projectId"]) {
     projectId:ID!
     projectName:String
}

When I run the auto generated CreateProject Mutation there is no conditional check for the primary key projectId. Instead it overwrites any existing items with the same primary key.
Describe the solution you'd like
Since we are describing the @key directive, I am assuming the CLI can do this automatically while it provisions the resolvers?
Also what will be the behaviour for compound primary keys with hash keys and sort keys?
Describe alternatives you've considered
I was able to solve my issue by editing the resolver for Mutation create Project and adding
#set( $condition = {
  "expression": "attribute_not_exists(#projectId)",
  "expressionNames": {
      "#projectId": "projectId"
 }})

@ammarkarachi enhancement? Seems like a bug that graphql-dynamodb-transformer functionality that fails to account for the primary key not always being 'id'. Its not documented for the user that changing the pk name comes at the cost of broken features.

@RossWilliams you are right it should be treated as a bug

I've just come across the same issue.
It looks the logic to check for a custom primary key using ModelObjectKey already exists in the makeUpdateResolver method.
Perhaps the same or similar logic, swapping attribute_exists for attribute_not_exists, could be applied to where the primary key is hard coded to id in the makeCreateResolver method?


Enable persistent storage in forked mode

Description
Persistent storage is currently only enabled for the emulator network. This PR adds support for local and remote sqlite dbs for persistent storage.

For contributor use:

[x] Targeted PR against master branch
[ ] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the GitHub PR explorer
[x] Added appropriate labels

Codecov Report

Merging #432 (86a80db) into master (599441d) will decrease coverage by 0.18%.
The diff coverage is 15.78%.

@@            Coverage Diff             @@
##           master     #432      +/-   ##
==========================================
- Coverage   54.45%   54.28%   -0.18%
==========================================
  Files          27       27
  Lines        3509     3509
==========================================
- Hits         1911     1905       -6
- Misses       1444     1450       +6
  Partials      154      154

Flag
Coverage Δ

unittests
54.28% <15.78%> (-0.18%)
:arrow_down:

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

Impacted Files
Coverage Δ

server/server.go
55.64% <5.88%> (-2.86%)
:arrow_down:

storage/remote/store.go
45.71% <100.00%> (+0.57%)
:arrow_up:

This is great, we can also easily implement rollback support in forked mode.


[Exposure Request] codeunit 90 "Purch.-Post" - ResetTempLines

Please make function ResetTempLines in Codeuniot 90 externally available.
procedure ResetTempLines(var TempPurchLineLocal: Record "Purchase Line" temporary)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 41864.


on running command  sudo ./raft-init.sh [] Cleaning up temporary data directories [] Configuring node 1 (permissioned) ./raft-init.sh: line 15: geth: command not found  need help..

System information
Geth version: geth version
OS & Version: Windows/Linux/OSX
Branch, Commit Hash or Release: git status
Environment: docker, vagrant, host os
Expected behavior
Actual behavior
Steps to reproduce the behavior

[First step]
[Second step]
[and so on...]

Error Logs
Backtrace
[backtrace]

Hi @sherrygarg
Where are you running this from? e.g. inside docker, vagrant or on the host OS?

If you are running on the host OS, then you need to install Quorum first, and make sure the it is on path. Please refer to these instructions on how to do that: https://github.com/jpmorganchase/quorum-examples#setting-up-locally
If you are running inside vagrant, then the initialisation may not have worked properly. Try destroying the machine with vagrant destroy and then recreating the machine with vagrant up. If any error occurs during initialisation, you should see some output on the console, and then paste it here.
Thanks!

Please reopen if theres still an issue.


[Feature] test for notice

What problem does this feature solve?
none
What does the proposed API look like?
none

test commit


A new version of spark_unity.jar that contains toDataFrame(...) funct…

A new version of spark_unity.jar that contains toDataFrame(...) functionality

Looks good to me.


Issue: autolv.datatypes.AutoLVError: '<COMObject >' not array like

When I open a VI(Only one graph in front/block diagram) like below: then error happened

Notice that this graph is a Waveform type, not double array.
Traceback (most recent call last):
File "c:\test\First_autolv\myFirst_autolv.py", line 31, in
vi.run()
File "C:\test\First_autolv.venv\lib\site-packages\autolv\interface.py", line 280, in run
asyncio.run(task)
File "C:\Users\lawgu.pyenv\pyenv-win\versions\3.10.0-win32\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\lawgu.pyenv\pyenv-win\versions\3.10.0-win32\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "C:\Users\lawgu.pyenv\pyenv-win\versions\3.10.0-win32\lib\asyncio\tasks.py", line 408, in wait_for
return await fut
File "C:\test\First_autolv.venv\lib\site-packages\autolv\interface.py", line 236, in _task
await asyncio.gather(self._run(), self._spinner())
File "C:\test\First_autolv.venv\lib\site-packages\autolv\interface.py", line 219, in _run
ctrl.value = value
File "C:\test\First_autolv.venv\lib\site-packages\autolv\datatypes.py", line 380, in setattr
raise AutoLVError(f"'{value}' not array like")
autolv.datatypes.AutoLVError: '<COMObject >' not array like
Here is the Python code with autolv

You could see that exection stop in Line 31. I know that we have announced that autolv doesn't support waveform type. But we should give out correct information to users and better don't exit code workflow here.
BTW, happy to see if line 31 replace with vi() it could work
Unfortunately, vi.read_controls seeing the same issue if the VI contains Waveform graph and clsuter.

@LawsonGu For these unsupported controls like Waveform Data Type, I can issue a logging.Logger.warning() and remove them from the internal data structure containing the controls. This will allow the VI to execute. Here's an example:

Is this the desired behavior?

Yes, I let close this issue if you finish that.


Can we just use MNE in requirements?

Issue #160

Need to rebase once paths are fixed.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #161   +/-   ##
=======================================
  Coverage   97.86%   97.86%
=======================================
  Files          34       34
  Lines         845      845
=======================================
  Hits          827      827
  Misses         18       18

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 17f95a6...d641c69. Read the comment docs.

@larsoner do you foresee any issues with me going this sparse with the requirements and environment files?

installing mne-python like this will only give you numpy, scipy and matplotlib. You will not have any 3D support.

Thanks @agramfort that is very relevant for me to know because MNE-nirs provides some nirs specific 3D plots.
It seems I shouldn't go bare minimum then. I will add the 3D libraries back in.

Thanks for point this out @agramfort, I know see that in the CI tests the 3d plots are being skipped due to the @requires_pysurfer line.

@larsoner I am now struggling to see the middle ground here. I find the most helpful part of having the environment.yml file is that new users load that in to anaconda and they are instantly ready to go, which makes me think keeping the full file will make my life easier. Also this makes it easy for me to keep in sync with MNE. But as you mentioned, this is probably overkill for CI testing. Is it ok to leave as is for now and revisit this later?

Yeah it should be fine to leave it

Thanks @larsoner. I would like to optimise these still (maybe when I've got a bit more time) so I will leave the issue open.


Fix overflow in hash table offsets

Fixes hash table offsets wrapping into uint range when reading files modified by TexTools.

sorry forgot, done now


Tracking issue on Oculus.

Hello,
im trying get the SteamVR Sample Scene to run.
Problem is that the HMD(Rift S) get detected and tracked, but the controllers not.
What i tryed so far:

I've removed the Oculus SDK and use only the OpenVR one.
I tested the default controll cheme and an custom one.
I tested the Player and VRCamera Prefab.

It seems that the HMD get its index but the controllers not.
There was once an issue with the same problem but it has been closed without solution.

I believe this has been fixed since this post was made. If not, please create a new issue with the repro steps and ideally an example project to replicate the issue. Thanks!


openpgp: Refactor subkey revocation

Writing signatures honors subkey revocation; previously we would sign with revoked subkeys
Add a test case for both an online and offline master private key
Workaround bug in GPG which doesn't appear to export subkey revocations
along with secret keys in gpg --export-secret-subkey
Workaround lack of support for writing out proper signature in SerializePrivate;
in particular, there is no code to do cross-signatures; so just use the
ones that were generated by GPG.
Don't bail on a key if you find a bad subkey, or one with bad signatures;
rather, just append them to a new array (BadSubkeys) and keep going.
Don't have Revocation overwrite Sig in the signature structure. Allow room
for both, so we can output serialized keys the way gpg does.

r? @oconnor663

:ship:


Add description and workaround of Spyder UMR conflict with Astropy to Troubleshooting Guide

Problem Description
Need a place to document known Spyder issue with Astropy. There is a PR at astropy/astropy#7374 but we feel it belongs more to your documentation over here. Please advise.
What steps will reproduce the problem?
Detailed description at astropy/astropy#7363
What is the expected output? What do you see instead?
Expect no error message. Instead, there is error message.
Package Versions

Spyder: <IP_ADDRESS> - 3.1.2
Python: 2.7
Qt: N/A
PyQt: N/A
Operating System: openSUSE Leap 42.3

Dependencies
N/A

Thanks for the information and request. The place to put it currently would be our Troubleshooting Guide and FAQ on our wiki, where we list common known issues and solutions (although it is currently more focused on general troubleshooting, it is in the slow process of being expanded).
However, I note both here and skimming the attached thread, the problem exists only with

Spyder: <IP_ADDRESS> - 3.1.2

Those Spyder versions are many years old and long-unsupported; the current stable version is 3.2.8; with 3.3 in the immediate works and Spyder 4 as the development version. Therefore, if the issue isn't present in the current version (or at least something very near it), we can only advise that users update to the supported stable release; due to the current funding situation we simply cannot spare the resources supporting versions that are many years old, unfortunately.
Therefore, please advise accordingly. Thanks!

Thanks for looking into this; I have confirmed the problem under MacOS 10.12 and Python 2.7 (it does not occur in 3.5 or higher) for
spyder 3.2.8
qtpy 1.3.1
pyqt5 5.10.1
astropy 2.0.5

as long as astropy is not among the blacklisted modules, i.e. actually reloaded by sitecustomize.UserModuleReloader. I have tested a similar script reloading the scipy, pandas and pytables packages, and none of the latter raises an exception.

Okay, thanks for following up @dhomeier . Pardon my ignorance, but is the reason Spyder is detecting it as a "user module" and even trying to reload it is that you're actively developing and modifying it from e.g. a git clone, vs. having it installed normally as most users would? My understanding is that UMR shouldn't even try to trigger if there are no changes to the module and it is properly installed as a third party package vs. just being on the path/in the working directly (I don't know the exact logic off the top of my head). @ccordoba12 ?

@pllim, @dhomeier, what if we simply add astropy among our list of default blacklisted modules for Python 2.7?
We can certainly add a note in our docs, but I doubt people would easily find it.

@CAM-Gerlach, in the original bug report the user was running the Spyder version (3.1.4) installed on her Ubuntu 17.10 system with a user installation of Astropy in ~/.local/lib (probably in some way like pip install --user). Since Astropy versions included with most distributions are often even more out of date than Spyder, if they exist at all, this is probably not a too uncommon situation.
If not blacklisted, the UMR reloads the imported astropy modules in any case, even if they have not been changed since the first run file().

@ccordoba12, yes, I think that would be a helpful workaround - active astropy development is under Python 3 only anyway, and in any case is should be safer to start a new IPython kernel for testing.

Thanks for the explanation @dhomeier . I guess I can be a little too conda centric sometimes, heh.

should be safer to start a new IPython kernel for testing.

Just in case you're curious about the various ways to quickly achieve this in Spyder, I refer you to the recent #6955 .

@dalthviz, please work on this one.


fix kebab vs camel-case event names

This PR fix the following problem
v-on:click="$emit('myEvent')"
v-on:myEvent="doSomething()"

Now $emit('myEvent') trigger v-on:myEvent, v-on:myevent, v-on:my-event, and log error message to the console when event isn't hook: and cannot find in registered events.

FYI this already works if you are using string templates instead of in-dom templates. We've discussed this in the past but decided that ambiguous event name matching may end up causing subtle bugs.
The short answer is stick to kebab-case if you really have to use in-com templates.

OK, but now there is no any warning message, when event cannot find in vm._events

@lgabster that's a good point. I think what we can do is:

In dev mode, if an event misses, check for a loose match. If there is a loose match, warn the user about the event casing problem.