gobject-introspection broken on darwin

Describe the bug
gobject-introspection is broken on Darwin.
git bisect shows 1e3e7822a64fefb5ef98878047025efa6ae34b7b (part of https://github.com/NixOS/nixpkgs/pull/68608)  as the first failing commit
To Reproduce
Try to build gobject-introspection on Darwin at 7e89933127d46fd0faa22582c8dec62babd4e278

nix-build -A gobject-introspection

$ nix-build -A gobject-introspection
these derivations will be built:
  /nix/store/22arx4i2kzpwj37x4qvr6v94qpzrf4xi-gobject-introspection-1.60.2.drv
building '/nix/store/22arx4i2kzpwj37x4qvr6v94qpzrf4xi-gobject-introspection-1.60.2.drv'...
unpacking sources
unpacking source archive /nix/store/5px0d51dzwniysqkl0kf47ayfa23gl4z-gobject-introspection-1.60.2.tar.xz
source root is gobject-introspection-1.60.2
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file gobject-introspection-1.60.2/docs/reference/html/up.png
patching sources
applying patch /nix/store/xwq0d4bbdnyd86f7cycix1wjni2fnxa2-test_shlibs.patch
patching file tests/scanner/test_shlibs.py
applying patch /nix/store/x3f8mpa58pxcdk201qw233vqsrx2aldw-absolute_shlib_path.patch
patching file giscanner/scannermain.py
patching file giscanner/shlibs.py
patching file giscanner/utils.py
applying patch /nix/store/h1174varb9s1z0q8cg0ifv7kzdg5ixs2-absolute_gir_path.patch
patching file gir/cairo-1.0.gir.in
Hunk #1 succeeded at 6 with fuzz 2 (offset 1 line).
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/hy1gyhc3ypapsj6i99clc3nqiv4l4kj5-gobject-introspection-1.60.2/lib --libexecdir=/nix/store/hy1gyhc3ypapsj6i99clc3nqiv4l4kj5-gobject-introspection-1.60.2/libexec         --bindir=/nix/store/a7gylq8nnz8cn2ivrk6zafvczwkph95x-gobject-introspection-1.60.2-dev/bin --sbindir=/nix/store/a7gylq8nnz8cn2ivrk6zafvczwkph95x-gobject-introspection-1.60.2-dev/sbin         --includedir=/nix/store/a7gylq8nnz8cn2ivrk6zafvczwkph95x-gobject-introspection-1.60.2-dev/include         --mandir=/nix/store/yld05fz7r51a3pnyxlr750r9k3697vmm-gobject-introspection-1.60.2-man/share/man --infodir=/nix/store/a7gylq8nnz8cn2ivrk6zafvczwkph95x-gobject-introspection-1.60.2-dev/share/info         --localedir=/nix/store/hy1gyhc3ypapsj6i99clc3nqiv4l4kj5-gobject-introspection-1.60.2/share/locale         -Dauto_features=enabled         -Dwrap_mode=nodownload         --prefix=/nix/store/hy1gyhc3ypapsj6i99clc3nqiv4l4kj5-gobject-introspection-1.60.2 --datadir=/nix/store/a7gylq8nnz8cn2ivrk6zafvczwkph95x-gobject-introspection-1.60.2-dev/share
The Meson build system
Version: 0.51.2
Source dir: /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2
Build dir: /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build
Build type: native build
DEPRECATION: Duplicated values in array option is deprecated. This will become a hard error in the future.
DEPRECATION: Duplicated values in array option is deprecated. This will become a hard error in the future.
DEPRECATION: Duplicated values in array option is deprecated. This will become a hard error in the future.
Project name: gobject-introspection
Project version: 1.60.2
C compiler for the host machine: /nix/store/z298gvhxk2z8l0asyn1dxhbfgkyqbdzw-clang-wrapper-7.1.0/bin/cc (clang 7.1.0 "clang version 7.1.0 (tags/RELEASE_710/final)")
DEPRECATION: Duplicated values in array option is deprecated. This will become a hard error in the future.
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program python3 found: YES (/nix/store/611gq7s9s11w5ri95fbq2adi9ifrhkmn-python3-3.7.4/bin/python3)
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Warray-bounds: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wduplicated-branches: NO
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wjump-misses-init: NO
Compiler for C supports arguments -Wlogical-op: NO
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wnull-dereference: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpacked: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wrestrict: NO
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wsign-compare: YES
Compiler for C supports arguments -Wstrict-aliasing: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused-but-set-variable: NO
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Checking for size of "char" : 1
Checking for size of "short" : 2
Checking for size of "int" : 4
Checking for size of "long" : 8
Configuring config.h using configuration
Found pkg-config: /nix/store/n9d7fw2n8ckbnm1dxmi4qmkxwxpij4nv-pkg-config-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.62.0
Run-time dependency gobject-2.0 found: YES 2.62.0
Run-time dependency gio-2.0 found: YES 2.62.0
Run-time dependency gmodule-2.0 found: YES 2.62.0
Run-time dependency gio-unix-2.0 found: YES 2.62.0
Run-time dependency libffi found: YES 3.2.1
meson.build:159: WARNING: Not building with cairo support, not all tests will be run
meson.build:164: WARNING: Not building with doctool support, not all tests will be run
Library m found: YES
Compiler for C supports arguments -Wno-implicit-fallthrough: YES
Compiler for C supports arguments -Wno-old-style-definition: YES
Compiler for C supports arguments -Wno-suggest-attribute=noreturn: NO
Compiler for C supports arguments -Wno-type-limits: YES
Compiler for C supports arguments -Wno-undef: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-cast-align: YES
Compiler for C supports arguments -Wno-unused-function: YES
Compiler for C supports arguments -Wno-return-type: YES
Compiler for C supports arguments -Wno-old-style-definition: YES (cached)
Compiler for C supports arguments -Wno-type-limits: YES (cached)
Compiler for C supports arguments -Wno-old-style-definition: YES (cached)
Compiler for C supports arguments -Wno-cast-align: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-duplicated-branches: NO
Compiler for C supports arguments -Wno-cast-align: YES (cached)
Configuring giversion.h using configuration
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-duplicated-branches: NO (cached)
Compiler for C supports arguments -Wno-type-limits: YES (cached)
Compiler for C supports arguments -Wno-cast-align: YES (cached)
Compiler for C supports arguments -Wno-missing-field-initializers: YES
WARNING: Project targetting '>= 0.47.0' but tried to use feature introduced in '0.50.0': install arg in configure_file
Configuring g-ir-scanner using configuration
Program /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tools/g-ir-scanner found: YES (/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tools/g-ir-scanner)
Configuring g-ir-annotation-tool using configuration
Program /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tools/g-ir-annotation-tool found: YES (/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tools/g-ir-annotation-tool)
Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached)
Configuring _version.py using configuration
Configuring __init__.py using configuration
Configuring annotationmain.py using configuration
Configuring annotationparser.py using configuration
Configuring ast.py using configuration
Configuring cachestore.py using configuration
Configuring ccompiler.py using configuration
Configuring codegen.py using configuration
Configuring docmain.py using configuration
Configuring docwriter.py using configuration
Configuring dumper.py using configuration
Configuring introspectablepass.py using configuration
Configuring girparser.py using configuration
Configuring girwriter.py using configuration
Configuring gdumpparser.py using configuration
Configuring libtoolimporter.py using configuration
Configuring maintransformer.py using configuration
Configuring mdextensions.py using configuration
Configuring message.py using configuration
Configuring msvccompiler.py using configuration
Configuring pkgconfig.py using configuration
Configuring shlibs.py using configuration
Configuring scannermain.py using configuration
Configuring sectionparser.py using configuration
Configuring sourcescanner.py using configuration
Configuring testcodegen.py using configuration
Configuring transformer.py using configuration
Configuring utils.py using configuration
Configuring xmlwriter.py using configuration
giscanner/meson.build:54: WARNING: Custom target input 'doctemplates' can't be converted to File object(s).
This will become a hard error in the future.
Program flex found: YES (/nix/store/b13pfk0pfakspw8498k5sm4i5spkvq8r-flex-2.6.4/bin/flex)
Program bison found: YES (/nix/store/d5gzq8y0c1g39fhv8cn8ipdfygbzwc2i-bison-3.4.1/bin/bison)
Has header "unistd.h" : YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Dependency python found: YES (pkgconfig)
Configuring cairo-1.0.gir using configuration
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-old-style-definition: YES (cached)
Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
WARNING: pkgconfig variable 'Cflags' not defined for dependency libffi.
WARNING: pkgconfig variable 'Libs' not defined for dependency libffi.
Configuring gobject-introspection-no-export-1.0.pc using configuration
Configuring gobject-introspection-1.0.pc using configuration
Build targets in project: 83
WARNING: Project specifies a minimum meson_version '>= 0.47.0' but uses features which were added in newer versions:
 * 0.50.0: {'install arg in configure_file'}
