ServerlessHub - Clients.GroupExcept() not available yet?

Attermpting to call Clients.GroupExcept() throws an exception with the message "Specified method is not supported.".
Are there any plans to implement this for the SignalR Service in Serverless mode?

GroupExcept is not supported in REST APIs according to the spec https://github.com/Azure/azure-signalr/blob/dev/docs/rest-api.md
We can consider to add it but we don't have a roadmap right now.

Following should be supported:

Group broadcast except: api
Broadcast except: api

REST API already contains GroupExcept https://github.com/Azure/azure-signalr/blob/dev/docs/swagger/v1.md#post-broadcast-a-message-to-all-clients-within-the-target-group., ManagementApi needs an update.

That feature is also not documented in the Microsoft docs:
https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-rest-api#broadcast-to-everyone

Please implement this functionality. It is horrible that we cannot use something so basic.


Fixes #1193 Bug: Search sometimes shows the same snapshot twice

Making sure user gets the distinct set of search results

Summary
This PR fixes #1193 Bug: Search sometimes shows the same snapshot twice
Related issues

Changes these areas

[x] Bugfixes
[ ] Feature behavior
[ ] Command line interface
[ ] Configuration options
[ ] Internal architecture
[ ] Snapshot data layout on disk

@pirate Please guide me in correct direction if something is off. 🤞🏻

perfect, thanks! congrats on your first archivebox PR


[staging-next] rustc: disable wasm32 if some gcc options are set

Description of changes
(Sorry this took so long.)
This is a temporary fix to get rustc building again with these configurations (which notably include the default aarch64-darwin one) without causing a stdenv rebuild.  The real fix will be to avoid passing these options through the Clang wrapper when the target is overridden.
It could be that there are packages that need wasm32-unknown-unknown beyond those I've marked as broken here — it's impossible to be sure without a full rebuild.  But this should be most of them.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

If I looked right, out of the four main platforms only aarch64-darwin is rebuilt and this fixes the build there for me.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/is-there-a-way-to-install-a-macos-pkg-from-an-url/49660/8


Fix for GBT cls prediction with mismatched types(like PR#294)

Fix for bug which was reported in #1002.
Same bug as #271. Was fixed by @ShvetsKS in #294.

/intelci: run


autodiscovery can't get metrics without wildcard or regex

Output of the info page (if this is a bug)
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | - | (connectionpool.py:456) | http://<IP_ADDRESS>:9898 "GET /metrics HTTP/1.1" 200 1769
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `http_request_duration_seconds` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `http_requests` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `process_cpu_seconds` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `process_open_fds` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `process_resident_memory_bytes` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `process_start_time_seconds` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/python/datadog_agent.go:128 in LogMessage) | openmetrics:k38s:673e649a47d0b63c | (transform.py:80) | Skipping metric `promhttp_metric_handler_requests` as it is not defined in `metrics`
2022-03-24 10:09:02 UTC | CORE | DEBUG | (pkg/collector/worker/check_logger.go:58 in CheckFinished) | check:openmetrics | Done running check

Describe what happened:
can't get metric: process_cpu_seconds_total, others are okay
Describe what you expected:
it should send all matched metrics to datadog
Steps to reproduce the issue:
  ad.datadoghq.com/podinfo.check_names: '["openmetrics"]'
  ad.datadoghq.com/podinfo.init_configs: '[{}]'
  ad.datadoghq.com/podinfo.instances: |
    [
      {
        "openmetrics_endpoint": "http://%%host%%:9898/metrics",
        "namespace": "k38s",
        "metrics": [{"promhttp_metric_handler_requests_in_flight":"podinfo_requests_in_flight"}, "process_virtual_.*", "process_cpu_seconds_total", "^process_(max|openx)_fds", "go_.*"],
        "exclude_metrics":
          [
            "go_gc_.*",
            "^go_memstats_.*_bytes$"
          ]
      }
    ]

Additional environment details (Operating System, Cloud provider, etc):

~ $ curl -s http://localhost:9898/metrics
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 3.2478e-05
go_gc_duration_seconds{quantile="0.25"} 6.4613e-05
go_gc_duration_seconds{quantile="0.5"} 7.9964e-05
go_gc_duration_seconds{quantile="0.75"} 9.0612e-05
go_gc_duration_seconds{quantile="1"} 0.00015215
go_gc_duration_seconds_sum 0.000935805
go_gc_duration_seconds_count 12
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 13
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.17.8"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 1.5787904e+07
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 6.8325672e+07
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.461488e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 407026
# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
# TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 3.930378458628937e-06
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 5.252704e+06
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 1.5787904e+07
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 3.588096e+06
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 1.67936e+07
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 26973
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 524288
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 2.0381696e+07
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.6481194711950855e+09
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 433999
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 2400
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 16384
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 78200
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 114688
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 2.5241584e+07
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 577720
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 589824
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 589824
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 2.8394504e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 9
# HELP http_request_duration_seconds Seconds spent serving HTTP requests.
# TYPE http_request_duration_seconds histogram
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.005"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.01"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.025"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.05"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.1"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.25"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="0.5"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="1"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="2.5"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="5"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="10"} 127
http_request_duration_seconds_bucket{method="GET",path="healthz",status="200",le="+Inf"} 127
http_request_duration_seconds_sum{method="GET",path="healthz",status="200"} 0.009265723000000002
http_request_duration_seconds_count{method="GET",path="healthz",status="200"} 127
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.005"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.01"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.025"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.05"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.1"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.25"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="0.5"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="1"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="2.5"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="5"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="10"} 425
http_request_duration_seconds_bucket{method="GET",path="metrics",status="200",le="+Inf"} 425
http_request_duration_seconds_sum{method="GET",path="metrics",status="200"} 0.43235149800000006
http_request_duration_seconds_count{method="GET",path="metrics",status="200"} 425
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.005"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.01"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.025"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.05"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.1"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.25"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="0.5"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="1"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="2.5"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="5"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="10"} 129
http_request_duration_seconds_bucket{method="GET",path="readyz",status="200",le="+Inf"} 129
http_request_duration_seconds_sum{method="GET",path="readyz",status="200"} 0.008190198000000003
http_request_duration_seconds_count{method="GET",path="readyz",status="200"} 129
# HELP http_requests_total The total number of HTTP requests.
# TYPE http_requests_total counter
http_requests_total{status="200"} 681
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 0.84
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 1.048576e+06
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 12
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 4.591616e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.64811826012e+09
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 7.4805248e+08
# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.
# TYPE process_virtual_memory_max_bytes gauge
process_virtual_memory_max_bytes 1.8446744073709552e+19
# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.
# TYPE promhttp_metric_handler_requests_in_flight gauge
promhttp_metric_handler_requests_in_flight 1
# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.
# TYPE promhttp_metric_handler_requests_total counter
promhttp_metric_handler_requests_total{code="200"} 425
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0

@vl-shopback @randallt When specifying the metric, can you also include the type: counter? By default, metrics are submitted as gauge, but counters (and histogram and summary) need to be specified.

