missing pgo_api.h

When I'm trying to build a FDW driver, I get this error:
✗ dune build
File "caddie/native/dune", line 13, characters 23-31:
13 |   (names s3_fdw_driver internal)
                            ^^^^^^^^
internal.c:2:10: fatal error: 'pgo_api.h' file not found
#include "pgo_api.h"
         ^~~~~~~~~~~
1 error generated.

Any idea why?

Hard to say without trying out the build (is the project available somewhere?) or at least seeing the _build/log.

No the project per se is not open sourced but I basically duplicated the Github FDW example inside my own project. I'll try to replicate it in a minimal repro.
Here is the full _build/log for now:
# dune build
# OCAMLPARAM: unset
# Shared cache: disabled
# Workspace root: /Users/paul/code/dialo
# Auto-detected concurrency: 8
$ /Users/paul/code/dialo/_opam/bin/ocamlc.opt -config > /var/folders/2k/9dsd6lhj3g5gj0zvj6s75g8w0000gn/T/dune_9cd5fd_output
# Dune context:
#  { name = "default"
#  ; kind = "default"
#  ; profile = Dev
#  ; merlin = true
#  ; for_host = None
#  ; fdo_target_exe = None
#  ; build_dir = "default"
#  ; toplevel_path = Some External "/Users/paul/code/dialo/_opam/lib/toplevel"
#  ; ocaml_bin = External "/Users/paul/code/dialo/_opam/bin"
#  ; ocaml = Ok External "/Users/paul/code/dialo/_opam/bin/ocaml"
#  ; ocamlc = External "/Users/paul/code/dialo/_opam/bin/ocamlc.opt"
#  ; ocamlopt = Ok External "/Users/paul/code/dialo/_opam/bin/ocamlopt.opt"
#  ; ocamldep = Ok External "/Users/paul/code/dialo/_opam/bin/ocamldep.opt"
#  ; ocamlmklib = Ok External "/Users/paul/code/dialo/_opam/bin/ocamlmklib.opt"
#  ; env =
#      map
#        { "DUNE_OCAML_HARDCODED" : "/Users/paul/code/dialo/_opam/lib"
#        ; "DUNE_OCAML_STDLIB" : "/Users/paul/code/dialo/_opam/lib/ocaml"
#        ; "DUNE_SOURCEROOT" : "/Users/paul/code/dialo"
#        ; "INSIDE_DUNE" : "/Users/paul/code/dialo/_build/default"
#        ; "MANPATH" : "/Users/paul/code/dialo/_build/install/default/bin"
#        ; "OCAMLFIND_IGNORE_DUPS_IN" :
#            "/Users/paul/code/dialo/_build/install/default/lib"
#        ; "OCAMLPATH" : "/Users/paul/code/dialo/_build/install/default/lib"
#        ; "OCAMLTOP_INCLUDE_PATH" :
#            "/Users/paul/code/dialo/_build/install/default/lib/toplevel"
#        ; "OCAML_COLOR" : "always"
#        ; "OPAMCOLOR" : "always"
#        }
#  ; findlib_paths = [ External "/Users/paul/code/dialo/_opam/lib" ]
#  ; arch_sixtyfour = true
#  ; natdynlink_supported = true
#  ; supports_shared_libraries = true
#  ; ocaml_config =
#      { version = "4.14.0"
#      ; standard_library_default = "/Users/paul/code/dialo/_opam/lib/ocaml"
#      ; standard_library = "/Users/paul/code/dialo/_opam/lib/ocaml"
#      ; standard_runtime = "the_standard_runtime_variable_was_deleted"
#      ; ccomp_type = "cc"
#      ; c_compiler = "cc"
#      ; ocamlc_cflags =
#          [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread" ]
#      ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
#      ; ocamlopt_cflags =
#          [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread" ]
#      ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
#      ; bytecomp_c_compiler =
#          [ "cc"
#          ; "-O2"
#          ; "-fno-strict-aliasing"
#          ; "-fwrapv"
#          ; "-pthread"
#          ; "-D_FILE_OFFSET_BITS=64"
#          ]
#      ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ]
#      ; native_c_compiler =
#          [ "cc"
#          ; "-O2"
#          ; "-fno-strict-aliasing"
#          ; "-fwrapv"
#          ; "-pthread"
#          ; "-D_FILE_OFFSET_BITS=64"
#          ]
#      ; native_c_libraries = [ "-lm" ]
#      ; native_pack_linker = [ "ld"; "-r"; "-o" ]
#      ; cc_profile = []
#      ; architecture = "amd64"
#      ; model = "default"
#      ; int_size = 63
#      ; word_size = 64
#      ; system = "macosx"
#      ; asm = [ "cc"; "-c"; "-Wno-trigraphs" ]
#      ; asm_cfi_supported = true
#      ; with_frame_pointers = false
#      ; ext_exe = ""
#      ; ext_obj = ".o"
#      ; ext_asm = ".s"
#      ; ext_lib = ".a"
#      ; ext_dll = ".so"
#      ; os_type = "Unix"
#      ; default_executable_name = "a.out"
#      ; systhread_supported = true
#      ; host = "x86_64-apple-darwin21.5.0"
#      ; target = "x86_64-apple-darwin21.5.0"
#      ; profiling = false
#      ; flambda = false
#      ; spacetime = false
#      ; safe_string = true
#      ; exec_magic_number = "Caml1999X031"
#      ; cmi_magic_number = "Caml1999I031"
#      ; cmo_magic_number = "Caml1999O031"
#      ; cma_magic_number = "Caml1999A031"
#      ; cmx_magic_number = "Caml1999Y031"
#      ; cmxa_magic_number = "Caml1999Z031"
#      ; ast_impl_magic_number = "Caml1999M031"
#      ; ast_intf_magic_number = "Caml1999N031"
#      ; cmxs_magic_number = "Caml1999D031"
#      ; cmt_magic_number = "Caml1999T031"
#      ; natdynlink_supported = true
#      ; supports_shared_libraries = true
#      ; windows_unicode = false
#      }
#  }
$ (cd _build/default/caddie/native && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -Werror=implicit-function-declaration -I/usr/local/opt/libpq/include/postgresql/server -fPIC -I. -g -I /Users/paul/code/dialo/_opam/lib/ocaml -I /Users/paul/code/dialo/_opam/lib/base -I /Users/paul/code/dialo/_opam/lib/base/base_internalhash_types -I /Users/paul/code/dialo/_opam/lib/base/caml -I /Users/paul/code/dialo/_opam/lib/base/shadow_stdlib -I /Users/paul/code/dialo/_opam/lib/bigarray-compat -I /Users/paul/code/dialo/_opam/lib/biniou -I /Users/paul/code/dialo/_opam/lib/camlp-streams -I /Users/paul/code/dialo/_opam/lib/ctypes -I /Users/paul/code/dialo/_opam/lib/easy-format -I /Users/paul/code/dialo/_opam/lib/integers -I /Users/paul/code/dialo/_opam/lib/pgo/__private__/pgo_fdw_desc -I /Users/paul/code/dialo/_opam/lib/pgo/api -I /Users/paul/code/dialo/_opam/lib/pgo/api_desc -I /Users/paul/code/dialo/_opam/lib/pgo/fdw -I /Users/paul/code/dialo/_opam/lib/pgo/typ -I /Users/paul/code/dialo/_opam/lib/pgo/typ_desc -I /Users/paul/code/dialo/_opam/lib/sexplib0 -I /Users/paul/code/dialo/_opam/lib/stdlib-shims -I /Users/paul/code/dialo/_opam/lib/yojson -I . -o internal.o -c internal.c)
> internal.c:2:10: fatal error: 'pgo_api.h' file not found
> #include "pgo_api.h"
>          ^~~~~~~~~~~
> 1 error generated.
[1]
$ (cd _build/default/caddie/native && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -Werror=implicit-function-declaration -I/usr/local/opt/libpq/include/postgresql/server -fPIC -I. -g -I /Users/paul/code/dialo/_opam/lib/ocaml -I /Users/paul/code/dialo/_opam/lib/base -I /Users/paul/code/dialo/_opam/lib/base/base_internalhash_types -I /Users/paul/code/dialo/_opam/lib/base/caml -I /Users/paul/code/dialo/_opam/lib/base/shadow_stdlib -I /Users/paul/code/dialo/_opam/lib/bigarray-compat -I /Users/paul/code/dialo/_opam/lib/biniou -I /Users/paul/code/dialo/_opam/lib/camlp-streams -I /Users/paul/code/dialo/_opam/lib/ctypes -I /Users/paul/code/dialo/_opam/lib/easy-format -I /Users/paul/code/dialo/_opam/lib/integers -I /Users/paul/code/dialo/_opam/lib/pgo/__private__/pgo_fdw_desc -I /Users/paul/code/dialo/_opam/lib/pgo/api -I /Users/paul/code/dialo/_opam/lib/pgo/api_desc -I /Users/paul/code/dialo/_opam/lib/pgo/fdw -I /Users/paul/code/dialo/_opam/lib/pgo/typ -I /Users/paul/code/dialo/_opam/lib/pgo/typ_desc -I /Users/paul/code/dialo/_opam/lib/sexplib0 -I /Users/paul/code/dialo/_opam/lib/stdlib-shims -I /Users/paul/code/dialo/_opam/lib/yojson -I . -o s3_fdw_driver.o -c s3_fdw_driver.c)
> s3_fdw_driver.c:7:10: fatal error: 'pgo_api.h' file not found
> #include "pgo_api.h"
>          ^~~~~~~~~~~
> 1 error generated.
[1]
$ (cd _build/default && /Users/paul/code/dialo/_opam/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Base -g -bin-annot -I caddie/native/.s3_fdw.objs/byte -I /Users/paul/code/dialo/_opam/lib/base -I /Users/paul/code/dialo/_opam/lib/base/base_internalhash_types -I /Users/paul/code/dialo/_opam/lib/base/caml -I /Users/paul/code/dialo/_opam/lib/base/shadow_stdlib -I /Users/paul/code/dialo/_opam/lib/bigarray-compat -I /Users/paul/code/dialo/_opam/lib/biniou -I /Users/paul/code/dialo/_opam/lib/camlp-streams -I /Users/paul/code/dialo/_opam/lib/ctypes -I /Users/paul/code/dialo/_opam/lib/easy-format -I /Users/paul/code/dialo/_opam/lib/integers -I /Users/paul/code/dialo/_opam/lib/pgo/api -I /Users/paul/code/dialo/_opam/lib/pgo/api_desc -I /Users/paul/code/dialo/_opam/lib/pgo/fdw -I /Users/paul/code/dialo/_opam/lib/pgo/typ -I /Users/paul/code/dialo/_opam/lib/pgo/typ_desc -I /Users/paul/code/dialo/_opam/lib/sexplib0 -I /Users/paul/code/dialo/_opam/lib/stdlib-shims -I /Users/paul/code/dialo/_opam/lib/yojson -no-alias-deps -opaque -o caddie/native/.s3_fdw.objs/byte/s3_fdw.cmo -c -impl caddie/native/s3_fdw.ml)
> File "caddie/native/s3_fdw.ml", lines 4-89, characters 8-4:
>  4 | ........Make_fdw (struct
>  5 |   let name = "github_fdw"
>  6 |
>  7 |   type wrapper_options = unit
>  8 |
> ...
> 86 |   let rescan_foreign_scan state =
> 87 |     begin_foreign_scan ~wrapper_options:() ~server_options:state.server_options
> 88 |       ~table_options:state.table_options ()
> 89 | end)
> Error: This module is not a structure; it has type Pgo_fdw_desc.FDW_INTERNAL
[2]

