RFC: Ideas for what to include in a user tutorial

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
In addition to the information we already have in the online documentation, it would be helpful to write a tutorial guiding a user through the various portions of DataFusion and how to get started. This issue is to collect ideas for what people would like to see in such a tutorial
Describe the solution you'd like
Please comment with topics that should be covered.
Additional context
Things I would like to see (unsorted list)

Creating a small dataframe from a pyarrow array
Reading/Writing data from/to csv and parquet
Zero copy import of data from pyarrow
Transferring DataFrame to/from pandas/polars
Displaying data via show(), repr_html(), and great tables
Basic column selection, including indexing into fields and element for structs and arrays
Performing joins
Performing window and aggregate functions, including how default and custom window frames work
Integrating with deltalake
Using object store from S3, Google Cloud, Azure
Unnesting columns
Making structs and arrays
Chaining DataFrame operations with transform (PR in review)
Doing a variety of conditional operations (both case and when without base statement)
Examples of string manipulation
Doing date time conversion
Writing a UDF (advanced topic: writing a rust UDF and using with datafusion-python)

Please add to the list what you would like to see!

Great ideas!
I'm curious about:

Writing a UDF (advanced topic: writing a rust UDF and using with datafusion-python)
Would this involve wrapping the rust UDF with PyO3?

Reading/Writing data from/to csv and parquet
I would also like to see how to read csv from HTTP directly

Some other ideas:

Integration with numpy
UDF with numba acceleration (if possible?)

Thanks! To answer your immediate question, I have a draft blog post about how you use rust UDFs here: https://github.com/timsaucer/datafusion-site/blob/tsaucer/python-udf-approaches/_posts/2024-08-06-datafusion-python-udf-comparisons.md I plan on publishing that soon-ish. I want to get a few things done with DF41 before we release it.

Thanks @timsaucer!

There are a lot of suggestions in this twitter post from @ChristianCasazza
https://x.com/casazzany/status/1860002216389550489?s=46


Implement MyMenteesView Component for Mentor Dashboard

Purpose
The purpose of this PR is to address issue #20 by implementing the functionality of the MyMenteesView component.
Goals
Implement a new component to manage and display mentee applications.
Ensure responsive design for optimal viewing on both mobile and desktop devices.
Enhance user experience by providing detailed applicant information in a user-friendly layout.
Address specific issues outlined in #20 - Mentor Dashboard - MyMenteesView
Approach
The MyMentees component was developed to manage mentee applications.
Implemented conditional rendering to display applicant details upon selection.
Screenshots

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Related PRs

Test environment

Learning

Good job @udeesha-kularathne!


client DeleteUserFromGroup is using the wrong path

Should be a DELETE on /api/users/<uid>/group/<gid> but it is trying to do a DELETE on the add group URL.

done


Fix Time to Calendar conversion in AbstractXMLGregorianCalendarAdapter

AbstractXMLGregorianCalendarAdapter delegates to concrete implementations for setting varying combinations of fields of Date on an XMLGregorianCalendar.
Two implementations, namely

XMLGregorianCalendarAsTime and
XMLGregorianCalendarAsDateTime
also set milliseconds on the target calendar.

This is done with this line of code:
calendar.setMillisecond((int) (date.getTime() % 1000));
The problem here is, that the value resulting from calling date.getTime() may be negative in cases where date is before the beginning of 1970-01-01 (possibly OS dependent).
This will leave the modulo of the negative value also negative and cause an IllegalArgumentException as setMillisecond is called with that value.
A possible fix might look as follows:
int msecs = (int) (date.getTime() % 1000);
calendar.setMillisecond(msecs >= 0 ? msecs : msecs + 1000);

I'm not actively develop this project anymore but would accept a PR.


Kong Docker postgres migration job cannot login into Azure Postgres service

Summary
Kong could not migrate Postgres Database placed in Azure as a service because of a invalid authentication format
The Problem here seems like the mandatory format of the username which includes a @ symbol which is maybe not parsed well from the scripts.
Kong Ingress controller version
2.1
Kong or Kong Enterprise version

Kubernetes version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.8", GitCommit:"73ec19bdfc6008cd3ce6de96c663f70a69e2b8fc", GitTreeState:"clean", BuildDate:"2020-09-17T04:17:08Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
Environment

Cloud provider or hardware configuration: Azure

OS (e.g. from /etc/os-release):
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Kernel (e.g. uname -a): Linux aks-akspoolmin-35064155-vmss000000 5.4.0-1031-azure #32~18.04.1-Ubuntu SMP Tue Oct 6 10:03:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Install tools:

Others:

What happened
2020-10-24T04:05:16.080913975Z Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: FATAL: Invalid Username specified. Please check the Username and retry connection. The Username should be in username@hostname format.
2020-10-24T04:05:16.080959375Z
2020-10-24T04:05:16.080963275Z   Run with --v (verbose) or --vv (debug) for more details
Expected behavior
Migrating the Database - Login access
Steps To Reproduce

Create Azure Postgresql Database
Run Kong Helm chart against it
Check out the migration job which produce the error

env:
  database: postgres
  pg_username: "kong%40kong-db" # I tried to mask the '@'
  pg_database: kong-db
  # pg_host: SET BY ANSIBLE AT RUNTIME
  pg_password: !vault |
    $ANSIBLE_VAULT;1.1;AES256
<PHONE_NUMBER>6630643032616566313165643039643238366639646234363836643533333031363531
<PHONE_NUMBER>383537613930376438666337333037646435330a616339313233393064353831613838
<PHONE_NUMBER>6134356438353362663262623264643431653461376133396162623664303661636433
<PHONE_NUMBER>623461330a323662333038353237633734623033393761313966306635386434333935
<PHONE_NUMBER>6330346338303730386263333566303963306535613134353231643138363036383036
<PHONE_NUMBER>3637373663373864363531386431343332663766313165623237363034623938336535
<PHONE_NUMBER>61343064376339373139303635
  nginx_worker_processes: "1"
  proxy_access_log: /dev/stdout
  admin_access_log: /dev/stdout
  admin_gui_access_log: /dev/stdout
  portal_api_access_log: /dev/stdout
  proxy_error_log: /dev/stderr
  admin_error_log: /dev/stderr
  admin_gui_error_log: /dev/stderr
  portal_api_error_log: /dev/stderr
  prefix: /kong_prefix/