@yzhan289 Why would the type correctly be detected (I assume from the # TYPE lines in the /metrics output) by the datadog agent sometimes and not other times? I have lots of counters and histograms correctly submitted without specifying their type in the annotation yaml.

I have lots of counters and histograms correctly submitted without specifying their type in the annotation yaml.

Are these correctly submitted on V1 or V2?

I hit the same issue today, reverting to v1 helped. Thanks @randallt !

I had the same issue but it turned out I just ran into the default limit of 2000 metrics per agent. I found it out by running agent check openmetrics at the agent hosted at the same node as the deployment/ service providing the metrics.
The limit of 2000 metrics is also documented here.

+1, it works when removing _total from the metric name in the Kubernetes annotation.
I think the information should be added this page, in the table mentioning <METRIC_TO_FETCH>.

"^process_(max|openx)_fds"

On another note, can you get the above metrics? I tried, but I can't get it using ^.
Is there a regexp I can't use?


FFmpeg exited with code: null and signal: SIGSEGV (Unexpected)

This plugin slows down Homebridge. The write handler for the characteristic 'Selected RTP Stream Configuration' on the accessory 'Camera C210' didn't respond at all!. Please check that you properly call the callback! See https://homebridge.io/w/JtMGR for more info.
I get this Error on C210 camera with firmware version 1.3.11, is it a known issue?
I have just ordered a new camera the C225, will I encounter the same issue?

Hello,
do you have a Raspi 5?
On my Pi5 I have the same error, on my Pi4 it works.
The same with the CameraUI plugin.
I'm currently looking for a solution. Did you find out anything?

For me in JSON config, in camera config disabling the audio fixes the issue.
"videoConfig": {                 "audio": false             }
Also ffmpeg seems to work fine but there is some kind of issue with srtp protocol. I copied the command for the video removing the srtp part and it was fine.


cmd/gb-vendor/vendor: add test for vendor.ImportPaths

Please fix up ParseImports and add the extra tests we discussed.


Update TextViewRowFormer.swift

When trying to compare current system version against lowest supported "8.0.0" you should use .OrderedDescending instead of .OrderedAscending, because system version must be higher or equal to the specified one.

@yaricom
I expect to run it under iOS8.
Do you have any errors?

Yes, due to error in system version check it works on iOS with version >= 8.0 not as expected. I.e. textView.scrollRangeToVisible(textView.selectedRange) is not invoked.

Closing due to the fact that this PR has conflicts with the master branch, can you pull from master and submit a new PR?


logo is not visible on website

I'm opening this issue because:

[x] I have found a bug
[ ] I want to request a feature
[ ] I have a question
[ ] Other

Thanks for reporting!
I will fix it once I'm back from holiday,
Claudio

Fixed in https://github.com/claudiodangelis/qrcp/commit/faa538904e98240440fc73e3ce09288514a07ddb, thanks!


Proposal: Dockerfile BINDMOUNT for secure- and/or offline Dockerfile build environments

Before you dismiss this off hand - there are legitimate use cases where this feature can save the user hours, and entice him to be a good Docker citizen - and I will list them.
I know the philosophy of Dockerfiles it to make them as portable as possible. But a bigger part of the philosophy is to "don't repeat yourself" and "don't reinvent the wheel". There are two use cases where the security concern for not having this becomes a moot point, and where a simple Dockerfile command can save a lot of complexity.
Case #1: You're in a secure enviroment, without internet access, and you have a complete local cache of an Ubuntu/CentOS/other repo, from which you'd like to build your docker images.
Use case 1:
In your Dockerfile, you have easily removable lines:
BINDMOUNT yum.repos.d:/etc/yum.repos.d  # which contains the 3 lines necessary to install from CD
BINDMOUNT /media/CentOS-CD:/media/CentOS-CD (this is where your CD image is mounted - the / could even be relative from your current Dockerfile path, for security)
RUN yum -y install lots of stuff
Result: Your Dockerfile may not be portable, but you can use it to test locally in your offline environment.
BUT - if you want to make your Dockerfile portable, you simply remove the two BINDMOUNT lines. In fact, if another environment ignores them altogether, your following commands will still work because the default repository config will not be overloaded with a config pointing to your locally mounted CD, but will still point to the default online sources, which will work as per normal.
Current alternative:

You have to change the repo config to pull from a non-standard DNS - MANUALLY - or you have to hijack DNS so it pulls from your local repo.
AND 2) You have to run a local webserver
AND 3) You have to expose the CD/offline repo files in a manner consistent with those of an on-line repository for the package mangement system in question

Footnotes:

Additionally your image needs tools to download from a webserver, eg wget or equivalent built into it's package mangement system
2)AND the package mangement system needs to be part of the image

With the suggested solution, you could potentially bind-mount an entire /usr/local/bin tree with package management tools that need not be present in the resulting image - yielding a smaller, and more secure image - as if and when compromised, a hacker won't have easy access to your package management system to load the tools he needs to compromise the host.
Use case 2:
You're on a terrible 3G connection, and you'd like to work on Dockerfiles in an offline enviroment, without the added burden of running your own DNS + Webserver + pristine offline copy of the whole online repo.
Motivation:
The current approach throws sand in the face of anyone trying to be a constructive citizen in the Docker commnity, from the confines or poor or offline connectivity... and forces them to use their own hacked-together solutions.
You don't need to search far to find at least 5 much uglier solutions than the one proposed, that people are actively promoting. Those in secure/offline environments are left with no choice but to manually construct docker images from tar commands and shell files, while the whole Dockerfile infrastructure goes complete unused as it has no use to them, and consequently wouldn't see any contributions from them, unless the above could be supported.
Alternately, the same could be accomplished had "docker build" supported the -v option from "docker run".

:+1:  In fact, we can use one or more flags to tell the interpreter whether we are in local or not. If we are in local, we can use some special commands like @dagelf said, and if not, the interpreter can just ignore them.  But if so,this is equivalent to support condition sentence.

One note - you don't usually want a volume in the output containing your secrets, as discussed in a few other issues there's value in the bind mount being transient for the scope of the build and then omitted from the final metadata.

Since there seems to be a concern about injecting arbitrary dependencies into docker builds, a compromise worth considering would be direct r/w access to the build context.  A new Dockerfile instruction
   BUILDCONTEXTpath
bindmounts the host context directory at path in the container, but only during the build.
Combine it with a little creative in-container symlinking and it will address many of the scenarios around build-time tools and repository caches that seem to be driving this requirement.
If I understand the current implementation, today the context is copied into a volume that gets mounted in a secret place that only ADD and COPY can find.  This proposal rw mounts the host directory instead of a copy, and exposes the mount point where e.g. RUN can get at it.
So what makes it a compromise?  Builds are already context dependent, so this proposal is more consistent with established docker fu and the principle of self-containment than arbitrary build-time volumes would be.  On the other hand, although it allows a build to participate in the maintenance of its own context it still doesn't help you share data between builds like unrestricted volume access would.

+1, I have also been looking for a convenient way to easily and reproducibly build docker images from local cache without relying on an internet connection. (motivated by the need to archive a setup for reproducible research - I want the docker images to be able to build - say - 20 years from now when many archive mirrors may be offline). A convenient way to ensure not involuntarily relying on a internet connection would be also to allow --net='none' for docker build (#10324)

Another use case for this feature: if I have a large .deb package that I want to be installed as part of a build, I currently have to use COPY to get the package into the container so that a subsequent RUN will install it. Logically speaking, I have no need for a separate layer containing just the copied .deb, as it will just waste space. I would like to be able to install the package directly from the build context so as to avoid the deb being committed as part of my final image.

I think this proposal has merit: there's a real need for a way to build with out-of-band artifacts. This is one of the primary reasons we have a completely custom builder that bypasses Dockerfiles altogether (although there are other solutions to this problem a bind-mount is the most generic):

Secrets. Many application builds need secrets available during build e.g. to upload assets to S3, fetch the database schema from production and dump it to a file, etc. These should not be in the final layer, and with Docker's current model of creating a FS layer for each command—this is impossible without major hacking.
More sophisticated caching. For example, many dependency management systems (e.g. bundler, npm, and other package managers) take a long time to fetch from scratch due to extensive networking. With the current model, you can't really run the command from a cache unless you do hacking to embed the cache into an earlier layer—which means that unnecessary things end up in the final image, which in our experience in this specific case, is very costly. With out-of-band artifacts, we'd be able to manage and iterate on this cache living outside of the container and only copy in the result as the last step.

In general I think out-of-band artifacts are powerful, and there's currently not any support for it as far as I can tell. This is a shortcut to a much more extensible build system.

I'm going to close this issue, because I think this is a duplicate of https://github.com/docker/docker/issues/3056
Please continue the discussion on https://github.com/docker/docker/issues/3056.
If you think I incorrectly marked this issue as a duplicate, feel free to comment / ping me :)


Auto-scroll does not respect reverse:true

It looks like auto-scroll on extents does not respect reverse: true
https://user-images.githubusercontent.com/666539/172375755-5603af1f-55d6-4d1c-ba27-40884ddbb5df.mov

same issue when scrollDirection = Axis.horizontal

fixed in 1.0.4


Wrong results when copying from all-null ROW vector with null children

Bug description
PR #4703 introduced changes to RowVector::copy method that reset child vectors when source's child vectors are null. This causes wrong results when copying from a source that is all-null.
CC: @bikramSingh91 @kagamiori @laithsakka @kevinwilfong
System information
n/a
Relevant logs
No response

See #6613

@bikramSingh91 Is this fixed already?


iconifyApiOptions custom API not working

I didn't quite understand that iconifyApiOptions in the document is only used to provide CDN for the default official api, or it can provide its own icon.
For example:
First, I made sure that my custom API was written according to the official version and can be accessed normally.
https://localhost:3000/fal.json?icons=house
However, when I set the options below, it didn't work. Only when publicApiFallback:false is set will it work properly.
iconifyApiOptions: {
   url: 'http://localhost:3000',
   publicApiFallback: true,
},

 // not working

Finally, when I was writing this question, I took a look at the nuxt-icon source code and found this snippet.
  if (appConfig.nuxtIcon?.iconifyApiOptions?.publicApiFallback) {
     addAPIProvider('custom', {
       resources: [appConfig.nuxtIcon?.iconifyApiOptions.url],
       index: 0
     })
     return
   }

 // it works fine

Could you please now with the new version? https://github.com/nuxt-modules/icon/releases/tag/v1.0.0-beta.1

Thank you very much for the prompt update, now it works.
But there will be a warn
WARN [Icon] Collection myicon is not found locally
We suggest to install it via npm i -D @iconify-json/myicon to provide the best end-user experience.

In other words, do I still need to make a local package? I am not very sure.

Ah, that's a good point. We could probably disable the warning when a custom end point is provided.


Update Manifold to a49a7ea

We need to update Manifold commit in Dockerfile from Gazebo 7 to overpass some parsing bugs.
The commit is  a49a7ea.

A new commit on Manifold to solve conflicts has been done. So we change to a new issue.


Add documentation for code signing custom Mattermost builds

Added comprehensive documentation on code signing custom Mattermost builds across multiple platforms. This update includes:

A new file code-signing-custom-builds.rst with step-by-step instructions for Windows, Mac, and Linux.
Integration of the new documentation into other-administration-resources.rst for easy navigation.

