error: command 'gcc' failed with exit status 1

Hi,
I'm having trouble installing pdftotext.  I'm using Python 3.6 on Anaconda 5.2.0 and pip version 18.0.  There seems to be a problem with gcc so I did conda install libgcc but that didn't make any difference.  I also made sure python3-dev was installed.
john@john-Virtual-Machine:~/py3eg$` pip install pdftotext
Collecting pdftotext
  Using cached https://files.pythonhosted.org/packages/96/41/aa31f4a6809eb0574674d6c0cf6bc0e00aaf0ea53c62db8a2d9af50b7cc6/pdftotext-2.1.0.tar.gz
Building wheels for collected packages: pdftotext
  Running setup.py bdist_wheel for pdftotext ... error
  Complete output from command /home/john/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9uyu6ggf/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-epbnqs4m --python-tag cp36:
  running bdist_wheel
  running build
  running build_ext
  building 'pdftotext' extension
  creating build
  creating build/temp.linux-x86_64-3.6
  gcc -pthread -B /home/john/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPOPPLER_CPP_AT_LEAST_0_30_0=0 -I/home/john/anaconda3/include/python3.6m -c pdftotext.cpp -o build/temp.linux-x86_64-3.6/pdftotext.o -Wall
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  pdftotext.cpp:3:10: fatal error: poppler/cpp/poppler-document.h: No such file or directory
   #include <poppler/cpp/poppler-document.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pdftotext
  Running setup.py clean for pdftotext
Failed to build pdftotext
Installing collected packages: pdftotext
  Running setup.py install for pdftotext ... error
    Complete output from command /home/john/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9uyu6ggf/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-sx0bea7r/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    building 'pdftotext' extension
    creating build
    creating build/temp.linux-x86_64-3.6
    gcc -pthread -B /home/john/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPOPPLER_CPP_AT_LEAST_0_30_0=0 -I/home/john/anaconda3/include/python3.6m -c pdftotext.cpp -o build/temp.linux-x86_64-3.6/pdftotext.o -Wall
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    pdftotext.cpp:3:10: fatal error: poppler/cpp/poppler-document.h: No such file or directory
     #include <poppler/cpp/poppler-document.h>
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/home/john/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9uyu6ggf/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-sx0bea7r/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-9uyu6ggf/pdftotext/

Any help would be greatly appreciated.
Thanks!

Are the poppler dev libraries installed?

I think so.
john@john-Virtual-Machine:~$ dpkg -l | grep poppler
ii  libpoppler-glib8:amd64  0.62.0-2ubuntu2.2  amd64   PDF rendering library (GLib-based shared library)
ii  libpoppler73:amd64  0.62.0-2ubuntu2.2  amd64   PDF rendering library
ii  poppler-data  0.4.8-2  all  encoding data for the poppler PDF rendering library
ii  poppler-utils  0.62.0-2ubuntu2.2  amd64  PDF utilities (based on Poppler)

That should be ok, shouldn't it?

Since this project uses poppler's CPP interface, you also need the libpoppler-cpp-dev package

Great, that worked.  Thanks!

I had the same error on macOS. Also I don't find any way to install the libpoppler-cpp-dev package on macOS. I tried brew search libpoppler, but no such formula or related formulae exist. Any help would be greatly appreciated.

It's interesting that I actually have the header file 'poppler-document.h' under the poppler path, which is '/usr/local/Cellar/poppler/0.71.0/include/poppler/cpp/poppler-document.h'. I think the compiler gcc couldn't find the header file for some reason but I don't know why specifically. Any ideas?

@lhyGit libpoppler-cpp-dev is one of the packages needed on Debian-based systems. For macOS, the packages you need are installed via brew install pkg-config poppler
If you still have issues after installing those, can you provide the output of pip --verbose install pdftotext here?

Reopening so I don't lose track of this

It looks like you're using anaconda, which is known to provide a strange build environment. Can you try to first install poppler via anaconda and then pip install pdftotext again? https://anaconda.org/conda-forge/poppler

Closing after no response for ten days.

I am not able to install libpoppler-cpp-dev in anaconda environment on windows
I get this message:
conda install libpoppler-cpp-dev
Collecting package metadata: done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:

libpoppler-cpp-dev

Current channels:

https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.

@GD-A-150800 Please don't post new unrelated questions on a closed issue.
I'm sorry to say that there is no support for Windows. The relevant issue in this case is #16.

Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-ephem-wheel-cache-om9ugrbq
Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-req-tracker-32o4332a
Created requirements tracker '/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-req-tracker-32o4332a'
Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747
Collecting pdftotext
1 location(s) to search for versions of pdftotext:

https://pypi.org/simple/pdftotext/
Getting page https://pypi.org/simple/pdftotext/
Looking up "https://pypi.org/simple/pdftotext/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pdftotext/ HTTP/1.1" 304 0
Analyzing links from page https://pypi.org/simple/pdftotext/
Found link https://files.pythonhosted.org/packages/d2/cf/b65a7431b1c0eaa54063823d6f083ecd9a2a879646af3d243eb09bc8d0b6/pdftotext-1.0.0.tar.gz#sha256=dc645669e88f138ca4a3f7d1e32e0974d4f051da5dffbbabad7cad62dba7bfc4 (from https://pypi.org/simple/pdftotext/), version: 1.0.0
Found link https://files.pythonhosted.org/packages/68/62/588c9a70a6c4acc6ec4fbc3c096a99032920c4965c4b231745bbd6e7d9f9/pdftotext-1.1.0.tar.gz#sha256=11536c3b91ea3fcdf9466109f304b897a4c49d25390c3ab231ec70acf6d5786d (from https://pypi.org/simple/pdftotext/), version: 1.1.0
Found link https://files.pythonhosted.org/packages/16/e3/3b432ac931a7b360899686312145ddc9d0ce7b5ac610eba43c3920937ced/pdftotext-2.0.0.tar.gz#sha256=65b78d9c8858b1e98d6b89a6c83e6dfcdaf0bde014dca89cfe10ced7dc38fc39 (from https://pypi.org/simple/pdftotext/), version: 2.0.0
Found link https://files.pythonhosted.org/packages/38/99/f247b4b27276f2789744900931d40e312564198a9412e653f3f1bb17def6/pdftotext-2.0.1.tar.gz#sha256=947359bde2f1d158d685414dcfb604a369f3fcee49012baf717a71816045d8ef (from https://pypi.org/simple/pdftotext/), version: 2.0.1
Found link https://files.pythonhosted.org/packages/05/7c/67643e2c10e99f1ac27eadfd9a3d4e13b920c2e922906aad87152cdc154d/pdftotext-2.0.2.tar.gz#sha256=0b82a9fd255a3f2bf5c861cf9e3174d3c4223e1e441bb060c611dcb4e65c6cb8 (from https://pypi.org/simple/pdftotext/), version: 2.0.2
Found link https://files.pythonhosted.org/packages/96/41/aa31f4a6809eb0574674d6c0cf6bc0e00aaf0ea53c62db8a2d9af50b7cc6/pdftotext-2.1.0.tar.gz#sha256=b7312302007e19fc784263a321b41682f01a582af84e14200cef53b3f4e69a50 (from https://pypi.org/simple/pdftotext/), version: 2.1.0
Found link https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz#sha256=e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb (from https://pypi.org/simple/pdftotext/), version: 2.1.1
Using version 2.1.1 (newest of versions: 1.0.0, 1.1.0, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1)
Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-unpack-ytr3efcw
Looking up "https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz" in the cache
Current age based on date: 4774
Ignoring unknown cache-control directive: immutable
Freshness lifetime from max-age: 365000000
The response is "fresh", returning cached response
365000000 > 4774
Using cached https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz
Downloading from URL https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz#sha256=e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb (from https://pypi.org/simple/pdftotext/)
Added pdftotext from https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz#sha256=e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb to build tracker '/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-req-tracker-32o4332a'
Running setup.py (path:/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/setup.py) egg_info for package pdftotext
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/pdftotext.egg-info
writing pip-egg-info/pdftotext.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/pdftotext.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/pdftotext.egg-info/top_level.txt
writing manifest file 'pip-egg-info/pdftotext.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/pdftotext.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/pdftotext.egg-info/SOURCES.txt'
Source in /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext has version 2.1.1, which satisfies requirement pdftotext from https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz#sha256=e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb
Removed pdftotext from https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz#sha256=e3ad11efe0aa22cbfc46aa1296b2ea5a52ad208b778288311f2801adef178ccb from build tracker '/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-req-tracker-32o4332a'
Building wheels for collected packages: pdftotext
Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-wheel-8iw2cs22
Building wheel for pdftotext (setup.py): started
Destination directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-wheel-8iw2cs22
Running command /Users/yuhangzhan/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-wheel-8iw2cs22 --python-tag cp36
running bdist_wheel
running build
running build_ext
building 'pdftotext' extension
creating build
creating build/temp.macosx-10.7-x86_64-3.6
<EMAIL_ADDRESS>-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wa,-q -DPOPPLER_CPP_AT_LEAST_0_30_0=1 -I/Users/yuhangzhan/anaconda3/include/python3.6m -c pdftotext.cpp -o build/temp.macosx-10.7-x86_64-3.6/pdftotext.o -Wall -mmacosx-version-min=10.9
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
pdftotext.cpp:3:42: fatal error: poppler/cpp/poppler-document.h: No such file or directory
#include <poppler/cpp/poppler-document.h>
^
compilation terminated.
error: command<EMAIL_ADDRESS>failed with exit status 1
Building wheel for pdftotext (setup.py): finished with status 'error'
Running setup.py clean for pdftotext
Running command /Users/yuhangzhan/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all
running clean
removing 'build/temp.macosx-10.7-x86_64-3.6' (and everything under it)
'build/lib.macosx-10.7-x86_64-3.6' does not exist -- can't clean it
'build/bdist.macosx-10.7-x86_64' does not exist -- can't clean it
'build/scripts-3.6' does not exist -- can't clean it
removing 'build'
Failed to build pdftotext
Installing collected packages: pdftotext
Created temporary directory: /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-record-46r7sw67
Running setup.py install for pdftotext: started
Running command /Users/yuhangzhan/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-record-46r7sw67/install-record.txt --single-version-externally-managed --compile
running install
running build
running build_ext
building 'pdftotext' extension
creating build
creating build/temp.macosx-10.7-x86_64-3.6
<EMAIL_ADDRESS>-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wa,-q -DPOPPLER_CPP_AT_LEAST_0_30_0=1 -I/Users/yuhangzhan/anaconda3/include/python3.6m -c pdftotext.cpp -o build/temp.macosx-10.7-x86_64-3.6/pdftotext.o -Wall -mmacosx-version-min=10.9
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
pdftotext.cpp:3:42: fatal error: poppler/cpp/poppler-document.h: No such file or directory
#include <poppler/cpp/poppler-document.h>
^
compilation terminated.
error: command<EMAIL_ADDRESS>failed with exit status 1
Running setup.py install for pdftotext: finished with status 'error'
Cleaning up...
Removing source in /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext
Removed build tracker '/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-req-tracker-32o4332a'
Exception information:
Traceback (most recent call last):
File "/Users/yuhangzhan/anaconda3/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/Users/yuhangzhan/anaconda3/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 393, in run
use_user_site=options.use_user_site,
File "/Users/yuhangzhan/anaconda3/lib/python3.6/site-packages/pip/_internal/req/init.py", line 57, in install_given_reqs
**kwargs
File "/Users/yuhangzhan/anaconda3/lib/python3.6/site-packages/pip/_internal/req/req_install.py", line 945, in install
spinner=spinner,
File "/Users/yuhangzhan/anaconda3/lib/python3.6/site-packages/pip/_internal/utils/misc.py", line 761, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/Users/yuhangzhan/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-record-46r7sw67/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/rh/d05s2xv16tqbt920qh3jpvb00000gn/T/pip-install-mdcga747/pdftotext/

Same problem again, with pkg-config, poppler installed

output.log
/usr/local/opt/poppler/include/poppler/cpp/poppler-page.h:39:22: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box(text_box&&);
^
/usr/local/opt/poppler/include/poppler/cpp/poppler-page.h:39:24: error: invalid constructor; you probably meant ‘poppler::text_box (const poppler::text_box&)’
text_box(text_box&&);
^
/usr/local/opt/poppler/include/poppler/cpp/poppler-page.h:40:33: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box& operator=(text_box&&);
^
/usr/local/opt/poppler/include/poppler/cpp/poppler-page.h:70:5: error: ‘unique_ptr’ in namespace ‘std’ does not name a type
std::unique_ptr<text_box_data> m_data;

Collecting pdftotext
Using cached https://files.pythonhosted.org/packages/21/35/60094dbadd9de2035873390b1cac25e01da605844eba6a07a53a82fa4adc/pdftotext-2.1.1.tar.gz
Building wheels for collected packages: pdftotext
Building wheel for pdftotext (setup.py) ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-O5algo/pdftotext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-oMHm6f --python-tag cp27:
ERROR: running bdist_wheel
running build
running build_ext
building 'pdftotext' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPOPPLER_CPP_AT_LEAST_0_30_0=1 -I/usr/include/python2.7 -c pdftotext.cpp -o build/temp.linux-x86_64-2.7/pdftotext.o -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from pdftotext.cpp:5:0:
/usr/local/include/poppler/cpp/poppler-page.h:39:22: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:39:24: error: invalid constructor; you probably meant ‘poppler::text_box (const poppler::text_box&)’
text_box(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:40:33: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box& operator=(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:70:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
std::unique_ptr<text_box_data> m_data;
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Failed building wheel for pdftotext
Running setup.py clean for pdftotext
Failed to build pdftotext
Installing collected packages: pdftotext
Running setup.py install for pdftotext ... error
ERROR: Complete output from command /usr/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-O5algo/pdftotext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-TF1_ts/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
running build
running build_ext
building 'pdftotext' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPOPPLER_CPP_AT_LEAST_0_30_0=1 -I/usr/include/python2.7 -c pdftotext.cpp -o build/temp.linux-x86_64-2.7/pdftotext.o -Wall
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from pdftotext.cpp:5:0:
/usr/local/include/poppler/cpp/poppler-page.h:39:22: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:39:24: error: invalid constructor; you probably meant ‘poppler::text_box (const poppler::text_box&)’
text_box(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:40:33: error: expected ‘,’ or ‘...’ before ‘&&’ token
text_box& operator=(text_box&&);
^
/usr/local/include/poppler/cpp/poppler-page.h:70:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
std::unique_ptr<text_box_data> m_data;
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command "/usr/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-install-O5algo/pdftotext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-TF1_ts/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-O5algo/pdftotext/

@Ciangi what system are you building on?

Ubuntu 16.04
python2.7

I just booted into a fresh Ubuntu 16.04 machine and it installed just fine.
Your system looks fishy. Poppler headers on Ubuntu are usually in /usr/include, not /usr/local/include. Did you manually install poppler instead of using the one provided by Ubuntu?

I manually installed poppler. but i noticed that i have pdftotext installed, don't know why but it is and works ...

I ended up having to uninstall linuxbrew. I started suspecting this to be the issue after seeing that the the header was in the linuxbrew path:
/home/linuxbrew/.linuxbrew/include/poppler/cpp/poppler-page.h:38:15: error: does not match expected signature 'poppler::text_box& poppler::text_box::operator=(poppler::text_box&)'
error: command 'gcc' failed with exit status 1
----------------------------------------

I'm using this in a Dockerized environment and simply doing apt-get install libpoppler-cpp-dev did it for me
thanks @jalan !

I'm using this in a Dockerized environment and simply doing apt-get install libpoppler-cpp-dev did it for me
thanks @jalan !

This is the proper one for ubuntu users using python3

what to be done if same issues are appearing in windows????


Vapor crashes on files that contain variables with space characters

To reproduce:

Import this NetCDF file
Create any renderer

Vapor will crash in XmlNode.cpp:94 when processing "water vapor" as a new node.
https://vapor.discourse.group/t/vapor-crash-on-m1-macbook/327/3

Reported again by user muteldw.
https://vapor.discourse.group/t/vapor-is-crashed-while-selecting-new-renderer-and-setting-renderer-name/335/2

@sgpearse will verify

Error message gets raised and crash is gone.  Closing!


Almost constant gates values.

Hello. I use python2.7 and PyTorch 0.3.1/0.3.0, when I run the following code:
sens = 'i like orange apples .'
words = sens.strip().split()
x = numpy.array([corpus.dictionary[w] for w in words])
input = Variable(torch.LongTensor(x[:, None]))

hidden = model.init_hidden(1)
_, hidden = model(input, hidden)

gates = model.gates.squeeze().data.numpy()

i receive the wollowing gates activations:
array([0.07, 0.07, 0.07, 0.07, 0.06], dtype=float32)
so the parse tree is built incorrectly.
The inputs look like this:
array([3277,  262,   35, 3339,   11])
It works the same on different sentences/different versions of PyTorch (I tried 0.3.0 and 0.3.1, on 0.4.1 code fails to work because of changed BatchNorm1D ), and always most of gates has value 0.07 and parse trees look like they are incorrect.
Please explain to me what am i doing wrong.

Are you training the model on your own? Which version of the model is this?
In any case, the following is my result using our best model:
Input array: array([ 8336,  6795, 18385,  3176,   373])
Output gates: array([ 0.27,  0.13,  0.02,  0.13,  0.17], dtype=float32))
Tree: ( i ( ( ( like orange ) apples ) . ) )

It seems like we are using different dictionary for input tokens.
I did not make any modification to the code of Shen et al 2018 so I'm afraid I have little idea what could be wrong after some modifications to the original code.


Azure Batch AI has migrated to Azure Machine Learning Compute

Azure Batch AI is being retired and migrating to Azure Machine Learning Compute. https://docs.microsoft.com/en-us/azure/batch-ai/overview-what-happened-batch-ai
The tutorial should be updated to use AML Compute instead.

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

ID: aadc91ee-6255-a6fe-b2e1-42ca8eb88e85
Version Independent ID: eb4c4b4f-f1d3-ebd5-fbb2-0c70237035a2
Content: Batch scoring for deep learning models - Azure Reference Architectures
Content Source: docs/reference-architectures/ai/batch-scoring-deep-learning.md
Service: architecture-center
GitHub Login: @jiata
Microsoft Alias: pnp

Hey @heatherbshapiro Thank you for reporting this issue! We will review and make any necessary changes.

@heatherbshapiro Thanks for the feedback! We have an update to this doc that will be published later today.

Update is


Submodules can no longer find Native Bindings

Environment

LWJGL version: 3.3.0
LWJGL build #: Shapshot-9?
Java version: 1.8
IDE: Eclipse Neon (Using Gradle)
Platform: Windows
Modules: Core/GL/AL/STB/Jemalloc

Description
I very recently split my engine apart from game + engine in 1 project to have 2 projects.
And link the engine via a "GitModule".
Turns out Version 3.3.0 does not like that and can not find Natives anymore. The game starts up normal, but triggers breakpoints that LWJGL 3 couldn't find its natives and i have to manually let it skip these breakpoints to finish loading the setup.
The code that triggers this is:
GLFWErrorCallback.createPrint(System.err).set();

Which is exactly like this:
https://github.com/LWJGL/lwjgl3-demos/blob/main/src/org/lwjgl/demo/opengl/instancing/GrassDemo.java#L94
After testing around i found out that it is only 3.3.0 that has these issues the moment i switch back to 3.2.4 everything works without issues. Also trying only the submodule or the main project with 3.3.0 causes the same behavior.
Not sure what causes this though.

Please run the application with -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true and post the output here.

[LWJGL] Version: 3.3.0 build 11
[LWJGL] 	 OS: Windows 10 v10.0
[LWJGL] 	JRE: Windows amd64 1.8.0_275
[LWJGL] 	JVM: OpenJDK 64-Bit Server VM v25.275-b01 by ojdkbuild
[LWJGL] Loading JNI library: lwjgl
[LWJGL] 	Module: org.lwjgl
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\lwjgl.dll
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\lwjgl.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\lwjgl.dll
[LWJGL] Closure Registry: simple
[LWJGL] Loading library: jemalloc
[LWJGL] 	Module: org.lwjgl.jemalloc
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\jemalloc.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\jemalloc.dll
[LWJGL] MemoryUtil allocator: JEmallocAllocator
[LWJGL] Loading library: glfw
[LWJGL] 	Module: org.lwjgl.glfw
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\glfw.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\glfw.dll
[LWJGL] Loading JNI library: lwjgl_opengl
[LWJGL] 	Module: org.lwjgl.opengl
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\lwjgl_opengl.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11\lwjgl_opengl.dll
[LWJGL] Loading library: opengl32
[LWJGL] 	Module: org.lwjgl.opengl
[LWJGL] 	opengl32.dll not found in org.lwjgl.librarypath=C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.3.0-build-11
[LWJGL] 	Loaded from system paths: C:\Windows\SYSTEM32\opengl32.dll

This is all it outputs.
Here is a image of of the Stacktrace that gets automatically opened when i try to start my application.
The file from last time i checked exists.

Here is the log with 3.2.4:
[LWJGL] Version: 3.2.4 build 6
[LWJGL] 	 OS: Windows 10 v10.0
[LWJGL] 	JRE: Windows amd64 1.8.0_275
[LWJGL] 	JVM: OpenJDK 64-Bit Server VM v25.275-b01 by ojdkbuild
[LWJGL] Loading JNI library: lwjgl
[LWJGL] 	Module: org.lwjgl
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\lwjgl.dll
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\lwjgl.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\lwjgl.dll
[LWJGL] Loading library: jemalloc
[LWJGL] 	Module: org.lwjgl.jemalloc
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\jemalloc.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\jemalloc.dll
[LWJGL] MemoryUtil allocator: JEmallocAllocator
[LWJGL] Loading library: glfw
[LWJGL] 	Module: org.lwjgl.glfw
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\glfw.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\glfw.dll
[LWJGL] Loading JNI library: lwjgl_opengl
[LWJGL] 	Module: org.lwjgl.opengl
[LWJGL] 	Using SharedLibraryLoader...
[LWJGL] 	Found at: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\lwjgl_opengl.dll
[LWJGL] 	Loaded from org.lwjgl.librarypath: C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6\lwjgl_opengl.dll
[LWJGL] Loading library: opengl32
[LWJGL] 	Module: org.lwjgl.opengl
[LWJGL] 	opengl32.dll not found in org.lwjgl.librarypath=C:\Users\Speiger\AppData\Local\Temp\lwjglSpeiger\3.2.4-build-6
[LWJGL] 	Loaded from system paths: C:\Windows\SYSTEM32\opengl32.dll

Just to clarify:

When you run the application without the debugger, everything works fine
When you enable the "All exceptions breakpoint" in the debugger, and run the app with the debugger attached, in LWJGL 3.3.0 the breakpoint in URLClassLoader.JarLoader.getJarFile(URL) on the throw statement is triggered, and in LWJGL 3.2.4 this breakpoint is not triggered
When you continue from that breakpoint, eventually everything is loaded and the app runs fine

So, the problem is not that the native shared libraries cannot be found (they will be found eventually) but that there is some class loader "issue" which leads to the exception being thrown as part of the process.

When you run the application without the debugger, everything works fine

No when i run the Application with Version 3.2.4 everything runs fine. If I run with 3.3.0 it basically forces me to skip the "forced" breakpoints every single time the software starts. I forgot to take out the debugger in 3.2.4 it just printed into the logs and I thought "huh maybe also add that because it could be useful"

When you enable the "All exceptions breakpoint" in the debugger, and run the app with the debugger attached, in LWJGL 3.3.0 the breakpoint in URLClassLoader.JarLoader.getJarFile(URL) on the throw statement is triggered, and in LWJGL 3.2.4 this breakpoint is not triggered

I dunno even where to "enable" that feature. But trying to use "Skip All Breakpoints" does not work.

When you continue from that breakpoint, eventually everything is loaded and the app runs fine

Yeah, this is correct.

So, the problem is not that the native shared libraries cannot be found (they will be found eventually) but that there is some class loader "issue" which leads to the exception being thrown as part of the process.

This sounds correct, but on the other hand also not. Because if that is a "Classloader" issue and the stuff that breaks is LWJGL3 Itself (and that does not add a classloader) then I kinda doubt its a Classloader issue. At least not the cause of it.

Can you provide your complete project setup? You seem to be using Gradle and also an Eclipse version (Neon) that is 5 years old. You also said something about "GitModule" which I don't know what that is supposed to be.
If you can, simply upload your project to GitHub so that we can have a look.

@httpdigest its a normal Git SubModule.
https://git-scm.com/book/de/v2/Git-Tools-Submodule
About the Project. Eh i can only show the "Engine" not the Project itself. The engine is added via submodule.

What I would like to have is a Minimal, Complete and Reproducible Example (MCVE) that can readily be executed and the issue reproduced with.
So, you could just include the engine and a single Main class with a main method having just GLFWErrorCallback.createPrint(System.err).set(); (as you said that this would trigger the exception).

Give me like 5-10 mins.

@httpdigest https://github.com/Speiger/LWJGL3-SubModule-Issue
Here is a project. I made sure its useable and is causing this bug.

$ chmod +x gradlew
$ ./gradlew clean package
Downloading https://services.gradle.org/distributions/gradle-6.3-bin.zip
.........10%..........20%..........30%.........40%..........50%..........60%.........70%..........80%..........90%..........100%

Welcome to Gradle 6.3!

Here are the highlights of this release:
 - Java 14 support
 - Improved error messages for unexpected failures

For more details see https://docs.gradle.org/6.3/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Task 'package' not found in root project 'LWJGL3Issue'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7s

Yeah i forgot to add the JavaVersion give me a second.

That is not the issue. The issue is (and still is):
* What went wrong:
Task 'package' not found in root project 'LWJGL3Issue'.

Yeah because you try to run "gradle package"
Package is not a default task. Also the "IDE" is having the issue. So you open the project with Eclipse Neon to try replicate it.

Okay, sorry. I was on the "Maven" track :D of course there is no "package" :)

Make sure you also downloaded the submodules because git does not do that by default.

(I've just cleaned unnecessary issue comments here) :)

And thanks for providing the example! We'll have a look.

No problem.
Also i might need to rework the engine a bit to also credit you more. (It was fully closed source until 2-3 days ago)
(I took a couple implementations from your matrix and vectors when i wasn't even planning on opensource stuff)

Sure, but is there a reason you simply don't use JOML?

Eh the idea is i want to learn everything that i can. So Reinvent the wheel is the rule. As much as possible within java.
But outside of that preferences are just different of what i wanted to do.

There's nothing here that indicates an issue with loading natives. The exception is thrown internally within a ClassLoader::getResource call, when LWJGL tries to locate the core jar to read its manifest. This happens automatically with -Dorg.lwjgl.util.Debug=true, when LWJGL prints the library version during its initialization.

Yeah but Version 3.3.0 must have changed something that isn't a thing in 3.2.4 (Duh)
And killing debug mode is not a good idea...

I've now reproduced the "issue" and it is not related to any LWJGL 3 version, but simply to using a Java 8 JRE. The described issue happens both with LWJGL 3.3.0-SNAPSHOT as well as with LWJGL 3.2.4-SNAPSHOT and 3.2.3 release.
So, it is not an issue about LWJGL 3 but simply about how the JRE 8 handles class/resource loading internally.
When I configure the debugger to trap on all IOExceptions (or FileNotFoundExceptions in this case), then it always traps in URLClassPath$JarLoader.getJarFile(URL) line: 938 in JRE 8.
You should be able to observe the same.
To reproduce this, I've just used the Maven project https://github.com/LWJGL/lwjgl3-demos also in the latest Eclipse (but it's not relevant to the Eclipse version).
Once I upgraded to JRE 11, the "issue" is gone completely.

Ok, but I am not trapping any exceptions on my own. So 3.3.0 must be enabling that somehow?
Because 3.2.4 does not enable that?

No, you just configured the debugger (whenever and however) to trap on such exceptions. Explore/look at the "Breakpoints" view in Eclipse. It will tell you which breakpoints exist and whether any of them is a Java exception breakpoint.

And when you run the app with a debugger, it halts at URLClassPath$JarLoader.getJarFile(URL) line: 938 on its own? Very weird.

Especially how easy i can fix/cause it.
I am only changing the version number https://github.com/Speiger/LWJGL3-SubModule-Issue/blob/master/gradle.properties and refresh gradle its that simple to fix/cause

I'll conclude with that you probably have a broken project/Eclipse setup.
Both in Eclipse as well as in IntelliJ IDEA with a JRE 8 exceptions are being raised on URLClassPath$JarLoader.getJarFile(URL) line: 938 (which is fine - as it just seems to be how JRE 8 handles class/resource loading and control flow internally).
So: Regardless of LWJGL version or IDE used: The exceptions are always being thrown at that point for various jars and classpath folders (which is fine).
Upgrading to JRE 11 solves this completely.
Why it does what it does for you (halting on exceptions when there is no exception breakpoint configured and doing so with LWJGL 3.3.0-SNAPSHOT but not with LWJGL 3.2.4-SNAPSHOT) is currently inexplicable and not worth pursuing.
I'd strongly recommend you to at least use a recent Eclipse version (not Neon!).

Closing as it is not an issue with LWJGL 3 and can also not be reproduced the way it was described.

@httpdigest long term goal anyways. But right now 99% of my project force me to use Java8, but that should change soon.
But thanks for the help and showing me that i am right now fine with 3.2.4 until i am ready to upgrade. I can live with that.
I assume @Spasi 3.2.4 is unofficially stable? so no surprises there i hope.
Thanks for the time anyways. And for the Heart attack httpdigest xD (your location and projects did that xD)

There will not be another 3.2.4 build, so yeah I guess. The next official release after 3.2.3 will be 3.3.0 because of important changes that may break applications on 3.2.x.


toolchain: setup the ability to branch the toolchain NO_CI

This introduces a new set of variables (core.branch, controlling the
LLVM tree, and branch controlling the swift branches) to enable reusing
the configuration across different branches.

/azp list


Update visual-project-structure.md

Typo in the name of pbiviz tool

@borismus-hawk : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified correction to tool name. Thank you!


Grouping projects in a folder like structure

I have been using CircuitVerse for 2 years now teaching Digital Logic Design course and I like it a lot.
Each semester I'm building new projects and I got added as a collaborator to other projects by the students for debugging and grading; with this, the dashboard is now full of projects and it becomes harder to navigate.
It will be great if there is a folder-like structure on the dashboard where projects can be grouped/added to reduce the clutter.
Keep up the awesome work

Hello, I am interested to implement this feature. Can anyone assign me this issue.

Please assign me this issue @tachyons @vedant-jain03  @tanmoysrt


Using dockside behind an http proxy

I feel like it's impossible as it stands to use dockside behind an HTTP proxy.
I use a HAProxy to distribute the load of my applications according to the urls that I call and I have this error..

But the called url is in https
Could the problem be corrected plz ?

Hi @vlacour97. Thanks for raising this issue, and apologies for the long delay in responding.
You are quite correct that running Dockside behind a proxy is currently unsupported. Dockside is intended to be accessed via HTTPS for security reasons (access to code and hardware) and so currently expects to terminate SSL connections itself.
It is possible that an external proxy could be placed ahead of Dockside's internal proxy, and that this external proxy be used to terminate SSL connections instead. However Dockside's internal proxy/router is though highly opinionated about what URIs it expects to receive (and over multiple domains) - so it can route requests to the UI or to the right container - and so the external proxy would need very careful configuration to ensure all conceivable Dockside URIs were forwarded. There may be other unforeseen issues that would need resolving.
To the specific error you received, it looks like you have tried to forward a plain HTTP request to Dockside's HTTPS port. If this were to work at all, you would need to proxy from external HTTPS to Dockside's HTTPS port, and from external HTTP to Dockside's HTTP port.
I hope this helps. I will close this issue for now but feel free to reopen if we can assist further.


Bump python 2.7 version

Oops, should be 13 across the board.
On 6 Jun 2017 09:05, "Felix Rieseberg"<EMAIL_ADDRESS>wrote:

@felixrieseberg requested changes on this pull request.
In src/constants.js
https://github.com/felixrieseberg/windows-build-tools/pull/61#discussion_r120231377
:

@@ -7,8 +7,8 @@ var buildTools = {
}

var python = {

installerName: 'python-2.7.11.msi',
installerUrl: pythonMirror.replace(//*$/, '/2.7.11/python-2.7.11.msi'),

installerName: 'python-2.7.12.msi',
installerUrl: pythonMirror.replace(//*$/, '/2.7.13/python-2.7.13.msi'),

Thanks! Did you mean 2.7.12 or 2.7.13?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/felixrieseberg/windows-build-tools/pull/61#pullrequestreview-42176627,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJvT7pucHyIESp9pw6q-B1rRI01DZacks5sBInLgaJpZM4NuUxO
.


Ensure "full" ownership of messages passed to EmbeddedChannel.writeInbound()

Motivation
Pipeline handlers are free to "take control" of input buffers if they have singular refcount - in particular to mutate their raw data if non-readonly via discarding of read bytes, etc.
However there are various places (primarily unit tests) where a wrapped byte-array buffer is passed in and the wrapped array is assumed not to change (used after the wrapped buffer is passed to EmbeddedChannel.writeInbound()). This invalid assumption could result in unexpected errors, such as those exposed by #8931.
Modifications
Anywhere that the data passed to writeInbound() might be used again, ensure that either:

A copy is used rather than wrapping a shared byte array, or
The buffer is otherwise protected from modification by making it read-only

For the tests, copying is preferred since it still allows the "mutating" optimizations to be exercised.
Results
Avoid possible errors when pipeline assumes it has full control of input buffer.

@netty-bot test this please


Candid blobs for ICRC29 Test vectors

We shared two test vectors to implement validation for ICRC29 flow:
{"content": {"arg": h'4449444C00017104746F6269', "canister_id": h'00000000006000FD0101', "ingress_expiry":<PHONE_NUMBER>606000000, "method_name": "greet", "request_type": "query", "sender": h'04'}}

and
{"content": {"arg": h'4449444C076D7B6C01D880C6D007716C02CBAEB581017AB183E7F1077A6B028BEABFC2067F8EF1C1EE0D026E036C02EFCEE7800401C4FBF2DB05046C03D6FCA70200E1EDEB4A7184F7FEE80A0501060C4449444C00017104746F626905677265657402656E01011E000300', "canister_id": h'00000000006000FD0101', "ingress_expiry":<PHONE_NUMBER>482000000, "method_name": "icrc21_canister_call_consent_message", "nonce": h'A3788C1805553FB69B20F08E87E23B13', "request_type": "call", "sender": h'04'}}

I encoded both with Candid as requested:
icrc29.json.txt
I also pushed the code to encode the vectors here in case there is another issue while I'm on holidays.

:link: zboto Link

Closing this PR and referencing it in #250


[Icons] Cannot install from composer

Using command from docs: composer require symfony/ux-icons i get error: Could not find a version of package symfony/ux-icons matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.
How can I install UX Icons in Symfony 7?

Stable ux-icons is not released yet.
You can install the dev version: composer req symfony/ux-icons:^2.x-dev

@fracsi's solution is the good one ... and you don't even have to change your minimum-requirement option in composer.json. Run that command and only that ux-icons dependency will be unstable; the rest of dependencies won't change.
Closing here as "fixed" ... although the real fix will be the stable release of ux-icons in a few days. Thanks!


Successfully opens bad image with invalid width and height

This is a known bad image as a test case for Chromium
b34778578.bmp
width =<PHONE_NUMBER>
height = 352321539
invalid_images.zip

Proposed fix #3434


not showing houses on map

Subject: not showing houses on map
Description:
not showing houses on map
Results:
not showing houses on map
Backend version: develop-c3dbc14a
Frontend version: develop-c3dbc14a
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Page: https://couchers.org/search?location=Los+Angeles%2C+Kalifornia%2C+Stany+Zjednoczone&hostingStatusOptions=2&hostingStatusOptions=3&bbox=-118.1552983&bbox=34.3373060&bbox=-118.6681798&bbox=33.6595410#loc=8.4/33.909/-117.196
User: ciotkazkosmosu (36224)

Can't reproduce


Enforce minimum proxy version on push, enforce minimum proxy version in CI

We've been actively enhancing features in the test-proxy over the last couple of months. We should add

[ ] Logic to the test-proxy to check a file in the target assets repo for the minimum supported version of the proxy pushing. Error out and request upgrade if not met. (We will have to chase people to force the upgrade on the first one, but it'll work after that if we don't change the location of the file).
[ ] an eng/common template that can check this same file and error if the running proxy version for CI is below this minimum version.

Existed already in #8067 closing this as dup.


HDDS-4007. Generate encryption info for the bucket outside bucket lock.

What changes were proposed in this pull request?
Generate encryption info for the bucket outside bucket lock
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4007
How was this patch tested?
Perf improvement, it is order of code is change.

Thank You @adoroszlai for the review and test.


docs: Update examples in Readme

Examples on the README were using the "old API" and therefore throwing errors. They work fine now 👍🏻

I think it was intended to be able to pass a URL string to bundle, so it is the implementation, not the example, that is incorrect. You can pass a string for a file.

Sorry, just needs the cla signed then this can be merged.

Done :-)


availability dashboard

Can You describe more in README "availability dashboard" how does it work?
It doesn't work on my server. "No data".

https://IP/@@health-check
With content:
status: OK

And miskate in README:

datasource 3:
Name: influxDB-telegraf-availability
Database: telegraf_availability

should be:

datasource 3:
Name: elegraf_availability
Database: telegraf_availability


unsupported URL

Can someone tell me why the following isn't supported?
https://stream.test.co.uk/content/258c42264cc71f2c6c234ba0c4f0c9b7e8494b13/files/this is a test (2016) [ARAVO]%2Fthis.is.a.test.2016.720p.BluRay.x264-[ARAVO].mp4
When I connect to the cast and click play the control UI is displayed, but the movie doesn't play on the cast. I am not sure if this is a chromecast problem or there is something in URL that is unsupported. When using a browser the file streams no problem.
The URL is internal and yes the Chromecast is using the same DNS as the browser :-)

sorted. chromecast's do not like htpasswd https://username:password@url = not good


Is there a code example of the '/s3sign' route for the demo app?

Hi I am using the demo app as a point of reference of integrating uploads with s3. My question is related to the generate signature that does an http post request:
$scope.generateSignature = function () {
      $http.post('/s3sign?aws-secret-key=' + encodeURIComponent($scope.AWSSecretKey), $scope.jsonPolicy).success(function (data) {
        $scope.policy = data.policy;
        $scope.signature = data.signature;
      });
    };

I cannot seem to find the route that this goes to in the demo app. Could you point me to where i can view that to copy the way it is handled? I am having a lot of trouble using other examples + the lacking documentation that amazon provides.

big thanks to @nukulb for putting together that s3 example. It took me a while to figure out exactly which parts i needed, but i finally found what i was looking for on the server side:
https://github.com/nukulb/s3-angular-file-upload/blob/master/lib/controllers/aws.js#L33-L34


Switch default modules for linux.default from tcl to lmod?

Is your feature request related to a problem? Please describe.
https://github.com/JCSDA/spack-stack/pull/729 requires switching the modules from tcl to lmod on the new parallel cluster. It doesn't change configs/linux.default/modules.yaml yet, but rather uses sed to do that in the environment (...../site/modules.yaml).
Describe the solution you'd like
Should we switch the default for linux.default to lmod? The macos.default config already has lmod. This would remove the need to switch in the CI scripts for Ubuntu, but it (a) will require updating the documentation (generating new site configs) and (b) imply that we don't intend to test tcl modules going forward (which is fine by me, but we still have a few dinosaur systems that rely on tcl environment modules that we need to maintain).
Additional context
n/a

Note. Because of the bug fix in https://github.com/JCSDA/spack-stack/pull/762, this isn't really needed.


Breaks when users are deleted

If a logged in user has their Django User instance deleted, this package completely breaks. Either it will return a different user instance or return a message like "get() returned more than one User -- it returned 3!"
We had reports on our production app of users being logged into other people's accounts after their account was deleted.

Closing this because it was an issue with another authentication backend


[nrf52840] Improvements to USB-CDC-UART

This change addresses some issues that was noticed while working to bring up the OpenThread NCP on the nRF52840. The most important change is the introduction of the macro USB_HOST_UART_CONFIG_DELAY_MS, which will slightly delay the output of queued data once the fake UART is opened. On some slow Linux systems, the USB-CDC-UART driver sends the data so quickly after the port opens that the application hasn't had time to get the TTY properly configured using tcsetattr(). While this is technically a host-side problem, fixing this problem host-side is architecturally infeasible in many cases. Ensuring the reliable delivery of the first bytes of the HDLC stream from the NCP after a reset is critical to the host driver being able to identify that a reset has indeed occurred. Waiting a few milliseconds after the port is opened allows the reset reason frame to be reliably transmitted.

Ok, I've addressed those concerns in the latest commit. I've moved the "open delay passed" check into the static function isPortOpen(), since in all places where isPortOpen() is called also needed the "open delay passed" check (I verified). I feel like the code is even cleaner now with these changes.
I've tested the changes and they appear to work great.
@jwhui : Given the previous 👍  from @rlubos, do you think we could get this merged today so that we can update https://openthread.io/guides/ncp/firmware to include this change?

@darconeous, sounds good.  I'll wait for Travis to pass then merge.


Battle Music doesn't work with Custom NPCs mod.

Mod Version:
1.12.2-<IP_ADDRESS> (Dynamic Surroundings)
1.12.2-<IP_ADDRESS> (OreLib)
Forge Version:
1.12.2-<IP_ADDRESS>47
Description:
Hello, I'm having a compatibility issue with the battle music and Noppes's Custom NPCs mod. You can set the NPCs to be either aggressive or neutral towards the player, and they'll attack you just like any other mob. However, the battle music doesn't play for these entities like it does with other mobs.  However, when a vanilla hostile mob (such as a spider or zombie) attacks the NPC, the battle music DOES play.
I've made sure that resource pack is installed, I've turned on the battle music in the config, and I've tested it with vanilla mobs and it works perfectly fine, so I'm sure that everything else is functioning as it should. I don't have any knowledge of code, I'm not sure why these modded entities aren't detected as fighting.

This would make sense depending on how the the custom NPC mod implements their NPCs.  The battle detection logic looks at class implementations rather than who is fighting who.


Validation for selected host

'+' button in the table should be removed since the host can be added using the top bar

Also no need to show the username/password columns in the table.


Catalog details module added

Feel free to checkout my fork and try it

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger


Use Kubernetes' fieldpath implementation

This PR removes the internal path implementation and replaces it with the one from Kubernetes, so paths seen from k8s logging/error messages should be completely equivalent with ones seen from celvet, and vice-versa.

This looks right to me.
LGTM


Things I've had to look up starting to use SciRust

I've contributed a little code, so I'm not as fresh as a typical new user, but I've still had to hunt around for the follow as I tried to convert some numerical code to use SciRust. I think our goal should be to be friendly towards someone coming to do numerical code from Python or R or Matlab; the intersection of numerical developers and rust experts is pretty small.

Where is there a simple usage example? best I found is the tests in src/matrix/matrix.rs but the imports there look different.
extern crate scirust; // This is easy enough. But what else do I need? hmm, not recognizing Matrix.
use scirust::matrix::matrix::Matrix; // Ugh. Lots of repetition. The core datastructures should be easier to access than this. Maybe they are, but I didn't find the shortcut.
use scirust::matrix::traits::Shape; // Just to use num_rows, which is pretty basic. If I want to use matrices, I definitely want to know how many rows they have. This wasn't hard to find though, because rustc tells me.
Matrix::ones // I wanted to use this function, and it wasn't trivial. For example, adding a use statement for it ("use scirust::matrix::matrix::Matrix::ones;") gave me "error: ones is not directly importable [E0253]". Are there more friendly ways to expose this function? this is a very common function in my usage, and we should consider this as a UI issue.
use scirust::matrix::random::rand_std_normal; // Should have figured this one out faster by now, but I still doubt it needs to be this deep. Again, for me this is extremely common to want lots of Gaussians, almost like ones. Also, is there a logic to when we use "rand" vs. "random"?
cell_iter // Why is this not just plain iter? sounds reasonable to me that the elements of a matrix are the cells (though it is true that NumPy iterates over rows by default).
I was also surprised that X[i] actually compiles Is there no way to require two indices to access a matrix? would it be better to forgo indexing syntax, just to avoid the potential for bugs? or maybe implement Index for pair types?

Will try to answer some of the questions.
Online documentation hosted at : http://indigits.github.io/scirust/doc/scirust/index.html .
Though it's not always up to date as generation is not automatic and I have to generate it afresh from time to time and commit in gh-pages branch.
Actually you don't have to import so many things. There is a small module called scirust.api. So typically, I write code like use scirust::api::*; and I am good to go.  See an example in main.rs.
use scirust::api::*;
let a = matrix_cw_f64(2,2, [1., 4., 2., 8.].as_slice());
println!("{}", a);
let b = vector_f64([3.0, 6.0].as_slice());
let result = GaussElimination::new(&a, &b).solve();
match result {
    Ok(x) => println!("{}", x),
    Err(e) => println!("{}", e),
}
let m = matrix_cw_c64(2,2, [].as_slice());
println!("{}", m);

All the necessary traits are automatically imported the moment u add scirust::api::*.  Even using Matrix::ones becomes easy after this.
Now, in order to take care of typical cases of construction, I have introduced a whole lot of constructor functions in constructors.rs.  Using them is much more convenient than trying to struggle with the static methods of a generic structure.

I have been thinking that general usage examples and the design principles behind the SciRust should be captured in the form of an open book. I started a bit of work on it but haven't yet invested much time on it. http://shailesh1729.gitbooks.io/scirust-design-guide/content/.  Since the design itself is currently quite fluid, hence less motivation to write stuff which may have to be rewritten later. But we can discuss this further.

Yes, indexing is a problem at the moment. In Python, they provided special support for multi-indices at the language level for numpy.  I think Rust allows the concept of compiler plugins which can be used to introduce additional library specific syntax. If one could work on that, then a[i, j] type of syntax should be possible to support.  But I haven't had the heart to experiment with compiler plugins yet.

On cell_iter, since there are different kinds of iterators possible, it might be a better idea to have explicit long names for their implementation. We can then introduce shorter names using typedef type stuff.  A simple
type Iterator  = ColumnWiseCellIterator;

would do the job.
Similarly, consider calculating mean over a data matrix. Standard MATLAB convention is to store each data sample in one row of data matrix where the columns are different components of a data vector.  Thus, default mean computes mean over each column separately. There is an optional argument through which you can compute mean over each row.
I have been using convention of mean_cw and mean_rw  for column wise or row wise operation. You will see _cw and _rw appearing at a lot of places. After this, an additional function mean can be defined which simply calls mean_cw for simplicity.
Rust doesn't support default values for function arguments. It suggests to go for different functions in such cases (till I last checked).
MATLAB lets specify the dimension over which work is to be done as an argument to most functions. Since MATLAB fundamental data type is N-D array, this is okay.
For matrices, most operations are typically either over rows or over columns. So I feel that specifying _cw and _rw could be a good convention.  This is off course up to debate and discussion.
I didn't have any plans to extend the Matrix data structure to become an N-D array. If we have to introduce N-D array at a later point of time, I was thinking that they could be developed as a separate structure which could seamlessly interact with matrices but would not provide operations which are applicable only for matrices (like linear algebra operations).

I will try to add a set of simple usage examples in the main documentation at the front page itself.  Since examples in the documentation are verified while running unit tests, they are going to be maintained quite well.

Thanks for the write up!
IMO, readme.md should be the root of all documentation, and have a minimal example itself.

About indexing, I think we can already support syntax like a[(i,j)] simply by implementing Index<(isize, isize)>. Then change Index to panic unless we have a single row or a single column. What do you think?

It isn't very pretty, but much nicer than get, I think

The documentation has been updated with couple of examples
http://indigits.github.io/scirust/doc/scirust/index.html.
README.md also points to it already.  Though readme itself doesn't have examples yet. Will do that also some time.
scirust_main.rs has also been restored. It was commented out at  a time when Rust language was going through last minute changes and the code was breaking all over the places. And then I missed to restore it.


[WIP] Add additional Redis instance for caching

We want to have two Redis instances for the app in order to keep
persistent (e.g. Sidekiq) and volatile (e.g. caching) data separate.

Add new redis_cache_instance Cloudfoundry service instance
(initially with an identical service plan)
Keep TF name and CF service name for the previously sole Redis
instance (that's currently used for Sidekiq) the same until a later
change to minimise disruption

Before merge

[ ] Rename CF service name (and double check that doesn't cause issues)
[ ] Make sure app picks up correct instances from VCAP_SERVICES (#2734 merged, then update application config)

Review app deployed to https://teaching-vacancies-review-pr-2736.london.cloudapps.digital

Review app deployed to https://teaching-vacancies-review-pr-2736.london.cloudapps.digital


Add prebuilt framework for Carthage

Can I request that a prebuilt framework be added to the 0.6.3 release for Carthage?
This would require you to run the following and attach the resulting Masonry.framework.zip to the release on GitHub:
git checkout v0.6.3
carthage build --no-skip-current --verbose
carthage archive Masonry

Alternatively I can build the zip and provide it for you to attach if that's helpful. Thanks.

@dcaunt Does carthage support zipping the dsym in the framework now? Masonry compiles really quickly and I don't see much value in doing this and maintaining it for every release.

It does indeed support zipping the dSYM now, since version 0.9 iirc.
I don't think it is much work to add the zip but appreciate that it's your call. I couldn't see a discussion of this in an existing issue so I thought I'd raise it.

@dcaunt I'm going to pass for now, as I am with SnapKit too. I don't have an easy build pipeline right now and it also starts to get messy once people ask for Bitcode etc…

Fair enough – thanks for addressing this.


3.4.2 UIKit extension broken

In the UIKit subspec, promiseViewController(vc:animated:completion:) has been deprecated since 3.4. The replacement (promiseViewController(_:animate:fulfills:completion:)) asks for a UIViewController.AnimationOptions parameter, which has 2 problems.
The first is that it can only be instantiated via the public init(rawValue:). This can be resolved easily enough by marking the members public. This change is in pull request #491.
The second is slightly trickier to fix. When UIViewController.AnimationOptions is used in pure Swift, everything works. As soon as it's used in a context marked with @IBAction or @objc, it causes a compilation error:

The root cause seems to be that UIViewController.AnimationOptions is a struct. I managed to get things compiling and tests working as they used to by removing the struct, and then introducing an Objective-C counterpart:
typedef NS_OPTIONS(NSInteger, UIViewControllerAnimationOptions) {
    UIViewControllerAnimationOptionsNone = 1 << 0,
    UIViewControllerAnimationOptionsAppear = 1 << 1,
    UIViewControllerAnimationOptionsDisappear = 1 << 2,
};

This translates to the same struct when bridged, so none of the usages need to change.
What I'm having trouble figuring out is where this Objective-C file should be placed. I've managed to get it to work by including it in Umbrella.h, which is obviously incorrect, especially that it's only applicable to the UIKit subspec. Any suggestions?

Sorry about this. I'll work on a fix immediately.

Your solution is the only one I could get to work. A pure Swift OptionsSetType does not get generated into a -Swift.h header by the toolchain, probably there is a solution for that, but I don't know it. Having it be an Objective-C option works and is an acceptable solution. Will push 3.4.3.

Thanks for getting on top of this so quickly!


Feedback

A good starting point for applying Azure Security Benchmark version 2.0 to Microsoft Sentinel. It would be good to have a similar model for the NIST model and sample Azure Policies as Code for automating the recommendations.
Would also love to hear about similar guidance when we use a 3rd party connecter instead of Microsoft provided connector.

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

ID: 204415cf-5d7a-f95c-2b51-93d35021632d
Version Independent ID: 1cf89ecd-15c3-8e07-93e7-906a3cd703e1
Content: Azure security baseline for Microsoft Sentinel
Content Source: benchmark/azure/baselines/sentinel-security-baseline.md
Service: microsoft-sentinel
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@gauravaggarwall
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hello, @gauravaggarwall.We recently rolled out the successor to the Azure Security Benchmark: the Microsoft Cloud Security Benchmark. We will be upgrading all baselines to the MCSB--including Sentinel--and will take your feedback into account when doing so. Thank you! #please-close


Support for G Pro Keyboard

I read that logitech keyboards are supported in master, so I pulled and created a device file. I am not sure if this device operates differently than the other tested keyboards but it did not get recognised in ratbagctl:
# ratbagctl list
crooning-chinchilla: Logitech G Pro

Device file modified from the G815 issue:
[Device]
Name=Logitech Pro Gaming Keyboard
DeviceMatch=usb:046d:c339
LedTypes=logo;switches
Driver=hidpp20

Okay, please post the daemon log when started with verbosity:
ratbagd --verbose=raw

Output: http://dpaste.com/3HHAMQ1
I noticed it says invalid LedTypes string so I removed switches and ran it again and the device is then recognised but then as it is doing its feature discoverty ratbagd segfaults.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   meson_options.txt

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	build/

no changes added to commit (use "git add" and/or "git commit -a")
$ git show
commit 6d0974be2517d31a95d04074867eb7b2b244aafe (HEAD -> master, origin/master, origin/HEAD)
Author: Stephan Lachnit<EMAIL_ADDRESS>Date:   Fri Feb 21 11:56:21 2020 +0100

    circleci: add diffutils dependency for fedora

    Signed-off-by: Stephan Lachnit<EMAIL_ADDRESS>
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 03efb10..4cfe088 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,7 +1,7 @@
 libratbag_references:
   build_dependencies: &build_dependencies
     FEDORA_DEP_BUILD: gcc gcc-c++ meson dbus-daemon glib2-devel json-glib-devel libevdev-devel libudev-devel libunistring-devel python3-devel python3-evdev swig
-    FEDORA_DEP_TEST: check-devel python3-gobject python3-lxml valgrind
+    FEDORA_DEP_TEST: check-devel python3-gobject python3-lxml valgrind diffutils
     FEDORA_DEP_DOC: python3-sphinx python3-sphinx_rtd_theme
     UBUNTU_DEP_BUILD: gcc g++ meson pkg-config systemd libevdev-dev libglib2.0-dev libjson-glib-dev libsystemd-dev libudev-dev libunistring-dev python3-dev python3-evdev swig
     UBUNTU_DEP_TEST: check python3-gi python3-lxml valgrind

But are you sure the binary you are running is the correct one?
ratbagd --version

$ ratbagd --version
0.13

Okay, please build it with debug flags and run it with gdb.
meson builddir --buildtype debug

gdb ratbagd
> r
(after crashing)
> back

Oh my, turns out I had an old version of libratbag running around in /usr/bin and my user was picking up the one from /usr/local/bin (thus giving all the correct versioning). My fault, sorry for the time waste.

No problem. Please open a PR if the keyboard is working fine.


Collapse All Server Groups

Issue Type: Feature Request
I have many server groups with several servers in each one. I usually focus on the servers in one group at a time, and so I like to collapse the others. This can be quite tedious, though, so I would appreciate a command to collapse all of the groups at once. It might be nice if the app remembered which groups were collapsed between runs, too, or at least to be able to configure the app to always start with all groups collapsed.
Azure Data Studio version: azuredatastudio 1.5.2 (f74080c96310354bc92211f1826c0fdce78ca2f6, 2019-03-22T06:25:26.627Z)
OS version: Windows_NT x64 10.0.16299

I would also like to see this :-)


redis-stack: revalidateTag shouldn't fetch cache content

Fetching the whole document causes high memory usage and sometimes causes OOM crashes.
Fixes #636

Hi @better-salmon, it should be OK now.

@galtonova, I've released version 1.4.1 with your fix!


Fix arguments to status shortcode that extracts statuses from the spec

The site build fails after pulling in the latest spec (@HEAD).
It is because of https://github.com/open-telemetry/opentelemetry-specification/pull/3274

The fix will be to replace "REGEX" by "Status" for all the entries of the form

{{% spec_status "Protocol" "protocol/otlp" "REGEX" %}}

Close by #2584


Update mini-wallet.md

Made changes to the content structure and edited doc

do not check in .DS_Store files.


About padding_side='left'

Hi,
I noticed that you set padding_side='left' in finetune.py. However, in llama the default padding side seems to be 'right'. Would this inconsistency causes certain problems such as performance drop?

I think default llama doesn't even use padding tokens.

how can it train without padding? I thought padding is necessary to collate sentences of different lengths into the same batch?

@stellaludai correct but during pre-training you usually don't use different lenghts. See HF tutorial for more details: https://huggingface.co/course/chapter7/6?fw=pt#preparing-the-dataset

yes, exactly

@chrisociepa @ElleLeonne Thank you very much for sharing!

I think @ElleLeonne just refers to the fact that there is no pad_token in the LlamaTokenizer config, the default value is None.

@stellaludai correct but during pre-training you usually don't use different lenghts. See HF tutorial for more details: https://huggingface.co/course/chapter7/6?fw=pt#preparing-the-dataset

@chrisociepa Thank you for sharing the link. But I don't think they are about the same thing as the question itself:
The example in the link manually throws away chunks where length != context_length but the alpaca-Lora did not do this when creating dataset. Rather, it does the following padding in datacollator:
data_collator=transformers.DataCollatorForSeq2Seq(
            tokenizer, pad_to_multiple_of=8, return_tensors="pt", padding=True
        )

I think padding_side = left/right should not matter but attention_mask should be implemented which is not the case in alpaca-lora IMHO.

@Nsigma-Bill Thanks for sharing your opinion, but actually the above answers solved my question. In the link, the last remaining tail are thrown away if it is shorter than the previous chunks, which aims to avoid padding issues. As for attention mask, the transformers package should already have done for this purpose.


Transparency rendering is broken when both texture and emission texture are used in gltf

Description
I also reported the issue directly to the three.js repo here:  https://github.com/mrdoob/three.js/issues/18796
I'm opening this issue here so that you're aware of it and hopefully update the used three.js version once this is resolved. A weird workaround exists (using KHR_Texture_Transform in affected materials).

Live Demo
https://glitch.com/edit/#!/spice-water-dormouse
Browser Affected

[X] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[X] Safari

OS

[X] Android
[X] iOS
[ ] Linux
[ ] MacOS
[X] Windows

Thanks for discovering that workaround @soraryu . Depending on what that extension is doing, it's possible that we could apply the fix manually for now.
The two potential culprits seem to include cloning the texture:
https://github.com/mrdoob/three.js/blob/d62a3ddc9e1633e9723d8526a06643dc1fe45d14/examples/jsm/loaders/GLTFLoader.js#L632
And flagging it with needsUpdate:
https://github.com/mrdoob/three.js/blob/d62a3ddc9e1633e9723d8526a06643dc1fe45d14/examples/jsm/loaders/GLTFLoader.js#L658

Fixed.


Precaching cifti atlas in docker

When output CIFTI files, I found it needs to download atlas files from OSF server. Many HPC computational nodes like ours doesn't have active Internet connection. I think it's reasonable to prepare those files in the container instead of downloading during running.

Agreed. Would you like to submit a PR?

Yeah, I could make some time for a PR this weekend.

Great - we much appreciate your contribution!

@effigies I realize that the oasis_dtk31 atlas folder on OSF storage is named oasis_trt20_DKT31-MNI152NLin instead of the key used in niworkflows (oasis_dkt31_mni152). This leads to niworkflows.data.get_oasis_dkt31_mni152 shows undesired behaviors and hard to parse the atlas filename.
I think the simplest solution here is rename the folder inside oasis_trt20_DKT31-MNI152NLin.tar.gz . I'm not sure whether I could modify file on OSF storage. Could you help me re-upload it?

I'm a little surprised, as this seems like something that should have been caught before, as we do have some people using the pipeline. @mgxd perhaps you can comment, here?
@ZhifangYe It might help if you describe the approach you're taking. Just to be clear, what I was suggesting was to add a few lines to docker/scripts/get_templates.sh.

Indeed I tried to add the atlas file address in docker/scripts/get_templates.sh at first.  But it can't prevent the attempt to re-download files from OSF.
When I pre-cached the atlas, the extracted folder name is oasis_trt20_DKT31-MNI152NLin. The code use this atlas is in line 134. Because the folder name is hard coded in line 135, it will not cause any problem during runtime. But it still tries to connect OSF server.
https://github.com/poldracklab/fmriprep/blob/5dd78197a828de566d754b327f0f7d663bfe42f0/fmriprep/interfaces/cifti.py#L133-L138
If I'm right, the expected atlas data should be in path $CRN_SHARED_DATA/oasis_dkt31_mni152 instead of current oasis_trt20_DKT31-MNI152NLin. During running, line 134 will always try to download the tar file even the files are already in oasis_trt20_DKT31-MNI152NLin.
I propose to change line 134  to label_template = get_oasis_dkt31_mni152() from niworkflows.data and change the folder name inside the tarball in order to respect naming convention in niworkflows.data. This change could prevent any attempts to connect Internet.

Hi @ZhifangYe, sorry to be so slow about getting back to you. I think your proposal sounds perfectly reasonable.
@mgxd @oesteban Do you see any potential problems? I know @oesteban is planning to update the naming conventions around templates, but I'm not sure what the status on that is, and how much that will interfere.

hi @ZhifangYe @effigies sorry for the radio silence - you are right that the atlas name is not consistent with the osf/niworkflows name, I will submit a fix for this. As for preparing the files in the container, I'm fine with that - perhaps adding it to /niworkflows_data

@mgxd Great. Yes, please do add it to /niworkflows_data using the docker/scripts/get_templates.sh script.

@ZhifangYe
I pushed a new folder tpl-OASISTRT20 to the OSF storage, which includes the label file tpl-OASISTRT20_variant-DKT31_space-MNI152NLin2009cAsym.nii.gz

@mgxd Thanks.
@effigies I submit a PR using newly uploaded template file. And another PR to niworkflows in order to respect the new naming convention.

Should be fixed in 1.1.1.


ldap3: init at 1.0.4

And its test dependencies
gssapi: init at 1.1.4
shouldbe: init at 0.1.0
forbiddenfruit: init at 0.1.0
Getting tests to run on gssapi an shouldbe would require exra work.

@jagajaga Thanks. Better now?


NullReferenceException inside cameraView.TakePhotoAsync

Hi
We have an issue with this to take a photo, because it is throwing an NRE somewhere inside this method, but I cannot tell where exactly.
Platform: Android
Framework: .NET8.0
This is our code in question:
private async Task<Stream> TakePhotoAsync()
{
    // ... pre-checks

    var photoResult = await cameraView.TakePhotoAsync(Camera.MAUI.ImageFormat.PNG);

    if (photoResult == null)
    {
        Debug.WriteLine("Error: photoResult is null.");
        return null;
    }

    var stream = new MemoryStream();
    await photoResult.CopyToAsync(stream);
    stream.Position = 0;
    return stream;
}

I cannot give more information, unfortunately, because of lack of stack trace and such.
Can you give me a hint what this causes?
Edit:
The stack trace looks like this (not terribly helpful IMHO):
at Camera.MAUI.Platforms.Android.MauiCameraView.TakePhotoAsync(ImageFormat imageFormat)
at Camera.MAUI.CameraView.TakePhotoAsync(ImageFormat imageFormat)
at MyApp.MainPage.TakePhotoAsync() in MainPage.xaml.cs:line 211

If the cameraView.Camera from above is loaded with cameraView.Cameras.First() (meaning the back camera) this NRE occurs, but when loading the front camera cameraView.Cameras.Last() this works fine, but showing the back camera stream in the cameraView.

i suggest you select  the camera using next code to assure to use the correct position camera
for (int i = 0; i < cameraView.Cameras.Count; i++)
{
if (cameraView.Cameras[i].Position == Camera.MAUI.CameraPosition.Front)
{
    cameraView.Camera = cameraView.Cameras[i];
    break;
}

}

Ahm.. I only have two cameras back and front. I want to select the back camera (which is the first one) but when I select it, it crashes.

change CameraPosition.Front    to CameraPosition.Back


Orientation of bounding box w.r.t. ego vehicle

How can I get orientation bounding boxes with respect to ego vehicle. I know I can get orientation angles (roll, pitch, yaw) w.r.t. bounding vehicle in world coordinates system. But how to get it w.r.t. to ego vehicle or any sensor.

How can I get orientation bounding boxes with respect to ego vehicle. I know I can get orientation angles (roll, pitch, yaw) w.r.t. bounding vehicle in world coordinates system. But how to get it w.r.t. to ego vehicle or any sensor.

Hi, I also want to collect the relative rotation to ego vehicle or a camera sensor. Did you solve the problem?


Bug report - 2 digit month does not show

Bug report - 2 digit month does not show - screenshot:  https://i.imgur.com/JHqsgbG.jpg
Thank you.

Bug has been fixed with #142 and will be in the next release


⚠ Bofrost.lu has degraded performance

In 5b1ee89, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 890 ms

Resolved: Bofrost.lu performance has improved in 9d6098d.


Remove global loggers.

WIP - going to split some of this work into smaller independent PRs.

We went this route on the client side of dex, but left global loggers server side.  It solved some issues with concurrency and unit tests, but I often wish we could have kept global ones.  I'm curious what challenges motivated this for vspd, and if it was similar to dex client packages.

#339 supplies a bit of additional context.
Removing global vars should make components easier to re-use because their dependencies will be explicitly stated (in their constructors) rather than having components silently depending on global state and then panicking when that global state is not initialised.
This is more important for some of the global variables in vspd than for others - eg. there are some bare global mutexes which I definitely want to take care of. Logging has a pretty well defined infrastructure around it so it is definitely lower priority, but I'd still like to take care of it if possible.

Ready to go


Allow demo/production mode for Dev bar

The dev bar is currently can only be hidden through CSS.  It would be useful to have an external parameter allowing for the dev team to have the bar displayed and for the deliveries to have it hidden.

:+1:


Fix for issue #13936, check if there is a token before trying to use it.

This PR fixes #13936
Checking if there is a token before trying to use the token helps fixing this issue and will ask for a new login instead of showing an error.

Thank you for the submission @martenbohlin ! Can you detail how this fixes the exact issue linked though? I'm not seeing a reference to accessToken anywhere and it seems like currently if a token isn't able to be retrieved it'll throw and then move on to the next tenant which seems like the correct behavior.
@cssuh Could you please work with @martenbohlin here to get this in?

Hi, thanks for a great tool!
Yes you are correct, the error message that I got was slightly different I got this:
Error: Cannot read property 'token' of undefined
I just made a google for it and then that issue came up. Do you want me to log a new issue for my problem?
I have not analysed exactly why my fix helped. But my guess was that there was a check if there were errors or not when the AzureSubscriptionError was caught.

Done some more testing now and I can not reproduce the original issue I had. So the only thing this PR does is to remove warnings each time you need to refresh your credentials.

@martenbohlin looks like the Hygiene check has failed, can you run the Format Document command and push that to this branch?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 6 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 48.278%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/azurecore/src/azureResource/services/subscriptionService.ts
0
6
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
14766

Relevant Lines:
29040

💛  - Coveralls

@cssuh Fixed and pushed.

Looks like this was fixed in https://github.com/microsoft/azuredatastudio/pull/19192

Thanks @cssuh


google_maps_flutter recyclerMarker (like recyclerView concept) ?

hello..
i'm working on project with API returning 20000+ couples data of latitude and longitude in one response.
the coordinates are also spread all over the world, i mean, not all markers shown in screen.
when i load the data to GoogleMap widget, the app surely going slow.
is there a way like recyclerView concept to make it smoother?
thank you..

Hi @nashihu
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


add LLaMa Tokenizer Supported Thai Token

merge LLaMa Tokenizer with wangchanberta Tokenizer by extent vocabulary following working example

To test merged method

need to have LLaMa Tokenizer and wangchanberta tokenizer
run merge_tokenizer.py
 python3 /root/openthaigpt-pretraining/src/model/openthaigpt_pretraining_model/llama_thai_tokenizer/merge_tokenizer.py
merge tokenizer will save on root path

To test merged tokenizer

run llama_thai_token_test.py and inference time check
python3 /root/openthaigpt-pretraining/src/model/scripts/llama_thai_token_test.py

Note:

You can create constants.py file to keep all of editable constants variable.
All of model files should not be push to commit especially a huge model files. I told to N'New yesterday and I will set dvc to keep the large files in the next week.

Agree with DVC, but we don’t have DVC for now. I think it is acceptable for uploading less than 5MB model files to git in the meantime.


Add Discord server

See #8.

Finally repurposing my Alien Kitty server as place we can use for any discussions or help requests.
cc @ksh-r @landongn
https://discord.gg/9rSkAzB7PM


Some values appear as "...."

Greetings!
I've noticed that some values are appearing as "...." for some reason, so I cant view what they are.
All the "bag" entries that are "...." are all Strings.

that means the string is too long and wouldn't be able to fit in. you can try using another mod that can dump/copy the nbt content like InventoryProfileNext or JsMacros.


The email related activities contains 'Bagisto' hardcorded in various mail templates

Bug report
Title
**The email related activities contains 'Bagisto' hardcorded in various mail templates.**

Issue Description
**Bagisto is hard coded in translation strings of Shop, specifically in page titles and email related strings.**

Preconditions
**I think this branding issue is right there from the beginning of first Bagisto release.**

1. v0.1.4.
2. v0.1.5.
3. v0.1.6.
4. v0.1.7.
5. v0.1.8.

Steps to reproduce
**Perform any email related activity such as verification email, email subscription confirmation, etc.**

Expected result
**The Bagisto should not come in those mail templates.**

Actual result
**Some dynamic variable such as env('APP_NAME') should have been used.**

Hey @prashant-webkul! I'd Like to work on it.

Hey @prashant-webkul! I'd Like to work on it.

Yeah why not this is community, we like to help each other. You also do your part.
Thanks.

Currently, on the master branch, I see that Bagisto is not hard-coded anywhere in the Shop package.
As the issue is labelled for specific versions, I think I need to make changes to every previous release. I am not used to with such workflow, I need a little guidance here.
It would be great, if you can guide me how to proceed with this.

You just need to PR this fix to current master branch of Bagisto. We do not branch our releases yet.


Fix globbing for native commands

Fix for #3931. With this change, globbing for native commands will not longer be done if the argument string is quoted (single or double quotes).

@BrucePay - please rebase.

@BrucePay - please rebase, and look at the log before force pushing to ensure only your commits appear between master and your branch.

@lzybkr looks like the commits got cleaned up and the CI is passing, any other concerns?

Folks, we could REALLY use this fix!  We have scripts that broke when we recently updated from an old alpha to beta.8.  ATM we've found no workaround other than to fall back to Bash.

Closing in favor of #5188.


compute precision, recall, and f1 using predicted labels

Hi , how can i load the  precision, recall, and f1 using predicted labels for test.csv results ?
Thank you

@lonePatient
first of all thanks a lot, please if you can let me know
how to read the results at the end shown in accuracy ? and how to calculate F1 ?

@MazenSalama  kindly can you let me know if you managed to find a  solution?
Regards

yea I managed to do it in a totally different way I will upload the code and share it soon

great, thank you!


  I've tried a number of solutions, but I haven't found one that works. The goal is to be able to at least be able to catchError so that when a new value becomes available for the query, that it will update the UI.
example would be something like this. Where I will soemtimes have an error on the query, but the cache may be updated for the query, and the watchQuery will be able to get the value.  Traditional methods of using a switchMap, catchError do not work in this case because the valueChanges observable is destroyed as soon as there is an error.
How does one handle this scenario? It's not practical to have watch queries just die due to a 500 error.
        const assessmentLevelRef = this.apollo.watchQuery<GQL.IQuery>({
            query: getPersonAssessInfo,
            variables: {
                personId: this.person.id,
                campaignId: this.campaignId
            },
            fetchPolicy: 'cache-first',
            errorPolicy: 'ignore'
        });

        const asssessmentLevel = assessmentLevelRef.valueChanges
            .pipe(
                map((res: any) => {
                    if (res && res.data && res.data.getPerson) {
                        return res.data.getPerson.currentAssessmentLevel;
                    }
                    return null;
                })
            );

This was an issue on my end, sorry. The ignore error policy works fine.

This was an issue on my end, sorry. The ignore error policy works fine.

Hello, I have the same problem like what you had. while i using errorpolicy: 'all', the middleware error handler works, and there is something error log in console by system. however, it return nothing to my code while i want to taking some actions with my UI.
Could you teach me how you solved this problem？Thanks!


Add support for Shutting down client (detach)

Feels nesscary to be added

hi devy

hi devy

😂 Hello


(cargo-release) version 0.5.0

Proposed release notes:

[BREAKING] Convert MBRPartitionEntry.boot to a u8; export BOOT_INACTIVE and BOOT_ACTIVE constants
[BREAKING] Replace BootstrapCode440, BootstrapCode446, and Signature55AA with u8 arrays
[BREAKING] Make Error type non-exhaustive (#15)
Add InvalidSignature and InvalidBootFlag error variants (#18)
Add MBRPartitionEntry.is_active() convenience method
Zero-fill unused EBR partition entries when writing (#20)
Add Eq derives on structs
Document 1.51 MSRV

Published: https://crates.io/crates/mbrman/0.5.0


Bump parking_lot to v0.12.1

Update parking_lot version to latest (already being used in LH)

The size of Tree<..> is smaller now which caused our tests to fail (fixed in https://github.com/sigp/milhouse/pull/34/commits/dcf11a8b5cf29e0bc5e8a33976cabb8cfd803cb0). This is not due to the parking_lot update. The Rust compiler just got smarter!


Travis check must check only text files for grammar

Also, there is some strange errors related to travis check... msut be fixed


fixed metadata

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/eventgrid.md
:white_check_mark:Succeeded
View (azure-node-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off
@rloutlaw - And another metadata fix?


How to set gpu id in train.py

Hi guys
Thanks for providing your great work. I was able to run train.py. But I'm wondering how to set the gpu id in train.py. Do you have a suggestion. I would be very thankful.
Thanks

Please try os.environ['CUDA_VISIBLE_DEVICES'] = '0'

thanks!


[Support]  Can't connect with WireGuard (followed FAQ)

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[x] I have read and understood the contributors guide.
[x] The issue I am reporting can be replicated.
[x] The issue I am reporting can be is directly related to the pivpn installer script.
[x] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Issue
Can't connect to pivpn using wireguard android client
Have you searched for similar issues and solutions?
no

Console output of      curl -L install.pivpn.dev | bash
  Nothing - goes to installer

Console output of      pivpn add or pivpn add nopass
    Enter a Name for the Client:

Console output of      pivpn debug
  pi@raspberrypi:~ $ pivpn debug
::::            PiVPN debug              ::::
=============================================
::::            Latest commit            ::::
commit 32bd1c628af9e1926f3f4471c0bf49c74deff7c7 (grafted, HEAD -> master, origin/test, origin/master, origin/HEAD)
Author: Orazio<EMAIL_ADDRESS>Date:   Fri Jul 24 18:52:57 2020 +0200

    Update LatestUpdate.md
=============================================
::::        Installation settings        ::::
PLAT=Raspbian
OSCN=buster
USING_UFW=0
IPv4dev=wlan0
dhcpReserv=1
IPv4addr=<IP_ADDRESS>/24
IPv4gw=<IP_ADDRESS>
install_user=pi
install_home=/home/pi
VPN=wireguard
pivpnPORT=2707
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=0
FORWARD_CHAIN_EDITED=0
pivpnPROTO=udp
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
UNATTUPG=1
INSTALLED_PACKAGES=(raspberrypi-kernel-headers wireguard wireguard-tools wireguard-dkms qrencode unattended-upgrades)
=============================================
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
ListenPort = 2707
### begin jonas ###
[Peer]
PublicKey = jonas_pub
PresharedKey = jonas_psk
AllowedIPs = <IP_ADDRESS>/32
### end jonas ###
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = jonas_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>

[Peer]
PublicKey = server_pub
PresharedKey = jonas_psk
Endpoint = REDACTED:2707
AllowedIPs = <IP_ADDRESS>/0, ::0/0
=============================================
::::    Recursive list of files in       ::::
::::    /etc/wireguard shown below       ::::
/etc/wireguard:
configs  keys  wg0.conf

/etc/wireguard/configs:
clients.txt  jonas.conf

/etc/wireguard/keys:
jonas_priv  jonas_psk  jonas_pub  server_priv  server_pub
=============================================
::::            Self check               ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 2707/udp
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://github.com/pivpn/pivpn/wiki/FAQ
=============================================
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
=============================================
::::            Debug complete           ::::

Have you taken any steps towards solving your issue?
  All the steps in the FAQ

pi@raspberrypi:~ $ sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

pi@raspberrypi:~ $ sudo iptables -t nat -S
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P POSTROUTING ACCEPT
-P OUTPUT ACCEPT
-A POSTROUTING -s <IP_ADDRESS>/24 -o wlan0 -m comment --comment wireguard-nat-rule -j MASQUERADE

pi@raspberrypi:~ $ sudo netstat -anlp |grep 2707
udp        0      0 <IP_ADDRESS>:2707            <IP_ADDRESS>:*                           -
udp6       0      0 :::2707                 :::*                                -

I can add that I've set up portforwarding of 2707 to <IP_ADDRESS>. I got a bunch of other rules set up for services running on my desktop computer, and they're accessible from the outside without issue,

changing my port to 27716 resolved the issue. Netstat shows nothing running on 2707 now, so I don't really know why it didn't work, as there should not have been any conflicts. You may close this if there is nothing to add.  If you want me to do something to figure out why it originally didn't work, please tell me :+1:

Maybe you had ddns set up but the IP wasn't updated yet and coincidentally it got updated after you changed the port.

@orazioedoardo I didn't use ddn(on purpose at least) , is there anything in the debug info indicating i did? I have a dynamic IP but it hasn't changed since 2016 so I have it memlrized :)

No, no info indicating that. It was just a random guess since I found unlikely that my first guess, that port 2707 was blocked by your ISP, could be right, since that port is uncommon.

No, no info indicating that. It was just a random guess since I found unlikely that my first guess, that port 2707 was blocked by your ISP, could be right, since that port is uncommon.
I'm wondering if forwarding port 2707 for some other service works.

Good idea. I'll try it when I get home


Releases

There should be releases in this repository that correspond to the releases of GeoEvent Extension.

[ ] 10.2
[ ] 10.2.1
[ ] 10.2.2
[ ] 10.3
[ ] 10.3.1

We do not want to replicate code for each release. The only reason we separate between 10.2 and 10.3 is that the components are not compatible because of api changes affect backward compatibility.
There is nothing that we built at 10.2 that can not be built at 10.2.2 (or at 10.2.2. that cannot be built at 10.2). Also everything built at 10.3.0 can be built at 10.3.1 (and vice versa.). The api changes were only between 10.2.x and 10.3.x. I try to keep the lowest version number for which a component will work.

Now that 10.3.1 is released I will modify the version numbers on the pom.xml files so that they will point to 10.3.1. The folder structure is such that the version is referenced in directory paths. If users have 10.3.0 installed on their system they will have to modify the version manually in the pom.xml for maven to find dependency libraries. For those users still using 10.2 and prior they should reference the 10.2.x components offered as a legacy. Because of some changes in the api between 10.2 and 10.3 10.2 components will not work in 10.3.

@pHill5136 - We will need to have releases for 10.2 and 10.3 at a minimum.

We have releases for 10.2, 10.30, 10.31