text:
Fix BlockMasterIntegrityIntegrationTest for worker stream register

This test fails when worker registers with a stream, due to how the operation are rearranged for the streaming registration.
Although this is on the same codepath for unary RPC register, this does not affect the correctness.

@HelloHorizon fyi

Codecov Report

Merging #14363 (eed1910) into master (7f30116) will decrease coverage by 25.06%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #14363       +/-   ##
=============================================
- Coverage     41.96%   16.90%   -25.07%
+ Complexity     9341     2698     -6643
=============================================
  Files          1492     1492
  Lines         87257    87258        +1
  Branches      10417    10417
=============================================
- Hits          36621    14753    -21868
- Misses        47667    71266    +23599
+ Partials       2969     1239     -1730

Impacted Files
Coverage Δ

.../java/alluxio/master/block/DefaultBlockMaster.java
40.62% <0.00%> (-35.40%)
:arrow_down:

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/client/UnderStorageType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 684 more

Continue to review full report at Codecov.

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

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.7 please

alluxio-bot, cherry-pick this to branch-2.7 please

authors: Xenorith codecov-commenter ggezer jiacheliu3


text:
[SMALLFIX] Concurrency test speed up

100ms sleep is okay on my local machine.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19332/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/19367/
Test PASSed.

source: gharchive/pull-request

authors: AmplabJenkins calvinjia

repo: Alluxio/alluxio

license_type: permissive

license_source: github-api


text:
Design and implement default InventoryView

In the fxgl-trade module we have Inventory API, we now need to provide a default InventoryView with some reasonable settings such as width and height and a default look.
Most of the time, developers will produce their own views using Inventory.
We should consider if the "sort" functionality responsibility of the view or the model. Example: sort by name...

Something like the inventory in Zephyria

source: gharchive/issue

repo: AlmasB/FXGL

license: mit

license_source: bigquery


text:
Improve Smart QR Code Scanner [Fiji]

It is a bit complex task.
Zeplin:

When scanning ETH Address
a) Send to this Address https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f641b060131115f1bc1c6
b) Add to Address Book https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f648d82a344183b52c43c
c) Watch Wallet https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f64c5fae46e11eefb46ae

When scanning Payment Request
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f6531bc13e3160fe28da9

When scanning to add custom token
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f63483eea5014c74bec75

When scanned QR is not ETH
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f65e9599980122923f129

When QR is a link (to open in browser)
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/dashboard?seid=5e6f6503de850113ba370a97

Flow (from iOS)
https://drive.google.com/a/alphawallet.com/file/d/14ge8G3pIM513myKZbDrUyjA2bvRGzFXR/view?usp=sharing

When scanning ETH Address - Add to Contacts

When scanning ETH Address - Watch Wallet

When scanning ETH Address - Send to the Address

When scanning Payment Request

When scanning to Add Custom Token

When scanned QR is not ETH

When QR is a link (to open in browser)

Which ones of these aren't working?

@tomekalphawallet could you clarify the 'add custom token' flow? Currently we access that through the + button on the wallet screen. Does this issue replace that behaviour, and if so do we need to remove that plus button? Or do you still get to the scan via clicking the plus, then clicking the scan button on the 'add custom token' activity?

It does not replace that behaviour, but goes in parallel. So if you want to add custom token you can:
a) launch a qr code scanner, scan a smart contract qr, hit "Add Token" to confirm adding prefilled form (symbol, balance, contract address, token's name)
b) you can add a custom token by: hit add/hide token in the wallet tab, hit "+", and enter details.
Makes sense?
--
Also, can I request you to update + button? I got a feedback that is not so visible. We can make it more prominent. The new one is the same size (24x24). So should be easy to replace.
https://zpl.io/2yAgxNo
This icon is used:

Change Wallet
Address Book
Add/Hide Tokens

@ChintanRathod I applied Tomek's suggestion to display an error within the QR scanner and resume scanning, rather than fold back to home and show scan error (as I mistakenly directed you to do), so no need to apply that fix now.
Addressbook integration is still being designed, so you can just add this as a hidden option that doesn't go anywhere for now.

@mpaschenko This is a very old issue, but still waiting for implementation. Please check out how this works in iOS.

Run QR Code camera (top right in the wallet tab) and scan the above QR in iOS.

iOS

@hboon The only one task left from Fiji.

Bump: @JamesSmartCell @mpaschenko

Hi @colourfreak can you clarify - in the graphic above underneath 'When scanning Payment Request', the ActionSheet looks like it pops up directly after the scan rather than going to the send screen. I like this (I have seen cases where people needed to implement something this simple at conferences, and failed terribly) this is your intention right?

Also @colourfreak when scanning a pure address, then clicking on 'send' it defaults to Ethereum Mainnet. It would be good to be able to pick which network we want to send to, although this isn't critical.

Hi @colourfreak can you clarify - in the graphic above underneath 'When scanning Payment Request', the ActionSheet looks like it pops up directly after the scan rather than going to the send screen. I like this (I have seen cases where people needed to implement something this simple at conferences, and failed terribly) this is your intention right?

@JamesSmartCell I remember that Weiwu wanted me to add this. I was not sure about the usage. However, I have seen something similar at a conference. So you had a printed QR code (almost like a banknote) and someone can scan it and get paid with Lightning Network on Bitcoin.

authors: JamesSmartCell colourfreak hboon tomekalphawallet

repo: AlphaWallet/alpha-wallet-android

license: MIT


text:
allow nonce of 0?

Feedback from a user:

Question - I’m trying to specify a nonce of 0 to replace a pending tx of the same nonce (0 - first transfer from wallet). But Alpha Wallet is telling me the nonce must be a positive integer - it won’t let me specify 0.

I verified that this is a bug - 0 should be allowed. And 0 is a positive integer.
Can you try to reproduce this problem by:

Install a fresh AlphaWallet and generate a new address
Send some test-ether to the new address
Send it out
Speed up

See if you can capture the error in full and paste here.

Your Ethereum address starts with a nonce of 0 and increases by 1 with each transaction that's confirmed.

I think this can be a hotfix release candidate. I don't know how to fix it but shouldn't be difficult to figure out (by any one including chintan)

Looks like this issue is from a previous build. Nonce control is not available in the latest Playstore version of AlphaWalelt as the current version includes SpeedUp function.

authors: AW-STJ colourful-land


text:
Add thin gray lines behind the chart with edge values #3418

Closes #3418

Force pushed after rebase master

Also see if you can add the labels on the right?

but this PR, is already displaying them, on right side of the chart

Oh, what was I thinking. Hah!. Thanks

authors: hboon vladyslav-iosdev

repo: AlphaWallet/alpha-wallet-ios


text:
How do I use HashMapStrategy? Documentation unclear, has no examples.

Usage of HashMapStrategy is unclear from the documentation. I need to randomly create hashmaps that meet certain conditions. From what I can see, I'm supposed to supply it with 2 other strategies to generate the keys and the values, but I'm not exactly sure how I'm supposed to make the SizeRange. Should I even be using the hash_map function?
Related documentation:
https://docs.rs/proptest/0.10.0/proptest/collection/fn.hash_map.html
https://docs.rs/proptest/0.10.0/proptest/collection/struct.HashMapStrategy.html

HashMapStrategy is literally a thin wrapper around a strategy for creating Vec<(Key, Value)> up to the specified size and filtered to not go below the minumum.
So if you e.g., use hash_map(key_strat, val_strat, 5...10), then what happens is that a vec((key_strat, val_strat), 5..10) is created, and then this is mapped using vec.into_iter().collect(), giving you a HashMap of 5..10 elements with keys drawn from key_strat and values from val_strat.
Note that most RangeXYZ types implement Into<SizeRange>, which is what hash_map accepts, so you can use the normal Rust range syntax.
I hope that answers your question.

Ah, I see. Can I use prop_filter on it? or do I just have to ignore values I can't use?

Sure, you can use .prop_filter on the key_strat, value_strat, or the final hash_map(...) strategy. Doing so on the latter will give you a &HashMap<K, V> which you can apply a predicate to. You can also ignore irrelevant maps in each test itself as well, but that will scale less well if the strategy is used a lot. If you can create a correct key/value/map by construction, then that is preferable to filtering (see the book / docs on prop_filter for elaboration).

Thanks for your help! Closing...

repo: AltSysrq/proptest


text:
Add clipboard copy to formatted SQL display

fix #659

tested manually, all works

authors: Slach lunaticusgreen

repo: Altinity/clickhouse-grafana


text:
sudden disappearance of CHI pods

After running the clickhouse for couple of months, the CHI pod has disappeared on its own.
@hodgesrm had advised on adding stop: "no" for fix. However, I had already resolved by changing shard count and reverting, to trigger re-creation of CHI pod (by changing state of CHI out of completed to force pod re-creation).
Nevertheless, we had been unable to find the root cause of the issue. So, this issue could re-appear in the future.
CHI definition:
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
  name: my-release-clickhouse
  namespace: default
  labels:
    helm.sh/chart: clickhouse-23.12.2
    app.kubernetes.io/name: clickhouse
    app.kubernetes.io/instance: my-release
    app.kubernetes.io/component: clickhouse
    app.kubernetes.io/version: "22.8.8"
    app.kubernetes.io/managed-by: Helm