I found out that the Problem lies in 'kong start'
bash-5.0$ env
KONG_PG_DATABASE=kong-db
<EMAIL_ADDRESS>HOSTNAME=4561803c9d1c
KONG_NGINX_DAEMON=off
ASSET=ce
PWD=/
KONG_VERSION=2.1.4
KONG_PG_PASSWORD=*******
HOME=/home/kong
TERM=xterm
SHLVL=1
KONG_PG_HOST=euris-dbms.postgres.database.azure.com
KONG_DATABASE=postgres
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/env
bash-5.0$ kong start --vv
2020/10/26 12:56:58 [verbose] Kong: 2.1.4
2020/10/26 12:56:58 [debug] ngx_lua: 10015
2020/10/26 12:56:58 [debug] nginx: 1015008
2020/10/26 12:56:58 [debug] Lua: LuaJIT 2.1.0-beta3
2020/10/26 12:56:58 [verbose] no config file found at /etc/kong/kong.conf
2020/10/26 12:56:58 [verbose] no config file found at /etc/kong.conf
2020/10/26 12:56:58 [verbose] no config file, skip loading
2020/10/26 12:56:58 [debug] reading environment variables
2020/10/26 12:56:58 [debug] KONG_PG_DATABASE ENV found with "kong-db"
2020/10/26 12:56:58 [debug] KONG_PG_HOST ENV found with "euris-dbms.postgres.database.azure.com"
2020/10/26 12:56:58 [debug] KONG_DATABASE ENV found with "postgres"
2020/10/26 12:56:58 [debug] KONG_PG_PASSWORD ENV found with "******"
2020/10/26 12:56:58 [debug] KONG_NGINX_DAEMON ENV found with "off"
2020/10/26 12:56:58 [debug] admin_access_log = "logs/admin_access.log"
2020/10/26 12:56:58 [debug] admin_error_log = "logs/error.log"
2020/10/26 12:56:58 [debug] admin_listen = {"<IP_ADDRESS>:8001 reuseport backlog=16384","<IP_ADDRESS>:8444 http2 ssl reuseport backlog=16384"}
2020/10/26 12:56:58 [debug] anonymous_reports = true
2020/10/26 12:56:58 [debug] cassandra_contact_points = {"<IP_ADDRESS>"}
2020/10/26 12:56:58 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2020/10/26 12:56:58 [debug] cassandra_keyspace = "kong"
2020/10/26 12:56:58 [debug] cassandra_lb_policy = "RequestRoundRobin"
2020/10/26 12:56:58 [debug] cassandra_port = 9042
2020/10/26 12:56:58 [debug] cassandra_read_consistency = "ONE"
2020/10/26 12:56:58 [debug] cassandra_refresh_frequency = 60
2020/10/26 12:56:58 [debug] cassandra_repl_factor = 1
2020/10/26 12:56:58 [debug] cassandra_repl_strategy = "SimpleStrategy"
2020/10/26 12:56:58 [debug] cassandra_schema_consensus_timeout = 10000
2020/10/26 12:56:58 [debug] cassandra_ssl = false
2020/10/26 12:56:58 [debug] cassandra_ssl_verify = false
2020/10/26 12:56:58 [debug] cassandra_timeout = 5000
2020/10/26 12:56:58 [debug] cassandra_username = "kong"
2020/10/26 12:56:58 [debug] cassandra_write_consistency = "ONE"
2020/10/26 12:56:58 [debug] client_body_buffer_size = "8k"
2020/10/26 12:56:58 [debug] client_max_body_size = "0"
2020/10/26 12:56:58 [debug] client_ssl = false
2020/10/26 12:56:58 [debug] cluster_control_plane = "<IP_ADDRESS>:8005"
2020/10/26 12:56:58 [debug] cluster_listen = {"<IP_ADDRESS>:8005"}
2020/10/26 12:56:58 [debug] cluster_mtls = "shared"
2020/10/26 12:56:58 [debug] database = "postgres"
2020/10/26 12:56:58 [debug] db_cache_ttl = 0
2020/10/26 12:56:58 [debug] db_cache_warmup_entities = {"services","plugins"}
2020/10/26 12:56:58 [debug] db_resurrect_ttl = 30
2020/10/26 12:56:58 [debug] db_update_frequency = 5
2020/10/26 12:56:58 [debug] db_update_propagation = 0
2020/10/26 12:56:58 [debug] dns_error_ttl = 1
2020/10/26 12:56:58 [debug] dns_hostsfile = "/etc/hosts"
2020/10/26 12:56:58 [debug] dns_no_sync = false
2020/10/26 12:56:58 [debug] dns_not_found_ttl = 30
2020/10/26 12:56:58 [debug] dns_order = {"LAST","SRV","A","CNAME"}
2020/10/26 12:56:58 [debug] dns_resolver = {}
2020/10/26 12:56:58 [debug] dns_stale_ttl = 4
2020/10/26 12:56:58 [debug] error_default_type = "text/plain"
2020/10/26 12:56:58 [debug] go_plugins_dir = "off"
2020/10/26 12:56:58 [debug] go_pluginserver_exe = "/usr/local/bin/go-pluginserver"
2020/10/26 12:56:58 [debug] headers = {"server_tokens","latency_tokens"}
2020/10/26 12:56:58 [debug] host_ports = {}
2020/10/26 12:56:58 [debug] kic = false
2020/10/26 12:56:58 [debug] log_level = "notice"
2020/10/26 12:56:58 [debug] lua_package_cpath = ""
2020/10/26 12:56:58 [debug] lua_package_path = "./?.lua;./?/init.lua;"
2020/10/26 12:56:58 [debug] lua_socket_pool_size = 30
2020/10/26 12:56:58 [debug] lua_ssl_verify_depth = 1
2020/10/26 12:56:58 [debug] mem_cache_size = "128m"
2020/10/26 12:56:58 [debug] nginx_admin_directives = {}
2020/10/26 12:56:58 [debug] nginx_daemon = "off"
2020/10/26 12:56:58 [debug] nginx_events_directives = {{name="worker_connections",value="auto"},{name="multi_accept",value="on"}}
2020/10/26 12:56:58 [debug] nginx_events_multi_accept = "on"
2020/10/26 12:56:58 [debug] nginx_events_worker_connections = "auto"
2020/10/26 12:56:58 [debug] nginx_http_client_body_buffer_size = "8k"
2020/10/26 12:56:58 [debug] nginx_http_client_max_body_size = "0"
2020/10/26 12:56:58 [debug] nginx_http_directives = {{name="client_max_body_size",value="0"},{name="ssl_prefer_server_ciphers",value="off"},{name="client_body_buffer_size",value="8k"},{name="ssl_protocols",value="TLSv1.2 TLSv1.3"},{name="ssl_session_tickets",value="on"},{name="ssl_session_timeout",value="1d"}}
2020/10/26 12:56:58 [debug] nginx_http_ssl_prefer_server_ciphers = "off"
2020/10/26 12:56:58 [debug] nginx_http_ssl_protocols = "TLSv1.2 TLSv1.3"
2020/10/26 12:56:58 [debug] nginx_http_ssl_session_tickets = "on"
2020/10/26 12:56:58 [debug] nginx_http_ssl_session_timeout = "1d"
2020/10/26 12:56:58 [debug] nginx_http_status_directives = {}
2020/10/26 12:56:58 [debug] nginx_http_upstream_directives = {{name="keepalive_requests",value="100"},{name="keepalive_timeout",value="60s"},{name="keepalive",value="60"}}
2020/10/26 12:56:58 [debug] nginx_http_upstream_keepalive = "60"
2020/10/26 12:56:58 [debug] nginx_http_upstream_keepalive_requests = "100"
2020/10/26 12:56:58 [debug] nginx_http_upstream_keepalive_timeout = "60s"
2020/10/26 12:56:58 [debug] nginx_main_daemon = "off"
2020/10/26 12:56:58 [debug] nginx_main_directives = {{name="daemon",value="off"},{name="worker_processes",value="auto"},{name="worker_rlimit_nofile",value="auto"}}
2020/10/26 12:56:58 [debug] nginx_main_worker_processes = "auto"
2020/10/26 12:56:58 [debug] nginx_main_worker_rlimit_nofile = "auto"
2020/10/26 12:56:58 [debug] nginx_optimizations = true
2020/10/26 12:56:58 [debug] nginx_proxy_directives = {{name="real_ip_header",value="X-Real-IP"},{name="real_ip_recursive",value="off"}}
2020/10/26 12:56:58 [debug] nginx_proxy_real_ip_header = "X-Real-IP"
2020/10/26 12:56:58 [debug] nginx_proxy_real_ip_recursive = "off"
2020/10/26 12:56:58 [debug] nginx_sproxy_directives = {}
2020/10/26 12:56:58 [debug] nginx_status_directives = {}
2020/10/26 12:56:58 [debug] nginx_stream_directives = {{name="ssl_session_timeout",value="1d"},{name="ssl_prefer_server_ciphers",value="off"},{name="ssl_protocols",value="TLSv1.2 TLSv1.3"},{name="ssl_session_tickets",value="on"}}
2020/10/26 12:56:58 [debug] nginx_stream_ssl_prefer_server_ciphers = "off"
2020/10/26 12:56:58 [debug] nginx_stream_ssl_protocols = "TLSv1.2 TLSv1.3"
2020/10/26 12:56:58 [debug] nginx_stream_ssl_session_tickets = "on"
2020/10/26 12:56:58 [debug] nginx_stream_ssl_session_timeout = "1d"
2020/10/26 12:56:58 [debug] nginx_supstream_directives = {}
2020/10/26 12:56:58 [debug] nginx_upstream_directives = {{name="keepalive_requests",value="100"},{name="keepalive_timeout",value="60s"},{name="keepalive",value="60"}}
2020/10/26 12:56:58 [debug] nginx_upstream_keepalive = "60"
2020/10/26 12:56:58 [debug] nginx_upstream_keepalive_requests = "100"
2020/10/26 12:56:58 [debug] nginx_upstream_keepalive_timeout = "60s"
2020/10/26 12:56:58 [debug] nginx_worker_processes = "auto"
2020/10/26 12:56:58 [debug] pg_database = "kong-db"
2020/10/26 12:56:58 [debug] pg_host = "euris-dbms.postgres.database.azure.com"
2020/10/26 12:56:58 [debug] pg_max_concurrent_queries = 0
2020/10/26 12:56:58 [debug] pg_password = "******"
2020/10/26 12:56:58 [debug] pg_port = 5432
2020/10/26 12:56:58 [debug] pg_ro_ssl = false
2020/10/26 12:56:58 [debug] pg_ro_ssl_verify = false
2020/10/26 12:56:58 [debug] pg_semaphore_timeout = 60000
2020/10/26 12:56:58 [debug] pg_ssl = false
2020/10/26 12:56:58 [debug] pg_ssl_verify = false
2020/10/26 12:56:58 [debug] pg_timeout = 5000
2020/10/26 12:56:58 [debug] pg_user = "kong"
2020/10/26 12:56:58 [debug] plugins = {"bundled"}
2020/10/26 12:56:58 [debug] port_maps = {}
2020/10/26 12:56:58 [debug] prefix = "/usr/local/kong/"
2020/10/26 12:56:58 [debug] proxy_access_log = "logs/access.log"
2020/10/26 12:56:58 [debug] proxy_error_log = "logs/error.log"
2020/10/26 12:56:58 [debug] proxy_listen = {"<IP_ADDRESS>:8000 reuseport backlog=16384","<IP_ADDRESS>:8443 http2 ssl reuseport backlog=16384"}
2020/10/26 12:56:58 [debug] real_ip_header = "X-Real-IP"
2020/10/26 12:56:58 [debug] real_ip_recursive = "off"
2020/10/26 12:56:58 [debug] role = "traditional"
2020/10/26 12:56:58 [debug] ssl_cipher_suite = "intermediate"
2020/10/26 12:56:58 [debug] ssl_ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"
2020/10/26 12:56:58 [debug] ssl_prefer_server_ciphers = "on"
2020/10/26 12:56:58 [debug] ssl_protocols = "TLSv1.1 TLSv1.2 TLSv1.3"
2020/10/26 12:56:58 [debug] ssl_session_tickets = "on"
2020/10/26 12:56:58 [debug] ssl_session_timeout = "1d"
2020/10/26 12:56:58 [debug] status_access_log = "off"
2020/10/26 12:56:58 [debug] status_error_log = "logs/status_error.log"
2020/10/26 12:56:58 [debug] status_listen = {"off"}
2020/10/26 12:56:58 [debug] stream_listen = {"off"}
2020/10/26 12:56:58 [debug] trusted_ips = {}
2020/10/26 12:56:58 [debug] upstream_keepalive = 60
2020/10/26 12:56:58 [debug] upstream_keepalive_idle_timeout = 60
2020/10/26 12:56:58 [debug] upstream_keepalive_max_requests = 100
2020/10/26 12:56:58 [debug] upstream_keepalive_pool_size = 60
2020/10/26 12:56:58 [debug] worker_consistency = "strict"
2020/10/26 12:56:58 [debug] worker_state_update_frequency = 5
2020/10/26 12:56:58 [verbose] prefix in use: /usr/local/kong
Error:
/usr/local/share/lua/5.1/kong/cmd/start.lua:31: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: FATAL: Invalid Username specified. Please check the Username and retry connection. The Username should be in <username@hostname> format.
stack traceback:
	[C]: in function 'assert'
	/usr/local/share/lua/5.1/kong/cmd/start.lua:31: in function 'cmd_exec'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
	/usr/local/bin/kong:9: in function 'file_gen'
	init_worker_by_lua:47: in function <init_worker_by_lua:45>
	[C]: in function 'xpcall'
	init_worker_by_lua:54: in function <init_worker_by_lua:52>

Does the instance connect successfully if you set pg_user in .Values.env, rather than pg_username? That's the kong.conf setting name.
In the startup log, you can see that it's reporting the default user:
2020/10/26 12:56:58 [debug] pg_user = "kong"

I think it's likely just that: even though the escaped @ doesn't appear to show up correctly in env output, I wasn't able to find other issues similar to this that indicated they were using pg_user, and know other users have successfully used Azure Postgres with Kong in the past, so that's hopefully just a rendering quirk.


not compatible with stdlib for "null" slices

from the outputs_tests:
--- FAIL: Test_Roundtrip (0.02s)
        json_test.go:44: unmarshal expected:
                    (test.T) <nil>

                got:
                    (test.T) (cap=4) {
                }

                via:
                    null

stdlib expects "null" to unmarshal to nil not to an empty slice with cap=4

same for maps

fixed


Add odc tools