The documentation aims to help users reduce security warnings and ensure smoother installations by following best practices for code signing.

Summary
This pull request introduces a new section in the Mattermost documentation dedicated to the code signing process for custom builds. It provides clear instructions for users to sign their builds, enhancing security and trustworthiness.
Ticket Link
Fixes: #3872

@iyampaul - Are you open to helping identify an appropriate reviewer for this docs PR?

@wiggin77 - Added you as a reviewer as a member of @core-reviewers. Please reassign as needed.

@yesbhautik - Are you open to incorporating @fmartingr's feedback on this docs PR?

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!


Fixed position popper has positioning issues when using will-change

CodeSandbox demo
https://codesandbox.io/s/popperjs-willchange-positioning-9whyz?file=/src/index.css
Steps to reproduce the problem
The example replicates this scenario:

Place popper and reference inside a parent with will-change: width
Use strategy: "fixed"
Scroll the page (I've placed the component in a scroll container in this example
Popper will not move with the reference

To observe issue in example

Scroll down (reload may be required, it appears semi-intermittently on codesandbox)
Go to index.css and comment out the marked line setting will-change: width in .scrollContainer
Popper should work fine when the line is commented out

What is the expected behavior?
Popper should track the reference
What went wrong?
Popper does not track the reference correctly, but does appear to shift as if trying to stay on screen when moving the reference out of the viewport.
Any other comments?
This issue appears after version 2.4.1; was first spotted in a component using react-popper

I create PR #1244 to fix this.
You can also workaround this using transform: translate(0); just after your will-change: width;. More in https://github.com/popperjs/popper-core/issues/1156


Workflow management system: Design specifications

I think this is actually a duplicate of #278, but #278 actually has more details about what needs to be done in order to create some design specifications - @christinklez can we delete this card?


Bug Always : and can not sign out Azure on Visual studio code : i confuse

<Please be sure to remove any private information before submitting.>
Repro steps:
<Enter steps to reproduce issue>
Action: appService.Deploy
Error type: Error
Error Message: Entry not found in cache.
Version: 0.12.0
OS: darwin

This seems to be an issue relating to the azure-account extension.  Please file an issue here: https://github.com/Microsoft/vscode-azure-account


Loosen restriction on AllowAtMostNCallsCA operation

This should fix #343, but I am not sure what the best way to solve it is:

Add the other 3 variants {,A,C} and leave this one as it is
Change the operation name to AllowAtMostNCalls and deprecate the current one

@cgranade Would we need API review for this PR, and if so, could we go with option 3:

Accept PR for March release and implement option 1 or 2 for the next release.

I took the liberty to add unit tests to cover the change. I have seen an occasional reoccurrence of #386, but I believe it's been observed before so shouldn't be caused by this particular change.


Make it possible to customize the pages shown in RSS feed

It is possible to override the rss.xml template, but the list of pages is hardcoded to “all pages with a date”. While this is a reasonable default, it would be nice if one could decide to exclude some pages. One way to achieve this could be to expose the same set of variables as for the index.html  (sections, etc.).

Can you not override the template and just add an extra attribute to the pages you don't want to display and check for that?


stripe terminal support

stripe terminal is slated to be out of beta within the next few months and would be great if that would be supported.  I'm in the beta now and would be happy to do some legwork to add support for this.
ref: https://stripe.com/docs/terminal/js

@jamemackson This sounds like a great idea!  Took a quick look at it and would be interested in the actual implementation and if would require another addon....

I've been scoping it out and I think this would be fairly easy to add into this addon.  I'm actively working on a first crack at a PR to add this functionality and will push it up in the next few days which should facilitate better conversation around it (and whether this should really be it's own addon) but with lazy loading and an enableTerminal flag it shouldn't add much weight to built applications to include within this addon.  There is definitely more moving parts to using a terminal vs processing a standard transaction


Grand Exchange plugin log file.

Would like to see the plugin have the option to log each buy/sell trades from Grand Exchange into a txt file with timestamps.
If it's possible to only log the items when the offer has fully completed in grand exchange so you don't have multiple lines of the item log due to buying multiple items.
Example:
[03/04/2018] [04:45] 200 Bronze bars sold [Total 38200gp] [Each 191gp]
This would be an ideal addition to those like that keep track of profits/losses on their trades.

I don't think we really want to use external resources like this, only "store" we should use is the config manager.


Don't #[allow(type_alias_bounds)].

https://github.com/rust-lang/rust/pull/54090 will fix false positives (not relevant here) and make it an error in the upcoming Rust 2018 edition, which means that if you want to migrate to Rust 2018, it shouldn't be ignored.
See also https://github.com/rust-lang/rust/issues/49441#issuecomment-421136550 for the decision and some background.

Thank you!
bors r+


Remove unnecessary ESLint rules

At some point each of these three rules was disabled because there were lint violations present. Now there are none, so the entries disabling these rules have been removed.

'@typescript-eslint/no-shadow': We don't use this rule for some reason. We probably should, but until then we don't need to disable it.
@typescript-eslint/space-before-function-paren: Our ESLint config repo (@metamask/eslint-config) was updated to match this in v4.0.0, so this override was redundant
jest/no-truthy-falsy: This rule is disabled because it's deprecated in favour of jest/no-restricted-matchers.

Nice!


Migrate compose typeaheads to Tippy

As part of the project to remove Bootstrap, and to unblock some of the design changes described in #25116, we should migrate the compose box typeaheads to Tippy.

@alya Please assign me this issue if it is ready to be worked on.

This issue isn't tagged "help wanted" because we expect it to be a tricky transition to manage, but feel free to work on it; we'll just be looking for something that Just Works with as close to the current behavior as existing, and won't be able to provide a ton of debugging support.

Closing as completed in #29882


img issues

Hello and thanks for the great package. Maybe I'm doing this wrong but imgs I have whitelisted are not showing up.
[Error] Refused to load http://7.t.imgbox.com/nzEqZ9bY.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://5.t.imgbox.com/fqffnT8Y.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://7.t.imgbox.com/nzEqZ9bY.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://5.t.imgbox.com/fqffnT8Y.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://6.t.imgbox.com/ecBXXVws.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://9.t.imgbox.com/pdHrSRyL.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://0.t.imgbox.com/uxFAAuEd.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://6.t.imgbox.com/4ZFjwTBc.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://3.t.imgbox.com/e0a7Dyf8.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://2.t.imgbox.com/43n4c49A.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://assets.fanart.tv/fanart/movies/269149/moviebackground/zootopia-56b0a4adcd559.jpg because it does not appear in the img-src directive of the Content Security Policy.
[Error] Refused to load http://assets.fanart.tv/fanart/movies/269149/movieposter/zootopia-573f3f2c6d6ee.jpg because it does not appear in the img-src directive of the Content Security Policy.

This is my CSP config

secure-headers.php
<?php

return [

    /*
     * X-Content-Type-Options
     *
     * Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
     *
     * Available Value: 'nosniff'
     */

    'x-content-type-options' => 'nosniff',

    /*
     * X-Download-Options
     *
     * Reference: https://msdn.microsoft.com/en-us/library/jj542450(v=vs.85).aspx
     *
     * Available Value: 'noopen'
     */

    'x-download-options' => 'noopen',

    /*
     * X-Frame-Options
     *
     * Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
     *
     * Available Value: 'deny', 'sameorigin', 'allow-from <uri>'
     */

    'x-frame-options' => 'sameorigin',

    /*
     * X-Permitted-Cross-Domain-Policies
     *
     * Reference: https://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html
     *
     * Available Value: 'all', 'none', 'master-only', 'by-content-type', 'by-ftp-filename'
     */

    'x-permitted-cross-domain-policies' => 'none',

    /*
     * X-XSS-Protection
     *
     * Reference: https://blogs.msdn.microsoft.com/ieinternals/2011/01/31/controlling-the-xss-filter
     *
     * Available Value: '1', '0', '1; mode=block'
     */

    'x-xss-protection' => '1; mode=block',

    /*
     * Referrer-Policy
     *
     * Reference: https://w3c.github.io/webappsec-referrer-policy
     *
     * Available Value: 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin',
     *                  'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'
     */

    'referrer-policy' => 'strict-origin-when-cross-origin',

    /*
     * HTTP Strict Transport Security
     *
     * Reference: https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security
     *
     * Please ensure your website had set up ssl/tls before enable hsts.
     */

    'hsts' => [
        'enable' => true,

        'max-age' => 15552000,

        'include-sub-domains' => false,
    ],

    /*
     * Public Key Pinning
     *
     * Reference: https://developer.mozilla.org/en-US/docs/Web/Security/Public_Key_Pinning
     *
     * hpkp will be ignored if hashes is empty.
     */

    'hpkp' => [
        'hashes' => [
            // [
            //     'algo' => 'sha256',
            //     'hash' => 'hash-value',
            // ],
        ],

        'include-sub-domains' => false,

        'max-age' => 15552000,

        'report-only' => false,

        'report-uri' => null,
    ],

    /*
     * Content Security Policy
     *
     * Reference: https://developer.mozilla.org/en-US/docs/Web/Security/CSP
     *
     * csp will be ignored if custom-csp is not null. To disable csp, set custom-csp to empty string.
     *
     * Note: custom-csp does not support report-only.
     */

    'custom-csp' => null,

    'csp' => [
        'report-only' => false,

        'report-uri' => null,

        'upgrade-insecure-requests' => false,

        'base-uri' => [
            //
        ],

        'default-src' => [
            'self' => true,
        ],

        'child-src' => [
            //
        ],

        'script-src' => [
            'allow' => [
                'cdnjs.cloudflare.com',
                'cdn.bootcss.com',
                'cdn.datatables.net',
                'ajax.googleapis.com',
                'maxcdn.bootstrapcdn.com',
            ],

            'hashes' => [
                // ['sha256' => 'hash-value'],
            ],

            'nonces' => [
                //
            ],

            'self' => true,

            'unsafe-inline' => true,

            'unsafe-eval' => false,
        ],

        'style-src' => [
            'allow' => [
                'cdn.bootcss.com',
                'fonts.googleapis.com',
                'cdn.rawgit.com',
                'maxcdn.bootstrapcdn.com',
                'cdnjs.cloudflare.com',
                'ajax.googleapis.com',
            ],

            'self' => true,

            'unsafe-inline' => true,
        ],

        'img-src' => [
            'allow' => [
                '*.imgur.com',
                '*.imgbox.com',
                'assets.fanart.tv',
            ],

            'types' => [
                'gif',
                'png',
            ],

            'self' => true,

            'data' => true,
        ],

        /*
         * The following directives are all use 'allow' and 'self' flag.
         *
         * Note: default value of 'self' flag is false.
         */

        'font-src' => [
            'allow' => [
              'fonts.googleapis.com',
              'fonts.gstatic.com',
              'cdn.rawgit.com',
              'maxcdn.bootstrapcdn.com',
            ],
            'self' => true,
        ],

        'connect-src' => [
            'allow' => [
              'www.omdbapi.com',
            ],
            'self' => true,
        ],

        'form-action' => [
            'self' => true,
        ],

        'frame-ancestors' => [
            'self' => true,
        ],

        'media-src' => [
            'self' => true,
        ],

        'object-src' => [
            'self' => true,
        ],

        /*
         * plugin-types only support 'allow'.
         */

        'plugin-types' => [
            //
        ],
    ],

];

Hi @HDVinnie,
I have tested your csp rule in all major browsers and can't reproduce the error, could you please share more information?
Besides, the types  field in img-src directive is used for specifying the protocol, like http: or https:. It is not used for specifying the image type.
Finally, I would suggest that you should clearly state the protocol when add domains to the allow field in directives. For example, use https://fonts.googleapis.com instead of fonts.googleapis.com.

https://github.com/paragonie/csp-builder/blob/master/src/CSPBuilder.php
Our problem is line 45
but more directly line 514
So since my site is https only.
so pretty much since the img links are http its not transforming them to https
Which means if your site is HTTPS only https images, which is a valid security policy, but not always feasible
would be nice if those options were in a config file.

Hi @HDVinnie,
The upstream package origin pull request is #14 and it seems this feature dost not release yet.
In the meantime, I had added this option to config file (#ea90a48). After the upstream package releasing new version, I will follow it as soon as possible.

thanks

With https://github.com/paragonie/csp-builder/pull/14 it would indeed be possible to include HTTP images on a HTTPS site, but it should be noted that this will raise a mixed content warning in the end-users browser (broken or yellow sign at the lock icon). The main purpose of the PR was to allow it for form-src.

fixed by 4ce4f14


Prepare build for iOS 15 #3248

Closes  #3248

Are these changes needed because you set the minimum deployment target to iOS 15? I have been running the app on iOS 15

Are these changes needed because you set the minimum deployment target to iOS 15? I have been running the app on iOS 15

no, i just opened the app on simulator with ios 15, (preparing table with changes)

Oh. Because you are using Xcode 13. Yeah. Looks like we need it then.

Thanks

i haven't checi it with xCode 12.x but i will.

After PR
Before PR

-

@hboon Bump

@vladyslav-iosdev Does it affect building with Xcode 12.x though? Or do we have to switch totally to Xcode 13?

@hboon do u know what it could be? i am not able to run the proj with xCode 11.

@vladyslav-iosdev try upgrade to a new MailChimp SDK version?


[Format] UUID type

Add a UUID type that is physically represented as an 128bit fixed sized binary. The addition of the type should add the annotation that a value in this column is a UUID. The important benefit would be that in the native language object models we could return the respective UUID class, e.g. java.util.UUID in Java and uuid.UUID in Python. For reference, Postgres and Parquet both have a UUID type as well do other data system have this small specialization.
Reporter: Uwe Korn / @xhochy
Note: This issue was originally created as ARROW-2152. Please see the migration documentation for further details.

But should UUID have its own type since it is quite abundantly used in in the DataScience space? Defining through extension types adds a lot of friction to the experience IMHO.


DIsable indent after style and script with 'o'

If i press o under end of tag - it creates extra indentation. How to remove it?

This has to do with tree-sitter queries. Have to put in a PR to nvim-treesitter repo. Low priority for now.

fixed in nvim-treesitter/nvim-treesitter#6035

thanks


Use libsos for serialization

This PR contains the following:

Use sos for serialization.
MSON Serialization
MSON Sourcemap Serialization

We don't need separate SerializeJSON.cc and SerializeYAML.cc anymore. Serialization objects will be built in SerializeAST.cc and SerializeSourcemap.cc and then will be serialized into a format by the respective serializers sosJSON.h and sosYAML.h.
Need to review apiaryio/sos#1 before this.

This PR contains the following:
Use sos for serialization.
MSON Serialization
MSON Sourcemap Serialization

@pksunkara guess how many PRs this should have been? :-(

Seriously having Sos transition separate from MSON serialization would make it so so so much easier for review..

I split it into 2 headers because both of them in a single one is becoming too big and is going to be difficult to maintain.

Updated with review fixes.

@pksunkara please next time split this into multiple PRs, and I really mean it


some improvment in the KVM role

No separate /home partition
Dedicated /var/lib/libvirt partition (xfs)
kvm server and tools patterns selected
libvirt-guests service enable
disable kdump
UI in simple mode
firewall disable
ntp default setup
root space will be 25% of available space

just a note: i have tried to check the code myself using the command line with wmlint, this is failing, but the current code on github failed too... so i don't know what's wrong here.

hmm, CI check to validate, but i am using https://raw.githubusercontent.com/yast/skelcd-control-CAASP/master/control/control.CAASP.xml as a reference here, and CI also failed to validate. What should i do to fix the error?

Can someone review the change so we can get them for beta4?


Debugger:There is no pop Exception Throw when DivideByZeroException

# Environment data
dotnet --info output:
OS Name: win10 Enterprise x64
SDK: 1.0.4
VS Code version:1.13.1
C# Extension version: v1.12.0-beta1
Steps to reproduce
1.open "Command Prompt" as administrator.
1.Create a new project in Command with 'dotnet new console & dotnet restore ' .
2.Open project with VSCode.
3.Add code in main() as following:
int x = 10;
int y = 0;
try{int val = x/y;}//set an BP in there
catch(Exception e)
{
Console>writeLine("this is an exception");
}
4.Debug->BREAKPOINTS->ALL Exceprions
6.F5->F10
Expected  behavior
It will pop an ExceptionThrow as following:

Actual behavior
There is an "PAUSED ON EXCEPTION" tag In call stack windows as following:

This is a problem with VS Code: https://github.com/Microsoft/vscode/issues/25104. It is already fixed in Insiders.

ok, thanks.


Use Sass Module System

The sass module system is launched for a while now, @import has been deprecated. why not adapt to the new module system?
https://sass-lang.com/blog/the-module-system-is-launched

Duplicate of #29853


您好，我想问一下，关键词是如何通过引入外部知识库得到的呢，这里具体怎么实现呢

具体做法在论文中的4.2节。

首先通过nltk标记出所有的动词、名词、形容词等可能带有实际含义的词或短语（按最长的词或短语匹配）。
其次，将这些词和短语与知识库中的概念进行匹配，如果在知识库中出现，就视为关键词。

您好，我也是这个问题，请问关键词通过引入外部知识库进行分类这部分内容在代码的哪部分实现了呢，我拜读了整个py文件，也没有找到，也许是我的问题，可以麻烦您给个方向么？

Hello everyone there! Thanks for your @RowitZou amazing work and well-organized code published in this repository. While please forgive me: the current version is on 2022/10/8, and I can't discover code about how to disentangle keywords. Also, I tried to search words in the repository using "nltk" as mentioned above but failed. Therefore, it would be really nice of you if you could further release the corresponding code.

Hi, there. I am sorry that we could not find the keyword processing codes anymore. The processing was conducted as a pre-task before training and it was a rule-based approach. The processing results are a part of our released datasets as you can see. Any other solutions to get the keywords, e.g., human annotation and automatic extraction, are practicable to the application.

具体做法在论文中的4.2节。

首先通过nltk标记出所有的动词、名词、形容词等可能带有实际含义的词或短语（按最长的词或短语匹配）。
其次，将这些词和短语与知识库中的概念进行匹配，如果在知识库中出现，就视为关键词。

想问一下这个知识库在哪里能找到呢，是自定义的吗？


Incompatibility with Better Enchantment Boosting

The Better Enchantment Boosting mod allows bookshelves to empower an Enchanting Table from further away and adds some flexibility with regards to what can be in between the bookshelves and the table. When it is installed alongside BCLib, the game fails to launch.

Minecraft 1.18.1
Fabric 0.12.12
Fabric API 0.46.1
BCLib 1.2.5
Better Enchantment Boosting 1.0.0

The game window never opens, and no crash report is generated. The launcher opens a popup reading: An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience. Exit Code: 0.
Log file: latest.log
I've also reported this issue on the Better Enchantment Boosting repo as issue #1.

The Better Enchantment Boosting developer has fixed this on their end in version 1.1.0


Not able to get data to come back.

Hi, I have been trying to run your examples and I am not retrieving any data back to console.log out. It seems to never hit the callback... any ideas?
Update: Looks like its somewhere in the fetch(endpoint) call.

It was a Grunt issue. got it.


Dot source syntax gets clobbered

I have Pester scripts which dot-source another file in the current dir,
. .\File.ps1

Edit-DTWBeautifyScript turns this into the very broken
..\File.ps1

I see the test case stuff and will try to work on a failing test shortly, maybe even a fix

Not sure I'm smart enough to fix the actual problem but it seems to be at https://github.com/DTW-DanWard/PowerShell-Beautifier/blob/master/src/DTW.PS.Beautifier.Main.psm1#L979 ... the nuance is that the dot operator for properties like $File.Name has different rules from the dot source operator . File.ps1

That code that determines whether or not a space should be added is not pretty... I have a ticket for rewriting it.  Once I check out the tokens being generated a solution should become available.  I should be able to look into these issues this afternoon.

Yeah, that code is not pretty, but thankfully is commented well.  I added a specific case for writing a space for Operator '.' followed by a Command.  Committing shortly.


#7363: L1 small region allocator support

Reserve a special region of L1 at the top for config tensors / other sideband data for ops. Usually these are tiny allocations and are long lived, so as ops are created on the fly it can introduce bad fragmentation.
Code Changes:

Inside of struct Allocator introduce a new BankManager, l1_small_manager
During Device::initialize_allocator a reserved carve out size is passed in, by default it could be something like 32k, but could be overridden by the user at device creation, might have to bump it up for larger models. This size is subtracted from the l1_manager’s size and feeds the l1_small_manager size. L1 managers will need to program their respective alloc_offset accordingly
Introduce a new BufferType called L1_SMALL, tensor/buffer creation calls in ttlib need to pass down a flag to denote that they want to allocate from the reserved region
allocator::allocate_buffer and friends just handle a new case statement for dispatching to the l1_small_manager

@tarafdarTT

Wanted a couple clarifications though. Can we use this space for sharded tensors where individual shards are very small? I think as a short hand if we have a repeated config we do use a sharded tensor as a quick way to distribute the config tensor across all cores.

Yes exactly, the 32kB is 32kB per core, meaning that technically a sharded tensor on 4 cores could be 128k total and fit in this region.

I think it makes sense at the allocater level to call them small , and this is out of the scope of this PR but do you see us maybe adding a config flag to the tensor object for this, or a new tensor object called a ConfigTensor that uses this allocater?

Do you have any use cases in mind where this could be useful?
At first glance I don't see a need to specialize config tensors, theoretically there could be a config tensor that's too large and doesn't make sense to allocate from L1_SMALL. L1_SMALL is just another memory space that tensors can live, just like L1 or DRAM or SYSTEM and I think the tensor should remain agnostic to its underlying storage.


Add RPC Path in URL to Instantiate Explorer

Is your feature request related to a problem? Please describe.
It makes it easier to instantiate from the explorer with the specified RPC path from the url if you have the following: ?rpcUrl=https://www.ethercluster.com/etc to the url of the Jade Explorer as an alternative to the dropdown.
Describe the solution you'd like
I want to be able to add the ?rpcUrl=URL to the endpoint of a JADE explorer as an alternative to the dropdown and manual addition of an RPC endpoint.
Describe alternatives you've considered
Currently, you can use the dropdown and manually enter a url in the explorer UI. Or you can specify the URL for the RPC when you instantiate the explorer with npm start

:tada: This issue has been resolved in version 1.0.14 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Initial Setup Error -- Proxy error: socket hang up

Describe the bug
I am currently going through the steps to run new project. All the previous steps have completed fine, but running "pnpm nx start webapp," I get the following error:

Steps to reproduce

npm init saas-boilerplate
pnpm nx run core:docker-compose:up
pnpm nx start webapp

System Info
MacOS Ventura 13.1
Python 3.11.5
Node v20.6.1
pnpm 8.8.0

Logs
3:47:29 PM [vite] http proxy error at /api/graphql/:
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketOnEnd (node:_http_client:519:23)
at Socket.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1376:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Validations

[X] Follow our Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Found solution on discord: just needed to wait sometime after starting up docker container.


Unable to run any Example on Ubuntu

I am unable to run any of the examples on Ubuntu. Here is the error:
INFO:main.model:  f1: convv, leakyrelu, BN, noise 0.00, params [96, 3, 1, 1], dim (3, 32, 32) -> (96, 30, 30)
Traceback (most recent call last):
File "./run.py", line 652, in
if train(d) is None:
File "./run.py", line 411, in train
ladder = setup_model(p)
File "./run.py", line 182, in setup_model
ladder.apply(x, y, x_only)
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 197, in apply
clean = self.act.clean = encoder(input_concat, 'clean')
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 185, in encoder
noise_std=noise)
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 350, in f
z, output_size = self.f_conv(h, spec, in_dim, gen_id('W'))
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 451, in f_conv
filter_size), border_mode=bm)
File "/home/attaullah/.local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", line 153, in conv2d
return op(input, filters)
File "/home/attaullah/.local/lib/python2.7/site-packages/theano/gof/op.py", line 615, in call
node = self.make_node(*inputs, **kwargs)
File "/home/attaullah/.local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", line 655, in make_node
"inputs(%s), kerns(%s)" % (_inputs.dtype, _kerns.dtype))
NotImplementedError: The image and the kernel must have the same type.inputs(float64), kerns(float32)
I have already set data_path in ".fuelrc" and downloaded data but no luck. I using Ubuntu 17.04, 64 bit python 2.7 and all required python packages with CPU ONLY system. any help in this regard will be much appreciated.
also on some examples:
INFO:main.model:Decoder: z_corr -> z_est
Traceback (most recent call last):
File "run.py", line 652, in
if train(d) is None:
File "run.py", line 411, in train
ladder = setup_model(p)
File "run.py", line 182, in setup_model
ladder.apply(x, y, x_only)
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 231, in apply
top_g=top_g)
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 576, in g
a1 = bi(0., 'a1')
File "/home/attaullah/Downloads/dlbook_exercises-master/ladder.py", line 499, in
bi = lambda inits, name: self.bias(inits * np.ones(num_filters),
File "/home/attaullah/.local/lib/python2.7/site-packages/numpy/core/numeric.py", line 192, in ones
a = empty(shape, dtype, order)
TypeError: 'numpy.float64' object cannot be interpreted as an index

If you read the stack trace, you can see that num_filters is passed into the call to np.ones as a float. If you change the dtype to int, it will work.
I did this by changing lines 464-465 in ladder.py to:
in_dim = np.prod(dtype=np.int64, a=in_dims)
out_dim = np.prod(dtype=np.int64, a=out_dims)


Arduino Mega 2560

SerialPort Version
10.5.0
Node Version
18.15.0
Electron Version
No response
Platform
No response
Architecture
No response
Hardware or chipset of serialport
Arduino Mega 2560
What steps will reproduce the bug?
I try to receive a string from the arduino. I can communicato with it, but it doesn't when I'm using Arduino Mega 2560 with SerialPort library.
What happens?
The Arduino can't communicate with me, due to the fact that I'm using SerialPort, because without it, the Arduino works.
What should have happened?
The arduino should write the same string that I'm giving to it. Without SerialPort, Arduino responds, while when I'm using the library it doesn't work.
Additional information
I'm using Arduino Mega 2560

I have the same issue with a differen't arduino board

Hi, are you able to confirm the operating system you are using, and confirm that nothing else is blocking access to the port while you are trying to communicate with the device?
I've tried with a simple arduino echo sketch and performing the example commands from the https://serialport.io/ main page, and the echo seems to work successfully for me with a Mega 2560, on windows 11, node 18.16.0 and serialport 11.

I have the same problem.


With Greyscale whitelist disabled, all apps are greyscaled

Hi,
Thanks for the app, it is quite nice! However, enabling greyscale and adding most apps, then disabling it again, all apps stay and are greyscaled. The only option is to enable the whitelist and remove the app while having the whitelist enabled.

Hi shruuub, glad you liked Farhan 😊.
Thanks for pointing this out I'll work on fixing it in the next few patches.
Meanwhile, you should be able to avoid this behavior by removing Farhan from the whitelist before disabling grayscale.

Meanwhile, you should be able to avoid this behavior by removing Farhan from the whitelist before disabling grayscale.

Yup, that works! Guess I will keep the issue open until it's fixed for information though.


In GPFlow develop, calling quadrature.ndiagquad from within tf.function (with autograph=False) results in an error

In GPflow develop, calling quadrature.ndiagquad from within tf.function (with autograph=False) results in the following error:
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a `tf.Tensor` as a Python `bool` is not allowed: AutoGraph is disabled in this function. Try decorating it directly with @tf.function.

This does not result in an error in the following:

In version 2.0.5 (only develop)
Without using tf.function
Without autograph=False

To reproduce
Minimal, reproducible example

import tensorflow as tf
import numpy as np
from gpflow import quadrature

@tf.function(autograph=False)
def compute():
    mu = np.array([1.0, 1.3])
    var = np.array([3.0, 3.5])
    num_gauss_hermite_points = 25
    quad = quadrature.ndiagquad([lambda *X: tf.exp(X[0])], num_gauss_hermite_points, [mu], [var])
    return quad

def go():
    quad = compute()
    print(f'Result: {quad}')

go()

Stack trace, or error message
Traceback (most recent call last):
  File "gpflow_error.py", line 20, in <module>
    go()
  File "gpflow_error.py", line 16, in go
    quad = compute()
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 580, in __call__
    result = self._call(*args, **kwds)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 627, in _call
    self._initialize(args, kwds, add_initializers_to=initializers)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 506, in _initialize
    *args, **kwds))
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2446, in _get_concrete_function_internal_garbage_collected
    graph_function, _, _ = self._maybe_define_function(args, kwargs)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2777, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2667, in _create_graph_function
    capture_by_value=self._capture_by_value),
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 981, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 441, in wrapped_fn
    return weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "gpflow_error.py", line 11, in compute
    quad = quadrature.ndiagquad([lambda *X: tf.exp(X[0])], num_gauss_hermite_points, [mu], [var])
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/gpflow/quadrature/deprecated.py", line 156, in ndiagquad
    result = quadrature(funcs, Fmu, Fvar, **Ys)
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/gpflow/quadrature/base.py", line 52, in __call__
    return [tf.reduce_sum(f(X, *args, **kwargs) * W, axis=-2) for f in fun]
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/gpflow/quadrature/base.py", line 52, in <listcomp>
    return [tf.reduce_sum(f(X, *args, **kwargs) * W, axis=-2) for f in fun]
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/gpflow/quadrature/deprecated.py", line 141, in new_fun
    if tf.rank(fun_eval) < tf.rank(X):
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 778, in __bool__
    self._disallow_bool_casting()
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 542, in _disallow_bool_casting
    "using a `tf.Tensor` as a Python `bool`")
  File "/Users/nferguson/gpflow_error/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 527, in _disallow_when_autograph_disabled
    " Try decorating it directly with @tf.function.".format(task))
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a `tf.Tensor` as a Python `bool` is not allowed: AutoGraph is disabled in this function. Try decorating it directly with @tf.function.