spec:
  defaults:
    templates:
      dataVolumeClaimTemplate: data-volumeclaim-template
      serviceTemplate: service-template

  configuration:
    users:
      admin/password: redacted
      admin/networks/ip:
        - "10.0.0.0/8"
        - "100.64.0.0/10"
        - "172.16.0.0/12"
        - "192.0.0.0/24"
        - "198.18.0.0/15"
        - "192.168.0.0/16"
      admin/profile: default
      admin/quota: default

    profiles:
      default/allow_experimental_window_functions: "1"
      default/allow_nondeterministic_mutations: "1"

    clusters:
      - name: "cluster"
        templates:
          podTemplate: pod-template
        layout:
          replicasCount: 1
          shardsCount: 1

    settings:
      format_schema_path: /etc/clickhouse-server/config.d/
      prometheus/endpoint: /metrics
      prometheus/port: 9363
      user_defined_executable_functions_config: /etc/clickhouse-server/functions/custom-functions.xml
      user_scripts_path: /var/lib/clickhouse/user_scripts/

    files:
      events.proto: |
        syntax = "proto3";
        message Event {
          string uuid = 1;
          string event = 2;
          string properties = 3;
          string timestamp = 4;
          uint64 team_id = 5;
          string distinct_id = 6;
          string created_at = 7;
          string elements_chain = 8;
        }
    zookeeper:
      nodes:
        - host: my-release-zookeeper-0.my-release-zookeeper-headless
          port: 2181

  templates:
    podTemplates:
      - name: pod-template
        metadata:
          labels:
            helm.sh/chart: clickhouse-23.12.2
            app.kubernetes.io/name: clickhouse
            app.kubernetes.io/instance: my-release
            app.kubernetes.io/component: clickhouse
            app.kubernetes.io/version: "22.8.8"
            app.kubernetes.io/managed-by: Helm
          annotations: {}
        podDistribution:
          - topologyKey: kubernetes.io/hostname
            type: ReplicaAntiAffinity
        spec:
          serviceAccountName: my-release-clickhouse
          priorityClassName: ""
          securityContext:
            fsGroup: 101
            runAsGroup: 101
            runAsUser: 101

          volumes:
            - name: shared-binary-volume
              emptyDir: {}
            - name: custom-functions-volume
              configMap:
                name: my-release-clickhouse-custom-functions
          initContainers: []
          containers:
            - name: clickhouse
              image: docker.io/clickhouse/clickhouse-server:22.8.8-alpine
              imagePullPolicy: IfNotPresent
              command:
                - /bin/bash
                - -c
                - /usr/bin/clickhouse-server --config-file=/etc/clickhouse-server/config.xml

              ports:
                - name: http
                  containerPort: 8123
                - name: client
                  containerPort: 9000
                - name: interserver
                  containerPort: 9009

              volumeMounts:
                - name: data-volumeclaim-template
                  mountPath: /var/lib/clickhouse
                - name: shared-binary-volume
                  mountPath: /var/lib/clickhouse/user_scripts
                - name: custom-functions-volume
                  mountPath: /etc/clickhouse-server/functions
              resources:
                requests:
                  cpu: 100m
                  memory: 200Mi

    serviceTemplates:
      - name: service-template
        generateName: my-release-clickhouse
        metadata:
          labels:
            helm.sh/chart: clickhouse-23.12.2
            app.kubernetes.io/name: clickhouse
            app.kubernetes.io/instance: my-release
            app.kubernetes.io/component: clickhouse
            app.kubernetes.io/version: "22.8.8"
            app.kubernetes.io/managed-by: Helm
        spec:
          type: ClusterIP
          ports:
            - name: http
              port: 8123
              nodePort: null
            - name: tcp
              port: 9000
              nodePort: null
    volumeClaimTemplates:
      - name: data-volumeclaim-template
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 100Gi
          storageClassName: standard

Context: Slack Message

Is your kind: ClickHouseInstallation managed by the same Helm chart with clickhouse-operator?
Could you share the following commands?
kubectl get deploy --all-namespaces -l app=clickhouse-operator
kubectl get pod --all-namespaces -l clickhouse.altinity.com/chi

@Slach Yes, it is managed by the same chart with clickhouse-operator.
kubectl get deploy --all-namespaces app.kubernetes.io/component=operator

NAMESPACE     NAME                                        READY   UP-TO-DATE   AVAILABLE   AGE
default       my-release-clickhouse-operator              1/1     1            1           60d
test          my-release-clickhouse-operator              1/1     1            1           38d

kubectl get pod --all-namespaces -l clickhouse.altinity.com/chi

NAMESPACE     NAME                                                 READY   STATUS    RESTARTS        AGE
default       chi-my-release-clickhouse-cluster-0-0-0              1/1     Running   0               3d21h
test          chi-my-release-clickhouse-cluster-0-0-0              1/1     Running   0               4d19h

could you share operator logs from test namespace?
kubectl logs -n test -l app.kubernetes.io/component=operator --since=7d

I was getting the error below:
error: invalid argument "7d" for "--since" flag: time: unknown unit "d" in duration "7d"

Hence, replaced 7d with 168h:
$ kubectl logs -n test -l app.kubernetes.io/component=operator --since=168h

Defaulted container "my-release-clickhouse-operator" out of: my-release-clickhouse-operator, my-release-clickhouse-metrics-exporter
E0822 10:51:33.116468       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Service: failed to list *v1.Service: Get "https://10.124.0.1:443/api/v1/namespaces/test/services?resourceVersion=101836934": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:38.125884       1 trace.go:205] Trace[301511361]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (22-Aug-2023 10:51:08.124) (total time: 30001ms):
Trace[301511361]: [30.00114905s] [30.00114905s] END
E0822 10:51:38.125902       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.StatefulSet: failed to list *v1.StatefulSet: Get "https://10.124.0.1:443/apis/apps/v1/namespaces/test/statefulsets?resourceVersion=101836529": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:38.355293       1 trace.go:205] Trace[2060365486]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (22-Aug-2023 10:51:08.354) (total time: 30001ms):
Trace[2060365486]: [30.001212232s] [30.001212232s] END
E0822 10:51:38.355312       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://10.124.0.1:443/api/v1/namespaces/test/configmaps?resourceVersion=101837009": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:42.173930       1 trace.go:205] Trace[250496038]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:117 (22-Aug-2023 10:51:12.172) (total time: 30001ms):
Trace[250496038]: [30.001189387s] [30.001189387s] END
E0822 10:51:42.173949       1 reflector.go:138] pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1.ClickHouseOperatorConfiguration: failed to list *v1.ClickHouseOperatorConfiguration: Get "https://10.124.0.1:443/apis/clickhouse.altinity.com/v1/namespaces/test/clickhouseoperatorconfigurations?resourceVersion=101836611": dial tcp 10.124.0.1:443: i/o timeout

$ kubectl logs -n default -l app.kubernetes.io/component=operator --since=168h

Defaulted container "my-release-clickhouse-operator" out of: my-release-clickhouse-operator, my-release-clickhouse-metrics-exporter
E0822 10:51:38.591455       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Service: failed to list *v1.Service: Get "https://10.124.0.1:443/api/v1/namespaces/default/services?resourceVersion=101836934": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:41.314893       1 trace.go:205] Trace[1051692860]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:117 (22-Aug-2023 10:51:11.313) (total time: 30001ms):
Trace[1051692860]: [30.001164853s] [30.001164853s] END
E0822 10:51:41.314912       1 reflector.go:138] pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1.ClickHouseOperatorConfiguration: failed to list *v1.ClickHouseOperatorConfiguration: Get "https://10.124.0.1:443/apis/clickhouse.altinity.com/v1/namespaces/default/clickhouseoperatorconfigurations?resourceVersion=101836881": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:41.768145       1 trace.go:205] Trace[523315261]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (22-Aug-2023 10:51:11.767) (total time: 30000ms):
Trace[523315261]: [30.000906333s] [30.000906333s] END
E0822 10:51:41.768163       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://10.124.0.1:443/api/v1/namespaces/default/configmaps?resourceVersion=101837009": dial tcp 10.124.0.1:443: i/o timeout
I0822 10:51:42.946368       1 trace.go:205] Trace[838394852]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (22-Aug-2023 10:51:12.945) (total time: 30000ms):
Trace[838394852]: [30.000528326s] [30.000528326s] END
E0822 10:51:42.946386       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Pod: failed to list *v1.Pod: Get "https://10.124.0.1:443/api/v1/namespaces/default/pods?resourceVersion=101836916": dial tcp 10.124.0.1:443: i/o timeout

looks like nothing happens 22 Aug
Could you share?
kubectl logs -n default -l app.kubernetes.io/component=operator -c clickhouse-operator
kubectl logs -n test -l app.kubernetes.io/component=operator -c clickhouse-operator

Sure, here are the logs:
$ kubectl logs -n default -l app.kubernetes.io/component=operator -c my-release-clickhouse-operator

I0823 18:03:06.328611       1 worker-reconciler.go:111] worker-reconciler.go:52:reconcileCHI():end:default/my-release-clickhouse
I0823 18:03:06.328632       1 worker.go:414] worker.go:380:updateCHI():end:default/my-release-clickhouse
E0823 18:03:49.676857       1 connection.go:190] Exec():FAILED Exec(http://clickhouse_operator:***@chi-my-release-clickhouse-cluster-0-0.default.svc.cluster.local:8123/) context deadline exceeded for SQL: SYSTEM DROP DNS CACHE
W0823 18:03:49.712800       1 retry.go:52] exec():chi-my-release-clickhouse-cluster-0-0.default.svc.cluster.local:FAILED single try. No retries will be made for Applying sqls
I0823 18:03:49.801384       1 worker.go:339] default/my-release-clickhouse/5d89fdfb-a136-430a-a8a5-310c07edef5b:IPs of the CHI-1 [10.120.1.155]
I0823 18:03:49.812084       1 worker.go:343] default/my-release-clickhouse/13b958a0-3cfd-46a6-a3ce-368a46cc97df:Update users IPS-1
I0823 18:03:49.821067       1 worker.go:1089] updateConfigMap():default/my-release-clickhouse/13b958a0-3cfd-46a6-a3ce-368a46cc97df:Update ConfigMap default/chi-my-release-clickhouse-common-usersd
I0823 18:03:49.903031       1 worker.go:339] default/my-release-clickhouse/88d992b4-a76a-4a2b-af19-2cc81d64548a:IPs of the CHI-1 [10.120.1.155]
I0823 18:03:49.910434       1 worker.go:343] default/my-release-clickhouse/5892dd12-16a8-4e6f-baf6-e5ec8776277d:Update users IPS-1
I0823 18:03:49.914824       1 worker.go:1089] updateConfigMap():default/my-release-clickhouse/5892dd12-16a8-4e6f-baf6-e5ec8776277d:Update ConfigMap default/chi-my-release-clickhouse-common-usersd

