ukvm-bin: KVM: ioctl (SET_SREGS) failed: Invalid argument

Since my last updates (linux distribution and opam) ukvm-bin does not work anymore. While it worked without problems before on my Fedora 27 system, now ukvm-bin fails with:
$ ./ukvm-bin --net=tap100 ./keyfender.ukvm
ukvm-bin: KVM: ioctl (SET_SREGS) failed: Invalid argument

Further system infos:
$ uname -a
Linux sven-tp 4.16.3-200.fc27.x86_64 #1 SMP Thu Apr 19 19:33:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ opam list
# Installed packages for 4.05.0:
asn1-combinators                  0.2.0  Embed typed ASN.1 grammars in OCaml
astring                           0.8.3  Alternative String module for OCaml
base                            v0.10.0  Full standard library replacement for O
base-bigarray                      base  Bigarray library distributed with the O
base-bytes                         base  Bytes library distributed with the OCam
base-num                           base  Num library distributed with the OCaml
base-threads                       base  Threads library distributed with the OC
base-unix                          base  Unix library distributed with the OCaml
base64                            2.2.0  Base64 encoding for OCaml
biniou                            1.2.0  Binary data format designed for speed,
bos                               0.2.0  Basic OS interaction for OCaml
calendar                         2.03.2  Library for handling dates and times in
camomile                          1.0.1  A Unicode library
charrua-client                      0.9  DHCP - a DHCP client, server and wire f
charrua-client-lwt                  0.9  DHCP - a DHCP client, server and wire f
charrua-client-mirage               0.9  DHCP - a DHCP client, server and wire f
charrua-core                        0.9  DHCP - a DHCP client, server and wire f
cmdliner                          1.0.2  Declarative definition of command line
cohttp                            1.1.0  An OCaml library for HTTP clients and s
cohttp-lwt                        1.0.2  An OCaml library for HTTP clients and s
cohttp-lwt-unix                   1.0.2  An OCaml library for HTTP clients and s
cohttp-mirage                     1.1.0  An OCaml library for HTTP clients and s
conduit                           1.1.0  An OCaml network connection establishme
conduit-lwt                       1.1.0  An OCaml network connection establishme
conduit-lwt-unix                  1.1.0  An OCaml network connection establishme
conf-autoconf                       0.1  Virtual package relying on autoconf ins
conf-gmp                              1  Virtual package relying on a GMP lib sy
conf-m4                               1  Virtual package relying on m4
conf-perl                             1  Virtual package relying on perl
conf-pkg-config                     1.0  Virtual package relying on pkg-config i
conf-which                            1  Virtual package relying on which
configurator                    v0.10.0  Helper library for gathering system con
cppo                              1.6.4  Equivalent of the C preprocessor for OC
cppo_ocamlbuild                   1.6.0  ocamlbuild support for cppo, OCaml-frie
cpuid                             0.1.1  Detect CPU features
crunch                            2.1.0  Convert a filesystem into a static OCam
cstruct                           3.2.1  Access C-like structures directly from
cstruct-lwt                       3.2.1  Access C-like structures directly from
decompress                          0.7  Pure OCaml implementation of Zlib
depext                            1.0.5  Query and install external dependencies
dispatch                          0.4.0  Path-based dispatching for client- and
dns                               1.0.1  DNS client and server implementation in
dns-lwt                           1.0.1  DNS client and server implementation in
duration                          0.1.1  Conversions to various time units
easy-format                       1.3.1  High-level and functional interface to
fieldslib                       v0.10.0  Syntax extension to define first class
fmt                               0.8.5  OCaml Format pretty-printer combinators
fpath                             0.7.2  File system paths for OCaml
functoria                         2.2.0  A DSL to organize functor applications
functoria-runtime                 2.2.0  A DSL to organize functor applications
git                              1.11.5  Git format and protocol in pure OCaml
git-http                         1.11.4  Client implementation of the "Smart" HT
git-unix                         1.11.5  Unix backend for the Git protocol(s)
gmp-freestanding                  6.1.2  The GNU Multiple Precision Arithmetic L
hashcons                            1.3  OCaml hash-consing library
hex                               1.2.0  Minimal library providing hexadecimal c
io-page                           2.0.1  Allocate memory pages suitable for alig
io-page-unix                      2.0.1  Allocate memory pages suitable for alig
ipaddr                            2.8.0  IP (and MAC) address manipulation
irmin                             1.3.2  Irmin, a distributed database that foll
irmin-fs                          1.3.0  Generic file-system backend for Irmin
irmin-git                         1.3.0  Git backend for Irmin
irmin-http                        1.3.3 (pinned)  HTTP client and server for Irmin
irmin-mem                         1.3.0  In-memory backend for Irmin
irmin-watcher                     0.3.0  Portable Irmin watch backends using FSe
jbuilder                     1.0+beta20  Fast, portable and opinionated build sy
jsonm                             1.0.1  Non-blocking streaming JSON codec for O
lambda-term                      1.12.0  Terminal manipulation library for OCaml
logs                              0.6.2  Logging infrastructure for OCaml
lwt                               3.3.0  Promises, concurrency, and parallelized
lwt_react                         1.1.1  Helpers for using React with Lwt
magic-mime                        1.1.0  Map filenames to common MIME types
menhir                         20171222  LR(1) parser generator
merlin                            3.0.5  Editor helper, provides completion, typ
mirage                            3.0.8  The MirageOS library operating system
mirage-block                      1.1.0  Utilities and module definitions for de
mirage-block-lwt                  1.1.0  Utilities and module definitions for de
mirage-bootvar-solo5              0.2.0  Solo5 implementation of MirageOS Bootva
mirage-channel                    3.1.0  Buffered channels for MirageOS FLOW typ
mirage-channel-lwt                3.1.0  Buffered channels for MirageOS FLOW typ
mirage-clock                      1.3.0  Libraries and module types for portable
mirage-clock-freestanding         1.3.0  Libraries and module types for portable
mirage-clock-lwt                  1.3.0  Libraries and module types for portable
mirage-clock-unix                 1.4.0  Libraries and module types for portable
mirage-conduit                    3.0.1  Network conduit library
mirage-console                    2.3.5  Implementations of Mirage consoles, for
mirage-console-lwt                2.3.5  Implementations of Mirage consoles, for
mirage-device                     1.1.0  Foundational module types for devices.
mirage-dns                        3.0.1  DNS client and server implementation in
mirage-entropy                    0.4.0  Entropy source for MirageOS unikernels.
mirage-flow                       1.3.0  Flow implementations and combinators fo
mirage-flow-lwt                   1.4.0  Flow implementations and combinators fo
mirage-fs                         1.1.1  MirageOS signatures for filesystem devi
mirage-fs-lwt                     1.1.1  MirageOS signatures for filesystem devi
mirage-kv                         1.1.1  MirageOS signatures for key/value devic
mirage-kv-lwt                     1.1.0  MirageOS utilities for interfacing with
mirage-logs                       0.3.0  A reporter for the Logs library that wr
mirage-net                        1.1.1  Network signatures for MirageOS
mirage-net-lwt                    1.1.0  MirageOS TCP/IP networking library
mirage-net-solo5                  0.2.0  Solo5 implementation of MirageOS networ
mirage-net-unix                   2.4.1  Unix implementation of the Mirage NETWO
mirage-no-xen                         1  Virtual package conflicting with mirage
mirage-os-shim                    3.0.0  Portable shim for MirageOS APIs
mirage-profile                    0.8.2  Collect runtime profiling information i
mirage-protocols                  1.3.0
mirage-protocols-lwt              1.3.0
mirage-random                     1.1.0  Random signatures for MirageOS, and an
mirage-runtime                    3.0.7  A bundle of useful runtime functions fo
mirage-solo5                      0.2.1  Solo5 core platform libraries for Mirag
mirage-stack                      1.2.0
mirage-stack-lwt                  1.2.0
mirage-time                       1.1.0  Time operations for MirageOS
mirage-time-lwt                   1.1.0  Time operations for MirageOS
mirage-types                      3.0.7  Module type definitions for Mirage-comp
mirage-types-lwt                  3.0.7  Lwt module type definitions for Mirage-
mirage-unix                       3.0.8  Unix core platform libraries for Mirage
mstruct                           1.4.0  A mutable interface to Cstruct buffers
mtime                             1.1.0  Monotonic wall-clock time for OCaml
nocrypto                          0.5.4  Simpler crypto
num                                   0  The Num library for arbitrary-precision
oasis                            0.4.11  Tooling for building OCaml libraries an
ocaml-compiler-libs             v0.10.0  OCaml compiler libraries repackaged
ocaml-freestanding                0.2.3  Freestanding OCaml runtime
ocaml-migrate-parsetree          1.0.10  Convert OCaml parsetrees between differ
ocaml-src                        4.05.0  Compiler sources
ocamlbuild                       0.12.0  OCamlbuild is a build system with built
ocamlfind                         1.8.0  A library manager for OCaml
ocamlgraph                        1.8.8  A generic graph library for OCaml
ocamlify                          0.0.1  Include files in OCaml code
ocamlmod                          0.0.9  Generate OCaml modules from source file
ocb-stubblr                       0.1.1  OCamlbuild plugin for C stubs
ocp-build                  1.99.20-beta  Project builder for OCaml
ocp-indent                        1.6.1  A simple tool to indent OCaml programs
ocplib-endian                       1.0  Optimised functions to read and write i
octavius                          1.2.0  Ocamldoc comment syntax parser
ounit                             2.0.8  Unit testing framework loosely based on
parse-argv                        0.1.0  Process strings into sets of command-li
parsexp                         v0.10.0  S-expression parsing library
ppx_ast                         v0.10.0  OCaml AST used by Jane Street ppx rewri
ppx_compare                     v0.10.0  Generation of comparison functions from
ppx_core                        v0.10.0  Standard library for ppx rewriters
ppx_cstruct                       3.2.1  Access C-like structures directly from
ppx_derivers                        1.0  Shared [@@deriving] plugin registry
ppx_deriving                      4.2.1  Type-driven code generation for OCaml >
ppx_driver                      v0.10.4  Feature-full driver for OCaml AST trans
ppx_fields_conv                 v0.10.0  Generation of accessor and iteration fu
ppx_here                        v0.10.0  Expands [%here] into its location
ppx_js_style                    v0.10.0  Code style checker for Jane Street Pack
ppx_metaquot                    v0.10.0  Write OCaml AST fragment using OCaml sy
ppx_optcomp                     v0.10.0  Optional compilation for OCaml
ppx_sexp_conv                   v0.10.0 (pinned)  Generation of S-expression conversion f
ppx_sexp_value                  v0.10.0  A ppx rewriter that simplifies building
ppx_tools                    5.0+4.05.0  Tools for authors of ppx rewriters and
ppx_tools_versioned                 5.1  A variant of ppx_tools based on ocaml-m
ppx_traverse_builtins           v0.10.0  Builtins for Ppx_traverse
ppx_type_conv                   v0.10.0  Support Library for type-driven code ge
ptime                             0.8.3  POSIX time for OCaml
randomconv                        0.1.0  Convert from random bytes to random nat
re                                1.7.3  RE is a regular expression library for
react                             1.2.1  Declarative events and signals for OCam
result                              1.3  Compatibility Result module
rresult                           0.5.0  Result value combinators for OCaml
sexplib                         v0.10.0  Library for serializing OCaml values to
shared-memory-ring                3.0.0  Shared memory rings for RPC and bytestr
solo5-kernel-ukvm               0.2.2-1  Solo5 unikernel base (ukvm target)
stdio                           v0.10.0  Standard IO library for OCaml
stringext                         1.5.0  Extra string functions for OCaml
tcpip                             3.4.1  An OCaml TCP/IP networking stack
tls                               0.9.1  Transport Layer Security purely in OCam
topkg                             0.9.1  The transitory OCaml software packager
tuntap                            1.6.0  OCaml library for handling TUN/TAP devi
uchar                             0.0.2  Compatibility library for OCaml's Uchar
uri                               1.9.6  An RFC3986 URI/URL parsing library
user-setup                          0.6  Helper for the configuration of editors
utop                              2.1.0  Universal toplevel for OCaml
uutf                              1.0.1  Non-blocking streaming Unicode codec fo
vchan                             3.0.0  Xen Vchan implementation
webmachine                        0.5.0 (pinned)  A REST toolkit for OCaml
x509                              0.6.1  Public Key Infrastructure purely in OCa
xenstore                          2.0.0  Xenstore protocol clients and server
xenstore_transport                1.0.0  Low-level libraries for connecting to a
yojson                            1.4.1  Yojson is an optimized parsing and prin
zarith                              1.7  Implements arithmetic and logical opera
zarith-freestanding                 1.7  Implements arithmetic and logical opera
zed                                 1.6  Abstract engine for text edition in OCa