Expected behavior
I believe that no error should happen here. This is certainly the behaviour in v2.0.5.
System information

GPflow version: 2.1.0
GPflow installed from: pip install git+https://github.com/gpflow/gpflow.git@8c65ef658930afecb7001ce671f15772a0a4b23b (latest develop as of 18:30 BST on 19th August 2020)
TensorFlow version: 2.2.0
Python version: Python 3.7.4
Operating system: MacOS

Thanks @vdutor for addressing this so quickly.

Addressed in #1548 .


Allow for non-EOA owners

This PR makes a few small changes so that the NitroSmartContractWallet no longer requires the owner to own an EOA account.

The reclaim function no longer transfers funds outside of the nitro SCW. Instead the funds are left in the wallet.
An execute function has been added (based on this one). This would let the owner of the wallet execute any transaction they want to use the nitro SCW as a wallet.
The SCW wallet has been updated to include the entrypoint address and uses it to guard the Execute function (based on this sample). When the Wallet is not finalized then only the entrypoint can call execute, enforcing that the only way funds are spent is by signed User Operations. When the wallet is finalized, the owner (if they have an EOA account) is allowed to spend the funds, since the intermediary has claimed them already.

Don't owners still need to use an EoA to pass the signature validation?

Don't owners still need to use an EoA to pass the signature validation?