Hi @mmukwevho please review these changes needed to include the "odc-apps-dc-tools" packages (by GA) in the deafrica-scripts docker image. These tools allow indexing of STAC collections to the ODC (via the stac-to-dc command line interface), commonly used to index STAC compliant data collections.

FYI for test purposes, I created the tag 0.0.46 to test this off of the branch "add-odc-tools", which was then used to index the IO LU/LC data into the ODC (changes tested successfully). I will delete that tag once this merged into the main branch and becomes latest. This Argo workflow https://github.com/digitalearthafrica/datakube-apps/blob/main/deployments/processing-data/overlays/deafrica-dev/argo-workflow-once/index-esri-lulc.yaml was used with image tag digitalearthafrica/deafrica-scripts:0.0.46


POL-1001/1002 AWS Subnet & VPC Tag Sync Revamp

Description
This is a revamp of the AWS Subnet & VPC Tag Sync policies, including policy actions. From the CHANGELOGs:

Several parameters altered to be more descriptive and human-readable
Added several fields to incident export to provide additional context
Normalized incident export to be consistent with other policies
Streamlined code for better readability and faster execution
Policy action error logging modernized and now works as expected in EU/APAC
Policy now requires a valid Flexera credential
Added logic required for "Meta Policy" use-cases

Link to Example Applied Policy
https://app.flexera.com/orgs/6/automation/applied-policies/projects/7954?policyId=65cb86db72834a00010a955c
https://app.flexera.com/orgs/6/automation/applied-policies/projects/7954?policyId=65cb852572834a00010a9559
Note: The above do not produce any results because our test account appears to have dummy data for CMP that is not actually related to our AWS test account. I have reviewed the logs to verify that all of the appropriate datasources are returning data as expected.
The policy actions are also untested but are virtually identical to the existing policies apart from being rearranged to be more readable and using task labels for logging.
Contribution Check List

[X] New functionality includes testing.
[X] New functionality has been documented in the README if applicable
[X] New functionality has been documented in CHANGELOG.MD

Some of these PTs are candidates for deprecation.  In particular PTs with auth ... type: "rightscale"  that use resources ..., type: "rs_cm. ..." do because resources block require RightScale Cloud Management capability which is not enabled for most customers or included w/ Flexera One


Home slide bar does not match the dehumidifier setting

The slide bar does not match the dehumidifier setting. This could be design intent.
Slide bar -  Dehumidifier
100 - 85
90 - 80
80 - 75
70 - 70
60- 65
50 - 60
40 - 55
30 - 50
20 - 45
10 - 40
0 - 35

Hi,
This is by design. Based on the Frigidaire mobile app the dehumidifier has an upper limit (100%) of 85% and lower limit (0%) of 35%.

Thanks for the info. Closing this issue.


placement of delayed bone mineralization

should delayed bone mineralization be a child of decreased bone mineralization?

should we add terms for bone mineral apposition rate


Do recurring jobs run in development mode?

I didn't see this documented anywhere. In my case I don't want recurring jobs to run, is there a way to turn them off?
Thanks

If you don't have any configured, none will run. Do you have recurring jobs configured for development?

Oh I see in the recurring.yml file the jobs are divided by environment. I didn't see that.


docs: copy code feature in loading animation

Copy code option in loading animation component

[x] Copy Code functionality
[x] copy feedback using sonner toaster
[x] Dark mode compatible

https://github.com/user-attachments/assets/0e0f2287-1d36-48a6-908f-e1675f7f4478
#15

Thanks for working on this @SiddharthaMishra-dev ,

Please remove sonner for toast
Add feedback when use copy the code in the same input box
Copy Icon + Text "copy" -> Check Icon + Text "Copied" ( this should be the feedback ) and after 3 sec reset the state so that user will see the copy icon button again.

https://github.com/user-attachments/assets/e03daac4-4cad-4d82-8a19-233ec96f1e79
Please lemme know if you any other questions.

Here is the updated one
https://github.com/user-attachments/assets/f3bdc313-f51f-4bfc-806b-e121a24cb148

Nice work done @SiddharthaMishra-dev


Add support for Vector type

Description and related tickets, documents
Not all operations are supported for Vector,
For now only machine learning related operations are guaranteed to be supported , i.e able to get RDD[Array[Double]] and RDD[LabeledPoint] from DDF with Vector Column, and getNumRows, head.
Add oneHotEncoding
Reviewers: @nhanitvn @phvu @zkidkid
PR Progress
Make sure all checkboxes below are checked before merged

[ ] Branch is in format prefix/description (see this)
[ ] Merge check has no conflicts. PR checks passed.
[ ] Code review is done.

lgtm, this seems to be a good solution for the wide DDF problem.


chore(deps): Project file cleanup and remove unnecessary dependencies

This PR

simplify the InternalsVisibleTo usage
cleanup msbuild condition
remove unnecessary dependencies

failed CI seemed not related to the changes


Indicate which preferences modal layouts support the serviceCounterLabel

Improves documentation related to #533.

@orestbida Fair enough, I've changed the wording!

Thanks for your contribution!


Keep the header line visible when scrolling

I'd like to separate the header line from the data so that you can scroll through data while keeping the region names visible.

Fixed in https://github.com/zbraniecki/covid19-timeseries/commit/5360387e1bee359ece6c714d05a4ee792e1c91bb


Fix skip button in casMfaRegisterDeviceView

Skip button is not working at all. If you fill form correctly, then skip button behaves exactly like register button.
This path adds separate transition for skip button and  fixes form validation.

@rmathis could you take a look at this when you find the time?

Forgot to mention, for all UI changes: please make sure you have browser tests available to verify the state of your changes as much as possible.
https://apereo.github.io/cas/development/developer/Test-Process.html#browser--functional-testing
Add new ones or update existing ones for the scenario you are working on.


test(integrations): fix import tests

Fixes WB-NNNN
Fixes #NNNN
Description
What does the PR do?
Testing
Pics or didn't happen:

Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Ensure PR title compliance with the conventional commits standards

approved


Changed content-encoding to content-type

Referencing suggestion by @fdr from https://github.com/wal-e/wal-e/pull/273; removed re-interpretation of content-encoding value as content-type.
Fixed Windows Azure blobstore header name to match.

Do you use WABS? Does this operate as intended? It is true that the original looks quite incorrect...
I haven't gotten around to writing an integration suite for WABS yet so I rely on verification from people who use it.

I don't either, but this might be useful: https://github.com/Azure/azure-storage-python/blob/master/azure/storage/blob/models.py#L136

Great, I went ahead and committed this after editing the commit message, in 7caafa541c175c88160ea8392da0968d719ddf67
Thanks for the patch! That's an old bug...


Fix background color of slash of darkmode

I submitted the Lyra fix for this issue in late-2019, and having just noticed it also exists in Casper, here's the same fix.

Thanks again!


Provide More Method in Building Request

For credit card charge example:
  public static CreditCardCharge createAuthorization(
      String tokenId,
      String externalId,
      Number amount,
      String authenticationId,
      String cardCVN,
      Boolean capture)

understand this is only for the required parameters. if the user wants to use the client method with optional fields, she will need to use the createAuthorization(Map<String, Object> params) function. I'm personally not super keen on letting users use this as we are losing the entire advantage of a typed language to hint to devs on what are the required parameters of the function.
We can look at including a CreateAuthorizationParams object to specify what is required/not required and let users create the request params as the argument to the client method. One drawback is if we change our API specs (adding new fields) is that we might need to update the client. But I guess we can still have the createAuthorization(Map<String, Object> params)  method to have some flexibility for certain users

Yes let's follow the go implementation


Fix invalid JSON to use dpouble quotes; use "name": consistently in JSON

One JSON example was using single quotes around a string item ; changed to double quotes.
Also made spacing consistent in JSON examples to all use "name": value rather than a mix of no space or a space before the colon.

ok, thanks @webron -- PR updated