Could you please retry with Solo5/ukvm master, by adding the Solo5/opam-solo5 OPAM repository and let me know if the problem occurs with that version?

@mato: indeed it works with master. :+1:

That's good news. In that case I'd be inclined to just close this (maybe after a new release is out) since the 0.2.x code is ancient and not worth fixing (predates all the multi-backend/multi-arch refactoring).

New release is out, closing this.


[reproc] Update port to 14.2.3

Describe the pull request

What does your PR fix?
Updates reproc to 14.2.3

Which triplets are supported/not supported? Have you updated the CI baseline?
UWP is not support. I have update the baseline.

Does your PR follow the maintainer guide?

Yes

Thanks for the version update!

Cool, thanks @Ryan-rsm-McKenzie again :)


Nitpickings

I started going through the docs and iron out some inconsistencies. Most of them are fairly straightforward so instead of opening a dozen PRs, I've batched them in a single one. The commit messages describe the changes in detail.
I have a few questions:

Is there a reason <em> texts are rendered as normal (and not italic)?

How should we spell type names? Currently it's a mix of all lowercase and all uppercase:
$ ag bigint -s --no-group | wc -l
6

$ ag BIGINT -s --no-group | wc -l
4

I'm fine both ways but it should be consistent.

Is CHAR an alias for VARCHAR?

In this sentence, there seems to be a word missing: "DuckDB contains a columnar-vectorized query execution engine, where queries are still interpreted, but a large batch of values from a single (a “vector”) are processed in one operation" -> from a single what? "chunk"?

Is there a reason <em> texts are rendered as normal (and not italic)?

I don't know, that seems like a mistake (but you would need to ask the designers there).

How should we spell type names? Currently it's a mix of all lowercase and all uppercase:

My vote goes to all uppercase for clarity.

Is CHAR an alias for VARCHAR?

Yes, so is STRING, etc. We currently don't support a "proper" CHAR type that includes padding with spaces on output, and I'm not sure that we ever will. It seems like legacy to me that was introduced for database developer convenience. I can't really envision a use case for CHAR instead of VARCHAR.

In this sentence, there seems to be a word missing: "DuckDB contains a columnar-vectorized query execution engine, where queries are still interpreted, but a large batch of values from a single (a “vector”) are processed in one operation" -> from a single what? "chunk"?

I think the from a single need to go, so the sentence reads like: "DuckDB contains a columnar-vectorized query execution engine, where queries are still interpreted, but a large batch of values (a “vector”) are processed in one operation"

Thanks.
Regarding <em>, there is another inconsistency: if it is inside a list, it's italic+monospace:

How do I communicate with the designers?

The minvalue/minvalue defaults in https://duckdb.org/docs/sql/statements/create_sequence seem incorrect.
The code states:
				if (info->increment < 0) {
					info->start_value = info->max_value = -1;
					info->min_value = NumericLimits<int64_t>::Minimum();
				} else {
					info->start_value = info->min_value = 1;
					info->max_value = NumericLimits<int64_t>::Maximum();
				}

int64_t NumericLimits<int64_t>::Minimum() {
	return numeric_limits<int64_t>::lowest() + 1;
}

int64_t NumericLimits<int64_t>::Maximum() {
	return numeric_limits<int64_t>::max();
}

If I run
  std::cout << "Minimum value: " << (std::numeric_limits<int64_t>::lowest() + 1) << '\n';
  std::cout << "Maximum value: " << (std::numeric_limits<int64_t>::max()) << '\n';
}

I get
Minimum value: -9223372036854775807
Maximum value:<PHONE_NUMBER>854775807

So they seem plus-minus (2^63 - 1).

This is related to null values within the domain that are still in some places in the system. Once those are removed the minimum value will be updated to those bounds. I think this is not worth changing since it will need to be updated later on again when we solve that issue (which we will likely forget :)).

Thanks for the changes. Can you resolve the merge conflict when you have time? After that I think it is ready to be merged.

Thanks!


fix example helloworld Makefile

#18741
Fix example helloworld Makefile

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

One or more commits are not associated with a GitHub user. The email used in the Git commit must match a verified email address in a GitHub user profile. For more information, please see https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/

Regards,
CLA GitHub bot

Several problems with this PR:
Makefile is actually generated from a template: https://github.com/grpc/grpc/blob/master/CONTRIBUTING.md#generated-project-files
this updates several submodules with no explanation why - that looks suspicious.


支持Blob吗 blob如何播放呢

💬 Questions and Help

Read carefully the README of the project
Search if your answer has already been answered in old issues

After you can submit your question and we will be happy to help you!

使用 URL.createObjectURL(blob)，地址按文档提供给播放器。


md-text-field ignoring autocomplete attribute

It seems that autocomplete="off" on textfields is not working properly, and do not seem to turn off the autocompletion.
I am not sure how to reproduce that, but setting autocomplete="off" manually on the internal input element gets rid of the problem.
Which means we should probably find a way to explicitly relay the value from the outside.

Note I was also thinking about this solution which delegates all the logic to the internal input directly:
  @property({reflect: true, attribute: 'autocomplete'})
  get autocomplete() {
    return this.getInput().autocomplete as TextFieldAutoCompleteType;
  }

  set autocomplete(value: TextFieldAutoCompleteType) {
    this.getInput().setAttribute('autocomplete', value);
  }

However this looks more intensive and it doesn't work well with IDE intellisense.

@asyncLiz Even after the cast (and removing the custom type) there is this error:

Can we just ignore it then?

Might need an as any, lemme import it and see what gets yelled at


DESIGN REVIEW: Deliverable 1 Feedback from GE

Vaadin Delivery 1 Feedback 2017-11-28.pdf

Assigning to me, I need to split this to separate issues, as we will not most likely get all fixed in single delivery.

I think this is done now. Scrollbar position change is just too large to do now.


Lens 6.0.2 freeze on pod list display

Describe the bug
While connecting to an EKS Cluster (other clusters works great), overview loads, but if I go to pods or somewhere else, the cluster iframe gets stuck and I can't do anything except disconnect / reconnect (and freeze again).
I tried to use "OpenLens" (checking out master (6.1.0 alpha) or v6.0.2) it works fine (compile with yarn run build:mac => output mac-arm64 arch bin)
I also tried with @jim-docker on Slack to disable team work on Lens (6.0.2-latest), nothing changes, still get frozen.
I get some "ipcRenderer.invoke timeouts" and Abort errors in the console.
If I break while cluster iframe is frozen, it breaks into the screenshot given below.
To Reproduce
Steps to reproduce the behavior:

Go to the cluster
Click on pods

(Might be related to arm64, I use a Mac Studio with an M1 Max)
Expected behavior
Pod list showing up and no freeze
Screenshots

Environment :

