Instruction from readme do not work

Hi
I'm trying to install open-Sora on https://lightning.ai/
without success.
I think problem is related to not all versions of dependencies being explicitly stated and therefore some dependency mismatch occures.
Specific error while running gradle
 ~/Open-Sora python gradio/app.py
/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/colossalai/pipeline/schedule/_utils.py:19: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
  _register_pytree_node(OrderedDict, _odict_flatten, _odict_unflatten)
/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torch/utils/_pytree.py:254: UserWarning: <class 'collections.OrderedDict'> is already registered as pytree node. Overwriting the previous registration.
  warnings.warn(
Traceback (most recent call last):
  File "/teamspace/studios/this_studio/Open-Sora/gradio/app.py", line 171, in <module>
    from opensora.models.text_encoder.t5 import text_preprocessing
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/opensora/models/__init__.py", line 6, in <module>
    from .vae import *
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/opensora/models/vae/__init__.py", line 2, in <module>
    from .vae import VideoAutoencoderKL, VideoAutoencoderKLTemporalDecoder
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/opensora/models/vae/vae.py", line 5, in <module>
    from diffusers.models import AutoencoderKL, AutoencoderKLTemporalDecoder
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/diffusers/__init__.py", line 5, in <module>
    from .utils import (
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/diffusers/utils/__init__.py", line 38, in <module>
    from .dynamic_modules_utils import get_class_from_dynamic_module
  File "/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py", line 28, in <module>
    from huggingface_hub import cached_download, hf_hub_download, model_info
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/huggingface_hub/__init__.py)

also when building na image i can find :
THIS IMAGE IS DEPRECATED and is scheduled for DELETION.
https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/support-policy.md
is this expected ?

I meet same case. For a quick fix to the cached_download import error, you can modify the following file:
/home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/diffusers/utils/dynamic_modules_utils.py
Simply remove cached_download, from the import line. The file should still work since this function is deprecated and not used in the current code.

Let's take a look at the version downgrade of huggingface'hub. I have reduced it from 0.26.1 to 0.25.0, which solves the problem


Rehome developer-registration form and update incoming links

https://community.superoffice.com/en/developer/create-apps/resources/developer-registration/ from SuperOfficeDocs/online-development#8
Where should the form live until the developer portal is up?

https://community.superoffice.com/register-as-developer

Done


Add files via upload

Added files for documentation for Better quality for future Developers.

@shahrk @Nirav1929  Do you mind reviewing it?


Logistic Regression with Gradient Descent in JS

resolves #81
add Logistic Regression with Gradient Descent in Javascript

Program make a simple calculator
This function adds two numbers
def add(x, y):
return x + y
This function subtracts two numbers
def subtract(x, y):
return x - y
This function multiplies two numbers
def multiply(x, y):
return x * y
This function divides two numbers
def divide(x, y):
return x / y
print("Select operation.")
print("1.Add")
print("2.Subtract")
print("3.Multiply")
print("4.Divide")
while True:
# take input from the user
choice = input("Enter choice(1/2/3/4): ")
# check if choice is one of the four options
if choice in ('1', '2', '3', '4'):
    num1 = float(input("Enter first number: "))
    num2 = float(input("Enter second number: "))

    if choice == '1':
        print(num1, "+", num2, "=", add(num1, num2))

    elif choice == '2':
        print(num1, "-", num2, "=", subtract(num1, num2))

    elif choice == '3':
        print(num1, "*", num2, "=", multiply(num1, num2))

    elif choice == '4':
        print(num1, "/", num2, "=", divide(num1, num2))

    # check if user wants another calculation
    # break the while loop if answer is no
    next_calculation = input("Let's do next calculation? (yes/no): ")
    if next_calculation == "no":
      break

else:
    print("Invalid Input")

Do I have to add the solution of this problem in the Data Science Projects folder?

Please review my PR @tomriddle77 @HAMIDALISOLANG110,
Thanks!


Add switch asset support for all loaders inheriting from BlenderLoader

Changelog Description

Adds support for "Switch Asset" in scene inventory for blender loaders.
Additional info

Based on comment here
Testing notes:

Validate the 'switch' works as intended for managed Blender loaders

When I tries to do switch version from the same product type(in my case "model"), some errors pop up.

Making me wonder if we should introduce the switch version in blender, as it somehow involves the modifiers

@moonyuet are u refering more to a Set Version as there is a Switch Folder not Version ...as Im experiencing issues with the Set Version atm in latest release of ayon-blender addon too

@moonyuet are u refering more to a Set Version as there is a Switch Folder not Version ...as Im experiencing issues with the Set Version atm in latest release of ayon-blender addon too

I am more referring to the switch folder here but this is also related to set version in blender.

@moonyuet I think you're facing this issue https://github.com/ynput/ayon-blender/issues/40 - and hence it's not due to this PR.


lag when dragging windows (Windows 11)

dragging windows while WinLauch is open is noticeably slower than normal

cant reproduce


possibility to run a scan of logs and generate reports in a standalone way ( no jenkins, no github workflow )

Hi,
is there a possibility to run the scan of logs and the generation of reports without the need for jenkins or github workflows and actions?
maybe from a container or a packaged application?
thanks

You can start the quality-monitor by using docker run. But since the program reports the results to GitHub in Markdown, there is no plain text output available yet. How do you plan to use such an approach?

the ideal scenario is to give a log file as input and get some report ( html? ) as output
without any dependency on the workflow system that is used

I see. This is not possible in the moment. But one could design a new backend that simply generates a Markdown report (already supported). HTML reports need some extra work.
I'm not sure if this should be part of the quality-monitor project itself as it is supposed to be used as GitHub action only? One could create a new CLI project that uses https://github.com/uhafner/autograding-model to create the reports.


Call UWP Runtime Component from Win32 app?

Is it possible to call a UWP Runtime Component from a Win32 app?  I'm trying to do this in VS 2019 and I get an error message that the "two projects target different platforms" when trying to add a reference to the UWP component.
I'm wondering what platforms it's talking about or maybe if the error is similar to this issue:
https://developercommunity.visualstudio.com/idea/1128228/a-reference-cannot-be-added-because-the-two-projec.html
I want to create a Launcher to open various media and folders.  I have used ShellExecute in Win32, but that isn't allowed in Store apps.  I've tried using Projected namespaces in C++ code, but that is wrought with problems, including certain calls that seem impossible to do.  It would be much simpler to call a native UWP/C# interface.
Thanks.

I want to create a Launcher to open various media and folders. I have used ShellExecute in Win32, but that isn't allowed in Store apps.

Are you writing a pure UWP app, or a Win32 app? ShellExecute is allowed for a Win32 app even if it's submitted to Microsoft Store. You should be able to use it without issue.

Thanks.  I'm writing a Win32 app.  As you pointed out, I was mistaken about store apps.  The issue is with S Mode, which I would also like to target.  When I run the app certification kit, it says that:

contains a reference to a "Launch Process" related API shell32.dll!ShellExecuteW
Impact if not fixed: Launching executable files is restricted on Windows 10 S systems. Apps that rely on this capability might not run correctly on Windows 10 S systems.

I could rewrite the app in UWP, but I prefer Win32 for various reasons.  I would like to see if I could get Projection working in Win32 apps.  So far no luck.
Thanks.

@andreww-msft, does your team support shell-execute in S mode?

@OmarJay1 That's just a warning telling you it may failed to launch an exe in S Mode.

Thanks everybody.  I think what I have to do is post a beta to the store and test to see what works and what doesn't work.  There's an S Mode boot method that I tried, but that won't side load apps, so I think I need to try it from the store.
Thanks.

I tested the app with the S Mode policy simulator, and the ShellExecute calls work.  Thanks everybody for your help.  I would have otherwise spent the next week trying to get UWP Launcher to work from Win32, and probably failed.
I'll close this issue unless anybody has anything else to say.
Thank you.


[Bug]:  RTC DEM file with extents  does not fully cover product geogrid with extents S/N

Checked for duplicates
Yes - I've already checked
Describe the bug
[StdErr] ValueError: ERROR the DEM file with extents S/N: [73.52874999999868,77.531249999999] W/E: [-95.46736111110435,-77.10819444443622], does not fully cover product geogrid with extents S/N: [73.48709048988043,77.44344706921333] W/E: [-94.52884705427306,-78.93660651711997]
SCIFLO_L2_RTC_S1__2.1.1-S1A_IW_SLC__1SDH_20231117T124336_20231117T124403_051257_062EF8_40AA-r1
pge_20231118T035034.log
_stderr_triaged_job-SCIFLO_L2_RTC_S1__2.1.1-S1A_IW_SLC__1SDH_20231117T124336_20231117T124403_051257_062EF8_40AA-r1-20231118T034543.77847Z_task-8106c999-9147-4af3-b846-25366a4e51ba.txt
What did you expect?
I expected [...]
Reproducible steps
Run

SCIFLO_L2_RTC_S1__2.1.1-S1A_IW_SLC__1SDH_20231117T124336_20231117T124403_051257_062EF8_40AA-r1
SCIFLO_L2_RTC_S1__2.1.1-S1A_IW_SLC__1SDH_20231119T122657_20231119T122727_051286_063007_87BB-r1
SCIFLO_L2_RTC_S1_STATIC__2.1.1-S1A_IW_SLC__1SDH_20231119T122657_20231119T122727_051286_063007_87BB-r1
...

...

Environment
R2.1.0/R2.1.1

...

Granules reported have been retested using an ancillary margin of 200, which resolves the overlap error.
Ancillary margin set to 200km for RTC-S1 and RTC-S1-STATIC in release 2.2.0 in the following commit https://github.com/nasa/opera-sds-pcm/commit/71a0d84cca79fd3142ddcd0e6f558cc48b486201


SUBMARINE-928. [Quickstart] Rewrite quickstart guide

What is this PR for?
Write an example that will walk users through the end-to-end usage of the submarine.
What type of PR is it?
[Documentation]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-928
How should this be tested?
Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@pingsutw @kevin85421 Need suggestions! Thanks!

TODO: 1. trim the memory limit 2. add mlflow demo

@ByronHsu Could you fix the conflict? Thanks!!


Add documentation for metric series that Kubernetes components emit

This is a Feature Request

What would you like to be added
Add System Components metrics introduction
such as
//source  vendor/k8s.io/component-base/metrics/testutil/promlint.go

	// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/egressselector
	"apiserver_egress_dialer_dial_failure_count", // counter metrics should have "_total" suffix

	// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/healthz
	"apiserver_request_total", // label names should be written in 'snake_case' not 'camelCase'

	// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters
	"authenticated_user_requests", // counter metrics should have "_total" suffix
	"authentication_attempts",     // counter metrics should have "_total" suffix

	// kube-apiserver
	"aggregator_openapi_v2_regeneration_count",
	"apiserver_admission_step_admission_duration_seconds_summary",
	"apiserver_current_inflight_requests",
	"apiserver_longrunning_gauge",
	"get_token_count",
	"get_token_fail_count",
	"ssh_tunnel_open_count",
	"ssh_tunnel_open_fail_count",

	// kube-controller-manager
	"attachdetach_controller_forced_detaches",
	"authenticated_user_requests",
	"authentication_attempts",
	"get_token_count",
	"get_token_fail_count",
	"node_collector_evictions_number",

Why is this needed

Hi @vsxen
Why is this needed? Filling in that information will help contributors prioritize the feature request.
/triage needs-information
/language en

I was trying to find this data as well. I need to know the list of metrics supported by each and every control plane components for health diagnosis, performance improvement, and dynamic resource planning.

I want to set some alert in prometheus for system components.
when apiserver need to get token and open ssh tunnel？I don't understand.

when apiserver need to get token and open ssh tunnel？I don't understand.

The API server, when talking to kubelets via the PodResources API or the logging, profiling APIs, needs to open a SSL connection to the kubelet servers. The API server also needs to authenticate to Webhooks (authentication, authorization, addmission, etc). This is my understanding.

The API server, when talking to kubelets via the PodResources API or the logging, profiling APIs, needs to open a SSL connection to the kubelet servers. The API server also needs to authenticate to Webhooks (authentication, authorization, addmission, etc). This is my understanding.

But the vaule always is zero even when I run kubectl exec  & kubectl port-forward
// source pkg/kubelet/cri/streaming/server.go

		{"/exec/{token}", s.serveExec},
		{"/attach/{token}", s.serveAttach},
		{"/portforward/{token}", s.servePortForward},

But the vaule always is zero even when I run kubectl exec & kubectl port-forward

Maybe it is due to your kubelet configuration?

ping

@vsxen could you explain more about which page you recommend changing, and what should be added?
Alternatively: describe a task that a reader might want to achieve, and highlight gaps in how they could learn to perform that task.

for example: apiserver
when I run k get --raw /metrics |grep TYPE, I can see  apiserver has this metrics
My questions is:

which metrics can tell me apiserver is slow so I should  add new instances
which metrics can tell me aggr api is ok (v1beta1.metrics.k8s.io)
why apiserver has ssh_tunnel_open_count  and workqueue_depth metrics
what should I do if workqueue_depth is always 1

https://github.com/kubernetes/kubernetes/issues/106513
https://sysdig.com/blog/monitor-kubernetes-api-server/
# TYPE aggregator_openapi_v2_regeneration_count counter
# TYPE aggregator_openapi_v2_regeneration_duration gauge
# TYPE apiextensions_openapi_v2_regeneration_count counter
# TYPE apiserver_admission_controller_admission_duration_seconds histogram
# TYPE apiserver_admission_step_admission_duration_seconds histogram
# TYPE apiserver_admission_step_admission_duration_seconds_summary summary
# TYPE apiserver_admission_webhook_admission_duration_seconds histogram
# TYPE apiserver_audit_event_total counter
# TYPE apiserver_audit_level_total counter
# TYPE apiserver_audit_requests_rejected_total counter
# TYPE apiserver_client_certificate_expiration_seconds histogram
# TYPE apiserver_current_inflight_requests gauge
# TYPE apiserver_init_events_total counter
# TYPE apiserver_longrunning_gauge gauge
# TYPE apiserver_registered_watchers gauge
# TYPE apiserver_request_count counter
# TYPE apiserver_request_duration_seconds histogram
# TYPE apiserver_request_latencies histogram
# TYPE apiserver_request_latencies_summary summary
# TYPE apiserver_request_terminations_total counter
# TYPE apiserver_request_total counter
# TYPE apiserver_response_sizes histogram
# TYPE apiserver_storage_data_key_generation_duration_seconds histogram
# TYPE apiserver_storage_data_key_generation_failures_total counter
# TYPE apiserver_storage_data_key_generation_latencies_microseconds histogram
# TYPE apiserver_storage_envelope_transformation_cache_misses_total counter
# TYPE apiserver_watch_events_sizes histogram
# TYPE apiserver_watch_events_total counter
# TYPE authenticated_user_requests counter
# TYPE authentication_attempts counter
# TYPE etcd_object_counts gauge
# TYPE etcd_request_duration_seconds histogram
# TYPE etcd_request_latencies_summary summary
# TYPE get_token_count counter
# TYPE get_token_fail_count counter
# TYPE go_gc_duration_seconds summary
# TYPE go_goroutines gauge
# TYPE go_info gauge
# TYPE go_memstats_alloc_bytes gauge
# TYPE go_memstats_alloc_bytes_total counter
# TYPE go_memstats_buck_hash_sys_bytes gauge
# TYPE go_memstats_frees_total counter
# TYPE go_memstats_gc_cpu_fraction gauge
# TYPE go_memstats_gc_sys_bytes gauge
# TYPE go_memstats_heap_alloc_bytes gauge
# TYPE go_memstats_heap_idle_bytes gauge
# TYPE go_memstats_heap_inuse_bytes gauge
# TYPE go_memstats_heap_objects gauge
# TYPE go_memstats_heap_released_bytes gauge
# TYPE go_memstats_heap_sys_bytes gauge
# TYPE go_memstats_last_gc_time_seconds gauge
# TYPE go_memstats_lookups_total counter
# TYPE go_memstats_mallocs_total counter
# TYPE go_memstats_mcache_inuse_bytes gauge
# TYPE go_memstats_mcache_sys_bytes gauge
# TYPE go_memstats_mspan_inuse_bytes gauge
# TYPE go_memstats_mspan_sys_bytes gauge
# TYPE go_memstats_next_gc_bytes gauge
# TYPE go_memstats_other_sys_bytes gauge
# TYPE go_memstats_stack_inuse_bytes gauge
# TYPE go_memstats_stack_sys_bytes gauge
# TYPE go_memstats_sys_bytes gauge
# TYPE go_threads gauge
# TYPE grpc_client_handled_total counter
# TYPE grpc_client_msg_received_total counter
# TYPE grpc_client_msg_sent_total counter
# TYPE grpc_client_started_total counter
# TYPE kubernetes_build_info gauge
# TYPE process_cpu_seconds_total counter
# TYPE process_max_fds gauge
# TYPE process_open_fds gauge
# TYPE process_resident_memory_bytes gauge
# TYPE process_start_time_seconds gauge
# TYPE process_virtual_memory_bytes gauge
# TYPE process_virtual_memory_max_bytes gauge
# TYPE rest_client_request_duration_seconds histogram
# TYPE rest_client_request_latency_seconds histogram
# TYPE rest_client_requests_total counter
# TYPE ssh_tunnel_open_count counter
# TYPE ssh_tunnel_open_fail_count counter
# TYPE workqueue_adds_total counter
# TYPE workqueue_depth gauge
# TYPE workqueue_longest_running_processor_seconds gauge
# TYPE workqueue_queue_duration_seconds histogram
# TYPE workqueue_retries_total counter
# TYPE workqueue_unfinished_work_seconds gauge
# TYPE workqueue_work_duration_seconds histogram

/retitle Add documentation for metric series that Kubernetes components emit
We might want to split this into 2 requests:

Document the stable metrics
Document the other (unstable) metrics

I can vaguely recall that there was a PR fixing the pointer to the stable k8s metrics page (which is currently almost empty).
The SIG Instrumentation team does have a list of stable metrics here, but I have no idea if the team has a registry for all component metrics.

/triage accepted
/remove-triage needs-information
/sig instrumentation
/priority backlog

I've accepted this in that it's something that SIG Docs would agree is nice to work on; I've marked it as a backlog item because there are other improvements that we would prioritize before this one.
Anyone who wants to help out here is very welcome to.

/lifecycle frozen

Done in https://github.com/kubernetes/website/pull/37522
/close


BUG:  The latest version ( v5.0.0 ) of the sealos privatization deployment will fail due to a public image pull issue

Sealos Version
v5.0.0
How to reproduce the bug?

centos 7.8

sealos-v5.0.0 deploy k8s in private cloud environment

SHELL:  curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring/sealos/v5.0.0-beta5/scripts/cloud/install.sh -o /tmp/install.sh && bash /tmp/install.sh   --cloud-version=v5.0.0-beta5   --image-registry=registry.cn-shanghai.aliyuncs.com --zh   --proxy-prefix=https://mirror.ghproxy.com

ERROR INFO:
W0712 03:47:59.829652   67789 images.go:80] could not find officially supported version of etcd for Kubernetes v1.27.11, falling back to the nearest etcd version (3.5.0-0)
[config/images] Pulled k8s.gcr.io/kube-apiserver:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-controller-manager:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-scheduler:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-proxy:v1.27.11
failed to pull image "k8s.gcr.io/pause:3.5": output: E0712 03:49:52.907061   67905 remote_image.go:167] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image "k8s.gcr.io/pause:3.5": failed to resolve reference "k8s.gcr.io/pause:3.5": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.5\": dial tcp <IP_ADDRESS>:443: connect: connection refused" image="k8s.gcr.io/pause:3.5"
time="2024-07-12T03:49:52-04:00" level=fatal msg="pulling image: rpc error: code = Unknown desc = failed to pull and unpack image "k8s.gcr.io/pause:3.5": failed to resolve reference "k8s.gcr.io/pause:3.5": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.5\": dial tcp <IP_ADDRESS>:443: connect: connection refused"
, error: exit status 1
To see the stack trace of this error execute with --v=5 or higher
2024-07-12T03:49:52 error Applied to cluster error: failed to init masters: master pull image failed, error: exit status 1
Error: failed to init masters: master pull image failed, error: exit status  1