I guess the last line is because I changed the content of the ML file a bit and haven't debugged it yet.


Clickhouse database connection error

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Superset version
0.28
Expected results
To monitor clickhouse data
Actual results
Loaded your LOCAL configuration at [/home/work/incubator-superset/superset/superset_config.py]
2018-11-22 15:02:41,147:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost
2018-11-22 15:02:41,149:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: HTTPConnectionPool(host='localhost', port=8123): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f118e10b470>: Failed to establish a new connection: [Errno 111] Connection refused',))
Steps to reproduce
I am running superset with docker.
I did all steps:
bash -x docker-build.sh
docker-compose up -d
docker-compose exec superset bash
bash docker-init.sh
I change superset_config.py like SQLALCHEMY_DATABASE_URI = "clickhouse://localhost:8123"
I don't know If I am missing something. Can you please help me to connect to clickhouse. Should I need to add/change/delete something else in config or somewhere else? My clickhouse server is running without problem and I can monitor data with other UI but I want to use superset. I am missing some config most probably.
Thank you.

make sure you can make connection (by curl or wget) to clickhouse server. Furthermore, you need to install clickhouse orm on this. Check the docker in docker hub for reference

Ok
On Nov 25, 2018 11:19 PM, "kaitorecca"<EMAIL_ADDRESS>wrote:
make sure you can make connection (by curl or wget) to clickhouse server.
Furthermore, you need to install clickhouse orm on this. Check the docker
in docker hub for reference
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-superset/issues/6425#issuecomment-441530347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqbE1caHRUwSAdJ24O5IlF144yDUExY1ks5uy4fsgaJpZM4YviS5
.

Actually I solve this but now I have this

2018-11-26 08:15:11,501:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,504:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST / HTTP/1.1" 200 None
2018-11-26 08:15:11,506:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,508:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,509:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,511:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,514:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,516:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65131aca-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,519:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,520:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=6513e2a2-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,522:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,524:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65146cd6-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,527:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,528:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65151db6-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,531:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,533:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=6515bb68-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,536:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,538:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65166fc2-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,541:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,542:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65171b70-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,544:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,546:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=6517c62e-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,548:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,549:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=65184a54-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,551:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,552:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=6518cbd2-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,554:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,555:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=651949a4-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,558:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,559:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=6519ceb0-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 200 None
2018-11-26 08:15:11,562:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): some-clickhouse-server
2018-11-26 08:15:11,601:DEBUG:urllib3.connectionpool:http://some-clickhouse-server:8123 "POST /?query_id=651a7450-f153-11e8-ae24-0242c0a81005&database=default HTTP/1.1" 500 None
2018-11-26 08:15:11,602:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 43 (line 3, col 13): NOT NULL,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id),
UNIQUE (name)
)

FORMAT TabSeparatedWithNamesAndTypes. Expected one of: DEFAULT, MATERIALIZED, ALIAS, token, ClosingRoundBracket, Comma, e.what() = DB::Exception