I just saw @darrelmiller 's comment, so I've fixed * to */* as well. Thanks for the catch, @darrelmiller . Now we just need a GFM hook to auto-convert JSON <--> YAML so we don't have to manually code both formats in all our examples. :smiley_cat:


FastSparseGRM installation

Hi Rounak,
I've been trying to install FastSparseGRM in several versions of R including 4.0.0, 4.0.2, 4.2.0, 4.3.0. I get this example error "package ‘FastSparseGRM’ is not available (for R version 4.0.2)". Which version of R does FastSparseGRM work in?
Kind regards,
Prisca.

Are you trying to install it through github, or through CRAN? The package is not available in CRAN, so install.packages("FastSparseGRM") command will not work. Please use the following command in a bash terminal to install.
git clone https://github.com/rounakdey/FastSparseGRM.git
R CMD INSTALL FastSparseGRM

FastSparseGRM works in all those R versions you tried.

Glad that the issue is solved.


Document globbing syntax

The readme could use some documentation on how globs like [cd] work. This doesn't look like regex or even bash globbing, and there aren't too many results on what eglob is supposed to refer to outside of references to dpath-python.

Yeah 'eglob' is probably the wrong nomenclature. Not sure where I picked that up other than in my own code. Bash uses 'extended pattern matching' and refers to the shell option 'extglob':
http://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html

To be even more specific it refers to the feature of '**' as a result of the shell option 'globstar'.

Yeah, the documentation isn't clear on this at all. Sorry about that.
The path globbing syntax is identical to (and is fed directly into) the fnmatch module. The marker "**" is special and handled by dpath, rather than fnmatch, and it means "at this depth or any further depth in the path tree".
I'll update the docs within a few days for this.

Thanks for bringing this up, I've filed a bigger ticket to address our larger documentation issues in #45, this will be resolved with it.


Fix binding disabling when taking screenshots on macOS

Before this PR if you took a screenshot on macOS with CMD+SHIFT+4 et al, it would disable binding until the next CMD press. Now we check that CMD is pressed during pointer move, and if its state doesn't match the app state we update it.
Closes #2112
In #2112 we discussed moving the state altogether to pointerDownState. That doesn't work (easily) for a few reasons:

We want to react to key press even if there is no pointer move
When editing multi-point elements we finish the binding from componentDidUpdate, which doesn't have access to pointerDownState (a module-level variable would be needed for this)
The code is currently simplified by not checking binding enabled/disabled when suggesting, instead checking it in renderScene - this would have to be reworked, complicating all the suggestions code.

You should update the snapshots..

We want to react to key press even if there is no pointer move

PointerDownState isn't related to pointermove event. I'm not sure what else you mean by "want to react to key press" alone --- currently some pointer event must take place for binding to change.

When editing multi-point elements we finish the binding from componentDidUpdate, which doesn't have access to pointerDownState
[...]
The code is currently simplified by not checking binding enabled/disabled when suggesting [...]

True

We can merge this, but ultimately I think we'll want to factor pointerDownState out as you suggest so it's globally accessible. I think it being a singleton module is fine even in excalidraw multi-instance scenarios.

currently some pointer event must take place for binding to change.

No, you can press cmd without moving the pointer and the binding will be hidden.

Maybe, but you're talking in the context of the bug. Normally, the binding enable/disable should only be relevant between pointerdown and pointerup events.


跑din示例就报错

没改过参数
Exception has occurred: InvalidArgumentError
Incompatible shapes: [64,0,16] vs. [1024,0,16]
[[node attention_part/sub (defined at data/zqxu/RecAlgorithm/algorithm/DIN/din_attention.py:19) ]]
Errors may have originated from an input operation.
Input Source operations connected to node attention_part/sub:
his_seq_input/sequence_input_layer/concat (defined at data/zqxu/RecAlgorithm/algorithm/DIN/din.py:215)
attention_part/Reshape (defined at data/zqxu/RecAlgorithm/algorithm/DIN/din_attention.py:18)

我这里没问题呀，没法复现你的问题...
可以微信联系我。

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
nianxing, @Liteykin, @dibndu, @ishakdolek, @nanmu42, @tomatobobot, @atomWater, @bala-ji-d, @minho42, @marinac-dev, @wenfengwang, @jmaczan, @Jukka-Sun, @achalaggarwal, @FrankFacundo, @zhanqiuzhang, @yufengwhy, @pschwllr, @yuuurchyk, @xinxinduyu


Disabling EXISTS

Firstly, we were still using JOINs for filtering conditions for queries with include clauses.
This does not make sense because filtering SQL should not be dependent on existence of include.
It also appeared that SQL Server compiles plans with JOINs 5x faster than with EXISTSs.
Though EXISTS plans should be more "precise" I am disabling them in favor of fast compilation times.
Nuance smart impression queries did have include clauses and were using JOINs. With this change filtering SQL in Nuance queries even without include will be the same as it is today for queries with include.
https://microsofthealth.visualstudio.com/Health/_workitems/edit/123488/

I agree with the approach of inner join to reduce query compilation time.  As you mentioned EXISTS may be more "precise" but are EXISTS queries more performant?  If we move to only inner joins, will all customers see a degradation in perf due to this change?

I agree with the approach of inner join to reduce query compilation time. As you mentioned EXISTS may be more "precise" but are EXISTS queries more performant? If we move to only inner joins, will all customers see a degradation in perf due to this change?

There is no way to tell one way or another. What we know is that JOINs are used in filtering today, not in all cases, and user do not complain.


Revert "add mkl installation temp fix"

Reverts apache/incubator-mxnet#16304

Onnx test are keep blocking, can somebody take a review?

Filed an issue for the onnx test: https://github.com/apache/incubator-mxnet/issues/16394

@marcoabreu Will split them up :)

@marcoabreu is this one good to go?

Nah, please get rid of all commits except the revert

@marcoabreu Done, please feel free to unblock.


Fixed test failure for TestRocksDbKeyValueStoreJava#testPerf

Iterators (incl. those obtained from snapshots) must be closed before store close.

cc @xinyuiscool for review + merge.


GHA: correct a typo in the tag

Correct a typo that is responsible for applying the tag to the build version information.

CC: @tristanlabelle @mangini


Initial admin messages HIPE

Signed-off-by: Sam Curren<EMAIL_ADDRESS>

Hi all, @dbluhm drew a diagram for me earlier on a whiteboard that I think could help frame understanding and improvement of Admin Message Families.  Definitely looking for feedback and hope to make a few with more flow around the arrows for BasicMessage and TrustPing examples

Hi all, @dbluhm briliiantly drew a diagram for me earlier on a whiteboard (hopefully I got it right) that I think could help frame understanding and improvement of Admin Message Families. Definitely looking for feedback and hope to make a few with more flow around the arrows for BasicMessage and TrustPing examples and for those that might be visually inclined.

@blhagadorn as a side note, we're pretty close to implementing a JS version of pack and unpack to encrypt and authorize even the admin messages. Just noticed in your diagram that whether the message was encrypted was a distinguishing characteristic of the kind of message but hopefully everything will be encrypted soon :slightly_smiling_face:

After reading through this, I'm thinking that we may be prematurely standardizing. My thinking is that this architecture pattern will naturally emerge and to jump on standardizing this message family too early will pigeonhole us.
I realize that this will affect your implementation of the Python agent, so my suggestion is that we place this on hold until we've had time to see how this pattern overlaps with a few other primary/replica patterns. In the meantime, go ahead and implement something for your use case and we can use your implementation and learnings to guide the standardization later.

@kdenhartog I think it's reasonable for us to continue using this concept without standardizing the messages and the format if that is ultimately what is needed; that being said, didn't we include versioning in the message types so we could iterate on our ideas? I don't think the question here is whether we're in danger of prematurely standardizing or pigeon-holing ourselves.

I'm closing this pull request. If I bring up the concepts again, it will be in Aries RFCs.


DSVT all in tensorRT

I implemented DSVT using the Tensorrt API and plugin！ If anyone is interested,  the repository  is (https://github.com/jingyue202205/DSVT-AI-TRT)

I implemented DSVT using the Tensorrt API and plugin！ If anyone is interested, the repository is (https://github.com/jingyue202205/DSVT-AI-TRT)

Your tremendously valuable efforts are greatly appreciated. In all honesty, deployment isn't our forte. Your assistance, however, will undoubtedly simplify the deployment process for DSVT, making the onboarding of the Transformer much smoother.
We also extend an invitation for you to stay tuned to our latest work UniTR (https://github.com/Haiyang-W/UniTR). This advancement takes DSVT into the realm of multi-modal 3D perception and introduces weight-sharing among multiple modes. It's the First Unified Multi-modal Transformer Backbone for 3D Perception. We're actively working on it and aiming to release the code before ICCV.
DSVT and UniTR might serve as preliminary steps towards the development of a foundation model for autonomous driving perception. With your invaluable support, I am confident we are moving in the right direction.
Thanks for your effort once again :).
Haiyiang,


Use devShell environment in package derivation

Is it possible to use shell environment in mkDerivation?  I've setup a devenv shell environment and would like to reuse it for package building. I tried adding self.devShells.${system}.default to buildInputs of mkDerivation but that didn't get the required tools on the builder path.
The reason I'm doing this is that I have a python poertry environment that I wasn't able to get working on vanilla nix and was quite happy when it just worked in devenv.

@shishkin can you give a bit more explanation what you're trying to do?

I have a flake with devenv shell:
        devShells.default = devenv.lib.mkShell {
          inherit inputs pkgs;

            languages.python = {
              enable = true;
              package = pkgs.python3;
              poetry = {
                enable = true;
                activate.enable = true;
                install = {
                  enable = true;
                  installRootPackage = false;
                  quiet = false;
                };
              };
            };
          }];
        };

Now I want to be able to use this shell environment in a package derivation:
        packages.default = pkgs.stdenv.mkDerivation {
          inherit system;

          # can this work?
          nativeBuildInputs = [ self.devShells.${system}.default ];

          buildPhase = ''
            # python and poetry dependencies are not available :(
          '';
        };

Is it possible to reuse shell environment in a derivation?

That's not possible since derivation expects no networking access, which is required by most package managers like poetry.

Hm.. I thought that's what devenv would be effectively sidestep. When I enter my shell, all the python packages are already in the venv directory.

That is because it's a venv install side-effect generated by the devenv activation script.
There are some blog posts on the internet that advocate disabling the sandboxing for cases like this.


Target Memory: 2600000?

Did you mean to strictly use at most 2600000 on puzzle 1 or just as a ballpark? I got 2621440.0 and I can't really think what else I forgot deleting :)

oops sorry, should've read #6 , all good


Add time tracking to http status agent

I missed having how much time it took to get the http status from the url, so I added it myself.
The idea is to use a peak detector to check availability of a site.

cc/ @cantino

Good idea!

@dsander, do you have any thoughts on the Docker spec failure?

@cantino Looks like a random failure, I restarted the job and it worked.

Looks good @pcarranza, thanks!


[fuzzing] fixing consensus fuzzing

MOTIVATION:
fuzzer for consensus doesn't work due to some refactoring.
This diff takes care of that by adding the missing new crate and its feature.
TEST PLAN:
just trust me, it works.

@bors-libra r+

:pushpin: Commit 46ff75c has been approved by bmwill

:hourglass: Testing commit 46ff75c9ca59d74d41674d8f70ff6cb1f8bc793c with merge 0ee896ba24fa55940aaf7be71941bb909da060b1...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: bmwill
Pushing 0ee896ba24fa55940aaf7be71941bb909da060b1 to master...


unable to change reader type

on the settings- Hardware Settings the reader type-Pin D0-Pin D1 and Relay Pin cannot be changed

I have tried it on chrome, firefox, IE and android same result

When you flash forv2board.bin this is the expected behaviour.
If you do not have official board please use generic.bin

when ever i try to flash generic.bin instantly it pops up flash complete but nothing flashes to the module. any ideas?

the esp shows up on com3

i am suspecting either the esp or the cable. new ones on the way

it's same beside you do not need those settings on official hardware

guess I will just throw in the towel. i got a couple more esp's and some new cables and just ended up with the new issues. after uninstalling and reinstalling the driver i can now flash the firmware but after flashing it to probably 6 different ones its just one hurtle after another. now i can get the esprfid ap and connect but it don't matter what esp i do once i enter the wifi ssid a pass- save and commit using dhcp thats it. i can never connect to it again. no ap to connect to again and never connects to my wifi. after several days on this i'm done. wish i could remember what firmware i flashed the very first time because that one seemed to work and was pretty stable.

i now have it connected to my network and seems stable. i will be getting a couple new rc 522's tomarrow so i can continue. the only issue i have now is getting my relay functional i have it connected to gpio 14 but unable to get ti trigger with the test button. i can  trigger the relay manually by pulling the relay pin low or high

prob could have just went with the official hardware in the first place.and i will when i know this is going to work

Can you please download fresh 1.0.2 and delete forv2board.bin then rename generic.bin to forv2board.bin and then use flash.bat then chose option 2

I now have this working but the issue seems to be with the gain for therc522. if i select max 48db in hardware settings what should it show in the config for "rfidgain"?

Can you please download fresh 1.0.2 and delete forv2board.bin then rename generic.bin to forv2board.bin and then use flash.bat then chose option 2

I went with option 3 then generic.bin that got me back up and running. right now it will work but i have to keep changing the gain save and reboot to get it to read again after a short time. if you want me to try that i will.

@trudeau102000 unfortunately any other reader but wiegand are quite demanding and with so much settings that it's sometimes hard to help.
please join http://esp-rfid.slack.com for chat help if you want.
Sometimes it's not a project issue, it's sometimes individual setup.

@trudeau102000 unfortunately any other reader but wiegand are quite demanding and with so much settings that it's sometimes hard to help.
please join http://esp-rfid.slack.com for chat help if you want.
Sometimes it's not a project issue, it's sometimes individual setup.

thanks. nardev, i have several esp's and  readers. so i have been able to duplicate the same issues over several setups. i also have a simple uno setup to verify the readers. they will work perfectly on the uno  but stop functioning once moved to any of the esp's at one point i had the reader working but it was always short term. sometimes changing the rfgain and restarting would bring function back. but again only short term. I have what i need now via a mega 2560 I really liked this project but the results are disappointing.

@trudeau102000 unfortunately any other reader but wiegand are quite demanding and with so much settings that it's sometimes hard to help.
please join http://esp-rfid.slack.com for chat help if you want.
Sometimes it's not a project issue, it's sometimes individual setup.

How can I join this slack channel? Is asking for a specific domain which I do not own. Can't join with my own email address?

@msanchezt can you give me your email? You can send it to<EMAIL_ADDRESS>too.

Email sent, thanks.
Marcel Sánchez Toledano
Missatge de nardev<EMAIL_ADDRESS>del dia dg., 3 de març 2019 a
les 20:22:

@msanchezt https://github.com/msanchezt can you give me your email? You
can send it to<EMAIL_ADDRESS>too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/esprfid/esp-rfid/issues/239#issuecomment-469054640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGpImQ1UfMJeAJyCa-Or2hzwdG_6bHggks5vTCEGgaJpZM4afgQ1
.


Make the Spec reporter print to stdout by default

Closes #69

Coverage decreased (-0.11%) when pulling<PHONE_NUMBER>759e64ca26ccdff654e527534d8acb on spec-stdout-default into c0461e1b16b49300281b1d0d4ae4fad1a4f4ff4d on master.

Coveralls reports that the added line of logic is not covered by tests, but it is, it just isn't aware of code that runs in sub-processes


feat(sidecar): add tls protocol version and cipher suites config to

meshconfig
Signed-off-by: Allen Leigh<EMAIL_ADDRESS>
Description:
Add TLS protocol related sidecar configuration to MeshConfig.
Resovles: #4401

Testing done:

Unit test

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[X]

Sidecar Injection
[X]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

No

Is this a breaking change?

No

Codecov Report

Merging #4418 (371e57c) into main (1dc6bfd) will decrease coverage by 0.42%.
The diff coverage is 45.71%.

:exclamation: Current head 371e57c differs from pull request most recent head 90be942. Consider uploading reports for the commit 90be942 to get more accurate results

@@            Coverage Diff             @@
##             main    #4418      +/-   ##
==========================================
- Coverage   69.02%   68.60%   -0.43%
==========================================
  Files         217      217
  Lines       14756    14816      +60
==========================================
- Hits        10186    10165      -21
- Misses       4518     4599      +81
  Partials       52       52

Flag
Coverage Δ

unittests
68.60% <45.71%> (-0.43%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/configurator/methods.go
68.54% <0.00%> (-3.49%)
:arrow_down:

pkg/configurator/mock_client_generated.go
0.00% <0.00%> (ø)

pkg/errcode/errcode.go
100.00% <ø> (ø)

pkg/envoy/bootstrap/config.go
89.13% <68.00%> (-3.42%)
:arrow_down:

pkg/injector/envoy_config.go
80.73% <100.00%> (+1.32%)
:arrow_up:

pkg/crdconversion/crdconversion.go
41.48% <0.00%> (-33.34%)
:arrow_down:

pkg/certificate/rotor/rotor.go
84.78% <0.00%> (-2.18%)
:arrow_down:

pkg/messaging/workqueue.go
100.00% <0.00%> (+10.71%)
:arrow_up:

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 e972a05...90be942. Read the comment docs.


Add license

Hi :) Thanks for sharing your code. I was wondering if you could add a license to it, so it's more clear what kind of use is okay.
This may help: https://choosealicense.com/
I personally prefer to add a MIT license in my repositories

Done! Thanks for the suggestion.


Compressing assets is not working as expected.

I am using the extension scroll pager:
"require": {         "kop/yii2-scroll-pager": "dev-master",     },
I created an asset bundle to compress the asset kop\y2sp\assets\InfiniteAjaxScrollAsset and i have only 1 target 'all' in my compress script.
'all' => [             'class' => 'yii\web\AssetBundle',             'basePath' => '@webroot',             'baseUrl' => '@web',             'js' => 'min/js/all{hash}.js',             'css' => 'min/css/all{hash}.css',         ],
When i run my application, the compressed js is included but the individual js present in the asset are also included.
FYI: This seems to be happening for widgets only. I tried to compress 2 of kartik assets into 1 file and it is including both the compressed and the original files.

I think i found the problem.
The original asset is as follows:
class InfiniteAjaxScrollAsset extends AssetBundle
{
    /**
     * @var array List of bundle class names that this bundle depends on.
     */
    public $depends = [
        'yii\web\JqueryAsset',
    ];

    /**
     * @inheritdoc
     */
    public function init()
    {
        $this->sourcePath = '@vendor/webcreate/jquery-ias/src';
        $this->js = [
            'callbacks.js',
            'jquery-ias.js',
            'extension/history.js',
            'extension/noneleft.js',
            'extension/paging.js',
            'extension/spinner.js',
            'extension/trigger.js'
        ];
    }
}