What is the expected behavior?
i think this is a bug ,  if user use this scripts to deploy k8s by sealos , this will try to get images from docker.io/xxx ;
in the sealo project shoud considering  the internet is diffrent , this project  code shoud make user skip to get images form docker.io/xxx .
The code can avoid such an error, like
W0712 03:47:59.829652   67789 images.go:80] could not find officially supported version of etcd for Kubernetes v1.27.11, falling back to the nearest etcd version (3.5.0-0)
[config/images] Pulled k8s.gcr.io/kube-apiserver:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-controller-manager:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-scheduler:v1.27.11
[config/images] Pulled k8s.gcr.io/kube-proxy:v1.27.11
failed to pull image "k8s.gcr.io/pause:3.5": output: E0712 03:49:52.907061   67905 remote_image.go:167] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image "k8s.gcr.io/pause:3.5": failed to resolve reference "k8s.gcr.io/pause:3.5": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.5\": dial tcp <IP_ADDRESS>:443: connect: connection refused" image="k8s.gcr.io/pause:3.5"
time="2024-07-12T03:49:52-04:00" level=fatal msg="pulling image: rpc error: code = Unknown desc = failed to pull and unpack image "k8s.gcr.io/pause:3.5": failed to resolve reference "k8s.gcr.io/pause:3.5": failed to do request: Head "https://k8s.gcr.io/v2/pause/manifests/3.5\": dial tcp <IP_ADDRESS>:443: connect: connection refused"
, error: exit status 1
To see the stack trace of this error execute with --v=5 or higher
What do you see instead?
No response
Operating environment
- Sealos version: v5.0.0(latest)
- Docker version: null
- Kubernetes version: v1.27.11
- Operating system: centos-7.8
- Runtime environment: containerd
- Cluster size: 1
- Additional information: mabey code shoud fix this bug , otherwise user will not success deploy k8s .
This is a sad story！！！

