Line metrics incorrect with UTF-16 surrogate pairs

The code
String[] families = {"DejaVu Sans Mono"};
FontCollection fc = new FontCollection();
fc.setDefaultFontManager(FontMgr.getDefault());
TextStyle ts = new TextStyle().setColor(0xffD2D2D2).setFontSize(20).setFontFamilies(families);
StrutStyle ss = new StrutStyle()
  .setFontFamilies(families)
  .setFontStyle(FontStyle.BOLD_ITALIC)
  .setFontSize(20)
  .setHeight(2)
  .setLeading(3)
  .setEnabled(true)
  .setHeightForced(true)
  .setHeightOverridden(true);
ParagraphStyle ps = new ParagraphStyle().setTextStyle(ts).setStrutStyle(ss);
ParagraphBuilder b = new ParagraphBuilder(ps, fc);
b.addText("𝕨𝕨𝕨𝕨𝕨");
Paragraph p = b.build();
b.close();
p.layout(Float.POSITIVE_INFINITY);
System.out.println(p.getLineMetrics()[0].getEndIndex());

prints 6. But each 𝕨 is two chars, so the expected result is 10.
64-bit Linux, Skija version 0.98.0

looks like the skia function was changed to already return UTF-16 indices after Skija implemented it's own mapping.

Can confirm that reverting this fixes that, and the line metrics work correctly with UTF-16.

Fixed, should become available soon as 0.98.1


Fixed issue with restore functionality.

There is need to check if the related object is deleted before restoring to prevent recursion errors.
@san4ezy pls review the pull request.

Thank you @vardgeskarapetyan2 !
MR is merged. New version 1.0.11 is on PyPI.


Deleted dependency detected

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.
Issue
During my research, I found that this repo is vulnerable to attack due to missing deleted dependency from the public PyPI registry.
Details
Specifically, file https://github.com/Jugendhackt/Viren-Simulation/blob/e2ef53ad9d756635fd63818a1d6c4747c6560631/flask/requirements.txt lists crackmapexec as one of the dependencies. However, it has been deleted from public PyPI. As such, an external bad actor can claim that name and register a malicious package, which will be then installed with pip install command, resulting in arbitrary remote code execution.
Impact
Not only your apps/services using https://github.com/Jugendhackt/Viren-Simulation repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.
You could read more about such attacks here<EMAIL_ADDRESS>Remediation
Please manually register a placeholder crackmapexec package on PyPI immediately or remove crackmapexec dependency from https://github.com/Jugendhackt/Viren-Simulation/blob/e2ef53ad9d756635fd63818a1d6c4747c6560631/flask/requirements.txt to fix this vulnerability.
To automatically fix such issues in future, please install PackjGuard Github app [1].
Thanks!

PackjGuard is a Github app that monitors your repos 24x7, detects vulnerable/malicious/risky open-source dependencies, and creates pull requests for auto remediation: https://github.com/marketplace/packjguard


docs: update CDN installation instructions

Summary | Résumé
Update CDN installation instructions on the website. As a user, I want to use a specific version of the gcds packages so that my application does not get any breaking changes.
Zenhub ticket

@ethanWallace @melaniebmn good catch -- could we change it so that getLatestCdnVersion is not called in the eleventy build command, but rather from the installation instructions page?

@ethanWallace @melaniebmn good catch -- could we change it so that getLatestCdnVersion is not called in the eleventy build command, but rather from the installation instructions page?

I'm looking into it but we might be stuck with the current solution because of the code highlighter.


Go LRO Typo Fix

There were two mistakes in Go LRO previously:

longrunningpb was not imported.
op.Wait was missing the context argument.

I seem to have tested this against my old development branch.
The code should compile against master now.

Current coverage is 80.50% (diff: 100%)

Merging #654 into master will increase coverage by 0.04%

@@             master       #654   diff @@
==========================================
  Files           274        274
  Lines         10247      10334    +87
  Methods           0          0
  Messages          0          0
  Branches       1342       1362    +20
==========================================
+ Hits           8244       8319    +75
- Misses         1654       1666    +12
  Partials        349        349

Powered by Codecov. Last update da87f07...082ceca


ghost part of global matrix

Hi,
I am trying to initialize a global matrix for multiple GPUs computation with:
void SetDataPtrCSR(int **local_row_offset, int **local_col, ValueType **local_val, int **ghost_row_offset, int **ghost_col, ValueType **ghost_val, std::string name, int local_nnz, int ghost_nnz).
At this movement, I have a matrix in distributed CSR format (which includes the ghost information, as used in PETSC). The equation indexing is pretty simple:
node0: 1->N
node1: N+1->2N
node2: 2N+1->3N
......
I am confusing with the ghost part of the inputs.
I wonder  where can I get more information about it.
Thank you very much.

nothing there

If you click the link from above, it will redirect you to the global matrix/vector, parallel manager and file I/O for distributed matrices. You will have to fill the interior and ghost / halo part on each node, including the communication pattern as described in the documentation.

Thanks, I found the common.hpp very helpful.


short parameter names for all functions/constructors