With this type of init(), the compressed asset are being added as well as the original js files.
But if i change the file to this:
class InfiniteAjaxScrollAsset extends AssetBundle
{
    /**
     * @var array List of bundle class names that this bundle depends on.
     */
    public $depends = [
        'yii\web\JqueryAsset',
    ];

    public $sourcePath = '@vendor/webcreate/jquery-ias/src';

    public $js = [
        'callbacks.js',
        'jquery-ias.js',
        'extension/history.js',
        'extension/noneleft.js',
        'extension/paging.js',
        'extension/spinner.js',
        'extension/trigger.js'
    ];
}

It works fine, i.e. only the compressed js file is included.

you should report this issue in repository's extension

Isn't it something related to yii?
I mean the way js/css files are being set are different but i think they should work the same.
so even if i use the first or second method as above, both should work the same. I think this is yii related rather than extention related.
Let's see what the yii team say about this and then i will report to extention repo if needed.

in basic template it works for me. I think that's problem is extension....

Did you use the scroll pager asset?

No, i use the following :
class AppAsset extends AssetBundle
{
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
    ];

    public function init()
    {
          $this->basePath = '@webroot';
          $this->baseUrl = '@web';
          $this->css = ['css/site.css'];
    }
}

Then did you compress your css and js files?

@Locustv2 init method say "If you override this method, make sure you call the parent implementation in the last."
can you try to call parent last method init? i think error is there.

Already tried, and didn't change anything.

ok, it's truth. Asset should be use properties directly to initialize. I do not think it's a bug if not misuse the init method, imo

I'm facing the same problem here. I have a assetBundle from a package and this asset uses the init() method to define the css, js  and sourcePath.
Just in case, I will open an issue in their repo, but i'm wondering if we have any word from the dev team about that. Using init() to define properties of an AssetBundle is a bad practice? Or is there any solution to not generate both files?

Haven't got any replies from the dev till now.

thats because its quite unclear what your issue is. I dont see any issues, except that you are overriding the ancestor init() function without replacing its implementation.

thats because its quite unclear what your issue is. I dont see any issues, except that you are overriding the ancestor init() function without replacing its implementation.

I will try to make this more clear as possible. This bellow code here:
class MyAsset extends AssetBundle
{
    public $depends = [
        'other/AssetBundle',
    ];

    public function init()
    {
        $this->sourcePath ="some/path";
        $this->css = [
            'style.css'
        ];
        $this->js = [
            'script.js'
        ];
        parent::init();
    }
}

Is a valid Asset for compressing? If so, how, in the application, not load the original css and js files? Let me know if I need to add more info.

Here is an step-by-step of what i did to simulate the problem:

Install Yii2: composer: create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
Inside the application, run yii asset/template assets.php
Configure the generated file as the following (In my case I'm using gulp to compress the files):

<?php
/**
 * Configuration file for the "yii asset" console command.
 */

// In the console environment, some path aliases may not exist. Please define these:
Yii::setAlias('@webroot', __DIR__ . '/web');
Yii::setAlias('@web', '/');

return [
    // Adjust command/callback for JavaScript files compressing:
    'jsCompressor' => 'gulp assetScripts --src {from} --dist {to}',
    // Adjust command/callback for CSS files compressing:
    'cssCompressor' => 'gulp assetStyles --src {from} --dist {to}',
    // The list of asset bundles to compress:
    'bundles' => [
        'app\assets\AppAsset',
        'yii\web\YiiAsset',
        'yii\web\JqueryAsset',
    ],
    // Asset bundle for compression output:
    'targets' => [
        'all' => [
            'class' => 'yii\web\AssetBundle',
            'basePath' => '@webroot/assets',
            'baseUrl' => '@web/assets',
            'js' => 'all.js',
            'css' => 'all.css',
        ],
    ],
    // Asset manager configuration:
    'assetManager' => [
        'basePath' => '@webroot/assets',
        'baseUrl' => '@web/assets',
    ],
];

In config/web.php add the following component:

<?php
$bundles = require(__DIR__ . '/assets-prod.php');

$config = [
    ...
    components => [
        'assetManager' => [
            'bundles' => $bundles,
            'appendTimestamp' => true,
        ],
        ...

Now, run yii asset assets.php config/assets-prod.php to compress.

If you check the assets-prod.php file, you will see that the compressing went fine and all assets are empty and depending of all.
But, if I overwrite the AppAsset to look like this:
<?php
namespace app\assets;

use yii\web\AssetBundle;

class AppAsset extends AssetBundle
{
    public $depends = [
        'yii\web\YiiAsset',
        'yii\bootstrap\BootstrapAsset',
    ];

    public function init()
    {
        $this->basePath = '@webroot';
        $this->baseUrl = '@web';
        $this->css = ['css/site.css'];

        parent::init();
    }
}

The compressing will still work, however in my application I can see the original site.css being loaded:

So, my question is: Is this the expected behavior of the Asset? Shouldn't, after compressed, the asset never being able to rewrite their files somehow?
Or you guys think that using the init() method to add properties is a bad practice for this class? As i said, I'm using an extension that have this situation and I already opened an issue there. I just would like to hear what you guys think about it or if i did something wrong in the process described.

I can confirm the issue like described by @Clyff
When you try to bundle assets, which change their properties in their init() method - you're very likely about to run into problems, like duplicated (but missing) imports, wrong paths, etc....

Or you guys think that using the init() method to add properties is a bad practice for this class?

I'd say yes.
CC: @Quexer69 @tonydspaniard

Relates #12017

Resolved by commit 65c60a0c2477117d07a64f45af8fa6c58f3edf62


gradle tasks are out of date?

hi team - thanks so much for the JetBrains plugin - I'm working on mac osx, latest (stable) versions of OS, IntelliJ suite, neo4j installed locally, etc.
on this page https://neueda.gitbooks.io/jetbrains-plugin-graph-database-support/content/, the development section lists some gradle commands that look like they are obselete.
i.e. - when I run the gradle tasks for buildPlugin and runIdea on my machine those targets don't exist.  am I looking at the wrong docs or doing something wrong?
it's probably that you guys are more likely with your daytime jobs at neueda which is totally cool.
what i'm trying to do is create a graph model that represents the architecture for a program of work at my day job (Infusion) for a big bank that needs a MIFIDII solution.  happy to discuss further if you are interested.

Hi @rctheinventor ,
Can you post some details on errors you are getting? Those commands should work.
Let's see what's going on here. :)


Automated cherry pick of #2601: fix: 避免创建磁盘时显示provider disable底下的存储

Cherry pick of #2601 on release/2.10.0.
#2601: fix: 避免创建磁盘时显示provider disable底下的存储

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@bf304e8). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #2646   +/-   ##
================================================
  Coverage                  ?   7.63%
================================================
  Files                     ?     411
  Lines                     ?   64419
  Branches                  ?       0
================================================
  Hits                      ?    4921
  Misses                    ?   59074
  Partials                  ?     424

Flag
Coverage Δ

#aFlag
7.63% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/storages.go
1.13% <0%> (ø)

pkg/compute/models/disks.go
0.72% <0%> (ø)

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 bf304e8...23de9b5. Read the comment docs.

/approve
/lgtm


Mustache with i18n-node on NodeJS

How to make Mustache work with i18n-node ?

Would you please be more specific? What problem are you experiencing?


[Candidate 2v2 FallOut ZH v1] Strange texture is located at top of map

Issue Description
Strange texture is located at top of map.
Expected behavior
No strange texture on terrain.
Screenshots

I'll work on this one

Fixed in #23
Sorry @Newgate-M17 I was working on the tweaking and fixed the texture as well.

Fixed with https://github.com/xezon/GeneralsRankedMaps/commit/706590269a242fc8c05cfdb34a4ae54cc8fcd9bb


Unable to disable DotaTalentChangedItemToast

When you upgrade an ability talent on a hero created using -createhero, dota shows a toast message showing the ability upgraded. However the level shown is using the default dota talent level instead of dota imba talent levels.
There is no way to disable it now

No documentation on the panel
panel is only created and then destroyed upon upgrading the talent (hence unable to apply any sort of pre-appear fixes)

meanwhile it looks like this for spectators

Talent manager looks like it's working perfectly for spectators as well. The Dota Talent toast thing is.. ignorable, to be honest. Closing issue.


Requesters need some on-boarding for prototype tasks

This would appear immediately after launching a task, as a kind of next screen that all requesters are forced into, unless they opt out with the switch on this page.

This is intended to use the standard design library in implementation, though it may deviate slightly in this visualization.
The text in the box is:

Your project has launched as a prototype
All Daemo projects launch as prototypes first, which ensures they're ready for primetime. Workers  leave feedback on the project and try a few tasks. If they feel that it's ready, the rest of the project will launch automatically.
Your prototype will consist of 20 of the 200 tasks, and 1 of the 4 workers.

@dmorina are there any details you may need for this that are currently missing?

reopen when PT becomes relevant again (ie design is finalized)


Testing all ways possible to enlarge the ArmX64 archi

What improvement(s) are you suggesting?
using many different tools to archive my goals as boltAi, unix core and all the normal Dev ops tools. I'd deployed OpenElm with mlx Coreml toolbox and wolfram alpha to push the boundaries.
Additional information
To participate to our project the request need to be done by messaging from GitHub

It's a mixture of local AI app on my mac studio to preparing the raw data at the right format and with the good connetors to make the studio a creative tool but also a solid local web3 app hub and provide basic needs for each citizen in will to use our solutions

Does what you're proposing require any contributions to this repository, or will this work be done on a private fork?


Filesystem test keys are not respecting case

Nevermind. Config was set to lowercase and windows didn't give a damn so the wrong paths were being saved.


Add drawing module

Adds the option to do drawings with Wololobot without using Florins.
This adds the following commands:
              Command | Description

--------------------------|---------------------------------------------------
!draw open | Opens a drawing
!draw close number | Closes the drawing and chooses number winners
!draw reroll winner | Chooses a different entrant instead of winner
!play | Enter the drawing
!winners | Displays the winners of the drawing
The drawing module takes an optional argument opts with the attributes subChances and normalChances. Subscribers to the channel are entered subChances times into the drawing, non-subscribers are entered normalChances times.
subChances defaults to 2, normalChances defaults to 1.

The number.isNaN thing happens more often than I'd like to admit... :neutral_face:

hehe :shipit:


Strange behavior when plotting functions with undefined points

Hello,
Something strange happens when I try plotting a function with an undefined point.
An example of this is f(x) = sin(1 / x):

Another example would be f(x) = (x - 1) / (x^2 - 1).
Is there any way I can avoid this issue?
Thanks in advance.

This is because the use of interval arithmetic, when functions are evaluated with this strategy the result is ensured to contain all the points that belong to your function, unfortunately for some functions you get results like this because the correlation between the numerator and the denominator is not taken into account when the function is evaluated (yielding in higher interval results)
The image you attached belongs to sin(x)/x which has this problem
http://jsbin.com/notuziziba/1/edit?html,js,output
Unfortunately unless more work is put into the interval arithmetic evaluator this issue will exist for some functions (particularly the ones involving division), in any case you can use the normal evaluator as follows
functionPlot({
  target: '#demo',
  data: [{
    fn: 'sin(x)/x',
    graphType: 'polyline',
    sampler: 'builtIn'
  }]
});

http://jsbin.com/jiqiquguma/1/edit?html,js,output

Thanks for the response, using the graphType as a polyline worked well.
Still in the topic of plotting functions with undefined points, I tried using another data set containing these points and used the graphType as scatter, but the points are really small. Is there any way to change the points' radius and make them standout more?
Here is an example:
http://jsbin.com/qoxijocota/1/edit?html,js,output
functionPlot({
  target: '#demo',
  data: [
    {
      fn: 'sin(x)/x',
      graphType: 'polyline',
      color: 'steelblue'
    },
    {
      points: [[0, 1]],
      fnType: 'points',
      graphType: 'scatter',
      color: 'steelblue'
    }
  ]
});

Yep, use a stylesheet with the following selector
.function-plot .canvas .content circle {
  r: 5;
}


Deprecated ConsumerConnector

Looks like Secor is using a deprecated Kafka consumer API. As a result of this I am unable to use SASL options like "sasl.mechanism". VerifiableProperties reports:
2018-02-28 00:27:15,575 [Thread-6] (kafka.utils.VerifiableProperties) WARN  Property sasl.mechanism is not valid
2018-02-28 00:27:15,575 [Thread-5] (kafka.utils.VerifiableProperties) WARN  Property sasl.jaas.config is not valid
2018-02-28 00:27:15,576 [Thread-6] (kafka.utils.VerifiableProperties) WARN  Property security.protocol is not valid
Would be great if we could have a Secor version using the new consumer API and/or have some alternative solution/workaround for this. Thanks.

This is the same as https://github.com/pinterest/secor/issues/393

If guys have time, you can contribute a change to use the new consumer API,
I don't think it would be particularly difficult.
On Wed, Feb 28, 2018 at 12:19 PM, Sean Allen<EMAIL_ADDRESS>wrote:

This is the same as #393 https://github.com/pinterest/secor/issues/393
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/397#issuecomment-369369547,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCX_wFLF1P4AtF_6X9PWirMJ5a7vf8kks5tZbTTgaJpZM4SV7aL
.

@HenryCaiHaiying @orderedchaosdev Thanks for the quick response. We have a fork of Secor here. I will try to find some time to write a patch and hopefully contribute it back.

Thanks a lot, let me know when you are ready to contribute.

@efeller @HenryCaiHaiying Any updates?

@chitaks @tkaymak I'll submit a pull request this week. I'll tag you guys when its up


docs: Add architecture docs for the Identity and Trust protocol

What this PR changes/adds
Adds documents detailing the architecture that will be used to implement the Identity and Trust protocol.
Linked Issue(s)
Closes #147

@bscholtes1A FYI I reopened this from a fork and applied your comments.


Pub install not working in Win 7

Pub Install continues to be broken in Windows 7.
Pub install reports that it has completed successfully and creates the proper folders, but does NOT populate those folders with files.  I end up with empty folders.
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.2.9_r16323 (2012-12-19)
OS: Windows 7 - x86 (6.1)
JVM: 1.7.0_09
projects: 6
mem max/total/free: 248 / 104 / 60 MB
analysis: 0 tasks, 26 libraries, 7 contexts
index: 58904 relationships and 0 attributes in 12857 elements in 124 resources stored in 2 MB on disk
SDK installed: true
Dartium installed: true

This issue has been moved to dart-lang/pub#397.


I am confused about this,  since the tests has no coverage of it

could you please show a test case to cover this?

Hi @epiphyllum, you need to define a DataFetcher for that field that as input arguments receives a reference of 'TitleFormat'. I.e have a '@ DgsComponent' bean with a method annotated with '@DgsQuery' that has a 'TitleFormat' argument annotated with '@InputArgument'. There is a section in our docs that explain how you can generate Java Types from your schema such that you don't need to manually generate a 'TitleFormat' class.

thanks, i got it!


How to put text in the map?

Hi @mgorabbani,
With text it depends a little bit what you are trying to do, but generally, you can add text directly into the map, as if you were working with raw SVG. Note I am using the basic SVG <text /> element, not anything specific to react-simple-maps.
import { ComposableMap, ZoomableGrou, Geographies, Markers } from "react-simple-maps"

const Map = () =>
  <ComposableMap>
    <ZoomableGroup>
      <Geographies>...</Geographies>
      <Markers>...</Markers>
      <text x={0} y={100}>
        { "Just add text anywhere" }
      </text>
    </ZoomableGroup>
  </ComposableMap>

If you are trying to place text geographically, you can use either a <Marker /> or an <Annotation /> component. Check out the docs for markers or annotations.
Let me know if this answers your question.

@zimrick Is there a way you can show something more than a text, a div for example, by which you can display more data/details geographically ?

If you want to add some kind of static overlay box and text in it at a specific geographic location you can do that without divs. You can't really work with divs in SVG (unless you use something like foreignObject), but you have rect, text, and tspan, which you can use to create something that looks like a div with text in it.
The only problem is text wrapping, which is not supported by default in SVG. In order to add a text box at a geographic location, you can use Marker, since it doesn't make any assumptions about what you want to render at a specific geographic location. You can pass in any valid SVG.
...
<ComposableMap>
  <ZoomableGroup>
    <Markers>
      <Marker marker={{ coordinates: [0,0] }}>
        <rect x={0} y={0} width={200} height={100} fill="#EEE" />
        <text x={8} y={8}>{ "Text content" }</text>
      </Marker>
    </Markers>
  </ZoomableGroup>
</ComposableMap>
...

You can also check out this example by Mike Bostock on d3-blocks, which has a nifty little js function to help with wrapping: https://bl.ocks.org/mbostock/7555321
There is also Victory, which has a VictoryLabel component. I think it supports new line characters and wraps the text for you.
Let me know if that works out.


Red Name = Red Team Blue Name = Blue team

finally

ima go test

Have been tested?
Yes
Anything lmao idk
So rather having a teams nametag being example: [RED] Person1, [BLUE] Person 2
so i changed it to show your team by showing what color you
nametag is
Older:
[RED] Person 1  && [BLUE] Person 2
New:
Person 1 && Person 2
// Person 1 has a red nametag and Person 2 has a blue nametag

wait


Python example is broken

Hey,
Trying to deploy a python lambda to my project. Seems to be dead on arrival. Decided to try running the python example and have run into similar issues.
The example is kinda broken, but the default handler still deploys. I'm open to fixing the example if I can test it properly.
npx create-sst@latest --template=examples/rest-api-python

cd my-app --whatever you named it
pnpm install
pnpm dev

Then try to run the lambda in any way locally.

from the sst console
from going to the api gateway url (should just be a GET)

The error I get is:
|  Invoked functions/lambda.handler
|  +84ms   Traceback (most recent call last):
|  +84ms     File "/Users/rjerue/dev/sst-python-ex/node_modules/sst/support/python-runtime/runtime.py", line 73, in <module>
|  +85ms   context = Context(
|  +85ms                 ^^^^^^^^
|  +85ms     File "/Users/rjerue/dev/sst-python-ex/node_modules/sst/support/python-runtime/runtime.py", line 30, in __init__
|  +85ms       self.identity = Identity(**json.loads(identity))
|  +85ms                                  ^^^^^^^^^^^^^^^^^^^^
|  +85ms     File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py", line 339, in loads
|  +85ms       raise TypeError(f'the JSON object must be str, bytes or bytearray, '
|  +85ms   TypeError: the JSON object must be str, bytes or bytearray, not NoneType

Expected result: should say "Hello world"

Fix for it is:
if (identity != None):
            self.identity = Identity(**json.loads(identity))

I think this field is used by cognito and might not always exist
in sst/support/python-runtime/runtime.py... will see if I can PR and put up the examples.

So while that fixes the above, when I invoke from the console the event and context are barren... aws fills those in though if I go to the url. Could just be my misunderstanding in how it all works

https://github.com/serverless-stack/sst/issues/2530 trying to fix the python example for this and banging my head against the wall. I'm not really a python expert either... just have a project with a bunch of preexisting lambdas I'd like to reuse. changed example package to look like this. The "hello" lambda has no dependency, the "functions" one is similar to the example.
The project only runs correctly if requirements.txt is at the root of the file. Otherwise, I get strange errors like this even though it clearly exists:
Error: Could not find src for packages/hello/lambda.handler

Trace: Error: Could not find src for packages/hello/lambda.handler
    at Object.startWorker (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/runtime/handlers/python.js:46:23)
    at async Object.cb (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/runtime/workers.js:39:9)
    at process.<anonymous> (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/cli/sst.js:58:17)
    at process.emit (node:events:402:35)
    at processEmit [as emit] (/Users/rjerue/dev/rest-api-python/node_modules/signal-exit/index.js:199:34)
    at process._fatalException (node:internal/process/execution:170:25)
    at processPromiseRejections (node:internal/process/promises:246:11)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)

Need help with this error? Join the SST community on Discord https://sst.dev/discord

Now, if I put the requirements.txt in the same folder of the lambda, I get a different error:
|  Invoked packages/hello/lambda.handler
|  +123ms  Traceback (most recent call last):
|  +124ms  File "/Users/rjerue/dev/rest-api-python/node_modules/sst/support/python-runtime/runtime.py", line 89, in <module>
|  +124ms      module = import_module(args.handler_module)
|  +124ms               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|  +124ms    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 121, in import_module
|  +124ms      raise TypeError(msg.format(name))
|  +124ms  TypeError: the 'package' argument is required to perform a relative import for '.lambda'
|  Error: the 'package' argument is required to perform a relative import for '.lambda'
     File "/Users/rjerue/dev/rest-api-python/node_modules/sst/support/python-runtime/runtime.py", line 89, in <module>
    module = import_module(args.handler_module)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 121, in import_module
    raise TypeError(msg.format(name))

Even with all that, I'm skeptical that it'll run in the lambda if I keep it in the root.
Though it doesn't let me deploy:
➜ rest-api-python (main) ✗ npx sst deploy --stage prod
SST v2.0.33

➜  App:     rest-api-python
   Stage:   prod
   Region:  us-east-1
   Account:<PHONE_NUMBER>00

Error: Invalid src or dest: cp returned undefined (cannot copy /Users/rjerue/dev/rest-api-python to a subdirectory of self /Users/rjerue/dev/rest-api-python/.sst/artifacts/c87642d2197ff795af7529ce8b101ee4dc72b47e10) /Users/rjerue/dev/rest-api-python/.sst/artifacts/c87642d2197ff795af7529ce8b101ee4dc72b47e10

Trace: SystemError [ERR_FS_CP_EINVAL]: Invalid src or dest: cp returned undefined (cannot copy /Users/rjerue/dev/rest-api-python to a subdirectory of self /Users/rjerue/dev/rest-api-python/.sst/artifacts/c87642d2197ff795af7529ce8b101ee4dc72b47e10) /Users/rjerue/dev/rest-api-python/.sst/artifacts/c87642d2197ff795af7529ce8b101ee4dc72b47e10
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at new SystemError (node:internal/errors:233:5)
    at new NodeError (node:internal/errors:336:7)
    at checkPaths (node:internal/fs/cp/cp:108:11)
    at async cpFn (node:internal/fs/cp/cp:67:17)
    at async Object.build (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/runtime/handlers/python.js:94:13)
    at async task (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/runtime/handlers.js:34:31)
    at async Object.build (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/runtime/handlers.js:78:23)
    at async file:///Users/rjerue/dev/rest-api-python/node_modules/sst/constructs/Function.js:189:32
    at process.<anonymous> (file:///Users/rjerue/dev/rest-api-python/node_modules/sst/cli/sst.js:58:17)
    at process.emit (node:events:402:35)
    at process.emit (node:domain:475:12)
    at process._fatalException (node:internal/process/execution:170:25)
    at processPromiseRejections (node:internal/process/promises:246:11)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)

Need help with this error? Join the SST community on Discord https://sst.dev/discord

Not really sure what direction to go here

Ok, I've got a version that at least publishes.
Trick was to make the file structure look like:

And use the function construct rather than the inline json definition. Dependencies not installing now.

Hey, thank you for your work on the broken example! Following up on this issue as we would like to use python lambdas in our project with dependencies. Will there be a fix for that in the near future or can you please help me out with alternatives that worked for you?

https://github.com/serverless-stack/sst/commit/2c332911ffa2ee6d6d459ab2464dc21cd04c9405 fixed the invocation issues I was having. I ended up putting my deps in a layer and haven't changed it away from that.

@rjerue How did you manage to put the dependencies in a layer? Could you provide an example?
Thank you!

@ClemensJakob I managed to do it without layers.
sst version 2.1.6 and a folder structure of:

Thanks @kardosorsi!
I'm trying to get it runnign with your folder structure. How is your API / Function construct built? Mine currently looks like this:
 const api = new Api(stack, "api", {     routes: {       "GET /talks": new Function(stack, "ListTalks", {         handler:packages/functions/src/lambda.handler,         runtime: "python3.8",         python: {           installCommands: ["pip install -r requirements.txt"],         },       }),     },   });

I don't have the python: { installCommands... part, but otherwise the same.

Now it works, thank you!


Implement and integrate mouseWheelHandler

As described in #13.

There are two basic message types for these kind of events: WHEEL_MESSAGE_TYPE and SCROLL_MESSAGE_TYPE.
For further details, please see: src/constants.js and src/handlers.js.
This feature is available for at least >2 years, since 7463bc25.


k3d zarf package script

Is your feature request related to a problem? Please describe.
k3d is the primary ephemeral cluster being used in testing today. However, there are many ways to deploy k3d depending what features are needed in the cluster. Consider adding the uds-k3d zarf package to the scripts.
(This was brought up during Pepr office hours are is added for tracking/visibility)
Describe the solution you'd like

Given the package.json is being read in a Pepr module
When you look at the scripts
Then you see a way to deploy the k3d zarf package.

Describe alternatives you've considered
(optional) A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

After discussion we have decided to close this due to the fact that uds-k3d contains Istio specifics like metallb that are not necessary for running Pepr. We look to stay lean for now. We will open in the future if need be


Unable to install ms-python.python, ms-toolsai.jupyter not compatible with current VS Code version, 1.58.0

Issue Type: Bug
Steps to Reproduce:

Just after a clean install, launched VS Code
Searched for ms-python.python, clicked 'Install'
Returns 'Unable to install ms-toolsai.jupyter extension because it is not compatible with the current version of VS Code (version 1.58.0).'

VS Code version: Code - OSS 1.58.0 (2d23c42a936db1c7b3b06f918cde29561cc47cd6, 2021-07-12T23:51:36.303Z)
OS version: Linux x64 5.13.13-1-MANJARO
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz (8 x 900)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
0, 0, 0

Memory (System)
15.56GB (9.34GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
gnome

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome

XDG_SESSION_TYPE
x11

Extensions: none

I'm experiencing the same thing, very similar environment... Manjaro...

Code - OSS 1.58.0

I do not think we support extension installation on OSS build. If you got this installer through another source, please file an issue against that.

@sandy081 Extension installation is supported in the OSS build, I've been using that since I started using code.
Could you please check if you are dropping support for the OSS build officially or whether this is just a hunch/rumor?

@sandy081 I've got the installer straight from OSS Build (or tried to, since I couldn't end installation because of the bug I reported). Installing extensions from Marketplace it's been always available. (Reproduced both in Manjaro Gnome and Manjaro KDE)
Fresh install, this time on Manjaro KDE

Taking a look at Marketplace

Going for installation

Not allowed because...

@sandy081 Extension installation is supported in the OSS build, I've been using that since I started using code.
Could you please check if you are dropping support for the OSS build officially or whether this is just a hunch/rumor?

@iohzrd, @bneijt have you considered trying out a different version? https://wiki.archlinux.org/title/Visual_Studio_Code
I've just managed to install VS Code and its Python(Pylance) extension.

https://wiki.archlinux.org/title/Visual_Studio_Code says following

Visual Studio Code is a cross-platform proprietary text editor (licensed under an End-User License Agreement) developed by Microsoft, built on top of a free and open-source project named Codium (licensed under the MIT License),

It is built on top of Codium which is different. So please file issue against Codium project.

https://wiki.archlinux.org/title/Visual_Studio_Code says following

Visual Studio Code is a cross-platform proprietary text editor (licensed under an End-User License Agreement) developed by Microsoft, built on top of a free and open-source project named Codium (licensed under the MIT License),

It is built on top of Codium which is different. So please file issue against Codium project.

Oh, I guess the wiki is wrong there. Codium is a community rebrand/rebuild of vscode which is an open source version from Microsoft hosted here in this repo. (Think Iceweasel vs Firefox). Then there is also the proprietary binary Visual Studio Code, which is based on this open source version but closed by a Microsoft license. You can only get the binary there, source is protected.
The only issue here is that you need at least version 1.60 to allow for the marketplace plugin to install. This is not a Codium issue as the above mentioned the user is not running Codium but the built from source vscode from this repository.
To summarize:

No need to post bug anywhere else
You need to upgrade to at least 1.60 to be able to use ms-python plugin
The whole closed/open/combined licensing forest is confusing for a lot of people ;)

@sandy081 and @bneijt thanks for clarifying this.

* The whole closed/open/combined licensing forest is confusing for a lot of people ;)