Additional information
No response

你的操作系统内核版本是多少？
麻烦给出 uname -a 的结果。

操作系统内核版本：
[root@nro-node-01 ~]# uname -a
Linux nro-node-01 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
More:

测试发现的，我看了相关的源码，根据实验现象推测应该是私有环境中的  <IP_ADDRESS>/xxx/xxx:xxx  镜像需要重命名成为   k8s.gcr.io/kube-controller-manager:v1.27.11  等资源镜像就可以了；
我不晓得是否存在隐藏配置项是否可以实现此能力。2024年6月之前国内还是可以拉取到这些镜像的，但是自从  dockerHub 把中国大陆封禁以后就无法拉取这些镜像文件了。
如果用户是香港地区的服务器或者国外的服务器部署环境自然没啥问题。 BTW

请在系统内核高于5.09的机器上测试部署，系统内核过低无法安装sealos cloud

thank you , 按照建议系统内核升级到 > 5.4 的机器上测试部署,  系统成功的完成了部署，非常感谢！
由于集群部署资源的限制， sealos 会是一个很好的部署方案备选。
这个问题可以关闭。感谢 * more

你好 @ai-liuys 你把 sealos 回退到什么版本


Added option to disable migrations

This patch introduces DISABLE_MIGRATIONS parameter in [repository]
section of app.ini (by default set to false). If set to true
it blocks access to repository migration feature.
This mod hides also local repo import option in user editor if
local repo importing or migrations is disabled.
Author-Change-Id: IB#1105130

make fmt needed

make fmt done

I think you have missed to add an import to some file

Missing import added.

Codecov Report

Merging #13114 into master will decrease coverage by 0.47%.
The diff coverage is 23.52%.

@@            Coverage Diff             @@
##           master   #13114      +/-   ##
==========================================
- Coverage   42.84%   42.37%   -0.48%
==========================================
  Files         662      676      +14
  Lines       73002    74548    +1546
==========================================
+ Hits        31279    31591     +312
- Misses      36652    37817    +1165
- Partials     5071     5140      +69

Impacted Files
Coverage Δ

modules/setting/repository.go
56.36% <ø> (ø)

routers/api/v1/repo/migrate.go
42.02% <0.00%> (-0.94%)
:arrow_down:

routers/repo/migrate.go
38.68% <0.00%> (-2.73%)
:arrow_down:

routers/admin/users.go
25.94% <50.00%> (+0.22%)
:arrow_up:

modules/context/context.go
57.29% <100.00%> (+0.23%)
:arrow_up:

modules/cron/tasks_basic.go
87.50% <100.00%> (+0.14%)
:arrow_up:

modules/storage/minio.go
2.04% <0.00%> (-46.40%)
:arrow_down:

modules/git/tree_blob.go
75.00% <0.00%> (-13.24%)
:arrow_down:

services/issue/assignee.go
20.75% <0.00%> (-12.58%)
:arrow_down:

modules/storage/local.go
39.62% <0.00%> (-10.38%)
:arrow_down:

... and 94 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95ff559...8e62ac8.

Please update the branch

Just merged current master to this PR.

@pboguslawski can you do this again or give maintainers write permissions to this pull?

Didn't find a way to allow rw access for maintainers to thist PR. Just pressed "Update branch" in gihtub - please check if its ok now.

Didn't find a way to allow rw access for maintainers to thist PR. Just pressed "Update branch" in gihtub - please check if its ok now.

Isn't it?

No such option in my PR view:

@pboguslawski I think this is because the pull is from a fork owned not by you but an org - a github issue ...


Not support for locustio==0.14.4

Describe the bug
boomer Not support for locustio==0.14.4 (fine with locustio==0.13.5)
To Reproduce

Run locust == 0.14.4 in master mode
use http client by boomer, when boomer client is running, locust report errors:  KeyError: 'current_cpu_usage', this key is a new feature of locustio >=0.14.0,

Expected behavior
work well with locustio>=0.14.0
Screenshots

Environment (please complete the following information):

OS: windows 10
Go Version:  go1.13.4 windows/amd64

Fixed! you can update boomer now.


create segment zk metadata cache

create segmentZKMetadataCache that only pulls once from ZK and then reused by all pruners.
TODO

[x] only pull ZK once and reused by all pruners
[ ] if no registered pruner, do not pull from zk
[ ] maintain a seen list and unseen list of segments so it doesn't pull when not-necessary
[ ] add tests

Codecov Report

Merging #10455 (0b38105) into master (cb1069f) will decrease coverage by 56.33%.
The diff coverage is 82.82%.

@@              Coverage Diff              @@
##             master   #10455       +/-   ##
=============================================
- Coverage     70.24%   13.91%   -56.33%
+ Complexity     6110      237     -5873
=============================================
  Files          2061     2014       -47
  Lines        111752   109377     -2375
  Branches      16985    16703      -282
=============================================
- Hits          78504    15224    -63280
- Misses        27720    92923    +65203
+ Partials       5528     1230     -4298

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
13.91% <82.82%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

...va/org/apache/pinot/core/routing/RoutingTable.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mentpruner/MultiPartitionColumnsSegmentPruner.java
71.96% <75.00%> (-1.96%)
:arrow_down:

...oker/routing/segmentpruner/EmptySegmentPruner.java
85.41% <83.33%> (-2.52%)
:arrow_down:

...che/pinot/broker/routing/BrokerRoutingManager.java
61.69% <85.71%> (-24.11%)
:arrow_down:

...mentpruner/SinglePartitionColumnSegmentPruner.java
64.04% <85.71%> (-8.41%)
:arrow_down:

...outing/segmentmetadata/SegmentZkMetadataCache.java
100.00% <100.00%> (ø)

...er/routing/segmentpruner/SegmentPrunerFactory.java
93.58% <100.00%> (+0.83%)
:arrow_up:

...roker/routing/segmentpruner/TimeSegmentPruner.java
72.51% <100.00%> (-1.72%)
:arrow_down:

... and 1616 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Jun

Finished insert, select, and count. Changed my count query to count the total number of officers.

@tonywu94 k I cleaned up the links, fixed my formatting, and make count officers 'cool'.

hmm idk if its just me or whats going on but for the selectparkingspace, no options show up:

for countofficers, i get:

for insertparkingspace, i also dont get any options:

Am i doing something wrong, or have you tested these?


made interruped dual square boluses

I think I might rename the cbg_equation module to simulator (or bg_simulator) and then rename stitch_function to simulate. That way you'll call it in dfaker as simulator.simulate(...) which is super clear (IMO).


Add cross namespace resource reference support in code generator

Issue #1777
Description of changes:

Added ability to reference resources cross namespace
Needs more testing
Related change in runtime https://github.com/aws-controllers-k8s/runtime/pull/152

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/retest

/retest

/retest

/hold

/retest


0.8.4 install problem on CAN

Hello,
Can not add integration IVT - HTTP
`Logger: custom_components.bosch.config_flow
Source: custom_components/bosch/config_flow.py:128
Integration: Bosch (documentation)
First occurred: 5:27:21 PM (4 occurrences)
Last logged: 5:31:38 PM
Error connecting Bosch at <IP_ADDRESS> - Expecting ',' delimiter: line 115 column 17 (char 3701)`
I have Buderus with CAN.
0.7.2 working ok.
Thank you.

Delimeter error should be fixed in 0.8.6
if you have other issue with 0.8.6 please post new issue.


"the file cannot be displayed in the editior because it is either binary ..."  but sometimes we need to read binary file  as text

VSCode Version: 1.3.1
OS Version: windows8

Steps to Reproduce:

find a binary file
open it

result:"the file cannot be displayed in the editior because it is either binary ..."
but, sometimes we need to read binary file as text.

@rainssong you could try with https://marketplace.visualstudio.com/items?itemName=slevesque.vscode-hexdump

@bpasero fantastic


Update README.md

Although jsonway supports the latest compiler, README.md is old and doesn't explain the latest version of jsonway.
The old README.md may confuse users, so please update README.md for the latest jsonway.

There were the following issues with your Pull Request

Commit: abdc3af10db7730832e3b02d7fd7b9f1e3e916a1
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/rustless/jsonway/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Oh, I'm sorry. I did not notice the CONTRIBUTING.md.
I will fix the issue soon.

There were the following issues with your Pull Request

Commit: 8809710a4b6397ef939dfe38d47d1d005a07dd1d
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/rustless/jsonway/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Thanks!


Install issue on Ubuntu 18

Everytime I get to the line
/usr/local/bin/crowdsec-cloudflare-bouncer -g <TOKEN_1>,<TOKEN_2>... > cfg.yaml
which I am still not sure if that suppose to be like
/usr/local/bin/crowdsec-cloudflare-bouncer -g<PHONE_NUMBER>,111111111... > cfg.yaml
or
/usr/local/bin/crowdsec-cloudflare-bouncer -g <555555555>,<111111111>... > cfg.yaml
root@joshwho:/etc/crowdsec/cs-cloudflare-blocker# sudo ./install.sh
Installing crowdsec-cloudflare-bouncer
removed '/usr/local/bin/crowdsec-cloudflare-bouncer'
'./crowdsec-cloudflare-bouncer' -> '/usr/local/bin/crowdsec-cloudflare-bouncer'
cscli found, generating bouncer api key.
Please configure '/etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml'.
Configuration can be autogenerated using /usr/local/bin/crowdsec-cloudflare-bouncer -g <CF_TOKEN_1>,<CF_TOKEN_2>
After configuration run the command 'systemctl start crowdsec-cloudflare-bouncer.service' to start the bouncer
root@joshwho:/etc/crowdsec/cs-cloudflare-blocker# /usr/local/bin/crowdsec-cloudflare-bouncer -g <CF_TOKEN_1>,<CF_TOKEN_2>
-bash: syntax error near unexpected token `newline'

When I keep the brackets around the token I get a error showing
-bash: syntax error near unexpected token `>'
When I do not use any brackets it says
Segmentation fault (core dumped)
What am I doing wrong?

