AssertionError in  Ubuntu 14.04.5

Hi
I used conda to install all lib mention in requirement.txt
however, when I try
python train.py --task=QG --model=NQG --load_glove=True --feature_rich --data=squad --rnn=GRU --dec_hidden_size=512 --dropout=0.5 --batch_size=64 --eval_batch_size=64 --use_focus=True --n_mixture=3 --decoding=greedy
I got this result：
  Traceback (most recent call last):   File "train.py", line 22, in <module>     from utils.tensor_utils import repeat   File "/home/alznn/focusseq2seq/FocusSeq2Seq/utils/__init__.py", line 1, in <module>     from .rouge import *   File "/home/alznn/focusseq2seq/FocusSeq2Seq/utils/rouge/__init__.py", line 1, in <module>     from .perl_rouge import *   File "/home/alznn/focusseq2seq/FocusSeq2Seq/utils/rouge/perl_rouge.py", line 13, in <module>     assert os.path.exists(rouge_path) AssertionError
Do anyone have any idea about this error?

Have you installed the ROUGE-1.5.5 below the python lib requirements?
If you're not interested in summarization, you can simply comment out importing utils/rouge here.

Have you installed the ROUGE-1.5.5 below the python lib requirements?
If you're not interested in summarization, you can simply comment out importing utils/rouge here.

Yeah!!!
it works~~
Thanks a lot!!!!


Why this sametime ?

Cannot import dcn. Ignore this warning if dcn is not used. Otherwise install BasicSR with compiling dcn.
Cannot import fused_act and upfirdn2d. Ignore this warning if they are not used. Otherwise install BasicSR with compiling them.
Testing 0 bbb
Traceback (most recent call last):
File "test_scripts/test_esrgan.py", line 55, in
main()
File "test_scripts/test_esrgan.py", line 46, in main
output = model(img)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 105, in forward
body_feat = self.conv_body(self.body(feat))
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 117, in forward
input = module(input)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 61, in forward
out = self.rdb1(x)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 39, in forward
x5 = self.conv5(torch.cat((x, x1, x2, x3, x4), 1))
RuntimeError: CUDA out of memory. Tried to allocate 4.77 GiB (GPU 0; 15.90 GiB total capacity; 6.50 GiB already allocated; 1.06 GiB free; 12.87 GiB reserved in total by PyTorch)

Sometime is running ( Pic ) sometime this Massage !? :-(

Cannot import dcn.... Because you do not compile these operators. But if you do not use these operators, you could just ignore them.
CUDA out of memory means that your input image is too large and the GPU memory is not enough. You can 1) split your image to sub-images and restore and finally merge them


Cerbero owr build error

As report by mail:
[(38/39) openwebrtc-gst-plugins-static -> fetch ]
[(38/39) openwebrtc-gst-plugins-static -> extract ]
[(38/39) openwebrtc-gst-plugins-static -> configure ]
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/ios_universal/armv7s/openwebrtc-gst-plugins-static-0.0.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/ios_universal/armv7s/openwebrtc-gst-plugins-static-0.0.1/config.sub
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/ios_universal/x86/openwebrtc-gst-plugins-static-0.0.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/ios_universal/x86/openwebrtc-gst-plugins-static-0.0.1/config.sub
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/ios_universal/armv7/openwebrtc-gst-plugins-static-0.0.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/ios_universal/armv7/openwebrtc-gst-plugins-static-0.0.1/config.sub
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/ios_universal/arm64/openwebrtc-gst-plugins-static-0.0.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/ios_universal/arm64/openwebrtc-gst-plugins-static-0.0.1/config.sub
[(38/39) openwebrtc-gst-plugins-static -> compile ]
[(38/39) openwebrtc-gst-plugins-static -> install ]
[(38/39) openwebrtc-gst-plugins-static -> post_install ]
[(38/39) openwebrtc-gst-plugins-static -> merge ]
[(39/39) openwebrtc -> fetch ]
[(39/39) openwebrtc -> extract ]
[(39/39) openwebrtc -> configure ]
Recipe 'openwebrtc' failed at the build step 'configure'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 143, in _cook_recipe
    stepfunc()
  File "./cerbero/build/recipe.py", line 263, in <lambda>
    setattr(cls, step, lambda self, name=step: step_func(self, name))
  File "./cerbero/build/recipe.py", line 408, in _do_step
    stepfunc()
  File "/Users/ephilip/Code/cerbero/recipes/openwebrtc.recipe", line 149, in configure
    os.chdir(gir_file_path)
OSError: [Errno 2] No such file or directory: '/Library/Frameworks/OpenWebRTC.framework/Versions/0.1/share/gir-1.0'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

@nirbheek?

You first have to build the OSX version of OpenWebRTC. Only then you can build iOS.

I will tell him. Can we close the issue then?

Yes, unless that wasn't the problem and something else is wrong. Let's reopen then.

Hello
I'm the OR of this issue.  I did start by building the OSX version of OpenWebRTC (I am on Yosemite).  Navigating to ~/Library/Frameworks, I have some sort of recursive directory created that may be part of the issue?