$ kubectl logs -n test -l app.kubernetes.io/component=operator -c my-release-clickhouse-operator

I0823 17:13:58.953558       1 worker-deleter.go:64] worker-deleter.go:64:dropReplicas():start:test/my-release-clickhouse/f3f569fa-3d23-4b03-a914-71c7bf07cf7d:drop replicas based on AP
I0823 17:13:58.953588       1 worker-deleter.go:81] worker-deleter.go:81:dropReplicas():end:test/my-release-clickhouse/f3f569fa-3d23-4b03-a914-71c7bf07cf7d:processed replicas: 0
I0823 17:13:58.953612       1 worker.go:573] includeStopped():test/my-release-clickhouse/f3f569fa-3d23-4b03-a914-71c7bf07cf7d:add CHI to monitoring
I0823 17:13:59.355282       1 controller.go:609] OK update watch (test/my-release-clickhouse): {"namespace":"test","name":"my-release-clickhouse","clusters":[{"name":"cluster","hosts":[{"name":"0-0","hostname":"chi-my-release-clickhouse-cluster-0-0.test.svc.cluster.local","tcpPort":9000,"httpPort":8123}]}]}
I0823 17:13:59.360534       1 worker.go:540] test/my-release-clickhouse:all IP addresses are in place
I0823 17:13:59.526393       1 worker.go:611] test/my-release-clickhouse/7de65ad0-12b1-4823-8657-ca1e4984bb8f:IPs of the CHI-2 [10.120.1.133]
I0823 17:13:59.534938       1 worker.go:615] test/my-release-clickhouse/789d4f97-3cee-499d-9e78-631399e02bea:Update users IPS-2
I0823 17:13:59.748918       1 worker.go:636] finalizeReconcileAndMarkCompleted():test/my-release-clickhouse/f3f569fa-3d23-4b03-a914-71c7bf07cf7d:reconcile completed successfully, task id: f3f569fa-3d23-4b03-a914-71c7bf07cf7d
I0823 17:14:00.146065       1 worker-reconciler.go:111] worker-reconciler.go:52:reconcileCHI():end:test/my-release-clickhouse
I0823 17:14:00.146085       1 worker.go:414] worker.go:380:updateCHI():end:test/my-release-clickhouse

=( this is not a full logs, this is only logs for 23 Aug

@Slach This is all that there is. :(

Closing it as it is not reproducible. Could be something related to Helm

@alex-zaitsev This is happening more often in recent time when trying to increase the ClickHouse PVC size in ClickHouse installation. Not able to pin point the root cause of the issue.
Operator logs:
I0729 03:49:26.917146       1 worker.go:1089] updateConfigMap():my-release/my-release-clickhouse/58053693-2b8a-4d1d-b5ed-e0432448d655:Update ConfigMap my-release/chi-my-release-clickhouse-deploy-confd-cluster-0-0
I0729 03:49:27.928385       1 cluster.go:84] Run query on: chi-my-release-clickhouse-cluster-0-0.my-release.svc.cluster.local of [chi-my-release-clickhouse-cluster-0-0.my-release.svc.cluster.local]
I0729 03:49:28.033592       1 worker-reconciler.go:292] reconcileHostStatefulSet():Reconcile host 0-0. ClickHouse version: 24.1.2.5
I0729 03:49:28.033769       1 worker.go:134] shouldForceRestartHost():Force restart is not required. Host: 0-0
I0729 03:49:28.033802       1 worker-reconciler.go:304] reconcileHostStatefulSet():Reconcile host 0-0. Reconcile StatefulSet
I0729 03:49:28.033959       1 creator.go:589] getPodTemplate():my-release/my-release-clickhouse/58053693-2b8a-4d1d-b5ed-e0432448d655:statefulSet chi-my-release-clickhouse-cluster-0-0 use custom template: pod-template
W0729 03:49:28.034289       1 creator.go:994] containerAppendVolumeMount():my-release/my-release-clickhouse/58053693-2b8a-4d1d-b5ed-e0432448d655:container.Name:clickhouse volumeMount.Name:data-volumeclaim-template already used
I0729 03:49:28.036205       1 worker.go:1290] getStatefulSetStatus():my-release/chi-my-release-clickhouse-cluster-0-0:cur and new StatefulSets ARE DIFFERENT based on labels. StatefulSet reconcile is required for: my-release/chi-my-release-clickhouse-cluster-0-0
I0729 03:49:28.036374       1 worker.go:1431] updateStatefulSet():Update StatefulSet(my-release/chi-my-release-clickhouse-cluster-0-0) - started
I0729 03:49:28.348502       1 worker.go:1401] waitConfigMapPropagation():Wait for ConfigMap propagation for 9.003953254s 996.046746ms/10s
E0729 03:49:37.360361       1 creator.go:76] updateStatefulSet():StatefulSet update failed. err: StatefulSet.apps "chi-my-release-clickhouse-cluster-0-0" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
E0729 03:49:37.361923       1 creator.go:100] updateStatefulSet():NOT EQUAL: AP item start -------------------------
modified spec items: 24
ap item path [0]:'.Template.Spec.Volumes[1].VolumeSource.ConfigMap.DefaultMode'
ap item value[0]:'nil'
ap item path [1]:'.Template.Spec.Containers[0].LivenessProbe.SuccessThreshold'
ap item value[1]:'0'
ap item path [2]:'.Template.Spec.Containers[0].ReadinessProbe.Handler.HTTPGet.Scheme'
ap item value[2]:'""'
ap item path [3]:'.Template.Spec.SchedulerName'
ap item value[3]:'""'
ap item path [4]:'.Template.Spec.Containers[0].LivenessProbe.Handler.HTTPGet.Scheme'
--
I0729 03:49:42.476651       1 poller.go:213] pollStatefulSet():my-release/chi-my-release-clickhouse-cluster-0-0:OK  :ObservedGeneration:2 Replicas:1 ReadyReplicas:1 CurrentReplicas:0 UpdatedReplicas:0 CurrentRevision:chi-my-release-clickhouse-cluster-0-0-8f9b7b45b UpdateRevision:chi-my-release-clickhouse-cluster-0-0-8f9b7b45b
W0729 03:50:27.487009       1 reflector.go:436] pkg/client/informers/externalversions/factory.go:117: watch of *v1.ClickHouseInstallation ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487049       1 reflector.go:436] k8s.io/client-go/informers/factory.go:134: watch of *v1.StatefulSet ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487052       1 reflector.go:436] k8s.io/client-go/informers/factory.go:134: watch of *v1.Endpoints ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487012       1 reflector.go:436] k8s.io/client-go/informers/factory.go:134: watch of *v1.Service ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487096       1 reflector.go:436] k8s.io/client-go/informers/factory.go:134: watch of *v1.ConfigMap ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487127       1 reflector.go:436] pkg/client/informers/externalversions/factory.go:117: watch of *v1.ClickHouseInstallationTemplate ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487145       1 reflector.go:436] k8s.io/client-go/informers/factory.go:134: watch of *v1.Pod ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0729 03:50:27.487294       1 reflector.go:436] pkg/client/informers/externalversions/factory.go:117: watch of *v1.ClickHouseOperatorConfiguration ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
I0729 03:50:27.488331       1 labeler.go:292] deleteLabelReadyPod():FAIL get pod for host 'my-release/0-0' err: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/pods/chi-my-release-clickhouse-cluster-0-0-0": http2: client connection lost
E0729 03:50:57.489774       1 poller.go:237] pollStatefulSet():my-release/chi-my-release-clickhouse-cluster-0-0:my-release/chi-my-release-clickhouse-cluster-0-0 Get() FAILED
I0729 03:50:58.323884       1 trace.go:205] Trace[1632088119]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (29-Jul-2024 03:50:28.323) (total time: 30000ms):
Trace[1632088119]: [30.000791007s] [30.000791007s] END
E0729 03:50:58.323928       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Pod: failed to list *v1.Pod: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/pods?resourceVersion=409134742": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:58.387047       1 trace.go:205] Trace[1562350316]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (29-Jul-2024 03:50:28.386) (total time: 30000ms):
Trace[1562350316]: [30.000679957s] [30.000679957s] END
E0729 03:50:58.387074       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.StatefulSet: failed to list *v1.StatefulSet: Get "https://10.92.0.1:443/apis/apps/v1/namespaces/my-release/statefulsets?resourceVersion=409134694": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:58.482514       1 trace.go:205] Trace[1523333257]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (29-Jul-2024 03:50:28.481) (total time: 30000ms):
Trace[1523333257]: [30.000761918s] [30.000761918s] END
E0729 03:50:58.482587       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/configmaps?resourceVersion=409134621": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:58.627969       1 trace.go:205] Trace[328066567]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:117 (29-Jul-2024 03:50:28.626) (total time: 30001ms):
Trace[328066567]: [30.001690277s] [30.001690277s] END
E0729 03:50:58.627999       1 reflector.go:138] pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1.ClickHouseOperatorConfiguration: failed to list *v1.ClickHouseOperatorConfiguration: Get "https://10.92.0.1:443/apis/clickhouse.altinity.com/v1/namespaces/my-release/clickhouseoperatorconfigurations?resourceVersion=409134300": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:58.680316       1 trace.go:205] Trace[1867447287]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (29-Jul-2024 03:50:28.679) (total time: 30000ms):
Trace[1867447287]: [30.000683297s] [30.000683297s] END
E0729 03:50:58.680433       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Service: failed to list *v1.Service: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/services?resourceVersion=409134696": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:58.870657       1 trace.go:205] Trace[321750039]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:117 (29-Jul-2024 03:50:28.869) (total time: 30000ms):
Trace[321750039]: [30.000749817s] [30.000749817s] END
E0729 03:50:58.870684       1 reflector.go:138] pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1.ClickHouseInstallation: failed to list *v1.ClickHouseInstallation: Get "https://10.92.0.1:443/apis/clickhouse.altinity.com/v1/namespaces/my-release/clickhouseinstallations?resourceVersion=409134690": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:59.038154       1 trace.go:205] Trace[345492881]: "Reflector ListAndWatch" name:pkg/client/informers/externalversions/factory.go:117 (29-Jul-2024 03:50:29.037) (total time: 30000ms):
Trace[345492881]: [30.000824067s] [30.000824067s] END
E0729 03:50:59.038264       1 reflector.go:138] pkg/client/informers/externalversions/factory.go:117: Failed to watch *v1.ClickHouseInstallationTemplate: failed to list *v1.ClickHouseInstallationTemplate: Get "https://10.92.0.1:443/apis/clickhouse.altinity.com/v1/namespaces/my-release/clickhouseinstallationtemplates?resourceVersion=409134495": dial tcp 10.92.0.1:443: i/o timeout
I0729 03:50:59.057219       1 trace.go:205] Trace[1113844881]: "Reflector ListAndWatch" name:k8s.io/client-go/informers/factory.go:134 (29-Jul-2024 03:50:29.056) (total time: 30000ms):
Trace[1113844881]: [30.000738938s] [30.000738938s] END
E0729 03:50:59.057261       1 reflector.go:138] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/endpoints?resourceVersion=409134706": dial tcp 10.92.0.1:443: i/o timeout