You're absolutly right @bneijt . Sorry for my confusion.

@sandy081 Extension installation is supported in the OSS build, I've been using that since I started using code.
Could you please check if you are dropping support for the OSS build officially or whether this is just a hunch/rumor?

@iohzrd, @bneijt have you considered trying out a different version? https://wiki.archlinux.org/title/Visual_Studio_Code
I've just managed to install VS Code and its Python(Pylance) extension.

The Code OSS build is flagged as out-of-date. It seems not to be maintained anymore. See https://archlinux.org/packages/community/x86_64/code/

You're right.

Source Files
https://github.com/archlinux/svntogit-community/tree/packages/code/trunk
/ View Changes
https://github.com/archlinux/svntogit-community/commits/packages/code/trunk
Bug Reports https://bugs.archlinux.org/?project=5&string=code / Add
New Bug
https://bugs.archlinux.org/newtask?project=5&product_category=33&item_summary=[code]+PLEASE+ENTER+SUMMARY
Search Wiki
https://wiki.archlinux.org/title/Special:Search?search=code / Manual
Pages https://man.archlinux.org/listing/code
Security Issues https://security.archlinux.org/package/code

Flagged out-of-date on 2021-07-13

Download From Mirror
https://archlinux.org/packages/community/x86_64/code/download