Lens Version: 6.0.2-latest.20220908.1
OS: macOS Monterey 12.6
Installation method : brew cask

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Checking for update
info:    ▪ [KUBECONFIG-SYNC]: starting requested syncs +490ms
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +1ms
info:    ┗ [1] { filePath: '/Users/leonard/Library/Application Support/Lens/kubeconfigs' }
info:    ┏ [KUBECONFIG-SYNC]: starting sync of file/folder +0ms
info:    ┗ [1] { filePath: '/Users/leonard/.kube' }
info:    ▪ [KUBECONFIG-SYNC]: ignoring '/Users/leonard/Library/Application Support/Lens/kubeconfigs/.DS_Store' due to ignore glob: .DS_Store +1ms
Update for version 6.0.2-latest.20220908.1 is not available (latest version: 6.0.2-latest.20220908.1, downgrade is disallowed).
info:    ┏ [CLUSTER]: activate +4s
info:    ┃ [1] {
info:    ┃ [2]   id: 'xx',
info:    ┃ [3]   name: 'arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1',
info:    ┃ [4]   ready: false,
info:    ┃ [5]   online: false,
info:    ┃ [6]   accessible: false,
info:    ┃ [7]   disconnected: true
info:    ┗ [8] }
info:    ┏ [CLUSTER]: bind events +0ms
info:    ┃ [1] {
info:    ┃ [2]   id: 'xx',
info:    ┃ [3]   name: 'arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1',
info:    ┃ [4]   ready: false,
info:    ┃ [5]   online: false,
info:    ┃ [6]   accessible: false,
info:    ┃ [7]   disconnected: true
info:    ┗ [8] }
info:    ┏ [CLUSTER]: reconnect +1ms
info:    ┃ [1] {
info:    ┃ [2]   id: 'xx',
info:    ┃ [3]   name: 'arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1',
info:    ┃ [4]   ready: false,
info:    ┃ [5]   online: false,
info:    ┃ [6]   accessible: false,
info:    ┃ [7]   disconnected: true
info:    ┗ [8] }
info:    ▪ [KUBE-AUTH-PROXY]: found port=55435 +24ms
[ELECTRON-SYNC-STORE]: 2022-09-16T16:38:15.116Z - select-space-store ~ ipc electron-sync-store:renderer:initialize:select-space-store received
[ELECTRON-SYNC-STORE]: 2022-09-16T16:38:15.116Z - select-space-store ~ ipc electron-sync-store:renderer:initialize:select-space-store received
[ELECTRON-SYNC-STORE]: 2022-09-16T16:38:15.117Z - startup-store ~ ipc electron-sync-store:renderer:initialize:startup-store received
info:    ▪ [CONTEXT-HANDLER]: using operator as prometheus provider for clusterId=04a7ef928f5ddbd35a3d8ad6840296ff +1s
info:    ┏ [CLUSTER]: refresh +29s
info:    ┃ [1] {
info:    ┃ [2]   id: 'xx',
info:    ┃ [3]   name: 'arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1',
info:    ┃ [4]   ready: true,
info:    ┃ [5]   online: true,
info:    ┃ [6]   accessible: true,
info:    ┃ [7]   disconnected: false
info:    ┗ [8] }

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
apiVersion: v1
clusters:
  - cluster:
      certificate-authority-data: xxx
      server: https://eks.amazonaws.com/
    name: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
contexts:
  - context:
      cluster: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
      user: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
    name: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
current-context: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
kind: Config
preferences: {}
users:
  - name: arn:aws:eks:eu-central-1:cluster/k8s-eu-central-1
    user: {token: longtoken}

Additional context
Add any other context about the problem here.

Getting the same error with an x86_64 proc.

Same. UI is very slow now.

Same issue. Very slow and not usable with 10k pods.

It's strange. Everything works fine if I build v6.0.2 tag by myself.
Similar environment as @m1m1s1ku on Mac Studio w/ M1 Ultra.

After some profiling, I found the most CPU time is spent on this method.
/Users/megrez/Library/Application Support/Lens/node_modules/oci-image-lens-extension/dist/renderer.js:174

However, this project seems to be a private one. I guess nothing we can do from the perspective of the community.

💪 @lujiajing1126
Stacktrace that I shared show the place in Lens I guess :

Same here, CPU spikes significantly. Only seeing this recently.

Lens: 6.0.2-latest.20220908.1
macOS 12.5.1 (21G83)

I had the same issue. Then I decided to compile all from sources, and now all work super fast, like on a version 4 before all this fancy stuff.

Same Here. started after upgrading to 6.0.2
v2022.9.201328-latest (9/20/2022)
Linux x86, Ubuntu 20.04.3 LTS

Try to rollback to v6.0.1 and it's work fine !

Can you try the latest Lens release and see if that helps with the performance issue?

Rollback to v6.0.1 works indeed.

Thanks for the additional information, we're working on a fix.

2022.9.231310-alpha is now available with a fix. It can be updated if "Update Channel" is set to "Alpha". Can you try if it resolves the issue?

Latest resolved the issue for me. Thanks!

Same issue for me using Lens: 2022.9.231310-alpha so not resolved.

@m1m1s1ku can you tell roughly how many pods and how many images in those pods are in your cluster?

@m1m1s1ku can you tell roughly how many pods and how many images in those pods are in your cluster? And was Lens 6.0.0/6.0.1 fast for you, but 6.0.2 slow?

For me more than > 1,000 pod in cluster

@m1m1s1ku can you tell roughly how many pods and how many images in those pods are in your cluster? And was Lens 6.0.0/6.0.1 fast for you, but 6.0.2 slow?

~ 120 Pods in this cluster.
Nothing really fast or slow, but 6.0.2 just freeze when I access the pod list, as explained in the OP

https://user-images.githubusercontent.com/3893/192258259-e7ac199e-a1cc-41c0-a7bb-121fecec64e3.mp4
Lens: 2022.9.260655-latest
Extension API: 6.1.1
Electron: 19.0.17
Chrome: 102.0.5005.167
Node: 16.14.2
© 2022 Mirantis, Inc.
Lens is unusable with 5000 pods in creation - terminal doesn't work etc.

Can you try 2022.9.271220-alpha release available in the alpha channel?

Same issue using Lens: 2022.9.271220-alpha

Thanks, we're still investigating the issue.
@m1m1s1ku did you have the performance issue with Lens 6.0.0/Lens 6.0.1?

@panuhorsmalahti I don't think so, but I can't downgrade except by compiling OpenLens (who works, no matter the version)

Same issue using : Lens: 2022.10.31204-alpha

Can you try again with the latest release?

@panuhorsmalahti Same issue using : Lens: 2022.10.70653-latest (Can scroll but nothing else)

@m1m1s1ku We also just fixed a memory leak recently. If you upgrade to the latest is it better?


Use Cookies to store the Watchlist

Currently your Watchlist will reset after closing the Explorer. It would be neat if you were able to save it.

How about localStorage instead?

I think that doesnt really matter as long as you can store it


Mondo rare subset: remove non-human disease animal

The current rare disease subset includes non-human disease animal diseases.
The rare disease subset should only include human diseases.
It looks that the only culprits are 2 non-human disease terms that have the NORD_rare subset annotation:

tuberculosis, avian (MONDO:0025135)
anaplasmosis in cattle (MONDO:0044748)

(the other terms are classification terms which are included for classification reasons)

I just checked the source of truth about this; the table we received from NORD clearly states that avian tuberculosis is "rare";

[ ] Check with Gioconda if they can provide us with an updated table and tell them about the two animal diseases
[ ] Update NORD subset in Mondo to remove these
[ ] #6501
[ ] Decide if we want to (a) remove non-human animal diseases from the subset, (b) keep them per design, (c) add qc that makes noise when a non-human animal disease is added to mondo

I personally favour (c) rather than (a) because it gives us a change to fix some issues with the source.

Hi!  avian tuberculosis is one of the conditions that I need to review.  While it is a disease that affects birds, it can, in rare occasions, affects mammals too, including humans, specially immunocompromised.  https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3135220/
https://edis.ifas.ufl.edu/publication/PS019
https://www.woah.org/fileadmin/Home/fr/Health_standards/tahm/3.03.06_AVIAN_TB.pdf
As per anaplasmosis of cattle I removed it from the NORD RD list. Note that Anaplasmosis was formerly known as Human Granulocytic Ehrlichiosis, which affects humans.
Thank you very much!!!  Your finding also allowed me to review all the related terms. Gioconda

Very interesting! @galyea123!
@sabrinatoro maybe we should:

Add qc when non-human animal diseases end up in the "rare" subset.
Manually curate qc exceptions as we always do.

Let me know your preference.
The alternative is to carefully rethink by an animal disease - if avian tb can affect humans, why should it be classified as an avian disease? Remember the important difference between and ontology and taxonomy is that we encode biological reality rather than "human classification". Is our definition of animal disease "disease that appears in animal", or is it "disease that predominantly appears in animals"?
I am not suggesting anything, just outlining questions.

Maybe adding the parent term for "Zoonotic diseases" (also known as zoonoses) defined by diseases that are caused by germs that spread between animals and people. https://www.cdc.gov/onehealth/basics/zoonotic-diseases.html
I found the following article very helpful too: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7563794/ (it includes a table with the major zoonotic diseases).
Hope this helps somehow,  Thank you! Gioconda

Agreed with @sabrinatoro for now to ensure that we get notified if an animal disease ends up in the rare disease subset.
@galyea123 the question of Zoonotic disease will surface again later this year (in the context of infectious disease review), but we will keep your very interesting examples in mind!

[like]  Gioconda Alyea reacted to your message:

From: Nico Matentzoglu @.>
Sent: Wednesday, January 10, 2024 4:25:58 PM
To: monarch-initiative/mondo @.>
Cc: Gioconda Alyea @.>; Mention @.>
Subject: Re: [monarch-initiative/mondo] Mondo rare subset: remove non-human disease animal (Issue #7030)
Agreed with @sabrinatorohttps://github.com/sabrinatoro for now to ensure that we get notified if an animal disease ends up in the rare disease subset.
@galyea123https://github.com/galyea123 the question of Zoonotic disease will surface again later this year (in the context of infectious disease review), but we will keep your very interesting examples in mind!
—
Reply to this email directly, view it on GitHubhttps://github.com/monarch-initiative/mondo/issues/7030#issuecomment-1885182040, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4QAWD6F2EKMJN3XPIUKUY3YN26JNAVCNFSM6AAAAABARZDYFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGE4DEMBUGA.
You are receiving this because you were mentioned.Message ID: @.***>
Any review, use, distribution or disclosure by others is strictly prohibited.


Make it clear which missions you need to beat to continue and which are optional side quests

I just realized that we field a lot of support from players trying to beat difficult levels (optional challenges, multiplayer arenas, repeatable brawls, etc.) that are actually optional levels, but they don't realize it, and they think that they need to do this level to continue, even though the main track levels are much easier and they just want to keep going.
My first thoughts on how to fix this:

Make the core level dots look different: a new color?
Have our illustrator modify all the world maps to actually include a single main path and side branches where our levels actually go, so that it's visually obvious which way is forward.
Cheaper than 2: have illustrator add a line along the current hacky layout of the main path in each world map.

Other ideas? What do you guys think?

Does the yellow arrow ever point to optional levels? We could make sure it doesn't.
I like the idea of changing the dots, but ideally it should be obvious what they mean. Maybe the optional levels should look like a skull and cross bones or something else that implies difficult? Or we could include a Map Key in the corner that explains what all the dots and flags mean.

There are some work to be done with the yellow pointer:
I started playing recently, and for me the yellow pointer pointed:
-something behind the clan icon
-a blue dot
-the logic path at the map seemed to continue forward and the pointer pointed somewhere else and
-now the pointer points to a optional level (picture), and I haven't yet seen the effort to find out which level to play...
The map key could be a good idea, maybe also you could check to display/hide normal, optional and/or premium levels?

More dots will require a map key and complicate the UI, so I'd try to avoid that one.
2, 3. Do we still move levels around the map a bit that would require illustrator updates?

For difficult optional levels, we could detect when a user may be stuck and suggest an alternate level.  This would allow players to explore optional levels without them getting stuck there.
The yellow suggestion arrow should work correctly, independent of this issue.


Breaking leaves is broken (funny)

Minecraft version
1.19.2
LibX version
4.2.6
Skyblock Builder version
4.2.4
Forge version
43.1.33
The latest.log file

Issue description
Breaking leaves with shears in skyblock world type doesn't drop leaves when using modded shears.  It works fine in default world type.
Steps to reproduce

Create a new world with world type "Skyblock"
Find a tree
Use shears from any mod (tested with UtilitiX and Opolis Utilities) to break leaves
Wonder why it doesn't drop leaves

Other information
No response

Only happens on client side


HIP: CUDA Array is not supported

The CUDA module will have a new feature that allows realm to move data from/to buffer allocated by cudaMalloc3DArray, and it requires two CUDA functions: cudaMemcpy2DFromArray and cudaMemcpy2DToArray, but they are not existing in HIP.

Reminder that we need to enable the test when we do this too: https://github.com/StanfordLegion/legion/issues/1308


[Update Request]: Log4OM 2

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Log4OM2.Log4OM2
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
There is a new release (<IP_ADDRESS>) available.
Download Page Url: https://www.log4om.com/download/

https://www.log4om.com/l4ong/release/Log4OM2_2_31_0_0.zip


Setting maxlines and ellipsize doesn't ellipsize the end of the TextView

I added
android:maxLines="5"
android:ellipsize="end"
to put an ellipsis when the text reaches more than 5 lines, but it simply doesn't work or sometimes ellipsis is not in the right place (in the middle of the sentence)

Does it happen on the sample too?

Oh sorry I am mistaken, I used some other AutoResize and I got it mixed up, the error I posted is actually that AutoResizeTV's, yours actually worked but, when the content is actually 5 lines, it doesn't work. Somehow when user only writes 1 line, it gets enlarged and ellipsized.
As for your sample, I didn't try it there, I copied the code from your item.xml and use it in my ViewHolder..


The code about levelset

Thank you for your great work.
I want to know about the specific implementation of level sets, but I don't know where the code is about level sets. Can you point me to the exact location of the level set code?
Thanks!

@sutiankang
Hi, the  level set function  code is in levelset_loss.py , the main codes of the model are in head.py.


Fix laser/rock pop outside valid index bug

Fix bug where if lasers/rocks are 'destroyed' out of a typical order, popping the object off the given list was out of index range.

Codecov Report

Merging #94 (bb5f2b6) into main (c22d6f8) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   51.96%   51.91%   -0.05%
==========================================
  Files          75       75
  Lines        2186     2188       +2
  Branches      228      228
==========================================
  Hits         1136     1136
- Misses       1045     1047       +2
  Partials        5        5

Impacted Files
Coverage Δ

...mo/src/seagulls/space_shooter/_space_collisions.py
42.00% <0.00%> (-1.75%)
:arrow_down:

Continue to review full report at Codecov.

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


write directly to flash memory at specific address

Is there a way,using your project, to write/read data at specific flash memory address?
thank you very much :D

It's possible in Simba, but there is no wrapper class implemented in Pumbaa. Can easily be implemented.

Oh,cool. Can you give me an ETA for this part of the project,please? it's very important for what i'm currently working on atm :D
Thank you, again, for your quick response

Implemented the wrapper class. See the documentation here: http://pumbaa.readthedocs.io/en/latest/library-reference/pumbaa/drivers.html#drivers.drivers.Flash

Here is a rough description of how OTA/upgrade will work: http://simba-os.readthedocs.io/en/latest/library-reference/oam/upgrade.html

Thank you very much, it looks great !
I'll be testing both of them as soon as i finish with the exams period. You're great,I didnt expect the flash memory wrapper to be implemented that fast.

using your latest pumbaa version, i have crashes when trying to import drivers.Flash. It's the same error i get when i create circulat imports in python, so i think it might be that.
code :

import os
from drivers import Flash
import harness
from harness import assert_raises

(copy paste from flash_suite.py )
error:
Executing frozen module 'main.py'. Traceback (most recent call last): File "main.py", line 7, in  ImportError: cannot import name Flash Frozen module 'main.py' exited abnormally.

ok, nvm, fixed xD

Part of release 2.6.1.


scaled Flux Dev

I tried to use Flux1DevFP8 scaled to cuantisize and the first step is done perfectly, the 23.8Gb gguf transitory file is got, but the second step of quantization fails though the console says the cuantization is completed at the end. Finally no file appears, wheter transitory or cuantisized. The file used is https://huggingface.co/comfyanonymous/flux_dev_scaled_fp8_test

I can reproduce your issue using the file you linked, the error is Return code:<PHONE_NUMBER> in the log. (not sure what that means)
It seems convert.py always converts it to a 23.8GB file, even though the file you're trying to quant is 11GB. This might be breaking it, perhaps it's not built to quantize from anything except the original one.
If you use this file instead to quantize, then it'll work: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/flux1-dev.safetensors
You may want to post your issues here: https://github.com/city96/ComfyUI-GGUF/issues , since this GUI is built around this: https://github.com/city96/ComfyUI-GGUF/tree/main/tools
My repo here is just the GUI which is nothing but a simple shell with buttons you can click. I don't know how it works internally.


Build shrinkwrap into the dev workflow

https://docs.npmjs.com/cli/shrinkwrap
Do a bit or reading and report back.

Read the above page. How do we proceed?

Hi there, have you used shrinkwrap before? If not, maybe doing a bit more reading about how other people use it would be a good starting point. After that, just very briefly document in this thread what needs to be done and go ahead with it (run it and open a pull request with the changes). Thanks!

Will research more and report back.

Read a few pretty helpful links:

Why you should use npm shrinkwrap?
What is npm shrinkwrap and why is it needed?
Managing Node.js dependencies with Shrinkwrap.

Concluded the following:

The basic purpose of shrinkwrapping is to fix absolute versions of the dependencies used in a project. At first one might think, that mentioning absolute versions in package.json might work. However package.json can't control the versions of dependencies that the project's dependencies use. npm install is recursive in nature so by mentioning absolute versions in package.json will only install the absolute versions of the project's dependencies. The dependencies of the dependencies will get updated whenever possible.
npm shrinkwrap allows you to create a hierarchy which defines all the versions of every single dependency that project uses. A file called npm-shrinkwrap.json is generated which looks something like this:

    "name": "A",
    "dependencies": {
        "B": {
            "version": "0.0.1",
            "dependencies": {
                "C": {  "version": "0.1.0" }
            }
        }
    }
}

In case after this, you need to find put which packages are outdated, just run npm outdated.
Controlling dependencies by shrinkwrapping the package is a good practice especially when there are different production and development versions of a package.

As you mentioned above, I have generated a PR which has the npm-shrinkwrap.json.

merged #13


Examine Storage Datatypes in Smart Contract

Context
As I was working on the integration of the Role based Access Smart Contract to the frontend, I discovered the following. When I wanted to fetch the storage of the Smart Contract via the Taquito Library, I got the following response:

This result is essentially a map, that contains the id of the big_map storage in the contract, which you can see in the following image:

However, this response is useless, if you want to get the entire contract storage. The library doesn't provide a method to iterate over the big_map items. The only way to get an item of the big_map is to fetch a specific item by a key with await storage.get("tz1den1niGxC9xHXZGdMfbGmXjmMzK2HsDQs") for example. However, if you would like to get all mappings in big_map, this would require to know all keys beforehand. Interestingly, with normal MichelsonMap datatype, the library provides a method to iterate over all keys and values, as described in this Article. It seems that the developers of the Taquito library may work on this at some time, based on these issues 222 and 398.
It seems, that the only way to get meaningfull data from a contract storage is to use a public API, for example https://tzstats.com/docs/api#tezos-api. With this API, it is possible to query all the values of our contract by fetching https://api.granada.tzstats.com/explorer/bigmap/149408/values, by passing the big_map id, with the following response:

While this response is a lot more useful than the response of the library, it is still not what I would expect, to work on the frontend with. The good thing is, that I get all the addresses in the storage and also the role. However, the format of the role is very strange.
[
...
    {
        "key": "tz1gqFmpMK4SHwWhTGBUr3t3HKXuyy22QND7", // fine for me
        "key_hash": "expruLuvA3GGvTi4af7JXpMRVhwAmCiGX4N85kchJg7fjPg4NxVUUi",
        "value": {
            "@or_0": { // what is this strange structure?
                "customer": null // why is customer null?
            }
        }
    },
...
]