@alex-zaitsev @Slach can you please help here?

Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: Get "https://10.92.0.1:443/api/v1/namespaces/my-release/endpoints?resourceVersion=409134706": dial tcp 10.92.0.1:443: i/o timeout
means something wrong with your kubernetes API server

authors: Slach alex-zaitsev prashant-shahi

repo: Altinity/clickhouse-operator


text:
One of the 3 shards does not start

Hello, one of the 3 shards does not start. How can I get it working again?
Error:
2023.12.08 08:23:12.191260 [ 1 ] {} <Error> Application: Caught exception while loading metadata: Code: 231, e.displayText() = DB::Exception: The local set of parts of table default.outcomes_hourly_local doesn't look like the set of parts in ZooKeeper: 1.42 million rows of 2.33 million total rows in filesystem are suspicious. There are 4397 unexpected parts with 1421422 rows (494 of them is not just-written with 1414815 rows), 0 missing parts (with 0 blocks).: Cannot attach table `default`.`outcomes_hourly_local` from metadata file /var/lib/clickhouse/metadata/default/outcomes_hourly_local.sql from query ATTACH TABLE default.outcomes_hourly_local (`org_id` UInt64, `project_id` UInt64, `key_id` UInt64, `timestamp` DateTime, `category` UInt8, `outcome` UInt8, `reason` LowCardinality(String), `quantity` UInt64, `times_seen` UInt64, `bytes_received` UInt64) ENGINE = ReplicatedSummingMergeTree('/clickhouse/tables/outcomes/{shard}/default/outcomes_hourly_local', '{replica}') PARTITION BY toMonday(timestamp) PRIMARY KEY (org_id, project_id, key_id, outcome, reason, timestamp) ORDER BY (org_id, project_id, key_id, outcome, reason, timestamp, category) TTL timestamp + toIntervalDay(90) SETTINGS index_granularity = 256: while loading database `default` from path /var/lib/clickhouse/metadata/default, Stack trace (when copying this message, always include the lines below):

0. DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) @ 0x8feddda in /usr/bin/clickhouse
1. DB::Exception::Exception<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, unsigned long, unsigned long&, unsigned long&, unsigned long&, unsigned long, unsigned long const&>(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, unsigned long&&, unsigned long&, unsigned long&, unsigned long&, unsigned long&&, unsigned long const&) @ 0x10af187d in /usr/bin/clickhouse
2. DB::StorageReplicatedMergeTree::checkParts(bool) @ 0x10ae5115 in /usr/bin/clickhouse
3. DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, DB::StorageID const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::StorageInMemoryMetadata const&, std::__1::shared_ptr<DB::Context>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::MergeTreeData::MergingParams const&, std::__1::unique_ptr<DB::MergeTreeSettings, std::__1::default_delete<DB::MergeTreeSettings> >, bool, bool) @ 0x10ad92c6 in /usr/bin/clickhouse
4. ? @ 0x10fa1077 in /usr/bin/clickhouse
5. DB::StorageFactory::get(DB::ASTCreateQuery const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, std::__1::shared_ptr<DB::Context>, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x10a3e3a1 in /usr/bin/clickhouse
6. DB::createTableFromAST(DB::ASTCreateQuery, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool) @ 0xff95b05 in /usr/bin/clickhouse
7. ? @ 0xff93c53 in /usr/bin/clickhouse
8. ? @ 0xff94c3f in /usr/bin/clickhouse
9. ThreadPoolImpl<ThreadFromGlobalPool>::worker(std::__1::__list_iterator<ThreadFromGlobalPool, void*>) @ 0x9031718 in /usr/bin/clickhouse
10. ThreadFromGlobalPool::ThreadFromGlobalPool<void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(void&&, void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()&&...)::'lambda'()::operator()() @ 0x90332bf in /usr/bin/clickhouse
11. ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x902e9ff in /usr/bin/clickhouse
12. ? @ 0x90322e3 in /usr/bin/clickhouse
13. start_thread @ 0x8609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
14. clone @ 0x11f163 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
 (version 21.8.15.7)
2023.12.08 08:23:13.578866 [ 1 ] {} <Error> Application: DB::Exception: The local set of parts of table default.outcomes_hourly_local doesn't look like the set of parts in ZooKeeper: 1.42 million rows of 2.33 million total rows in filesystem are suspicious. There are 4397 unexpected parts with 1421422 rows (494 of them is not just-written with 1414815 rows), 0 missing parts (with 0 blocks).: Cannot attach table `default`.`outcomes_hourly_local` from metadata file /var/lib/clickhouse/metadata/default/outcomes_hourly_local.sql from query ATTACH TABLE default.outcomes_hourly_local (`org_id` UInt64, `project_id` UInt64, `key_id` UInt64, `timestamp` DateTime, `category` UInt8, `outcome` UInt8, `reason` LowCardinality(String), `quantity` UInt64, `times_seen` UInt64, `bytes_received` UInt64) ENGINE = ReplicatedSummingMergeTree('/clickhouse/tables/outcomes/{shard}/default/outcomes_hourly_local', '{replica}') PARTITION BY toMonday(timestamp) PRIMARY KEY (org_id, project_id, key_id, outcome, reason, timestamp) ORDER BY (org_id, project_id, key_id, outcome, reason, timestamp, category) TTL timestamp + toIntervalDay(90) SETTINGS index_granularity = 256: while loading database `default` from path /var/lib/clickhouse/metadata/default

and subscribe to https://github.com/ClickHouse/ClickHouse/issues/37664

authors: Slach kiper-prog


text:
Update _index.en.md

Description

Minor corrections to text.
Your vs You.
Functionality misspelled.

Minor corrections to text.

repo: Altinn/altinn-studio-docs


text:
chore: Move Telemetry class files to a separate  /Telemetry folder

Description
The Telemetry partial class consists of 27 files, which were all located at root level in Core/Features/.
This change simply moves them to a /Telemetry subfolder, purely for organisational purposes. The namespace remains unchanged.
Related Issue(s)

N/A

Verification

[x] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Quality gate failed
😂

repo: Altinn/app-lib-dotnet


text:
Small mistype (incorrect link) in README

Hi, I noticed the link to (this repository) was a hyperlink to another Github repo, which didn't contain the Alve OS source, so I corrected the link that is to be used :)

Thank you :P

authors: Arawn-Davies valentinbreiz

repo: Alve-OS/Alve-Operating-System


text:
unknown argument: '-color-diagnostics'

When I run swift build --destination /tmp/cross-toolchain/arm64v8-ubuntu-bionic-destination.json
I get the following error message:
<unknown>:0: error: unknown argument: '-color-diagnostics'

Does anyone know how to fix this issue?
If I just run swift build then everything works correctly, so it's only an issue when trying to use the cross-toolchain.
I've tried this on two macs, one using Xcode 12 and the other using Xcode 11.

Try out this fork, it should be up2date: https://github.com/CSCIX65G/SwiftCrossCompilers

Thanks for the suggestion @helje5, but I get the same exact issue with SwiftCrossCompilers.

I'd still file it over there, the fork is AFAIK actively maintained. I guess the color diag option was probably new in some Swift 5.x, maybe they b0rked something else. Invoking it w/ -v is usually the way to start investigating the issue and see what breaks when and where.
Once there is more info, it might be also worth filing a bug against SPM at bugs.swift.org.


text:
Setting color and transparency_group for all entities in model

We currently have outline_recursive, which will apply the outline to all child entities. We could do something similar (color_recursive and transparency_group_recursive). Or we could try to figure out some more general solution to this.

@philpax Well the user would then have to somehow wait until the model is loaded and then run those.

Made a discussion about two-entity queries which could be the form of a possible 'more general solution': https://github.com/AmbientRun/Ambient/discussions/600

authors: FredrikNoren droqen

repo: AmbientRun/Ambient


text:
[Bug]:tests not working

What happened?
shit
How to reproduce the bug
shit
Package Version
1.1.1
PHP Version
8.2.3
Which operating systems does with happen with?
macOS
Notes
shit

shit has been fixed

repo: AmirVahedix/weight-conversion


text:
unexpected that remove also modifies bindings

heya, :rabbit2:
i'm trying to render, remove, and re-render a view, however on the re-render the bindings don't work as expected. i realize now this is due to remove modifying the bindings, but i wonder if there is a better way to do this.
if we want to unlisten and delete bindings in remove, is it possible to provide a function that re-listens and re-creates the bindings? or another option is we move that unlisten and delete bindings to another function that maybe can be run by default in remove but there is an option to not run it.
cheers, :tea:

This is the updated ref: https://github.com/AmpersandJS/ampersand-view/blob/master/ampersand-view.js#L152-L168
I don't see any reason to leave the bindings if the element has been removed, and you stop listening to events.
If you have a problem with rendering a view that was removed, I'd love to see the use-case and a simple implementation (test-case) of it failing... If the usage is correct there must be some side effect we haven't seen

It looks like a problem I just found with view switcher ;-/
Switching a view calls view remove what also removes all related event and model bindings. I agree with @pgilad that this behaviour make sense so it should be performed.
The problem is that switching back to such previously removed view do not restore bindings - it just calls view render.
How can I restore all bindings (automatically) in such case?

This is likely a problem with ampersand-view-switcher using the view.rendered property to determine whether or not it needs to call view.render() on the new view.
The view.rendered property will be true if view.el is defined. view.el will be defined even after view.remove() is called. This means that when we are "re-rendering" a view with View Switcher, the view's element will be placed in the DOM, but view.render() will not be called again, so I think the events are torn down, and never set back up again.
Pretty sure this should be moved to ampersand-view-switcher.

Issue: https://github.com/AmpersandJS/ampersand-view-switcher/issues/25

@ahdinosaur @pgilad,
i agree, this causes issues.  in ampersand-form-manager-view i cycle between forms, meaning I render, remove, and re-render them.  i reinitialize bindings and subviews on each render manually.  the fix may be as easy as pulling out the binding and subview initialization to a helper. then, on render, test if they are set.  if not, re-init them.

I have the same problem as @ahdinosaur. I want be able to rerender a view which has been removed.
Here is my

I have the same problem as @ahdinosaur. I want be able to reuse a view which has been removed. I use the view switcher but I could have the same problem with any other way of switching views which calls the remove method of the view.
Here is an example
import View from "ampersand-view";
import ViewSwitcher from "ampersand-view-switcher";

var switcher = new ViewSwitcher(document.querySelector("main"));

var V1 = View.extend({
    session: {
        text: {
            type: "string",
            default: "bonjour"
        }
    },
    bindings: {
        text: ""
    },
    template: `<div>default text v1</div>`
});

var V2 = View.extend({
    template: `<div>default text v2</div>`
});

window.views = [new V1(), new V2()];

var n = 1;
document.addEventListener("click", () => {
    n++;
    switcher.set(views[n % 2]);
});

In this example, the bindings do not work after one view switch.
A workaround for this could be to create a new instance of the view each time but  I don't find this satisfying.
And there is already a good solution for the dom events : just call delegateEvents.
A simple createBindings function would also be enough for this need.
Don't you think?

authors: ahdinosaur cdaringe doubleface kahnjw mst7555 pgilad

repo: AmpersandJS/ampersand-view


text:
Re-word manual session_id sentence

Reword last session under 'Sessions' to reflect usage of HTTP APIs for seeing session IDs manually
Amplitude Developer Docs PR
Description
Reword last session under 'Sessions' to reflect usage of HTTP APIs for seeing session IDs manually
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[X] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[X] I have performed a self-review of my own documentation.

@amplitude-dev-docs

@markfoo do we still need this PR?

Closing this in preparation of migrating the repository.

authors: kevinpagtakhan markfoo markzegarelli


text:
Add theme support to Experiment model and components

This pull request adds theme support per Experiment. It gives the admin user the ability to create and select a theme for an experiment, in which it can configure a logo image, background image, heading font, and body font).
Right now, this means the user can configure images and fonts by inputting image and google font urls. Later, we can expand this functionality by provoding upload features.
Resolves #805
Screenshots preview
Theme configuration add/edit