Here is the log when I tried building the OSX version:
edwardMacbook:cerbero edward$ ./cerbero-uninstalled -c config/osx-x86-64.cbc package openwebrtc
WARNING: Using default configuration because /Users/ephilip/.cerbero/cerbero.cbc is missing
Building the following recipes: libiconv gettext libffi zlib glib orc bzip2 gobject-introspection bionic-fixup gtk-doc-lite gstreamer-1.0 gst-plugins-base-1.0 libvpx gst-plugins-good-1.0 openh264 opus libsrtp gst-plugins-bad-1.0 libnice gstreamer-1.0-static gst-plugins-base-1.0-static gst-plugins-good-1.0-static gst-plugins-bad-1.0-static libnice-static intltool gnome-js-common seed json-glib libxml2 gmp nettle libtasn1 gnutls glib-networking libsoup openssl openwebrtc-gst-plugins openwebrtc openwebrtc-osx-framework openwebrtc-gst-plugins-static
[(1/40) libiconv -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz to /Users/ephilip/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz
File /Users/ephilip/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz already downloaded.
[(1/40) libiconv -> extract ]
-----> Extracting tarball to /Users/ephilip/cerbero/sources/darwin_x86_64/libiconv-1.14
Unpacking /Users/ephilip/cerbero/sources/local/libiconv-1.14/libiconv-1.14.tar.gz in /Users/ephilip/cerbero/sources/darwin_x86_64
[(1/40) libiconv -> configure ]
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/darwin_x86_64/libiconv-1.14/build-aux/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/darwin_x86_64/libiconv-1.14/libcharset/build-aux/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/darwin_x86_64/libiconv-1.14/build-aux/config.sub
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/darwin_x86_64/libiconv-1.14/libcharset/build-aux/config.sub
[(1/40) libiconv -> compile ]
[(1/40) libiconv -> install ]
[(1/40) libiconv -> post_install ]
[(2/40) gettext -> fetch ]
-----> Fetching tarball http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz to /Users/ephilip/cerbero/sources/local/gettext-0.19.4/gettext-0.19.4.tar.gz
File /Users/ephilip/cerbero/sources/local/gettext-0.19.4/gettext-0.19.4.tar.gz already downloaded.
[(2/40) gettext -> extract ]
-----> Extracting tarball to /Users/ephilip/cerbero/sources/darwin_x86_64/gettext-0.19.4
Unpacking /Users/ephilip/cerbero/sources/local/gettext-0.19.4/gettext-0.19.4.tar.gz in /Users/ephilip/cerbero/sources/darwin_x86_64
[(2/40) gettext -> configure ]
[(2/40) gettext -> compile ]
[(2/40) gettext -> install ]
[(2/40) gettext -> post_install ]
[(3/40) libffi -> fetch ]
[(3/40) libffi -> extract ]
[(3/40) libffi -> configure ]
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/darwin_x86_64/libffi-3.2.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/darwin_x86_64/libffi-3.2.1/config.sub
[(3/40) libffi -> compile ]
[(3/40) libffi -> install ]
[(3/40) libffi -> post_install ]
[(4/40) zlib -> already built ]
[(5/40) glib -> fetch ]
-----> Fetching tarball http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.42/glib-2.42.0.tar.xz to /Users/ephilip/cerbero/sources/local/glib-2.42.0/glib-2.42.0.tar.xz
File /Users/ephilip/cerbero/sources/local/glib-2.42.0/glib-2.42.0.tar.xz already downloaded.
[(5/40) glib -> extract ]
-----> Extracting tarball to /Users/ephilip/cerbero/sources/darwin_x86_64/glib-2.42.0
Unpacking /Users/ephilip/cerbero/sources/local/glib-2.42.0/glib-2.42.0.tar.xz in /Users/ephilip/cerbero/sources/darwin_x86_64
[(5/40) glib -> configure ]
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/darwin_x86_64/glib-2.42.0/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/darwin_x86_64/glib-2.42.0/config.sub
[(5/40) glib -> compile ]
[(5/40) glib -> install ]
[(5/40) glib -> post_install ]
[(6/40) orc -> already built ]
[(7/40) bzip2 -> already built ]
[(8/40) gobject-introspection -> already built ]
[(9/40) bionic-fixup -> already built ]
[(10/40) gtk-doc-lite -> already built ]
[(11/40) gstreamer-1.0 -> already built ]
[(12/40) gst-plugins-base-1.0 -> already built ]
[(13/40) libvpx -> already built ]
[(14/40) gst-plugins-good-1.0 -> already built ]
[(15/40) openh264 -> already built ]
[(16/40) opus -> already built ]
[(17/40) libsrtp -> already built ]
[(18/40) gst-plugins-bad-1.0 -> already built ]
[(19/40) libnice -> already built ]
[(20/40) gstreamer-1.0-static -> already built ]
[(21/40) gst-plugins-base-1.0-static -> already built ]
[(22/40) gst-plugins-good-1.0-static -> already built ]
[(23/40) gst-plugins-bad-1.0-static -> already built ]
[(24/40) libnice-static -> already built ]
[(25/40) intltool -> already built ]
[(26/40) gnome-js-common -> already built ]
[(27/40) seed -> already built ]
[(28/40) json-glib -> already built ]
[(29/40) libxml2 -> already built ]
[(30/40) gmp -> already built ]
[(31/40) nettle -> already built ]
[(32/40) libtasn1 -> already built ]
[(33/40) gnutls -> already built ]
[(34/40) glib-networking -> already built ]
[(35/40) libsoup -> already built ]
[(36/40) openssl -> already built ]
[(37/40) openwebrtc-gst-plugins -> already built ]
[(38/40) openwebrtc -> fetch ]
[(38/40) openwebrtc -> extract ]
[(38/40) openwebrtc -> configure ]
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.guess to /Users/ephilip/cerbero/sources/darwin_x86_64/openwebrtc-0.0.1/config.guess
-----> copying /Users/ephilip/Code/cerbero/data/autotools/config.sub to /Users/ephilip/cerbero/sources/darwin_x86_64/openwebrtc-0.0.1/config.sub
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I/Library/Frameworks/OpenWebRTC.framework/Versions/0.1/share/aclocal -I/Users/ephilip/cerbero/build-tools/share/aclocal --force
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
autoreconf: configure.ac: tracing
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
autoreconf: running: /Users/ephilip/cerbero/build-tools/bin/autoconf --force
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
autoreconf: running: /Users/ephilip/cerbero/build-tools/bin/autoheader --force
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:16: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:16: the top level
configure.ac:13: installing './compile'
configure.ac:16: installing './config.guess'
configure.ac:16: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
bindings/java/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... rm: conftest.dSYM: is a directory
yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking for clang option to accept ISO C99... none needed
checking for clang option to accept ISO Standard C... (cached) none needed
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin12
checking host system type... x86_64-apple-darwin12
checking target system type... x86_64-apple-darwin12
checking how to print strings... printf
checking for a sed that does not truncate output... /Users/ephilip/cerbero/build-tools/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... ld
checking if the linker (ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... rm: conftest.dSYM: is a directory
BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12 file names to x86_64-apple-darwin12 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12 file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from clang object... rm: conftest.dSYM: is a directory
ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GSTREAMER... no
configure: error: Package requirements (gstreamer-1.0 >= 1.4 gstreamer-rtp-1.0 >= 1.4 gstreamer-video-1.0 >= 1.4 gstreamer-app-1.0 >= 1.4) were not met:

No package 'gstreamer-1.0' found
No package 'gstreamer-rtp-1.0' found
No package 'gstreamer-video-1.0' found
No package 'gstreamer-app-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTREAMER_CFLAGS
and GSTREAMER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Running command 'mkdir -p m4 && gtkdocize && autoreconf -fiv'
Running command './configure --prefix /Library/Frameworks/OpenWebRTC.framework/Versions/0.1 --libdir /Library/Frameworks/OpenWebRTC.framework/Versions/0.1/lib  --disable-gtk-doc --disable-static                 --disable-owr-static --enable-shared --disable-maintainer-mode  --disable-silent-rules  --enable-introspection  --build=x86_64-apple-darwin12'

Recipe 'openwebrtc' failed at the build step 'configure'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

I'm going to try the entire process again from scratch and will provide the entire console log by the EOD.
Thanks

The OpenWebRTC.framework that you should use for iOS development is found in:
~/Library/Developer/OpenWebRTC/iPhone.sdk/OpenWebRTC.framework

I just had a thought - is the bootstrapping step for the MacOSX build in the build instructions?

@emphilip Did you delete any files since a previous build? It believes that you already built gstreamer-1.0 and others, but can't find during the build.
Maybe run
./cerbero-uninstalled -c config/osx-x86-64.cbc wipe --build-tools
[type yes]
./cerbero-uninstalled -c config/osx-x86-64.cbc bootstrap
./cerbero-uninstalled -c config/osx-x86-64.cbc package openwebrtc
If this still fails the same way, please attach the generated config.log from openwebrtc's configure.

I also experienced this issue. In my case, it was caused by the fact that I had not installed cerbero in the home directory (as mentioned in the docs).
After removing everything and installing cerbero in ~/cerbero, and doing a build I didn't experience any errors anymore.

@sdroege I didn't delete any files, but i'm trying the entire process from scratch for better traceability.
edwardMacbook:~ edward$ ls
Applications	Code		Desktop		Documents	Downloads	Library		Movies		Music		Pictures	Public		VirtualBox VMs	dumps
edwardMacbook:~ edward$ git clone https://github.com/nirbheek/cerbero.git
Cloning into 'cerbero'...
remote: Counting objects: 18188, done.
remote: Compressing objects: 100% (4401/4401), done.
remote: Total 18188 (delta 13731), reused 18139 (delta 13701)
Receiving objects: 100% (18188/18188), 4.52 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (13731/13731), done.
Checking connectivity... done.
edwardMacbook:~ edward$ sudo mkdir /Library/Frameworks/OpenWebRTC.framework
Password:
edwardMacbook:~ edward$ sudo chown $UID /Library/Frameworks/OpenWebRTC.framework/
edwardMacbook:~ edward$ cd cerbero/
edwardMacbook:cerbero edward$ mkdir -p dist
edwardMacbook:cerbero edward$ mkdir -p /Library/Frameworks/OpenWebRTC.framework/Versions/0.1
edwardMacbook:cerbero edward$ ln -s /Library/Frameworks/OpenWebRTC.framework/Versions/0.1 dist/darwin_x86_64
edwardMacbook:cerbero edward$ cd cerbero
edwardMacbook:cerbero edward$ ./cerbero-uninstalled -c config/osx-x86-64.cbc wipe --build-tools
-bash: ./cerbero-uninstalled: No such file or directory
edwardMacbook:cerbero edward$ cd ..
edwardMacbook:cerbero edward$ ./cerbero-uninstalled -c config/osx-x86-64.cbc wipe --build-tools
WARNING: Using default configuration because /Users/ephilip/.cerbero/cerbero.cbc is missing
WARNING!!!
This command will delete cerbero's build cache, the sources directory, and the builds directory to reset the build system to its initial state.
The following paths will be removed:
/Users/ephilip/cerbero/darwin_x86_64.cache
/Library/Frameworks/OpenWebRTC.framework/Versions/0.1
/Users/ephilip/cerbero/logs/darwin_x86_64
/Users/ephilip/cerbero/sources/darwin_x86_64
/Users/ephilip/cerbero/build-tools.cache
/Users/ephilip/cerbero/build-tools
/Users/ephilip/cerbero/sources/build-tools
Do you want to continue? [yes/no] yes
Are you sure? [yes/no] yes
-----> Removing path: /Users/ephilip/cerbero/darwin_x86_64.cache
-----> Removing path: /Library/Frameworks/OpenWebRTC.framework/Versions/0.1
Running command 'rm -rf /Library/Frameworks/OpenWebRTC.framework/Versions/0.1'
-----> Removing path: /Users/ephilip/cerbero/logs/darwin_x86_64
Running command 'rm -rf /Users/ephilip/cerbero/logs/darwin_x86_64'
-----> Removing path: /Users/ephilip/cerbero/sources/darwin_x86_64
Running command 'rm -rf /Users/ephilip/cerbero/sources/darwin_x86_64'
-----> Removing path: /Users/ephilip/cerbero/build-tools.cache
-----> Removing path: /Users/ephilip/cerbero/build-tools
Running command 'rm -rf /Users/ephilip/cerbero/build-tools'
-----> Removing path: /Users/ephilip/cerbero/sources/build-tools
edwardMacbook:cerbero edward$ ./cerbero-uninstalled -c config/osx-x86-64.cbc bootstrap
WARNING: Using default configuration because /Users/ephilip/.cerbero/cerbero.cbc is missing
WARNING: No bootstrapper for the distro version osx_yosemite
File /var/folders/kn/68k97p2j3dl0k_m8tn7v8fy00000gn/T/tmpeNMDlC already downloaded.
Running command 'chmod +x /var/folders/kn/68k97p2j3dl0k_m8tn7v8fy00000gn/T/tmpeNMDlC'
Running command 'sudo /var/folders/kn/68k97p2j3dl0k_m8tn7v8fy00000gn/T/tmpeNMDlC XML::Parser'
Password:
WARNING: Using default configuration because /Users/ephilip/.cerbero/cerbero.cbc is missing
WARNING: Could not recover status
Building the following recipes: libiconv gettext xz tar m4 autoconf automake libtool pkg-config orc-tool gettext-m4 sed gettext-tools libffi zlib glib gobject-introspection gnome-common gtk-doc-lite gperf intltool yasm bison flex
[(1/24) libiconv -> fetch ]
....

I'll follow up here when this is complete.

@sdroege the wiki does not say anything about deleting files before rebuilding. Could you add that step to the instructions?

@stefanalund that's not necessary, I just asked that in case @emphilip had an inconsistent state currently... which is how his build problem looked like.

@sdroege I suppose it could be in a troubleshooting/ things to try in case of errors section.

Thank you for all the support.  @ijsf was right - I had created a repository in a subdirectory of my home directory instead of my home directory itself.
I've been able to successfully compile and run the framework & simpleDemo application.  Though the remote video feed just shows up as a black box, the framework builds and integrates really nicely.  @stefanalund @sdroege  Thanks a ton for the support.  The wiki is really clear now as well.
You can close this ticket.

Hi @emphilip I have tried your mentioned steps and during the packaging process got this issue:
D -MP -MF .deps/libgobject_2_0_la-gbinding.Tpo -c gbinding.c -o libgobject_2_0_la-gbinding.o >/dev/null 2>&1
mv -f .deps/libgobject_2_0_la-gboxed.Tpo .deps/libgobject_2_0_la-gboxed.Plo
mv -f .deps/libgobject_2_0_la-gbinding.Tpo .deps/libgobject_2_0_la-gbinding.Plo
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Running command 'make -j4'
Recipe 'glib' failed at the build step 'compile'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
Please, help me to fix this issue guys.

@vdev2015 Your issue seems different from the one discussed on this issue. Could you open a new issue with a full log of the failure?

I saw the issue @vdev2015 pasted above during my build efforts and I think it has been fixed. The pasted text is not actually the error, that's just where one of the make jobs stops I think.
@vdev2015 Can you try to update cerbero according to the wiki ( https://github.com/EricssonResearch/openwebrtc/wiki/Building-OpenWebRTC-with-Cerbero#updating ) and create a new issue if you still have problems?


supports media:content

Is there already a way to use output media:content instead of the enclosure tags for the images?
Thanks

Closing this as it is working using the code sample provided as of #35

I get this errror in chrome
error on line 25 at column 97: Namespace prefix media on content is not defined

@chovy i ran into this issue, you need to use custom_namespaces option like this
...
custom_namespaces: {
  media: "http://search.yahoo.com/mrss/",
}
...


"The access token is from the wrong issuer" error

From Scott Hanselman's demo at Ignite. https://mediastream.microsoft.com/events/2016/1609/Ignite/player/session5.html at the 41 minute mark.
This might be caused by the browser session not having the right permission to the portal. If that is the case here, we should improve the error message and show the same text as the regular Web App blade.
Function app name: mikeammfunctions
Screen capture of the error from the video:

We can punt if can't repro.


[FLINK-26940][Table SQL / API] Add SUBSTRING_INDEX supported in SQL & Table API

What is the purpose of the change
Add SUBSTRING_INDEX supported in SQL & Table API.
Examples:
> SELECT substring_index('www.apache.org', '.', 2);
 www.apache

Brief change log
SUBSTRING_INDEX for Table API and SQL
Verifying this change
This change added tests and can be verified as follows: StringFunctionsITCase#substringIndexTestCases
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

@flinkbot run azure


Convert line endings to LF

Fixes #145
Proposed solution. It's a bit nuclear as described in the issue, but it works.

What was CRLF messing up?

The only downside that comes to mind is that it makes merges with past revisions a headache. Otherwise not really.


[BUG] - Form does not update JSON input value after react-hydration-error

Description
In my options.tsx file I'm showing user name and user email in method toString
   model: {
      User: {
         title: "Users",
         toString: (user) => `${user.name} (${user.email})`,

But it causes error when I'm opening a form with existed record:

On the form I have JSON input component which does not return updated value anymore after those errors, so basically I'm not be able to update json data for the opened record.
If I just remove user.email from toString methods, everything works fine:
   model: {
      User: {
         title: "Users",
         toString: (user) => user.name ?? "",

Reproduction URL
none
Reproduction steps
none

Next router
App router
Next Admin version
4.4.4
Screenshots
![DESCRIPTION](LINK.png)

Next Admin options
No response
Logs
No response
Browsers
No response

Hello @DriveSoft , could you please update to v5 and check if the issue still persists ? Thank you !


Refactor data prepper release process

Is your feature request related to a problem? Please describe.
There has been a development in the way artifacts are released. We would like to re-do the data-prepper release process to use the new process https://github.com/opensearch-project/opensearch-build/issues/1234
Old release process jenkins file : https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/data-prepper/release-data-prepper-all-artifacts.jenkinsfile
Describe the solution you'd like

Add release-drafter GitHub action workflow that will build the artifacts and upload the artifacts to a draft release. Sample workflow
Add a new jenkins file to this repository that downloads those artifacts from the above draft release and uses a new lib called publishToMaven that autopublishes the maven artifacts to maven. Similary, other libraries such as copyContainer for copying container images to different platforms. This jenkins File uses draft release as a trigger.

In this new process, all that a maintainer needs to do is push a tag and the releasing artifacts to different platforms will be taken care by the GHA and jenkins workflows.
Describe alternatives you've considered (Optional)
Continue to use what we have.
Additional context
Add any other context or screenshots about the feature request here.

@gaiksaya , I believe we are almost doing this process.
We have a release GHA which builds artifacts and uploads them to our staging repository. This is similar to the release-drafter requested.
We also have an existing Jenkinsfile which you linked to. This copies from the artifacts we have above.
It sounds like the gap we have is only related to triggering these jobs. I understand you are looking for the following changes.

Trigger the release job when a tag is pushed
Trigger the Data Prepper Jenkinsfile when the release build is complete.

One thing that we do want to account for here is an idea of nightly releases. We've had several requests to provide nightly or weekly builds. We'd need to be sure that for such release builds, they do not trigger the Jenkinsfile.

Yes, trigger when tag is cut.
The current process needs a manual run by providing input the parameters. Trying to see how can we get out of that.
Few changes than we have made since then include maven publishing being completed automated. No manual intervention is required now (Need to make few changes in that jenkins file)
Regarding nightly builds, what artifacts would that be? I see multiple artifacts in this process.

@bbarani , We are working on this for the 2.3 release and plan to start using it with that release.

Overall Approach
The overall approach is to trigger the existing Data Prepper Jenkins job using a custom draft release trigger on Jenkins. This will be integrated into the existing Data Prepper release GitHub Action job.
You can conceptually view the release as:

Build artifacts (existing)
Smoke tests (existing)
Confirm release using a GitHub issue.
Start the Jenkins promotion job.

Release GitHub Action
We will add the following steps to the existing Data Prepper GitHub Action:

Create a release issue which requires approval from two Data Prepper maintainers.
Generate a release descriptor YAML file. See details below.
Draft a GitHub release. Attach the release descriptor YAML to this draft release.

The Data Prepper repository will have a custom trigger for draft releases to start a Jenkins job. Thus, step 3 above will trigger Jenkins.
Jenkins Trigger
The opensearch-build project will need a new Jenkins trigger for Data Prepper. This trigger will be somewhat different than the existing trigger used by clients.
This trigger will:

Get the draft release.
Download the release descriptor from the draft release.
Start the existing Jenkins job for promoting Data Prepper releases.

Release descriptor format.
The release descriptor file will be a fairly straightforward YAML file.
A simple example which relates to our 2.3.2 release build (build 33 on Jenkins).
version: 2.3.2
build_number: 60
release_major_tag: true
release_latest_tag: true

Create a release issue which requires approval from two Data Prepper maintainers.
How can we get approvals on an issue?

I thought the GA is going to create a PR for release.

Sample issue @asifsmohammed : https://github.com/opensearch-project/opensearch-py/issues/462
Uses this GH action: https://github.com/opensearch-project/opensearch-py/blob/main/.github/workflows/release-drafter.yml#L17-L24

@asifsmohammed , It is not a PR, but a GH issue as @gaiksaya noted.
The GHA will poll this issue looking for two comments from maintainers which have the known text.
You can see an example in my current testing right here: https://github.com/dlvenable/data-prepper/issues/316


Font size

What feature or improvement do you think would benefit Files?
It'll be perfect if I can change the size of fonts.
I know Files have already custom space between elements/icons, but it'll be better if font size could be customized as well.
Requirements

This proposal will improve readability on longer text labels, and benefits some languages (as Spanish & French which labels/folders name use to be longer than English)

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3527
Comments
No response

Thank you for your feedback, while we don't have plans to implement this option right now, this isn't the first time it's been requested, and we remain open to the possibility of revisiting it in future discussions


Bundler cop idea: recommend eval_gemfile

To make it easy for developers to locally work with additional dependencies without having to wrestle with source control (adding it locally and then avoiding committing it) a pretty common pattern is to do this:
eval(File.read('Gemfile.local')) if File.exist?('Gemfile.local')

I believe this is why Bundler added eval_gemfile to their DSL.
It seems like this is public API for it to be in the bundler DSL so it probably makes sense to encourage it. Helps people avoid having to write # rubocop:disable Security/Eval too :smile:

BTW here is the evidence that this is a pretty common pattern people follow. https://github.com/search?utf8=✓&q=eval+File.read+Gemfile&type=Code&ref=searchresults

Sounds good to me.
On Sun, Jan 15, 2017 at 07:06 John Backus<EMAIL_ADDRESS>wrote:

BTW here is the evidence that this is a pretty common pattern people
follow.
https://github.com/search?utf8=✓&q=eval+File.read+Gemfile&type=Code&ref=searchresults
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bbatsov/rubocop/issues/3903#issuecomment-272663197,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGVyoM9lCpqDY57Vg9qSOlJFhdaflgFks5rSWMJgaJpZM4Ljx7x
.

Please note that eval_gemfile is still (purposefully) undocumented, and while we strive to support it, we do not fully consider it public API at this point

Oh ok interesting. Thanks @segiddins


An alternative python interface for MLC LLM

It seems there is no official support for interacting with MLC LLM using python api yet. For the convenience of anyone who wants to develop a program that integrates MLC LLM, I wrote a simple code that runs mlc_chat_cli in a subprocess and redirects input/output using pipe, so that anyone can plug MLC LLM into their code. Glad to see official python interface someday.
See code at https://github.com/XinyuSun/mlc-chatbot

It seems there is no official support for interacting with MLC LLM using python api yet

Actually, there is one: https://github.com/mlc-ai/mlc-llm/blob/main/tests/chat.py

Sure! It looks great. It would be better to provide a README for deployment using python. Thx!

We will have tutorials on making use of MLC LLM APIs in Python/Javascript/Java/Swift, etc

I actually think this interface is nice wrapper on top of mlc_chat_cli


Frame decoding cluster

Outlining a plan for turning this into a super nice video dataloader. The main functionality missing is to allow the user to take advantage of an imbalance of cheap CPU compute / expensive GPU compute by launching a frame decoding cluster on the CPU cluster and connecting to that cluster on the GPU cluster and simply sending requests for decoded video shards.
Steps in the process

Launch the cluster of N Frame workers. It begins decoding videos into some shared memory structure
Dataloader request data from the cluster
Cluster sends metadata about shards over some link (metadata is fine since small)

What concepts do we need:

Video Manager: which videos get decoded and how they get allocated on the mem
Frame decoder: how do you decode each video specifically
Shared memory data structure: should support variety of options, S3, /fsx, etc.
Some schema for how the data is organized in memory: shared frame queue? just shard with ids?
Communication: what do we send to the loader?
Loader: how does the loader extract pixels from memory + metadata from communication

Video Manager:

Important to support things like shuffle buffers and whatnot
Calls workers with data

Frame decoder: (already solved here)


Unity Updating Error.

I Want To Update My Unity Chroot From 12.04 To 14.04 And Run Gnome-Shell On It. But Whenever I Try To Update To It Fails Updating At First It Gives An Error Where InitScripts Cant Be Downloaded And It Continues Then It Stops From To Many Errors It Says And When It Finishes The Dash Home Logo Is Blank And Then When I Restart It Wont Launch What Am I Doing Wrong Thanks!
Please Respond ASAP

Also If I Trying Using Trusty Release I Get A Missing EGL Support Error After It Starts Preparing Chroot Enviorment

Let's see what you've installed; what's the output of:
sudo edit-chroot -al
For guidance in general, check out the wiki page: Upgrade chroot release

this is the error i got.

chronos@localhost / $ sudo edit-chroot -al
name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
chroot: failed to run command '/usr/local/bin/croutonversion': No such file or directory

When I Restart It Wont Launch What Am I Doing Wrong Thanks!

Judging by the result of croutonversion, your update attempt(s) may have broken your chroot.
Can you get into your chroot shell using:
sudo enter-chroot -n trusty

Wait a minute, are you working on two different chroots 'precise' and 'trusty' ?
If so, let's work on the original problem with 'precise' before we get to the problem with 'trusty'.
For the problem with 'trusty', you can join in on a couple of other issues already open.

for some reason my unity chroot got deleted so im going to retry it. idk what happened :I

A 'unity' chroot ???
I think it'd be a very good idea to close this issue.
Once you straighten out things on your end, you can try again.
If you run into trouble later, then come back.

i meant my precise chroot with the target of unity.

Whew!!!!


Vue2.7 setup  injectH

Version
2.7.2
Reproduction link
github.com
Steps to reproduce
npm i
npm run serve

What is expected?
I used @vue/compostion-api with jsx  in Vue 2.6 ,
and I solved since  issue
[
      '@vue/cli-plugin-babel/preset',
      {
        jsx: {
          compositionAPI: true
        }
      }
]

Now I upgrade  to  Vue 2.7, I removed @vue/compostion-api  plugin , then  use @vue/babel-preset-jsx instead
h  syntax:
const colunmns=[
{
    label:''date",
    render:(h,row)=>return h('span',row.date)
}
]

What is actually happening?
I hope the jsx code works
const colunmns=[
{
    label:''date",
    render:row=>return <span>{row.date}</span>
}
]

I have a same issues,
// file1
const  columns = [
{
label: '客服名称',
prop: 'name',
},
{
label: '联系方式',
render: (h: any, scope:  { row: OrgCustomerService}) => {
return h('span', null, scope.row.contactType === ContractType.Phone ? '电话客服' : '微信客服')
}
},
]

// table render function

this code in @vue/composition-api is work,,but update v2.7 is not work, throw error :

see https://github.com/vuejs/jsx-vue2/issues/285#

see vuejs/jsx-vue2#285

hi,thks  for your  reply, now  what should I update ?
    [
      '@vue/babel-preset-jsx',
      {
        injectH: false,
        importSource: 'source'
      }
    ]

you menu like this?

@ringgoyao
This was not released.Might as well try following code.
import { h } from 'vue'
const colunmns=[
{
    label:''date",
    render:(_,row)=>return h('span',row.date)
}
]

@iceprosurface
yes, h  can work in fact , I will try after it release

Fixed in https://github.com/vuejs/jsx-vue2/releases/tag/v1.3.0
Note that you still need the explicit compositionAPI: true config to opt-in to this feature.


Update app-insights-code-sample-export-telemetry-sql-database.md

some meaningful description added as a developer of this project

Hi @arunvinoth, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

OK, thanks!


Forgot to force cell value to integer

Silly but important: set_cell errors out if its argument isn't either a string or an int, and in some cases it gets passed a float.

LGTM


eInk optimizations

Continued from #109:

What I meant was whether the design of LittlevGL requires a certain refresh rate in order for things to work properly (i.e. showing button toggles).

I ask because most eInk screens cannot handle high refresh rates without some hacking, which I haven't gotten into yet. Therefore, I lowered LV_REFR_PERIOD in lv_conf.h. I then noticed that while button actions were still called, I could no longer see the visual toggle effect.

Is there a way to force a refresh even outside of LV_REFR_PERIOD?

Therefore, I lowered LV_REFR_PERIOD in lv_conf.h. I then noticed that while button actions were still called, I could no longer see the visual toggle effect.

It was not visible because you didn't press the button longer than LV_REFR_PERIOD?
As I see these are contrary things:

Lower refresh rate
Have a refresh rate fast enough for quick button presses.

Anyway, maybe lv_refr_now() might help. It will call the refresh task to make a refresh immediately.

@kisvegabor Can lv_refr_now be called in the indev_read context?
I really want to call it immediately after the touch is detected and processed by LittlevGL. How would you recommend doing that?

You can call in the action.
There was a discussion about a "feedback" callback. It would be triggered when a user interacts with the object and in the feedback callback he can play a "click" sound or start a vibro motor.
It seems easy to implement and it can be used the react to the user action with lv_refr_now()

It would be great!
My view was:
lv_indev_set_feedback(indev, my_feedback);

void my_feedback(lv_indev_t * indev, lv_signal_t signal)
{
   if(signal == LV_SIGNAL_RELEASED) {
   /*Do something*/
   }
}

I have an idea how to easily  implement maybe it helps. In lv_obj_signal() is lv_indev_get_act() != NULL call the feedback with the related signals.
Once we will introduce the new actions system I think lv_action_type_t would be better instead of lv_signal_t

@kisvegabor Yes, thank you for merging it!

As I see, working with eInk displays seems challenging. Would you e interested in writing a blog post about your experiences?

@kisvegabor I would be happy to do that. How do I create a post?


Disable Client-Side Caching on Debug

Disable client-side caching in order to keep static files reloading for each request.

This is a good place to look at.

Devs can actually close their cache on developer console in their browser. So this won't be needed.


improvement: support full-widith input UI elements

Added to these elements

mo.ui.text,
mo.ui.text_area
mo.ui.button
mo.ui.number
mo.ui.dropdown
mo.ui.multiselect
mo.ui.date

Note in the smoke test, full width does not apply when its parent is flex (e.g. a hstack). There is a fixable solution by making it flex: 1 and then updating a few components to be display: contents. but this can break other elements. easier to show live, but my guess is we can support this later

Note in the smoke test, full width does not apply when its parent is flex (e.g. a hstack). There is a fixable solution by making it flex: 1 and then updating a few components to be display: contents. but this can break other elements. easier to show live, but my guess is we can support this later

I think this is fine.


New approach to updating DependencyCheck database

Hello!
The NIST website contains information about retiring all legacy data feeds (will be only API) to December 15th, 2023.
Will it affect the process of regular updating DependencyCheck database? API will be have rate limits, maximum size of downloading records in one request will be 2000.
Is this fact taken into account in the development plans for DependencyCheck project?

Here is a comment from Jeremy Long regarding this: https://github.com/jeremylong/DependencyCheck/issues/4732#issuecomment-1637861929


create_media_comment raises AttributeError

AttributeError: 'NoneType' object has no attribute 'items'
This is caused because POST /media/{media-id}/comments returns:
{
    "meta": {
        "code": 200
    },
    "data": null
}

And the response_type on create_media_comment() is 'entry', I believe it should be 'empty'

Fixed in 0.7.1


Meta tag for blog social media preview

What's your idea?
Currently when we paste the link to https://acmcsuf.com/blog/643 in Discord or any other social media, it'll look boring like this:

We want something cool like this so it's easier to share the latest blog post and more eye-catching for members

This may be helpful, Open Graph Meta Tag

Reference: #525


add memory limits for assembly

The variable java_mem and megahit_memory were defined in the config file but not passed to all rules.
I added the memory restriction via the snakemake key-word resources for all rules using scripts of the bbsuite and megahit.
mem is an integer of the memory allocated for each job in GB.
The cluster.json  can be used to run ATLAS on a slurm cluster with sbatch.

#20
a possible solution

@brwnj where do I have to change the atlas make-config command, so that the config file generated has the correct values for the memory. (int)

Here it is: https://github.com/pnnl/atlas/blob/master/atlas/conf.py#L114


Fix "Check for Updates" functionality

I noticed that a release candidate for version 2.0.0 is available, but I was using an alpha version and discovered that the "Check for updates" feature isn't functioning as expected. It should notify users of new versions.

@pmusolino this is intended, because until release, things are change fast. As 2.0.0 is not yet a 'release' version, it is not available from the updater. When 2.0.0 is finally released, it should be available via the updater for all previous versions, including beta and RC (ETA is this week).
Since it's not a real issue, I'll close this now, but thanks for bringing it to my attention!


Remove merge, sbt scripts as unused

I think we don't need these, as this simple project doesn't need a merge script to deal with JIRA nor a custom sbt download

Codecov Report

Merging #349 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #349   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          14     14
  Lines         744    744
  Branches       54     54
=====================================
  Misses        744    744

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 edb1de7...aaa96a4. Read the comment docs.


Some status checks not being updated with multiple PR-triggered copr_build jobs sharing the same copr project

beaker-project/beaker has 3 copr_build jobs with pull_request trigger and different chroots configured.
It seems that on PRs in that repo (example) at least one status check always gets stuck in SRPM build succeeded. Waiting for RPM build to start... even though the build and the job finished successfully.
From the logs, it looks like in such cases the org.fedoraproject.prod.copr.build.start message is received by the fedmsg consumer but not processed further, so the status check is for the first time updated by SRPM build start event, then again by SRPM build end event, and then after corresponding org.fedoraproject.prod.copr.build.end is processed the handler ends with Copr build <ID> is already processed (status=success). As far as I can tell, babysit task doesn't play a role in this, it just repeatedly reports No feedback for copr build id=<ID> yet.

I would say for this usecase the identifiers should be utilised to prevent this. We could make this more explicit in docs, WDYT?

@nforro after our discussion on standup, I had another look into the code and really think the reason of this is not using identifiers, as it means that any of the builds can be processed by handler created for any of the jobs (as we do not check targets match in pre-checks). And if e.g. build for epel-7 is processed by the handler for job config where epel-7 is not in the targets list, the model in DB is updated, but the status is not reported (as when reporting, we do something like target in self.job.targets).

Ok, that makes sense, I didn't realize that. In that case I think it's fine to document this and have the users use identifiers.


spatial sound - Added spread,spatial,reverb curve to UAudioManager

Hi @AsoboStudio, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Thanks!

Looks like this code piece got merged without the CLA signed? We should avoid that.
@AsoboStudio could you please follow the email steps you got and sign the agreement using the online weblink? Appreciate it!


Swizzling delegate sometimes blocks callback

Hello
After updating to 1.3 I have some random issues with delegate callbacks not happening.
The network connection object is created, configured, resumed and the console prints:
2016-05-28 17:17:26.884 App[10023:1911837] === TrustKit: SSL Pin found for {domain}
2016-05-28 17:17:26.885 App[10023:1911837] === TrustKit: Pin validation succeeded for {domain}

And then nothing happens. No error callback, no success either, My app just remains in the loading state forever, confusing users.
I did clean/build and emptied derived data folder. No change. Downgrading to 1.2.5 seems to fix the problem. I use NSURLSession with AFNetworking.
On another note, the console prints:
TSKPublicKeyAlgorithms =             (
                0
            );

On launch, instead of the algorithms I specified in the config, like: kTSKPublicKeyAlgorithms : @[kTSKAlgorithmRsa2048],
I don't know if that's an error, but it seems odd to me.
Edit: It seems it does not affect iPads. I don't really see any patterns to it. Observed on (different) iPhones with iOS 9.3.1 (and Simulator). If I remove TrustKit entirely it goes away, and as I said it also does not happen on 1.2.5.

Thanks - I'll look into it. You are leveraging kTSKSwizzleNetworkDelegates, correct?

I am not sure what you mean. In didFinishLaunching, I am doing this, and only this, to take advantage of TrustKit:
NSDictionary *trustKitConfig =
    @{
      kTSKSwizzleNetworkDelegates: @YES,
      kTSKPinnedDomains : @{
              @"mydomain.com" : @{
                      kTSKPublicKeyAlgorithms : @[kTSKAlgorithmRsa2048],
                      kTSKPublicKeyHashes : @[
                              @"PIN of my public key 1"
                              @"PIN of my public key 2"
                              ],
                      kTSKIncludeSubdomains : @YES,
                      kTSKEnforcePinning : @YES,
                      kTSKDisableDefaultReportUri : @YES
                      }
              }};

    [TrustKit initializeWithConfiguration:trustKitConfig];

Yes, kTSKSwizzleNetworkDelegates is set to @YES by default. It is the thing that makes TrustKit magically intercept the App's connections to do SSL pinning.

Okay. As I wrote in the topic that's also the solution I'm using. Honestly I don't know how else to do it :)
Sent from my iPhone
On 31 May 2016, at 19:05, Alban Diquet <notifications<EMAIL_ADDRESS>wrote:
Yes, kTSKSwizzleNetworkDelegates is set to @YES by default. It is the thing that makes TrustKit magically intercept the App's connections to do SSL pinning.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/datatheorem/TrustKit/issues/48#issuecomment-222753673, or mute the threadhttps://github.com/notifications/unsubscribe/AIBYsmJsFnYK9k06xicATb4PcGFtb7SFks5qHGpPgaJpZM4IpGOE.

The other solution is to manually call into TSKPinningValidator to validate the server certificate in your connection delegates; it's described at the end of the "Getting Started" guide. By the way you have kTSKDisableDefaultReportUri enabled but if you have interest, you're free to use our dashboard for reviewing the reports.

Ah, okay. But the swizzling is a lot easier than that, and I don't need to do anything custom.
Please let me know if you want me to debug anything on 1.3 (and in that case explicitly what).
Sent from my iPhone
On 31 May 2016, at 19:38, Alban Diquet <notifications<EMAIL_ADDRESS>wrote:
The other solution is to manually call into TSKPinningValidator to validate the server certificate in your connection delegates; it's described at the end of the "Getting Started" guide. By the way you have kTSKDisableDefaultReportUri enabled but if you have interest, you're free to use our dashboard for reviewing the reports.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/datatheorem/TrustKit/issues/48#issuecomment-222763043, or mute the threadhttps://github.com/notifications/unsubscribe/AIBYsluTXKcOiKnbywIb5kV2rMBRsdEhks5qHHIZgaJpZM4IpGOE.

I am not able to reproduce this so far. Which version of AFNetworking are you using?

I'm sorry, I didn't receive any email indicating you had posted here (or I missed it). I use the latest version; 3.1.0.
That's odd. Is there anything you'd like me to try for you? I did absolutely nothing but downgrade from 1.3 to 1.2.5 to get it to work, and I did try upgrading and downgrading again just to be sure.

No worries. I think I know what the bug is; thanks for the help.

You're welcome. I'll add 1.3.1 to my project and test it out once it's available through Pods.

1.3.1 is on Pods now. Let me know if you still see the same issue.
Thanks!


breaking(api): section data rework

These changes represents the current state of our section ui. Some notable changes:

no recursive stages anymore. only two level stages.
explicit companion items
no explicit width for stage items. handled via stage_layout

The docs are wip.

friendly reminder: https://github.com/stroeer/tapir/issues/229 (because of go failing)


On the Feasibility and Viability of Sharding and Side-Chains on Substrate

Hello Team,
I am new to polkadot protocol and substrate framework. Is it possible to implement sharding and shaded side chains similar to Ethereum 2.0. architecture on a new chain built on substrate framework. Would it be an unnecessary overhead in context of para-chains and para-threads?

Parachains/parathreads already are "cut & choose roll ups".  They provide shared security under byzantine assumptions, as opposed to zk rollups which provide shared security under cryptographic assumptions.  They require far less total CPU time than zk rollups, and execute in a more conventional computational model, but cost more bandwidth, although not necessarily that much more bandwidth if you ask the zk rollup to be live and decentralized.
We've discussed chain that demand even less CPU time, but provide less security, but realistically some bespoke single hop L2 designs work better.

Thank you so much @burdges for the detailed response. It is quite interesting to know that parachains and parathreads are essentially similar to rollups. In this context, are these parachains and parathreads talking directly to the runtimes or do we need specific pallets to verify and aggregate the rollups into the relay chain. Sorry if my question is confusing or out of context.

We block finality upon approvals, meaning we inherently rollup anything our relay chain finalizes, so regular parachains do not do anything special.  We do have some parachains that implement strange consensus rules like bridges, and thus do not capture their whole state of course.
As for checking finality from other consensus protocols, we'll implement finality proofs eventually under beefy, but polkadot itself would use the aggregated public key system in development, not the merkle proof sampling system designed to do proof to ethereum.

Thank you so much for the guidance on parachain types. It is also exciting to see the roadmap for finality proofs on beefy. I will work further on this structure.


Dlib installing error

face_recognition version:~
Python version:3.6.7
Operating System:Ubuntu 16.04

Description
I came across a problem when installing dlib. I have already installed cmake and python boost.

Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
  File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
  File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
  File "setup.py", line 257, in <module>
    'Topic :: Software Development',
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 161, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 147, in call_command
    self.run_command(cmdname)
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/install_lib.py", line 23, in run
    self.build()
  File "/usr/lib/python3.6/distutils/command/install_lib.py", line 109, in build
    self.run_command('build_ext')
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "setup.py", line 133, in run
    self.build_extension(ext)
  File "setup.py", line 173, in build_extension
    subprocess.check_call(cmake_build, cwd=build_folder)
  File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j1']' returned non-zero exit status 2.

please help me!!!
What I Did
sudo apt-get install cmake
sudo apt-get install libboost-python-dev
sudo python3 setup.py install

did you solve it ? because i ran into the same error !

@Sword-holder  you need to apt-get install python3-dev

[Resolved]
I didn't have python3.6-dev. Because I'm using python3.6.7, and my computer has python3.6, 3.5, 2.7 at the same.
If I type
apt-get install sudo apt-get install libboost-python-dev
python2.7-dev will be installed by default. If I type
apt-get install python3-dev
Then python3.5-dev will be installed.
So You need to specify the version of python dev by typing
apt-get install python3.6-dev
@rshgithub
Thank you! @colorfulberry

I also met something like this on CentOS 7. I solved it by yum install python36-devel.

Building CXX object CMakeFiles/_dlib_pybind11.dir/src/face_recognition.cpp.o got stuck here into this loop .. Need help


[cost] Tag Guacamole Workspace Service in Terraform

PR for issue
T3858 Tag Guacamole Workspace Service in Terraform

Include tre_id, tre_workspace_id, tre_workspace_service_id tags in guacamole service

/test

/test-extended


0.53.1 is not published

Git tag and bintray release for 0.53.1 are missing

Releasing now, thank you for the report!


Add experimental support for templates and appending

In the long run it would be great if the CLI was also capable of manipulating files. As explained in #3 this is not trivial to build, so a first step would already be to append new data to an existing file.
This PR introduces an experimental append subcommand. It will be included in the v1.2 release, albeit still hidden. (So you can use the feature if you know the command, but neither does it show up in the main help nor is it documented).
The idea is this: You can have template files in ~/.klog/ suffixed with .template.klg. For example, ~/.klog/work.template.klg, which could contain this:
{{TODAY}} (8h!)
Yet another day at work...
    {{NOW}} - ?

The template files are basically regular klog files, but they can contain placeholders: currently {{TODAY}}, {{YESTERDAY}} for the date, and {{NOW}} for the time.
With this you can do klog append --from=work mytimes.klg, which instantiates the template ~/.klog/work.template.klg, substitues the variables, and appends the result to mytimes.klg (or your bookmark, if no file was specified).
I think this approach is relatively straightforward, and it also gives users a lot of flexibility. Curious for feedback.

this is a great feature, I like it! Would be great if it was possible to set a default template or if there only is template, choose this. This would make the command a bit shorter to type. Of course this could be achieved with shell aliases or shell auto suggestions., but I think it might just be a tad nicer to have it baked in.


UP031 does not detect cases where percent operator is used on an f-string

This is admittedly a bit of a weird case, but I saw it in the wild and was surprised that Ruff wasn't flagging it as a lint error. With the UP ruleset enabled, Ruff isn't detecting the case where the % formatting operator is used on an f-string. Here's an example:
def percent_formatting(x: str) -> str:
    return "%s" % x

def percent_formatting_and_f_string(x: str, y: str) -> str:
    return f"{x} %s" % y

Ruff will correctly flag the first function as having an issue, but the second one it silently ignores. I've created a playground link for this: https://play.ruff.rs/d0eec036-39bb-4db1-b55c-2dde7babaf7d
What I'd ideally expect is for Ruff to flag the second case as an issue and to suggest that the argument to the % be folded into the f-string, as f"{x} {y}". Even if it can't suggest that specific fix, I think it would good to at least report that there is an error and that the author shouldn't be mixing formatting types like that.

That makes sense. Thanks for reporting this

I don't think I would consider this as a bug because we need to expand the scope of the rule to cover f-strings as currently it only checks for string literals.

I'm not very opinionated whether it's a bug or not. My take here is that, as a user, I would find it surprising that UP031 doesn't flag f-strings.


⚠ Bofrost.es has degraded performance

In 798c805, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1745 ms

Resolved: Bofrost.es performance has improved in f1b7264 after 14 minutes.


Configure @RetrofitServiceConfiguration annotation with Interceptors

User can able to configure custom Intercepters through the @RetrofitServiceConfiguration

Implemented Configuration in @RetrofitServiceConfiguration enabled intercepters


Hz/limiter

Positivity-Limiter from Gassner and Rueda-Ramírez based on https://arxiv.org/pdf/2102.06017.pdf.

Implementation of the limiter for 1D and 2D
3D variant can be added. Needs only index adjustments.
By calling "rhs!", a lot of memory is still allocated.

@sloede


[Feature Request] Deprecate functions and use tools to align with the latest openai api

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Motivation
function_call is deprecated in favor of tool_choice and functions is deprecated in favor of tools in the latest openai api.
Solution
No response
Alternatives
No response
Additional context
No response

this issue is solved with https://github.com/camel-ai/camel/pull/556


Text font color in dropdown items is still wrong in Light.DarkActionBar

I'm using Theme.Sherlock.Light.DarkActionBar in my project, along with a spinner in my Action Bar with elements of R.layout.sherlock_spinner_item.
However, the text color is still the normal Holo Dark black. This is like #223, but it only applies to Light.DarkActionBar.
(Also, could you add a sherlock_spinner_dropdown_item? It would be much appreciated.)

This is sort of a platform bug, actually. I noticed before the RC but chose to hold off on fixing it.
Basically what happens is the layout pulls the primary text color from the theme to use in the selected spinner view. On a dark theme the primary color is light and on a light theme the primary color is dark. As you said, the problem arises when you use light/dark because the theme is based on the light theme making the primary text color dark. Since the action bar is explicitly set dark, though, we get the black text on dark gray background.
The solution here is to provide your own spinner layout for the selected item which forces the use of a text appearance with a light text color. Since I imagine a lot of people will be having similar problems, I'll provide a sherlock_spinner_item_light_dark or something to save people the trouble.
Why did you want the sherlock_spinner_dropdown_item? I thought the built-in one worked fine on all the platforms I tested.

The dark spinner item would be nice, thanks.
At least for me, the built-in dropdown spinner item has the same color problem as the built-in spinner item. I could create my own, but I'm too lazy ;)

http://code.google.com/p/android/issues/detail?id=25624

You can remove your fix for that. This isn't a bug, it's using the wrong context. Using getSupportActionBar().getThemedContext() when creating the adapter solves it for me (tested on ics, gingebread and froyo).

Great catch! I always forget about the themed context.

Just tested it for the normal Holo.Light theme. You can also remove sherlock_spinner_dropdown_item and sherlock_spinner_item (commit was b744d1f/issue 223). Using the simple_spinner_item together with the themed context works fine.
This was the code I used:
ArrayAdapter spinnerAdapter = ArrayAdapter.createFromResource(actionBar.getThemedContext(), R.array.app_navigation, android.R.layout.simple_spinner_item);
spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

On 2.3.4 it shows up incorrectly on pre-3.0 using the native layouts.


Allow debug session to exclude all other files except the current file

I'm in a scenario where I find neither of the debug options could help me efficiently stop on the line that I care about:

Let's say, I'm rendering a component that's backed by some data object for 100 times.
An exception is thrown in the component rendering logic. Stack trace points to a line in my component rendering code.
I want to break on that single line when the exception is thrown.

My current options are all cumbersome:

Breakpoint on that line: It'll be hit 100 times.
Conditional breakpoints: I would need to know the reason for the exception to be thrown (something I don't know at the point of debugging), and guard against that in my condition.
Break uncaught/all exception: I might hit 100 exceptions, while I only care about one of them. The exception might be caught by a node module and re-thrown, so I end up in a file I'm totally not interested in.

I think either of these two things would help me a lot:

Allow me to exclude all other files, except the file I'm working on. So even if my line gets an exception thrown that's 100-levels down in the call stack, I can stay at the top level.
Allow me to add "Exception Break Point", so that when an exception happens, it stops on the line that I care about, for example

if (fun1(obj1) && fun2(obj2) && obc3.foo !== null) { // The line I'm interested in

}

The exception might be thrown inside executing fun2(obj2), but I want to debug on the line where I can see obj1/obj2/obj3.
If this is inside a gulp task, the exception would be caught and re-thrown from files under node_modules/gulp, but none of the info in the node_modules/gulp folder would be useful for my debugging.

After checking with @roblourens, this seems to be an issue where skipFiles don't work as expected:

An error is thrown in a gulp.task callback function
Gulp would catch this error and re-throw another one
skipFiles has node_modules/**/* and <node_internals>/**/*
When I start a debugging section with All Exceptions checked, I expect to hit the exception
Observe: No exception hit.

https://github.com/octref/gulp-debug

I filed https://github.com/Microsoft/vscode-node-debug2/issues/212, I don't know whether this is resolved by that issue or whether this is still an independent feature request?

I guess what I want (exception breakpoints) are only possible in a time-traveling debugger.
I would still suggest making node_modules/**/* and <node_internals>/**/* the default for node launch config, though.


THORN-2241: fix build so that all artifacts are properly built and SNAPSHOTs don't have to be downloaded when generating BOMs

Motivation
Some artifacts (Camel components) don't get built properly,
because of missing feature pack ZIP dependencies. Some artifacts
(Camel components and hollow JARs) that are built properly don't
generate source JARs, because they don't have actual sources.
Both these problems cause the BOM generation process to download
SNAPSHOTs of these artifacts from external locations. That is wrong
and also causes huge slowdowns. It's also pretty easy to fix.
Modifications
Added all 3 WildFly feature packs as dependencies to all Camel
components (via the parent POM).
Fixed erroneous module names in module.conf files in Camel
components.
Configured the Maven source plugin to force source JAR generation.
Result
Build is now correct and also much faster.

[x] Have you followed the guidelines in our Contributing document?
[x] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

Windows build failed because of disk space.


Update index.md

A minor language change to line 6.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you @mejraf for your contribution.


noDebug: true debugs

Testing #100963

have an extension sample, set a breakpoint on first line in activate-function
debug from the viewlet, breakpoint hit, stop debugging
have the snippet below
debug via the command
:bug: breakpoint hit

	vscode.commands.registerCommand('extension.helloWorld', async (args) => {
		try {
			const session = await vscode.debug.startDebugging(vscode.workspace.workspaceFolders![0], 'Run Extension', { noDebug: true })
			console.log('DEBUG', session)
		} catch (err) {
			console.error(err);
		}
	});

This is probably becauase js-debug currently does not support noDebug. So first assigning to @connor4312
@jrieken as a workaround you can set "debug.extensionHost.useV3": false, and that should make you use the old node debugger

Duplicates https://github.com/microsoft/vscode-js-debug/issues/523. I'm probably going to fix this in my run of the test plan.

Fixed in the next nightly


cmd/go: make 'cmd/internal/load' public

For a piece of build-related tooling, I recently had call to list the main packages within a source tree.
I was disappointed to discover that go list uses an internal package to perform this task, and therefore the code to list Packages isn't available for use outside of go itself.
I'd like to propose that at least a public-facing interface over cmd/internal/load be made available, since listing packages is a fundamental operation to development related tooling. T
he consequence of the load package not being available that either

this task must be performed by shelling out to go list which means that that interface must be made safe for machine use (and also that errors in that task will only be discovered at runtime.)
the code from the load package will be imitated (or copied), leading to balkanized buggy re-implementations over time.

Our general policy on this has been that the go tool itself is the API.  To do this kind of operation, simply invoke the go tool.  We don't want to have to maintain a library API.

I can appreciate that position, but in terms of building go tooling in go, the go tool then becomes a library API. Are the commands, their arguments and their output being treated as a software API?
Conversely, as I've dug in further, aspects of this tooling refer out e.g. to go/build so significant parts of the go tool machinery are being provided as a library API.
My immediate use case here is "what packages are available to import", which turns out to be a knotty problem. (My personal chestnut has to do with multple entries in the GOPATH.) Does it make sense for that task to get reimplemented?

The go tool is being used in various scripts, so in effect we are locked in to its general behavior.  The go/build package was an idea that I think has not worked out all that well as ideas have moved forward.
I believe that the question of "what packages are available be import" is answered by
go list -f '{{.ImportPath}}' ...


image meta-data

bias level, gain corrections, sky value from image header
zero points
FWHM from sextractor catalogs
PSF Neff from PSFEx
image center

image center

Start to implement here 8e94f136cce4f9d4d95baba87f1acc6626622133
but missing gains (should be separate?), Neff, and zero points.
Zero points depend on SDSS...

7d917d1 add field centers and gain corrections
zero points have to be done externally

setting to future for PSF Neff


Hi how do i use this?

No examples given for hiding and unhiding text please reply with 2 examples.

Actually, this script made for educational reasons only. I forget to mention that the script is made to be linked with this article ( It's in Arabic language but maybe google translate help you ):
https://3alam.pro/3mmarg97/articles/steganography-using-lsb-implementation-in-php
Anyway, To hide a text in an image you can use the class like this:

The hideText method should return a number. This number is important to extract the text from the image later. You can save the number in a database to use it later. Or you can create a PR to save the number in the image as a metadata.


[Issue]: For configuring AzureOpenAI how to send the value user appkey ?

Describe the issue
Hi Team,
I am using an Enterprise Azure OpenAI endpoint. I am using Deployment = 'gpt-35-turbo-16k'
For my enterprise we have a parameter 'appkey', which identifies our unique application in Azure OpenAI.
To load the LLM model i generally use the following method
from langchain_openai import AzureChatOpenAI

llm = AzureChatOpenAI(deployment_name="gpt-35-turbo-16k",
                       api_key=token_response.json()["access_token"],
                       api_version="2023-12-01-preview",
                       model_kwargs=dict(
                       user=f'{{"appkey": "{APP_KEY}"}}'
                     )
        )

This is my config_list for the same Azure OpenAI configuration for Autogen
config_list = [
  {
    "model": "gpt-35-turbo-16k",
    "api_type": OPENAI_API_TYPE,
    "api_key": token,
    "base_url": OPENAI_API_BASE,
    "api_version": OPENAI_API_VERSION
  }
]

However i am unable to understand how to provide the 'appkey' value, or if it will be supported. Couldn't find an additional user parameter or equivalent.
Any guidance will be highly appreciated.
Thanks in advance.
Steps to reproduce
No response
Screenshots and logs
No response
Additional Information
No response

Could you try adding the model_kwargs in the config?

It worked Thank you so much.
Putting the final config_list that worked for me, for anyone requiring a reference:
config_list = [
  {
    "model": "gpt-35-turbo-16k",
    "api_type": OPENAI_API_TYPE,
    "api_key": token,
    "base_url": OPENAI_API_BASE,
    "api_version": OPENAI_API_VERSION,
    "user" : f'{{"appkey": "{OPENAI_APP_KEY}", "user": "{USER_ID}"}}'
  }
]

Could you try adding the model_kwargs in the config?

Just want to add, if you directly put "model_kwargs" in config_list it throws exception TypeError: Completions.create() got an unexpected keyword argument 'model_kwargs'
I the final config_list i have shared works correctly.


Stack trace in kaiterra on startup

Home Assistant release with the issue:

Home Assistant 0.100.1
Frontend version: 20191002.2 - latest
Last working Home Assistant release (if known):
None - New Integration
Operating environment (Hass.io/Docker/Windows/etc.):

Raspberry PI 3
HASSIO
Integration:

https://www.home-assistant.io/integrations/kaiterra/
Description of problem:
The integration starts up and appears to retrieve some data as I get the following sensors successfully:
sensor.laseregg_chemical_??????battery
sensor.laseregg_chemical??????humidity
sensor.laseregg_chemical??????_temperature
However, I don't actually get any air quality sensors created.
Log looks like this:
2019-10-12 00:09:41 INFO (MainThread) [homeassistant.setup] Setting up kaiterra
2019-10-12 00:09:54 WARNING (MainThread) [homeassistant.setup] Setup of kaiterra is taking over 10 seconds.
2019-10-12 00:09:54 DEBUG (MainThread) [homeassistant.components.kaiterra.api_data] Couldn't fetch data
2019-10-12 00:09:54 ERROR (MainThread) [homeassistant.setup] Error during setup of component kaiterra
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
kaiterra:
  api_key: !secret laser_egg_api_key
  devices:
    - device_id: !secret laser_egg_id
      type: laseregg

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/kaiterra/__init__.py", line 67, in async_setup
    await api.async_update()
  File "/usr/src/homeassistant/homeassistant/components/kaiterra/api_data.py", line 67, in async_update
    _LOGGER.debug("New data retrieved: %s", data)
UnboundLocalError: local variable 'data' referenced before assignment

Additional information:

Hey @bazza2000,
Looks like Kaiterra API had some problems at the time. Does it work for you now?
Thanks for traceback, I will fix the uncaught error during startup if service is not available :)

Thanks for the quick check.  No I've tried a few restarts since and its the same error each time.  Happy to add debug if you can guide me.

Could you check if this returns 401 for you?
curl https://api.kaiterra.cn/v1/lasereggs/test --connect-timeout 10

`
core-ssh:/config# curl https://api.kaiterra.cn/v1/lasereggs/test --connect-timeout 10
{"errors":[{"status":"401","title":"error","details":"No auth credentials were specified"}]}
core-ssh:/config#
`

@bazza2000
Hmm that's interesting. Could you try to use Kaiterra test device id 00000000-0001-0001-0000-00007e57c0de, restart HA and check if similar entities were created?
i.e.

I get a similar Traceback:
2019-10-13 23:49:12 DEBUG (MainThread) [homeassistant.components.kaiterra.api_data] Couldn't fetch data 2019-10-13 23:49:12 ERROR (MainThread) [homeassistant.setup] Error during setup of component kaiterra Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component     hass, processed_config   File "/usr/src/homeassistant/homeassistant/components/kaiterra/__init__.py", line 67, in async_setup     await api.async_update()   File "/usr/src/homeassistant/homeassistant/components/kaiterra/api_data.py", line 67, in async_update     _LOGGER.debug("New data retrieved: %s", data) UnboundLocalError: local variable 'data' referenced before assignment
and the following on the states page:

Also found this

Are you sure you are using correct api key? Do you have any custom_components installed?
This component should create only 3 sensors for now:

air_quality.laseregg_air_quality
sensor.laseregg_humidity
sensor.laseregg_temperature

I've checked my API key as follows:
core-ssh:/config# curl https://api.kaiterra.cn/v1/lasereggs/00000000-0001-0001-0000-00007e57c0de?key=???????????????????????????????????????????????????????? --connect-timeout 10
{"id":"00000000-0001-0001-0000-00007e57c0de","info.aqi":{"ts":"2019-10-13T23:13:33Z","data":{"humidity":59,"pm10":120,"pm25":190,"rtvoc":285,"temp":13}}}
Seems to work fine. I did have some platform command_line configuration, which populated sensors with a similar (but not the same) name, but I've commented them out of the configuration.yaml and restarted and still same error.  I only have a couple of custom components, xbox and customizer, none of which look at anything around laseregg.   I found the air quality was due to the "airvisual" platform config so not related.

this is what I get when I use my correct device id:
core-ssh:/config/custom_components/customizer# curl https://api.kaiterra.cn/v1/lasereggs/????????????????????????????????????????????????key=OWYxZTlhZmI3MmMzNGViNmEyNDczYmFhZjM3ZjliMzJmZGVk --connect-timeout 10
{"id":"??????????????????????????????????????????","info.aqi":{"ts":"2019-10-13T23:17:41Z","data":{"humidity":51.71,"pm10":0,"pm25":0,"rtvoc":394,"temp":23.68}}}

is it possible to continue this investigation in this thread, or would I need to raise a new issue when I've had a chance to test the code change?

For me it would be fine to continue here, but I can't reopen the issue. @balloob Could you make it happen?

@bazza2000 You could try to do similar modifications in your local copy of HA and check if this works for you. Since you are using HASS, you would need to attach to the running container (ie. sudo docker exec -it homeassistant /bin/bash).

Ok, will give it a go.  In the mean time, just found that zerconf (discovery:) was finding the LaserEgg via autodiscovery, hence the "LaserEgg" entries. I've disabled discovery and restarted.  Still same errors, but let me try the updated code.

Ok, looking better, although we still get the
DEBUG (MainThread) [homeassistant.components.kaiterra.api_data] Couldn't fetch data from Kaiterra API
It appears to create the entities and populate.
2019-10-14 09:11:48 INFO (MainThread) [homeassistant.setup] Setting up kaiterra 2019-10-14 09:11:59 WARNING (MainThread) [homeassistant.setup] Setup of kaiterra is taking over 10 seconds. 2019-10-14 09:11:59 DEBUG (MainThread) [homeassistant.components.kaiterra.api_data] Couldn't fetch data from Kaiterra API 2019-10-14 09:11:59 INFO (MainThread) [homeassistant.setup] Setup of domain kaiterra took 11.0 seconds. 2019-10-14 09:12:01 INFO (MainThread) [homeassistant.components.air_quality] Setting up air_quality.kaiterra 2019-10-14 09:12:02 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new air_quality.kaiterra entity: air_quality.laseregg_air_quality 2019-10-14 09:12:13 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.kaiterra 2019-10-14 09:12:13 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.kaiterra entity: sensor.laseregg_temperature 2019-10-14 09:12:13 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.kaiterra entity: sensor.laseregg_humidity 2019-10-14 09:12:32 DEBUG (MainThread) [homeassistant.components.kaiterra.api_data] New data retrieved: [{'rhumid': {'units': <Units.Percent: '%'>, 'points': [{'ts': datetime.datetime(2019, 10, 14, 8, 8, 33, tzinfo=datetime.timezone.utc), 'value': 49}]}, 'rpm10c': {'units': <Units.MicrogramsPerCubicMeter: 'µg/m³'>, 'points': [{'ts': datetime.datetime(2019, 10, 14, 8, 8, 33, tzinfo=datetime.timezone.utc), 'value': 120, 'aqi': 83}]}, 'rpm25c': {'units': <Units.MicrogramsPerCubicMeter: 'µg/m³'>, 'points': [{'ts': datetime.datetime(2019, 10, 14, 8, 8, 33, tzinfo=datetime.timezone.utc), 'value': 152, 'aqi': 202}]}, 'rtemp': {'units': <Units.DegreesCelsius: 'C'>, 'points': [{'ts': datetime.datetime(2019, 10, 14, 8, 8, 33, tzinfo=datetime.timezone.utc), 'value': 12}]}, 'rtvoc': {'units': <Units.PartsPerBillion: 'ppb'>, 'points': [{'ts': datetime.datetime(2019, 10, 14, 8, 8, 33, tzinfo=datetime.timezone.utc), 'value': 302, 'aqi': 101}]}}]

@bazza2000 Looks good now ;) I will try to find out why the very first call timeouts, but that might be above my HA understanding.

I have a better underatand myself now,so will take a look too.  Really appreciate you taking the time to help out. Many thanks.

@MartinHjelmare Is it possible that this line have some kind of unpredictable behavior? Maybe it should be wrapped with hass.async_create_task instead of using await?

I don't see anything bad there. We use a timeout which is good. We won't block home assistant from starting that way.

Ok, thank you for input.


Cocoapods install fail

Here is the result of "pod install"
Updating local specs repositories

CocoaPods 0.39.0.beta.5 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `AsyncPhotoBrowser (~> 0.2.0)` required by `Podfile`

Checkout the 0.2.1 version (if it has not been pushed to specs git yet, you can do
pod 'AsyncPhotoBrowser', :git => 'https://github.com/DJBen/AsyncPhotoBrowser.git', :tag => '0.2.1'

Still not available on:
pod 'AsyncPhotoBrowser', :git => 'https://github.com/DJBen/AsyncPhotoBrowser.git', :tag => '0.2.1'

Result:
Updating local specs repositories

CocoaPods 0.39.0.beta.5 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Pre-downloading: `AsyncPhotoBrowser` from `https://github.com/DJBen/AsyncPhotoBrowser.git`, tag `0.2.1`
[!] Unable to satisfy the following requirements:

- `AsyncPhotoBrowser (from `https://github.com/DJBen/AsyncPhotoBrowser.git`, tag `0.2.1`)` required by `Podfile`

Turns out that it was my podfile settings problem.
I set the platform to "8.0", this repository needs "9.0"

I should have had this repo backward compatible. However the cocoapods dependencies don't support iOS 8 so it kinda forces me to support only iOS 9 :(

I found that it should be the framework "Cartography" required iOS 9.0
So I just do some little hack on the Podfile, and it seems work great on iOS 8.0 with your DEMO
For your reference:
platform :ios, '9.0'
use_frameworks!

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "8.0"
        end
    end
end

target :AsyncPhotoBrowserDemo do
	pod 'AsyncPhotoBrowser', :git => 'https://github.com/DJBen/AsyncPhotoBrowser.git', :tag => '0.2.1'
end

pod 'FastImageCache', '~> 1.3'
pod 'Alamofire'
pod 'Cartography', '~> 0.6'


Create documentation to the project

Create documentation with the following content:

[ ] Introduction (project's purpose and intended audience)
[ ] Overall description (product perspective, features, use cases)
[ ] System features (description, stimulus)
[ ] External interface requirements (wireframes, hardware, software)
[ ] Nonfunctional requirements (performance, security and software quality requirements)

Currently blocked until wireframes are not created (#8)


Add #[must_use] annotations

Use of this attribute was expanded in the standard library in Rust 1.58, and there is now a clippy lint.
Silence the lint for REC methods, since dropping the REC is intended.
Also silence the lint for GPIO modifiers (set_speed) since these are also often dropped.

bors r+


Weird behavior when pasting a large token

When pasting a large token (in macOS at least) you can see a weird behavior after a certain delay.
The issue with this is that it results in a bad pasting as the sample token ends with SWYY, yet the pasted one in the TUI ends with mlzd
https://github.com/Julien-cpsn/ATAC/assets/83428506/071a5f98-bfde-4905-923d-40c47114176f

@NachoNievaG I think the problem is with key binding conflict. Seems like your token has H (capital h) which caused help menu trigger. You can try remapping the help binding to a key like ~
In your case I see the H in second line of token preview just after mlzd:
iJBZG1pbmlzdH

There is already a comment here for the same:
https://github.com/Julien-cpsn/ATAC/blob/main/key_bindings_templates/default_key_bindings.toml#L16
I was able to reproduce it, when pasting helloHelloHi
https://github.com/Julien-cpsn/ATAC/assets/14184045/a6ca85f9-5e0c-420b-90f3-c1ad9fdd3f89
I have created a ticket earlier which indirectly points to this issue.

Oh okay, I clearly flew by it yet ignore that. It would be nice to have the help triggered outside the "input mode", only on navigation. Given that it is a letter to potentially be prompted seems a little awkward.
I'll explore it later. Thanks for the eagle catch

Hello @G0V1NDS and @NachoNievaG
Being able to display the help popup from text input is planned (but it can also be changed)
They are two fixes to this:

Remaping the help popup key bindings to ctrl + h in the vim config file
Remove the ability to display the help popup from text inputs

What are your thoughts on this?

I find ctrl + h to be a common navigation binding for people using terminals, this is mostly used to switch the vim windows or the tmux panes. Either we can use a common help binding like F1 or we can remove it completely when in insert input boxes or in insert mode @Julien-cpsn .


New version: Tencent.QMProxyAccelerator version 3.0.9523.134

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

@SpecterShell, looks like the privacy url needs to be updated for this to pass


Editor freeze when clicking Skeleton node of a glTF scene with 500+ bones

Godot version:
3.2 rc 4
OS/device including version:
macos 10.15.2
Issue description:*
New Game Project.zip
Steps to reproduce:
open BAQIR-RIG.glb  click armature_baq node,editor freeze
Minimal reproduction project:
Bugsquad edit (keywords for easier searching): select, selecting, crash

Yeah confirm this using scene imported from escn.