I think it depends on how EoA is defined. The owner needs an (ethereum compatible) signing key and address, that they can use to sign UserOperations. However that signing key/address doesn't need to correspond to an on-chain account, since a user should never have to submit a transaction from that address.


xsd: fix build

last release 2014... does not build with gcc10
Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build xsd

@GrahamcOfBorg build xsd


Added Zero code image

This PR adds an illustration for Open telemetry zero code.
Issue: #5354

Hi @svrnm, I'm having trouble displaying the image. I checked most of the markdown files in the project, and it seems that images are added using this syntax: ![](). However, this method isn't working for me. Here is the output I'm getting:

I'd appreciate your guidance on this.

Do the following:

create a new folder zero-code
move zero-code.md into that folder and rename the file to index.md
move the image into that folder as well

Can you use the SVG instead of the png? This allows us to edit the image in the future much easier and most modern browser render SVGs just fine.

@svrnm here is my output locally:

@svrnm I have addressed your comments.

Thanks.

@mercybassey thanks, this looks good! I asked @open-telemetry/docs-approvers to take a look as well, so that we have at least one more person to take a look

@mercybassey thanks, this looks good! I asked @open-telemetry/docs-approvers to take a look as well, so that we have at least one more person to take a look

Great.

@mercybassey apologies for the delay here. We need to discuss the details a little bit more before we can get this merged. This will unfortunately not happen before the end of the contribution phase for outreachy. So, assume this as "done" for your application and if you are still interested we can follow up later.