This structure also reflects, when I use a Block explorer in the Browser, by showing this strange or value{ "customer": {} }:

Suggestion
What I would like to receive in the frontend is a structure as follows:
[
...
    {
        "key": "tz1gqFmpMK4SHwWhTGBUr3t3HKXuyy22QND7",
        "key_hash": "expruLuvA3GGvTi4af7JXpMRVhwAmCiGX4N85kchJg7fjPg4NxVUUi",
        "role": "customer"
    },
...
]

Also, I would continue to use big_map as datatype, as this type is meant for a lot of data and is most efficient in terms of gas costs.

[ ] examine the storage datatypes in a smart contract, especially big_map and try to adjust the current Role based Access smart contract to save and return a more useful data structure

I did some research and found this Repository. It introduces some concepts which could be helpful for our project and perhaps also for the frontend so I wanted to share it :)
For the problem you describe, there is also a solution in it: A collection of NFTs needs to be fetched in the frontend. Therefore, a data structure tokenIds is requested, which then returns a Set<nat> (frontend and smart contract datatype).

Further details about the tokenIds are then fetched by direct calls to the getter of the bigmap by iterating over the set (see here).

This approach is somewhat similar to use cases in Ethereum. To achieve this we need to introduce a bigmap and in addition a set, which both get updated upon creation of new instances - as here.

For listing of the sensor data I understand the need, but - just to be sure - I wanted to ask if we really need to fetch the collections for users as well (It's not a problem, I just wanted to ask if this is a required feature before we make the adjustments because set entries are unique which might cause some pitfalls for this particular use case))?
Furthermore, I am aware that this method could be very slow with large data sets. But in this case a paging mechanism could provide a workaround, or what do you think @amrap030?

LIGO Set documentation

Hey @repype, thank you for this detailed research. I know the workaround by getting items from a set via a unique key. You are also right, this would not be feasible when querying the entire contents of the storage at once, but we can implement some paging, searching and filtering functionality in the frontend. For now, I don't think we need this for the role contract. We only require this, if we want to display roles of an address in our frontend application. This task was more intended to clarify the structure, and if there are possibilities to enhance this, to prevent pitfalls in future contract implementations, where we definitely need information in the frontend. We will definitely need this for the NFT's.


Deterministic ordering of tests in output file

Sort the keys of discovered tests after traversal so that multiple runs to create the mini magic file do not create different output
Makes it easier to see changes if the mini magic file is checked into VCS

looks good to me


Leetcode Question Number 33

Leetcode Question Number 33 soultion needs to be added in the repo .
The link for the question is this.
Accepted Languages C++ / JAVA .
You Only need to add the  class Solution in the file.
Make Sure you have read the contributions guidelines before creating an PR.

Please assign this to me :)


Clarify deallocation done by std.typecons.Unique.

I had trouble understanding how Unique!T was supposed to help me manage resources.  These document changes should clarify the process and make it easier for others to understand.
Caveat: I'm not absolutely sure if $(REF destroy, object) will do what I intend after doc generation.  I don't have time to learn how to build Phobos' documentation to test it.  I intend it to reference https://dlang.org/library/object/destroy.html so that the reader can easily understand the implications.
This is follow-up after this post on the D learn forum<EMAIL_ADDRESS>If this change goes well, then I will attempt to update RefCounted!T as well.

Auto-merge toggled on


verbose autoread error message if no session file is found

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.sessions
Description
I use this configuration:
      local sessions = require('mini.sessions') -- Session management (read, write, delete)
      sessions.setup({
        -- Whether to read latest session if Neovim opened without file arguments
        autoread = true,

        -- Whether to write current session before quitting Neovim
        autowrite = true,

        -- File for local session (use `''` to disable)
        file = 'Session.vim',

        -- Directory where global sessions are stored (use `''` to disable)
        directory = '',

        -- Whether to print session path after action
        verbose = { read = true, write = true, delete = true },
      })

and usually i create a session file everywhere i need one or i start neovim with nvim . or nvim path/to/file.ext so no autoloading a session happens and no error message appears.
When i start nvim and have no directory-local Session.vim, i receive a rather obtrusive error:
12:40:12 msg_show Error executing lua callback: ...i/.local/share/nvim/lazy/mini.nvim/lua/mini/sessions.lua:587: (mini.sessions) There is no detected sessions. Change configuration and rerun `MiniSessions.setup()`.
stack traceback:
	[C]: in function 'error'
	...i/.local/share/nvim/lazy/mini.nvim/lua/mini/sessions.lua:587: in function 'error'
	...i/.local/share/nvim/lazy/mini.nvim/lua/mini/sessions.lua:152: in function 'read'
	...i/.local/share/nvim/lazy/mini.nvim/lua/mini/sessions.lua:444: in function <...i/.local/share/nvim/lazy/mini.nvim/lua/mini/sessions.lua:443>

Is there a straightforward way to either surpress this message completely (maybe not a good idea), make it "nicer" (e.g. removing the tracebacks) in mini.sessions configuration? Or is there a configuration which could help suppress this or make it less "noisy"?
I understand this is maybe a (very) minor issue.

Thanks for the suggestion!
Having looked at it, I do agree that this might be a bit much. And as 'mini.sessions' is designed to support the workflow you describe, it is reasonable to loosen the side effect from error to a message. This should be done on latest main branch.


fixed bug preventing number of shots from updating properly when usin…

fixed bug preventing number of shots from updating properly when using aer accelerator. TODO, come up with longer term fix to line 69
Signed-off-by: Tyler Kharazi<EMAIL_ADDRESS>

This looks good and @kharazity is covered by UT-Battelle MLA


Cucumber BeforeFeatures hook had error

I have a before hook as below which resets a db
var reset = function () {
  this.Before(function (callback) {
    // "global.server.call('resetdb', callback);" as per https://github.com/xolvio/meteor-cucumber
    // does not work use "this.server.call('resetdb', callback);"
    this.server.call('resetdb', callback);
  });
};

module.exports = reset;

When I start meteor with cucumber the first run is successful, but if I change a test/code which causes it to rerun/restart it produces the following error and fails,
[xolvio:cucumber] Running in batch-features mode.
[xolvio:cucumber] Cucumber is running
[chimp] interrupting
[chimp] no processes to interrupt
[chimp] rerunning
[chimp] Running...
[chimp] interrupting
[chimp] no processes to interrupt
[chimp][selenium] Selenium object already exists, not creating a new one
[chimp][selenium] Start
[chimp][selenium] Already running, doing nothing
[chimp][cucumber] Running
[chimp][world] creating DDP connection
[chimp][hooks] Starting BeforeFeatures
[chimp][world] getting browser
[chimp][session-manager] options are { port: '49922', browser: 'firefox', deviceName: undefined }
[chimp][session-manager] created a new SessionManager { port: '49922', browser: 'firefox', deviceName: undefined }
[chimp][world] custom chimp.js not found, loading defaults
[chimp][world] webdriverOptions are  {"waitforTimeout":10000,"desiredCapabilities":{"browserName":"firefox","platform":"ANY","name":""},"host":"localhost","port":"49922","logLevel":"silent"}
[chimp][session-manager] creating webdriver remote
[chimp][session-manager] checking connection to selenium server
[chimp][session-manager] requesting sessions from http://localhost:49922/wd/hub/sessions
[chimp][selenium.stderr] 13:50:23.051 INFO - Executing: org.openqa.selenium.remote.server.handler.GetAllSessions@35a9b86e)

[chimp][selenium.stderr] 13:50:23.051 INFO - Done: org.openqa.selenium.remote.server.handler.GetAllSessions@35a9b86e