Themes admin overview

Select theme in Experiment

Should / could we also set the favicon through the admin interface?

Should / could we also set the favicon through the admin interface?

That sounds like a good idea. I prefer not to have scope creep in this PR so I've created issue #819 for it.

I like it! The only thing that's not clear to me: what would happen if a user set example.com/not-a-font.jpg in the font form fields? Silent fail?

It's possible to enter an incorrect font or image url that will silently fail in the frontend. However, thanks to the preview in the Django interface that shouldn't happen as you can see when it fails.

authors: BeritJanssen drikusroor

repo: Amsterdam-Music-Lab/MUSCLE


text:
ReferenceError: sth is not defined

I've wrote sth like this:
### regenerate invoice
@invoiceId = 21060216492001061854

PUT {{host}}/v1/electronicInvoice/regenerate?invoiceId={{invoiceId}}

the 'host' variable is defined in a env file, and I defined invoiceId in current region. When I attempt to send a http request, I got errors. The trace followings:
ReferenceError: invoiceId is not defined
    at Object.userJS (d:\apis\gtc\einvoice.http:12:92)
    at Object.<anonymous> (c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:37177)
    at Generator.next (<anonymous>)
    at c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:36182
    at new Promise (<anonymous>)
    at s (c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:35927)
    at Object.g (c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:36461)
    at t.JavascriptVariableReplacer.<anonymous> (c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:140016)
    at Generator.next (<anonymous>)
    at s (c:\Users\jingc\.vscode-oss\extensions\anweber.vscode-httpyac-2.12.4\dist\extension.js:292:139204)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

I could not reproduce the error right now. I guess the error also disappeared after reopening the file on your pc. Can you remember the order of the input. e.g. First RequestLine then Variable or the other way around?

reopen file or restart vscodium doesn't solve the problem. I tried rewrite code with input variable first, and failed again.
Then I try with a new http file, it worked.
Now I know how to reproduce the error:
### first req
GET http://sth/sth
### second
@sth = abc
GET http://sth/{{sth}}

I get the error now too. Interesting. I will have a look at it tonight.