I have this:
ERROR: (builtins.NoneType) None
[SQL: Error HTTPConnectionPool(host='<IP_ADDRESS>', port=8123): Max retries exceeded with url: /?wait_end_of_query=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) executing HTTP request http://<IP_ADDRESS>:8123]
(Background on this error at: https://sqlalche.me/e/14/dbapi)
My local code is empty. Here are some ways I can try to use links. Can you help me see what the problem is?
clickhousedb://default:default@<IP_ADDRESS>:8123/default
clickhousedb://default:default:''@<IP_ADDRESS>:8123/default
clickhousedb://default:default:""@<IP_ADDRESS>:8123/default
clickhousedb://default:default:NULL@<IP_ADDRESS>:8123/default

I have this: ERROR: (builtins.NoneType) None [SQL: Error HTTPConnectionPool(host='<IP_ADDRESS>', port=8123): Max retries exceeded with url: /?wait_end_of_query=1 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) executing HTTP request http://<IP_ADDRESS>:8123] (Background on this error at: https://sqlalche.me/e/14/dbapi)
My local code is empty. Here are some ways I can try to use links. Can you help me see what the problem is? clickhousedb://default:default@<IP_ADDRESS>:8123/default clickhousedb://default:default:''@<IP_ADDRESS>:8123/default clickhousedb://default:default:""@<IP_ADDRESS>:8123/default clickhousedb://default:default:NULL@<IP_ADDRESS>:8123/default

Did u get any solution


SGE jobs get stuck in transfer state when nodes terminate

It seems to be quite common for the SGE master node to assign a job to a compute instance between the time the compute instance is terminated and the termination notification arrives. When this happens, the sqswatcher plugin also fails to remove the execution host because SGE sees there are jobs still assigned to it. The stuck jobs are a severe problem because manual intervention is required to notice and reschedule them.
Here is a log file snippet that shows the qconf command failing in this case:
2017-06-08 13:00:41,332 INFO [sqswatcher:pollQueue] eventType=autoscaling:EC2_INSTANCE_TERMINATE
2017-06-08 13:00:41,333 INFO [sqswatcher:pollQueue] instanceId=i-0fb2f09eff47700e5
2017-06-08 13:00:41,384 INFO [sge:removeHost] Removing ip-10-0-2-254
<EMAIL_ADDRESS>modified "all.q" in cluster queue list
<EMAIL_ADDRESS>modified "@allhosts" in host group list
Host object "ip-10-0-2-254" is still referenced in cluster queue "all.q".
2017-06-08 13:00:41,471 ERROR [sge:__runSgeCommand] Failed to run ['/opt/sge/bin/lx-amd64/qconf', '-de', 'ip-10-0-2-254']
<EMAIL_ADDRESS>removed "ip-10-0-2-254.ec2.internal" from submit host list

To reproduce the issue, I submit a steady stream of trivial jobs to a cluster and manually terminate nodes. Usually within a few attempts the problem manifests. The easiest way to be sure there are always enough jobs being assigned to all the compute nodes is to use job arrays.
$ cat test_job.sh
#!/bin/bash
echo "running task $SGE_TASK_ID on $(hostname)"

$ qsub -cwd -V -t 1-1000 -sync y test_job.sh

I have a patch for sqswatcher/plugins/sge.py that addresses this by detecting the situation and rescheduling the offending jobs before trying to run qconf. With this patch in place, I have not observed any issues with the test described above.
Unfortunately, there is still a related issue where an instance is removed while jobs are active on it. (This can happen with spot instances or if a misbehaving job has made a node unresponsive and it's terminated manually.) I have added some logging to try to discover what happened, but so far since I've added the additional logging I have not observed this again.
Should I post the patch I'm currently using or wait and see if I catch the other issue again?

Sorry for the slow reply.  A patch for the first issue (which solves some, but not all the problems), would be awesome!

The first problem should have been fixed by https://github.com/awslabs/cfncluster-node/pull/6.  sqswatcher tries to disable the queue on the node before checking for running jobs to stop jobs scheduling during scale-down. It can only handle the situation of autoscaling however.

In my testing, the only really reliable method is to check for jobs and explicitly remove them in the termination hook. This works for spot instances as well as for manual termination of unresponsive nodes.
I added a pull request for my changes: https://github.com/awslabs/cfncluster-node/pull/11

This bug has been resolved in the upcoming 1.6.0 release:
https://github.com/awslabs/cfncluster/blob/develop/CHANGELOG.rst#160
If you are willing to test the release candindate you can install it with:
pip install -Iv cfncluster==1.6.0rc1
Please keep us updated if you have the opportunity to test the rc1 or please stay tuned for the upcoming 1.6.0 release.


Cannot install the latest version via npm

I tried to install 3.2.2 with npm but it says it's not a valid version, and the latest version is 3.1.1 as you can see here:
https://www.npmjs.com/package/angular-zxcvbn
maybe you forgot to publish it?

I'm so sorry. I did forgot to publish it.

thanks


Copymail

This makes the mail button copy the email address instead of opening the mail app, which I personally prefer, if you don't please do not merge.


Rename createContext

What
Rename:

Manager::createContext to newContext
Manager::createChildContext to newChildContext
Specification.create to new

Why
#373 added the create method to Spec/Traits, and we plan to use something similar in #481, it creates some ambiguity. Manager::createContext != Context::create - this is incredibly confusing for everyone in the world. createContext needs to be clearly identified as the way host code should make a new context, Context::create will just be the conventional instance constructor for all C++ classes managed by a shared_ptr.

We decided to use make in #481, avoiding the issue...


Hidden pages and groups

Description
We want to add the ability to quickly hide certain pages and groups from the export. This will be done by prefixing their name by _.
Related resources
Slack discussion: https://supernova-studio.slack.com/archives/C0MN8AGBS/p1661510808818399
Acceptance criteria

If page, group or tab title starts with _, it will be hidden from exported site
If a group is hidden, it and all of its contents are hidden
All hidden content doesn't show in search
All links leading to hidden pages are removed

Already on PROD, will be tested there

Added to RS. This can be closed now.


Unable to upload on the WUD

Hello,
I just received the April Brothers WUD (ESP32-S2) and tried to flash this repo on it.
So far I downloaded all dependencies, select 'ESP32-S2 Dev Module' Board and was able to verify the 'WUD-Ducky.ino'.
However when I try to upload it on the WUD, I get this error message :
Sketch uses 953934 bytes (72%) of program storage space. Maximum is 1310720 bytes.
Global variables use 57208 bytes (17%) of dynamic memory, leaving 270472 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.1
Serial port /dev/cu.Bluetooth-Incoming-Port
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32-S2: Timed out waiting for packet header
Failed uploading: uploading error: exit status 2

I am not able to detect the WUD in DFU mode with dfu-util -l wether I'm pressing the RST button and applying a magnet on the ESP32-S2 module.
I'm running on a M1 Macbook Pro (Ventura 13.1).
Can you guys help me with what I'm doing wrong here ?
Thanks a lot and have a nice day !

Hi, thanks for your feedback :+1:

Serial port /dev/cu.Bluetooth-Incoming-Port

/dev/cu.Bluetooth-Incoming-Port is not a UART port, so getting a fatal error is perfectly normal.
The official documentation explains how the unit can be put in boot mode. I'm not sure why they don't mention the magnet (poke @aprilbrother) but their documentation should state that "pulling GPIO0 down" is just putting the magnet near the sensor, and "releasing GPIO0" is just taking it away.
When the operation is successful, a new serial port becomes available in arduino tool/ports menu.
Also don't forget to manually reset the esp32-wud after flashing otherwise it'll stay in download mode and just wait forever.

Hi, thanks for you quick answer !
I tried putting the magnet, holding RST then removing it but it changes nothing...
The access point disappears but nothing is detected neither by Arduino or by dfu-util ?
I dont see any seial port available except wlan and bluetooth who were already presents before.
Running on Mac OS could be the isssue ?
Thanks a lot,

just keep on trying until it works, you'll eventually find the right position/sequence, it took me a while too :wink:
I don't have a mac so I'm afraid I can't help you with troubleshooting that.
Now if it still doesn't work, please see with your seller as I'm only the maintainer of this project and this issue tracker is for problems with the code, not with the device.
closing this as out of scope


Why can't I access the official website  ‘https://echarts.icepear.org/’

When open the link https://echarts.icepear.org/  , it's blank

It looks good to me. Please check your network and VPN.


Nested Virtualization showing outdated document

When I was working with Nested Virtualization in Azure , I got to the see document which was dated as 10/09/2017 which has got couple of options along with DHCP configuration assignment for the Nested VM in Hyper-V environment, But now the page is circling back to old document, which is not having those information, Also now it's showing an old date 12/18/2016 ???
Can this be fixed?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9a13cf32-4be1-94d9-b764-0faf79372065
Version Independent ID: 6787036e-5a30-bd17-e87a-54f61b0ba47f
Content: Nested Virtualization
Content Source: virtualization/hyper-v-on-windows/user-guide/nested-virtualization.md
Service: windows-10-hyperv
Product: windows-10-hyperv
GitHub Login: @johncslack

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Fix/UI config

Set redirect from / to wallet to focus on usable UI.
Added optional .env.local configuration to set custom branding.

Example .env.local
NEXT_PUBLIC_LOGO_LIGHT=https://i.imgur.com/5OnYS9O.png
NEXT_PUBLIC_LOGO_DARK=https://i.imgur.com/28872lr.png

take a look at this, I think it makes it clearer what we want to do... https://github.com/transmute-industries/sidetree.js/pull/290

Since the config has been changed since writing this, I'll make a new branch/PR after pulling from main.


Update this repository to use Python 3.6 instead of Python 3.4

EPEL repositories now contain proper Python 3.6 packages and at the same moment Python 3.4 is being deprecated [1] [2].
It means that we need to upgrade this repository to use Python 3.6 instead of Python 3.4.
What needs to be changed AND tested:

all Dockerfiles
CICO setup
linter and pydocstyle scripts
CI and MI measurement scripts
script to start tests

References:
[1]<EMAIL_ADDRESS>[2] https://www.reddit.com/r/CentOS/comments/azetyy/python_34_to_be_deprecated_this_month/

Fixed in https://github.com/fabric8-analytics/fabric8-analytics-auth/pull/71


Wrap long stable ids in transcript list and protein list view

Description
Wrap long stable ids in transcript list and protein list view
Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-2457
Deployment URL(s)
http://fix-layout.review.ensembl.org/entity-viewer/84a55ad8-e432-479e-919d-c31731a7d5c6/gene:TraesCAD_scaffold_149876_01G000100?view=transcripts
Views affected
Entity viewer

Still broken here:


[Documentation] Initial Draft

[ ] create automatic CI-based documents pages from docstrings

hello @a-parida12 !
do you plan to make this issue available for hacktoberfest?

@trkohler yes I do. Do you want to help in setting up the documentation for the repo?

yes, I think I would. We may publish it on netlify / github pages, however you prefer.

@trkohler I assigned the issue to you. Feel free to start after 1st October.
I think GitHub pages is better as it will not add external dependency and  requires no setting up credentials etc.
What do you prefer markdown or html based? Do you have some templates in mind?

I'd investigate the options and bring it back to our discussion.

i thought to try pdoc3, wdyt?

pdoc3 LGTM. just wanted to know if it is possible to add examples code snippets also with it, cause couldn't find any reference to it. But maybe that can be an update on the API documentation?

hello again! not sure how to test the pipeline because it's not running on VM for some reason when I contribute PR with a fork.
May I ask to take a look? Maybe pipeline is visible for you?

pdoc3 adds source code to the doc (i checked it).
regarding code snippets pdoc3 supports markdown and markdown supports code snippets so you may try to add those, it should work.

thanks, I merged it!

seems like it doesn't work properly
i think it's because the root is already occupied by other static
i'd try to debug that and prepare a fix soon

Currently it is at https://a-parida12.github.io/pdf2dcm/pdf2dcm


added gitattributes to remove html from stats

added gitattributes to do not account for html on the language stats


Experiment to make tests go faster

resolves #

Problem

Solution

Checklist

[ ] I have read the contributing guide and understand what's expected of me
[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
[ ] This PR includes type annotations for new and modified functions

These optimizations have been merged piecemeal in other PRs.


Using a custom Logger object errs

From @djberg96 in #6 (see comment):
log = Logger.new(some_file)
log.formatter = proc do |severity, datetime, progname, msg|
  msg = msg.sub /Bearer(.*?)\"/, 'Bearer [FILTERED]"'
  "[#{datetime}] - #{severity} -- : #{msg}"
end

client = OAuth2::Client.new(<creds>)
client.connection.response(:detailed_logger, log)

/Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-detailed_logger-2.1.2/lib/faraday/detailed_logger/tagged_logging.rb:70:in `tagged': undefined method `tagged' for #<Proc:0x007fc99c3564a8> (NoMethodError)
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-detailed_logger-2.1.2/lib/faraday/detailed_logger/middleware.rb:55:in `call'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:56:in `call'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/oauth2-1.3.1/lib/oauth2/client.rb:99:in `request'
	from /Users/djberge/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/oauth2-1.3.1/lib/oauth2/access_token.rb:107:in `request'

Hmm .. I'm not able to reproduce this behavior. The spec below passes without issue:
  context "with tags configured" do
    it "logs prepends the tags to each line" do
      logger.formatter = proc do |severity, datetime, progname, msg|
        msg = msg.sub /Bearer(.*?)\"/, 'Bearer [FILTERED]"'
        "[#{datetime}] - #{severity} -- : #{msg}\n"
      end
      connection(logger, %w[ebi]).get("/temaki")
      log.rewind
      log.readlines.each do |line|
        expect(line).to match(/: \[ebi\] /)
      end
    end
  end

When that seemed to pass, I thought that maybe it errs if the logger given didn't support tagged, but the library already provides a shim for that with the Faraday::DetailedLogger::TaggedLogging module. That module should automatically wrap whatever logger is given if the given logger doesn't respond to tagged.
Are you able to reproduce this issue?

I'll try to come up with a standalone script. It might have something to do with oauth2 I suppose.

I haven't been able to replicate, having run into other issues, so I'll close for now.

I haven't been able to replicate, so feel free to close this. If anything, it's probably an oauth2 issue.

Alright. No problem. Thanks for trying! If you run into it again, feel free to reopen.


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update ui.js menu functionality on mobile

This pull request adds the ability to click off of the side menu to close it.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

Agreed to CLA

Great tweak to pure-site. Don't worry about the CLA, it will resolve itself eventually.

I just checked to see if there were any CLA requests which failed, but I don't see any which I need to re-submit. I'll check again tomorrow.

CLA is valid!

OK. This pull request is looking good. Thanks for the contribution!

Been a while but tested this locally, works great. Merging...


RT-10: implement deployment for the project

Implement deployment process using docker image
Acceptance criteria:

Dockerfile added to the project
Deployment process with providing environment variables is added to the project.

implemented in #19


full list dependencies

there are a couple of dependencies not specified in: https://github.com/AmericanRedCross/OpenMapKitServer/blob/master/docs/development-installation.md
i could not run OMKS without installing java (default_jre) and python module pyxform (to be added in requirements.txt ?)

Thanks for catching this. I'll add them.


Adding Eventually around failing portion of test

Codecov Report

Merging #263 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #263      +/-   ##
==========================================
- Coverage   91.06%   91.02%   -0.05%
==========================================
  Files         135      135
  Lines        2395     2395
  Branches      119      119
==========================================
- Hits         2181     2180       -1
- Misses        214      215       +1

Impacted Files
Coverage Δ

...ala/hydra/kafka/services/TopicBootstrapActor.scala
98% <0%> (-1%)
:arrow_down:

...scala/hydra/kafka/ingestors/KafkaTopicsActor.scala
100% <0%> (ø)
: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 bbd55ce...2268295. Read the comment docs.


Add optional aliases field to JSON for a codec

I would like to propose a new, optional field to be added to the JSON codec format.
The field is called "aliases" and its value is a dictionary where the key provides information about the genesis of the alias and the value of the key is the alias itself.
The immediate goal is to allow the specification of HD5 filter ids in associate with a NumCodecs identifier. So for example, one might have this:
{
        "id": "bz2",
        "level": 1,
        "aliases": {"hdf5": "307", "NumCodecs": ["bzip2", "bzip"]}
}

This indicate that the NumCodecs "bz2" filter is the same as the HDF5 filter with assigned id 307. It also indicates that the NumCodec IDS "bzip2" and "bzip" should be considered aliases for "bz2"
Semantically, since it is optional, any implementation is free to ignore the "aliases" field and is also free to ignore any entries in its associated aliases dictionary.

Withdrawn for further consideration.

Re-opened with an extended example.


should be possible to bind more than one mysql service to an app

tsuru handles this now, with the TSURU_SERVICES environment variable.


Use fork of ansible-galaxy-subdomains until next release

The current version of ansible-galaxy-subdomains has a bug that breaks galaxy.  Switch version in requirements.yml to a forked copy of the role with the bug fix until the next release of this role (0.0.13 or later).  I've made a PR to their repo and I'll switch this requirement back as soon as it is fixed. This only affects dev.
https://github.com/usegalaxy-eu/ansible-galaxy-subdomains/pull/10

Very happy to:

grant you push access to that role (y'all're the biggest user for now, EU hasn't switched)
which in turns grants you release access (there's a github action, you just trigger the action, or manually push/create a tag)

so you don't have to maintain a fork, if y'all like :)


Add Chinese Programming Terms

https://github.com/pohzipohzi/awesome-chinese-programming-terms#readme
This is a list of programming terms I found useful when conversing with my Chinese colleagues. Honestly I'm not sure if this complies nicely with the current awesome format, but it was a list that I tried hard but couldn't find anywhere online.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

You have to review at least 2 other open pull requests. Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
I have read and understood the instructions for creating a list.
This pull request has a descriptive title in the format Add Name of List (Example: Add Swift), not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

I think you submitted this too early. It still needs a lot of work. Try to add more resources. Links to external sites. Articles. Videos. Etc. Fill out the Usage column for all the items, etc. Try submitting again in a couple of months when the list is more mature.


SpotRaop quits with exec_request:625 [0x7fac00d880]: response :  request failed

I ran into this one while testing with the HomePod. I attempted to play a track by connecting from the Spotify devices menu, and a few seconds later after what seemed like mostly normal log messages, SpotRaop said exec_request:625 [0x7fac00d880]: response :  request failed and quit to the command line.
I don't know how to reproduce this because when I started SpotRaop back up and tried to connect again, it worked normally.
It does seem like this is something SpotRaop could try to handle more gracefully though. 🙂

📃 Log
$ ./spotconnect/spotraop-linux-aarch64-static -x ./spotraop-config.xml -d all=debug
[13:42:05.370361] main:1137 Starting spotraop version: v0.1.5 (Aug  6 2023 @ 16:57:26)

[13:42:05.378339] Start:906 Binding to [Main Network IP]
[13:42:05.378872] StartActiveRemote:788 DACP port: 33615
[13:42:05.493610] AddRaopDevice:528 [0xa56e10]: adding renderer (Kitchen-HomePod@[Main Network IP]) with mac AAAA-XXXXXXXX
[13:42:05.493937] raopcl_create:713 [0x7fac0094e0]: using ALAC coding
I BellHTTPServer.cpp:191: Server listening on port 0
[13:42:05.500539] AddRaopDevice:481 [0xa572c8]: AppleTV with valid authentication key [key]
[13:42:05.501050] AddRaopDevice:528 [0xa572c8]: adding renderer (Den-Apple-TV@[Main Network IP]) with mac AAAA-XXXXXXXX
[13:42:05.501533] raopcl_create:713 [0x7fac0141c0]: using ALAC coding
I BellHTTPServer.cpp:191: Server listening on port 0
[13:42:05.502473] AddRaopDevice:514 [0xa57780]: creating MAC
[13:42:05.502842] AddRaopDevice:528 [0xa57780]: adding renderer (DEVF6GT4QEDWK3TEFQNZ@[IOT Network IP]) with mac AAAA-XXXXXXXX
[13:42:05.503769] raopcl_create:713 [0x7fac01dec0]: using ALAC coding
I BellHTTPServer.cpp:191: Server listening on port 0
I spotify.cpp:366: Server using actual port 36063
I MDNSService.cpp:181: using built-in mDNS for Kitchen HomePod
I spotify.cpp:366: Server using actual port 46323
I MDNSService.cpp:181: using built-in mDNS for Den Apple TV
I spotify.cpp:366: Server using actual port 41375
I MDNSService.cpp:181: using built-in mDNS for Shop Cone+
[13:42:05.657234] AddRaopDevice:481 [0xa57c38]: AppleTV with valid authentication key [key]
[13:42:05.657377] AddRaopDevice:528 [0xa57c38]: adding renderer (Sunroom-Apple-TV@[Main Network IP]) with mac AAAA-XXXXXXXX
[13:42:05.657637] raopcl_create:713 [0x7fac027ed0]: using ALAC coding
I BellHTTPServer.cpp:191: Server listening on port 0
I spotify.cpp:366: Server using actual port 41209
I MDNSService.cpp:181: using built-in mDNS for Sunroom Apple TV
I spotify.cpp:388: Spotify client connected for Kitchen HomePod
D Session.cpp:63: Connecting with AP <ap-gue1.spotify.com:4070>
D PlainConnection.cpp:101: Connected to spotify server
I Session.cpp:39: Received APHello response
D Session.cpp:44: Received shannon keys
D Session.cpp:82: Authorization successful
I MercurySession.cpp:42: Received packet, command: 4
D TimeProvider.cpp:15: Time synced with spotify servers
I MercurySession.cpp:42: Received packet, command: 2
I MercurySession.cpp:42: Received packet, command: 118
D MercurySession.cpp:251: Executing Mercury Request, type SUB
I MercurySession.cpp:42: Received packet, command: 27
D spotify.cpp:423: keepAlive Kitchen HomePod
D MercurySession.cpp:153: Received country code US
I MercurySession.cpp:42: Received packet, command: 80
I MercurySession.cpp:42: Received packet, command: 31
I MercurySession.cpp:42: Received packet, command: 105
I MercurySession.cpp:42: Received packet, command: 181
I AccessKeyFetcher.cpp:99: Access token expired, fetching new one... 238
I MercurySession.cpp:42: Received packet, command: 74
I MercurySession.cpp:42: Received packet, command: 179
D MercurySession.cpp:174: Received mercury packet
D MercurySession.cpp:251: Executing Mercury Request, type SEND
D SpircHandler.cpp:59: Sent kMessageTypeHello!
I MercurySession.cpp:42: Received packet, command: 181
I MercurySession.cpp:42: Received packet, command: 181
D SpircHandler.cpp:67: Received subscription response
I MercurySession.cpp:42: Received packet, command: 178
D SpircHandler.cpp:124: Notify frame
D SpircHandler.cpp:67: Received subscription response
D SpircHandler.cpp:124: Notify frame
D MercurySession.cpp:174: Received mercury packet
I AccessKeyFetcher.cpp:114: Access token sucessfully fetched
I MercurySession.cpp:42: Received packet, command: 181
D SpircHandler.cpp:67: Received subscription response
D SpircHandler.cpp:124: Notify frame
I MercurySession.cpp:42: Received packet, command: 181
D SpircHandler.cpp:67: Received subscription response
D SpircHandler.cpp:170: Load frame 10!
D MercurySession.cpp:251: Executing Mercury Request, type SEND
I TrackPlayer.cpp:94: Resetting state
D MercurySession.cpp:251: Executing Mercury Request, type GET
I MercurySession.cpp:42: Received packet, command: 178
D MercurySession.cpp:174: Received mercury packet
I TrackQueue.cpp:158: Track name: Moto Verse
I TrackQueue.cpp:159: Track duration: 176069
D TrackQueue.cpp:161: trackInfo.restriction.size() = 1
D TrackQueue.cpp:212: File format: 2
D TrackQueue.cpp:212: File format: 1
D TrackQueue.cpp:212: File format: 0
I MercurySession.cpp:42: Received packet, command: 178
D MercurySession.cpp:174: Received mercury packet
I MercurySession.cpp:42: Received packet, command: 13
I TrackQueue.cpp:252: Got audio key
I TrackQueue.cpp:275: Received access key, fetching CDN URL...
I TrackQueue.cpp:301: Received CDN URL, https://audio-fa.scdn.co/audio/503cfd0bcd546647ef078e0c290f9339874c6d54?1691516544_HZDq-Qx6XgkfIQszx13pezeGDFOR6f-lwAld2swHvOg=
I TrackPlayer.cpp:167: Got track ID=503cfd0bcd546647ef078e0c290f9339874c6d54
I CDNAudioFile.cpp:43: Opening HTTP stream to https://audio-fa.scdn.co/audio/503cfd0bcd546647ef078e0c290f9339874c6d54?1691516544_HZDq-Qx6XgkfIQszx13pezeGDFOR6f-lwAld2swHvOg=
D MercurySession.cpp:251: Executing Mercury Request, type GET
I MercurySession.cpp:42: Received packet, command: 178
D MercurySession.cpp:174: Received mercury packet
I TrackQueue.cpp:158: Track name: Orb Two
I TrackQueue.cpp:159: Track duration: 184298
D TrackQueue.cpp:161: trackInfo.restriction.size() = 1
D TrackQueue.cpp:212: File format: 2
D TrackQueue.cpp:212: File format: 1
D TrackQueue.cpp:212: File format: 0
I CDNAudioFile.cpp:70: Header and footer bytes received
D MercurySession.cpp:251: Executing Mercury Request, type SEND
I spotify.cpp:235: new track will start at 0
[13:42:24.866597] shadowRequest:219 [0xa56e10]: spotify LOAD request
I MercurySession.cpp:42: Received packet, command: 13
I TrackQueue.cpp:252: Got audio key
I TrackQueue.cpp:275: Received access key, fetching CDN URL...
[13:42:24.970621] raopcl_connect:996 [0x7fac0094e0]: local interface [Main Network IP]
[13:42:24.971255] exec_request:614 [0x7fac00d880]: ----> : write ANNOUNCE rtsp://[Main Network IP]/2615159066 RTSP/1.0
Content-Type: application/sdp
Content-Length: 178
CSeq: 1
User-Agent: iTunes/7.6.2 (Windows; N;)
Client-Instance: 7d4257d25816cb73
DACP-ID: 1A2B3D4EA1B2C3D4
Active-Remote:<PHONE_NUMBER>

v=0
o=iTunes<PHONE_NUMBER> 0 IN IP4 [Main Network IP]
s=iTunes
c=IN IP4 [Main Network IP]
t=0 0
m=audio 0 RTP/AVP 96
a=rtpmap:96 AppleLossless
a=fmtp:96 352 0 16 40 10 14 2 255 0 0 44100

I MercurySession.cpp:42: Received packet, command: 178
D MercurySession.cpp:174: Received mercury packet
I TrackQueue.cpp:301: Received CDN URL, https://audio-fa.scdn.co/audio/53b2cb27ad071489f2498ce45c7d69fb800583c5?1691516545_aUomyCOqjYTYH3EHlFYrzNTzLmviuhkm9eLCaV9HByk=
D MercurySession.cpp:251: Executing Mercury Request, type GET
I MercurySession.cpp:42: Received packet, command: 178
D MercurySession.cpp:174: Received mercury packet
I TrackQueue.cpp:158: Track name: Morph
I TrackQueue.cpp:159: Track duration: 348644
D TrackQueue.cpp:161: trackInfo.restriction.size() = 1
D TrackQueue.cpp:212: File format: 2
D TrackQueue.cpp:212: File format: 1
D TrackQueue.cpp:212: File format: 0
I MercurySession.cpp:42: Received packet, command: 13
I TrackQueue.cpp:252: Got audio key
I TrackQueue.cpp:275: Received access key, fetching CDN URL...
I TrackQueue.cpp:301: Received CDN URL, https://audio-fa.scdn.co/audio/d8fc53a027322cffaaa37cf3a459daaef43d774f?1691516545_rtL_LFPctPVM7PZokBL9-XjQ96xwsUmwDrICxLeW4uQ=
[13:42:34.982234] exec_request:625 [0x7fac00d880]: response :  request failed
Segmentation fault

It's not supposed to abort() on error there. I don't know yet, but that a crash

That one should be fixed in 0.1.8


README.md: block for "HTTP Status Code" needs to be moved

Within the TOC, it's between "Cookies", and "Redirecting"; but right now it's right smack confusingly in the middle of the section about "Versioning"... See  https://github.com/ruby-grape/grape#http-status-code

Please PR! Thx.

Closed via https://github.com/ruby-grape/grape/pull/1118.


Keras Error: An operation has None for gradient

I asked my question on StackOverflow. Link
I build a custom layer, but have the problem of None gradients.

@paulhigazi
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.


Redmine #7435 Fix edit problems due to POST id code

This code would "forget" the proper value of $id and so there were effects when editing existing entries:

Captive Portal Vouchers, edit a roll, press save. You get told that the roll already exists.
DNS Forwarder, edit a host override, press save. You get told that the host override already exists.
DNS Resolver, edit a host override, press save. You get told that the host override already exists.
DNS Forwarder, edit a domain override, press save. You get a duplicate entry.

For when the user edits the IP address in a host override, I made the input error messages a bit more informative if they change the IP address V4<->V6 and there is already an entry for the new address family.

These are all the places that had the string:
$pconfig['id']

in a bad way

These problems all are apparent in 2.4 master due to the changes related to $_GET, $_POST, $_REQUEST. But actually the problem has been latent in the code in 2.3.* so the fixes could (should?) be back-ported there also.


Draft version for V2 of AzureCloudPowerShellDeployment

Task name: AzureCloudPowerShellDeploymentV2
Description: Support WIF in AzureCloudPowerShellDeployment task
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

/azp run

/azp run

/azp run

/azp run


Add a link to the Facebook community

Someone on IRC mentioned the Facebook community for React Native, but I don't
see it mentioned in any of the docs.

Thanks!


chore: migrate dev-preview to us-east-1 cluster

Context
Migrating dev-preview to our new dev cluster to improve maintainability and cost

New domain: https://dev-preview.lw.iog.io/v1.0.0/health

Hey guys, slight change of plans
Instead of eu-south-1 we are moving to us-east-1 due to AWS region limitations
Also slightly speeded up CI by merging build and publish phases and added a checkbox on workflow dispatch so one could deploy build to dev-preview without merging it to master


Add documentation for Dynamic ASGs

This PR will update the docs to include documentation for Dynamic ASGs.
It is currently pending PR cf-deployment pr 957 to be merged & released. Once it's released the XXX versions in this PR should be updated to reflect the correct version.

Hey @MarcPaquette, is this ready to merge? I noticed that it was in Draft so I wasn't able to merge it, but if it's ready I can go ahead

Hi @mjgutermuth,
We're waiting on a PR in cf-deployment before we can move forward.  Once that goes in, then this can be commited.
We haven't forgotten about it, I swear!
Thanks,
@MarcPaquette

These changes are okay to merge in at this point!


Delete empty

Fixes #?
Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@blindpirate test CA

OK, I've already triggered CompileAll build for you.

@blindpirate test RFM

OK, I've already triggered ReadyForMerge build for you.

@blindpirate test RFM

Sorry you have already triggered a build, I will not trigger a new one.

@blindpirate test RFM

Sorry you have already triggered a build, I will not trigger a new one.

@blindpirate test SC plz

OK, I've already triggered SanityCheck build for you.

@blindpirate help

Sorry I don't understand what you said, please type @

@blindpirate help

Sorry I don't understand what you said, please type @

@blindpirate help

        <!-- {"replyTargetCommentId":604834650,"teamCityBuildId":null,"teamCityBuildHeadRef":"28a86aff868b1af65bfff6af5aec153beaf0c858"} -->
        Currently I support the following commands:

@blindpirate test SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease plz

Note that you can abbreviate "SanityCheck" as "SC", "ReadyForMerge" as "RFM", etc.

@blindpirate help to display this message

@blindpirate help

        <!-- {"replyTargetCommentId":604835895,"teamCityBuildId":null,"teamCityBuildHeadRef":"28a86aff868b1af65bfff6af5aec153beaf0c858"} -->
        Currently I support the following commands:

@blindpirate test SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease plz

Note that you can abbreviate "SanityCheck" as "SC", "ReadyForMerge" as "RFM", etc.

@blindpirate help to display this message

@blindpirate help

        Currently I support the following commands:
- `@blindpirate test {BuildStage} plz`, e.g. `blindpirate test SanityCheck plz`
  - {BuildStage} can be `SanityCheck`/`CompileAll`/QuickFeedbackLinux`/`QuickFeedback`/`ReadyForMerge`/`ReadyForNightly`/`ReadyForRelease`
  - Note that you can abbreviate "SanityCheck" as "SC", "ReadyForMerge" as "RFM", etc.
- `@blindpirate help` to display this message

@blindpirate sfsdf

Sorry I don't understand what you said, please type @blindpirate help to get help.

@blindpirate help

        Currently I support the following commands:

@blindpirate test {BuildStage} plz, e.g. blindpirate test SanityCheck plz

{BuildStage} can be SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease`
Note that you can abbreviate "SanityCheck" as "SC", "ReadyForMerge" as "RFM", etc.

@blindpirate help to display this message

@blindpirate help

        Currently I support the following commands:

@blindpirate test {BuildStage} plz, e.g. blindpirate test SanityCheck plz

{BuildStage} can be SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease`
Note that you can abbreviate "SanityCheck" as "SC", "ReadyForMerge" as "RFM", etc.

@blindpirate help to display this message

@blindpirate help

@blindpirate help

Currently I support the following commands:

@blindpirate test {BuildStage} plz to trigger a build

e.g. blindpirate test SanityCheck plz
{BuildStage} can be SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.

@blindpirate help to display this message

@blindpirate help

@blindpirate help

Currently I support the following commands:

@blindpirate test {BuildStage} plz to trigger a build

e.g. @blindpirate test SanityCheck plz
SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease are supported
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.

@blindpirate help to display this message


cut a release?

What is the timescale for a release of either bug fixes to 0.9.5 or 0.10.0?

A release would be helpful, as it would enable fixes to propagate to conda forge

This has finally been done (see #309)

Thank you.


Make buttons for showing domain mappings bigger

When viewing shared mappings, one of the most important navigation options is between domains, so please make the buttons that allow this bigger

You could also indicate what the do, e.g. with text "Show mapping for domain:"

[ ] make them buttons bigger.

If while working on the display of that page you see a way to improve the following, please do:

[ ] trim some white space, especially horizontal white space
[ ] make the name of the current configuration profile the main heading of the page
[ ] address any of the other issues mentioned in this comment

Yes, the buttons are bigger and better

moving to QA Passes


Use cache for wot api call

https://medium.com/swlh/caching-http-requests-in-angular-using-service-workers-c9d004298cd1

Or use coockie


Disable Email Username Validation is not working in APIM 4.1.0

Description
Hi team,
We have set up login using email as username in APIM-4.1.0. after setting this up we cannot log in to any portals (except /carbon portal) with the carbon super user.
[super_admin]
username = "admin"
password = "admin"

It seems we have to set the disable_email_domain_validation configuration to true like below in order to allow non-email users to log in.
[tenant_mgt]
enable_email_domain = true
disable_email_domain_validation = true

Even after disabling the email domain validation we cannot log in to any portals.
[1] - https://apim.docs.wso2.com/en/3.2.0/install-and-setup/setup/security/logins-and-passwords/maintaining-logins-and-passwords/#setup-an-e-mail-login
Thanks & Regards,
Niran Peiris
Steps to Reproduce

Keep the super admin configurations as below.

[super_admin]
username = "admin"
password = "admin"

Enable enable_email_domain and restart the APIM server.

[tenant_mgt]
enable_email_domain = true
disable_email_domain_validation = true

Try login into the admin portal.

Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

As per the comment [1], this issue is not reproducing in the master branch. Hence closing the issue.
[1] https://github.com/wso2-enterprise/wso2-apim-internal/issues/1861#issuecomment-1425774820


Configure Scrape Interval and Timeout Via Relabeling

This PR adds the labels __scrape_interval__ and __scrape_timeout__ to configure the scrape interval and timeout of a target.
Fixes #8895

Just realized I forgot the UI component of this, I'll get to it later.

My idea was to have them with a tooltip on the last scrape duration

Ok, I added that in.

I still need to add stuff in reload tests, but here's my plan now. In sync, the interval and timeout of the scrape loop are set directly from the __scrape_interval__ and __scrape_timeout__, which themselves are initialized with the config values and remain that value unless changed by relabeling. In reload, we first check if the interval and timeout differ from the previous config. If they have, that means they've been set with relabeling and we should keep them that way, even if the new config specifies different values. If they haven't, we just use the new config.

Did you notice func populateLabels(lset labels.Labels, cfg *config.ScrapeConfig) (res, orig labels.Labels, err error) { ? That where we should set the labels.

Yup, that's where I'm setting them.
https://github.com/prometheus/prometheus/blob/c44283b420173579e8781c3314247c6434e34048/scrape/target.go#L328-L336

On reload, there can be a new scrape interval and timeout, so we want to apply that to the targets, unless the targets have set their own interval and timeout through relabeling. Then, we should just leave them alone. My problem is we have no current way of knowing if the targets have set their scrape interval and timeout through relabeling. We could just check if they still have the same timeout and interval as the previous configuration, but then what if they had set their interval and timeout to the same values of that configuration. We would then want to keep those values because they're what the target requested, but label-wise, it is undistinguished from other targets which are using the timeout and interval from the configuration. I think the only option would be to run populateLabels (which performs relabeling) again during a reload, but that seems wasteful.

On reload, there can be a new scrape interval and timeout, so we want to apply that to the targets, unless a target has set its own interval and timeout through relabeling. Then, we should just leave it alone. My problem is we have no current way of knowing if the targets have set their scrape interval and timeout through relabeling. We could just check if they still have the same timeout and interval as the previous configuration, but then what if they had set their interval and timeout to the same values of that configuration. We would then want to keep those values because they're what the target requested, but label-wise, it is undistinguished from other targets which are using the timeout and interval from the configuration. I think the only option would be to run populateLabels (which performs relabeling) again during a reload, but that seems wasteful.

I propose we work on this specific problem separately. Maybe open an issue so we do not forget.

I think this is critical to the feature though. Without a solution, either we completely forget the relabeled interval and timeout on reload, or we don't apply the configurations new interval and timeout to any target on reload (this is probably worse). Either way, it's a bug.

Just a drive-by question:

unless a target has set its own interval and timeout through relabeling.

Does this mean this PR does implement custom scrape intervals coming from actual instrumentation labels now? Or with "set its own interval", do you just mean that an individual target's target labels have an interval setting?

This PR aims to allow one to set the scrape interval and target via relabeling targets labels coming from a target.

Ok, I guess it's the "coming from a target" that is ambiguous: I guess you mean coming from the target object, not from the actual scraped metrics, right?

Yup, sorry if that was unclear

Yup, ok :) Just wanted to make sure!

It seems like this requires documentation, plus the check for the interval smaller than the timeout.
Additionally, let's mark this as experimental, in case we change some semantics later.

Yeah, I started some changes but have been neglecting this for the past few days. We still need to figure out the reloading issue too.

Actually, I think it might be necessary to run relabeling on config reload. Because users could theoretically set different actions for different values of __scrape_interval__ and __scrape_timeout__, we'd have to rerun their relabel configs when we change them.

If the base values change, then reload is not called for that target, a new one is created, if I am correct.

Oh, I see what you mean. Yes, there is something to investigate here. While investigating, we should cover blind spots with additional tests.

Yeah, don't think a new target is created when the interval or timeout is changed.
https://github.com/prometheus/prometheus/blob/fa6b2897f0db5844cb7a2c6b4f17f3bd5a3deed4/scrape/scrape.go#L410-L439

I've added addressed some of @roidelapluie's review comments and added relabeling on reload, as well as tests for it. I'm going to ignore the UI component and the documentation for now until we can agree on this part of the implementation.

We might want to consider moving the interval and timeout somewhere out of the tooltip on the last scrape duration because you'd never know it's there. Even I forgot for a second where it was just now. Maybe it gets its own box or is nestled into the same one as the last scrape duration.

It seems like this requires documentation

Where would we put it?:
Related: https://github.com/prometheus/docs/issues/1951#issuecomment-875192148

Can you please also adapt the documentation?

It seems like this requires documentation

I agree, but where would we put it?
Related: https://github.com/prometheus/docs/issues/1951#issuecomment-875192148

Docs should go here https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config

@roidelapluie friendly ping :)

:100: thanks!!!!

Thanks so much for all your time reviewing! This one took a while.

@beorn7 FYI this feature is marked experimental and does not have a feature flag.
The reason for marking as experimental is the refusal to scrape when the scrape timeout > scrape interval. While I think we do the right thing here, I do not exclude that we revisit this, change or improve in the future.

In general, I would prefer to use feature flags for all experimental features (where that's reasonably possible), for simple consistency. If we only expect minor changes to the semantics, I can also live without the feature flag as we don't expect to change the behavior fundamentally or completely rip out the feature, i.e. most users of the experimental feature will probably be able to continue to use it in the way they use it for the lifetime of v2.x.
But as said, I would have preferred a feature flag here (but changing it now wouldn't be worth the hassle).

The reason for marking as experimental is the refusal to scrape when the scrape timeout > scrape interval.

Perhaps we should indicate that in the docs then.


"Members Only" box language customization

Some of the text that appears in the gray "Members Only" box isn't customizable. The text that can be customized is part of the "Incorrect browser setup / Fully gated content" message (see GH issue #49). Let me know if you have suggestions for better messaging.
Add the following to Customizing > Coil Web Monetization > Messages:

Label: Fully gated content heading

Description: This message is shown as the heading for the "Fully gated content" message below.

Default lang string: This content is for Coil Members only!

Location: Directly above the "Fully gated content" message

Label: Fully gated content footer

Description: This message is shown as the footer for the "Fully gated content" message above.

Default lang string: This content is for Coil Members only! Coil requires the use of an extension which your browser might not support. Visit coil.com for more information.

Location: Directly beneath the "Fully gated content" message

I've successfully added the customizer elements here locally. Looking good.
I just noticed that the message used when rendering fully gated content within the cusomizer is the one from the fully gated excerpt message. That doesn't seem right.
Who can I discuss this with?

So long as the messaging itself is customizable for this iteration, I think we're good. We can tackle rewording default messaging in a different GH issue. @traviscrist Does this approach sound OK with you?

@melissahenderson yep that sounds good, we can always just change the default ourselves. I think they key thing is that the default should be easily changed by us just changing a string in the codebase.

@traviscrist @melissahenderson propose pausing this one as it'll be overwritten by proposed UX updates anyway?

Following JIRA migration ticket now here: COIL-153

@pragmatic-web @traviscrist  Makes sense. I agree.


Intermittent failure on f1040 form reftests

Looks like the intermittent is back (see https://github.com/mozilla/pdf.js/pull/9045#issuecomment-337963970).
Old bug #8334

It looks like this happens intermittently for all reference tests that render AcroForms. I suspect the SVG rasterizer is somehow not completing in time/at all for the tests. Another instance of this is https://github.com/mozilla/pdf.js/pull/9730#issuecomment-393422179.


Problem when using a TagList Template

This issue has already been reported a while ago over here:
http://www.dnnsoftware.com/forums/threadid/517708/scope/posts/dnn-blog-611-problem-with-tag-list
and here:
http://www.dnn-usergroup.de/Community/Forum/tabid/72/aff/10/afv/topic/aft/14769/Language/en-US/Default.aspx
Now a customer of mine had the same problem. I downloaded the source and implemented a quick fix in Blog.asxc.vb in the case-Statement from line 330 and below. As I'm not into DNN or the Blog Module there is no guarantee that it fixes the problem for the others, too nor that it does not cause any other bugs.
So here is my fix for you to review and maybe include in future versions:
If callingObject IsNot Nothing AndAlso TypeOf callingObject Is PostInfo Then
    For Each t As TermInfo In CType(callingObject, PostInfo).PostTags
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, BlogContext.Post, t))
     Next
ElseIf BlogContext.Post IsNot Nothing Then
    For Each t As TermInfo In BlogContext.Post.PostTags
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, BlogContext.Post, t))
    Next
Else
    For Each t As TermInfo In TermsController.GetTermsByModule(BlogContext.BlogModuleId, BlogContext.Locale).Where(Function(x) x.VocabularyId = 1).ToList
        If BlogContext.ParentModule IsNot Nothing Then
            t.ParentTabID = BlogContext.ParentModule.TabID
        End If
        Replacers.Add(New BlogTokenReplace(Me, Nothing, t))
    Next
End If
_usePaging = False

Hi @peterdamm ... Thanks for posting this fix. I'm having the same problem here, and I can't really wait  until it's folded into a future release. Is the fix still working for you? Also, would you mind explaining the process you took to make this modification? Did you paste all the "resources.zip" contents into the DesktopModules/Blog folder, and build from there after making the edit?

Hi @grayspace,
yes, the fix is still working. I just took the latest version from github, made my changes and build the whole project. Then I replaced the .dll files in the bin folder of the DNN installation.
Hope this helps.

I, too would like this fixed ASAP, but until that happens I have added this jquery code to the Header section of the module (Module Settings, Advanced Settings) to hide the error message when it appears, so the site doesn't look so bad.
<script type="text/javascript">
$(document).ready(function () {
$("div.tagList_list:contains('Error:')").css("display", "none");
})
</script>

I've integrated the code for the next release


xfce4-13.xfce4-screenshooter: 1.9.1 -> 1.9.2

Motivation for this change

[x] version update
[x] backport https://github.com/NixOS/nixpkgs/pull/25331

Things done

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

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

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

@GrahamcOfBorg build xfce4-13.xfce4-screenshooter

Success on x86_64-linux (full log)
Attempted: xfce4-13.xfce4-screenshooter
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2
shrinking /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2/bin/.xfce4-screenshooter-wrapped
shrinking /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2/lib/xfce4/panel/plugins/libscreenshooterplugin.so
gzipping man pages under /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2/lib  /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2/bin
patching script interpreter paths in /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2
checking for references to /tmp/nix-build-xfce4-screenshooter-1.9.2.drv-0 in /nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2...
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
/nix/store/r356barv5gp1vzlpaln759g8mgigz1qc-xfce4-screenshooter-1.9.2

Success on aarch64-linux (full log)
Attempted: xfce4-13.xfce4-screenshooter
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2
shrinking /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2/lib/xfce4/panel/plugins/libscreenshooterplugin.so
shrinking /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2/bin/.xfce4-screenshooter-wrapped
gzipping man pages under /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2/lib  /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2/bin
patching script interpreter paths in /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2
checking for references to /build in /nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2...
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
/nix/store/5s4g1gdrk060chnj04fxl5izb3wgs2z2-xfce4-screenshooter-1.9.2

@GrahamcOfBorg eval

Success on x86_64-linux (full log)
Attempted: xfce4-13.xfce4-screenshooter
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2
shrinking /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2/bin/.xfce4-screenshooter-wrapped
shrinking /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2/lib/xfce4/panel/plugins/libscreenshooterplugin.so
gzipping man pages under /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2/share/man/
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2/lib  /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2/bin
patching script interpreter paths in /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2
checking for references to /build in /nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2...
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
/nix/store/c06izqglc7dgkzwbr5jjwmyldb8lyrbf-xfce4-screenshooter-1.9.2

Success on aarch64-linux (full log)
Attempted: xfce4-13.xfce4-screenshooter
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2
shrinking /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2/lib/xfce4/panel/plugins/libscreenshooterplugin.so
shrinking /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2/bin/.xfce4-screenshooter-wrapped
gzipping man pages under /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2/share/man/
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2/lib  /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2/bin
patching script interpreter paths in /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2
checking for references to /build in /nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2...
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
/nix/store/100lx6l7dvyh7rg0j1nlv84vw061lnzr-xfce4-screenshooter-1.9.2


Fix and test adding new issuers

Fixed the bug that a new issuer was not found.
Added auth tests
Test adding a new issuer
Test calling with a wrong issuer
Changed our test issuer to access properties to be put into the token

tests:
https://github.com/microsoft/privacy-sandbox-dev/actions/runs/12313566584

tests: https://github.com/microsoft/privacy-sandbox-dev/actions/runs/12313566584

@beejones I think the privacy-sandbox-dev CI is currently broken, I'm looking into it now and I'll update when it's fixed

Now privacy-sandbox-dev CI is fixed, here is a run for this PR
https://github.com/microsoft/privacy-sandbox-dev/actions/runs/12369513461

Merged the fixes in main to this PR, re-running privacy-sandbox-dev CI
https://github.com/microsoft/privacy-sandbox-dev/actions/runs/12370752558


Deleting script cause overflow

When deleting a script that is attached to a gameobject in the hierarchy, it cause a null reference exception and force you to restart unity.
Of course you are really not forced to restart if you disable and enable smart hierarchy from preferences.
Really good asset btw.

Have you got this issue on the latest version? I can't seem to reproduce this

Well I was testing and the problem was i had  smart hierarchy in Assets folder instead of Packages. When it is inside the Packages folder the problem does not happen.
I should have tested this before... I guess you can close this issue.

Just checked it in Assets, the latest version works fine


cxxbridge: Relax build dependency

the cxxbridge command can run before cargo build, so change it to a regular OUTPUT custom command without any
dependency on a target except cxxbridge.
This is important for usecases where a C library depends on generated headers, but is later linked into Rust. This means the headers must be built before the C library, and the C library before the Rust target.

Sorry for the delay, took a bit longer to test this properly than I anticipated.
I applied these changes and tried it on my project, and I noticed a few things, most notably is that I use the autobins pretty extensively. This yields many warnings of the kind:
CMake Warning at /Users/gustaf/.local/share/cmake/CorrosionGenerator.cmake:77 (message):
  Failed to import Rust crate mandelbrot (kind: `[ "bin" ]`) because a target
  with the same name already exists.  Skipping this target.

  Help: If you are importing a package which exposes both a `lib` and a `bin`
  target, please consider explicitly naming the targets in your `Cargo.toml`
  manifest.

  Note: If you have multiple different packages which have targets with the
  same name, please note that this is currently not supported by Corrosion.
  Feel free to open an issue on Github to request supporting this scenario.
Call Stack (most recent call first):
  /Users/gustaf/.local/share/cmake/CorrosionGenerator.cmake:218 (_generator_add_package_targets)
  /Users/gustaf/.local/share/cmake/Corrosion.cmake:1108 (_generator_add_cargo_targets)
  CMakeLists.txt:121 (corrosion_import_crate)

There probably needs to be a way to detect this, or at least disable these warnings by the user if this feature is used.
For some reason though, it fails to import the primary library with this error:
CMake Warning at /Users/gustaf/.local/share/cmake/CorrosionGenerator.cmake:77 (message):
  Failed to import Rust crate gfx (kind: `[ "lib", "cdylib" ]`) because a
  target with the same name already exists.  Skipping this target.

  Help: If you are importing a package which exposes both a `lib` and a `bin`
  target, please consider explicitly naming the targets in your `Cargo.toml`
  manifest.

  Note: If you have multiple different packages which have targets with the
  same name, please note that this is currently not supported by Corrosion.
  Feel free to open an issue on Github to request supporting this scenario.
Call Stack (most recent call first):
  /Users/gustaf/.local/share/cmake/CorrosionGenerator.cmake:218 (_generator_add_package_targets)
  /Users/gustaf/.local/share/cmake/Corrosion.cmake:1108 (_generator_add_cargo_targets)
  CMakeLists.txt:121 (corrosion_import_crate)

This looks weird to me, since there shouldn't be any other targets with the name gfx (CMake code used below):
find_package(corrosion)
if (corrosion_FOUND)
  corrosion_import_crate(MANIFEST_PATH ${PROJECT_SOURCE_DIR}/ext/gfx-rs/Cargo.toml)
  corrosion_add_cxxbridge(imageio-cxx
    CRATE cxxbridge-crate
    MANIFEST_PATH ${PROJECT_SOURCE_DIR}/ext/gfx-rs
    FILES imageio_cxx.rs)
  corrosion_link_libraries(gfx imageio-cxx ccl_common)
endif()

(The absolute path in test/cxxbridge/cxxbridge_rust2cpp/rust/src/lib.rs should probably also be fixed somehow, but I think that was mentioned elsewhere)

The absolute path in ...

This is fixed now in the test.


Feature Request: inport/export settings

This will make switching browsers mutch easier. I switched today ant it took alot of time to manualy mowe my settings.

Makes sense, I'll definitely add that

Please try this version: It has basic import/export functionality. As noted in the popup, there is no check against invalid configuration, so if you try to upload just anything, you might break it. enhancer_for_nebula-<IP_ADDRESS>.zip

tested and it works.


[BUGFIX] Fix some typos.

Description
(Brief description on what this PR is about)
Fix some typos in cd/, ci/, cpp-package/, example/, include/, licenses/, tools/, tests/.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[x] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Hi, thanks for the contributions. We had some issues with our CI recently. Can you please merge in the latest changes from the master branch into your PR?

Hi, thanks for the contributions. We had some issues with our CI recently. Can you please merge in the latest changes from the master branch into your PR?

I have merged the latest master branch into the branch where the current RP is.


Rate limiting

Are you aware of any way to limit the charge/discharge rate of the powerwall 2?
I have realtime rates (30 min update interval) and also access to 12 hour look ahead. So I wish to limit the charging (if the buyback rate is high) and limit the discharging (if the buyback rate is low).
I can see that I can basically just use an on/off controller here by literally shutting the powerwall off entirely. But it would be nicer to rate limit it.
Are you aware of any method to do this?

I don't think this is possible with the local API


ModuleNotFoundError: No module named 'dynamicprompts.wildcardmanager'

I am unable to load WebUI on Colab with Dynamic Prompts.
Error loading script: dynamic_prompting.py
Traceback (most recent call last):
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 248, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-dynamic-prompts/scripts/dynamic_prompting.py", line 3, in <module>
    from sd_dynamic_prompts.dynamic_prompting import Script
  File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-dynamic-prompts/sd_dynamic_prompts/dynamic_prompting.py", line 13, in <module>
    from dynamicprompts.wildcardmanager import WildcardManager
ModuleNotFoundError: No module named 'dynamicprompts.wildcardmanager'

Have a look at step three in the troubleshooting section:
https://github.com/adieyal/sd-dynamic-prompts#troubleshooting
Let me know if that solves the issue

Have a look at step three in the troubleshooting section: https://github.com/adieyal/sd-dynamic-prompts#troubleshooting
Let me know if that solves the issue

python\lib\site-packages\pip_vendor\pkg_resources_init_.py", line 1519, in get_metadata
return value.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 20: invalid start byte in RECORD

@zdoek001 That's an unrelated issue; you have a broken RECORD file somewhere in your site-packages.
Anyway, closing this since there hasn't been activity in a while.


Dragend.js pageDimentions and Tabs

I have detected a little problem with the setupTabs/setCurrentTab functions and the dragend.js
because of the 10ms timeout in the setupTabs function for the updateIndicator call the
setCurrentTab call in
    phonon.tab = function() { 		return { 			setCurrentTab: setCurrentTab,
is called earlier.
therefor the updateIndicator call in setCurrentTab is called earlier and the dragend pageDimentions are not set.
fix for this would be to also add a 10ms timeout in setCurrentTab
window.setTimeout(function() {         updateIndicator(pageName, tabNumber);       }, 10);

Hi @oksiquatzel,
Thank yor for opening this issue.
I close it thanks to your pull request #232.


[Feature request] Extend the default search functionality

Currently for me, the search is one of the most functionality which can / should be extended.
For example, please look how the search look in another editors, like:
PHPStorm (ideal)

SublimeText

I mean the preview file / search result should be bigger than display only 1 line (without context of rest code)

Thanks for the request. I do have specific issues for the suggestions here, like #18791 for context lines.
See https://github.com/Microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Asearch+label%3Afeature-request :)


[5.70x] POP3 e-mail stops checking/loading

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
Tell us what should happen
K9 should check and fetch e-mails at configured/scheduled interval.
Actual behavior
Tell us what happens instead
No new e-mail is loaded at all unless i manually force a refresh (pull down).
Steps to reproduce

Leave k9 running in the background
I can see e-mails showing up on the laptop/desktop.
No new e-mails show up for hours? unless I manually force a refresh.

Environment
K-9 Mail version: 5.703 (looks like this broke in the 5.7 beta?)
Android version: 9.0 Pie
Account type (IMAP, POP3, WebDAV/Exchange): pop3
Please take some time to retrieve logs and attach them here:

+1
Only using IMAP (Gmail and private domain on Zoho)

The issue is a bug in the initial configuration of the Inbox (and other special folders). Go to 'Manage folders', select the Inbox, then set 'Folder poll class' to '1st Class'.

The issue is a bug in the initial configuration of the Inbox (and other special folders). Go to 'Manage folders', select the Inbox, then set 'Folder poll class' to '1st Class'.

Solved it for me - thanks :)


enhancement: encryption

From a cursory glance at the docs there currently appears to be no encryption support.
If lightningstream is used in a cloud scenario (vs self-hosted MiniIO) then it could be attractive to encrypt contents prior to upload to the cloud.
With modern algorithms I can't imagine this would add too much overhead ?

I'm not sure if simpleblob would be the right place perform encryption. Deciding on a mechanism and building that into simpleblob would make it substantially less 'simple'.
It would not be hard to write a additional layer that wraps the simpleblob API and performs the encryption and decryption when storing or retrieving blobs.
Simpleblob defines an interface, not an abstraction layer where encryption can easily be added for all possible backends.


agda-pkg: init at 0.1.49

Motivation for this change
Adds agda-pkg program, which we are experimenting with in https://github.com/NixOS/nixpkgs/pull/87903 and may also be useful otherwise to people who do not want to use nix infrastructure for agda
Things done

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

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

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

cc @turion

Have addressed comments, thanks for the review


Tensor operation not functioning in dataset mapping

Describe the bug
I'm doing a torch.mean() operation in data preprocessing, and it's not working.
Steps to reproduce the bug
from transformers import pipeline
import torch
import numpy as np
from datasets import load_dataset
device = 'cuda:0'
raw_dataset = load_dataset("glue", "sst2")
feature_extraction = pipeline('feature-extraction', 'bert-base-uncased', device=device)
def extracted_data(examples):
    # feature = torch.tensor(feature_extraction(examples['sentence'], batch_size=16), device=device)
    # feature = torch.mean(feature, dim=1)
    feature = np.asarray(feature_extraction(examples['sentence'], batch_size=16)).squeeze().mean(1)
    print(feature.shape)
    return {'feature': feature}

extracted_dataset = raw_dataset.map(extracted_data, batched=True, batch_size=16)

Results
When running with torch.mean(), the shape printed out is [16, seq_len, 768], which is exactly the same before the operation. While numpy works just fine, which gives [16, 768].
Environment info

datasets version: 2.6.1
Platform: Linux-4.4.0-142-generic-x86_64-with-glibc2.31
Python version: 3.10.6
PyArrow version: 9.0.0
Pandas version: 1.5.0

Hi! The Torch ops in your snippet are not equivalent to the NumPy ones, hence the difference. You can get the same behavior by replacing the line feature = torch.mean(feature, dim=1) with feature = feature.squeeze().mean(1) .

Hi! The Torch ops in your snippet are not equivalent to the NumPy ones, hence the difference. You can get the same behavior by replacing the line feature = torch.mean(feature, dim=1) with feature = feature.squeeze().mean(1) .

Thank you.


I only have 7MB for VRAM, any ideas?

It means you have no graphics acceleration. Can you provide me the system details ?

Also I would recommend to use this EFI only if you have the exact same specs as my laptop. If not please use the guide to create your own config.

Mine is the Acer Nitro 5 AN515-52BW
i5 8300HQ
GTX1050t

Exactly. You have different processor. Go to dortania guide do the changes required for your own processor (generation).

I fixed it!
Change this:
<dict>
    <key>AAPL,ig-platform-id</key>
    <data>AAAbWQ==</data>
</dict>

to this:
<dict>
    <key>AAPL,ig-platform-id</key>
    <data>AACbPg==</data>
</dict>

Don't forget to 🌟 the repository. 😅


Type is not being imported script

I have a custom module that contains a class and some functions using that type.  I am able to use this module without issue, except in one single script.  All the script does is import the module with a relative path and invokes a function from that module, but the function throws the error below, somehow not having access to the type even though the type is confirmed to be imported into the session.  When I import the module into my session prior to running the script, there is no issue.  When I try and simplify my script and module into the minimal repro steps described below, I am unable to repro.  If someone messages me on Teams, I can show you our repos so you can repro; otherwise, please let me know of any further debug steps I can try and take to further isolate this weird bug.
Steps to reproduce
Read the paragraph above!

Create a module MyModule.

Create a script MyModule.Types.ps1 containing--class MyType {}

Create a file MyModule.psm1 containing--function Show-MyType {
    Param([MyType]$MyVal)
    Write-Host $MyVal
}

Set in the module manifestRootModule = 'MyModule.psm1'
ScriptsToProcess = @( 'MyModule.Types.ps1' )
FunctionsToExport = @( 'New-MyType' )

Create a script$ModulePath = "relative path to the module"
Import-Module $ModulePath

$myVal = [MyType]::new()
Show-MyType $myVal

Expected behavior
The script runs without error.
Actual behavior
Throws
Show-MyType : Unable to find type [Cluster].

Environment data

Name                           Value
----                           -----
PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ΓÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@chriskuech out of curiosity, is the offending type in your actual module an attribute?

It's due to using ScriptsToProcess to try to get around class import issues.  The import script runs in the current scope of the global session state.  That scope will be your script.  Once that script finishes, the class goes out of scope.  That's why if you follow your repro exactly, it'll work once.  The ScriptsToProcess will only fire when actually importing the module, if the module is already in the session then nothing happens. Try the using module method instead.

The ScriptsToProcess will only fire when actually importing the module, if the module is already in the session then nothing happens.

This problematic behavior is the subject of #9582.

@vexx32 - it's not an attribute
@SeeminglyScience , @mklement0 - I don't think that is the behavior I am describing.  In my simplified repro I can run it as many times as I want because the type is already defined in scope, whereas I can't even run it once in my actual code.  This seems to be mitigated if I dot-source my ScriptsToProcess script in my module.

Does PowerShell team have plans or a GitHub issue to switch over to an import system more like Python or TypeScript?

@SeeminglyScience , @mklement0 - I don't think that is the behavior I am describing. In my simplified repro I can run it as many times as I want because the type is already defined in scope, whereas I can't even run it once in my actual code. This seems to be mitigated if I dot-source my ScriptsToProcess script in my module.

The repro in your original message works?  If that's not what you're referring to, if you provide the code you're working with I can tell you why it does or does not work.

Does PowerShell team have plans or a GitHub issue to switch over to an import system more like Python or TypeScript?

Have you tried using module? I think that's about as similar as PowerShell can reasonably achieve (excluding bugs).

using module does seem to work (didn't realize it would work with ScriptsToProcess.  It's not ideal though, because using module only works with relative paths, so my script is now coupled to being run from a single location.

using module works for any module you have installed / available on $env:PSModulePath as far as I'm aware? 🤔

Ya it's not in $env:PSModulePath.  Future work to take on but would currently break things.

using module does seem to work (didn't realize it would work with ScriptsToProcess. It's not ideal though, because using module only works with relative paths, so my script is now coupled to being run from a single location.

With ScriptstoProcess? The idea would be to use it instead of ScriptsToProcess.  You'd put the classes in your psm1 and use using module in the scripts that utilize the classes.  The whole ScriptsToProcess thing with classes is something someone came up with as a hack to get around scoping issues, but really it just moves them around and makes it less predictable. But if it works, it works 🤷♂