[chimp][session-manager] received data {"sessionId":null,"status":0,"state":"success","value":[{"id":"c0d8bbfa-8f88-4360-a413-9e9963a76446","class":"org.openqa.selenium.remote.server.handler.GetAllSessions$SessionInfo","capabilities":{"platform":"LINUX","acceptSslCerts":true,"javascriptEnabled":true,"browserName":"firefox","rotatable":false,"locationContextEnabled":true,"version":"38.0","cssSelectorsEnabled":true,"databaseEnabled":true,"handlesAlerts":true,"nativeEvents":false,"webStorageEnabled":true,"applicationCacheEnabled":true,"takesScreenshot":true},"hCode":428562760}],"class":"org.openqa.selenium.remote.Response","hCode":194155282}
[chimp][session-manager] Found an open selenium sessions, reusing session c0d8bbfa-8f88-4360-a413-9e9963a76446
[chimp][session-manager] Did not find any open selenium sessions, not reusing a session
[chimp][session-manager] monkey patching the browser object
[chimp][hooks] init browser
[chimp][session-manager] browser already initialized
[chimp][hooks] init browser callback
[chimp][hooks] setup DDP
[chimp][hooks] connecting via DDP to http://localhost:41716/
[chimp][hooks] BeforeFeatures hook had error
[TypeError: Object #<Object> has no method 'timeoutsAsyncScript']
[chimp][cucumber] Closed with code 2
[chimp] finished rerun
[chimp] Finished running async processes with errors
[xolvio:cucumber] Bad response from Chimp server.
[chimp] interrupting
[chimp] 2 processes to interrupt
[chimp][cucumber] interrupting cucumber
[chimp][cucumber] killing child process with pid 10163
[chimp] Finished interrupting processes

.meteor/versions
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
.meteor/packages
meteor-platform
aldeed:collection2
iron:router
meteorhacks:subs-manager
accounts-base
accounts-password
mystor:device-detection
sacha:spin
mizzao:timesync
jquery
momentjs:moment
lepozepo:accounting
cfs:standard-packages
cfs:filesystem
cfs:ejson-file
cfs:gridfs
twbs:bootstrap
francocatena:status
accounts-facebook
accounts-google
service-configuration
fortawesome:fontawesome
ground:db
aldeed:autoform
mizzao:autocomplete
peerlibrary:fs
spiderable
gadicohen:phantomjs
natestrauser:select2
dburles:collection-helpers
rajit:bootstrap3-datepicker
summernote:summernote
email
accounts-ui
reywood:publish-composite
kevohagan:sweetalert
tap:i18n
msavin:mongol
harrison:papa-parse
<EMAIL_ADDRESS>mike:mocha

thanks for reporting, I think I know what this is. Maybe you can use phantom in the meantime if that works for you

Thanks sam, i just realized that the error is not related to the hook I mentioned in the report. Figured it is to do with SELENIUM_BROWSER=firefox
The reason I am using firefox for this test is because I couldn't get  http://webdriver.io/api/utility/chooseFile.html to work on phantom yet.

+1 ^
Having the same issue while running with SELENIUM_BROWSER=firefox

you need to remove xolvio:webdriver, let me know if that helps.

Upgraded to xolvio:cucumber version 0.9.2
Removed xolvio:webdriver
  at Promise.b (domain.js:183:18)
From previous event:
  at WebdriverIO.<anonymous> (/home/vagrant/rana/tests/cucumber/features/support/hooks.js:111:15)
  at /home/vagrant/.meteor/packages/xolvio_cucumber/.<IP_ADDRESS>m898o++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/chainit/index.js:146:12
  at process._tickDomainCallback (node.js:486:13)```

@frosario It's difficult for me to know what's happening from your report. I'll need more info. Please create a new issue and see the contributing guidelines I just added. Thanks :)

No worries. Thanks :)


DeprecationWarning: Implicit coercion to integer for exit code is deprecated

Describe the bug
I posted this on the prisma github but I noticed when I kill the vite process this happens regardless of what libraries I am using.
i am running nodemon for an express server that uses vite + ssr
every time nodemon restarts the server, i get this warning:
(node:14591) [DEP0164] DeprecationWarning: Implicit coercion to integer for exit code is deprecated.
    at process.exit (node:internal/process/per_thread:200:7)
    at Object.onceWrapper (node:events:628:26)
    at process.emit (node:events:513:28)

looks like this is only happening in node 19+ due to this change:
https://fossies.org/diffs/node/v19.2.0_vs_v19.3.0/lib/internal/process/per_thread.js-diff.html
how can this be resolved? i'm pretty sure this is caused by the vite HMR server but im not 100% certain
Reproduction
https://vitejs.dev
Steps to reproduce
No response
System Info
mac, node

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Looks like it's getting this deprecation message, Vite isn't calling process.exit with an invalid type afaia. We do emit SIGTERM on exit but I'm not sure if it's related. We'd need a repro to investigate where this comes from, but at the same time, because this only happens in Nodejs 19 which we don't support, it could be also a false positive in node.

To reproduce just run vite on latest node version in watch mode and then just CMD+C in the terminal to force exit the process.
You will see the warning every time.

I tested with create-vite's vanilla template on WSL, but didn't reproduce.


Navbar Items not visible if scrolled down. (color problem)

after scrolling down, it shows like this

I would like to work on this issue.

/assign

/assign

Hey there, please assign me to this issue i would like to work on it.


Unable to Re-import the module

Hey,
If i try to import the module, then remove it from memory, then import it again i get "An item with the same key has already been added"
Removing the module:
PS C:\> Remove-Module Microsoft.Graph.Intune -Force -Verbose
VERBOSE: Performing the operation "Remove-Module" on target "UtilCmdlets (Path:
'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.Graph.Intune\CustomModules\UtilCmdlets.psm1')".
VERBOSE: Performing the operation "Remove-Module" on target "AliasCmdlets (Path:
'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.Graph.Intune\CustomModules\AliasCmdlets.psm1')".
VERBOSE: Performing the operation "Remove-Module" on target "Microsoft.Graph.Intune (Path:
'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.Graph.Intune\Microsoft.Intune.PowerShellGraphSDK.dll')".
VERBOSE: Removing the imported "Get-MSGraphAllPages" function.
VERBOSE: Removing the imported "Get-MSGraphDebugInfo" function.
VERBOSE: Removing the imported "Set-MSGraphAlias" function.

Importing the module again
PS C:\> Import-Module Microsoft.Graph.Intune -Force
Import-Module : An item with the same key has already been added.
At line:1 char:1
+ Import-Module Microsoft.Graph.Intune -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ImportModuleCommand

Any ideas why and how to solve it?

Investigating... thanks for reporting this issue.

@giertz Thanks for reporting this - I've found a fix and am in the process of releasing a new version.
Just out of curiosity, why are you trying to unload/reload the module?  Is there a specific scenario you need this functionality for?

@rohitramu Im working on a console tool where you can load various cloud modules and then authenticate with stored credentials. There is a function builtin that allows the user to disconnect a current session, in this case it will just unload the module. So in a scenario where the user either wants to just "disconnect" or authenticate with a new account this function will be executed.

Cool, that sounds interesting!  Just in case you weren't aware: even when you unload a module, the currently loaded dll's will not be unloaded from memory - the cmdlets just won't be available to use.  The easiest way I know of to unload dll's is to use separate PowerShell sessions.  This way, you can just exit the sessions and the dll's will be unloaded from memory.
An alternative is to just not unload the module at all.  The "connection" is actually a bit of an illusion.  Authentication for Microsoft Graph actually works by retrieving an authentication "token" when you run Connect-MSGraph, and then this token is sent along with each request to Microsoft Graph.  This means that there actually isn't any persistent connection that you can close.
In terms of logging into a different account, you can do that with the following command, which will force a login window to open:
Connect-MSGraph -ForceInteractive

I have updated the release with the fix.  Please download it again from the "Releases" tab in this repository.

Thanks! You don't happen to know how long the token is valid during inactivity?

I think it might be an hour.  However, you shouldn't need to worry about that because the module will automatically refresh the token (i.e. get you a new token) for you if it has expired.

(ref. https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5772 )


About using fMRI data or fMRI time series to calculate dynamic functional connections

I would like to ask, can ‘tvfcg_ts’ be used in the time series of fMRI? If so, is the parameter 'n_channels' equivalent to the ‘number of ROIs’ in the fMRI time series, and is 'n_samples' equivalent to 'slice' in the fMRI time series, and other parameters such as ‘fb’, 'fs', etc. how to set?

Maki kalispera
Logika opos to eiches anaferei tha prepei na finei to filtering inside
connectivity estimators
oste na douleuei me diafora preprocessing steps kai se diafora modalities
Στις Παρ, 12 Απρ 2019 στις 10:30 π.μ., ο/η Baby-Baby <
<EMAIL_ADDRESS>έγραψε:

I would like to ask, can ‘tvfcg_ts’ be used in the time series of fMRI? If
so, is the parameter 'n_channels' equivalent to the ‘number of ROIs’ in the
fMRI time series, and is 'n_samples' equivalent to 'slice' in the fMRI time
series, and other parameters such as ‘fb’, 'fs', etc. how to set?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/makism/dyfunconn/issues/12, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARq2m9Paij9Cw3b4sdV3PTSUjS_W5o9dks5vgFI-gaJpZM4crtv8
.

I would like to ask, can ‘tvfcg_ts’ be used in the time series of fMRI? If so, is the parameter 'n_channels' equivalent to the ‘number of ROIs’ in the fMRI time series, and is 'n_samples' equivalent to 'slice' in the fMRI time series, and other parameters such as ‘fb’, 'fs', etc. how to set?

Unfortunately, right now it's not possible. The main issue the filtering functions embedded in the code (and thus the requirement for the parameters 'fb’ and 'fs)'. With a bit hacking this could be possible though.
We'll work to decouple these parameters. Stay tuned!
Duplicate of #11


Adding the PeriodicalGrowthRateIndicator

Adds a Growth Rate indicator as discussed in #89 with a test file.
In general the 'Growth Rate' is useful for comparing the average returns of investments and may be used to compare the performance.
It implements:

The calculation of the indicator which respects a specific timeframe.
A method to calculate the total return. Choosing the correct timeframe and the corresponding tick data it calculates the 'Annualized Total Return'.

Great, thank you!


Remove version: Ryujinx.Ryujinx.Ava version 1.1.1130

All InstallerUrls returned 404 Not Found

https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1130/test-ava-ryujinx-1.1.1130-win_x64.zip

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1130/test-ava-ryujinx-1.1.1130-win_x64.zip
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


Support default values for distribution tuples

It would be convenient to be able to omit the source_time for background files and have it start at any point in the recording. So essentially, have it default to ('uniform', [0, bg_audio_file_duration]). And the same goes for event_time. I'd like to be able to just specify ('uniform',) for example and have them randomly placed throughout the file.
Similarly but less important, it would be nice to be able to omit event_duration and have it default to ('const', fg_audio_file_duration - source_time)
In general, I think providing sensible defaults for parameters (like label and source_file default to ('choose', []), source_time defaults to ('const', 0), etc) would be helpful.

It would be convenient to be able to omit the source_time for background files and have it start at any point in the recording.

Why?

So essentially, have it default to ('uniform', [0, bg_audio_file_duration]).

I don't think that's a good default. If anything I think (const, 0) would be a more logical default (i.e. by default start at the beginning of the track).
Anyway, this is a bigger discussion that specific default values, since right now Scaper does not support any default values. So the first question that needs to be resolved is: should scaper support default values and why?
Right now it's not clear to me why default values should be supported, but I'm open to suggestions!

Why would you need the background to start at the beginning? Isn't the point of background tracks that they don't really have a start?
If I'm generating a bunch of soundscapes from a limited set of background files, I would want the background to be different every time unless otherwise specified, instead of just cycling through the same starts of X number of tracks.
The real benefit to that as a source_time is that, say I only have 2 background recordings, one is 10mins, one is 2mins, and I'm generating a bunch of 30 second soundscapes. I want to utilize the entirety of my 12mins of background audio to create those soundscapes, but I would have to set a source_time at ('uniform', 0, 90) to avoid clipping in the two minute clip (giving me only 4mins to work with) or set it at ('uniform', 0, 550) and have a majority of the samples taken from the two minute clip be of the last 30 seconds.
So if I omit source_time, I'd be implying, "take any 30 seconds from my background audio" and would effectively use the entirety of the available audio.

Scaper should support defaults because:

It's cumbersome to have to write out values for variables that should be implied if they're not present.

time_stretch, pitch_shift: if they're not mentioned, then they're probably not wanted
label, source_file: if it's not mentioned, just use any one of them
source_time (foreground): start at the beginning
source_time (background): just take any valid snippet from the background track
event_duration: if it's not mentioned, I would expect it to just play the entire track
event_time: if they didn't say when, meh just put it anywhere

For values that depend on properties of the source audio (fg.event_time, fg.event_duration, bg.source_time), there isn't a way to know the audio durations prior to sampling. The other option would be to support something like e.g. event_duration=('const', None) and have that be how you specify using the entire foreground audio clip. I just think it makes sense that if you don't specify values for certain properties, you would want to generate as diverse a set of soundscapes as possible.

If I'm generating a bunch of soundscapes from a limited set of background files, I would want the background to be different every time unless otherwise specified, instead of just cycling through the same starts of X number of tracks.

This is a valid use case, but I don't know that it's necessarily the most common use case. Will have to give it some thought.

It's cumbersome to have to write out values for variables that should be implied if they're not present.

Could you paste some example code to illustrate this?

time_stretch, pitch_shift: if they're not mentioned, then they're probably not wanted

I tend to agree.

label, source_file: if it's not mentioned, just use any one of them

Agreed.

source_time (foreground): start at the beginning

Agreed.

source_time (background): just take any valid snippet from the background track

Not convinced this is the best default behavior.

event_duration: if it's not mentioned, I would expect it to just play the entire track

Which track? The source file or the output soundscape? Another option would be to randomly choose a duration for the event. It's not clear to me which default value would make most sense here.

event_time: if they didn't say when, meh just put it anywhere

Anywhere according to which distribution? Normal? Uniform? Again, it's not clear to me what a good default value would be.
To summarize, it's not clear to me that there are sensible defaults for each field, and consequently it's not clear to me that it makes sense to have default values at all. Note that "not clear" doesn't mean I disagree, in fact, I tend to agree, but I think this requires careful hashing out before looking at any PR code.

So I think it'll help if we clarify the assumptions being made on what the source audio looks like, because it seems like this might be the source of some disagreement? My base assumptions that I've been using are:
background events:

usually longer, assuming we're taking audio from some long field recordings, anywhere from a minute to an hour
possibly fewer in number than foreground events (which is fine because of longer lengths)

foreground events:

a single event
basically thinking like a sound effects library

So maybe the assumptions I'm making are wrong, but the defaults I picked are based off of these so I'm thinking that's why we may have different ideas about what they should be.

This is a valid use case, but I don't know that it's necessarily the most common use case. Will have to give it some thought.

source_time (background): just take any valid snippet from the background track
Not convinced this is the best default behavior.

So are the background events you use typically cut up into small chunks? I may just be misunderstanding how scaper is meant to be used. Otherwise it seems a bit wasteful to ignore all background audio after [0, sc.duration].

Could you paste some example code to illustrate this?

# I just find this:
sc.add_event(label=('const', 'dog_bark'),
             event_time=('uniform', 5, 10),
             snr=('normal', 10, 3))

# to be a bit more expressive than this:
sc.add_event(label=('const', 'dog_bark'),
             source_file=('choose', []),
             source_time=('const', 0),
             event_time=('uniform', 5, 10),
             event_duration=('truncnorm', 3, 1, 0.5, 5),
             snr=('normal', 10, 3),
             pitch_shift=None,
             time_stretch=None)

Which track? The source file or the output soundscape? Another option would be to randomly choose a duration for the event. It's not clear to me which default value would make most sense here.

The entire source file, my bad. This default is going off the assumption that we have foreground events that are isolated. So if I had a folder of dog barks and I told scaper sc.add_event(label=('const', 'dog_bark')) It would add a single dog bark.
I understand how it wouldn't be a reasonable default if the foreground events are long and don't contain one event each, but in that case, the user could just override the default with their desired value/distribution. I agree that a randomly chosen duration would not make sense.

Anywhere according to which distribution? Normal? Uniform? Again, it's not clear to me what a good default value would be.

I think a basic assumption would be uniform across the length of the soundscape. If I say add an event to this soundscape, the least biased way would be to uniformly place it across all valid values.

To summarize, it's not clear to me that there are sensible defaults for each field, and consequently it's not clear to me that it makes sense to have default values at all.

Your assumptions about the source audio are aligned with mine and with how scaper is suppsed to be used (background files are expected to be longer compared to foreground files; foreground files should contain a single, isolated sound event, though note the event could be short [dog bark] or long [continuous siren sound]).
Your code example illustrates nicely how defaults would make coding in scaper more concise. I think the challenge will be to identify the best default values for each parameter.
In particular, I'm not sure about how to choose the start time (source time) for the background. For some use cases it makes sense to choose a start time randomly (e.g. adding environmental foreground sounds on top of an environmental background track), but for others it might make more sense to always start at the beginning (e.g. adding musical instrument sounds on top of a background beat track). In either case it probably doesn't make sense to choose a time > background_source_duration - soundscape_duration.
I'll give this some further thought. Unfortunately I don't think scaper has a large enough userbase (yet!) to poll users, which would be the best thing to do. But I guess we could make a best effort in setting default values and then if users request changes those can be considered. Want I definitely want to avoid is setting default values that lead to "bad behavior", i.e. the user thinking they're doing X while in fact they're doing Y.

Hm I never thought about using scaper for music as using a continuous distribution would hardly, if ever, produce soundscapes with events on beat. If that is a use case, I would have expected a binomial distribution to be implemented or something.
I understand. I still think we need a way of sampling source_time from ('uniform', 0, background_source_duration - soundscape_duration) though because in the case of uneven length background files, having to set it arbitrarily would produce biased samples.

For music the most convenient default case, potentially, is for source_time to be 0 by default such that if you have a beat track, and then different instrument tracks, you can create "sub-mixes" by randomly choosing a subset of instruments and mixing them together, all starting at time 0 so that the tracks remain synchronized. In fact we did just that with MedleyDB as an augmentation technique. @pseeth might have additional thoughts.

Oh interesting. Gotcha. My thought is that, the music case can be accommodated by adding source_time=('const', 0), but the environmental case currently can't. So I'm fine tabling the discussion about defaults, but it is a minor annoyance for me that we can't randomly sample uniformly across all background audio.
So regardless of whether it's the default, I think this behavior should be implemented to allow:
fg.event_time=('uniform', 0, sc.duration - event_duration),
fg.event_duration=('const', fg.source_duration),
bg.source_time=('uniform', 0, bg.source_duration - sc.duration)

This has already been implemented in #51 where setting each of these to None will give each of these distributions. Another option would be to do something like ('uniform', 0, None) but that might complicate distribution validation quite a bit.
I'm open to taking out the default values of #51 if that could be a compromise.

Hey guys, I just saw this discussion. Mixing coherent music mixtures is actually quite tricky and a bit hacky. I have this script to do it with musdb if you're interested in seeing how I'm doing it:
https://gist.github.com/pseeth/51902c231f69b42ddc7274af20b27d24
As you can see, it's a little bit insane. The script above makes 20k mixtures from musdb assuming you reorganize the musdb to match the Scaper style:
musdb/
  train/
     bass/
        song0.wav
        song1.wav
        ...
     drums/
        song0.wav
        song1.wav
        ...
     other/
        song0.wav
        song1.wav
        ...
     vocals/
        song0.wav
        song1.wav
        ...

So regardless of whether it's the default, I think this behavior should be implemented to allow:
fg.event_time=('uniform', 0, sc.duration - event_duration),
fg.event_duration=('const', fg.source_duration),
bg.source_time=('uniform', 0, bg.source_duration - sc.duration)

I'm not sure I'm following, this is already possible: if you set a foreground event_time = ('uniform', 0, sc.duration) it'll use a start time between 0 and sc.duration - event_duration. If you set the label to be protected, it will use the source file duration as the event duration. And similarly there's nothing preventing you from setting a start time for the background event other than 0.

This is how I'd summarize the thread so far:

It would be useful to support default values for distribution tuples so that scaper code can be more concise
Some parameters have natural default values (e.g. None for time stretching and pitch shifting)
Other parameters (e.g. source_time) are less straightforward and different use cases would benefit from different default values.

All in all I'm in favor of supporting default values, but it's a pretty major API change and would require (1) determining the best default value for each parameter and (2) implementing the change including unit testing and documentation.
I'm happy to look into this once we finish merging #53, #54, #55.

Fair point. I hadn't considered setting all labels as protected to force the full clip duration. For event_time, that is also a solution, though it will introduce a slight bias towards events occurring in the interval [sc.duration - event_duration, sc.duration], but assuming the foreground events are short that shouldn't be a huge deal.
For background source_time, it's not just about setting the background source_time to a value other than zero, it's about being able to set the background source_time to a value that allows us to use the entirety of our background audio in an unbiased manner. See from above:

say I only have 2 background recordings, one is 10mins, one is 2mins, and I'm generating a bunch of 30 second soundscapes. I want to utilize the entirety of my 12mins of background audio to create those soundscapes, but I would have to set a source_time at ('uniform', 0, 90) to avoid clipping in the two minute clip (giving me only 4mins total to work with between the two files), or set it at ('uniform', 0, 550) and have a majority of the samples taken from the two minute clip be of the last 30 seconds.
So if I omit source_time (or however it's implemented), I'd be implying, "take any 30 seconds from my background audio" and would effectively use the entirety of the available audio.

I don't think it's that much of an API change purely because it's entirely backwards compatible. But yes I agree it will take a bit of work with determining defaults and unit test/docs.

For background source_time, it's not just about setting the background source_time to a value other than zero, it's about being able to set the background source_time to a value that allows us to use the entirety of our background audio in an unbiased manner. See from above:

The PR we're currently working on (#53) adjusts the source time prior to sampling to given an unbiased sampling of the valid range given the actual source time and event duration. So I think that PR addresses your concern.

#53 is now in Scaper, @beasteers, does it address this issue?


Why database access at all, use JWT

Instead of generating random token and storing it to database, think about using another JWT as a refresh token.
Refresh token generated this way will have the expiry information in it, so no database access is needed for validation, except for blacklisting which could be optional.

I had the same thought @Vaxter. However, by having it in your database you can delete tokens and force the user to authenticate. This means that if a user changes their password, you could purge all their refresh tokens and they would need to re-auth on other devices.


Iris to GeoVista conversion

🚀 Pull Request
Description

From the issue #5517. This PR adds the ability to convert an Iris cube into a polydata mesh and then extract a region of that to be able to be plotted using geovista. This is a one way operation as it does not include the ability to go the other way from geovista to iris. There was plenty of discussion of the scope of this PR in the original issue.

Consult Iris pull request check list

BTW there also seems to be nothing in the API docs build for iris.geovista
i.e. here
I've no idea why this is -- I'm assuming it should be showing API for cube_to_polydata and extract_unstructured_region.

BTW there also seems to be nothing in the API docs build for iris.geovista i.e. here I've no idea why this is -- I'm assuming it should be showing API for cube_to_polydata and extract_unstructured_region.

There's loads!

BTW there also seems to be nothing in the API docs build for iris.geovista i.e. here I've no idea why this is -- I'm assuming it should be showing API for cube_to_polydata and extract_unstructured_region.

There's loads!

Sorry, that was a browser caching thing !

Thanks for sticking with it!


Update templates with 12.8.4 AMI IDs

Updated quick start templates with 12.8.4 AMI IDs for both OpenEdge Database and PAS for OE AMIs

Changes look good.
Are you using Amazon Linux 2 or Amazon 2023 as the OS? How was the test using the deployment packages?
Thanks.

Changes look good.
Are you using Amazon Linux 2 or Amazon 2023 as the OS? How was the test using the deployment packages?
Thanks.

I'm using Amazon Linux 2023 as base OS and tested the deployment the packages from scripts.


Vendor dependencies with Godep

This change introduces the usage of Godep in order to vendor dependencies and create reproducible builds.

With the view that cayley will be offering itself as a Go API in addition to the current mql/gremlin APIs, and so included as an import outside the cayley tree: this NOT LGTM.
Please see discussion at golang-dev on the conventions behind vendoring in libraries: adg and rsc.
If you can vendor only the cayley app dependencies then it would be OK, but I don't see this as being all that useful since the majority of external are being imported in the non-main packages.

I understand your point, but there is also something to be said of not being able to reproduce builds.
How about the compromise of not rewriting imports? Then the use of Godep becomes optional, but we can require that all releases of Cayley have their Godeps synchronized such that the build can be reproduced by checking out the tag of the release and then running godep go build.

I'd be happier if we weren't keeping all the source if imports are not being rewritten anyway. What about glock? This is used in cockroach.

I'm not familiar with glock, but godep also supports this behavior if you commit only the Godeps/Godeps.json file and use godep get to download those versions of your dependencies into your $GOPATH.

OK SGTM

Ok, I'm going to close this and open a new PR then.

:+1: btw; forgot to comment, but not ACKing this is a huge step up. Thanks for not vendoring!


Fix requre test and use latest features of requre

It contains workaround to use latest bits of requre for all test targets.
Will be removed after new release of requre will in in pip and fedora.

needs a rebase, @mfocko got his click PR in :)

In general it would be nice, if these requre changes could be made in a backward compatible manner in the future, so that they don't break CI for all our projects.

@csomh Right, in the most cases we do that everytime backward compatible, but this fix were not possible to align backward compatible, so that I've prepared PR for packit directly with requre change. to have it fixed asap.


Formatting issues with labs/Booleans

https://github.com/princomp/princomp.github.io/blob/0d923a06743e326758087d757aa12bcd0898987f/source/labs/Booleans.md?plain=1#L50
This link leads to the HTML version of the book instead of the appropriate lecture section.
https://github.com/princomp/princomp.github.io/blob/0d923a06743e326758087d757aa12bcd0898987f/source/labs/Booleans.md?plain=1#L54-L60
Table doesn't correctly format inline code portions.

Table fixed with 4a11c96, other issue seems to be resolved.


Syntax Error During Installation

I'm wondering if you can help me. I'm encountering a syntax error while attempting to install. I'm running Python 3.4 on Mac OSX 10.7.5.
Any help would be appreciated. Thanks!
Here is the log from the terminal:
vpn166047:~ tristandahn$ pip install twarc
Downloading/unpacking twarc
Downloading twarc-0.1.2.tar.gz
Running setup.py (path:/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/twarc/setup.py) egg_info for package twarc
Downloading/unpacking oauth2 (from twarc)
Downloading oauth2-1.5.211.tar.gz
Running setup.py (path:/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2/setup.py) egg_info for package oauth2
Traceback (most recent call last):
File "", line 17, in
File "/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2/setup.py", line 18
print "unable to find version in %s" % (VERSIONFILE,)
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2/setup.py", line 18
print "unable to find version in %s" % (VERSIONFILE,)

                                   ^

SyntaxError: invalid syntax

Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/v2/vv94gk4n6ns3s3ywf8bjvmw40000gn/T/pip_build_tristandahn/oauth2
Storing debug log for failure in /Users/tristandahn/.pip/pip.log

I have the same problem on my Mac when I run pip3 install twarc. It looks like a problem in the OAuth2 dependency, see simplegeo/python-oauth2#147 where someone reports not being able to install on 3.3. It's a simple print statement fix but for now it kills python 3 installs.

Perhaps we should be using https://pypi.python.org/pypi/oauthlib ?


the format of the document

Can you provide a complete demonstration example? I am not very clear about the format of the document. Thanks =w=

it's the graph_maker_maker.ipynb in another repo <graph_maker> where you can find.

here is a complete example
https://github.com/rahulnyk/graph_maker/blob/main/graph_maker_example.ipynb
let me know if you face any more problems. Thanks

I am very interested in this project and will continue to follow it. Thank you for your reply. ✌( ᐛ )✌

Please share your experience as well.
Very glad you find this useful :)

AttributeError                            Traceback (most recent call last)
Cell In[9], line 17
15 create_indices = True
16 neo4j_graph = Neo4jGraphModel(edges=graph, create_indices=create_indices)
---> 17 neo4j_graph.save()
File /opt/anaconda3/lib/python3.11/site-packages/knowledge_graph_maker/neo4j_graph_model.py:67, in Neo4jGraphModel.save(self)
64 with neo4jDb() as db:
65     with db.transaction:
66         [entity_1, entity_2] = Entity.get_or_create(
---> 67             edge.node_1.model_dump(), edge.node_2.model_dump()
68         )
69         entity_1.relationship.connect(
70             entity_2,
71             {
(...)
74             },
75         )
76         count += 1
AttributeError: 'Node' object has no attribute 'model_dump'
I get this error when I try to save the graph, someone please guide me


Allow BoneAttachments to be outside of skeleton

Godot version:
v3.1-beta3
OS/device including version:
ArchLinux rolling
Issue description:
It would be very convenient if BoneAttachment had extra "skeleton" parameter to allow putting them outside of skeleton.

Is RemoteTransform actually usable for that case? https://docs.godotengine.org/en/3.0/classes/class_remotetransform.html

@Zylann unfortunately it will still require me to make BoneAttachment an immediate child of Skeleton. What I want is to have ability to do all the stuff outside of the imported skeleton without adding any child nodes to it.


In k8s.io/docs/tutorials/hello-minikube/ "minikube dashboard" using Katacoda environment never responds on 30000

This is a...

[ ] Feature Request
[X] Bug Report

Problem:
Using the in-browser Katacoda environment, The docs for hello-minikube say to run "minikube dashboard".
Running that results in:
$ minikube dashboard
-   Enabling dashboard ...
-   Verifying dashboard health ...
-   Launching proxy ...
-   Verifying proxy health ...
-   Opening http://<IP_ADDRESS>:38793/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ in your default browser...
X   failed to open browser: exec: "xdg-open": executable file not found in $PATH

This command never finishes, but it's not clear if it's supposed to, or if it's like kubectl proxy and needs to be running while the dashboard runs.
Next, the instructions say:

Katacoda environment only: At the top of the terminal pane, click the plus sign, and then click Select port to view on Host 1.

Katacoda environment only: Type 30000, and then click Display Port.

The Katacoda web page shows:
We're currently trying to connect to a HTTP service running on 30000. Services can sometimes take a few moments to start, even upto five minutes.

However even 20 minutes later there's no response.
In the browser JS console:
GET https://2886795285-30000-elsy02.environments.katacoda.com/katacoda/_health 500
/katacoda/_health:1 Failed to load resource: the server responded with a status of 500 ()

It seems to be polling that URL every second or so, and always getting a 500.
It isn't clear if the problem is with the "minikube dashboard" command, or something else.  The instructions say to run other commands after "minikube dashboard", which suggests it should eventually exit, however it never does.
Proposed Solution:
??
Page to Update:
https://kubernetes.io/docs/tutorials/hello-minikube/
Additional Information:
Whatever the issue here is, the tools make it very difficult to diagnose.  If a program is supposed to run until you kill it, like "kubectl proxy", it would be good if the program indicated that it runs in the foreground and you're expected to kill it when you're done with it.  This could be done by including a message like "Press Ctrl-C to stop the proxy when you are done with it".  If that were absent, it might indicate that the program is not supposed to sit in the foreground constantly.
If a program is supposed to run then exit, it would be good if it eventually timed out, or at least emitted periodic messages to indicate that it is still waiting for something.

Hi @bgiddings . Thanks for clearly describing your issue 🎉
However, it may be better suited to create a ticket at kubernetes/minikube as you may get a faster reply and a possible solution for your problem over there.
But please keep us in the loop and please reference this ticket as we have to update our documentation as well in case something must be better described.

dup of #12968