Cause is the text in the delimiter `### second'. then the delimiter no longer works correctly
The following works
###
# @name second

The change can be tested with release 2.12.5.

It's still broken. Even when I remove all text after delimiter
###
@vara = 3
GET {{host}}/{{vara}} HTTP/1.1
###
@varb = 2
GET {{host}}/{{varb}} HTTP/1.1

the first variable vara works fine while varb does not.

Unfortunately, I won't get around to it today. I suspect it is the missing blank line between the first request and the ###. But that is just a guess.

error is as expected. The missing blank line between first request GET {{host}}/{{vara}} and the ### is causing this. The outline view of vscode give a hint to the error. @varb = 2 is added to request with vara.

Maybe I can optimize away the currently needed blank line. I will have a look at it

I have removed the required blank line. Now it is also possible to create the requests identically to Kibana. Nice:-)

It works :)
Again, thanks for your work and patience on this project, hoping this project can be discovered by more people.

Thx for using my extension:-)

authors: AnWeber dragondove

repo: AnWeber/vscode-httpyac


text:
first build

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_609kgkq8iw/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:15: avoid_noarch: noarch: python packages should be avoided
clone/recipe/meta.yaml:39: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:39: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:39: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:39: missing_documentation: The recipe is missing a doc_url or doc_source_url
===== Final Report: =====
3 Errors and 2 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_01z0cvojnf/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:15: avoid_noarch: noarch: python packages should be avoided
clone/recipe/meta.yaml:41: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:41: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
1 Error and 2 Warnings were found

authors: anaconda-pkg-build anaobi


text:
build 0.20.18 :snowflake:

polars 0.20.18 :snowflake:
Destination channel: Snowflake
Links

PKG-4133
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

rust-activation-feedstock

Explanation of changes:

used nightly version of rust to use experimental features/

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_aexmwhkhpb/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:57: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:15: patch_unnecessary: patch should not be in build when source/patches is not set
clone/recipe/meta.yaml:31: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/build.sh:19: pip_install_args: pip install should be run with --no-deps and --no-build-isolation.
===== Final Report: =====
3 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_fe6pjnvth2/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:55: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:29: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/build.sh:19: pip_install_args: pip install should be run with --no-deps and --no-build-isolation.
===== Final Report: =====
2 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_b3t1kudisi/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:30: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/__init__.py", line 834, in lint_file
    recipe = _recipe.Recipe.from_file(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 243, in from_file
    raise exc from exc
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 234, in from_file
    recipe._load_from_string(text.read())
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 170, in _load_from_string
    self.render()
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 290, in render
    self.meta = renderer_utils.render(self.recipe_dir, self.dump(), self.selector_dict, self.renderer)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/_renderer.py", line 234, in render
    raise JinjaRenderFailure(recipe_dir, message=exc.message, line=exc.lineno) from exc
percy.render.exceptions.JinjaRenderFailure: (PosixPath('/tmp/abs_4elg8j0fvo/clone/recipe'), "expected token 'end of statement block', got '+' (at line 42)")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 159, in main
sys.exit(prime())
^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 138, in prime
result = linter.lint(recipes, subdir, args.variant_config_files, args.exclusive_config_files, args.fix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 735, in lint
msgs = self.lint_file(
^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 851, in lint_file
recipe = _recipe.Recipe(recipe_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 107, in init
self.recipe_dir = recipe_file.parent
^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'parent'
ERROR conda.cli.main_run:execute(124): conda run conda-lint /tmp/abs_4elg8j0fvo/clone failed. (See above for error)

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/__init__.py", line 834, in lint_file
    recipe = _recipe.Recipe.from_file(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 243, in from_file
    raise exc from exc
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 234, in from_file
    recipe._load_from_string(text.read())
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 170, in _load_from_string
    self.render()
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 290, in render
    self.meta = renderer_utils.render(self.recipe_dir, self.dump(), self.selector_dict, self.renderer)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/_renderer.py", line 234, in render
    raise JinjaRenderFailure(recipe_dir, message=exc.message, line=exc.lineno) from exc
percy.render.exceptions.JinjaRenderFailure: (PosixPath('/tmp/abs_34bssbgmb8/clone/recipe'), "expected token 'end of statement block', got '+' (at line 42)")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 159, in main
sys.exit(prime())
^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/run.py", line 138, in prime
result = linter.lint(recipes, subdir, args.variant_config_files, args.exclusive_config_files, args.fix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 735, in lint
msgs = self.lint_file(
^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/anaconda_linter/lint/init.py", line 851, in lint_file
recipe = _recipe.Recipe(recipe_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/linter/lib/python3.12/site-packages/percy/render/recipe.py", line 107, in init
self.recipe_dir = recipe_file.parent
^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'parent'
ERROR conda.cli.main_run:execute(124): conda run conda-lint /tmp/abs_34bssbgmb8/clone failed. (See above for error)

@boldorider4 You can skip these three tests on osx because they require missing *.avro files:
FAILED py-polars/tests/unit/io/test_iceberg.py::test_scan_iceberg_plain - pol...
FAILED py-polars/tests/unit/io/test_iceberg.py::test_scan_iceberg_filter_on_partition
FAILED py-polars/tests/unit/io/test_iceberg.py::test_scan_iceberg_filter_on_column

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_02bpls3vze/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:34: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_a7gl_ihyrn/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:33: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 0 Warnings were found

@boldorider4 The only test that failed is
FAILED py-polars/tests/unit/test_polars_import.py::test_polars_import

>           raise RuntimeError(msg)

E           RuntimeError: measuring import timings failed
...
E           Traceback (most recent call last):

E             File "<string>", line 1, in <module>

E           ModuleNotFoundError: No module named 'polars'

There was an upstream issue https://github.com/pola-rs/polars/issues/14442. You can skip the test or patch it. It's up to you

An error on osx:
  File "/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_92ywvsgg57/croot/polars_1713342610693/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/zipfile.py", line 1378, in _RealGetContents

LookupError: unknown encoding: cp437

Is there something wrong with Python?

@boldorider4 The only test that failed is
FAILED py-polars/tests/unit/test_polars_import.py::test_polars_import

>           raise RuntimeError(msg)

E           RuntimeError: measuring import timings failed
...
E           Traceback (most recent call last):

E             File "<string>", line 1, in <module>

E           ModuleNotFoundError: No module named 'polars'

There was an upstream issue pola-rs/polars#14442. You can skip the test or patch it. It's up to you

thank you @skupr-anaconda, I noticed it myself, I just need to skip it on all platforms.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_41_loda37d/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:33: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_36ilziddxh/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:35: missing_wheel: For pypi packages, wheel should be present in the host section
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_22w1rvzyd8/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_2b9me42f5u/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

repo: AnacondaRecipes/polars-feedstock


text:
Login page overflows

The login page has a small overflow when a presumably too large keyboard is present

Duplicate #151

authors: fremartini marfavi


text:
Camera.SetView() gives inaccurate orientation using direction and up vectors

Description
The view can be set with the method Camera.SetView() using direction and up vectors. Most of the time the behavior is correct. But in some angles, setView() does not behave as expected. The issue has been identified to occur when using a direction vector near to Cartesian3.UNIT_Y. In fact, this occurs when pointing a little under the middle of the earth (between 0 and ~-2.56radians). In the range of 0 to -2.56, the view is exactly the same as if the angle was positive. (a pitch rotation of -2.56 radians down gives a pitch rotation of 2.56 radians up). As soon as the rotation go to ~-2.565radians, the rotation goes down as expected.
Expected behavior
Using Camera.SetView with direction and up vectors points to the direction vector and the up vector is directly up.
Steps to reproduce
The issue is a little obscure. Here is a small sandcastle project to demonstrate the issue.
Use keys 1, 2, 3, 4 to switch from views
key 1 : set direction vector to vector a
key 2 : set direction vector to vector aPrime
key 3 : set direction vector to vector b
key 4 : set direction vector to vector bPrime

Alternate view by using key 1 and 2.
Notice that the view changes as expected and the view is mirrored since both vectors have only the z component opposite
Alternate view by using key 3 and 4.
Notice that the view does not change even if vectors b and bPrime have their z component opposed

//Start of example
var viewer = new Cesium.Viewer('cesiumContainer');

var scene = viewer.scene;
var canvas = viewer.canvas;
canvas.setAttribute('tabindex', '0');
canvas.onclick = function() {
    canvas.focus();
};

var direction = Cesium.Cartesian3.UNIT_Y.clone();
var up = Cesium.Cartesian3.UNIT_Z.clone();

// initial position and orientation
viewer.camera.position = new Cesium.Cartesian3(0, -20000000, 0);
viewer.camera.setView(
            {
                orientation:
            {
                direction: direction,
                up: up
            }});

// setting view by switching from a to aPrime as direction changes view as expected
var a = new Cesium.Cartesian3(0, 0.9989980940754456, 0.044752743308394995);
var aPrime = new Cesium.Cartesian3(0, 0.9989980940754456, -0.044752743308394995);

// setting view by switching from b to bPrime does not change the view
var b = new Cesium.Cartesian3(0, 0.9993908270190958, 0.03489949670250097);
var bPrime = new Cesium.Cartesian3(0, 0.9993908270190958, -0.03489949670250097);

var ninetyDegreeRotation = Cesium.Matrix3.fromRotationX(Math.PI/2);

document.addEventListener('keydown', function(e) {

    var camera = viewer.camera;

    // setting direction vector to use
    switch (e.keyCode)
    {
    case '1'.charCodeAt(0):
        direction = a;
        console.log("direction = a : " + direction);
        break;
    case '2'.charCodeAt(0):
        direction = aPrime;
        console.log("direction = aPrime : " + direction);
        break;
    case '3'.charCodeAt(0):
        direction = b;
        console.log("direction = b : " + direction);
        break;
    case '4'.charCodeAt(0):
        direction = bPrime;
        console.log("direction = bPrime : " + direction); // when using bPrime as direction, the view is the same as b.
        break;
    default:
        break;
    }

    up = Cesium.Matrix3.multiplyByVector(ninetyDegreeRotation, direction, up);
    camera.setView(
        {orientation:
        {
            direction: direction,
            up: up
        }});

}, false);
// End of example

@DannyLebel thanks for the detailed report and code example.  If there's anything you can do to narrow this down or contribute a fix before someone gets to it, we'd appreciate it.

Sorry, I do not have a fix. I thought the issue was in our project so I investigated it until I figured it was in Cesium itself. My report describes what I know of the issue. If you have any questions I will be glad to try to answer.

authors: DannyLebel pjcozzi

repo: AnalyticalGraphicsInc/cesium


text:
PointGraphics heightReference crash

When attempting to clamp a Cesium.CustomDataSource entity to ground:
{
id: id,
name: name,
position: cartesian,
description: desciption,
point: {
pixelSize: 6,
color: color,
outlineColor: Cesium.Color.WHITE,
outlineWidth: 2,
heightReference: 1,
},
label: {
text: name,
horizontalOrigin : Cesium.HorizontalOrigin.CENTER,
verticalOrigin : Cesium.VerticalOrigin.BOTTOM,
font: '12pt roboto',
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
outlineWidth: 4,
pixelOffset: new Cesium.Cartesian2(0, -9),
disableDepthTestDistance: Number.POSITIVE_INFINITY,
heightReference: 1,
}
Including the "heightReference" on the point crashes Cesium. Binding to GeoJsonDataSource or CzmlDataSource works, but there is no way to clamp the custom PointGraphics object to the terrain without crashing Cesium.
Chrome Version 63.0.3239.132 (Official Build) (64-bit)
Cesium 1.37

@jmack2424 can you please paste a complete code example that reproduces the crash in Sandcastle? https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/
Thanks

Hannah, we found our issue, and forcing it to work in the Sandcastle helped us to find it. =)
Our custom data points were being serialized, which broke on the load call, because the Cesium references in the custom object could not be resolved.

Thanks @jmack2424, glad you were able to figure it out =)


text:
How can I set clipping planes to primitive object?

Thanks a lot!

There's a few code examples on Sandcastles showing this, here's one:
https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=3D Tiles Clipping Planes.html
Please keep general questions like this on the Cesium forum: https://groups.google.com/forum/#!forum/cesium-dev. Feel free to post a follow up question there!

authors: OmarShehata TNMoOn


text:
3D Tiles Transform Tests

Tests for https://github.com/AnalyticalGraphicsInc/cesium/pull/4130
Sorry about the branch confusion. This is merging into pnts-updates instead of 3d-tiles-transform mainly because of all the file renaming that happened in #4228.
I reworked ModelInstanceCollection extensively to simplify it and fix some bugs related to its interaction with shadows and derived commands. The functionality is the same though.

Any typed array memory concerns with ModelInstanceCollection?  No because everything is converted to a separate data structure?

Other than these comments, code and tests look good.  Did you run coverage?

Any typed array memory concerns with ModelInstanceCollection? No because everything is converted to a separate data structure?

Yeah that's correct.

Did you run coverage?

Yeah coverage is mostly solid.
I'm curious what you think about the inline comments.

Updated. I squashed some commits because of the change to z-up and EAST_NORTH_UP.

Code looks OK.

I'm curious what you think about the inline comments.

What comments?

What comments?

The ones you already looked at before.

Thanks @lasalvavida for the updated tiles. @pjcozzi this is ready to merge now.

Tests and Sandcastle example are good!

authors: lilleyse pjcozzi


text:
Fix draco model in Edge

Fixes #7079
@hpinkos can you review?

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Since this only happens in master, and not any released version, should we remove the mention from CHANGES.md ?

Looks good to me!

Travis is failing because of https://github.com/AnalyticalGraphicsInc/cesium/issues/7076, but tests are passing here and locally.

authors: OmarShehata cesium-concierge ggetz lilleyse


text:
CORS Error is there while fetching data on Main Section.

I think this is a major issue cuz starters and newcomers wont be able to see anything.

@LynxSumit yes it is expected, have you installed CORS extension from chrome? please install and try sometime browser wont allow us to fetch API's from external sites

@LynxSumit Hope you're able to access the site now? are we good to close this issue

sure i will review once you made PR

authors: Anandsg LynxSumit

repo: Anandsg/Hungry-hero


text:
Looking for Cargo.toml in a python project

HI, thanks for this amazing project
I tried following the instructions on the readme and opened a Python file.
message on status bar:
could not find  `Cargo.toml` in `path` or any parent directory

It also asked me to add rls to my rustup toolchain, so looks like this is not considering the filetype.

Hi! I updated the messaging for this. Since we now have default values for the LSP configuration, it is unnecessary to show such messages in the status bar. It is now only logged.

authors: AndCake rochacbruno

repo: AndCake/micro-plugin-lsp


text:
textarea-autosize conflict with custom key bind

I want to a function like this: when I use shift + enter, I can wrap lines, and the textarea can autoheight,
when I use enter key, I can send the message,
BUT, when I bind the enter key to textarea(with this plugin), I found enter key was used to wrapping lines default,
Does the plugin support this feature? I understand this is a more general scenario.
thanks very much

@joeylin in case it helps I think I figured this out. You can just do an e.preventDefault(). My resulting code looks something like this:
<textarea
  onKeyDown={(e) => {
    if (!e.shiftKey && e.key === 'Enter') {
      e.preventDefault();
      handleSendMessage();
    }
  }}
/>

authors: ifightcrime joeylin

repo: Andarist/react-textarea-autosize


text:
Fix non-method error

I get this error when trying to use the prepare feature:
error TS roblox-ts: Attempted to assign non-method where method was expected.

 18             prepare: () => {
                ~~~~~~~~~~~~~~~~
 19                 return {
    ~~~~~~~~~~~~~~~~~~~~~~~~
...
 23                 };
    ~~~~~~~~~~~~~~~~~~
 24             },

I had to convert it to a method instead:
            prepare() {
                return {
                    payload: {
                        promptId: HttpService.GenerateGUID(),
                    },
                };
            },

But this compiles incorrectly:
			prepare = function(self)
				return {
					payload = {
						promptId = HttpService:GenerateGUID(),
					},
				}
			end,

The self shouldn't be there.
This PR fixes that by changing some types to use a property instead of a method

Looks good to me.

authors: AndreRojasMartinsson Scyfren

repo: AndreRojasMartinsson/roduxutils


text:
core dumped

Arch Linux 6.1.8
Wayland 1.21.0
Sway 1.8
❯ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

It worked some weeks ago. Now no more :)
Something I am missing here?

Same error here
$ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
Abandon (core dumped)

not really any info to find here:
~
❯ export RUST_LOG=trace

~
❯ waycorner
[2023-02-07T05:10:47Z DEBUG waycorner::config] Replacing ~/ with $HOME/
[2023-02-07T05:10:47Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~
❯ export RUST_LOG=debug
~
❮ waycorner
[2023-02-07T05:11:07Z DEBUG waycorner::config] Replacing ~/ with $HOME/
[2023-02-07T05:11:07Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~
❯ export RUST_LOG=info
~
❮ waycorner
[2023-02-07T05:11:19Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~
❯ export RUST_LOG=warn
~
❮ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~
❯ export RUST_LOG=error
~
❮ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

coredumpctl info
Is this a (g)libc versioning issue?
           PID: 29687 (waycorner)
           UID: 1000 (salkin)
           GID: 1000 (salkin)
        Signal: 6 (ABRT)
     Timestamp: Tue 2023-02-07 06:11:44 CET (8min ago)
  Command Line: waycorner
    Executable: /usr/bin/waycorner
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (salkin)
       Boot ID: ~~..ada3..~~
    Machine ID: ~~..e5f8..~~
      Hostname: ~~abcd~~
       Storage: /var/lib/systemd/coredump/core.waycorner.1000.0f213c497c54456ea0db3b20e619ada3.29687.1675746704000000.zst (present)
  Size on Disk: 115.8K
       Message: Process 29687 (waycorner) of user 1000 dumped core.

                Stack trace of thread 29687:
                #0  0x00007f91d480464c n/a (libc.so.6 + 0x8864c)
                #1  0x00007f91d47b4938 raise (libc.so.6 + 0x38938)
                #2  0x00007f91d479e53d abort (libc.so.6 + 0x2253d)
                #3  0x000055d41c8fb803 n/a (waycorner + 0x111803)
                #4  0x00007f91d4ae7d65 n/a (libwayland-client.so + 0x7d65)
                #5  0x00007f91d4ae7ffc wl_display_dispatch_queue_pending (libwayland-client.so + 0x7ffc)
                #6  0x00007f91d4aeac10 wl_display_roundtrip_queue (libwayland-client.so + 0xac10)
                #7  0x000055d41c85454f n/a (waycorner + 0x6a54f)
                #8  0x000055d41c86560f n/a (waycorner + 0x7b60f)
                #9  0x000055d41c87a6c2 n/a (waycorner + 0x906c2)
                #10 0x000055d41c8684ed n/a (waycorner + 0x7e4ed)
                #11 0x000055d41c86aa73 n/a (waycorner + 0x80a73)
                #12 0x000055d41c8478b9 n/a (waycorner + 0x5d8b9)
                #13 0x000055d41c9ae96f n/a (waycorner + 0x1c496f)
                #14 0x000055d41c868f48 n/a (waycorner + 0x7ef48)
                #15 0x00007f91d479f290 n/a (libc.so.6 + 0x23290)
                #16 0x00007f91d479f34a __libc_start_main (libc.so.6 + 0x2334a)
                #17 0x000055d41c832c55 n/a (waycorner + 0x48c55)
                ELF object binary architecture: AMD x86-64

#15 fixes this.
The smithay-client-toolkit, wayland-client, and wayland-protocols crates were out of date.

authors: Okanda jhpaques salkin-mada

repo: AndreasBackx/waycorner


text:
Example with code

Hi @AndreiMisiukevich
could you translate your XAML example in CSHARP?
Thanks
Alessandro

Hi.
Sure, I will do it and let you know
Thanks for feedback

wow, you are fast. Thanks!

Readme is updated =)

Thanks I take a look

authors: AndreiMisiukevich acaliaro

repo: AndreiMisiukevich/ContextMenu


text:
Update VoiceChat.cs

Fixed stuttering issues with Voice Activation, optimized allocation, and threading.

Also added a function for getting the mic input volume

repo: AndrejStojkovic/FishNet-Voice


text:
Rotation

Hello,
This script work fine when no rotation, but with rotate=1 in kernel, it freeze and does not work .. any idea ? thx

Hi Andrew,
Revisiting the raspi2png on rotated screen.  Were you able to get some
update on solving the rotated screen problem.
Thanks a lot.
Regards,
Chandra
On Sun, Oct 5, 2014 at 3:28 AM, Andrew Duncan notifications@github.com
wrote:

Hi Sorry for the delay. I have been busy on other things. No the change
only related to compiling in the math library. I will try to get back to
your issue shortly. Again sorry for the delay.
—
Reply to this email directly or view it on GitHub
https://github.com/AndrewFromMelbourne/raspi2png/issues/2#issuecomment-57932147
.

Hi Chandra,
Sorry for the very long delay. Other things came up and then I completely forgot. I am sorry!
As you will see above I have finally managed to reproduce the issue and I have raised an issue on the firmware.
The good news is I think I have a work around. Try using the -b option of omxplayer. The option adds a black layer underneath the playing video. As your video is full screen, you won't see it. However, from my experiments by adding the extra layer, the video is no longer distorted. So try
omxplay -b yourvideo.mpg

Hi Chandra,
I am sorry that this took so long (on my part). The Raspberry PI firmware has now been fixed (you will need to use rpi-update for now to get the latest firmware). Once the bug was reported on the Raspberry Pi firmware the fix was made very quickly. Once again sorry that it took so long for me to raise the issue. I hope that it now works for you.
Andrew

Hi Andrew,
Thanks a lot.  It works perfectly.  My sincere gratitude in you
addressing this problem.
One suggestion for raspi2png - a setting for resolution (to reduce the
file size).
Thanks again.
With kind regards,
Chandra
On Mon, Mar 23, 2015 at 2:58 AM, Andrew Duncan notifications@github.com
wrote:

Hi Chandra,
I am sorry that this took so long (on my part). The Raspberry PI firmware
has now been fixed (you will need to use rpi-update for now to get the
latest firmware). Once the bug was reported on the Raspberry Pi firmware
the fix was made very quickly. Once again sorry that it took so long for me
to raise the issue. I hope that it now works for you.
Andrew
—

Hi Chandra,
Thanks for your patience.
I will have a think about resolution ... so just to be clear are you wanting to reduce the file size or have a smaller (fewer pixel) image. Reducing the file size would be possible if I created a raspi2jpg program, which is possible. Reducing the number of pixels is pretty trivial and could implemented by specifying the desired width (and/or height) on the command line. Let me know.
With regards to this issue, are you happy to close it now?
Thanks,
Andrew

Hi Andrew,
We are delighted with your solution you have provided and you may close
the issue.  I have tested it a few times.
Yes, we would like to have a reduced file size as an option to raspi2png.
Currently I am using a program to create a lower resolution jpg file (from
snapshot.png) to reduce the file size.
Thanks.
Regards,
Chandra
On Mon, Mar 23, 2015 at 11:31 AM, Andrew Duncan notifications@github.com
wrote:

Hi Chandra,
Thanks for your patience.
I will have a think about resolution ... so just to be clear are you
wanting to reduce the file size or have a smaller (fewer pixel) image.
Reducing the file size would be possible if I created a raspi2jpg program,
which is possible. Reducing the number of pixels is pretty trivial and
could implemented by specifying the desired width (and/or height) on the
command line. Let me know.
With regards to this issue, are you happy to close it now?
Thanks,
Andrew
—
Reply to this email directly or view it on GitHub
https://github.com/AndrewFromMelbourne/raspi2png/issues/2#issuecomment-84823612
.

Hi Andrew,
Thanks for all your help, I have been using raspi2png quite a bit.
Right now it has been painful to reduce the file size for copying the
image to the cloud - if you could kindly provide support for raspi2jpg or a
way to reduce the number of pixel would be great.
Thanks.
Regards,
Chandra
On Sun, Mar 22, 2015 at 11:01 PM, Andrew Duncan notifications@github.com
wrote:

Hi Chandra,
Thanks for your patience.
I will have a think about resolution ... so just to be clear are you
wanting to reduce the file size or have a smaller (fewer pixel) image.
Reducing the file size would be possible if I created a raspi2jpg program,
which is possible. Reducing the number of pixels is pretty trivial and
could implemented by specifying the desired width (and/or height) on the
command line. Let me know.
With regards to this issue, are you happy to close it now?
Thanks,
Andrew

Hi Chandra,
I am still struggling to understand what you require. You can reduce the number of pixels in the snapshot using either the --width or --height command line options

For reduced resolution use the --width and/or --height to specify the dimensions of the snapshot. If you just specify one the other is calculated from the the aspect ratio of the screen.

Unfortunately, at the moment that probably won't work for you as the is an issue open about this feature on rotated displays and related issue for the Raspberry Pi firmware.
Could you please explain why using the --width and/or --height options is not a solution for you.
Andrew

Hi Chandra.
The bug that prevented resizing on rotated screens is now addressed in the latest firmware release.
Andrew

Hi Andrew,
Thanks a lot. I will test it out this weekend.
With kind regards,
Chandra
On Wed, Jun 17, 2015 at 10:51 PM, Andrew Duncan notifications@github.com
wrote:

Hi Chandra.
The bug that prevented resizing on rotated screens is now addressed in the
latest firmware release.
Andrew
—
Reply to this email directly or view it on GitHub
https://github.com/AndrewFromMelbourne/raspi2png/issues/2#issuecomment-113044989
.

I have installed and reinstalled this on my Pi 2. I have successfully taken two screenshot. Then it always fails with raspi2png: vc_dispmanx_snapshot() failed. Anybody have any idea what's happening. Why it works one second, but not the next?

Followup. If I delete the directory. Then completely reinstall, sometimes it will work. Sometimes it won't. Maddening. Any help appreciated.

OK I will see if I can reproduce this. It would be good if you opened a new issue rather than adding to a closed and probably unrelated issue.

Sorry about that. I will. Just was glad to find some people talking about the program and got excited I guess. Thanks.

No problem. I am the author of the program.

Think I figured out the problem. When Scraping in RetroPie on a Raspberry Pi, while doing the final step, choosing the metadata, raspi2png always fails. Today I can’t get it to fail otherwise, so maybe it has something to do with the scrape utility. So far today raspi2png is working like a champ for me.
Thanks for the program, I will mention it in the credits of the book I’m writing, it’s been indispensable now that I’ve got it running.
Matt
Matt Smith, NBCT
mrmattsmith@comcast.net
AP 12 English/US History/Sociology
Valley High School
Albuquerque, New Mexico

On Jul 19, 2015, at 6:04 PM, Andrew Duncan notifications@github.com wrote:
No problem. I am the author of the program.
—
Reply to this email directly or view it on GitHub https://github.com/AndrewFromMelbourne/raspi2png/issues/2#issuecomment-122719851.

authors: AndrewFromMelbourne chandra50 matttheorbiter michaelhanin


text:
Feature Request: Session Continuation and OpenAPI Specification Import

Currently, closing the browser results in a loss of the generated OpenAPI specification data. To enhance usability and continuity, could we consider the following features?

Implementing a session save feature that allows users to pause and resume their recording sessions at a later time.

Providing an option to upload a JSON file of a previously downloaded OpenAPI specification, enabling users to continue recording from where they left off.

Great suggestion @colin6-work, I have things set up to make this possible. I'll implement this in the next version.

This is now in release v1.2.0.

repo: AndrewWalsh/openapi-devtools


text:
Feature X

Created feature x.

Everything OK.

repo: Andy-Wall/my-rag-project


text:
Newspaper not scraping full content or picking up random sentences in article.

 Issue by shashank7596
Thu Apr  9 16:05:27 2020
Originally opened as https://github.com/codelucas/newspaper/issues/799

Hello everyone.
There's few urls especially for a particular site the newspaper is not scraping the full content for some reason. It randomly picks some sentences in the article. Can anyone help in fixing this issue. Newspaper scraper been very crucial in our project right now and for some websites it's not working. For different articles in the same domain it behaves differently.
Below are some example urls :

https://www.clinicaltrials.gov/ct2/show/study/NCT00034216?cond=breast+cancer&lupd_s=03%2F26%2F2020&lupd_d=14
https://www.clinicaltrials.gov/ct2/show/study/NCT04335006?cond=triple+negative+breast+cancer
https://www.clinicaltrials.gov/ct2/show/study/NCT04338269
https://www.clinicaltrials.gov/ct2/show/NCT04332653?cond=breast+cancer&lupd_s=03%2F25%2F2020&lupd_d=14

Newspaper is not suited for scraping research papers or studies


text:
Save Logs button is functional even if device is not connected

The Save Logs button is functional even if no device is detected. Button should be disabled if there's no connected device, or an error message should pop up saying "Please connect your device first" when button is clicked. Let's implement which ever is the easiest/fastest to do.
Steps to reproduce:

Install build: https://www.dropbox.com/s/1l1hxinlwni6xhn/Android Test Tool.zip?dl=0
Launch app with no device connected
Click Save Logs button

I disabled click functionality when device is not connected. Implemented in 76b2610

authors: Andychochocho oantila

repo: Andychochocho/android-testing-tool


text:
Add ignore linter rules to autogenerated files

Please add "ignore_for_file" statements to all autogenerated files that will always be overridden like the main_flavor.dart and flavors.dart.
For example:
"always_use_package_imports"
"prefer_relative_imports"
There are likely more that are of use.

Questions and bugs
If you need help with the use of the library or you just want to request new features, please use the Discussions section of the repository. Issues opened as questions will be automatically closed.

authors: AngeloAvv YukiAttano


text:
API Date Filters

There should exist a Date Filter in the API Filter framework that uses the Range Filter strategy described in #121. All of our non-Pivot Models use the standard created_at and updated_at timestamps, which allow us to perform queries on objects created or updated within given ranges. Currently, this can only be accomplished by sorting results on these fields.

This has been implemented through filter conditions in commit f21f41e3a65d77f6a77cc92d9902fe13ba3f8528, date validation in commit eb0991a642ed12e3739679a74046c918bc034ca7, and greater precision timestamps in 6192b9e31ff8c139e99ff0bf45b4a701a15b4cf5.
Adopted date format (to match resource attributes output format)
YYYY-MM-DDTHH:mm:ss.SSSSSS

All date components except for year are optional.

repo: AnimeThemes/animethemes-server


text:
Add Topics

In GSSoC'24, GitHub Topics will help the discoverability of your project.
I see that you already have great topics on your repository!
I would recommend adding the name of the company like the software you use to build like "vs-code, ghdesktop" to improve your discoverability.
If you are happy with the topics you have, feel free to close this issue. 👍

Please assign this issue to me.


text:
how to use command line

Hi , Can you please guide me how to use this by command line(I don't want gui )  ?

The command line feature was removed when the GUI version was published. I just made a fork to re-implement the ability to use command line parameters again.

Thankyou can you please share the link I also want to contribute.

@codingbeast I haven't commited anything yet, will share it as soon as I found some time to do so.


text:
🛑 AnnAngela.cn is down

In d316837, AnnAngela.cn (https://ping.annangela.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AnnAngela.cn is back up in 7c307a7.