On Sat, Sep 25, 2021 at 8:16 PM Takashi Tamura @.***>
wrote:

The Code OSS build is flagged as out-of-date. It seems not to be
maintained anymore. See
https://archlinux.org/packages/community/x86_64/code/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/133043#issuecomment-927197001,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVYHQX4C7XKNW2VP7UGUZTUDZJ3PANCNFSM5D63PS3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


EverCrypt Cryptofuzz support

I've been building Cryptofuzz which is a differential fuzzer for cryptographic operations like digests, HMACs, CMACs, KDFs, symmetric encryption and decryption (asymmetric cryptography planned but implemented).
It has already found a bunch of bugs in OpenSSL and LibreSSL (see here). The plan is to run it 24/7 on oss-fuzz, see this PR.
This can be a good opportunity to test EverCrypt. Ideally EverCrypt would be compiled with code coverage instrumentation (eg. -fsanitize=fuzzer-no-link) but if that is not possible that's OK.
Implementing a new module for Cryptofuzz is easy, you just override some functions of a base class and call your API functions from there. The README.md has some information, or refer to a minimal module like Beast.
Once you have implemented the EverCrypt module, I can add you to the oss-fuzz Cryptofuzz project and you'll get an e-mail whenever it finds a bug. oss-fuzz is a free service, you don't need to pay anything.

Thanks for the suggestion Guido.
This looks like something worth doing and not too costly to implement. I will discuss with others members of the team and come back to you.

I started implementing an EverCrypt module in a fork of Cryptofuzz. It currently only implements SHA256 and SHA512 using the one-shot and incremental APIs.
I'm using a Dockerfile derived from the Dockerfile in OSS-Fuzz to fuzz the v0.1alpha1 EverCrypt release against libsodium with ASan. The Dockerfile and auxiliary files are in https://github.com/s-zanella/cryptofuzz-evercrypt.
Build it with e.g.
docker build -t oss-fuzz:cryptofuzz . && docker run -t oss-fuzz:cryptofuzz
Once built, create a new image with
docker commit <container-id> oss-fuzz:cryptofuzz-built
and start fuzzing with
 docker run --cap-add SYS_PTRACE -t oss-fuzz:cryptofuzz-built /src/fuzz.sh
It found no bugs so far, but it is covering very little of EverCrypt at the moment.
@guidovranken Let me know if this goes in the right direction and I'll implement more operations.

Excellent! Thank you. Can you make a PR from https://github.com/s-zanella/cryptofuzz? We can start running on OSS-Fuzz right away, if you want. I just need one (or more) e-mail addresses linked to a Google account and I'll do the rest.

Done: https://github.com/guidovranken/cryptofuzz/pull/1
Let's discuss the details in the PR.
I'll let you know soon which e-mail address we want to use for OSS-Fuzz.
Many thanks!

This is now merged in Cryptofuzz and OSS-Fuzz.
It tests all supported digests, HMAC and HKDF algorithms, as well as AES{128,256}-GCM and ChaCha20-Poly1305. Still missing

[ ] AES-CTR
[ ] AES
[ ] ChaCha20
[ ] Poly1305

Cryptofuzz doesn't support asymmetric primitives at the moment, so no Curve25519 yet.
Thanks again @guidovranken!

Has this been resolved at this point?  If so, shall we close the issue?

The support is there and has been running as part of OSS-Fuzz for a while.
The unchecked boxes in my last comment are still unchecked. We can either leave this issue open or open a new one to track progress on those.

Ah, I misinterpreted that comment.  I think EverCrypt now exposes an API for AES-CTR.  Not sure about AES on its own.  @protz would know.  Same for ChaCha and Poly as separate algorithms.

EverCrypt only exposes the CTR block function. It exposes neither the raw keystream, nor a complete ctr encryption.


python310Packages.license-expression: 30.0.0 -> 30.1.0

Changelog: https://github.com/nexB/license-expression/blob/v30.1.0/CHANGELOG.rst
Diff<EMAIL_ADDRESS>Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

3 packages failed to build:

python310Packages.scancode-toolkit
python311Packages.scancode-toolkit
python311Packages.tern

5 packages built:

amberol
python310Packages.license-expression
python310Packages.tern
python311Packages.license-expression
reuse


The Makefile is hard to use

Looking at this repository and trying to build all the things required to run kata, the Makefile is not very helpful.  I expected to see a make or at least a make static that would get me going but I'm at a complete loss.
Can we have improvements to the Makefile that will get people started in the right direction to at least create something that can be consumed?
Thanks!

might be this can help https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#initial-setup

@devimc thanks.  That gets me much farther.
I was wondering, since this is the packaging repo, why not just automate all those steps in this repo?  It would go a long way for people to contribute to kata by having a smooth build pipeline.

@crosbymichael yeah, sounds good to me, would you like to bring up this topic in the next architecture meeting ?

Michael, assigned it to you for adding the relevant documentation.
Let us know if you need any help.

This issue is being automatically closed as Kata Containers 1.x has now reached EOL (End of Life). This means it is no longer being maintained.

Important:
All users should switch to the latest Kata Containers 2.x release to ensure they are using a maintained release that contains the latest security fixes, performance improvements and new features.

This decision was discussed by the @kata-containers/architecture-committee and has been announced via the Kata Containers mailing list:

http://lists.katacontainers.io/pipermail/kata-dev/2020-November/001601.html
http://lists.katacontainers.io/pipermail/kata-dev/2021-April/001843.html
http://lists.katacontainers.io/pipermail/kata-dev/2021-May/001896.html

If you believe this issue still applies to Kata Containers 2.x, please open an issue against the Kata Containers 2.x repository, pointing to this one, providing details to allow us to migrate it.


Fix bug where transaction number was incorrectly used instead of id

Fixes #27

@joiglifberg That is not bug. That is expectable construction. May be there's wrong varibale name: transction number instead of transaction_id


Note that Repository#Flush ignores cache prefix

As discussed in https://github.com/laravel/framework/issues/5034
This patch adds a warning in the docstring for the flush method and also in the help text of the artisan cache:flush command.
If you would prefer this to be against a different branch I can rebase.
Sister pull request to https://github.com/laravel/laravel/pull/3199

@GrahamCampbell Still waiting to hear back.