@mercybassey apologies for the delay here. We need to discuss the details a little bit more before we can get this merged. This will unfortunately not happen before the end of the contribution phase for outreachy. So, assume this as "done" for your application and if you are still interested we can follow up later.

Alright. I’m cool with that. Thanks.

@mercybassey apologies for the delay, we had to skip some of our last meetings, hopefully we will get to this on Monday!

@mercybassey apologies for the delay, we had to skip some of our last meetings, hopefully we will get to this on Monday!

Great. Thank you.

@mercybassey apologies for the delay, we had to skip some of our last meetings, hopefully we will get to this on Monday!

Great. Thank you.

Unfortunately @chalin is out of office, I will follow up with him to talk this through to give you further feedback. Apologies for the further delay

@svrnm - I defer to you on the acceptance of this image as is. Could we at least ensure that it is compatible with dark mode from the outset, which it currently is not:

Thanks! I think this image is a good starting point on which we can iterate. I agree that it should be compatible with dark mode as well, this is accomplished best with a transparent background
@mercybassey please take a look

@svrnm - I defer to you on the acceptance of this image as is. Could we at least ensure that it is compatible with dark mode from the outset, which it currently is not:

Thanks! I think this image is a good starting point on which we can iterate. I agree that it should be compatible with dark mode as well, this is accomplished best with a transparent background
@mercybassey please take a look

Sure @svrnm. I'll adjust the image and use a transparent background instead. Thanks.

Hi @svrnm @chalin. I have adjusted the image. Below is the image in dark and light mode.

Hi @svrnm @chalin. I have adjusted the image. Below is the image in dark and light mode.

I noticed that most images have a transparent boundary, so I decided to leave it as is unless instructed otherwise.


Split ScrollableViewport2 from Scrolllable2

This structure makes it easier to customize the viewport used in a Scrollable.
Now Scrollable2 doesn't commit to using slivers.

@Hixie


Update valve.py

Adding second version of Revolt TRV with other zigbee module. #631

Codecov Report

Merging #632 (ebad27b) into dev (0cae2d0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #632   +/-   ##
=======================================
  Coverage   80.58%   80.58%
=======================================
  Files         163      163
  Lines        3760     3760
=======================================
  Hits         3030     3030
  Misses        730      730

Impacted Files
Coverage Δ

zhaquirks/tuya/valve.py
86.76% <ø> (ø)

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 0cae2d0...ebad27b. Read the comment docs.

Pull Request Test Coverage Report for Build 416096541

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.585%

Totals

Change from base Build 415258576:
0.0%

Covered Lines:
3030

Relevant Lines:
3760

💛  - Coveralls

Its my first try doing on RP and i hope i have getting it right (but black is complaining).

Thanks tube0013 !!!

Pleas putting on hold then the cluster is not OK.

Now its working the user is saying :-)))

The user is happy and black 2 and I hope @Adminiuga is also ;-)
How do I requesting the PR for being pulled in the dev branch ?
Its still my first PR so i dont knowing the routine in github.


Bias shape of Conv2D