Hello,
The <> are part of the placeholder value, you are not supposed to keep them, so /usr/local/bin/crowdsec-cloudflare-bouncer -g<PHONE_NUMBER>,111111111 is the correct syntax.
Can you share your configuration file and your log file (should be in /var/log/crowdsec-cloudflare-bouncer.log by default), with any sensitive information redacted of course ?
How did you install the bouncer ?

I manually unzipped and uploaded via sftp to a folder
log shows stuff from a old attempt
time="06-05-2021 04:04:14" level=info msg="Starting cloudflare-blocker"
time="06-05-2021 04:04:14" level=info msg="fetching existing bans from DB"
time="06-05-2021 04:04:14" level=info msg="found 0 bans in DB"
time="06-05-2021 04:08:58" level=info msg="Starting cloudflare-blocker"
time="06-05-2021 04:08:58" level=info msg="fetching existing bans from DB"
time="06-05-2021 04:08:58" level=info msg="found 0 bans in DB"
time="06-05-2021 04:15:58" level=info msg="Starting cloudflare-blocker"
time="06-05-2021 04:15:58" level=info msg="fetching existing bans from DB"
time="06-05-2021 04:15:58" level=info msg="found 0 bans in DB"
time="06-05-2021 04:24:32" level=info msg="Starting cloudflare-blocker"
time="06-05-2021 04:24:32" level=info msg="fetching existing bans from DB"
time="06-05-2021 04:24:32" level=info msg="found 0 bans in DB"
time="06-05-2021 04:31:13" level=info msg="Starting cloudflare-blocker"
time="06-05-2021 04:31:13" level=info msg="fetching existing bans from DB"
time="06-05-2021 04:31:13" level=info msg="found 0 bans in DB"

root@joshwho:/etc/crowdsec/cs-cloudflare-blocker# systemctl start crowdsec-cloudflare-bouncer
Job for crowdsec-cloudflare-bouncer.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status crowdsec-cloudflare-bouncer.service" and "journalctl -xe" for details.
root@joshwho:/etc/crowdsec/cs-cloudflare-blocker# systemctl status crowdsec-cloudflare-bouncer.service
● crowdsec-cloudflare-bouncer.service - CrowdSec bouncer for cloudflare
   Loaded: loaded (/etc/systemd/system/crowdsec-cloudflare-bouncer.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Thu 2021-08-12 08:09:27 CDT; 18s ago
  Process: 3702 ExecStart=/usr/local/bin/crowdsec-cloudflare-bouncer -c /etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml (code=dumped, signal=SEGV)
 Main PID: 3702 (code=dumped, signal=SEGV)

Aug 12 08:09:27 joshwho.com systemd[1]: Starting CrowdSec bouncer for cloudflare...
Aug 12 08:09:27 joshwho.com systemd[1]: crowdsec-cloudflare-bouncer.service: Main process exited, code=dumped, status=11/SEGV
Aug 12 08:09:27 joshwho.com systemd[1]: crowdsec-cloudflare-bouncer.service: Failed with result 'core-dump'.
Aug 12 08:09:27 joshwho.com systemd[1]: Failed to start CrowdSec bouncer for cloudflare.

Can you try to run the bouncer "manually" ?
Update the configuration file and set daemon to false, and log_mode to stdout.
Then run the bouncer  /usr/local/bin/crowdsec-cloudflare-bouncer -c /etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml.
This should give you a full stack trace that we'll be able to use to find the actual issue.

Not seeing any changes nothing in logs

Would you mind dropping by on gitter (https://gitter.im/crowdsec-project/community) so that we can debug this more easily ?

When I run command
sudo crowdsec-cloudflare-bouncer -s
I get this
root@joshwhotv:~# sudo systemctl reload crowdsec
root@joshwhotv:~# sudo crowdsec-cloudflare-bouncer -s
Segmentation fault

Another question: Does this part also need to be filled out?
zones:
    - actions:
      - challenge # valid choices are either of challenge, js_challenge, block
      zone_id:

my log when I restart the bouncer shows
time="13-01-2022 15:20:03" level=error msg="invalid cache: unexpected end of JSON input"
time="13-01-2022 15:20:03" level=info msg="cache is ignored"
time="13-01-2022 15:20:05" level=error msg="HTTP status 400: Invalid request headers (6003)" account_id=acountid3423423423
time="13-01-2022 15:20:05" level=error msg="HTTP status 400: Invalid request headers (6003)" account_id=acountid3423423423
time="13-01-2022 15:20:05" level=fatal msg="HTTP status 400: Invalid request headers (6003)"

New log shows

time="13-01-2022 16:08:00" level=error msg="invalid cache: unexpected end of JSON input"
time="13-01-2022 16:08:00" level=info msg="cache is ignored"
time="13-01-2022 16:08:00" level=debug msg="setup of API complete" account_id=fakenumber12345
time="13-01-2022 16:08:00" level=debug msg="req-api: GET http://localhost:8080/v1/decisions/stream?startup=true&scopes=ip,range,as,country"
time="13-01-2022 16:08:00" level=error msg="HTTP status 400: Invalid request headers (6003)" account_id=fakenumber12345
time="13-01-2022 16:08:00" level=error msg="HTTP status 400: Invalid request headers (6003)" account_id=fakenumber12345
time="13-01-2022 16:08:00" level=fatal msg="HTTP status 400: Invalid request headers (6003)"

Is this still an outstanding issue? if so we advise using the auto-configuration option here where it states Run the following commands


⚠ Bofrost.be has degraded performance

In ba5f073, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1383 ms

Resolved: Bofrost.be performance has improved in 88a1024.


Scheduling

Hi there, any plan for scheduling existing workouts?

Hi @darkzbaron, unfortunatelly I do not use Garmin workouts anymore. My shitty trainer (Direto) reports different numbers than my power meters so I have to use 3rd party apps with power match feature (like TrainerDay or BreakAway).
But feel free to enhance the tool if you have some spare time, I'll we be glad to help you.

Hi there, sorry to hear that! Ok anyway I'll try to get it done by tomorrow but it will probably be quick and dirty. The plan is to add a new workflow for scheduling a training number previously obtained via the -list argument, I have sniffed the request, it is a PUT but I need to figure out how the JSON payload work! I'll play with that and let you know!

Merged into master


Streaming support for load_from_disk

Feature request
Support for streaming datasets stored in object stores in load_from_disk.
Motivation
The load_from_disk function supports fetching datasets stored in object stores such as s3. In many cases, the datasets that are stored in object stores are very large and being able to stream the data from the buckets becomes essential.
Your contribution
I'd be happy to contribute this feature if I could get the guidance on how to do so.

As the name says, load_from_disk load the data from your disk. If the data is hosted on S3, it is first downloaded locally and then loaded from your disk.
There is a discussion on streaming data from S3 here though: #5281

@lhoestq
Thanks for your comment. I have checked out the discussion before and attempted at replicating the mentioned changes in the main branch. What I found was that if a dataset is saved using save_to_disk, it cannot be read by load_dataset. The error message asks me to to use load_from_disk instead. What would be the correct way of saving the data in this scenario?

Using push_to_hub you can save the dataset on the HF Hub as parquet files, and reload it / stream it using load_dataset :)
If you want to save your dataset somewhere else you can use .to_parquet to get a parquet file. If your dataset is big it's usually recommended to shard it into multi parquet files (around 1GB each).

@lhoestq
Thanks for the explanation. Appreciate it. I'll try this out.

@lhoestq
I tried the method you mentioned. This the current scenario I'm facing:

The parquet file can be read from disk and streaming can be enabled.
The parquet file can be read from s3 (local MinIO).
When streaming=True is enabled for s3, I get the error mentioned below:

File ~/.../lib/python3.8/site-packages/s3fs/core.py:502, in S3FileSystem.set_session(self, refresh, kwargs)
    500 conf = AioConfig(**config_kwargs)
    501 if self.session is None:
--> 502     self.session = aiobotocore.session.AioSession(**self.kwargs)
    504 for parameters in (config_kwargs, self.kwargs, init_kwargs, client_kwargs):
    505     for option in ("region_name", "endpoint_url"):

TypeError: __init__() got an unexpected keyword argument 'headers'

Does this mean there is a bug in the main branch?

Streaming from S3 is still experimental, there might be a few bugs unfortunately.
Can you share the full stack trace ?

Is "data-parquet" a file ? In data_files you should pass the paths to the parquet files (not to a directory). Glob patterns are not supported yet for S3 URLs.
The bug seems to happen because your provided data file has no extension. Because of that it tries to infer it from the file content, but fails because _get_extraction_protocol doesn't support S3 URLs yet.

@lhoestq
Thank you for your answer. Saving the file with .parquet extension solved the issue! This is really great! Really appreciate all the help!
Let me know if I should close the issue or feel free to close it if you want.

As the name says, load_from_disk load the data from your disk. If the data is hosted on S3, it is first downloaded locally and then loaded from your disk.
There is a discussion on streaming data from S3 here though: #5281

Hi @lhoestq,
Thanks for your answer here! I would like to know if it is possible to use load_from_disk from S3 without downloading it locally. For now my dataset is quite large, and my local machine doesn't have such big storage.

Hi ! Have you considered hosting your dataset on HF instead ? This way you can use load_dataset with streaming=True (which is not available in load_from_disk which is for memory mapping Arrow files on disk)


Explorer disappears

Issue Type: Bug
When I Click any option in sidebar (ex: Search or git), the explorer disappears and need to manually enable it from view->Open view and then Explorer
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:59:35.033Z)
OS version: Windows_NT x64 10.0.17134

@paulgeorge92 I cannot reproduce it.

Can you please provide me steps?
Do you see any errors in the console (Help -> Toggle Developer Tools)
Try to reproduce it by disabling all extensions
Can you please open VS Code on a fresh user data directory using option --user-data-dir from command line and see if you can still repro it


[usability] image.createViewFromData confusing