Option buildtype is: plain [default: debugoptimized]
Found ninja-1.9.0 at /nix/store/6m2r9iw3l7x736zgd1xcafjm9xbpphyz-ninja-1.9.0/bin/ninja
meson: enabled parallel building
building
build flags: -j8 -l8
[58/164] Generating scannerparser with a custom command.xe/glib-print.c.o'.o'.nnermodule.c.o'.
../giscanner/scannerparser.y:249.1-14: warning: deprecated directive, use ‘%define parse.error verbose’ [-Wdeprecated]
  249 | %error-verbose
      | ^~~~~~~~~~~~~~
../giscanner/scannerparser.y: warning: 7 shift/reduce conflicts [-Wconflicts-sr]
../giscanner/scannerparser.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
[164/164] Generating generate-typelib-regress with a custom command.everything_cus_____nix_store_611gq7s9s11w5ri95fbq2adi9ifrhkmn_python3_3_7_4_bin_python3____File__tools_g_ir_scanner______quiet______output__OUTPUT_______no_libtool______reparse_validate______add_include_path_____private_tmp_nix_build_gobject_introspection_1_60_2_drv_0_gobject_introspection_1_60_2_gir______add_include_path_____private_tmp_nix_build_gobject_introspection_1_60_2_drv_0_gobject_introspection_1_60_2_build_gir______warn_all______warn_error______namespace_Everything______nsversion_1_0______include_Gio_2_0______library_everything_1_0_____L_____private_tmp_nix_build_gobject_introspection_1_60_2_drv_0_gobject_introspection_1_60_2_build_tests_____I_____private_tmp_nix_build_gobject_introspection_1_60_2_drv_0_gobject_introspection_1_60_2_tests_____INPUT____ with a custom command.[Kh______c_include_gio_gunixinputstream_h______c_include_gio_gunixmounts_h______c_include_gio_gunixoutputstream_h______c_include_gio_gunixsocketaddress_h______include_uninstalled__private_tmp_nix_build_gobject_introspection_1_60_2_drv_0_gobject_introspection_1_60_2_build_gir_GObject_2_0_gir______cflags_begin_____I_nix_store_6m9iaz1jqp2127cfflkygazw3ap4x1a3_glib_2_62_0_dev_include_glib_2_0_____I_nix_store_sd92z32y7zqxkghxg65ibq3qarf3p9gx_glib_2_62_0_lib_glib_2_0_include_____DGIO_COMPILATION_____DG_SETTINGS_ENABLE_BACKEND______cflags_end_____INPUT____ with a custom command.mmand.
running tests
check flags: -j8 -l8 test
[0/1] Running all tests.
 1/60 cmph-bdz-test                           OK       0.05 s
 2/60 gthash-test                             OK       0.07 s
 3/60 gi-testerEverything-1.0.typelib         OK       0.13 s
 4/60 gi-testerGIMarshallingTests-1.0.typelib  OK       0.11 s
 5/60 test_offsets.py                         OK       0.23 s
 6/60 warn-annotationparser                   OK       0.99 s
 7/60 warn-callback-invalid-scope             OK       0.88 s
 8/60 warn-callback-missing-scope             OK       0.88 s
 9/60 warn-invalid-allow-none                 OK       0.83 s
10/60 warn-invalid-array                      OK       0.77 s
11/60 warn-invalid-closure                    OK       0.61 s
12/60 warn-invalid-constructor                OK       0.71 s
13/60 warn-invalid-element-type               OK       0.67 s
14/60 warn-invalid-method                     OK       0.71 s
15/60 warn-invalid-nullable                   OK       0.71 s
16/60 warn-invalid-optional                   OK       0.71 s
17/60 warn-invalid-option                     OK       0.61 s
18/60 warn-invalid-out                        OK       0.55 s
19/60 warn-invalid-return                     OK       0.71 s
20/60 warn-invalid-transfer                   OK       0.70 s
21/60 warn-missing-element-type               OK       0.76 s
22/60 warn-return-gobject                     OK       0.72 s
23/60 warn-unknown-parameter                  OK       0.62 s
24/60 warn-unresolved-type                    OK       0.72 s
25/60 test_ccompiler.py                       OK       0.30 s
26/60 test_shlibs.py                          OK       0.20 s
27/60 test_sourcescanner.py                   OK       0.66 s
28/60 test_transformer.py                     OK       1.82 s
29/60 test_xmlwriter.py                       OK       0.19 s
30/60 test_pkgconfig.py                       OK       0.45 s
31/60 test_docwriter.py                       OK       0.13 s
32/60 test_scanner.py                         OK       0.29 s
33/60 test_maintransformer.py                 OK       0.46 s
34/60 gi-tester-Typedefs-1.0.gir              OK       0.08 s
35/60 gi-tester-Bar-1.0.gir                   OK       0.08 s
36/60 gi-tester-SLetter-1.0.gir               OK       0.13 s
37/60 gi-tester-WarnLib-1.0.gir               OK       0.14 s
38/60 gi-tester-Utility-1.0.gir               OK       0.09 s
39/60 gi-tester-GtkFrob-1.0.gir               OK       0.09 s
40/60 gi-tester-GetType-1.0.gir               OK       0.13 s
41/60 gi-tester-Symbolfilter-1.0.gir          OK       0.08 s
42/60 gi-tester-Identfilter-1.0.gir           OK       0.09 s
43/60 gi-tester-Headeronly-1.0.gir            OK       0.08 s
44/60 gi-tester-Typedefs-1.0.typelib          OK       0.08 s
45/60 gi-tester-Bar-1.0.typelib               OK       0.08 s
46/60 gi-tester-SLetter-1.0.typelib           OK       0.08 s
47/60 gi-tester-WarnLib-1.0.typelib           OK       0.08 s
48/60 gi-tester-Utility-1.0.typelib           OK       0.08 s
49/60 gi-tester-GtkFrob-1.0.typelib           OK       0.08 s
50/60 gi-tester-GetType-1.0.typelib           OK       0.08 s
51/60 gi-tester-Symbolfilter-1.0.typelib      OK       0.08 s
52/60 gi-tester-Identfilter-1.0.typelib       OK       0.08 s
53/60 gi-tester-Headeronly-1.0.typelib        OK       0.08 s
54/60 gi-tester-Regress-1.0.typelib           OK       0.08 s
55/60 test_patterns.py                        OK       0.14 s
56/60 test_parser.py                          OK       0.50 s
57/60 gitestrepo                              FAIL     0.03 s (killed by signal 6 SIGABRT)
58/60 giteststructinfo                        OK       0.03 s
59/60 gitestthrows                            FAIL     0.03 s (killed by signal 5 SIGTRAP)
60/60 gitypelibtest                           OK       0.03 s

Ok:                   58
Expected Fail:         0
Fail:                  2
Unexpected Pass:       0
Skipped:               0
Timeout:               0

The output from the failed tests:

57/60 gitestrepo                              FAIL     0.03 s (killed by signal 6 SIGABRT)

--- command ---
GI_TYPELIB_PATH='/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/gir:/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests:/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests/scanner' /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests/repository/gitestrepo
--- stdout ---
Bail out! ERROR:../tests/repository/gitestrepo.c:88:main: assertion failed: (g_type_is_a (gtype, G_TYPE_OBJECT))
--- stderr ---

** (process:45706): WARNING **: 03:18:24.620: Failed to load shared library '/nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgio-2.0.0.dylib' referenced by the typelib: /nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgio-2.0.0.dylib is not a loadable module
**
ERROR:../tests/repository/gitestrepo.c:88:main: assertion failed: (g_type_is_a (gtype, G_TYPE_OBJECT))
-------

59/60 gitestthrows                            FAIL     0.03 s (killed by signal 5 SIGTRAP)

--- command ---
GI_TYPELIB_PATH='/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/gir:/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests:/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests/scanner' /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests/repository/gitestthrows
--- stdout ---
# random seed: R02S871f26c1425907a5c8c8ad7473f17c68
1..3
# Start of girepository tests
# Start of throws tests
Bail out! FATAL-WARNING: Failed to load shared library '/nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgobject-2.0.0.dylib' referenced by the typelib: /nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgobject-2.0.0.dylib is not a loadable module
--- stderr ---

** (/private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/tests/repository/gitestthrows:45714): WARNING **: 03:18:24.651: Failed to load shared library '/nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgobject-2.0.0.dylib' referenced by the typelib: /nix/store/sd92z32y7zqxkghxg65ibq3qarf3p9gx-glib-2.62.0/lib/libgobject-2.0.0.dylib is not a loadable module
-------

Full log written to /private/tmp/nix-build-gobject-introspection-1.60.2.drv-0/gobject-introspection-1.60.2/build/meson-logs/testlog.txt
FAILED: meson-test
/nix/store/zab5grgnf35bmwjjsl08lm9gfbqsjq05-meson-0.51.2/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
builder for '/nix/store/22arx4i2kzpwj37x4qvr6v94qpzrf4xi-gobject-introspection-1.60.2.drv' failed with exit code 1
error: build of '/nix/store/22arx4i2kzpwj37x4qvr6v94qpzrf4xi-gobject-introspection-1.60.2.drv' failed

Expected behavior
Able to build gobject-introspection on Darwin
Additional context

Metadata
 - system: `"x86_64-darwin"`
 - host os: `Darwin 16.7.0, macOS 10.12.6`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3`
 - channels(marsam): `"home-manager-path"`
 - channels(root): `""`
 - nixpkgs: `/Users/marsam/code/nix-config/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: gobject-introspection
# a list of nixos modules affected by the problem
module:

cc: @hedning

Looks like this upstream issue: glib 2.62.0 breaks loading dylibs as modules. It's fixed on master so we should probably pick the patches.

Our jobset needs to be building on the darwin platform if we don't want things breaking like this.


not working

hi guys. my tcc is not working after the merge on NA. need some guidance. thx

having the same problem ;-;

Use the servers.txt from ShinraMeter. TCC hasn't updated for the merge and SM has. Use explorer to search for the files.

Thx for the help. it is working now.


Document new kind of project: starterProjects

Devfile 2 supports a new kind of project: starterProjects. Document it in https://docs.devfile.io/devfile/2.0.0/user-guide/adding-projects-to-a-devfile.html
See: https://docs.devfile.io/devfile/2.0.0/user-guide/migrating-projects.html
label: area/documentation
cc: @jc-berger

JIRA: https://issues.redhat.com/browse/RHDEVDOCS-2562

JIRA: https://issues.redhat.com/browse/RHDEVDOCS-2562

We now have a doc page for this, https://devfile.io/docs/2.2.0/defining-starter-projects, closing this issue.


Add struct ip_mreqn to more Linux targets

Support was previously added to GNU x86_64 and all musl targets but others were not included because of a roundtrip issue.
This commit adds support for the ip_mreqn struct on all Linux GNU targets which did not have the roundtrip issue.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Looks good, let's re-trigger CI as the current is spurious.


Error on startup after reinstall of system

Howdy doody!
So I've had a bit of a blocker with this.  An upgrade to Catalina was borked (but Homekit Bridge and indigo was still working absolutely fine.. it was other things that were naffed) so I decided to just backup, wipe the HD and start afresh. Thats actually fixed my issues but I'm now having one problem that I can't get by.  When starting HKB after a long delay I'm getting this message:
If you continue to have problems starting this server use the Advanced Plugin Actions menu option to rebuild the Homebridge folder.
Instructions at https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder
   HomeKit Bridge Error            HomeKit server 'WC - HomeKit Bridge Server' could not be started, please check the service logs for more information,
now issuing a forced shutdown of the service to be safe.

Now I actually had this a few weeks ago when I was cleaning out some space.. in /Library/Application Support/Perceptive Automation/ I had an indigo 7.3 folder and an old indigo 7.2 folder.  I binned the 7.2 but immediately got that issue with HKB.  I restored it and it started working fine.. I meant to go back and try to identify what it was looking for in there but I forgot and sure enough now that folder is gone again it's back to the same behaviour... but you guessed it.. I didn't back up the 7.2 folder.  ¯_(ツ)_/¯ I've tried the following to resolve it:
Cloned the indigo 7.4 folder I currently have and renamed it to 7.2
rebuilt the folder as per the message
checked the log file to see if there was any more details on what was going on but nothing I could see that seemed relevant
Prayed to the gods of Matt & Jay but it'd seem the restraining order covers that too
tried a backup of indigo 7.3 on a completely separate system still running on Mojave
Any ideas?

Ah... so done a bit more digging and found that in /Library/Application\ Support/Perceptive\ Automation/Indigo\ 7.4/Preferences/Plugins/com.eps.indigoplugin.homekit-bridge under the individual folders for each server setup in Indigo (about 20 of them because I group by room.. works well for me!) the com.webdeck.homebridge.XXXXXXXXX.plist file has a hard path to indigo 7.2 folder.  The problem is that even changing those to 7.4 has not helped and the relevant server still shows as Stopped :(.

Ooooh fixed it!  So there was actually two issues at play.. one was that the filepaths were wrong (had to change them all to 7.4) and secondly macOS’s gatekeeper was blocking it from loading the homebridge component of the plugin.  Once I added it to the whitelist I was back in business!

Thanks for the detailed info. Bridge will not start for me also. Where did you change the Gatekeeper setting in OSX?

Any updates on this anyone? I'm having the same issue. Both my homekit servers stop themselves. Rebuilding the home folder hasn't changed it. Log extracts below:
1 Dec 2019 at 15:48:26
Reloading plugin "HomeKit Bridge 1.0.2"
Stopping plugin "HomeKit Bridge 1.0.2" (pid 71300)
HomeKit Bridge Error            HomeKit server 'HomeKitBridgeServer' could not be started, please check the service logs for more information,
now issuing a forced shutdown of the service to be safe.
If you continue to have problems starting this server use the Advanced Plugin Actions menu option to rebuild the Homebridge folder.
Instructions at https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder
HomeKit Bridge                  Attempting to stop 'HomeKitBridgeServer'
HomeKit Bridge                  HomeKit server 'HomeKitBridgeServer' has been stopped
HomeKit Bridge Error            send "HomeKitBridgeServer" on failed
Error                           process (pid 71300) failed to quit after polite request -- forcing it to quit now
Stopped plugin "HomeKit Bridge 1.0.2"
Starting plugin "HomeKit Bridge 1.0.2" (pid 71349)
HomeKit Bridge                  Caching all HomeKit Bridge devices...
Started plugin "HomeKit Bridge 1.0.2"
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4539: HTTPConnectionPool(host='<IP_ADDRESS>', port=8000): Max retries exceeded with url: /++systemInfo (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10e735b10>: Failed to establish a new connection: [Errno 61] Connection refused',))
CODE: data = requests.get(ssSystem).content# Pull XML data
HomeKit Bridge Warning          Configuration will be built despite the error
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4539: HTTPConnectionPool(host='<IP_ADDRESS>', port=8000): Max retries exceeded with url: /++systemInfo (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10ea87950>: Failed to establish a new connection: [Errno 61] Connection refused',))
CODE: data = requests.get(ssSystem).content# Pull XML data
HomeKit Bridge Warning          Configuration will be built despite the error
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4539: HTTPConnectionPool(host='<IP_ADDRESS>', port=8000): Max retries exceeded with url: /++systemInfo (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10ea87190>: Failed to establish a new connection: [Errno 61] Connection refused',))
CODE: data = requests.get(ssSystem).content# Pull XML data
HomeKit Bridge Warning          Configuration will be built despite the error
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4539: HTTPConnectionPool(host='<IP_ADDRESS>', port=8000): Max retries exceeded with url: /++systemInfo (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10ea96390>: Failed to establish a new connection: [Errno 61] Connection refused',))
CODE: data = requests.get(ssSystem).content# Pull XML data
HomeKit Bridge Warning          Configuration will be built despite the error
HomeKit Bridge                  Attempting to start 'HomeKitBridgeServer'
HomeKit Bridge                  Attempting to start 'HomeKit Bridge Server CCTV'
HomeKit Bridge                  HomeKit Bridge is running the latest version, no update needed
HomeKit Bridge                  HomeKit Bridge is loaded and ready to use

Today I had to move my Indigo server to another machine, and now HomeKit Bridge will not run, it keeps saying Starting but never finishes. I already correct the pathname to reflect the 7.4 installation, it had been pointing to 7.2 but I had no issue on the old server, with this incorrect path. Short of nuking the whole plug-in and spending considerable time setting it up again, is there anything else I can check and correct?
Thanks in advance.


virtualbox: Add VBoxManage, VBoxHeadless binaries

Closes #8883
Kept the original capitalization for consistency with the docs for VBoxManage and VBoxHeadless.

Symlinking application binaries is desirable, but I would rather not merge this as is: homebrew-cask does not guarantee order of execution when installing pkg and binary artifacts. Unless I am mistaken, this patch may work because artifacts are parsed into a hashmap, and Ruby 1.9+ enumerates hash pairs in order of insertion. I am wary of relying on that.

The artifacts are actually enumerated in a particular order that guarantees any pkg installers will be run before binary artifacts are symlinked. See artifact.rb.

You are right; my previous comments were an oversight on my part. The current order is partly incidental, but it is reasonable to guarantee that container-like artifacts are processed prior to naked ones.
It might be desirable to create lowercase symlinks in the future, but I am merging this as-is. Thanks.


Update purchase-on-premises.md

Customers now can create onprem projects by themselves instead of raising support tickets

Closing the pull request. It has been replaced by this PR in the private repo: https://github.com/MicrosoftDocs/Dynamics-365-Operations/pull/17225


Hey! I'll be assisting you today. What do you need?

Dead issue, closing!


high_volubility.py hard-coded paths

It looks like the hard-coded paths in utils/high_volubility.py are not up to date anymore, eg line 135, 137 and 141 with tools/ instead of utils/
cmd = ['tools/{}.sh'.format(diar), '{}'.format(temp_rel)]

Thanks Gladys ! Indeed, this scripts needs an update !


[Bug]: onUpdate doesn't update the value in a ref

Mapbox Implementation
Mapbox
Mapbox Version
10.17.0
React Native Version
0.70.15
Platform
iOS, Android
@rnmapbox/maps version
10.0.15
Standalone component to reproduce
import React, {useRef} from 'react';
import {
  MapView,
  Camera,
  UserLocation,
  UserLocationRenderMode
} from '@rnmapbox/maps';

export default function DrawFieldFeature(){

 const addPoint = () => {
  // This function just handles the adding of a point on current location
  //  onPressAddPoint(currentPosition.current ?? [0, 0]);
  };

const currentPosition = useRef(null);

    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={currentPosition.current ?? [0,0]} zoomLevel={14} />

  <UserLocation
          minDisplacement={1}
          animated
          androidRenderMode="gps"
          showsUserHeadingIndicator
          renderMode={UserLocationRenderMode.Native}
          onUpdate={({ coords: { longitude, latitude } }) => {
            currentPosition.current = [longitude, latitude];
          }}
        />
      </MapView>
    );
}

Observed behavior and steps to reproduce
I have made a follow location feature. The camera follows the user if he/she is moving.
During the movement, the onUpdate is triggered but it doesnot uPdates the value in "currentPosition.current".
Instead it passes some previous value in the function which came across the movement.
Expected behavior
"currentPosition.current" must be updated properly and should give the exact current value of "currentPosition.current" whenever the addPoint function is called.
Notes / preliminary analysis
I have also tried this on newer versions (10.1.1 to 10.1.15) and the latest version (10.1.27) but no luck.
When i hanged "minDisplacement" value to 5, it started updating the "curretPosition.current" after moving some meters. But i need that to add that point right where i clicked the button (means right where my current location was displayed)
This error only occurs while the location is moving.
Additional links and references
No response

@sulemanbutt10 sorry the issue is not clear to me.

the onUpdate is triggered but it doesnot uPdates the value in "currentPosition.current".

I'm pretty sure you're wrong on this. Add some console.log to verify your theory.
Also I don't see where addPoint is called, how you're using the currentPosition.current., you're also using minDisplacement so onUpdate will be called only after location changed some.

@sulemanbutt10 sorry the issue is not clear to me.

the onUpdate is triggered but it doesnot uPdates the value in "currentPosition.current".

I'm pretty sure you're wrong on this. Add some console.log to verify your theory.
Also I don't see where addPoint is called, how you're using the currentPosition.current., you're also using minDisplacement so onUpdate will be called only after location changed some.

I have noticed a behaviour, when minDisplacement = 1, this updating of currentPosition.current doesnot work, but when minDisplacement=5 or more it somehow re-renders and the currentPosition.current gets updated and i can see that change in my useeffect...
useEffect(() => {
// this thing never/rarely consoles when minDisplacement is 1 to 4
// But when its 5 or more, it consoles after every 5 meters are covered
// I want this to be updated for minDisplacement=1 as well
console.log('currentPosition changed',currentPosition.current)
},[currentPosition.current])
Do you think, this is due to some problem related to event loop queue?
addPoint is just a function that gets called when press a button which puts a mark on my map, for now you can just add a sample button having addPoint in its onPress and console the currentPosition in the function to check what i am trying to ask.

Add console log to onupdate. Updating contents of a ref does not cause re-render, so useEffect will not be called either

I have consoled in onUpdate, it runs the console line, but it doesnot/rarely updates the currentPosition.current when the minDisplacement=1 to 4
When the minDisplacement is set to 5 or more, only then it updates the currentPosition.current (but only after moving 5 or more meters)
It feels like it causes a render automatically after 5+ meters movement when minDisplacement=5 or more.
Why doesnot it gives same type of behaviour when minDisplacement=1 to 4?

Add console log to onupdate. Updating contents of a ref does not cause re-render, so useEffect will not be called either

I have consoled in onUpdate, it runs the console line, but it doesnot/rarely updates the currentPosition.current when the minDisplacement=1 to 4
When the minDisplacement is set to 5 or more, only then it updates the currentPosition.current (but only after moving 5 or more meters)
It feels like it causes a render automatically after 5+ meters movement when minDisplacement=5 or more.
Why doesnot it gives same type of behaviour when minDisplacement=1 to 4?


transform: translate(__px, __px) being overwritten to transform: none

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
Transform styles being overwritten as transform: none.
Elements were not being positioned correctly after the canvas was made. Set the removeContainer prop to false and inspected the cloned document. To my surprise, all of the transforms were set to none. This is unfortunate since this works in version 0.5.0-beta4 but the quality is much lower in this version.
Looks like html2canvas is injecting some opinionated style to override this after the onclone is called since I tried re-adding the style here. I can tell it is happening after because I ran it both wrapped in setTimeout(() => { foo() }, 0) and without. I am able to add the styles with setTimeout due to the call stack hack here but it's too late as the canvas object creation takes priority.
Please replace this line with a brief summary of your issue AND if possible an example on js fiddle here.
Specifications:

html2canvas version tested with: 1.0.0-rc.5
Browser & version: Chrome 81
Operating system: Mac OS

Surprised this isn't being reported 🤔 Any way to get more assistance here? I am using older version 0.5.0-beta4 since this is an internal tool that's ok for now...

same here! Do you have any solution?

same here! Do you have any solution?


Solana Support for Ledger

HD wallet implementation
confirm functionality in web
feature flag in web

https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-app-solana


The Get Started with Pact link on README is broken (403 error)

The link for the DIUS blog post referenced on the README is broken - returning a 403 error.
http://dius.com.au/2016/02/03/microservices-pact/

Thanks, I've fixed the link.


Add BETHER logo

@rherman9 can you upload 256 by 256 px image?

done

@rherman9
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp

Awesome! Thanks for the info.


manual switch on foreground notifications service

We do have a foreground service function to support notifications for phones that don't have Google Play Services installed/enabled. Perhaps we can add a toggle to the app to enable it manually, which would keep the app polling for notifications

A lot of people on privacy/security Android OS's use an alternative google play client to download apps from there
One of the more popular ones is called Aurora.
So I tried installing the app on graphene through aurora and I got the same issue
The foreground service didn't launch.
Install it from here: https://files.auroraoss.com/AuroraStore/Nightly/AuroraStore-nightly-signed-202208260000.apk
Use the anonymous login in aurora


Build Pangu image with pip instead of conda

Use pip to build image instead of conda.
0.2.2_build1: digest: sha256:03b959cb584414133e777743efa2feb83b9060d6527e806ef7439a6b312ee14a

0.2.2_build1: digest: sha256:4d7d121280f6c30a6281ca7668530a5b129ee1f12cf561545caadeb2df1b83a8


TransactionView: inline simple accessors

Problem

Many simple accessors are not inlined so they are extremely slow

Summary of Changes

Inline them

Fixes #

Benchmark Results
min sized transactions/TransactionView (Sanitized)
                        time:   [5.6989 µs 5.7085 µs 5.7199 µs]
                        thrpt:  [179.02 Melem/s 179.38 Melem/s 179.69 Melem/s]
                 change:
                        time:   [-54.382% -54.220% -54.038%] (p = 0.00 < 0.05)
                        thrpt:  [+117.57% +118.44% +119.21%]
                        Performance has improved.

simple transfers/TransactionView (Sanitized)
                        time:   [8.8176 µs 8.8353 µs 8.8536 µs]
                        thrpt:  [115.66 Melem/s 115.90 Melem/s 116.13 Melem/s]
                 change:
                        time:   [-37.441% -37.185% -36.903%] (p = 0.00 < 0.05)
                        thrpt:  [+58.487% +59.197% +59.849%]
                        Performance has improved.

packed transfers/TransactionView (Sanitized)
                        time:   [481.01 µs 482.36 µs 483.77 µs]
                        thrpt:  [2.1167 Melem/s 2.1229 Melem/s 2.1289 Melem/s]
                 change:
                        time:   [-16.266% -15.967% -15.667%] (p = 0.00 < 0.05)
                        thrpt:  [+18.578% +19.000% +19.426%]
                        Performance has improved.

packed noops/TransactionView (Sanitized)
                        time:   [2.7080 ms 2.7103 ms 2.7132 ms]
                        thrpt:  [377.41 Kelem/s 377.82 Kelem/s 378.14 Kelem/s]
                 change:
                        time:   [-18.850% -18.635% -18.450%] (p = 0.00 < 0.05)
                        thrpt:  [+22.624% +22.904% +23.229%]
                        Performance has improved.

packed atls/TransactionView (Sanitized)
                        time:   [243.50 µs 243.93 µs 244.46 µs]
                        thrpt:  [4.1888 Melem/s 4.1979 Melem/s 4.2053 Melem/s]
                 change:
                        time:   [-17.666% -17.195% -16.717%] (p = 0.00 < 0.05)
                        thrpt:  [+20.073% +20.766% +21.456%]
                        Performance has improved.

Believe most of this additional time is coming from the repeated iteration over instructions and ATLs.

^ As mentioned above a quick demo of doing "inline" sanitization - we could improve perf of the packed transfer and packed noops by roughly 100%.
But all that gain could be simply mitigated by a malicious sender since all that's required to bypass it is attaching a v0 byte 😢


How to find if image edge reached to viewer center

Hello @iangilman,
I am facing one issue while synchronizing multiple slides. I have a viewer which can have up to 2, or 4 slides at a time and I provided one feature to synchronize the zoom and pan.
The issue happens when there are different size images or the same size image with different rotations and I synchronize at one point. If I drag first image at its end, then it will jump back to the center of viewer, or try to drag for more time then second synchronized image also drags and I lose the synchronized point.
Is there any way if I drag first image edge at the center of viewer then second image drag should be disable and if I drag first image above the center of the viewer then second image drag should enable and work as it is? This should work for all directions.
You can see my issue in below link.
https://www.awesomescreenshot.com/video/16779590?key=9323797414e88a4d068b039ac3f11526
I tried to limit the drag in 'canvas-drag' event but my code does not work.

Cool app! Thank you for sharing the video; makes it a lot more clear what you are trying to accomplish.
I think the most basic solution is to disable the pan constraints entirely. You can do that with visibilityRatio: -Infinity in the options when you create the viewer.
The downside to this, of course, is that you can end up off in deep space. My thought is you might want to handle that situation yourself in a custom way, taking both (or all) of the viewers into account. The logic could be that you only bounce the content back on the screen when all viewers have been panned out of view.

Hi @iangilman ,
Thanks for the reply, Yes I have tried with visibilityRatio but my client does not prefer that solution as users might get confused if we do so.

Is there any way we can manage to define rules if the first image edge has reached, so we can disable other images' drag?
Can we define a specific point when synchronization is enabled? so images can be dragged within the viewer

I have tried several logics but it does not work. For other images synchronization I am using onCanvasDrag, onCanvasClick, and onCanvasDragEnd on Pan event. First active image actions will be mirrored to other images.
on active image, when sync is on, I am emitting events.
this.viewer.addHandler('canvas-drag-end', event => {
if (!this.canSync) return;
this.$emit('on-pan', {
id: this.slideData.id,
event,
eventName: 'canvas-drag-end',
});
});
this.viewer.addHandler('canvas-drag', event => {
if (!this.canSync) return;
this.$emit('on-pan', {
id: this.slideData.id,
event,
eventName: 'canvas-drag',
});
});
calling onPan event to drag other images.
onPan(data) {
this.viewers.forEach(item => {
if (item.id !== data.id) {
if (data.eventName === 'canvas-drag') {
onCanvasDrag(data.event, item.viewer, this.onApplyConstraint);
} else if (data.eventName === 'canvas-drag-end') {
onCanvasDragEnd(data.event, item.viewer, this.onApplyConstraint);
}
}
});
},

Basically, you don't want the user to be able to wander off into deep space? Pretty reasonable! I think I'd propose either stopping the images when the first one leaves the screen or when the last one leaves the screen. The basic thing OSD does is detect when the image is outside the bounds and bounce it back into bounds. Is that an acceptable solution?
The general idea is to keep an eye on where things are (perhaps at drag end) and then adjust as needed. You can collect either the intersection or the union (depending upon your preference) of all of the viewport coordinates of all of the images in all of the viewers. Then compare that rectangle with the viewport coordinates of the various viewers to see if it's outside. If so, pan enough to bring it back inside. Of course, all of this needs to be coordinated with your logic for keeping the multiple viewers in sync.
Does that make sense?


Facets should not execute for ?shape=array|object

Split off from #255 - there's no point executing the facet SQL for the ?_shape=array and ?_shape=object API responses.

The underlying mechanics for the _extras mechanism described in #262 may help with this.

Fixing this would unblock this issue for switching datasette-graphql to using datasette.client internally: https://github.com/simonw/datasette-graphql/issues/61

This is a lot easier to implement now that we have a ?_nofacet=1 option from #1350.


Auto Detect SqlFlulf executable from Python Virtual Environment

Background

Hard coding executable paths into settings.json makes the config completely unportable. People will have different operating systems, and even different folder structures depending how things are installed.
Defining a path variable would also be cumbersome.
It should be noted that different repos might even use different versions, further complicating this practice.
This all came from Issue 133.
Suggestion

It would be nice if the config could specify a dependencyManager and  directory. The extension could load this.
settings.json
"sqlfluff.dependencyManager": "poetry",
"sqlfluff.projectRoot": "${workspace}/path"

Then the linter provider could spawn a child process and get exec from there.
With poetry, you can dynamically fetch the path from this poetry run which sqlfluff.

const { exec } = require('child_process');
return new Promise((resolve, reject) => {
  exec('poetry run which sqlfluff', (error, stdout, stderr) => {
     if (error || stderr) {
        reject(error || stderr);
        return;
     }

    resolve(stdout)
  });
});

In addition, this extension could talk to the Microsoft Python extension and get the virtual environment.
It is defiantly more complex. However, it allows for easy changes to the environment.
https://github.com/microsoft/vscode-python/blob/main/src/client/api.ts#L150C9-L150C21
https://stackoverflow.com/questions/50058517/how-to-communicate-between-vscode-extensions/50068416#50068416

There doesn't seem to any appetite by the maintainers for addressing these issues (all good).
For people struggling with this, I've noticed some over lap with Issue #18.
Likewise, there seems to be an alternative extension, vscode-dbt-power-user, that might better resolve these issues for the time being.
Here are some discussions I found around the issue here:
https://github.com/AltimateAI/vscode-dbt-power-user/issues/3#issuecomment-747652228
https://github.com/AltimateAI/vscode-dbt-power-user/issues/3#issuecomment-747671447
https://github.com/sqlfluff/vscode-sqlfluff/issues/18


Clarification Needed on --threshold Argument

Hello,
I have a clarification question about the --threshold argument. The documentation states that it represents a percentage of cells, but in the tutorial, it seems to be treated as a fraction. Could you clarify whether setting the threshold to 0.1 means 0.1% or 10%?
Thank you,
Muhammet

Hi Muhammet,
Thank you for using CellphoneDB.
In https://cellphonedb.readthedocs.io/en/latest/RESULTS-DOCUMENTATION.html#analysis-methods please see the following:
1. all the genes in the interaction are expressed in the corresponding cell type by more than 10% of cells (threshold = 0.1)
That is threshold = 0.1 corresponds to/means 10% of cells. Hope that helps.
Best,
Robert.

Thank you for clearing that up. This resolves the confusion on my side, so I'm closing it now. I appreciate the prompt response.


Vsync in cube demo malfunctions in high-contrast mode

The cube demo behaves strange when the windowing theme is changed to high-contrast mode in Windows 8.1

More details here:
https://stackoverflow.com/questions/46632785/vulkan-fails-to-present-on-some-platforms

This sounds like a driver-side issue to me ..

Bingo...
If anyone in a position to fix this needs help (e.g. for verification or more info) I am keeping a close eye on this issue and respond promptly.

So what's your config, exactly?

Alienware 13 Laptop
BIOS: 1.2.2
OS: Windows 8.1 Build 9600
Driver: Vanilla 387.92 install (tried with many drivers though including Vulkan BETA)
GPU: GeForce GTX 960M
https://pastebin.com/A9L5nwth

We tried this on a Windows 8.1 desktop and a Windows 10 desktop, both with Nvidia GTX 750 graphics cards and were unable to reproduce the problem.  However, when testing on a Windows 10 laptop, there are significant issues when running with the Intel driver in high-contrast mode, and as the Optimus layer is involved on laptops the Intel driver might be involved.  Since this does not seem to be a Vulkan-LoaderAndValidationLayers issue we are closing for now, but should  you find a more reproducible example or one that manifests on a desktop machine, please reopen the issue.

Yes, this is related to laptops as the link to the stack overflow post under this ticket describes. As you are probably familiar Optimus is impossible to completely disable on a lot of modern laptops which is unfortunate considering how my current Vulkan binding as well as the cube demo malfunction so dramatically and yet still pass all validation and renderdoc inspection.
Have you filed an issue with Intel and or Nvidia? @jeremyk-lunarg @DominikWitczakAMD

No.

Ok, Thanks for the help. @DominikWitczakAMD @jeremyk-lunarg


mdate.from and to..

are not recognized..
mdate.from = 1980
 mdate.to = 2100

output:
Value of type 'MDatePickerView' has no member 'from'
Value of type 'MDatePickerView' has no member 'to'
It could be nice - please advise if I'm missing something.. I installed through CocoaPods

Just now I updated the kit. Upgraded v1.2.3

perfect now. Thanks Matt


[WIP] Add an example script for RoboschoolAtlasForwardWalk-v1

This PR adds an example script to train SAC for RoboschoolAtlasForwardWalk-v1. I cannot find any good published benchmark for this env, but the script can achieve maximum returns of 6500-6600 after 10M steps, which is better than https://github.com/openai/roboschool/blob/master/agent_zoo/RoboschoolAtlasForwardWalk_v1_2017jul.py achieving 6100-6200. I'm not sure how they trained the model.
https://github.com/muupan/chainerrl/tree/atlas/examples/atlas
Since the animation looks good, it is put on the top README as well
https://github.com/muupan/chainerrl/tree/atlas

Roboschool seems not installed correctly in Travis CI. I'll fix it.
Traceback (most recent call last):
  File "examples/atlas/train_soft_actor_critic_atlas.py", line 249, in <module>
    main()
  File "examples/atlas/train_soft_actor_critic_atlas.py", line 128, in main
    sample_env = make_env(args, process_seeds[0], test=False)
  File "examples/atlas/train_soft_actor_critic_atlas.py", line 35, in make_env
    import roboschool  # NOQA
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/roboschool/__init__.py", line 112, in <module>
    from roboschool.gym_pendulums import RoboschoolInvertedPendulum
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/roboschool/gym_pendulums.py", line 1, in <module>
    from roboschool.scene_abstract import SingleRobotEmptyScene
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/roboschool/scene_abstract.py", line 12, in <module>
    from roboschool  import cpp_household   as cpp_household
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/roboschool/.libs/libQt5Core.so.5)
The command "./test_examples.sh -1" exited with 1.

Since I had difficulty in installing roboschool in TravisCI, I modified examples_tests/atlas/test_soft_actor_critic.sh to use Pendulum-v0 instead.

/test


asp.net core client example documentation

There doesn't seem to be any examples or documentation on how to use a MQTTnet client in asp.net core 2. I would be willing to write the documentation if someone could point me in the right direction of an example usage!

Hi I would be amazing if you write a documentation for that.
There is already some example code in the Wiki. But to get a full example please have a lock at the project MQTTnet.Server in the repository. There you can see how to use MQTTnet with an TCP endpoint and a WebSocket endpoint as well.
Best regards
Christian

Hi @chkr1011. Thanks for your awesome work.
I will be truly grateful for documentation about how to use mqtt client in ASP .NET Core 2. I tried to run mqtt client in my asp .net core 2 app based on mqttnet.Server project but without luck.

Using a client in Asp.NetCore works the same as in the regular .NetCore or .Net framework as documented under https://github.com/chkr1011/MQTTnet/wiki/Client#client-options. Another example can be found under https://github.com/mqttnettest/Issue637Test.
However, I have updated the wiki here: https://github.com/chkr1011/MQTTnet/wiki/Client#using-the-client-in-aspnet-core.
Or am I missing something here?

@SeppPenner I think the issue people are having is how to properly integrate this into the stock asp.netcore dependency injected environment. They want to integrate MQTTnet into their asp backend, then send the data to their front-end with something like SignalR.
Does that make sense?

They want to integrate MQTTnet into their asp backend

The client or the server?
The server is documented here: https://github.com/chkr1011/MQTTnet/wiki/Server#aspnet-core-integration (However, ASP.NET Core 2.1+ does not work as described, check https://github.com/chkr1011/MQTTnet/issues/605, too).
Integrating the client into the ASP backend with dependency injection does not make sense for me as it can be used easily in controllers or services added into the ASP context...

be used easily in controllers or services added into the ASP context...

I think that the documentation should be how to best do that then?

Okay, I can add this but it may take some time. I'm on vacation soon 😄

Hi @bryanmullinbwp. I have added this to the wiki: https://github.com/chkr1011/MQTTnet/wiki/Client#using-the-client-in-aspnet-core
Do you think that this hint is sufficient? I don't know what information I should provide there additionally.

@SeppPenner Looks good to me! Let's close it out.

HI,
is it possible someone would share an example on how to use a client application with asp.net. I see there is stated that it's used in the same way but how?
Regards. Miha

Hi, there is a linked example under https://github.com/chkr1011/MQTTnet/wiki/Client#using-the-client-in-aspnet-core. Does this help you? --> https://github.com/rafiulgits/mqtt-client-dotnet-core

Hi SeppPenner,
I had seen this but it's not an acctual example. I'm still lost. I mean I head implemented the example in my project. The project shows no errors, but I have no qlue on how to use the implemented code.
Thank you for your help

@msmiha Once you have added the service with
services.AddMqttClientHostedService();
services.AddSingleton<ExtarnalService>();

in Startup.cs, you can use the MQTT client service per dependency injection in any class via the constructor:
public class ExtarnalService
{
    private readonly IMqttClientService mqttClientService;
    public ExtarnalService(MqttClientServiceProvider provider)
    {
        mqttClientService = provider.MqttClientService;
    }
}

Afterwards, you can use all methods that are defined in the mqttClientService.

@SeppPenner
Afterwards, you can use all methods that are defined in the mqttClientService.

Can you actually show an example how can I use mqttClientService to publish message to a broker from a let say code below (methode OnGet()):
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;

namespace Mqtt.WebGUI.Pages
{
    public class IndexModel : PageModel
    {
        private readonly ILogger<IndexModel> _logger;

        public IndexModel(ILogger<IndexModel> logger)
        {
            _logger = logger;
        }

        public void OnGet()
        {

        }
    }
}

Hi @msmiha: There is an example https://github.com/mqttnettest/Issue637Test-2. I hope this helps you.

@SeppPenner:
Thank you for this. It really helps

Hi,
@SeppPenner,
Could you also provide a sample on how to Subscribe to a Topic?
thank you.

@SeppPenner,
thank you again for your comment.  I thought public async Task OnGetAsync() gets fired only on loading the page. But I see that regardless of that this.mqttClient.UseApplicationMessageReceivedHandler still listen and receive the messages.
In the meantime, I had also "figure out" how your code works at less some parts. What I understand is that public Task HandleApplicationMessageReceivedAsync(MqttApplicationMessageReceivedEventArgs eventArgs) gets fired every time the message is received and the data of the message is inside eventArgs. My question now would be how to extract those data from eventArgs to use them in public async Task OnGetAsync()? Is there a way to return those arguments out of the Task or is my thinking completely wrong?
Thank you again, for answering my questions.

OnGetAsync() is only fired once, but the message handler is running until you close the website (Or after a timeout, I'm not sure).
Regarding the rest, I'm not really sure what you want to achieve with this, but you could store the data in a List / Queue or whatever and load the data out of there.
using System.Collections;

public class Something
{
    private Queue<MqttApplicationMessageReceivedEventArgs> myData = new Queue<MqttApplicationMessageReceivedEventArgs>();

    public async Task OnGetAsync()
    {
        try
        {
            await this.mqttClient.ConnectAsync(this.mqttClientOptions);

            this.mqttClient.UseApplicationMessageReceivedHandler(e =>
            {
                // Stores the data in the queue
                this.myData.Enqueue(e);
            });

            var topic = new MqttTopicFilterBuilder().WithTopic("my/topic").Build();
            await mqttClient.SubscribeAsync(topic);
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex);
        }
    }

    public async Task SomethingElse()
    {
        while(this.myData.TryDequeue(out var data))
        {
            // Do something with the data
        }
    }
}

But, as I said, without knowing what you want to achieve, it's quite difficult.

Hi,
thank you for all your help. This was really helpful, but I still don't know how to do it. In the end, application what I would like to achieve is to display the latest received data on the page in form of text and also be able to send the data when I click the button. The application would look kind of the same as it could be found here:
http://www.hivemq.com/demos/websocket-client/
Could someone make an example for me?

@msmiha I would recommend to read the introduction of Blazor.
I have created an example (That should work although it doesn't look good to be honest.): https://github.com/mqttnettest/Issue637Test-2/tree/master/BlazorApp1
Of course, you could add the connect setup and buttons as in the MQTT Test Client from HiveMQ as well, but that's extra work. I hope this helps you a bit.

@SeppPenner thank you very much for all your advice, the last one was really helpful.
Actually what I was looking for was an event. This pretty much solves my current trouble. What I need it was to pass the data to another object when they are received, so my current code looks like this:
public class MqttClientService : IMqttClientService
{
        private IMqttClient mqttClient;
        private IMqttClientOptions options;

        public event EventHandler<MqttApplicationMessageReceivedEventArgs> MqttReceivedData;

        public MqttClientService(IMqttClientOptions options)
        {
            this.options = options;
            mqttClient = new MqttFactory().CreateMqttClient();
            ConfigureMqttClient();
        }

        private void ConfigureMqttClient()
        {
            mqttClient.ConnectedHandler = this;
            mqttClient.DisconnectedHandler = this;
            mqttClient.ApplicationMessageReceivedHandler = this;
        }

        public Task HandleApplicationMessageReceivedAsync(MqttApplicationMessageReceivedEventArgs eventArgs)
        {
            MqttReceivedData?.Invoke(this, eventArgs);
            throw new System.NotImplementedException();
        }
}

For subscribing to an event I use:
public class IndexModel : PageModel
  {
      private readonly ILogger<IndexModel> _logger;
      private readonly MqttClientService _mqttClientService;

      public string MQTTResponse;

      public IndexModel(MqttClientService mqttClientService, ILogger<IndexModel> logger)
      {
          _logger = logger;
          _mqttClientService = mqttClientService;

          _mqttClientService.MqttReceivedData += _mqttClientService_MqttReceivedData;
      }

      private void _mqttClientService_MqttReceivedData(object sender, MqttApplicationMessageReceivedEventArgs e)
      {
          MQTTResponse = Encoding.UTF8.GetString(e.ApplicationMessage.Payload);
          Console.WriteLine(Encoding.UTF8.GetString(e.ApplicationMessage.Payload));
      }

      public async Task OnGetAsync()
      {

          await _mqttClientService.PublishAsync("hello/world","welcome!");
      }
  }

But it is true that the value does not get updated in realtime on the webpage. For this, I think I would need Balzor or JavaScript.
I have seen also your other application IOT hub. And I like how you handle the MQTT messages there. You basically pass them with SignalIR.
I think this would be an ideal solution for my end application which would basically CRUD the data of the database, which would be read or written to by the RFID reader that talks MQTT protocol.


Attention in the model?

Hi. You mentioned that your implementation includes: Show, Attend and Tell.
But I don't see any Attention implementation in your code. So may I know if your code does provide Attention mechanism in any place? And is it possible you can upload the trained models also?

Hello there! I haven't used Attention yet. I'm quite busy right now, but I plan to come back to this project in the future and try out Attention. I referenced the Show, Attend and Tell paper for other things, e.g. the use of Adam optimizer for the MS COCO dataset, using BLEU score for validation, etc.
Can you clarify what you meant by the "the trained models"? Did you mean the ".pkl" files that I saved after each epoch?

Hello.
Thank you for your fast answer. And for your tutorial as well. I'm really
enjoying it. Yes, I mean by the trained model the .pkl weights you saved.
Do you still have them? Thanks
On Fri, Aug 10, 2018, 21:19 Trang Nguyen<EMAIL_ADDRESS>wrote:

Hello there! I haven't used Attention yet. I'm quite busy right now, but I
plan to come back to this project in the future and try out Attention. I
referenced the Show, Attend and Tell paper for other things, e.g. the use
of Adam optimizer for the MS COCO dataset, using BLEU score for validation,
etc.
Can you clarify what you meant by the "the trained models"? Did you mean
the ".pkl" files that I saved after each epoch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ntrang086/image_captioning/issues/1#issuecomment-412079723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdPb3UYcPNk-ySBCYatrATkP3P7hclAtks5uPYhXgaJpZM4V3lfY
.

You’re welcome. I’m afraid I don’t have these .pkl files anymore. But I remember the best epoch was #4 and the model stopped training at epoch #7 due to my early stopping condition. So if you use my current model and hyperparameter settings you can just train the model until epoch #4. Of course there are opportunities for improvement with my current model so if you make some enhancements and have computational resources you’re recommended to train for more epochs.

Alright. Thanks very much
Most importantly, thnks for the tutorial, you arranged it in a great way. I
will make sure to cite your code in any further projects I do.
Regards
On Fri, Aug 10, 2018, 21:56 Trang Nguyen<EMAIL_ADDRESS>wrote:

You’re welcome. I’m afraid I don’t have these .pkl files anymore. But I
remember the best epoch was #4 and the model stopped training at epoch #7
due to my early stopping condition. So if you use my current model and
hyperparameter settings you can just train the model until epoch #4. Of
course there are opportunities for improvement with my current model so if
you make some enhancements and have computational resources you’re
recommended to train for more epochs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ntrang086/image_captioning/issues/1#issuecomment-412089904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdPb3TbHmm_C3D4PpzsOfxotBItKGjTiks5uPZEIgaJpZM4V3lfY
.


Mac customer_testing / flutter_cocoon.test failing

This is blocking the Engine -> Flutter autoroller.
Example failure: https://github.com/flutter/flutter/runs/2798352487
Error text:
Processing ./bin/cache/pkg/tests/registry/flutter_cocoon.test...
>> ./test_utilities/bin/flutter_test_runner.sh repo_dashboard
Processing ./bin/cache/pkg/tests/registry/flutter_cocoon.test...
ERROR: One or more tests from flutter_cocoon failed.
Contact<EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/flutter_gallery.test (fetch failed).
Contacts<EMAIL_ADDRESS><EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/flutter_packages.test (fetch failed).
Contact<EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/flutter_reactive_ble.test (fetch failed).
Contacts<EMAIL_ADDRESS><EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/flutter_svg.test (fetch failed).
Contact<EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/provider.test (fetch failed).
Contact<EMAIL_ADDRESS>
Skipping ./bin/cache/pkg/tests/registry/rainbowmonkey.test (fetch failed).
Contact<EMAIL_ADDRESS>
1 failure.```

(the lack of information in the failure was filed as another issue: https://github.com/flutter/flutter/issues/84398)

If the failure was introduced from a change in code in the engine, the PR would have to be https://github.com/flutter/engine/pull/26626 because it was the only change between the test working and failing.  I'm not sure out these customer tests work though and it may be possible that their code exists in a different repro and could have been updated out of time with engine commits.

Looks like there was a recent change in flutter_cocoon.test here: https://github.com/flutter/tests/commit/a0775b4a11acdb3dd03171b1e225a9e265a06bf7
@CaseyHillers looks like we may have to revert that commit.


Estup2-668 adding a bulk mode for the generic repository to enable delaying commits

When handling large collections it may be beneficial to delay the commit for performance reasons.
This framework is a tread safe way to delay the committing. This only applies of the code is not used within transactional boundries already.
As an example of use the case of audit trail entry insertions in bulk is used.

@opencirclesolutions-wove  - hm, I guess this PR is redundant because the other one includes all the changes here??

Test coverage shows that the changes are hit 4 times by regular testing and 22 times by regression tests.


replace value of FELIX_HEALTHPORT instead of appending it

Description
As described in https://github.com/tigera/operator/issues/2783, when installing Calico with Tigera operator on Openshift, the environment variable FELIX_HEALTHPORT is duplicated in calico-node pods, which can cause problems on specific Openshift clusters that are affected by a Kubernetes bug described at https://github.com/kubernetes/kubernetes/issues/118261.
This PR aims to fix this by overwriting the value for FELIX_HEALTHPORT instead of appending a new version of it (in case of Openshift).
For more details, please take a look at https://github.com/tigera/operator/issues/2783.
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

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

@dzacball actually, think this is the right fix: https://github.com/tigera/operator/pull/2795#pullrequestreview-1561534993
Turns out we were already defaulting cfg.FelixHealthPort for OpenShift in the calling code, so simply removing that branch does the trick.

Going to close this in favor of the other PR, but thank you for the heads up and for proposing a fix!

@caseydavenport understood! Thanks!


Zappa_flask-ask (Alexa skill) internal server error

Zappa returns "Internal server error" after setting up an Alexa skill (works with ngrok)
Context
I tried to load up an Alexa skill to a server by using Zappa and flask-ask. The Alexa skill works with ngrok. After installing Zappa by using this guide from John Wheeler, everything works but if I enter the deploy-link to the browser it says "{"message": "Internal server error"}".

Hello, I have the exact problem, this is the output that I get from AWS API Gateway
"{u'message': u'An uncaught exception happened while servicing this request. You can investigate this with the zappa tail command.', u'traceback': ['Traceback (most recent call last):\\n', '  File \"/var/task/handler.py\", line 433, in handler\\n    response = Response.from_app(self.wsgi_app, environ)\\n', '  File \"/tmp/pip-build-jW5QZX/Werkzeug/werkzeug/wrappers.py\", line 903, in from_app\\n', '  File \"/tmp/pip-build-jW5QZX/Werkzeug/werkzeug/wrappers.py\", line 57, in _run_wsgi_app\\n', '  File \"/tmp/pip-build-jW5QZX/Werkzeug/werkzeug/test.py\", line 884, in run_wsgi_app\\n', \"TypeError: 'NoneType' object is not callable\\n\"]}"
My Alexa skill works locally with ngrok
Here is my zappa_settings.json
{     "dev": {         "app_function": "skill.app",          "profile_name": "default",          "s3_bucket": "zappa-AAABBSSc"     }


Google.Cloud.Bigtable.V2 and Google.Cloud.Bigtable.Admin.V2 issue during upgrade to 1.1.0

I have an issue during upgrade Google.Cloud.Bigtable.V2 and Google.Cloud.Bigtable.Admin.V2 packages from version 1.0.0 to version 1.1.0. I observed increase of write and read times.
In my scenario write and read times went up from 3 to 4 times.
Tried to find what has been changed between these versions but release notes are empty.
https://github.com/googleapis/google-cloud-dotnet/releases/tag/Google.Cloud.Bigtable.V2-1.1.0
https://github.com/googleapis/google-cloud-dotnet/releases/tag/Google.Cloud.Bigtable.Admin.V2-1.1.0
Can you provide me with more detailed release notes?
Environment details

OS:
mcr.microsoft.com/dotnet/core/aspnet:3.0.0
.NET version:
.net core 3.0
Package name and version:
Google.Cloud.Bigtable.V2 1.1.0
Google.Cloud.Bigtable.Admin.V2 1.1.0

The version histories are here, in terms of API changes

https://googleapis.dev/dotnet/Google.Cloud.Bigtable.V2/latest/history.html
https://googleapis.dev/dotnet/Google.Cloud.Bigtable.Admin.V2/latest/history.html

... but I would be very surprised to see any changes in performance.
Do you have a sample we could use to reproduce the problem? I would expect the admin API to be irrelevant here, if this is reads and writes for a regular table.

Thank you for information. Currently I don't have enough time to prepare repro, will just stay with the version 1.0.0.
When I prepare a repro and the issue will be still present then I will reopen this ticket.


[Minor Feature Request] Add data attributes movement

Add data attributes movement on the tooltip (maybe with a settings so anyone customize the set):

Walk
Swim
Fly
Climb
Burrow

This information is already available in the tooltip, shown for any movement type that is greater than 0 for each token as long as the "Show Movement" setting is enabled.
Make sure you have the latest version of the module (1.4.1), and have the "Show Movement" option checked under the module's settings.
Walk movement is shown next to an icon of a person walking. Swim movement is shown next to an icon of a person swimming. Fly movement is shown next to an icon of a feather. Climb movement is shown next to an icon of a spider. Burrow movement is shown next to an icon of a double down arrow. See this image for examples (giant bat has flight, bulette has burrow, reef shark has swim, everything except the reef shark has walk).

This information is already available in the tooltip, shown for any movement type that is greater than 0 for each token as long as the "Show Movement" setting is enabled.
Make sure you have the latest version of the module (1.4.1), and have the "Show Movement" option checked under the module's settings.
Walk movement is shown next to an icon of a person walking. Swim movement is shown next to an icon of a person swimming. Fly movement is shown next to an icon of a feather. Climb movement is shown next to an icon of a spider. Burrow movement is shown next to an icon of a double down arrow. See this image for examples (giant bat has flight, bulette has burrow, reef shark has swim, everything except the reef shark has walk).


Redirects on React Native App

I have a react-native project I am using with axios where one of the request receives multiple browser redirects.  I am getting a Network Error when the amount of redirects exceeds 16, how do I increase the amount of redirects allowed?
#### Context

axios version: e.g.: v0.16.1
Environment: e.g.: node v6.9.4, chrome 54

React Native uses XMLHttpRequest under the hood, so we cannot configure the maximum number of redirections as we can with thefollow-redirects module in Node.js. That should be a restriction of the platform and I don't think you can overcome it with axios.
Next time please add the proper context in that section of the issue description.


⚠ Secret Website 2 has degraded performance

In 4821caa, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 5736 ms

Resolved: Secret Website 2 performance has improved in 74bcf40.


Is this plugin still maintained in 2024?

In the ReadMe.md the badge shows that this Plugin is not maintained since 2023. Is this true or should it be changed to maintained in 2024.

@lasher23 yes it is i forgot to change the readme thanks for pointing out that to me.

@jepiqueau Thanks for updating it


Fix more avatar pixelation issues.

("More", since we fixed others in #4305.)
(cc @timabbott if you're interested; thanks for your help in the chat thread.)
I think we can still end up with a pixelated image if we use the /avatar/{user_id} / /avatar/{user_id}/medium redirect and the image we end up with happens to be from Gravatar; I'm not aware that this endpoint forwards the default-vs.-medium size preference on to Gravatar, and there doesn't seem to be a way to pass an integer size, like we do when getting a Gravatar image directly.
But #4614 was pretty high-impact on zulipchat.com, so I'm glad to have that fixed, and to have the other, lower-impact improvement that follows in the branch, for using /avatar/{user_id}/medium at all.
Ideally, we'd show a pixelated image during the load time of a larger image, if possible; see the results of my brief exploration of this in chat, that unfortunately didn't come up with anything.
Fixes: #4614

Thanks for the review, @gnprice! Revision pushed, with the change you mentioned at https://github.com/zulip/zulip-mobile/pull/4625#discussion_r610222635 (note a bit of a wrinkle where I put the g-removing commit before the if (match !== null)-removing one, hopefully that's OK and makes things clearer on net).
I also addressed my own comment at https://github.com/zulip/zulip-mobile/pull/4625#discussion_r610096706 by moving earlier the commit that adds DEFAULT_UPLOAD_SIZE_PX and MEDIUM_UPLOAD_SIZE_PX.

(that last force-push just now was just a small commit-message edit)

Thanks for the review! :)


[Run] search dialog being cut

Microsoft PowerToys version
0.63.0
Installation method
GitHub
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
1.put computer to sleep / connect thru remote desktop with a device with smaller screen(different screen ratio)
2.come back to computer and run search window will be cut

PowerToysReport_2022-10-19-12-21-11.zip
windows restores to normal after restarting powertoys.
✔ Expected Behavior

❌ Actual Behavior

Other Software
No response

This has to be some DPI quirk with wpf

Is this issue still relevant in v0.73? /needinfo

I've not noticed this issue as of late, so I think it's solved.
Will reopen if I see the issue again.

Are you still experiencing this issue? /needinfo

No, I've not notice this any more recently, seems solved.


Make Tabs component indicator smoothly animate

It would be nice to enhance the Tabs component with animation for the background indicator. This can be accomplished with pure CSS.
See: https://www.youtube.com/watch?v=j5-NW4B7gEE

Can i work on it ?

Can i work on it ?

Feel free! Would love a contribution 🙌


Usage Document?

So, what is the features? and how to use?

We will complete the usage documents today


Consider replacing @rdfjs/serializer-jsonld-ext with jsonld.js

Currently, we use @rdfjs/serializer-jsonld-ext for serializing JSON. However, this introduces a security vulnerability: https://github.com/digitalbazaar/jsonld.js/issues/457
I believe that @rdfjs/serializer-jsonld-ext uses an old (and vulnerable) version of jsonld.js. For this ticket, attempt to replace @rdfjs/serializer-jsonld-ext with the most recent version of jsonld.js.

I took a look at this, but I couldn't make sense of how to go about this.

Yeah. Here's my guess based on looking at https://github.com/rdfjs-base/serializer-jsonld-ext/blob/master/lib/SerializerStream.js:

Map all of the quads to JSONLD quads, something like https://github.com/rdfjs-base/serializer-jsonld-ext/blob/master/lib/SerializerStream.js#L39
Convert to raw JSONLD like https://github.com/rdfjs-base/serializer-jsonld-ext/blob/master/lib/SerializerStream.js#L40.
It may need expanding like https://github.com/digitalbazaar/jsonld.js#expand,  but not sure.

@mjgiarlo jsonld.js uses incompatible blank node ids. If you want to replace the library then you need to add this logic if you have to process blank nodes. Or you just upgrade to the latest major version of @rdfjs/serializer-jsonld-ext. See https://github.com/rdfjs-base/serializer-jsonld-ext/issues/4

@bergos 💬

@mjgiarlo jsonld.js uses incompatible blank node ids. If you want to replace the library then you need to add this logic if you have to process blank nodes. Or you just upgrade to the latest major version of @rdfjs/serializer-jsonld-ext. See rdfjs-base/serializer-jsonld-ext#4

I was just bumping serializer-jsonld-ext. Thanks for that!


[Removal]:

Hotspot Name
Cheerful Latte Fox
Hotspot b58 Address
112Eju8pSL5LGDAn6p4ksA4yZs6nzp7RtG2nAgQPZutMRyGKnXM5
Discord Handle
No response
Hotspot Manufacturer
PantherX
Removal Reason
My device was installed with the help of the first supplier, and then I thought that vpn was cheating, so I didn't use a VPN anymore. The other day asked the supplier the reason, the original antenna has also been modified by him, and now it has been modified back. Please test the data to help me remove the blacklist. Not malicious cheating
Modifications
No
Extra forwarders
No
Extra antennas
Yes
Additional Information

https://github.com/helium/denylist/issues/7771#issuecomment-1255907939


[Feature Request] Fragment files

When creating a new test, we need to provide a JMX file in Test plan tab.
However, it seems that it's missing a crucial feature of JMeter, which is Fragments files, which helps, for example, developers and QA managers to modularize huge test files.
For example:

I want to test a flow to obtain a user list in a authenticated dashboard by using "1-user-list.jmx" file.
I have a fragment file to make the authentication flow that is being used in multiple test files "0-login.jmx".

This is not possible since that the preview version doesn't allow the user to upload those fragment list, which could lead to difficulties on migrating to Azure Load Testing service.
Possible solution:
I don't know if allowing multiple files to be uploaded is a good idea, instead, I think having a different tab to upload fragment files can solve the problem.
AB#1451982

Hi @ptjuanramos  Thanks for the feedback. I definitely agree that this is a crucial scenario. I have added this to our backlog. I will update here as soon as we have a timeline for this. Apologies for the delayed reply.

This is a critical feature, especially for larger more complicated test plans. Not having this would be copying and pasting the same activities over and over again and hope you never have to change them. I see this as a massive oversight on the part of the Azure team. Seems you have known about this since 2021?

I would like to second @jcoryatjr points.
I'm running into an issue where I can only upload one JMX file to the AZ load test and we have a complicated set of scripts that would be more maintainable if test fragments were an option.
Unfortunately, you can only have one JMX in the project and even if multiple scripts was supported, there's not a way to mark the root script.

Is this on the backlog for 2 years or is it decided to not be implemented? The lack of support for fragments will probably cause a lot of issues when a step of a test will need an update.
All related tests will need to be updated.

@kaumishra are there any updates on an ETA for this? Modularization of scripts (i.e. one script can reference another) is a best practice. Being limited to only 1 JMX file per test is a major issue.

I've been running test fragments using include controllers since August of last year. As I mentioned, if you rename the included fragments to *.xml, you will be okay.
We automate this process in an ADO deployment pipeline. However, if you are doing things manually, be aware that you can edit JMX files in the GUI even if they are using a *.xml extension.

Thanks @MrBlueSky, I'll try that out.


String change after test generating

Describe the bug
I want to check response header value. I enter header  value in Contract as a string, but after test generation this string has changed and I can't pass test.
Sample
Contract

Generated test

Run test result

Which version of scc are you using?

implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-contract-verifier', version: '4.1.0'


Removing tag, correcting links

cleanup activities

@andrewBrunette please fix the broken link...
See the build failure for details.