Just saw that the signature of free functions are shown with their (referenced?) parameter names in the overview, e.g. socketAddr(addr, port) (https://martinnowak.github.io/io/std/io/net/addr.html).
Would be cool if that was the default for all functions and constructors, as it allows to quickly answer some questions without going to that entity's page.

Looking not bad.


Build failure: xoscope

Steps To Reproduce
Steps to reproduce the behavior:

build xoscope

Build Log

Build Log
Running phase: buildPhase
build flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash
make  all-am
make[1]: Entering directory '/build/xoscope-2.3'
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o xoscope.o xoscope.c
echo "/* xoscope.css generated by make from xoscope.css.in and xoscope.css.m4.*/" > xoscope.css
echo "/* DO NOT EDIT THIS FILE!                                               */" >> xoscope.css
m4 ./xoscope.css.m4 ./xoscope.css.in >> xoscope.css
sed -i -e '/^$/d' xoscope.css
echo "/* builtins.h generated by make from xoscope.css and xoscope.glade.*/" > builtins.h
echo "/* DO NOT EDIT THIS FILE!                                         */" >> builtins.h
echo "char * xoscope_css = " >> builtins.h
sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$/ "/' ./xoscope.css >> builtins.h
echo ";" >> builtins.h
echo "char * gladestring = " >> builtins.h
sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$/"/' ./xoscope.glade >> builtins.h
echo ";" >> builtins.h
echo "char * operl_program = " >> builtins.h
sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$/\\n"/' ./operl.in >> builtins.h
echo ";" >> builtins.h
echo "char * operl_help_text = " >> builtins.h
sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$/\\n"/' ./operl.help >> builtins.h
echo ";" >> builtins.h
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o xoscope_gtk.o xoscope_gtk.c
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o file.o file.c
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o func.o func.c
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o display.o display.c
gcc -DHAVE_CONFIG_H -I.  -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0 -I/nix/store/zviv60hd5v5qggfbl0n20nwlkzzvvyyq-at-spi2-core-2.54.0-dev/include/atk-1.0 -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include -I/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0 -I/nix/store/rb870mk51kxlxq9crkldzs8n4vwr9sk4-glib-2.82.1/lib/glib-2.0/include -I/nix/store/l0np4qv5260igzj1z5cz4j936i29bn1j-cairo-1.18.2-dev/include/cairo -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include/freetype2 -I/nix/store/wc97xp20zf23vx6rj65ah6knqpqwn9bn-freetype-2.13.3-dev/include -I/nix/store/v5flgachjhgvsxqxqi8hnpi19cnbgfwc-gdk-pixbuf-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/akxwqfa5h9n4giv2zp04m3v4ngabb18j-pango-1.54.0-dev/include/pango-1.0 -I/nix/store/9w2ars9rx8k0y48pq9fbmqxypmmfga3q-harfbuzz-10.1.0-dev/include/harfbuzz -I/nix/store/kv052knpj2l1zxdfxvqz0bnhbla41sxg-gtkdatabox-1.0.0/include -export-dynamic -DPACKAGE_LIBEXEC_DIR='"/nix/store/0x5819s89bzlwjiqpqdflcv6adq8m29l-xoscope-2.3/bin"' -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGSEAL_ENABLE   -g -O2 -Wall -c -o comedi.o comedi.c
comedi.c: In function 'open_comedi':
comedi.c:480:15: error: too few arguments to function 'comedi_get_cmd_generic_timed'
  480 |         ret = comedi_get_cmd_generic_timed(comedi_dev, comedi_subdevice, &cmd, 0);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from comedi.c:27:
/nix/store/jl0birlinz2ifyqa8p6ckg1a23li3395-comedilib-0.12.0-dev/include/comedilib.h:189:5: note: declared here
  189 | int comedi_get_cmd_generic_timed(comedi_t *dev,unsigned int subdevice,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:512: comedi.o] Error 1
make[1]: Leaving directory '/build/xoscope-2.3'
make: *** [Makefile:384: all] Error 2
error: builder for '/nix/store/hvs5icrwmflcp40q0151663ibm0kydfv-xoscope-2.3.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/r73h7fykb7r488ksk5l3p9q9pim4knki-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dhkikjnx2iw9xmvsfm4qibkxyx6isl7j-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rcy17x5mvgz4c41ljm8l2dr774is4qlc-nixos-system-Bitscoper-WorkStation-25.05beta729683.88195a94f390.drv' failed to build

Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.2-zen1, NixOS, 25.05 (Warbler), 25.05beta729683.88195a94f390`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Notify Maintainers
@infinisil @Aleksanaa

Note for Maintainers: Please tag this issue in your PR.

gcc13 -> 14 wrecks the configure script, makes it unable to run:
if test "$ac_cv_lib_comedi_comedi_open" = "yes"; then :
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments comedi_get_cmd_generic_timed takes" >&5
$as_echo_n "checking how many arguments comedi_get_cmd_generic_timed takes... " >&6; }
	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

#include <comedilib.h>
main() {
       comedi_get_cmd_generic_timed(NULL, NULL, NULL, 0, 0);
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
  comedi_get_cmd_generic_timed=5args
else
  comedi_get_cmd_generic_timed=4args
fi

which results in configurePhase defaulting to "checking how many arguments comedi_get_cmd_generic_timed takes... 4"
(tested by throwing in gcc13 into the nativeBuildInputs)
so either:

tell new gcc to ignore the errors, or
fix the configure script

figuring out the errors was a matter of taking the porting guide and just throwing them all into NIX_CFLAGS_COMPILE:
env = {
    NIX_CFLAGS_COMPILE = toString [
      "-Wno-error=implicit-int"
      "-Wno-error=int-conversion"
    ];
  };

and then fixing these errors in the ./configure
#include <stddef.h>
#include <comedilib.h>
int main() {
       comedi_get_cmd_generic_timed(NULL, 0, NULL, 0, 0);
}


[Feature Request] Dialog 'Closed' event, when close animation end

Existing Component
Yes
Component Name
Dialog
Description
It would be nice have 'closed' event. In my case i need flush all data in dialog form, but only after dialog close animation end for preventing "data blinking".

Please provide a reproduction link.


[API v1.0.0 Feedback] Implement GetPopObs and GetPlaceObs wrappers.

GetPopObs and GetPlaceObs are implemented in the REST API. These should be wrapped by the Python Client API so that one can easily build a node based browser.

Implemented in https://github.com/datacommonsorg/api-python/pull/93 and https://github.com/datacommonsorg/api-python/pull/94


New object handler for HTTP Service

Hi community,
I just want to announce that we currently work on a HTTP service object handler for abapGit.
Regards,
Thomas

HTTP is the object type, ie value in TADIR-OBJECT ?


GPG Sops key not imported

Operating system
N/A
Kluctl Version
2.4.2 Gitops
Kubernetes Version
v1.27
kubectl Version
v1.28
Bug description
Trying to use gitops with sops key but getting error failed to import 'sops.asc' data from decryption Secret: failed to import armored key data into GnuPG keyring: exec: "gpg": executable file not found in $PATH
Steps to reproduce
Create a KluctlDeployment with a spec including
spec:
  decryption:
    provider: sops
    secretRef:
      name: sops-gpg

Relevant log output
No response

I assume fixed by https://github.com/kluctl/kluctl/pull/1091

@ukclivecox thanks, I somehow completely missed this issue 🙈


Abbreviation of Log Analytics Workspace deviates from recommendation

Closes #62

Looks good. I will do a quick deployment test to validate.
@matheuscarboni Any ideas how to deal with the breaking change?


Show counts for categories in table header

┆Issue Number: HCAB-417

This has turned out to be more complicated that originally thought. The work don on this is committed but is dormant. This can be re-enabled once we evaluate exactly how this feature will work and if we need any support from the Azul back end.

@frano-m can you rebase this on develop please?


Not getting "Unreachable code" error in: a = true; if (a) { throw; }; console.log(a);

What should happen:

What does happen: (no error)

I also tried adding as const, still no error:

What I really want is for this to work:
const a = 'a'

if (!a) {
  throw new Error('a')
}

console.log('dead code')

But this boolean issue version above seems like a smaller, easier to work on issue

Why are you writing code like this?

I see. Anyway, unreachability errors only occur for syntactically-unreachable positions. We don't do reachability based on types because it prevents you from writing defensive code
function f(s: string) {
  if (typeof s !== "string") {
    throw new Error("Bad JS caller go away");
    // ^ "unreachable"
  }
  // etc
}

Bad is caller... Ok.. but maybe the tide has turned. Maybe your code snippet should require a @ts-expect-error? I think it's a good example 6 years ago, idk.

I know it's important to gradually migrate a js project to ts, but that's just a transitional period. Eventually codebases are pure TS, and writing this extra defensive code is just wasting bandwidth.

If you're publishing a library, you can't mandate that all your API consumers are TS so you have to write the defensive code.

There are other examples where you want to write type-unreachable code, e.g. https://stackoverflow.com/questions/39419170/how-do-i-check-that-a-switch-block-is-exhaustive-in-typescript

If there was a really nice cli wizard to setup a tsconfig or jsconfig, we may be able to ask users to run it. Then they get rich type info inside their ide, and type errors. Cli wizard could even add a husky pre-commit hook to check for type errors

https://www.typescriptlang.org/tsconfig#allowUnreachableCode
So if code is probably unreachable base on JavaScript syntax, we can get errors. But if.. some code is unreachable based on type analysis, then TS doesn't say anything.
If you haven't handled both the undefined and defined (string | number | ...), TS will correctly complain that some value could be undefined. So, you add type guards, it statements, optional chaining, to help you avoid errors.
But, when an underlying library is refactored to guarantee that a value is always defined... You can delete the code TS told you to add.
In a way, typescript is only telling you to add code.
Perhaps we could adjust tsconfig compilerOptions.

Gauranteed unreachable based on JavaScript syntax. These are very likely coding errors.
Unreachable based on type analysis.

The in-editor warning vs cli aspect could easily be solved by taking from eslint, warnings only appear in-editor, errors are both.  Being conceptually aligned with eslint here I think could help in the long term

I too would really like to see this available as a compiler option.  I think the argument about defensive code is kinda weak, especially in an all TS world, as many of our codebases are.
Take this example:

TS has no problem with this check even though it knows that x can never be null.  TS won't let me use x without first assigning it, and it certainly won't let me assign it null.
In fact, it's almost comical when you try to set x to null.  Observe this screen shot:

Typescript is yelling at me that null is not assignable to x's type (string | number); yet in the same breath, TS is saying "but sure, go ahead and check if x is null anyway!"

We let you check against undefined because many people don't run with noUncheckedIndexedAccess but want to write code like
function fn(x: string[], i: number) {
  if (x[i] === undefined) throw new Error("Out of bound");
  return x[i];
}

Sort of the same thing for null - you might get a null from a library that was built or written with strictNullChecks off and have to do a valid null check against its outputs.


Fail to debug the JavaScript project created with "Timer Trigger" template

OS: Win10/Mac
Build Version: 20210819.3
Regression: Regression
Repro Steps:

Open an empty folder in VS Code -> Click "Create New Project..." -> Select the opened folder -> Select "JavaScript" -> Select "Timer Trigger" template -> Press Enter -> Press Enter.
F5.
Check whether succeed to debug this project.

Expect:
Succeed to debug this project.
Actual:
Fail to debug this project with an error.

More Info:

This issue doesn't reproduce on the latest release build.
This issue also reproduces for other language projects if clicking "Skip for now" when asking to select a storage account for creating a project with "Timer Trigger" template.

You don't see the "skip for now" dialog for JavaScript?

Yeah when I try to debug a JavaScript project with a timer trigger, I see this:

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Verified on the latest build 20210907.1, this is an unstable issue, the error displays when there is no dialog. Could you try it more times?

Open a new bug about the dialog of different projects are inconsistent(2955).


Fix copyTableWithRowId

What problem does this PR solve?
https://github.com/pingcap/tispark/issues/2268
What is changed and how it works?
copyTableWithRowId need to exclude isCommonHandle. isCommonHandle is cluster index without  _tidb_rowid

@xuanyu66 @birdstorm PTAL

/run-all-tests

/run-all-tests

/cherrypick release-2.4

/cherrypick release-2.5

/merge


Issue in loadView

Hi,
I am using this plugin in my project. I added this code for test route to load view but it's not loading the view showing a blank page i just added some random text in my view. No html tags no css no js
`
Excel::create('New file', function ($excel) {
$excel->sheet('New sheet', function ($sheet) {
$sheet->loadView('provider.test');
});
});
Then i tried the following code found in issue #550
Excel::create('Laravel Excel', function ($excel) {
        $excel->sheet('Excel sheet', function ($sheet) {

            $sheet->setOrientation('landscape');
            $sheet->loadView('provider.test'); // Added by me.

        });

    })->export('xls');

It's downloading the excel but when i am going to open excel it's showing Memory error. When i checked the size of excel file it's just 4KB.

View needs to be a table.


fix: Don't use value for --containers flag in chart

Hi @bpetit,
I found a problem with the dev branch and the --containers flag.
Removing the true value fixes it and I tested with both the dev and latest branches and it works with both.
kubectl get pods

NAME               READY   STATUS             RESTARTS     AGE
scaphandre-v7wh6   0/1     CrashLoopBackOff   1 (3s ago)   5s

kubectl logs scaphandre-v7wh6
error: unexpected value 'true' for '--containers' found; no more were expected

Usage: scaphandre prometheus --containers

For more information, try '--help'.

Thanks !


After onClose still receive message  and isOpen() returned true

Expected Behavior
After onclose,not more received message, and isOpen() returned false.
Current Behavior
onClose(int code, String reason, boolean remote) is called.Connection closed by us ,code: 1000,reason:
After that,still received message, and isOpen() returned true.
Your Environment

Version used:1.3.4
Java version:
Operating System and version:
Endpoint Name and version:
Link to your project:

Hello @hattie0312,
there are still some information missing for me to understand your issue.
Are you talking about the client oder server side?
Please provide some steps to repeat...
The template is in place for a reason to help me to fix/develop more stuff in my limited time available...
Greetings
marci4

Any update?


Discounting is incorrect

This issue should be addressed after release 1.2. We discovered in the process of that release that the current implementation of discounting is incorrect. The correct implementation is now in an upstream branch named fix-discounting, commit 175fb61.
The critical parts of the diff is:
diff --git a/message_ix/model/MESSAGE/scaling_investment_costs.gms b/message_ix/model/MESSAGE/scaling_investment_costs.gms
index 22327b2..daea22b 100644
--- a/message_ix/model/MESSAGE/scaling_investment_costs.gms
+++ b/message_ix/model/MESSAGE/scaling_investment_costs.gms
@@ -133,7 +133,7 @@ construction_time_factor(node,inv_tec,year)$( map_tec(node,inv_tec,year) AND con
 beyond_horizon_factor(node,inv_tec,vintage)$( beyond_horizon_lifetime(node,inv_tec,vintage) )
     = sum(last_period,
 * compute the discount factor of the very last year (not period) in the model horizon
-        df_year(last_period) * POWER( 1 / ( 1 + interestrate(last_period) ), duration_period(last_period) ) * (
+        df_year(last_period) * (
 * multiply this by the geometric series of remaining technical lifetime if interestrate of last model period > 0
             (
                 ( 1 - POWER( 1 / ( 1 + interestrate(last_period) ), beyond_horizon_lifetime(node,inv_tec,vintage) ) )
diff --git a/message_ix/model/includes/period_parameter_assignment.gms b/message_ix/model/includes/period_parameter_assignment.gms
index 2293952..7649414 100755
--- a/message_ix/model/includes/period_parameter_assignment.gms
+++ b/message_ix/model/includes/period_parameter_assignment.gms
@@ -94,8 +94,8 @@ loop(year_all$( ORD(year_all) > 1 ),
 df_period(year_all) =
     df_year(year_all) * (
 * multiply the per-year discount factor by the geometric series of over the duration of the period
-        ( ( 1 - POWER( 1 / ( 1 + interestrate(year_all) ), duration_period(year_all) ) )
-       / ( 1 - 1 / ( 1 + interestrate(year_all) ) ) )$( interestrate(year_all) )
+        ( ( POWER( 1 + interestrate(year_all) , duration_period(year_all) ) - 1 )
+                   / interestrate(year_all) )$( interestrate(year_all) )
 * if interest rate = 0, multiply by the number of years in that period
         + ( duration_period(year_all) )$( interestrate(year_all) eq 0 ) )
 ;

The reason can be found in the commit message in #205, notably:

TODO: revert this change for the next release. This commit reverts correct calculations of discounting to their prior incorrect implementation. The prior values are incorrect because discounting was calculated in forward looking manner, rather than backward looking. That is, the discounting for years in period 1-10 which is defined as year 10, was being calculated for years in 10-19

After the release, we can easily cherry-pick that commit to get the fix back in. However, that should be done in tandem with:

multiple eyes confirming that the new implementation is correct
an analysis of knock-on effects for existing models.

cc @danielhuppmann @khaeru @behnam2015 @OFR-IIASA @volker-krey @adrivinca

Set the target for the next major release, i.e. 2.0.

The deprecated parameter discountfactor has not been replaced in the MACRO standalone implementation. This should be tackled as part of the cleanup.
In order to continue to use MACRO internally, we suggest using commits:

ixmp: d683261
message_ix: 2a4865896

Postponing to after 2.0, since this has no assignee/no activity in 6 months.

Postponing to after v3.0, since this has had no assignee/activity since 9 January.

@khaeru I checked the math changes of @gidden and they seem correct to me. I included the changes on the latest version and updated my fork accordingly, but these changes will create differences in all the results of the model (attention @OFR-IIASA)... Any idea on how we shall proceed?

I checked the math changes of @gidden and they seem correct to me.

Excellent, thank you!

Any idea on how we shall proceed?

Please open a PR, so that these changes can be reviewed, and any consequent necessary changes can be identified and made. That will also be the place to discuss related issues, e.g. whether this is a backwards-incompatible change requiring a major version update.

In today's MESSAGE meeting, @danielhuppmann indicated that this issue is mainly a concern in scenarios where duration_period is heterogeneous, e.g. a scenario where the duration_period values go from 5 to 10 years part way through the model horizon.

Hmmm... that is a different issue than what is described here. Besides, that shouldn't be the case, as the the formula would be exactly the same, regardless of how long the duration period would be... This would have to be tested in an example, but I am not sure why would that be an issue.

I will ask help to @OFR-IIASA here, as I think I now remember what was the issue. For example, let's say that we have a demand of 1000 between the years 2020 and 2030. Let's say we want to add the year 2025 and split the demand as 500 from 2020 to 2025 and 500 from 2025 to 2030. In that case, the model gives different results. Am I correct with that being the issue?


Kafka sink: Asynchronous sends

Currently, when sending messages in the Kafka sink connector, we use synchronous sends. While this is fine in the first version of the connector, we want to have asynchronous sends, which will increase performance.

Done in https://github.com/ConduitIO/conduit-connector-kafka/pull/35.


Add Verbose Logging for Checks Run in Guide

Add verbose logging of more of the checks done throughout the QSG. One that pops to mind is logging out the certificate validation process that is done in the SSL Setup step.
Adding some warning text like hey you didn't enter your Certificate Thumbprint value if it notices '<YOUR_CUSTOM_SSL_CERT_THUMBPRINT_HERE>' was entered as the value in the SSL Setup step command.

How'd you feel about a ValidateScript that rejects that value?


Blue/ Pink colored 3D editor grid render bug.

Godot version:

3.0
OS/device including version:

Arch Linux / HD 4250 Oboard GFX
OpenGL ES 3.0 Renderer: AMD RS880 (DRM 2.50.0 / 4.14.20-1-lts, LLVM 5.0.1)
GLES3: max ubo light: 409
GLES3: max ubo reflections: 455, ubo size: 144
Issue description:

The grid for 3d editor has different colors like blue/pink instead of white.
This maybe a render issue. 2D editor doesnt have any such issue.
As we zoom out of he scene the color is all over the grid.
Steps to reproduce:
Switch to 3D editor with no scene open which has blue color grid.
If a 3D scene is opened in the 3D editor the grid has pink color.
Without any 3D Scene opened.

With 3D scene opened.

Today i used a Nvidia GPU and this issue was present.
And when i again used the onboard AMD HD4250 it was back.

Mesa version?

here are my specs, since i did not mention them in the duplicate #17270
OpenGL renderer string: AMD RS880 (DRM 2.43.0 / 4.4.0-116-generic, LLVM 5.0.0)
OpenGL version string: 3.0 Mesa 17.2.8
[AMD/ATI] RS880M [Mobility Radeon HD 4225/4250]

Radeon HD 4000 series GPUs are very old, they don't support modern OpenGL versions well (even though they may advertise support for it on Linux).

@Creuilcreuil no idea if it will solve something but you can try latest mesa drivers from here if using AMDGPU drivers https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates

This may be fixed in 3.2, with move to Vulkan

This may be fixed in 3.2, with move to Vulkan

Such old GPUs will never support Vulkan :smiley:

No recent update, and it's unlikely that we'll be able to fix this as it's due to hardware and driver-specific issues, so closing.


[mgmt] network release

https://github.com/Azure/sdk-release-request/issues/5305

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-network


HAAR-1257: linking general user to existing admin

Pass through api endpoint linking a new general user to an existing admin account, with the target endpoint in nomis-user-roles-api.

PrisonStaffUserDto needs Swagger annotations adding. It also currently exposes UserCaseload which is a domain model class. We need to create a UserCaseloadDto (with Swagger annotations) and convert to this as part of the fromDomain function of PrisonStaffUserDto


fetch-lib

Issue
Need to fetch lib prometheus_scrape to obtain ingress fixes.
Related to https://github.com/canonical/prometheus-k8s-operator/issues/368.
NOTE: depends on https://github.com/canonical/prometheus-k8s-operator/pull/384. Need to fetch-lib here again after it merges.
Solution

Pass external_url to MetricsEndpointProvider.
Mind port 80 (ingress) when constructing the self-scrape job.

@rbarry82 could you please publish-lib prometheus_scrape and fetch-lib here again?


[Business Approvals Kit - QUESTION] Approvals Kit connector

What is your question?
Hello,
I have an issue with custom connector. I created Entra Application, I have the environment url but when I adding a new connection I got the error:
Create and authorize OAuth connection failed. AADSTS500011: The resource principal named s***s.crm4.dynamics.com was not found in the tenant named ***. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.
Here is what I see in security tab for Approvals Kit connector:

Here is redirect url:

And my instance url:

So what is wrong? Something in the Approvals Kit connector, or Entra Application?
In my entra app is Accounts in this organizational directory only (...), I added user_impersonation and admin granted access.
What solution version are you using?
1.0.20231222.1
What app or flow are you having the issue with?
Approvals Kit
AB#1991

Have tried replacing the env variable with URL of your environment on the first tab of the connector? See https://github.com/microsoft/powercat-business-approvals-kit/issues/135
I think this hasn't been fixed yet. I had to replace it again after upgrading on the latest version.

@KarolFilipKozlowski the host name in the General Tab and the Resource Url need to be your dataverse organization url. For example contoso.crm4.dynamics.com
We are in the process of updating the documentation with these instructions

@Grant-Archibald-MS after a few tries to edit and save, the connection was saved. In general, I did nothing special, just copied and past link form session details. But now I have other problems, I can't save workflow, status is pending and pending.
But it's for other issues ticket. However, if you can help me with other things. How uninstall solution? I get a timeout, should I use for example some CIL commend?

@Grant-Archibald-MS  - I am facing similar issue in latest version of kit where in i can't add connection even though i have populated both resource url and host name. Could you help please, Solution version -1.0.20240206.2

Try resetting your client secret in Azure AD and add the secret value in your custom connector. You may have added the secret ID instead of the secret value.

Thanks , will try
On Mon, 4 Mar 2024 at 07:19, Glenn Slender @.***> wrote:

Try resetting your client secret in Azure AD and add the secret value in
your custom connector. You may have added the secret ID instead of the
secret value.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/powercat-business-approvals-kit/issues/186#issuecomment-1975878887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANMDKOECQ6GPX5MP6NJCFD3YWQOAPAVCNFSM6AAAAABBTPXWE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZVHA3TQOBYG4
.
You are receiving this because you commented.Message ID:
@.***
com>


Create service.xml

Knox Gateway ElasticSearch Service with ElasticSearch Rest API authentication while Knox Gateway forward the request to ElasticSearch servers - Dequan Chen 12/22/2017

Knox Gateway ElasticSearch Service - service.xml file


group prefix error

I recently found out about permissionsEX and loved what I saw but for some reason, it's not working. I've been trying to get it to work for about 2 weeks
So just to summarize whats happening when I do /pl its green
When I type it says in green [guest] <"name">: and in gray "your test"
I am currently running 2 plugins one being PEX and the other ChatManager_Reloaded I removed about 25 others because I thought it may be causing the problem
My PEX permissions/config file:
https://pastebin.com/hraephjM
Hope we can find out the problem soon

Okay, it's working now I just have one problem the ' are showing in the prefix.

How did you make it work again?

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


feature request: format for PPM

Consider a value recorded as "14 PPM defects" i.e. "14 defective parts per million".
The underlying value is 0.000014.  D3 currently shows this on the axis as "14u"  (the micro symbol).
When the axis title is "ppm defects", this actually implies "14 micro parts per million".
It would be helpful if it could display as "14 ppm" instead.
In other words, I'm proposing an additional "type" format, perhaps "u", which acts in the same way as "p", but multiplies by 1000000 and has a "ppm" sign.
Thanks very much :-)

How about wrapping the format?
const format = d3.format("d");
const formatPpm = value => format(value * 1e6) + " ppm";
formatPpm(0.000014) // "14 ppm"


chore(fix): update issue/config.yml file name

fix:

Just for the linking

The issue template is created at https://github.com/LinuxSuRen/api-testing/pull/374


[FEAT] Define model for Embedding

Problem
I am using LocalAI with Zep.
llm:
  service: "openai"
  model: "gpt-3.5-turbo-1106"
  openai_endpoint: "http://host.docker.internal:8080/v1"

I can define model for llm itself, but It's needed also to define model for embeddings, because It seems that now model is hardcoded to text-embedding-ada-002.
Possible solution
Add and use model key in embeddings options like this:
    embeddings:
      enabled: true
      chunk_size: 200
      dimensions: 384
      service: "openai"
      model: "some-custom-model"

We're refactoring how LLMs work and separating generation/completion from embeddings, which will address the above. We'll be releasing this in the new year.

Other inference providers are now supported via a proxy such as LiteLLM.

There are data privacy, regulatory,  and sovereignty issues associated with using OpenAI embeddings.
Ideally we could implement our own embedding function and not be limited to OpenAI.  I would need to re-write this to use local embeddings before I could use it in my applications.


Some advice for improving the explore projects page

Advices for explore projects page:

Open a project in a new window instead of the current window.
Add more filters, such as Language model tasks/multimodal model tasks......
Filter projects by tasks, systems, users.  By advanced search, or a optional list. For example, if I choose GPT-4, I will get all projects whose system list contains GPT-4.
A whole view of the hub, such as the total number of the projects.
Optional layout methods. Project card as current, or list the project just like the windows file system could do.
The search function has something wrong. When I try to search xxx several times, sometimes it comes out no projects (there should be no projects indeed), sometimes it comes out with irrelevant projects.

Hey, thank you for these suggestions. We're pretty busy these days, so probably won't get to implement much of this. However, we're very open to external contributions, so if you'd be willing to contribute, go ahead!


Update google_vertex_ai.rb

Remove the tool_choice line as it breaks Gemini Function Calling. Removing it solves it.

@palladius This is already fixed. Does Vertex AI API actually accept the tool_choice option?

I don't know what to say.
By googling it seems its an openAI thing: https://platform.openai.com/docs/guides/function-calling
But it also seems to be supported by gemini, look: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/function-calling
so my tiepid answer wqould be YES.

Note the code error is NOT at API level, it is at Ruby code level (trying to upcase a hash).
So it seems to me a bug in your code, rather than a missing thing on Gemini side.
Can you explain to me what you were trying to achieve with
params[:tool_choice] = {function_calling_config: {mode: params[:tool_choice].upcase}} if params[:tool_choice]

? It seems to me like the  params[:tool_choice] you're actually passing is a hash instead of a string. Want me to file a bug to make it clearer?

This was already fixed.


Fixed example (health_check to map of strings)

Description
The given value is not suitable for child module variable "health_check"
defined at .terraform/modules/elb/terraform-aws-modules-terraform-aws-elb-63ebc39/variables.tf:69,1-24: map of string required.

Thanks, Gabriel! Good catch.
v3.1.0 has been released.


aws_api_key_manager.py: Catch botocore.exceptions.ClientError

Temporarily works around an AWS account issue, but more robust error handling is a good thing regardless.

@mbarnes @lisa Just a comment here but we've seen eventual consistency issues with the AWS API and credentials. Sometimes they are not ready if you call the API immediately after creating them (we actually saw it so much we added a wait). It doesn't look like thats where you are getting the error her though, looks like you are getting it on credential creation? Just thought i'd mention this.


refactor GroupBy internals

Simplify ResolvedGrouper by moving logic to EncodedGroups
Stack outside ResolvedGrouper in GroupBy.init to prepare for
multi-variable GroupBy

Broken out form #9372

[x] Tests added

Thanks! That's good enough. It mostly undoes a previous refactor, haha.


Run Black and PyUpgrade over tests directory

This is hopefully the last follow up for #2472 and the second half of #2666. This runs our new black/pyupgrade pre-commit hooks over the tests and scripts directory, and adds them to the CI lint workflow.

Codecov Report

Merging #2675 (3a1286c) into develop (39fd6c2) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 3a1286c differs from pull request most recent head c1f33af. Consider uploading reports for the commit c1f33af to get more accurate results

@@             Coverage Diff             @@
##           develop    #2675      +/-   ##
===========================================
- Coverage    95.30%   95.29%   -0.01%
===========================================
  Files           60       60
  Lines        12222    12241      +19
===========================================
+ Hits         11648    11665      +17
- Misses         574      576       +2

Impacted Files
Coverage Δ

botocore/retries/throttling.py
100.00% <100.00%> (ø)

botocore/utils.py
93.60% <100.00%> (+<0.01%)
:arrow_up:

botocore/compat.py
92.61% <0.00%> (-1.14%)
:arrow_down:

botocore/loaders.py
99.33% <0.00%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding Power Equation | C++

Adding Power Equation -
Power function will be written iteratively and recursively -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding!

I will take care of this issue !

Would like to do in 2-3 different languages, Python, C++, Golang.

Hi, I really want to take this issue as I am a total newbie in open source. I will contribute in C++ language.

@sawyer1997 I am already taking of this in C++ but I am sure @divyakantyadav wouldn't be against other languages, I suggest that you create an issue for those languages so that they can properly be assigned to you.

@divyakantyadav This issue has been fixed  with PR #807 :)


The component do not work any more

PydanticImportError: BaseSettingshas been moved to thepydantic-settings package. See https://docs.pydantic.dev/2.0.3/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.0.3/u/import-error

I believe this is an issue with pandas_profiling, or rather now with ydata_profiling since pandas_profiling has been renamed to that (itself a breaking change for this component, but I digress). To fix your issue, this should do the trick:
pip install --upgrade "pydantic<2"


Why on earth did you use global security settings???

That renders the whole git repository useless... Or at least hard to work with.
And a shame... This is a very nice and useful animation!

This is the only way to alter the global animator scale.

no way. really? got to be a way to do the same without messing with the global settings.
Anyway... If I can get it done without it, I will post here.

@rubimazaki waiting for your update. I like u more than nickbutcher


fix: allow interruption while waiting for funds

Checklist

[X] I have read the coding guide.

Description
At the moment waiting for funding is an uninterruptible action, it can be stopped solely by killing the process.
This change listens to os signals and exits on user interruption.

This change is

So I am not sure about this. I thought we agreed this is a bad idea and now we are adding more components that depend on this?

I probably missed it, closing the pR


add message_thread_id

pls add support for telegram topics, Need add message_thread_id

Hi @Gizex
Thank you for your request.
This is a necessary and useful requirement for premium accounts.
I will develop it but it may be released a bit slowly (about 2 or 3 new versions) because now I need to move the logic to a separate package to be transparent and easy to maintain for the community.
Hope you can wait for it, thanks a bunch!

Hello @Gizex,
This feature is now available in the latest version (v1.2.0)
You can check the configuration to add topics for your supergroups through the env variable: TELEGRAM_NOTIFY_CHAT_IDS
In addition, other environment variables also have some changes. So, please look at the readme.md
I hope it helps you now. If it really solves your problem. Please close the issue.
Thanks!

This Issue will be closed because there has been no response for a long time.


Bug : Unable to create merge skill from the skillset

I am trying to load the split the documents into chunks and create embeddings from that. To save some contextual information I want to concatenate the file name of the each document to its chunk at the starting of the chunk.
I want to have like 'chunk: title: filename, chunk_data' in the field of chunk. how to achieve this. Normal text itself it is getting failed. Please help me resolve this
merge_skill = MergeSkill(
description="Skill to Merge text data via Skillset",
context= "/document/pages/",
insertPreTag= " ",
insertPostTag= " ",
inputs=[
InputFieldMappingEntry(name="text", source="/document/pages/"),
InputFieldMappingEntry(name="itemsToInsert", source="/document/metadata_storage_name"),
InputFieldMappingEntry(name="span", source=["0"]),
],
outputs=[
OutputFieldMappingEntry(name="mergedText", target_name="pageContent")
],
)

You can't do this easily using merge skill because /document/metadata_storage_name is not an array. Please consider using a custom skill to do this concatenation

Can you please provide sample code for this. For using the custom skill is it required to have model/endpoint in Azure?


Build the plugin errors

Tried to run go build based off the latest version of the README (2020-02-07) and I get the following errors:
go build

main.go:7:2: cannot find package "github.com/ibmcloud/packer-builder-ibmcloud/builder/ibmcloud" in any of:
	/usr/local/go/src/github.com/ibmcloud/packer-builder-ibmcloud/builder/ibmcloud (from $GOROOT)
	/home/vagrant/go/src/github.com/ibmcloud/packer-builder-ibmcloud/builder/ibmcloud (from $GOPATH)
main.go:8:2: cannot find package "github.com/ibmcloud/packer-builder-ibmcloud/version" in any of:
	/usr/local/go/src/github.com/ibmcloud/packer-builder-ibmcloud/version (from $GOROOT)
	/home/vagrant/go/src/github.com/ibmcloud/packer-builder-ibmcloud/version (from $GOPATH)

Also I couldn't clone this repo unless I changed the clone command from SSH to HTTPS:
git clone https://github.com/IBM/packer-plugin-ibmcloud.git

And finally, this command should be changed from:
cd $GOPATH/src/github.com/ibmcloud/packer-builder-ibmcloud

to
cd $GOPATH/src/github.com/ibmcloud/packer-plugin-ibmcloud

Thanks very much for your previous EXTREMELY QUICK response to the original issues!

I too had the above issue and after following above step, I still have the issue with go build as below
go build
github.com/ibmcloud/packer-plugin-ibmcloud
./main.go:17:28: cannot use new(ibmcloud.Builder) (type *ibmcloud.Builder) as type packer.Builder in argument to server.RegisterBuilder:
*ibmcloud.Builder does not implement packer.Builder (missing ConfigSpec method)

I don't see any updates on this, and this issue still exists.  I am assuming this project is no longer maintained?

Issue addressed on latest commit.


Splash can't load page

I've been trying to get html page using the url http://tracker.ad5track.com/tracker/click?acc=93a167918e12d652fd9145cd4ddc4ce9&i=54d90be6dd7ab23e2aa27410&o=55a6b91e9c3238c7d13da4b9&redirect_url=http%3A%2F%2Fwww.americanas.com.br%2Fproduto%2F9141033%2Fsmartphone-lg-leon-tv-h326-desbloqueado-azul-preto%3Fopn%3DYYNKZU.
However, splash aways returns

I can't figure out whats happening. My guess is that redirect is causing this problem.

Hey @bfabri - sorry, I can't reproduce it - for me this URL returns 403 after a redirect both in Splash and in a browser. Could you please post an example - how are you using splash to render this URL?


MINOR: [CI][C++][Python] Fix Cuda builds on git main

On the Cuda self-hosted runners, we need to use legacy docker-compose on all Archery Docker invocations, including the "image push" step. This is because the Docker client version on those runners is too old to accept the --file option to the compose subcommand.
This is a followup to https://github.com/apache/arrow/pull/43586 . The image push step cannot easily be verified in a PR, hence this second PR.

@kou Does this look ok to you?


run javascriopt befoe the email loads , how can we do that ?

Hi there,
I get the same html content from my boss, everytime, i.e the fields change but most of the html settings are same all the time.
Before i forward that html to m email list, i want to strip away some html like change the names  for some fields,
change the numbers by a specific percent.
So in order to achieve this, I want to run javascript / jQuery for that.
Question:  Does the html inside the email runs the jQuery / javascript before it loads the email on the page ?
Or is there another way to get this done ?

As part of the sendinblue API version 2 deprecation plan this repository is no longer supported. Please refer to its updated version 3: https://github.com/sendinblue/APIv3-nodejs-library


WorkManager slows the UI on older devices

I add a larger number (30-200) of networking tasks (soap webservice calls) and it really slows down the UI of the application on older devices like a S5 or a Galaxy Tab 2.
It would be great to be able to throttle the manager, limit it to x number of tasks at once or the like.
Another thing i would love to have would be priorities, right now i have to implement two different communications as user-triggered tasks have to be executed before background ones.

You can override the default WorkManager Configuration by using https://developer.android.com/reference/androidx/work/Configuration.Builder.html#setExecutor(java.util.concurrent.Executor)

Stackoverflow might be a better forum. This one is for issues with the codelabs.


Feature/change visible rows

Please check if the PR fulfills these requirements

[x] It's submitted to right branch according to our branching model
[x] It's right issue type on title
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] It does not introduce a breaking change or has description for the breaking change

Description

기존 로직 : tr 엘리먼트 유지한 상태에서 display 값으로 제어했음
변경 후 : expanded/collapsed 이벤트에 대해 viewModel을 컨트롤 하는 것으로 변경

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@todo 내용 담당자 확인 필요


Error in plugin: key "...." not in Fields

My Telerfaf config has:
[[inputs.snmp]]
agents = ["udp://<IP_ADDRESS>:161"]
name = "Local VM"
:
[[inputs.snmp]]
agents = ["udp://<IP_ADDRESS>:161,udp://<IP_ADDRESS>:162"]
name = "remote VM"
:
[[processors.starlark]]
script = "/home/hn1961/starlark/mine.star"
The starlark script 'mine.star' has the following:
def apply(metric):
allocatedMem = metric.fields['Allocated Virtual Memory']
usedMem = metric.fields['Used Virtual Memory']
metric.fields['freeMem']= allocatedMem - usedMem
return metric
The goal
To have a new metric 'freeMem' with the desirable result.
The environment:

Both 'Allocated Virtual Memory' and 'Used Virtual Memory' are custom MIBs
Only agent with measurement="Local VM" has metrics 'Allocated Virtual Memory' and 'Used Virtual Memory'
Agents with Measurement = "remote VM" do not have the custom MIBs, hence, the metrics are not applicable to them.

The problem
Telegraf gives errors
2020-12-02T18:58:07Z E! [processors.starlark] Error in plugin: key "Allocated Virtual Memory" not in Fields
Chronograf shows:

Only agent with measurement="Local VM" have metrics and data.
Agent associated with name = "remote VM" have metrics but no data.

I tried adding IF-ELSE statement in the starlark script so that the calculation are done for the 'Local VM' measurement.
However, I am unable to determine the Condition parameter, for instance,
def apply(metric):
if MEASUREMENT['Name'] == "Local VM":
allocatedMem = metric.fields['Allocated Virtual Memory']
usedMem = metric.fields['Used Virtual Memory']
metric.fields['freeMem']= allocatedMem - usedMem
return metric
else:
return metric
I get errors:
2020-12-02T19:08:56Z E! [telegraf] Error running agent: could not initialize processor starlark: /home/hn1961/starlark/sam.star:2:6: undefined: MEASUREMENT
Next Steps
Any pointer is greatly appreciated.

This repo holds the Go implementation of Starlark, but your question relates to the Telegraf application (https://github.com/influxdata/telegraf/blob/master/plugins/processors/starlark/README.md). Try reporting it here: https://github.com/influxdata/telegraf/issues

Thank you.


SMS Motion sensor noise parameters as constants

This PR is related to user story DLAB-
Description
Provide a short description about the work that has been done.
Checklist

[x] PR title is descriptive and fit for injection into release notes (see tips below).
[x] Correct label(s) are used.

PR title tips:

Use imperative mood.
Describe the motivation for change, issue that has been solved or what has been improved - not how.
Examples:

Add functionality for Allan variance to smsfusion.simulate
Upgrade to support Python 3.10
Remove MacOS from CI

Waiting for reply from Per regarding the noise parameter values we should use.


Split the best_for_maps page from the index page

You also miss the  section in best_for_maps.html

Squashed and merged (outside of github)


The documentation mentioned in the read me is missing.

The link is http://ryandowning.net/PersWiFiManager  but that gives a 404 error.

Duplicate of #29. There is a link to a copy of the documentation in the issue, and a PR to have it added to the repo.


Consider Using URs? + UR for bitcoin air gapped already supports animated QRs

Has this community considered moving over the QR's using the UR-based encoding, which among other things is optimized for native-QR compression and already supports animated QRs? This standard is for more than just PSBTs (Sparrow, Keystone, Foundation Devices, Spectre, etc.), but also since it uses self-describing CBOR underneath, can be used for seeds, keys derivations, etc. It would not be hard to add any BIP21 primitives.
See https://github.com/BlockchainCommons/crypto-commons#urs for a number of overview documents and a video on the UR standards.

The animated QR codes make the QR code size much less of an issue.  Would also just be great to standardize on a single animated QR code format.  UR is well-documented, and is already in use in several popular wallets as Christopher mentioned.

Help me understand. What is the benefit of a "UR" over a BIP21 URI?

The UR specifications and reference code have many advantages:

They are designed to be fully conformant with URI schemes (e.g. https:, mailto:, etc.) so that platforms can send the QR (or NFC) to apps registering to handle UR: scheme requests.
There are some inconsistencies in character set usage of many URIs, especially in legacy Bitcoin QRs, etc. that often result in double the size of the QR (as it goes into "binary" mode). The UR specifications are specifically designed to be optimally compressed by QR encoders to be quite small.
Many messages encoded in QRs (in particular PSBTs) exceed the ability for many devices to accurately read them (especially with cheap laptop cameras) or even exceed what is possible with a QR. All the UR libraries support animated QRs, which include fountain codes for redundancy in case a frame is missed. There are short of a dozen bitcoin wallet vendors already supporting crypto-psbt URs, and there are multiple versions in other languages (are reference version is in C).
URs are completely self-describing, both in what humans need (i.e. "ur:crypto-psbt") as well as CBOR for the content. This means that metadata like account birthdate, which the Lightning Network can use to reduce blockchain scanning time, can be optionally included and optionally ignored by services that don't need it. This is particularly relevant to some of the BIP21 use cases as not all apps need the same data.
As a community, we can afford to fund security reviews of critical code collectively, as we recently did with the SSKR cryptography. We will be doing this for more of a critical code in 2022.
There are a number of new URs either in the process of being designed, or on the roadmap, including crypto-response & crypto-request (see new article: https://github.com/BlockchainCommons/crypto-commons/blob/master/Docs/crypto-request-or-crypto-psbt.md);  encryption of data in QRs with symmetric pins, keys or public key permits; authorization for access using your keys (Wallet Connect style, but more secure);, initiating Musig2 & FROST group signatures; and much more.

To date, we don't have many Lightning developers submitting UR specs for LN use cases. We'd love to see more here, including to support BIP21.

Help me understand. What is the benefit of a "UR" over a BIP21 URI?

The UR spec actually lays out the benefits:

Transport binary data of arbitrary content and length using a sequence of one or more URIs or QR codes.
Remain agnostic about whether QR codes are displayed together or time-sequenced (animated).
Avoid the use of QR code binary mode to support transparency and wide compatibility with QR code reader libraries.
Use the alphanumeric QR code mode for efficiency.
Be case agnostic, allowing use of all upper case letters (for QR code transport) or all lower case letters (canonical for display and URIs.)
Include a CRC32 checksum of the entire message in each part to tie them together and ensure the transmitted message has been reconstructed.
Each single part should also be a valid URI and not require escaping (e.g. percent-encoding) of any of its characters.
Support the addition of structure in the binary data. Initially specify how binary data representing undifferentiated byte strings should be encoded.
Support transmitting an arbitrary amount of data both as a minimal, finite sequence of parts and as an indefinite sequence of parts using a "rateless encoding" Fountain Code based on Luby Transform code.

I'd also recommend our Blockchain Commons Technology Overview video the discusses the building blocks we're working with and our motivations for choosing or building them.

We also have experimental support of NFCs on the iPhone in our demo reference app Gordian Seed Tool. This means you can tap a merchant's device, and it will call the app using a ur: scheme. The current BIP21 proposal is not directly compatible with NFCs, as platforms require that they must be strictly URI conformant (which the UR specs are).

Can you help us understand what actually needs to happen to support this? Does every wallet showing a QR code today need to change to support UR? What does that entail?

Can you help us understand what actually needs to happen to support this? Does every wallet showing a QR code today need to change to support UR? What does that entail?

Obviously, the more developers and wallets that adopt the UR specification, the greater the network effect of adoption. Blockchain Commons is trying to help wallet developers interoperate and avoid having to reinvent the wheel where it would benefit the entire community. There are already open source libraries to support UR in several languages, so adoption should be pretty easy in most cases.

I will need to take more time to dig into your spec here. I'm genuinely curious to learn about it, so thank you for sharing.
A large part of BIP21 for us is that it already enjoys widespread support among most on-chain wallets, and is gaining support among lightning wallets. For wallets like Strike, CashApp, Bitcoin Beach, etc. this can be a very quick fix for their UX.
While I see the value of a standardized format like this for things like animated QRs for PSBTs, the BIP21 for lightning seems like really low-hanging fruit that lightning wallets can start benefiting from in the very near future.
So I am going to close this issue, but I will re-open it if we need to start pursuing the animated QRs in more depth. I am not closed off to this idea, I just see it being more beneficial for other use cases, whereas this initiative is very much focused on the bitcoin-on-chain/lightning UX problem.


Hook which rewrites the container registry in annotations.

This PR introduces a WithContainerRegistry method that works on the IDistributedApplicationBuilder and registers a hook which overwrites the container registry on all the ContainerImageAnnotations in the application model.
Related to #1603
Microsoft Reviewers: Open in CodeFlow

I'm not sure we want to merge this as is, we need to discuss how this would be used practically.

I think that there are two schools of thought here about how this tooling should work:

Global override
Policy enforcement

Global override
The global override option is what we have here. We call a single method, and before we spin up containers we override the container registry for each container we start. The underlying mechanics could change but the WithContainerRegistry call or something like it is what we'd end up with.
Policy enforcement
Instead of overriding values we check to make sure that the container registry part of the container image annotation is set to a specific value, and if it isn't, blow up.
Why global override is better?
I landed on global override. My reasoning is that as soon as you fall afoul of policy enforcement you are going to want to override the the image registry that is used. That means that for every resource that has a container image annotation you are going to need to use the WithImageRegistry method.
That seems pretty heavy handed but there is another more fatal problem with requiring people to do that. I would expect that in time we'll see higher level abstractions. For example AddGitHubWebhookRouterReceiver which might add multiple resources to the model. This wouldn't necessarily be something where the WithImageRegistry approach works. Rather than get all extension authors to consider this supply chain requirement, it is better to do this centrally.
Problems with current implementation
I agree that we shouldn't merge this yet. It was initially just to facilitate conversation. I think that mutating the resources via a hook is the wrong approach. There are two places where we need to resolve the container registry. The first is in manifest writing, and the second is when we hand the resource over to DCP to spin up as a container. It should be easy enough to intercept these two locations and do the substitution with a global override.
I think that the global override probably needs to be something that we can express in code (like we have in this PR) but perhaps also something that could be set via an environment variable.

What about prefixing the container repository as well as changing the registry.  e.g. if your company blocks direct access to docker.io and proxies you through an ECR pull through cache, you may want to rewrite docker.io/* --> ACCOUNT.dkr.ecr.REGION.amazonaws.com/docker.io/* - changing both the registry, as well as a prefix to the image repository.

@mitchdenny @davidfowl what is the state of this PR? This is one of the follow-up items that we are tracking and need to get done by P6, so ideally we'd want to get this in now.

@joperezr I just made a change to make the API something that I am happy with. I changed from using an extension method on the builder (which would be the only one of its kind) to using an option which I think gives it the appropriate level of visibility.
It is still implemented as a hook. After thinking about alternative approaches, I think hooks here are a better option.

/backport to release/8.0


.env.development PORT seems to not be respected

I've just added a .env.development file to my project setup with Razzle, and it seems Razzle doesn't load that file until after checking if it can listen on whatever PORT is.
It seems setPorts is called here: https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/scripts/start.js#L101
However, at that point in time, let serverConfig = createConfig('node', 'dev', razzle, webpack); hasn't yet been run, meaning that process.env.PORT isn't set from the .env.development file, as createConfig is what reads those .env files
This seems like potentially unintended functioning; I'd expect the dotenv files to be loaded up before setPort is called, allowing me to use those files to specify the PORT

Further, running as PORT=4000 yarn start also doesn't work as expected. Seems to always wish to run on port 3001, which is the default in setPorts (I think) — https://github.com/jaredpalmer/razzle/blob/master/packages/razzle-dev-utils/setPorts.js

Actually, seems I needed to set both PORT and PORT_DEV, which was unexpected and undocumented.

Should be fixed in dev version :)


Removing redundant LV2 struct definitions

I've discovered that there are two definitions for the raw feature and plugin descriptors, each: There is one generated definition in the sys and one hand-written one in the core crate, but the core crate only uses the hand-written one. If we have a sys crate that builds upon the C types, we should also use it! I therefore removed the hand-written definitions and replaced it's uses with the sys definition.

Oh, you're right there! Reexporting the sys crate makes much more sense here. Always glad to remove more code!


chore: remove refs to deprecated io/ioutil

What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - http://yunikorn.apache.org/community/how_to_contribute
What type of PR is it?

[ ] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/YUNIKORN/
Put link here, and add [YUNIKORN-Jira number] in PR title, eg. [YUNIKORN-2] Gang scheduling interface parameters

How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Please file a jira so we can track the changes.
See the How To Contribute guide on the website.
Looking at the code and the call stack I think we should not update from ioutil to os. The function CreateLogFile has no callers and should be removed. The function GetFileContents has callers but those callers are never called themselves. I think a proper cleanup of all the unused code is more appropriate.

As Wilfred said, please create a JIRA and include the ticket name in the title of the PR.
Also give short answers to the questions which come from the PR template:
What is this PR for?
What type of PR is it? (mark the one with [x])
What is the Jira issue?


Data generation for hemispheres

Hi,
Great project!
in the line "for me in range(0,39):" ( for the data generation for hemispheres) what does 39 represent? is it something fixed or do I have to adjust it depending on my MRI?
Tamir

Hi, (0,39) means that there are 40slices of MRI images. Here I generate 40 samples from both left and right hemispheres. If one have more slices (samples), 39 has to be replaced by the number of slices. Thanks.


Adds note about emission-nebula.

We should point this repo to emission-nebula for the next time someone goes looking for an answer to "how is Emission deployed to TestFlight?"

👍


libavutil/opt.h is unusable on msvc9

vc9 compiler fails with errors when trying to compile a file starting #include <libavutil/opt.h>
see for instance: https://ci.appveyor.com/project/conda-forge/aubio-feedstock/build/1.0.19/job/rbxu1vj4rmboxnms#L503
thanks, piem

We just mirror the zeranoe builds here. Maybe it is a version issue? https://ffmpeg.zeranoe.com/

Do you know what MSVC they are built with?

They use MingW

See ffmpeg documentation on building with older msvc using libav c99-to-c89.

If you want to try building on Windows @piem, the effort would be welcome. There have been a few attempts thus far. So it may be worthwhile to see what can be gleaned from them.

I think this is likely stale for us


Login

Restricts user access until they are logged in and allows the user to logout from any page (and be redirected to the home page).
Logged Out:

Logged In:

Comments addressed, PTAL.

Purposefully not merging until after prototype demo.


Regression - language selector design

Before the latest release, the language selector appeared in a modern mobile optimized bottom sheet dialog. This style is still used when accessing deepl via a web browser.

However, inside the app a normal single selection pop-up dialog is shown again since last release. Maybe caused by the introduction of the "switch" button?

The exact opposite seems to be happening in this environment.
Maybe the DeepL server is doing A/B testing.

Ok. Probably we have to wait until the feature is rolled out to everybody. Or maybe there's a way to force the new language selector?

After clearing the app-cache, the new language selector did appear again. So let's close the issue, no action required...


Fixes global variable leak 'xml'.

I was getting Error: global leak detected: xml. Turns out the variable xml was not declared in local scope and was leaking into global scope. This PR should fix that.
Thanks!

Thanks!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade" workflow

Codecov Report

Merging #28 (579e5c2) into main (4958138) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #28   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           27        26    -1
=========================================
- Hits            27        26    -1

Impacted Files
Coverage Δ

src/backend-stack.ts
100.00% <100.00%> (ø)

src/lambda/process-metrics-function.ts
100.00% <100.00%> (ø)

src/stateful-stack.ts
100.00% <100.00%> (ø)

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 43fe654...579e5c2. Read the comment docs.


glypsh2svg --remove-overlaps

https://github.com/simoncozens/font-engineering/blob/master/glyphs2svg.py doesn't remove overlaps, which causes some SVGs output to be unexpected.
So I'd like to request an argument that includes the typical https://github.com/fonttools/skia-pathops method to resolve that, and make the SVGs output more like instantiated fonts.
Example Glyphs source file: www.github.com/Ancymonic/Signika/blob/master/sources/Signika-MM.glyphs
VF TTF: www.github.com/Ancymonic/Signika/blob/master/fonts/signikavf/Signika[NEGA,wght].ttf

svg paths can have overlaps, the default fill-rule (which fontTools svgPathPen does not override) is "nonzero", like the one used for TrueType fonts, so overlaps should just work.
Can you paste a screenshot and with name of the glyph that reproduces this?


Need some direction

@blakeembrey , I try to work on this but need some guidance.

I'm getting error on atom.d.ts: "Invalid module name in augmentation, module 'atom' cannot be found"
Am I doing the right thing inside declare module 'atom' { ...}? I don't think I'm doing it right.

The use case should be (:
import atom = require('atom');

atom.commands  // AtomEnvironment
atom.Disposable

Here is their API doc:
https://atom.io/docs/api/v1.5.3/AtomEnvironment

Atom is an environment, not an NPM module. I think Atom should be typed as an ambient module instead. Does that make sense? Otherwise things are being wrapped up, which is what's happening with you now.

atom exposes a global atom, and also through require:
https://atom.io/docs/api/v1.5.3/CompositeDisposable
{CompositeDisposable} = require 'atom'

class Something
  constructor: ->
    @disposables = new CompositeDisposable
    editor = atom.workspace.getActiveTextEditor()
    @disposables.add editor.onDidChange ->
    @disposables.add editor.onDidChangePath ->

  destroy: ->
    @disposables.dispose()

The global atom is an instance of AtomEnvironment. It does not has a reference to CompositeDisposable (for example).  i.e., atom.CompositeDisposable === undefined

I think Atom should be typed as an ambient module instead.

I do set ambient: true in the typings.json.  Do you mean the repo should be named as ambient-atom?

What about env-atom as the repo name? You also need to install it with ambient, so typings install ... --ambient to make sure no wrapping occurs (got to error in 0.7 when ambient: true is enabled).

Yes Sir! I'm all for env-atom :+1:


esp_crc8_le does not match the reference output? (IDFGH-10014)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0.1
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32-S3-WROOM-1-N16R2
Power Supply used.
USB
What is the expected behavior?
By referencing to the link, I expect the esp_crc8_le output some matching result when processing a string "Hi". It should tell CRC=0xEB
uint8_t result = esp_crc8_le(0, (uint8_t*)"Hi", 2);
ESP_LOGI(TAG, "CRC=0x%02x", result);

What is the actual behavior?

   Am I using the rom crc8 incorrectly?
Steps to reproduce.
see above
Debug Logs.
No response
More Information.
No response

This might be helpful: https://github.com/espressif/esp-idf/blob/56123c52aaa08f1b53350c7af30c91320b352ef4/components/esp_rom/include/esp_rom_crc.h#L23-L45
So you can reproduce 0x7d using http://www.sunshine2k.de/coding/javascript/crc/crc_js.html, set "input reflected", "result reflected", initial value 0xFF (which corresponds to crc=0 argument after inversion) and final XOR value 0xff (which corresponds to the inversion at the end), polynomial 0x07.

You can also invert the result of esp_crc8_le  to be consistent with CRC-8/ROHC

@igrr @esp-wzh Thank you all for the prompt and helpful response!


Attempt to regenerate the feedstock

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


uv add struggles with an auto-generated entry in uv.lock

uv add creates a lockfile uv.lock it cannot parse again on re-run.
Steps to reproduce:

Check out mne-python
run uv add to add an entry to pyproject.toml. This will also create a uv.lock lockfile:

$ uv toolchain install 3.12
warning: `uv toolchain install` is experimental and may change without warning.
Looking for Python 3.12
Downloading cpython-3.12.3-linux-aarch64-gnu
Installed Python 3.12.3 to /home/mne-user/.local/share/uv/toolchains/cpython-3.12.3-linux-aarch64-gnu
$ uv venv -p /home/mne-user/.local/share/uv/toolchains/cpython-3.12.3-linux-aarch64-gnu/install/bin/python
$ . .venv/bin/activate
$ uv add ipython
warning: `uv add` is experimental and may change without warning.
Resolved 286 packages in 3.61s
error: found distribution vtk==9.3.0 @ registry+https://pypi.org/simple with neither wheels nor source distribution

All good so far: pyproject.toml got updated. The error message about vtk is irritating because vtk is only an "extra" dependency, but this can be ignored for now.
Ok, now let's try to uv add another package:
$ uv add cowsay
warning: `uv add` is experimental and may change without warning.
Failed to parse lockfile; ignoring locked requirements: TOML parse error at line 492, column 10
    |
492 | marker = ""
    |          ^^
Expected marker value, found end of dependency specification

^
Resolved 287 packages in 1.18s
error: found distribution vtk==9.3.0 @ registry+https://pypi.org/simple with neither wheels nor source distribution

Looking at uv.lock, it turns out the problematic marker entry is for the numpy dependency:
[[distribution.dependencies]]
name = "numpy"
version = "1.26.4"
source = "registry+https://pypi.org/simple"
marker = ""

System info
$ uv --version
uv 0.2.11
$ uname -a
Linux 1a34753d5e98 6.6.26-linuxkit #1 SMP Sat Apr 27 04:13:19 UTC 2024 aarch64 GNU/Linux

Thanks!


Enforce text compression on js files

Right now next.js doesn't compress the javascript files, which reduces performance. A good solution is shown here.

This should be done through Nginx using gzip. Backlogged until #25 is resolved.

This is up to the host severing the frontend to implement.


Cleanup/3316 median abs dev

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[ ] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Changed function name from max_abs_deviation to med_abs_deviation
Intended Effect
code cleanup
How to Verify
unit tests
Side Effects
will need companion PR for CmdStan
Documentation
N/A
Copyright and Licensing
Columbia University
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Yes, we just have to merge them while they're both failing and then it will eventually reach consistency


Placeholders in configuration

Allow placeholders to be used in configuration. The main goal was to allow users to configure database connection settings as environment variables as requested in #50.
HakunapiConfigParser will now try to replace ${<placeholder>} snippets in property values by checking if an

environment variable or a
system property with that placeholder name exists.

If the placeholder value can't be resolved it's left as is. This is done because some next step might expect the value remain as a placeholder, for example the server url config added in #63.
Additionally, allow postgis database configurations to be inlined in hakunapi main configuration file, e.g.:
db=my_db
db.my_db.dataSourceClassName=org.postgresql.ds.PGSimpleDataSource
db.my_db.dataSource.user=address_reader
db.my_db.dataSource.password=test
db.my_db.dataSource.databaseName=address_fin
db.my_db.dataSource.portNumber=${DB_PORT}
db.my_db.dataSource.serverName=localhost

collections.addresses.db=my_db

Everything under db.<database_identifier>.* is passed on to HikariCP as-is (as in with the db.<database_identifier>. prefix removed). The end result is identical to a separate <database_identifier>.properties file.

After a night's sleep two issues remain:

separate db.properties config files don't get treated the same as the main configuration file (this should be an easy fix)
if I understand az passwordless example correctly azure-identity-extensions might expect the ${AZ_ENV_VARIABLE} placeholders as placeholders (e.g. user=${AZ_POSTGRESQL_AD_NON_ADMIN_USERNAME} not user=my_datatabase_user). However, I don't see why it would matter if hakunapi would "resolve" the values before handing it to azure-identity-extensions

separate <my_db>.properties config files don't get treated the same as the main configuration file (this should be an easy fix)

Fixed in 1acefa4


ci: disable Chrome for now

headless is broken since Chrome 83 for some reason.

Interesting to see these errors on firefox: https://travis-ci.org/github/katspaugh/wavesurfer.js/builds/731591098#L1254
Firefox 81.0 (Linux x86_64) WaveSurfer/MediaElement: should set mute FAILED

Unhandled promise rejection: EncodingError: The buffer passed to decodeAudioData contains an unknown content type.

Where is this promise rejected..

When I replace the existing decodeAudioData call in webaudio.js with:
diff --git a/src/webaudio.js b/src/webaudio.js
index 65a41b2..cb4e716 100755
--- a/src/webaudio.js
+++ b/src/webaudio.js
@@ -348,11 +348,18 @@ export default class WebAudio extends util.Observer {
                 this.ac && this.ac.sampleRate ? this.ac.sampleRate : 44100
             );
         }
+        this.offlineAc.decodeAudioData(arraybuffer).then(
+            (data) => callback(data)
+        ).catch(
+            (err) => errback(err)
+        );
+        /*
         this.offlineAc.decodeAudioData(
             arraybuffer,
             data => callback(data),
             errback
         );
+        */
     }

     /**

I don't see these errors anymore. According to https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioData the Promise based syntax of decodeAudioData is not supported in Safari (desktop and mobile). We'll have to make exception there and use the old syntax for Safari instead?

Interesting to see these errors on firefox: https://travis-ci.org/github/katspaugh/wavesurfer.js/builds/731591098#L1254
Firefox 81.0 (Linux x86_64) WaveSurfer/MediaElement: should set mute FAILED

Unhandled promise rejection: EncodingError: The buffer passed to decodeAudioData contains an unknown content type.

Where is this promise rejected..

I've seen this error in a production app too, but they don't seem to break anything... Happens during load/unload I think.
The tests seem to fail in places where wavesurfer calls methods like play() or pause() which should be promises, but the wavesurfer functions are synchronous.

I've seen this error in a production app too, but they don't seem to break anything... Happens during load/unload I think.

That Promise exception needs to be handled though.

We'll have to make exception there and use the old syntax for Safari instead?

How would I properly check if Promise syntax is supported (without checking for Safari user-agent)?

Coverage decreased (-0.07%) to 80.758% when pulling 7452c2972797fefd7dc7330c7b17a21911b80b34 on ci-chrome-disable into a33cea854c232593d97ed0527a52a40187d060dd on master.

What is it though? Decoding interrupted because destroy() is called?

Good question.. Something like that..

We'll have to make exception there and use the old syntax for Safari instead?

How would I properly check if Promise syntax is supported (without checking for Safari user-agent)?

Use callbacks like this. you can create your own promise and resolve/reject in the callback.
https://stackoverflow.com/questions/52489787/audiocontext-decodeaudiodata-not-working-on-iphone-but-working-everywhere-e

Use callbacks like this (first answer).

But I want to use Promise everywhere and your workaround on unsupported browsers only. How to check if a browser, e.g. Safari for example, supports it?

Callbacks version is supported everywhere so we make our own promise version:
async function decodeAudioDataAsync(ac, arrayBuffer) {
	return new Promise((resolve, reject) => {
		ac.decodeAudioData(arrayBuffer, resolve, reject);
	});
}

Usage:
try {
	const buffer = await decodeAudioDataAsync(audioContext, arrayBuffer);
	// successfully decoded
} catch (err) {
	console.error(err);
}

Change as you see fit

Callbacks version is supported everywhere

The thing is, this Promise unhandled rejection is only caught when using the Promise based syntax. When using the old syntax the Promise is not caught and that's the whole point of this fix: catch that Promise.

I see. Check the return type of decodeAudioData? I guess it will return nothing on browsers that dont support promise syntax?

typeof(f.decodeAudioData); returns "function" on Safari and Firefox.  I obviously don't want to call the legacy callback method in order to check if there's support for Promises. Ugh.

Fortunately(?), Safari still uses webkitAudioContext so checking for that should be enough.

typeof(f.decodeAudioData); returns "function" on Safari and Firefox. I obviously don't want to call the legacy callback method in order to check if there's support for Promises. Ugh.


9968 fix nulls issues

This PR fixes a problem where null values broke the fill component.

Closes #9968

CR: @xavijam

Merging, since frontend tests are green.


Create corporate repo

Goal

Have a github repo in which to beging creating issues and document our mission, values and philosophies on work.

Done.


Missing tags in module.json

module.json file is missing the 'url' tag.  This leaves no link to access the repository on the Foundry Addon Modules screen.

module.json file is missing the 'changelog' tag.  When module is updated, the update screen has no link to the changelog for users to check what has changed.

Done