People in a hurry believes it create its own buffer, and then copy existing data into it.
(a bit like glTexImage2d actually).
But it just reference the data.

also identifier is ugly

It is now createView, while createFromData will own and copy that.


permissions does not have all available scopes

Permissions according to the GitHub Actions Docs
Getting this error using id-token under permissions:

Fixed in 0.23.0


Apparently redundant parent App class

@minrk, in 129c5af467c46fe29cd6c489278f719d83683d55, you made the application class look like this:
class JupyterQtConsoleApp(object):
    pass

class JupyterQtConsoleApp(JupyterApp, JupyterConsoleApp, JupyterQtConsoleApp):
    ...

Is there a good reason for this pattern, or is it a leftover from some debugging? If there's a reason, let's add a comment explaining it.

I think it's leftover from figuring out the move from IPythonConsoleApp to JupyterConsoleApp, and not I don't think it's necessary. Removed in #4.

I just remembered why this was here - it should be IPythonQtConsole as a deprecation name. It must have been caught by a find-replace.


Labels in ryo-modal-keys not rendered correctly

On the current ryo-modal master version the :name appears to be rendered wrong when using ryo-modal keys to get prefix keys.
The screenshot below shows what goes wrong, in showing both the definition of the prefix key on "SPC" and the resulting pop-up simultaneously. Obviously the label for the "3" shouldn't be a set of numbers.

The reason for the number (a hash) is that ryo-modaldefines new commands, when using many of the keywords. The main reason for this is to get multiple-cursors (and some other packages) to play nicely with ryo. My guess is that you're using which-key to display the hints? In that case you can read the README on how to configure which-key to remove the numbers.

Oops....I indeed I missed that change in the readme when updating my config. Sorry!
On a related note: is there any way to give a name to the prefix keys when using ryo-modal to have a more helpful label than the many +prefix visible in the screenshots?

No problem! The solution isn't very elegant, but I think it is worth it to get mutliple-cursors working, since it is a popular package.
Good idea about the prefix keys. It is which-key that determines what to show, but which-key is a popular package so it is probably fine to include some special keyword for it.

It should now be possible to name prefix keys using which-key. Please see the README on how. Marking this as closed for now :)


ModuleNotFoundError: No module named 'toga.django'

ModuleNotFoundError: No module named 'toga.django'

Starting Django server on localhost:8042
Opening browser...
Traceback (most recent call last):
File "./manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.6/dist-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.6/dist-packages/django/core/management/init.py", line 341, in execute
django.setup()
File "/usr/local/lib/python3.6/dist-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 116, in create
mod = import_module(mod_path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'toga.django'

@sanjaykhanssk Thanks for the issue report. Unfortunately the current development version needs a lot of work on the Django backend. Which version of Toga do you have installed?

Closing on the basis that there isn't anything especially actionable here.


Deprecation of typeKey in Ember Data

Ember Data deprecated typeKey in favor of modelName. http://emberjs.com/blog/2015/05/21/ember-data-1-0-beta-18-released.html
When running my specs that use factoryguy I now get these deprecation warnings:
DEPRECATION: Usage of `typeKey` has been deprecated and will be removed in Ember Data 1.0. It has been replaced by `modelName` on the model class.

Would you like me to help with a PR? Or would those result in backward-compatibility issues?

@tarzan, I am working on the new version for beta-19 .. that fixes this issue.  I had fixed this for beta-18, but there were too many bugs in beta-18 to use it so I reverted to beta-16 again. Anyway .. I am going to release a new version that fixes this ( but for beta-19 ) pretty soon,  so hopefully you can upgrade to that.

Ok! Thanks for the reply. Will wait for the upcoming release then :)

@tarzan , version 1.0.11 was just released and it is for beta-19


Add extra analytics stats

@rishig first two commits are ready to be reviewed

Automated message from Dropbox CLA bot
@umkay, it looks like you've already signed the Dropbox CLA. Thanks!

Thanks @umkay, this is looking great! Made a few notes in-line, after that should be ready to merge!

@rishig pr comments addressed

Great, lgtm! @timabbott (first 3 commits)

@ rishig first 4 commits actually. The linter needed to be updated to include test_counts.

Cool, merged the first 4 commits.

@rishig tests should pass, this is ready to be reviewed more closely.

@rishig is this all merged at this point?

yup, closing.


Prevent blocks corruption

There are certain use cases in which a macro can be corrupted. This happens very often when a block has been removed from the module but the macro continues to use that block. The corruption is only effective when the definition of the block changes, the modification of the code generator has no impact.
The idea is therefore to analyze the workspace when opening a macro to check if all blocks are declared, and possibly remove the problematic blocks without deleting the entire workspace.

First iteration of migration system & error report window introduced in v0.7.0.


Add AiDot Matter Certification devices

Add light-color-level-1800K-6500K profile.
Add certification ready devices' VID and PID.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: chenpeixiang:x: shenkaijieshenkaijie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Port roi cluster fusion

Compiles fully.
While launching the node, get the following error:
Could not load library LoadLibrary error: /home/nithilan/AutowareArchitectureProposal/install/roi_cluster_fusion/lib/libroi_cluster_fusion_nodelet.so: undefined symbol: _ZTVN18roi_cluster_fusion23RoiClusterFusionNodeletE

@nik-tier4 can you clean the commit history? it looks like the PR has commits not related to it, you might need to rebase your branch on top of the latest ros2 branch from the repo

@mitsudome-r need your help to rebase this package.


Converting ChatOpenAI model to ONNX format

Feature request
Is there any way to convert ChatOpenAI models to ONNX format? I've noticed that other models can be converted to ONNX (example: https://github.com/openai/whisper/discussions/134) and I was wondering if similar logic could be applied in this case as well.
Motivation
I want to save these models in the ONNX format (a single file) so I can easily retrieve them and use them for question-answering. I want to be able to save the model as a single file in this case.
Your contribution
Not sure. I could create a PR if I'm able to succeed in this.

@naila03 You misunderstand what's happening here. OpenAI gave us an implementation of whisper, we have the weights for those models. You take the actual model and convert it to ONNX. OpenAI never released anything for GPT models, which you access via ChatOpenAI(), that can be converted to ONNX models. We simply have API wrappers and interfaces to talk to their hosted GPT models. So there is nothing we can convert into an ONNX model.

@ShantanuNair Thanks for the reply. Just to confirm that I'm understanding this correctly: I can save a whisper model but not a GPT one.


Is this gem still actively maintained?