I found strange use of Conv2D in its test.
https://github.com/tensorflow/swift-apis/blob/3304db3e728120b55674cca06894b6ea5083b5e8/Tests/TensorFlowTests/LayerTests.swift#L101-L111
The filter has shape [1, 2, 2, 1] and input has shape [2, 2, 2, 2].
Conv2D has strides (2, 2), so output of internal conv2D will have shape [2, 1, 1, 1].
But the bias has shape [2]. Therefore final output will be broadcasted shape [2, 1, 1, 2].
Currently S4TF is allowing bias to be any shape (as long as it can be added to conv2D output).
But Keras, for example, restricts it to have shape [filter.shape[3]]. So do PyTroch.
Are there any good at allowing free shape biases?
I think it's better to ban it and add precondition in initializer:
precondition(filter.shape[3] == bias.shape[0],
             "The number of output features doesn't match between filter and bias.")

In this way we don't have to check if we can add conv2D output and bias in callAsFunction.
(If the bias shape is free, we can't check beforehand because we need input shape for it.)
Even if some user wants to use bias that has different shape, he can do it by simply having another tensor outside the layer.
Also there's same issue for Dense, *Conv*D.

I think we sort of already do what you mentioned. Whenever the initializer is used the bias size is restricted to filter.shape[filter.ndim-1], as you can see here and here, similarly for other layers you mentioned about.  @sgugger  added the useBias functionality by which we only initialize learnable bias whenever needed.
The test was written in mind for testing the api thoroughly, so I didn't exactly look at bias shape checks.
We can explicitly have shape checks for bias, since usually the bias is applied per-channel, so the number of weights (if non-zero) must be equal to the number of output feature maps but i don't think its necessary.


Change Pair creation code on the Traits src and solution files.

Change the code to use the 'new' associated function instead create the Struct with the curly brackets syntax.

Hi, I have a question, why should we use new instead of curly brackets syntax.

Hello, thanks for your response
In this case, just because the new function is already implemented for the structure on the sample code and it is not used
In my opinion we can use new() instead bracket syntax or remove the new() function


fix: order book aggregated price level showing 0 price issue

This PR:

resolves #402

Screenshots:

Tested the implementation using ZRX on a 10 and 1 aggregate, manually enabled 10 for testing on my local machine.

This is not the correct approach IMO, we should show the minPriceTickSize instead, regardless of the aggregation.

Even the implementation is wrong, I don't understand the grouping for the second screenshot?

Let's use these as example:
If we use min tick size, then when the order book is in 0.1 scale, how do we show those 0.02, 0.03, 0.04 bids? If we show as min tick size, then it would look like:
--- 0.2
--- 0.1
???
--- 0.001
That's why I think using "<0.1" is better

Let's use these as example:
If we use min tick size, then when the order book is in 0.1 scale, how do we show those 0.02, 0.03, 0.04 bids? If we show as min tick size, then it would look like:
--- 0.2 --- 0.1 ??? --- 0.001
That's why I think using "<0.1" is better

okay, but this only makes sense for buys, we should not do it for sells.

From display's point of view, we still need it, because it will still have this display problem
--- 0.2
--- 0.1
???
--- 0.001
In reality, there should be a very, very rare scenario which this would happen. If it does, then most likely the scale of the order book is wrong and we can just remove that scale (i.e. don't let user to choose 10 scale when the price is always less than 10)

From display's point of view, we still need it, because it will still have this display problem
--- 0.2 --- 0.1 ??? --- 0.001
In reality, there should be a very, very rare scenario which this would happen. If it does, then most likely the scale of the order book is wrong and we can just remove that scale (i.e. don't let user to choose 10 scale when the price is always less than 10)

Let's consider removing this because I have never seen such a representation on the order book as we are proposing here now.


[ENHANCEMENT] Execution Identity integration - iteration 2

Describe the use case:
This feature request is about integrating the execution layer identity into a SM cluster. Execution Identity is a new component that is part of the mono-repo https://github.com/camunda/camunda and will be the component to manager uses/authorizations within a cluster going forward and replace the current present identity component.
For more context, also see https://docs.google.com/presentation/d/1VcdJGDqX4Jcjt7w2gf7KvEyLUueHojmg4wxfcZPJoDI/edit#slide=id.g21c05d33edd_0_0
relates to https://github.com/camunda/product-hub/issues/2222
first iteration was completed https://github.com/camunda/camunda-platform-helm/issues/2195
Describe the enhancement/feature:
### Iteration 2 - Webapp Exporter
- [ ] zeebe statefulset: Enable the Camunda Exporter for Elasticsearch on Zeebe brokers
- [ ] zeebe statefulset: Enable the Camunda Exporter for Opensearch on Zeebe brokers

### Iteration 3- Migration App - TBD by @Ben-Sheppard

@mustafadagher can you please provide a minimal elasticsearch config for the camunda exporter here to get this integration started?
As a minimum, let's take the current elasticsearch exporter config as orientation + whatever is necessary from you perspective for the new exporter.

@megglos
To configure the new camunda exporter,
Under the following
zeebe:
      broker:
        exporters:

We should add:
          CamundaExporter:
            className: "io.camunda.exporter.CamundaExporter"
            args:
              connect:
                type:
                url:
                username:
              index:
                prefix:
              retention:
                enabled: true
                minimumAge:
                policyName:
              createSchema: true

Notice that connect.type should have a value one of elasticsearch or opensearch. Also this is just a minimal configured based of ExporterConfiguration class

@drodriguez-305 @aabouzaid can you take this from here to enable the new exporter in the helm chart for 8.7.0-SNAPSHOT setups? Would be best to have this ready for the upcoming 8.7.0-alpha1.

@drodriguez-305 was this closed on purpose?

Hey @Zelldon after speaking with @aabouzaid we are creating a new issue for Identity + Camunda Exporter migration application for alpha2 and will be closing this one.
The new issue created https://github.com/camunda/camunda-platform-helm/issues/2574


Python type hints

Added type hints instead of notation (previously caused due to misunderstanding)

merging with bypass because i just added a stdlib import


Random Reboots during the day

Describe the bug
Phone randomly reboots: a black screen appears, after a couple of seconds the apple logo appears and the phone reboots.
It happens during the 3rd or 4th day of uptime.
The 2 logs happened while using beta49. The first one while taking a photo, the second one while launching the photo app.
With older betas, I got it while reading a notification and while using reddit, so it looks like it's not related to what I'm doing when the reboot happens.
I do not have any random respring and with latest beta I do not get night reboots.
To Reproduce
Steps to reproduce the behavior:
No idea what causes it.
Device (please complete the following information):

iOS Version: iOS 12.1.1 beta 3
iOS Device: iPhone 5s
unc0ver Version: v3.0.0~b49

Place an "x" between the brackets if true:

[ ] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Logs
panic-full-2019-04-09-150930.984.ips.txt
panic-full-2019-04-12-092851.ips.txt

today the issue freeze as black screen then restart(b49 introduce alot of freezes and sluggishness for the device)


Add volume module

Adds volume module with functions to manage

ServiceCheck

E.g. Check whether particular cinder service is running or not.

@konan-abhi shouldn't this be generic as part of service.go, then could use GetService() from https://github.com/openstack-k8s-operators/lib-common/blob/master/modules/openstack/service.go#L79  and add a func to check an ExpectedState of the service we pass to that func?

@konan-abhi shouldn't this be generic as part of service.go, then could use GetService() from https://github.com/openstack-k8s-operators/lib-common/blob/master/modules/openstack/service.go#L79 and add a func to check an ExpectedState of the service we pass to that func?

Hi @stuggi AFIAK the mentioned service module will return the service and we can check whether it is enabled or not but it does not tell us whether it is up or not. This is why I have added this piece of code here.
The goal is from glance-operator we want to check whether cinder volume service is enabled and running or not.

@konan-abhi shouldn't this be generic as part of service.go, then could use GetService() from https://github.com/openstack-k8s-operators/lib-common/blob/master/modules/openstack/service.go#L79 and add a func to check an ExpectedState of the service we pass to that func?

Hi @stuggi AFIAK the mentioned service module will return the service and we can check whether it is enabled or not but it does not tell us whether it is up or not. This is why I have added this piece of code here.
The goal is from glance-operator we want to check whether cinder volume service is enabled and running or not.

ah right, have not closely looked at the imported gophercloud services module, sorry for that :)

@konan-abhi shouldn't this be generic as part of service.go, then could use GetService() from https://github.com/openstack-k8s-operators/lib-common/blob/master/modules/openstack/service.go#L79 and add a func to check an ExpectedState of the service we pass to that func?

Hi @stuggi AFIAK the mentioned service module will return the service and we can check whether it is enabled or not but it does not tell us whether it is up or not. This is why I have added this piece of code here.
The goal is from glance-operator we want to check whether cinder volume service is enabled and running or not.

ah right, have not closely looked at the imported gophercloud services module, sorry for that :)

No problem :D

PR is ready for review!

So @stuggi the idea behind this change is to query (using gophercloud) an existing ctlplane where cinder is already deployed: this way we can reconfigure glance to point to cinder and enable the backend (we have multistore, we can define as many backends as we want and eventually switch the default rolling out new pods).
However, instead of blindly enabling cinder, the glance-operator can have a quick check returning the status of cinder-volume, and keep this status to evaluate and raise potential issues when the cinder is used.
I think it makes sense having a call like this instead of watching/querying the cinder CR, because here we're getting a ospclient and query the service.


expediency autobatching before get* some values by memcached protocol

Why should we use Autbathing? To do this, we can send a get command with several keys and the server will return all the values. Maybe I didn’t understand this feature correctly, please correct me.
https://github.com/memcached/memcached/blob/b1aefcdf8a265f8a5126e8aa107a50988fa1ec35/doc/protocol.txt#L296
Moreover, you have autobatching for the get command with one key, but there is no get* for several keys
Do you think this feature is needed as such?

It seems that before memcached did not have such an opportunity to receive several keys at once.


Blazor WASM Applications do not launch on Insiders

Issue Type: Bug
When attempting to start a stock simple Blazor WASM application, an error is displayed, indicating the project cannot start:

I have the latest version of the C# extension, and also attempted to run with all other extensions disabled. Same problem
This problem ONLY occurs on VSCode - Insiders. Launching the same Blazor application using the release version of VSCode works as expected.
Reported in the C# extension repo, but reporting here, as it seems to only affect VSCode-Insiders:
https://github.com/OmniSharp/omnisharp-vscode/issues/4131
Contents of launch.json, generated from "generate assets from build and debug" command:
{
   // Use IntelliSense to find out which attributes exist for C# debugging
   // Use hover for the description of the existing attributes
   // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
   "version": "0.2.0",
   "configurations": [
        {
            "name": "Launch and Debug Standalone Blazor WebAssembly App",
            "type": "blazorwasm",
            "request": "launch",
            "cwd": "${workspaceFolder}"
        }
    ]
}

Steps to Reproduce
Create new Blazor WASM application - dotnet new blazorwasm -o BlazorWasmTest
Open project in VS Code Insiders
Click Run
Expected Behavior
Project Runs and launches browser
Actual Behavior
Error message displayed.
Extension version: 1.23.4
VS Code version: Code - Insiders 1.51.0-insider (16f4a29aa0ac05d3cba222b1f347b7404626c680, 2020-10-26T05:32:45.135Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (1.15GB free)

Process Argv
--crash-reporter-id 9d6f571a-d31e-40c5-baf0-0b1f495508d5

Screen Reader
no

VM
18%

Oops. accidental duplication.


Cleanup docs for methods with multiple aliases

Our formatting was a bit inconsistent.

Coverage remained the same at 96.867% when pulling e90055343e86122782cbcc7623dab0770e48c132 on captbaritone:aliases into cb95672d7e2ac52f4b85d75d61d578e633137c99 on jashkenas:master.

:+1:

I've cherry-picked this onto the gh-pages branch.


[WIP] Geometry creation tutorial

This PR adds a geometry creation tutorial plus some other doc improvements that sprang from there.
cc @alex-s-gardner

https://juliageo.org/GeometryOps.jl/previews/PR151/tutorials/creating_geometry

I tried to add an example where for plotting a polygon with a different CRS (EPSG:32611) on the same map as the tutorial by was unable to get it to work. I think this would be useful for showing how different CRS are interpreted

I tried to add an example where for plotting a polygon with a different CRS (EPSG:32611) on the same map as the tutorial by was unable to get it to work. I think this would be useful for showing how different CRS are interpreted

This was my attempt:
# OK, now what if we want to plot geomitires that are in a diffent Coordinate Reference System (CRS?)

# lets create a polygon in the WGS 84 / UTM zone 10N coodinate system [EPSG:32610](https://epsg.io/32610)
crs2 = GFT.EPSG(4326)

# create new points
r = 200;
k = 1000;
ϴ = 0:0.01:2pi
x = r .* (k + 1) .* cos.(ϴ) .- r .* cos.((k + 1) .* ϴ)
y = r .* (k + 1) .* sin.(ϴ) .- r .* sin.((k + 1) .* ϴ)

# now a `LinearRing`
ring3 = GI.LinearRing(Point.(zip(x, y)))

# now lets make the LineRing into a Polygon with new `CRS``
polygon3 = GI.Polygon([ring1]; crs=crs2)

# create a new `GeoAccess` with a new source `CRS1`
ga = GeoAxis(
    fig[1, 1];
    source=crs2,
    dest=dest,
    xticklabelsvisible=false,
    yticklabelsvisible=false,
);

I don't see a definition for dest here - but there are a few examples in the GeoMakie docs that should help

but there are a few examples in the GeoMakie docs that should help
I can't seem to find any example with "linked axes" for plotting multiple source CRS data on the same figure. Maybe this is not possible yet.

Ok now I read it all this is awesome! Really is something we need.
Thanks @asinghvi17 I should have written this a year ago

hmm, the whole idea is to set the source kwarg.  Something like:
using CairoMakie, GeoMakie
import GeoFormatTypes as GFT
using Interpolations # for Streamplot on gridded data if necessary

f(x::Point2{T}) where T = Point2{T}(
    10 * (2 * cos(2 * deg2rad(x[1]) + 3 * deg2rad(x[2] + 30)) ^ 2),
    20 * cos(6 * deg2rad(x[1]))
)

pole_longitude=177.5
pole_latitude=37.5
fig, ax, plt = streamplot(
    f, 311.9..391.1, -23.6..24.8;
    arrow_size = 6,
    source = "+proj=ob_tran +o_proj=latlon +o_lon_p=0 +o_lat_p=$(pole_latitude) +lon_0=$(180+pole_longitude) +to_meter=$(deg2rad(1) * 6378137.0)",
    axis = (;
        type = GeoAxis,
        title = "Streamplot",
    )
)
lp = lines!(ax, GeoMakie.coastlines(); source = GFT.EPSG(4326), linewidth = 0.5, color = :black, xautolimits = false, yautolimits = false)
translate!(lp, 0, 0, -1)
fig

whole idea is to set the source kwarg

Got it, thanks!

I guess that wasn't made clear in the GeoMakie docs.  I'll add a doc page about GeoAxis, and I guess the "multiple CRS" example doesn't show it off very well :D

Are there plans to have the source crs read directly from the geometries? It seems a bit silly that we keep associating crs info to the geometries but then they're not used by GeoMakie.

I have a branch with some code that does that, unfortunately it causes a stack overflow somehow.  I have to figure that out first but it's very possible.

IMO this is pretty good to go from my end, what do you think @alex-s-gardner?

How can I see the latest preview of the docs like you posted earlier?

It's the same link, the deployment can take a couple of minutes sometimes though

None of the GeoMakie plots seem to render, at least in what I'm looking at

Huh, maybe clear your browser cache or reload the page a bunch of times?
https://juliageo.org/GeometryOps.jl/previews/PR151/tutorials/creating_geometry
I just dragged this image from the webpage, it renders with all plots for me

(there is an issue with the Makie theme leaking, I'll try to fix that)

renders with all plots for me

Do you see this image:

I don't see that picture, good point - looking at the logs it seems that GeoMakie's master branch was not being added.  I added that explicitly in an extra step in the CI, it should work at the next deployment.

@asinghvi17  This looks GTO to me.

@asinghvi17 is there a function for adding crs info to an existing geometry ... I was looking for something line setcrs

I don't think we have anything like that yet.  Probably better to just create a new geometry with the CRS.

 I will get you something in a few hours

It would be nice to be able to rebuild any geom with crs without needing to use the right constructor.

Is it by design that GeoMakie unable to plot a Line but it can plot a LineString?

I'm pretty sure that there was just no convert_arguments added for that on the Makie end.

add setcrs like Rasters

setcrs of addcrs is more intuitive than rebuild... I don't think most people will intuitively think of adding a crs as rebuilding a geometry

How would you treat a vector of lines? Would it be continuous (as a LineString) or discontinuous (as individual linesegments)?

This is a question for @rafaqz

Moving some additional thoughts from the PR back over to Slack

I imagine given a vector of lines we should plot each one separately.

I just pushed some Line conversion methods to my GeoMakie PR.  It's a bit inefficient, but should be fine.

One last thing - I was going through this and figured we needed some anchor points, so added headers.  I will merge for now, but if the headers seem unreasonable we can always change them!
Thanks a lot for the effort @alex-s-gardner (and @JuliaGeo/geometryops for the reviews :D )


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/4cc16170-f25c-40e9-b087-19d1aca05ebd/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Change without context. Closing to let it regenerate.


npm: Fix package-lock.json

Somehow this file got into a weird state, causing breakages across platforms. Couldn't find any online banter about it, but upgrading to npm 5.0.1, removing the file, and doing a fresh re-install resolved the problem.

Coverage remained the same at 97.742% when pulling 64a8fec1c97e9082fc332f4797a43b733aa53dfe on fix-package-lock into 7d15a4b213dd89991ae2f78491661e8e0e14f49c on master.

Coverage remained the same at 97.742% when pulling 1e094ff9fff85e3e2dc0ad19d7ba81d335a6688a on fix-package-lock into 7d15a4b213dd89991ae2f78491661e8e0e14f49c on master.

Coverage remained the same at 97.742% when pulling 1e094ff9fff85e3e2dc0ad19d7ba81d335a6688a on fix-package-lock into 7d15a4b213dd89991ae2f78491661e8e0e14f49c on master.