Hi,
Firstly thanks for creating and maintaining the princely gem, it is heavily used by our business (https://github.com/YourTradebase) and we have benefited from it's creation.
I can see it's been a long time (2 years) since there has been any activity on this repo, are the maintainers still planning to actively maintain this gem? And is there any appetite to continue it's development?
If the current maintainers would like to pass the torch to someone else we would be happy to take over the continued maintenance of the gem as it forms an integral part of our business and would like to see the gem improved, maintained and kept compatible with new rails versions as they come out.
Please let me know your thoughts @modsognir @mbleigh @drnic

Any updates on this @modsognir @mbleigh @drnic ?

I do not maintain this gem anymore, can't speak for other folks with commit access 😄

$ gem owner princely
Owners for gem: princely
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
@mbleigh looks like you're qualified to add new gem owner --add <email>, and to add contributors' to this repo so they can commit to master + cut release.

@mbleigh up (see last message). I'd be glad to have commit access if that would help. Not that I'll contribute feature wise but at least be able to run this gem with latest ruby/rails versions


There are un-joinable pools on shelley_testnet

Context

Information
-

Version
node: 1.14.2, cardano-wallet bcc0ff009b4695589c107fdf21272a470b2362c0

Platform
Linux, all?

Installation
from source

There are some pools that one cannot join on shelley testnet although they are listed by the wallet:
A pool that is listed on cardano-cli shelley query stake-distribution, but wallet reports as "retired in epoch 5", still it is listed by wallet and cardano-cli in epoch 6:
68657135870b97dc43b06955e62b817a010ae29cbe0987c279a42860

Some pools that are listed by the wallet but not listed on cardano-cli shelley query stake-distribution:
d1ba638f82bb013336f321f6a410f4954ac5bbd6a6f572620fc9bd10
afdac781aac2c6e36dfdf8fb9fc8301afed7450c6b432f00e91a3f96
814c66d7d21c6e4bbe2c94eb6b2c478ad3a8628871d9918b145bbc0f
71ecd0e62138588e3fd8522e42d7685983e0274f1439f4abafa531b2

Steps to Reproduce

Join one of the pools above on shelley_testnet

Expected behavior
All pools listed by wallet should be "joinable"
Actual behavior
For all those pools we get:
Code = 500,
Message = {"code":"created_invalid_transaction","message":"That's embarrassing. It looks like I've created an invalid transaction that could not be parsed by the node.
Here's an error message that may help with debugging:
ApplyTxError [LedgerFailure (DelegsFailure (DelegateeNotRegisteredDELEG (KeyHash<PHONE_NUMBER>0b97dc43b06955e62b817a010ae29cbe0987c279a42860)))]"}

Resolution

QA

Summarizing info from Jared:
A pool retiring "in" epoch 5 will:

Disappear from the stake distribution query at the 6/7 epoch boundary
Be un-joinable at the 5/6 epoch boundary

A solution might be to use the work @jonathanknowles now is starting, and ourselves decide, in the DB, which pools to displays or not.

I suspect this issue is fixed by:

https://github.com/input-output-hk/cardano-wallet/pull/1913
https://github.com/input-output-hk/cardano-wallet/pull/1945

@piotr-iohk what do you think?

By brute force test all 268 pools on shelley testnet joinable.


Request Maintainer for specific apps

Hi
I know chocolatey have detailed manuals for how to request maintainer or apps to be available. But, for winget I only find this one (https://docs.microsoft.com/en-us/windows/package-manager/package/repository) Please advise. Thanks

@dtantono, the repository is located at https://github.com/microsoft/winget-pkgs. It is community maintained. If you would like a package to be added, you can submit a manifest, or you can create a "Help-Wanted" issue.


Make dates accessible

We do have labels for each of our own inputs, but I just realized that we don't have a matching name for the whole field label's for. I'm not sure exactly how to juggle that - can we move the label that's on the original date field, or does that break submitting the data? Should we change the field label's for to something we create ourselves? Do we need a legend to contain stuff to help the label be associated with those multiple fields? Maybe look at how checkboxes are made accessible.

Related to #214

By that, I'm guessing we don't need to associate the original date field with that group of fields, right?

I don't think so, they just need to be clearly labeled (i.e. all of the fields should still be related to the original field label somewhere, but we don't care about the original field itself)

Sorry I'm not being clear. That's the exact question I'm asking. I'm not sure we're currently associating each field with the original field label. We're associating them with their own labels - "month", "day", and "year", but I'm not sure that we're associating them with their main label, e.g. "The date you bought the house"

Ah, I see. I do think we want that; otherwise if there are multiple date inputs on a page, there will be multiple fields with the same labels ("Month", etc.), which can cause issues with accessibility tools that list all of the fields on a page and such.
I talk about bit more about how this could be done in https://github.com/SuffolkLITLab/docassemble-ALToolbox/pull/230#pullrequestreview-1780837633

The most specific section from those comments (since I think this is possibly a harder problem to solve and would rather keep the discussion in here):

I think that we could make the whole widget a fieldset, with that label becoming the legend. I manually edited that HTML in the browser tools, and it's more clearly associated with the inputs, which is great, essentially just changing the div.da-field-container-datatype-ThreePartsDate to a fieldset, and changing the label tag to a legend. My HTML looks like this:
<fieldset class="da-container da-form-group row da-field-container da-field-container-datatype-ThreePartsDate">
    <legend for="ZGF0ZV9vZl9ncmFkdWF0aW9u" class="col-md-4 col-form-label da-form-label datext-right">
        When will your high school graduation be?
    </legend>
    <div class="col-md-8 dafieldpart">
        (unchanged)
        ...
</fieldset>

I my opinion, this will require a dive into da's core code, but I'm really interested in further thoughts and discussion.
I do believe these multiple fields should be in a fieldset. The main concern I have there is that there may be things like event listeners or styles dependent on that div and its attributes. If we change that element or hide it, we risk serious side effects. For example, right now, that element or its attributes might be used to scroll to an erroring element after submit. That's only one example that might cause an explicit error.
A possible option is to wrap the whole thing, including that div in the fieldset, etc, but we still couldn't remove the div's for attribute in case that's being used in an event listener and might trigger an error without risking current or future dependencies.
If we do dive into da's core and find that it actually is flexible enough, whatever we find in there may not be stable so we'd have to watch that constantly to detect any changes in any related code in case it adds new dependencies.
To handle this upstream is also potentially complicated because upstream code doesn't really touch or interact with custom datatypes. It's possible we could create that kind of relationship, but it's likely to be complex and I already get the feeling that custom datatypes isn't a well-loved addition, so I'm not sure how likely that is to be accepted. I/we can look into that at some point, though.
Also, I'm not sure that future core development will know/remember to use whatever we implement in order to work with that abstraction. The core code tends to favor working locally as opposed to using abstractions. It does use some abstractions, but also tends to duplicate code and use what's immediately around the desired functionality. Sorry, I'm not sure how to articulate it. Future development may just interact with the element itself, making assumptions that it's there, instead of using our abstraction.
Would love to hear more thoughts on this!

The main concern I have there is that there may be things like event listeners or styles dependent on that div and its attributes.

For this specific case, none of the styles change when manually changing the div to fieldset, label to legend, and removing the for attribute from the legend in the browser, and the page still scrolls to the correct erroring element on submit with those changes. Not everything, but it all of the specific functionality you've mentioned.
More rigorously, of the classes on that div (da-container da-form-group row da-field-container), the only place that those classes are directly tied to div is a CSS ruleset for the label on a range datatype. Every other time I can see is actually generating the HTML code with that class, or a css ruleset on just the class, not a specific tag.  It's a bit harder to 100% confirm for event listeners, but most of the event listeners that I see (searching addEventListener) are in bootstrap, which is fairly well coded to work with whatever tags you use.

whatever we find in there may not be stable so we'd have to watch that constantly to detect any changes in any related code in case it adds new dependencies.

This is already the case for everything else we do on docassemble. Breaking changes are the norm in docassemble, and we already have to deal with it. I understand that these changes might encroach a bit more on what DA will change without warning, but there has never been a hard and fast abstraction boundary for these things.

A possible option is to wrap the whole thing, including that div in the fieldset, etc, but we still couldn't remove the div's for attribute in case that's being used in an event listener and might trigger an error without risking current or future dependencies.

That is a good solution as well IMO, but we do still need to remove the for attribute. It's an accessibility error to have for point to an input that's not shown on the page. I want to say event listeners that get the element by it's for attribute are relying on semantic information about the page that's no longer true, and will likely be wrong behavior themselves, but you are right to think defensively. If it's an issue, that we could make a new legend with the same text, and hide the other label.

That's a ton of legwork, thanks for diving so deep. I have a general gut feeling that messing with the DOM should be done in core as much as possible and messing with it elsewhere is fragile. We've seen that multiple times in the current CustomDataType classes we've created. That said, this kind of stuff needs to be accessible and I can see that a new relationship with custom datatypes is probably a long way off. Le sigh.
Sounds like we'll go with further downstream changes to our custom datatype DOM structure. I'll try to get to that soon, but feel free to assign yourself to it if you want to take it on sooner.
Also, I reviewed ALKiln some more with this in mind and I think this shouldn't have an impact on test functionality. We can certainly update if needed.


fix(CI): retry alert count test

Description
The Verify that alert counts API is consistent with alerts test makes numerous AlertService API calls and expects state to remain constant between those calls. That creates a potential race condition. This PR reduces the potential for flakiness with an @Retry.
Is that the reason for the flakiness in this test? Follow ROX-23466 for developments.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Here I tell how I validated my change
CI + ci-all-qa-tests
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

What potential for change do you envision between AlertService.getViolations() and countAlerts()? IIUC it's our test setup so there should be no uncontrolled violations happening.

What potential for change do you envision between AlertService.getViolations() and countAlerts()? IIUC it's our test setup so there should be no uncontrolled violations happening.

Hmm. That is a good point. I completely missed the part where the test limits the query to qadefpol* named deployments. I'll dig into the diff a bit deeper.

What potential for change do you envision between AlertService.getViolations() and countAlerts()? IIUC it's our test setup so there should be no uncontrolled violations happening.

Hmm. That is a good point. I completely missed the part where the test limits the query to qadefpol* named deployments. I'll dig into the diff a bit deeper.

My latest theory is that it has something to do timing related to the earlier test that temporarily enables some policies. One of those "Curl in Image" still shows up in the violations that are compared to the alertsCount.

something to do timing related to the earlier test

Yeah, this sounds more likely. So I'd prefer us figuring out how to make the effects of the previous test(s) deterministic in whatever way so we can rely on them—or the absence of them—in this test.


Reuse existing roles

When migrating to ldap2pg we often encounter failure on CREATE ROLE when a role already exists in database. This PR try to solve this.
A new setting managed_roles_query. This query should be the first solution for narrowing scope of ldap2pg. This query returns the flat list of roles ldap2pg is allowed to drop or revoke (for heritage).
ldap2pg allways inspect all roles in database using roles_query, as usual. This query inspect membership and options.
When a role is required by LDAP, ldap2pg checks in roles_query, not in managed_roles_query. If a role exists in roles_query but not in managed_roles_query a warn is issued. If configured properly, an ALTER or a GRANT should make the role appear in managed_roles_query on next run.
I have a big update on sample ldap2pg.yml with a more real case. I'll review fixtures and func tests according.

Codecov Report

Merging #194 into master will decrease coverage by 0.07%.
The diff coverage is 97.43%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
- Coverage     100%   99.92%   -0.08%
==========================================
  Files          11       11
  Lines        1351     1371      +20
==========================================
+ Hits         1351     1370      +19
- Misses          0        1       +1

Impacted Files
Coverage Δ

ldap2pg/script.py
100% <ø> (ø)
:arrow_up:

ldap2pg/config.py
100% <ø> (ø)
:arrow_up:

ldap2pg/role.py
100% <100%> (ø)
:arrow_up:

ldap2pg/defaults.py
100% <100%> (ø)
:arrow_up:

ldap2pg/manager.py
99.7% <97.05%> (-0.3%)
:arrow_down:

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 8d4c33d...bade067. Read the comment docs.


Unmanaged current branch notification is shown too... proactively

Two problems on this screenshot:

notification doesn't expire once the branch is added (it's been added via git machete github checkout-prs, which adds the branch to branch layout almost instantly after checking out... maybe some delay in how long the current branch is checked out would be useful)
notification is shown twice for the same branch

Yeah, I'm getting it all the time, not good ☹

That is interesting 🤔
I have just tried two things:

checkout a branch that is unmanaged from the Git Log
executing git machete github checkout-prs <pr-no> (from both the IDE terminal and the "external" terminal)

The notification appeared only once for the first case which is expected (in particular it has not been shown in the second case which is expected too).
Running the version from the current develop on macOS.

Are you guys both using Linux?
Can you please provide specific steps to reproduce the issue?

Linux indeed... such behavior might unfortunately differ b/w systems (b/c the details of how IntelliJ is watching the filesystem might differ) ☹
In non-IntelliJ terminal, run git machete add lol/xd/foo/bar. Open IntelliJ. Status reloads, but the notification shows up.
If it doesn't show up as easily as that on Mac... then indeed it might a Linux-specific stuff ☹

ok, I can try it on ubuntu tomorrow (I ve got everything my friend - ubuntu, macOS, windows)

ok, I ve tested the case described in your anser (2) - I confirm, the unexpected behavior happens on both linux (ubuntu) and macOS.
However, I did not encounter that one while running the git machete command from intellij's terminal (on both systems). The issue remains anyway for non-IntelliJ terminal (on both systems).
Lemme see what can be done about it.
If you have more of specific scenarios of incorrect behavior let me know. In particular you have mentioned a situation when two notification are shown at once - give me the scenario for that.


Fix header gap

Current theme has no gap between first entry and header when used without after_dark_title. This fixes gives the first entry a gap to make it look better.

Before
After

Thanks!


openupm install causes error on resolving dependencies

One meta file was missing in the glTF repository.
The problem has been fixed.
https://github.com/styly-dev/com.styly.package-collection-spatial-layer/releases/tag/v1.0.11


Changes

-Added a speed slider
-Added 2 buttons that respectively add 100 squares to each side
-Added a reset game button
-Added a counter that shows what % of the game is controlled by which side
-Changed background
This was all done with AI, I am not a good coder lol.

this is so cool


Publishing to Open VSX Marketplace

Is your feature request related to a problem? Please describe.
I'm using VSCodium, and it comes with Open VSX marketplace instead of VS Code Marketplace. So unfortunately, this (awesome) extension isn't available to us.
Describe the solution you'd like
It would be awesome if you'd be willing to spend some time to publish it to Open VSX alongside VS Code Marketplace 🙂
Describe alternatives you've considered
As I don't want to use Microsoft's VS Code Marketplace, I've installed it as vsix package, but it's really annoying for updates...
Additional context
Here is some doc from Open VSX about publishing : https://github.com/eclipse/openvsx/wiki/Publishing-Extensions.
By the way, thanks for this extension, it's awesome!

Thanks for the kind words. I'll look into doing this when I get a chance this week 👍

Thanks for the great extension @heybourn . I created a pull request to have it added to open-vsx. You can still  set up direct submission to the marketplace, but this will take care of the issue in the meantime. Feel free to comment on the pull request if you'd rather this didn't happen.
https://github.com/open-vsx/publish-extensions/pull/431


Generic binary executor Task

Once we have a generic task, we can use a recipe to specify the command and parameters.

To add a little more detail here:  This would mean that the task would not need to implement the run() method because the generic task would basically just run the TurbiniaTask.execute() with the parameters defined in the recipe that matches the generic TASK_CONFIG parameter names.


Steam profile names should be click-able

It'd be nice to be able to click on a person's steam name to take you to their Steam profile

Was this closed because it's been done, or because it won't be done?

done, sorry I didn't put the number

np, was just wondering


Cannot deploy template with Transforms (requires capabilities: [CAPABILITY_AUTO_EXPAND]

Describe the bug
When using ControlTower to deploy any template that has a serverless application (which requires Transform) The pipeline failed at Step Function phrase
To Reproduce
Deploy any CF template containing "Type: AWS::Serverless::Application" resource type that requires you to declare  "Transform: 'AWS::Serverless-2016-10-31' on the CF template" from ControlTower
Expected behavior
The Serverless Application should have gotten deployed
Please complete the following information about the solution:

[ ] Version: 2.0.0

[ ] Region: us-east-1

[ ] Was the solution modified from the version published on this repository?:  We are still using version 2.0.0

[ ] If the answer to the previous question was yes, are the changes available on GitHub?: Yes your 2.0.0 version

[ ] Have you checked your service quotas for the sevices this solution uses?: Not relate to Quota

[ ] Were there any errors in the CloudWatch Logs?: Error in Stepfunction

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context
Add any other context about the problem here.

@sboonyakiatACR the support for capability was added in v2.2.0. Could you use CFCT's latest version v2.3.0 and retry your customization request?


Remove duplicate path folder

bruh there were 2 separate folders

Fixed by a different PR that also fixed this issue and also made it clear that it's for Intel GPU's only since we've had a few people that tried using it with an Intel CPU.


Dependency required: 'me 'CensysIPv4' from 'censys.search'

Hello,
I have no intention of make cross posting, I've continue a topic in recon-ng (#149) with this issue because  I'm not sure if this problem is with recon-ng, python-censys or python 3.10. I'm running Recon-ng in Archlinux. All the dependencies installed with pacman, and recon-ng compiled from github. Python-censys version 2.1.2.
This is the output of the modules that use censys:
Module 'recon/netblocks-hosts/censys_netblock' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/netblocks-companies/censys_netblock_company' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/hosts-hosts/censys_hostname' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/hosts-hosts/censys_query' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/domains-hosts/censys_domain' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/companies-hosts/censys_org' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/companies-contacts/censys_email_address' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Module 'recon/domains-companies/censys_companies' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3.10/site-packages/censys/search/__init__.py)'.

Thanks
Originally posted by @saltasatelites in https://github.com/censys/censys-recon-ng/issues/4#issuecomment-1021526108

Umm you can check to see if "me" and "CensusIpv4" are available pip3 installations on Python 3. Just Google it to see if it's a Python dependency.
If it is then just run the pip3 install me. Or whateber command and run the module again.

That was the first I tried, but I didn't find nothing. Instead the manual of censys python https://censys-python.readthedocs.io/_/downloads/en/v1.0.1/pdf/ in page 5 says
"Python class objects must be initialized for each resource index (IPv4 addresses, Websites, and Certificates).
• CensysIPv4
• CensysWebsites
• CensysCertificates
I've my api and secret key installed, and I'm playing around with this, but my python knowledge aren't the best..

Okay, I got you now. Most likely, this will take a code change. The file in /usr/lib/python3.10/site-packages/censys/search/init.py , the api call needs to be updated to retrieve the objects for "me & CensusIpv4," I don't have the time to look at it currently but if anyone can pick up from this post to update that, it may not be that much work.  Worst case scenario, they would have to check the API called from that script and test on the browser to see the output from the API call template and then map the objects on python.

Hi @saltasatelites and @RafatKhandaker,
We need to switch the module to use the CensysHosts index that implements the new Censys Search v2 API. This requires a complete rewrite and will take some time. Thank you for your patience.

Ok, thanks for your answer.

@saltasatelites I have upgraded the modules to fix this error, I have also submitted a PR to the recon-ng-marketplace. You are however able to upgrade using the install.sh found in this project. I will close this issue when it is merged in.

Ok, thanks.  Any important info I tell you.

still has that error for me
[!] Module 'recon/domains-companies/censys_companies' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
[!] Module 'recon/netblocks-companies/censys_netblock_company' disabled. Dependency required: 'me 'CensysIPv4' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
a few more like those ones and then this one
[!] Module 'recon/companies-domains/censys_subdomains' disabled. Dependency required: 'me 'CensysCertificates' from 'censys.search' (/usr/lib/python3/dist-packages/censys/search/init.py)'.
i followed instructions here and no change.

[!] Module 'recon/companies-domains/censys_subdomains' disabled. Dependency required: 'me 'CensysCertificates' from 'censys.search' (/home/user/.local/lib/python3.11/site-packages/censys/search/init.py)'.
was a fix ever found for this?


WFCORE-6347 Consolidate ResourceServiceValueRegistry and ServiceValueRegistry

https://issues.redhat.com/browse/WFCORE-6347

Thanks @pferraro


Not displaying td content

When you create a table having a cell with the text '0', then the cell will empty.
Example:

    0

You will get an empty cell. An easy workaround is to append a whitespace to the content (i.e. 0 ).
Btw, thank you for fixing the page orientation bug so fast.

This bug has been fixed already in commit b1fe982 (19 december 2011). This commit has been merged in master, 1.1.x and 1.0.x branches, but not in zf1-backend. You should update PHPPdf version.


Safe creation transaction details

We want to display additional information about the Safe creation transaction:

Creation date/time
Tx hash of Safe creation transaction
Initiator of Safe creation

We need an endpoint that provides this information for a given Safe address
Related to https://github.com/gnosis/safe-react/issues/554

This can be a separate endpoint for now

#Endpoint proposal
URL
GET /api/v1/safes//creation/
Response
created: "<iso 8601 datetime>",
transactionHash: "<keccak-hash>",
creator: "<checksummed-address>"


Build failed: Link Iterable_React_Native_SDK (x86_64)

I'm getting this error when trying to build our iOS app:
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTEventEmitter", referenced from:
      type metadata for Iterable_React_Native_SDK.ReactIterableAPI in ReactIterableAPI.o
  "_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
      _OBJC_METACLASS_$_ReactIterableAPI in ReactIterableAPI.o
  "_RCTRegisterModule", referenced from:
      _initialize_ReactIterableAPI in RNIterableAPI.o
ld: symbol(s) not found for architecture x86_64

Details on my setup:

Xcode 12.4 (12D4e)
React Native 0.63.3
Iterable-React-Native-SDK (1.1.0-beta1)
Iterable-iOS-SDK (6.3.0-beta2)

I tried cleaning and removing derived data, without success so far. Any help appreciated!

Hi @flochtililoch, thanks for reporting! Hmm. Without being able to see more of your setup, I'm wondering if something like this will fix your problem: https://stackoverflow.com/questions/65130609/how-to-solve-undefined-symbols-for-architecture-x86-64-on-nsscanner-swift-pod
Is the project itself fully in Objective-C or is there also a Swift bridging header? We've seen similar errors related to that as well, which in that case, all you'd have to do is create an empty Swift file and Xcode will prompt you to add a bridging header file after.

Hi @roninopf, thanks for your reply.
I tried adding a bridging header without success. I then decided to try and reproduce the issue with a stripped down RN app, to see which of our other dependencies could create the problem. We also use HyperTrack SDK in our app, and it appear to conflict with Iterable.
Repro case is in this repo:

I started from scratch with a new RN app (0.63.3) and disabled Flipper in order to get it to build ok on iOS.
then installed Iterable RN SDK - iOS still builds ok
then installed HyperTrack RN SDK - iOS fails to build with same error in the issue description:

Would you have a chance to take another look?

@flochtililoch I'll try to get to it ASAP! Thanks for the steps.
Have you also tried the fix mentioned here as well? https://github.com/Iterable/react-native-sdk/issues/86#issuecomment-744829518
I'm not sure it'll help since you're trying to even just build and not archive yet, but our past experience makes me think that there is definitely some kind of collision between search paths or target inclusion going on.

The root issue of this compilation error appears the same as described in https://github.com/itinance/react-native-fs/issues/964
I tried locally to amend the Iterable-React-Native.podspec to use React-Core instead of React, then ran pod install again and compiler is happy now.

@flochtililoch Interesting, thanks for the solve! Sounds like another thing to add to the RN SDK documentation list.


feat: moved interaction logic to its own interface/class

Moved the printer interaction logic away from the PlayerInteraction class to its own class that can be inherited from other components. This keeps everything clean and modular.
GameObjects to implement interactivity must have the Interact tag and a component that inherits the IInteractable interface and implements a public void Interact( SceneTraceResult tr, GameObject player ) function.

This makes sense, as for PlayerInteraction.cs could this be merged into a new DarkRP CharacterController.cs instead of it inheriting Walkers CharacterController. This will save stuff breaking if Facepunch are to update or depreciate the Walker CharacterController and allow expansion rather than creating more components to handle more inputs.

@The-Neco I think the PlayerInteraction.cs have no dependencies with the walker player controller from facepunch ( except maybe the camera var idk ) but even if they make some changes to it, it shouldn't break anything and at the worst case I will just use another way to get the local camera. But that may be a good idea for the future tho, because we will probably not depend on the walker character controller too much time because we will need at some point to add another camera for third person.


Expand reduceBool and add reduceSlice

resolves #195
I didn't cover that with new tests yet, going to do it soon

Current implementation doesn't actually work and throws errors on compiling new test cases.
I'll investigate the problem and try to fix it.

The issue here is that constant evaluation is performed on a non-typechecked AST. So when you call getExpType to dispatch on the type of == / != operators, there is no actual type information. The proper fix here would be to refactor the compiler to perform constant evaluation after typechecking (and to actually do this refactoring we need a new type describing typed ASTs).

Looks like this PR should be closed now? Because the architecture of the constant evaluator has changed a lot in #432. Of course, we can still improve a lot of things in the constant evaluator, adding support for slices would be especially nice.

yes, right


Build wheel

ssort has no wheel, so pip will always build a wheel from scratch. This is fine normally but not if using QEmu to build for another architecture, such as in CI. Since the package is written in pure Python, only a single wheel should need to be built.
If possible, could a wheel please be built?

I was pretty sure I had fixed this, but apparently PR was never merged.  Fixed in version 0.12.1, which I have just pushed.  Thank you for bringing this to my attention.


backlight-acpi module does not update as I change brightness

I used the original config file, modified a few values for padding, and then replaced xbacklight with backlight-acpi, as xbacklight kept returning an error.
However backlight-acpi only shows the brightness as it was when I launched polybar. If I change the brightness, it doesn't update, I have to physically kill polybar and relaunch it for it to update.

Found out a way to fix it - Turns out I have to replace the "card" under [module/backlight-acpi] with acpi_video0.


in which order these postcss plugins shall be loaded ?

Hi,
i'm using these:
postcssImport
postcssUrl
autoprefixer
csswring
I'm trying to add postcss-flexbugs-fixes but i'm not sure if autoprefixer, or csswring, are going to screw it up or what.
Could you help me on this ?

I'm doing it there: https://github.com/kapouer/postinstall-css/blob/master/index.js

I have no idea as well.. I guess you should write a small css file and try different approaches to see what is the best result.


MSBuild 16.2p1 seems to have version <IP_ADDRESS>

I updated my VS 2019 int preview this morning (to 16.2p1), but I'm now seeing this when I try to restore and build Roslyn:
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.2.0-pre.1.0
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************

D:\repos\roslyn>Restore.cmd
Roslyn.sln:
Developer Command Prompt for VS 16.0 is not recent enough. Please upgrade to 16.0 or build from a plain CMD window

This command prompt is newer than 16.0, so it should be "recent enough".
This message comes from https://github.com/dotnet/roslyn/blob/master/eng/common/tools.ps1
I think the problem stems from MSBuild.exe :
PS D:\repos\roslyn> $msbuildCmd = Get-Command "msbuild.exe" -ErrorAction SilentlyContinue
PS D:\repos\roslyn> $msbuildCmd

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     MSBuild.exe                                        <IP_ADDRESS>    C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\\MSBuild\Current\Bin\MSBuild.exe

A few strange things:

looking at the file details, the version numbers seem fine:

running msbuild also produces a proper version number:

>"C:\Program Files (x86)\Microsoft Visual Studio\2019\IntPreview\\MSBuild\Current\Bin\MSBuild.exe"
Microsoft (R) Build Engine version 16.2.0-preview.19264.2+c3389964c for .NET Framework

Duplicate of #4380


Alter the order of preference so that PRs are selected ahead of Issues

Change the action so that it will look for PRs before it looks for issues when resolving an object that matches a label.

Apologies, meant to raise the issue on a fork.


CardForm ready event not being emitted after upgrading from 4.8.1 -> 4.8.2

I'm including the card form component inside a Lit component, so my use-case is probably different from the standard approaches. Also worth nothing, prior to this not working, I was listening for this event to bubble up from my shadow DOM and not attaching an event listener to the specific card form component. I noticed there were situations where the ready event would fire before my listener could get attached. This code snippet works in 4.8.1 but not 4.8.2
import { defineCustomElement } from<EMAIL_ADDRESS>defineCustomElement();

@customElement('my-wrapper')
export class MyWrapper extends LitElement {
    async connectedCallback() {
      super.connectedCallback();

      this.shadowRoot?.addEventListener("ready", () => {
        this.loadingCardElement = false;
      });

      await this.doMyOtherStuff();
    }
}

Hey @daltonconley - thanks for reporting this to us!
I just pushed a new patch release that should resolve this issue. Please update to 4.12.2 to test this out - you should be able to catch those ready events now.


file browser width Display problem under inline-form

Use the following code:
<form action="" class="inline-form">
        <input style="min-width: 400px" type="file" data-role="file" data-button-title="">
        <button class="button success">上传</button>
</form>

The file browser display not right, as below:

The file browser component is so small!
It's css showed as below:

create a class with min-width property and add it to component with attribute data-cls-component


Provide a way to run all tests.

So we have:
cargo test

To run all but ignored tests. Then:
cargo test -- --ignored

To run only ignored tests.
But as far as I can see there is no way to run all tests in parallel short of:
cargo test & cargo test -- --ignored

Which isn't ideal for scripting and is not convenient.
How about?
cargo test -- --all

Cheers

(There's a typo in your last suggestion, you mean cargo test -- --all, no run)
Seeing as cargo test just delegates to libtest (rustc's built in unit-test and micro-benchmarking framework) should this issue not be reported upstream to rust-lang/rust (and this issue here labeled [blocked])?

There's a typo

Thanks, fixed.

should this issue not be reported upstream

Can do. I didn't know that testing was delegated.

Me either. I found out while working on https://github.com/rust-lang/cargo/pull/5341.

Thanks @dwijnand!
It is indeed the case that --ignored is not handled by Cargo today, so closing this in favor of upstream report!

Because I landed here using google and it might help other people (or future me ^^):
cargo test -- --include-ignored


Port betterbuttons to framework

This adds Previous, Next and Add buttons to the edit form. It should also retain the search filters from the grid field where it was opened from.
Fixes #436

The changes to GridFieldPaginator are likely incompatible with the #1 installed module in the SS ecosystem, gridfieldextensions.
We haven't broken any APIs, so this is safe to merge into a minor release, but I think we should at least check in with the maintainers to let them know about this change so they can issue a 4.3 compatible release. CC @robbieaverill @NightJar

Awesome. Tests were failing because $state->getData('GridFieldPaginator') wasn't always defined. Have put a guard in against that.
Other minor points:

Consistency with single/double quotes. Prefer single, unless doing variable interpolation
Private members should be used sparingly, as they're antithetical to extensibility.
Don't assume config vars are set ($formConfig['showAdd']), as it tightly couples your code to the config.

Merge on green.

Consistency with single/double quotes. Prefer single, unless doing variable interpolation

We should add this to phpcs rules. Related: https://github.com/silverstripe/silverstripe-framework/issues/8343


check for executables broken on mounted volumes in docker containers on M1 macs

Docker for M1 macs uses gRPC FUSE by default to mount shared volumes which messes up the following chain:

access system call from within a docker container incorrectly identifies all shared volume files as executable
os.access in python inherits this
identify.identify.tag_from_path inherits this

Downstream from this are a lot of pre-commit hooks - e.g. check_executables_have_shebangs:

pre_commit.commands.run.Classifier.by_types
files given to pre_commit_hooks.check_executables_have_shebangs.main

This likely affects many other hooks that depend on the file type filtering.
The issue has been raised on the docker side, and there is a partial work-around (that I have found to cause docker to freeze frequently to the point of being unusable), but it is unclear when/whether it will ultimately be resolved.
Since many hooks don't install natively on M1 macs yet (often even with rosetta 2), it may not be uncommon for folks to run pre-commit from inside a docker image on a shared volume and encounter this issue.
I noticed that the sys.platform == "win32" branch of the function pre_commit_hooks.check_executables_have_shebangs.check_executables() works correctly on my setup and st_modes on files appear to be set and detected correctly:
import os
from identify.identify import tags_from_path
os.access("README.md", os.X_OK), os.access("scripts/pre-commit-check", os.X_OK)
#  (True, # wrong
#   True)

tags_from_path("README.md"), tags_from_path("scripts/pre-commit-check")
#  ({'plain-text', 'markdown', 'text', 'file', 'executable'},  # wrong
#   {'bash', 'executable', 'file', 'shell', 'text'})

oct(os.stat("README.md").st_mode), oct(os.stat("scripts/pre-commit-check").st_mode)
#  ('0o100600', '0o100755')  # correct

this is a bug in docker for mac and should not be fixed here

Thanks - fair enough!
It's a moot point in that case, but out of curiosity, @chriskuehl, is there a reason you use os.access to check for executables? In the code for this you have retrieved the st_mode directly above this check and used it to determine whether the file is a directory, but the switch to os.access just to check if it's executable.
I.e. this line
executable = os.access(path, os.X_OK)

could have been:
executable = bool(mode & 0o111)

or more verbosely:
executable = bool(mode & (stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH))

I'm not super familiar, but access and stat also test different things - the former tests the effective permissions (depending on the current user, particularly if they are root) and the later tests for the file system permissions (see access(2) and stat(2)). From the access(2) page:

[access] answers a slightly different question: "(assuming I'm a setuid binary) can the user who invoked me read/write/execute this file?"

@matyastamas if you look at the blame, the stat call is from 2 months ago and the access call is from 4 years ago.  access was chosen because it is (1) simpler and (2) more reliable than looking at stat modes

Thanks for the quick responses!


Version 0.9.16

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Updating build system to meson
Skipping 0.9.15 because it was trying to link against libpython causing issues on OSX build.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Remove duplicated example

Removed duplicated Terminal Homepage (Preact + Typescript + Babel) and applied Prettier.

Nice! thanks for catching & fixing!


GD-375: Add code coverage metrixs

Just started using the library and really appreciate it.  One thing I think would be great is a code coverage feature to just show which lines you haven't tested in each file and any if branches you haven't gone through.

Hi @CameronJett
I have to agree with you absolutely, I would also like to have this feature. Unfortunately, there is no way to achieve this with the conventional engine means. If you know more or know a possibility I would be grateful for some hints.

I'm gonna try and look into how code coverage tools gather the information about what branches and lines are tested.  I think if there is a way to capture that data it can create an output folder with an html showing your files and lines.  It does sound like a ton of work so I just wanted to throw it out as a great feature.

there is current no easy way to du this, close and put into ice box


fix light host rebalance and add unit test

moveLimit parameter added to limit tasks moved to light hosts after rebalance. Also fixed unit test (overloaded host rebalance) to avoid moving tasks to readonly hosts.

Haven't reviewed everything yet, but MoveAssignmentList.addAll doesn't update bytesUsed as you might have assumed, because the base implementation of that method in ArrayList doesn't use add.

I'm good with the code now. :)

All my concerns are fixed. :)