brew tests fails on Linux

Please note that we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[NA] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

brew config

Command output

HOMEBREW_VERSION: 2.0.2-107-gd6e7c9f
ORIGIN: https://github.com/Homebrew/brew
HEAD: d6e7c9f1328aaf2e06d75acf16d448bfce6312e4
Last commit: 24 hours ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: 22c0f1cc4ec7c95c8601920751beee414dc88873
Core tap last commit: 8 hours ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CACHE: /home/linuxbrew/.cache/Homebrew
HOMEBREW_TEMP: /home/linuxbrew/.temp
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_LOGS: /home/linuxbrew/.logs/Homebrew
HOMEBREW_SYSTEM_CURL_TOO_OLD: 1
HOMEBREW_VISUAL: /usr/bin/env vim
CPU: octa-core 64-bit merom
Homebrew Ruby: 2.3.7 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: N/A
Git: 2.20.1 => /home/linuxbrew/.linuxbrew/bin/git
Curl: 7.64.0 => /home/linuxbrew/.linuxbrew/opt/curl/bin/curl
Java: 1.7.0_65
Kernel: Linux 2.6.32-504.el6.x86_64 x86_64 GNU/Linux
OS: Red Hat Enterprise Linux Server release 6.6 (Santiago) (Santiago)
Host glibc: 2.12
/usr/bin/gcc: 4.4.7
glibc: 2.23
gcc: 5.5.0_4
xorg: 20170115_1

brew dr

Command output

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Suspicious Homebrew/linuxbrew-core git origin remote found.
The current git origin is:
https://github.com/Linuxbrew/homebrew-core
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/linuxbrew-core.git
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/ncursesw6-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python3.6-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python3.6m-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python3.7-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python3.7m-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python3-config
/home/linuxbrew/.linuxbrew/opt/pyenv/shims/python-config
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link on these:
openjdk

What you were trying to do (and why)
In the process of submitting a pull request for r.rb, I ran brew tests
What happened (include command output)
Ruby threw errors most of which were due to a failure to install several gems. The salient features of the output are Gem::Ext::BuildError: ERROR: Failed to build gem native extension. and Make sure that `gem install <gem> -v '<gem version>' --source 'https://rubygems.org/'` succeeds before bundling. for several gems.
What seems to work is gem install <gem> -v '<gem version>' --source 'https://rubygems.org'

Command output

$ brew tests
Fetching gem metadata from https://rubygems.org/........
Using concurrent-ruby 1.1.4
Using minitest 5.11.3
Using thread_safe 0.3.6
Using ast 2.4.0
Using backports 3.12.0
Using bundler 2.0.1
Using connection_pool 2.2.2
Fetching json 2.2.0
Using docile 1.3.1
Using simplecov-html 0.10.2
Using tins 1.20.2
Using thor 0.19.4
Using diff-lcs 1.3
Fetching unf_ext <IP_ADDRESS>
Fetching hpricot 0.8.6
Installing json 2.2.0 with native extensions
Installing hpricot 0.8.6 with native extensions
Installing unf_ext <IP_ADDRESS> with native extensions
Fetching jaro_winkler 1.5.2
Installing jaro_winkler 1.5.2 with native extensions
Using mime-types-data 3.2018.0812
Using net-http-digest_auth 1.4.1
Using mini_portile2 2.4.0
Using ntlm-http 0.1.1
Using webrobots 0.1.2
Using mustache 1.1.0
Using parallel 1.14.0
Using plist 3.5.0
Using powerpack 0.1.2
Fetching psych 3.1.0
Installing psych 3.1.0 with native extensions
Using rainbow 3.0.0
Fetching rdiscount <IP_ADDRESS>
Installing rdiscount <IP_ADDRESS> with native extensions
Using rspec-support 3.8.0
Using ruby-progressbar 1.10.0
Using unicode-display_width 1.4.1
Using ruby-macho 2.2.0
Using i18n 1.5.3
Using tzinfo 1.2.5
Using parser <IP_ADDRESS>
Using net-http-persistent 3.0.0
Using term-ansicolor 1.7.1
Using mime-types 3.2.2
Fetching nokogiri 1.10.1
Using parallel_tests 2.28.0
Using rspec-core 3.8.0
Using rspec-expectations 3.8.2
Using rspec-mocks 3.8.0
Using activesupport 5.2.2
Using rspec-retry 0.6.1
Using rspec 3.8.0
Using rspec-its 1.2.0
Installing nokogiri 1.10.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.2.0/ext/json/ext/generator

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190302-3060-96insd.rb extconf.rb
creating Makefile
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.2.0/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.2.0/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby.h:33,
from ../fbuffer/fbuffer.h:5,
from generator.c:1:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:1422: error: wrong number of arguments
specified for ‘deprecated’ attribute
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:1431: error: wrong number of arguments
specified for ‘deprecated’ attribute
make: *** [generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/json-2.2.0 for inspection.
Results logged to
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/json-2.2.0/gem_make.out
An error occurred while installing json (2.2.0), and Bundler cannot continue.
Make sure that gem install json -v '2.2.0' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
coveralls was resolved to 0.8.22, which depends on
simplecov was resolved to 0.16.1, which depends on
json
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190302-3060-15wec7n.rb extconf.rb
checking for main() in -lstdc++... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/$(RUBY_BASE_NAME)
--with-static-libstdc++
--without-static-libstdc++
--with-stdc++lib
--without-stdc++lib
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first.         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:541:in try_link0'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:556:in try_link'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:765:in try_func'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:997:in block in have_library'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:942:in block in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block (2 levels) in postpo                                                                                ne'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:346:in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:941:in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:992:in have_library'         from extconf.rb:6:in '
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/unf_ext-<IP_ADDRESS>/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/unf_ext-<IP_ADDRESS> for inspection.
Results logged to
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/unf_ext-<IP_ADDRESS>/gem_make.out
An error occurred while installing unf_ext (<IP_ADDRESS>), and Bundler cannot continue.
Make sure that gem install unf_ext -v '<IP_ADDRESS>' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
mechanize was resolved to 2.7.6, which depends on
http-cookie was resolved to 1.0.3, which depends on
domain_name was resolved to 0.5.20180417, which depends on
unf was resolved to 0.1.4, which depends on
unf_ext
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/hpricot-0.8.6/ext/fast_xs

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190302-3060-1rey1qc.rb extconf.rb
checking for stdio.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/$(RUBY_BASE_NAME)
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first.         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:587:in try_cpp'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1091:in block in have_header'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:942:in block in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block (2 levels) in postpo                                                                                ne'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:346:in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:941:in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1090:in have_header'         from extconf.rb:2:in '
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/hpricot-0.8.6/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/hpricot-0.8.6 for inspection.
Results logged to
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/hpricot-0.8.6/gem_make.out
An error occurred while installing hpricot (0.8.6), and Bundler cannot continue.
Make sure that gem install hpricot -v '0.8.6' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
ronn was resolved to 0.7.3, which depends on
hpricot
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.2/ext/jaro_winkler

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190302-3060-mzr5ez.rb extconf.rb
creating Makefile
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.2/ext/jaro_winkler
make "DESTDIR=" clean
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.2/ext/jaro_winkler
make "DESTDIR="
compiling adj_matrix.c
In file included from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby.h:33,
from codepoints.h:2,
from adj_matrix.c:2:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:1422: error: wrong number of arguments
specified for ‘deprecated’ attribute
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/include/ruby-2.3.0/ruby/ruby.h:1431: error: wrong number of arguments
specified for ‘deprecated’ attribute
adj_matrix.c: In function ‘adj_matrix_default’:
adj_matrix.c:87: warning: ISO C90 forbids mixed declarations and code
make: *** [adj_matrix.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/jaro_winkler-1.5.2 for
inspection.
Results logged to
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/jaro_winkler-1.5.2/gem_make.out
An error occurred while installing jaro_winkler (1.5.2), and Bundler cannot continue.
Make sure that gem install jaro_winkler -v '1.5.2' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
rubocop-rspec was resolved to 1.32.0, which depends on
rubocop was resolved to 0.65.0, which depends on
jaro_winkler
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0/ext/psych

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -r ./siteconf20190302-3060-1x3xjfw.rb extconf.rb
checking for yaml.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/$(RUBY_BASE_NAME)
--with-libyaml-dir
--without-libyaml-dir
--with-libyaml-include
--without-libyaml-include=${libyaml-dir}/include
--with-libyaml-lib
--without-libyaml-lib=${libyaml-dir}/lib
--enable-bundled-libyaml
--disable-bundled-libyaml
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first.         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:587:in try_cpp'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1144:in block in find_header'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:942:in block in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block (2 levels) in postpo                                                                                ne'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:350:in block in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:346:in postpone'         from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:941:in checking_for'
from /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/mkmf.rb:1143:in find_header'         from extconf.rb:10:in '
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/psych-3.1.0/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/psych-3.1.0 for inspection.
Results logged to
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0-static/psych-3.1.0/gem_make.out
An error occurred while installing psych (3.1.0), and Bundler cannot continue.
Make sure that gem install psych -v '3.1.0' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
rubocop-rspec was resolved to 1.32.0, which depends on
rubocop was resolved to 0.65.0, which depends on
psych
Error: failed to run /home/linuxbrew/.gem/ruby/2.3.0/bin/bundle install!

What you expected to happen
A successful brew tests
Step-by-step reproduction instructions (by running brew commands)
brew tests

Some more info...
$ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/gem list

*** LOCAL GEMS ***

bigdecimal (1.2.8)
bundler (2.0.1)
did_you_mean (1.0.0)
io-console (0.4.5)
json (<IP_ADDRESS>)
minitest (5.8.5)
net-telnet (0.1.1)
power_assert (0.2.6)
psych (<IP_ADDRESS>)
rake (10.4.2)
rdoc (4.2.1)
test-unit (3.1.5)

$ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/gem install json -v '2.2.0' --source 'https://rubygems.org/'
Fetching: json-2.2.0.gem (100%)
Building native extensions.  This could take a while...
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/rubygems/ext/builder.rb:76: warning: Insecure world writable dir /home in PATH, mode 040777
Successfully installed json-2.2.0
Parsing documentation for json-2.2.0
Installing ri documentation for json-2.2.0
Done installing documentation for json after 2 seconds
1 gem installed

$ /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/gem list

*** LOCAL GEMS ***

bigdecimal (1.2.8)
bundler (2.0.1)
did_you_mean (1.0.0)
io-console (0.4.5)
json (2.2.0, <IP_ADDRESS>)
minitest (5.8.5)
net-telnet (0.1.1)
power_assert (0.2.6)
psych (<IP_ADDRESS>)
rake (10.4.2)
rdoc (4.2.1)
test-unit (3.1.5)

This is specific to your machine so you'll need to figure it out yourself, sorry.

@MikeMcQuaid. Sorry about that. I suppose this would have been better posted to the discourse. I'm curious as to whether anyone else has run into this problem.

No worries, thanks!


CCDB GE/023 - Section <IP_ADDRESS>.3

Para 176
Comment:
Why do you make a link to a zip-file here and not in the other abstracts? This is inconsistent and will it be made sure that it can be downloaded in future?
Proposal:
Please remain consistent.
Priority: 1

duplicate of #61
v1.1

Closed by #353


[BABEL-2177] fix the bug allowing create trigger on tmp tables

previously babel allow create trigger on tmp tables this commit fix the bug, and will print an error when customer try to create trigger on tmp table
Task: BABEL-2177
Description
Cherry-pick missing commit
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
299 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.007%) to 73.222%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tsql/src/hooks.c
1
79.6%

contrib/babelfishpg_tsql/src/tsqlIface.cpp
298
89.6%

Totals

Change from base Build<PHONE_NUMBER>8:
0.007%

Covered Lines:
42919

Relevant Lines:
58615

💛  - Coveralls


Generation of new config files is broken

You will only get a partial file.

Fixed at some point, probably in<PHONE_NUMBER>22e026d133c8421addb247e4aa5929.


AST Section nodes not grouping correctly

Summary
With v1.0.4, given the following example (playground link):
echo -n "# Test\n\n- List item" | go run<EMAIL_ADDRESS>
I expect the following output:

Test

List item

But instead I get the following output:

Test

List item

I'm not sure if it's just lists. Block quotes seem to work fine.
(Also, thanks so much for your work on this package ❤ )

@jameschensmith, happy to hear that someone besides me is using godjot!
I fixed your issue and published v1.0.5 tag which should not have described bug.

Of course! Glad to be using it ☺
Awesome! Just pulled it down, and it does look like it's now working 😁 Thank you!


Python3 support for ASN.1 encoding code

Currently, several modules in uptane/encoding/ in this repo and tuf/encoding (in Uptane's fork of TUF) work in Python2 and break in Python3. I suspect the problem is limited to:

uptane/encoding/timeserver_asn1_coder.py
uptane/encoding/vehicle_manifest_asn1_coder.py  <-- Note that this is not in use yet.
uptane/encoding/ecu_manifest_asn1_coder.py   <-- Note that this is not in use yet.
tuf/encoding/root_asn1_coder.py
tuf/encoding/targets_asn1_coder.py
tuf/encoding/snapshot_asn1_coder.py
tuf/encoding/timestamp_asn1_coder.py

Find the incompatibility and resolve it so that Uptane and TUF can run in both Python2 and Python3 regardless of the metadata format currently in use (tuf.conf.METADATA_FORMAT of 'json' or 'der').

Nearly there after this commit.
Test using python tests/test_der_encoder.py, from the root directory of the repo. (That should currently succeed on all 6 tests for Python2, and succeed on all but the last for Python3.)

@lukpueh helped spot the issue. This has been fixed by this commit to Uptane's TUF fork.

Bah, it's breaking the demo. I need to work through this some more.

Fixed now.


Make address on main screen copyable

The main screen shows the address at the top. It'd be convenient if the address gets copied to the clipboard when clicked, as the user may need to send it to someone e.g. via WhatsApp.

Good idea! Currently you can click on the hamburger menu and choose 'copy wallet address', but if you didn't see that and wanted to copy it then your idea is a better approach


Does this work with Component Story Format (CSF)?

Sorry if this has been asked before. I'm upgrading and trying to migrate to CSF, and I've been having problems using this addon in the new environment.
The docs seem to use storiesOf exclusively.
In my main.js, I added addons: [ [...], 'storybook-addon-jsx'], and in my stories.tsx file I added decorators: [jsxDecorator] to the metadata. This gets the JSX tab to show, but it triggers some kind of recursion in the browser, because I have to kill the tab. The warning I get when I do so says Script terminated by timeout at: createElementWithValidation.

It should work.
Have you tried adding it as a global decorator?

If I'm reading the docs right, config.js is no longer a thing, it's preview.js now?
My preview.js looks like this
import { configure, addDecorator } from '@storybook/react';
import { jsxDecorator } from 'storybook-addon-jsx';

addDecorator(jsxDecorator);

configure(require.context('../src', true, /\.stories\.tsx$/), module);

But while your example shows storiesOf('Vue', module) as a way to use module, I don't see an equivalent in the CSF docs.
Anyways, I got the same result.
If you're confident it works, then you don't need to help me debug. Knowing it's my problem is helpful information. Thanks for getting back to me!

this might be an issue with the new 6.0 config style. I am unfamiliar with it at this point and haven't. tried it myself. I don't think it should require any changes to this plugin, but not entirely sure.
If you find out what works for 6.0 please contribute to the docs! I don't have the time right now to look deeper right now.
@ndelangen @shilman Is @BrendanBerkley doing the right configuration for the new configuration style?

Also looking into support for this
Haven't got it running so far

Hi,
I managed to make the global configuration work in 6.0
First in .storybook/main.js you need to have the storybook-addon-jsx addon like so :
// .storybook/main.js
module.exports = {
  addons: ['storybook-addon-jsx'],
};

Finally add the jsxDecorator to .storybook/preview :
// .storybook/preview.js
import { addDecorator } from '@storybook/react';
import { jsxDecorator } from 'storybook-addon-jsx';

addDecorator(jsxDecorator);

Id didn't need the configure from @storybook/react

Has anyone found a solution to this issue?

If someone could make a minimal reproduction repo that would be awesome. In my project it works fine. Here is what I have configured:
.storybook/main.js
module.exports = {
  addons: [
    'storybook-addon-jsx'
  ]
};

.storybook/preview.js
const { addDecorator } = require('@storybook/react');
const { jsxDecorator } = require('storybook-addon-jsx');

addDecorator(jsxDecorator);

So exactly the same as @ulysset

:rocket: Issue was released in v7.3.1 :rocket:

If this works, it might be worth adding to the readme.

Check the readme. Already did it 🚀


Cannot read property 'offStyle' of undefined

I have some code that causes an error at runtime and I wondered if this is something polylint might be able to help with. Note that I have been through the process of resolving errors that polylint has reported, so it and inlinelint show no problems.
The code is like this :
        properties: {
          offStyle: { notify: true },
          ...
        },

        created: function () {
          ...
          this.offStyle = '';
          ...
        },

and the error in the console is like this :
> Uncaught TypeError: Cannot read property 'offStyle' of undefined   ..... polymer.html:1383

It seems like this is related to the created function. I do see examples in the docs of assigning to this in :
https://www.polymer-project.org/1.0/docs/devguide/registering-elements.html#element-constructor
So, perhaps you can't assign to properties listed in the properties property in the created function? The error does seem to 'go away' when I change it to ready.
Any thoughts?
Max.
The actual code is here, in case it's something else :
https://github.com/01org/nlpljs/blob/mw-polymer-1.0-upgrade-2/example-app/app/content_push/cp-keyword-highlighter.html#L335

:+1:

I found another such error, but in this instance it's not in properties :
          <span>{{_computeExpression3(domainFromURL, source, sourceName)}}</span>
...
        created: function () {
          /* name of the source */
          this.sourceName = null;

It'd be great it polylint could flag this as a problem.


Auto update autorest 3.0.0 beta.20230823.2.clone

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.OpenAI


Blog page template

Changes in this PR
This is all the styling and html for the Blog page template.
The Latest blogs and Author bio have been put in as just placeholders at the moment, as we are still waiting on these features to be implemented outside of this work.

A screenshot would be very handy for reference.


.NET Code Coverage no longer being generated - 20221114.1

Description
We've noticed since yesterday that our builds have been running on either image version '20221114.1' or '20221027.1' any build that runs using '20221114.1' have been failing to produce any code coverage during their test run tasks, the task looks as follows:
- task: DotNetCoreCLI@2
  displayName: Run unit and service tests
  inputs:
     command: test
     projects: |
       app/**/*ServiceTests/*.csproj
       app/**/*UnitTests/*.csproj
     arguments: '--configuration ${{ parameters.buildConfiguration }} /p:CollectCoverage=true /p:ThresholdStat=total /p:Exclude=[xunit.*]* /p:CoverletOutputFormat=json%2ccobertura /p:CoverletOutput=$(Build.SourcesDirectory)/TestResults/Coverage/ /p:MergeWith=$(Build.SourcesDirectory)/TestResults/Coverage/coverage.json /maxcpucount:1 "--logger:\"console;verbosity=detailed\""'
     nobuild: true
     publishTestResults: true
     testRunTitle: Run unit and service tests

Builds on image version 20221027.1 work without any issue.
The only additional change from the output of this task is that:

We have seen several NETSDK1138 warnings.
The 'Calculating coverage result...' section after the test run is missing

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20221114.1
Is it regression?
No
Expected behavior
Code coverage calculated and report generated after test runs
Actual behavior
Test run without any issue however the code coverage doesn't get generated causing failures on further steps of our pipelines
Repro steps
Run dotnet test via the DotNetCLI@2 task using image version 20221114.1

Hey @slewis96
We are in the end of a process of rollback latest images. So starting from very that moment and until at least Monday that issue will gone. But. With next images we will got additional changes connected with .NET Core and it will be another case at all. So, I will close that issue until and if it will happen again. Feel free please to open new one if it really will happen or if you have another concerns.

Hi @erik-bershel,
Thanks the for the quick reply.
We ran our tests locally with and without .NET 7.0.100 it seems like when the 7.0 SDK is used with Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (x64) no code coverage report is created however when 7.0.100 is uninstalled, 6.0 SDK is used and the Command Line Tool Version 17.3.1 is used we get code coverage reports created.


Toggle Component: Is it possible to define the toggle state from an external source e.g. pump is active: true or false and also allow the user to manually toggle the state via Toggle button?

Summary
Relevant information

Is it possible to define the toggle state from an external source e.g. pump is active: true or false and also allow the user to manually toggle the state via Toggle button?

Please ignore, I've resolved my coding issue.


How to contribute to Web 3 if you can't code?

Name
Tommy Caldwell
Discord Username (if applicable)
No response
Additional Context
Hi there, I have been interested in the future of Web 3 for a while now, but no matter how hard I try to learn coding, it simply isn't for me. I will never be a high-level coder. So how does an entrepreneur who has a strong history of leadership, management, and vision get involved in the future of the internet?

Hey @tommycaldwell 👋🏼 ! Welcome to Web3Community ✨ Great to see that you want to contribute, and learn about web3 😄 ! You can join our Discord Server :) We all are learning and growing together. You can join us there and learn web3 together 💙 You'll get to interact with some awesome folks there like @vinzvinci , @KukretiShubham , @krishguptadev , @Panquesito7 and @mkubdev

Hi @tommycaldwell ! Welcome here ! ✨ Development learning curve is high, but passion can lead you everywhere ⭐ Join us on the discord, we share content about web3 and we learning together.


⚠ Bofrost.lu has degraded performance

In 4ca6142, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2256 ms

Resolved: Bofrost.lu performance has improved in d24af0b after 9 minutes.


P0025R0 An algorithm to "clamp" a value between a pair of boundary values

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0025r0.html
__cpp_lib_clamp : 201603L

実装済み


MPMoviePlayerViewController

2019-11-27 01:02:11.769952+0800 FitMe[12486:277665] Consumed extension
2019-11-27 01:02:12.443919+0800 FitMe[12486:277373] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'MPMoviePlayerViewController is no longer available. Use AVPlayerViewController in AVKit.'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff23c4f02e __exceptionPreprocess + 350
1   libobjc.A.dylib                     0x00007fff50b97b20 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff23c4ee6c +[NSException raise:format:] + 188
3   MediaPlayer                         0x00007fff277e0c99 -[MPMoviePlayerViewController initWithContentURL:] + 94
4   FitMe                               0x0000000100ba263f -[XCDYouTubeVideoPlayerViewController initWithVideoIdentifier:] + 495
iOS13

@YangKunCheng What version of the project you're using? The latest demo app no longer use MPMoviePlayerViewController

The library still have MPMoviePlayerViewController as the parent class of XCDYouTubeVideoPlayerViewController and the README clearly state to use XCDYouTubeVideoPlayerViewController so i think this should still be open i am using the latest release 2.14

@abdelrahman-badary if you're targeting iOS 8 or later it's best to use XCDYouTubeClient and AVPlayerViewController the README has an example on how you can go about doing this :-)


Determine best trackingThreshold for mp4 analysis

Rerun the mp4 on the cluster or something with different values for the trackingThreshold parameter and determine a way to gauge how well the value performs in the data so that the best value can be determined.

Duplicate of issue #22


crash when interrupting errors at more prompt

Describe the bug
Sometimes, Vim crashes when interrupting errors at the more prompt.
To Reproduce
Write this in /tmp/crash.vim:
set columns=80 lines=15
call mkdir('/tmp/toggle/autoload', 'p')
let lines =<< trim END
    import MapSave from 'lg/map.vim'
    fu toggle#auto_open_fold()
        eval s:MapSave(['j', 'k', '<down>', '<up>', '<c-d>', '<c-u>', 'gg', 'G'], 'n', v:true)
    endfu
    nno coz :call toggle#auto_open_fold()<cr>
END
call writefile(lines, '/tmp/toggle/autoload/toggle.vim')
set rtp^=/tmp/toggle
set rtp^=/tmp/lg
let lines =<< trim END
    vim9script
    export def MapSave(keys: any, mode = '', wantlocal = v:false): list<dict<any>>
        if type(keys) != v:t_list && type(keys) != v:t_string | return [] | endif
        let _keys = type(keys) == v:t_list ? keys : [keys]
        let save: list<dict<any>> = []
        for key in _keys
            for m in mode == '' ? [''] : split(mode, '\zs')
                let maparg = Maparg(key, m, wantlocal)
                save += [maparg]
            endfor
        endfor
        return save
    enddef
    def Maparg(name: string, mode: string, wantlocal: bool): dict<any>
        let maparg = maparg(name, mode, 0, 1)
        if empty(maparg) || wantlocal && !Islocal(maparg)
            maparg = {
                'unmapped': v:true,
                'lhs': name,
                'mode': mode == '' ? ' ' : mode,
                'buffer': wantlocal,
            }
        endif
        if Islocal(maparg)
            extend(maparg, {'bufnr': bufnr('%')})
        endif
        return maparg
    enddef
    def Islocal(maparg: dict<any>): number
        echom maparg
        return 1
    enddef
END
call mkdir('/tmp/lg/import/lg', 'p')
call writefile(lines, '/tmp/lg/import/lg/map.vim')
nno j gj
nno k gk
nmap <down> j
nmap <up> k
augroup some_augroup
    au CmdlineEnter : ru autoload/toggle.vim | au! some_augroup
augroup END
au VimEnter * call feedkeys(":\ecoz", 't')

Start Vim like this:
vim -Nu /tmp/crash.vim

Several E731 errors are raised.  Do not press G or j to jump at the end of the pager.  Instead press C-c once or twice to interrupt and quit the pager.
Vim crashes.
Expected behavior
Vim doesn't crash.
Environment

Vim version: 8.2 Included patches: 1-1438
OS: Ubuntu 16.04.7 LTS
Terminal: XTerm(358)

Additional context
I know the "minimal" example is complicated, but:

the original code was much more complicated and scattered across multiple plugins
it took me four hours to come up with it
hopefully, the next backtrace and logs will be enough to find a fix

I think the issue has something to do with the import because I wasn't able to reproduce when I briefly tried to remove it.
It definitely has something to do with the height of the terminal; I think it must be low enough so that we're at the more prompt when the errors are displayed (i.e. there must be lines which the pager can't display).

In xterm, you need to press C-c twice; it seems that in other terminals, pressing it once is enough.

backtrace
valgrind log
asan log

Note that Vim doesn't crash when instrumented by valgrind, but it does when instrumented by asan.

Here's a shorter snippet which reproduces the crash (it's about 25% shorter):
vim9script
let lines =<< trim END
    import MapSave from 'map.vim'
    nno <F3> :call <sid>MapSave()<cr>
END
mkdir('/tmp/toggle/autoload', 'p')
writefile(lines, '/tmp/toggle/autoload/toggle.vim')
set rtp^=/tmp/toggle rtp^=/tmp/lg columns=80 lines=15
lines =<< trim END
    vim9script
    export def MapSave(): list<dict<any>>
        let save: list<dict<any>> = []
        for key in ['j', 'k', '<down>', '<up>', '<c-d>', '<c-u>', 'gg']
            let maparg = Maparg(key)
            save += [maparg]
        endfor
        return save
    enddef
    def Maparg(name: string): dict<any>
        let maparg = maparg(name, 'n', 0, 1)
        if empty(maparg) || !Islocal(maparg)
            maparg = #{unmapped: true, lhs: name}
        endif
        if Islocal(maparg)
        endif
        return maparg
    enddef
    def Islocal(maparg: dict<any>)
        echom maparg
    enddef
END
mkdir('/tmp/lg/import', 'p')
writefile(lines, '/tmp/lg/import/map.vim')
nno j j
nno k k
nmap <down> j
nmap <up> k
au CmdlineEnter : ru autoload/toggle.vim
feedkeys(":\e\<F3>")

I think the issue has something to do with the import because I wasn't able to reproduce when I briefly tried to remove it.

I was wrong; it has nothing to do with the import; it can be reproduced without.
Here's yet another shorter snippet:
vim9script
set rtp^=/tmp/toggle rtp^=/tmp/lg columns=80 lines=15

let lines =<< trim END
    vim9script
    def MapSave()
        let save: list<dict<any>> = []
        for key in ['j', 'k', '<down>', '<up>', '<c-d>', '<c-u>', 'gg']
            Maparg()
        endfor
    enddef
    def Maparg()
        let maparg = #{unmapped: true, lhs: 'j'}
        Islocal(maparg)
        Islocal(maparg)
    enddef
    def Islocal(maparg: dict<any>)
        echom maparg
    enddef
    nno <F3> :call <sid>MapSave()<cr>
END
mkdir('/tmp/toggle/autoload', 'p')
writefile(lines, '/tmp/toggle/autoload/toggle.vim')

nno j j
nno k k
nmap <down> j
nmap <up> k
au CmdlineEnter : ru autoload/toggle.vim
feedkeys(":\e\<F3>")

Note that in xterm, with the last snippet, you need to press C-c three times for Vim to crash (with the very first snippet, two times was enough).  In other terminals, you need to press C-c only once.

Reduced to 17 lines of code; I don't think I can make it shorter:
set columns=80 lines=15

def MapSave()
    for key in range(6)
        Maparg()
    endfor
enddef
def Maparg()
    let maparg = #{unmapped: true, lhs: 'x'}
    Islocal(maparg)
    Islocal(maparg)
enddef
def Islocal(maparg: any)
    echom maparg
enddef

nno <F3> :call <sid>MapSave()<cr>
feedkeys("\<F3>")

I could reproduce the crash and I think I fixed it.  I don't know how to write a test for this though, it depends on what happens on the stack.


DBZ-5650 Support set statement in mariadb

DBZ-5650
From MariaDB 10.1.2, pre-query variables are supported
src: https://mariadb.com/kb/en/set-statement/

@nirolevy Applied, thanks

@nirolevy Just to doblecheck - can you please check if STATEMENT keyword can be used as table/column name? If yes it has to be added to keywordsCanBeId rule.

@nirolevy Just to doblecheck - can you please check if STATEMENT keyword can be used as table/column name? If yes it has to be added to keywordsCanBeId rule.

https://issues.redhat.com/browse/DBZ-5662


set default label to first-timers-only

https://github.com/hoodiehq/first-timers-bot/blob/676ac077440992b41c75e72b65e5cbb95617f673/server.js#L40
Now that things work, I would set the label to first-timers-only again. Will be a great way to promote the bot, too :)

fixed by #92


Reset spinner to the default value, accept output map in bump

Hi @dictoon
Small PR with two fixes:

Reset spinners of OSL plugins to the default value on right click
Bump map accepts Output map (and other "supported" textures in future)

Thanks,
Sergo.

Nice, thanks!
This commit title doesn't make sense to me: "Supported texture as a bump and normal map", could you clarify?

Hi @dictoon ,
I renamed the commit to "Accept Output map as a bump map"

Thanks! Merging.


Dataset Questions

Impressive work! I am wondering where I can access and download the original .mp4 video and .wav audio files? In the provided Google Drive link, there are only .npy files for the groundtrunth annotation files. Thanks in advance!

Thank you very much @HenryJunW  for your kind words. Due to copyright, I can not make the raw videos available, but you can find attached a txt file with a superset of the youtube URLs videos if you want to download them for non-commercial.  As for the audio data, you can get them from videos using ffmpeg.
You can access the superset of the videos organized by category,  under the refactor branch.
dataset: https://github.com/theopsall/Video-Summarization/tree/refactor/video_summarization/dataset

Thanks! @theopsall  Really appreciate it very much!


SSL configuration is Running - Domain ownership and SSL configuration

App Id: dgmozfqzssvnm
Region: us-west-2
Step: SSL configuration
Status: Running
Issue/question
The SSL certificate configuration is not completed. The CNAME record for validation was added to the DNS zone and the A records was changed. We have created the domain waited for 24 hours. Deleted it and tried again with no success. Tried deleted the automatically generated records and created the domain again with no luck.
Error message
"We validated that the CNAME record exists in your DNS file. We will now verify ownership of the domain."
Additional information
The domain name already existed in Route53 prior to adding it in AWS Amplify. We have read all the similar opened issues without finding a proper solution. We have also checked all information on this guide : https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html#custom-domain-troubleshoot-guide.

It seems the problem was related to our DNS configuration. The parent DNS zone is pointing the NS records to Route53, being the child name servers. The validation would not take in consideration the ALIAS from Route53 but would instead use the ALIAS in ClouDNS that was pointing to an earlier configured ELB.
We are now waiting for Domain activation step.

I confirm that was the problem. Case closed.


Depreciated item - stylesheets/show-todo.less

Style elements within text editors using the atom-text-editor::shadow selector or the .atom-text-editor.less file extension. If you want to target overlay elements, target them directly or as descendants of atom-overlay elements.

This still happening?

Ah, it looks like for some reason Atom was not automatically updating from 0.6.0. So I missed the fix. Manually Uninstalled and Re-Installed now to fix. Thanks

Can this be closed?

Yes,
On 7 May 2015 at 06:01, Martin Rodalgaard<EMAIL_ADDRESS>wrote:

Can this be closed?
—
Reply to this email directly or view it on GitHub
https://github.com/jamischarles/atom-todo-show/issues/36#issuecomment-99588783
.


Uncaught TypeError: Cannot read property 'font_styles' of undefined

I'm getting this error with last version bootsy (1.2.0)
Uncaught TypeError: Cannot read property 'font_styles' of undefined
In the javascript file bootstrap-wysihtml5.js?body=1:8
var tpl = {
"font-styles": function(locale, options) {
I have bootstrap 2.3.2
The textarea remains as a normal textarea, it got the classes of bootsy via the simple_form helper.

I just ran into this as well, and it struck me as suboptimal, because it was not at all abvious what caused bootsy/wysihtml5 not to show up on the page at all.
I'd like to propose detecting the situation, logging it to the JavaScript console as "Bootsy wysihtml5 - No i18n for 'nl-NL' available, defaulting to 'en'" and living up to that promise.
I'm  not really a JS guru, but if I got it off the ground, would such a patch stand a chance of being accepted, to help the next one after me to run into this one?

@driehuis sure, please send me a pull request and I'll review it. That's weird though, Bootsy should always default to en.

Can we simply add to the Documentation:
"If Bootsy finds the 'lang' attribute in the HTML tag, it will set his locale with that value automagically, be sure to add the respective locale files for Bootsy if you are using that attribute. If Bootsy doesn't find the locale files that is trying to set, it will silently fail to render. You can override this behavior with the option 'data-bootsy-locale' in each of your inputs."
Or something like that, sorry, I'm not native English speaker.

Actually Bootsy shouldn't fail to render. I'll reopen this and try to work on a fix.

It should be fixed now on master. I'll release a new version of the gem soon. Thanks, everyone!

2.1.0 worked for me, straight out of the box. Thanks a bundle!


[Request] Match Import from Challonge

Hello
This is a feature request to have possibility import match from Challonge
In continuity of challonge integration, actually, he missing match import

This is intentional, as there is no way to actually create teams with Steam auths attached to them. It is still up to the TO to assign steam IDs within the teams before a match can be created. Teams must have steam IDs within them when the match is created, or else the match config will be empty and no one will be able to join the game. As of right now, Challonge has no way of importing raw text fields from their API, so it fails to meet that requirement, so we cannot create matches from it.

so, this is possible to have more info on G5API, i check the API to see what body and Header i need to put for create a match

I'm not sure I follow. The issue isn't with G5API, but the Challonge API not being able to have any identifiers. There is currently a lab test to allow free-formed text on their front-end, but that is not exposed to the API at all, so there's no way to grab multiple Steam IDs.
As for POSTing matches, you just need a header with your user-api where the value is <user_id>:<api_key>. If you wish to POST a match, you can view the API docs here :)


RET on a selection does not toggle evil-multiedit

Observed behavior
The documentation for evil-multiedit suggests that pressing RET on a selection should toggle it, but this doesn't seem to be happening on the current (March 5) develop branch.
Expected behavior
Pressing RET on a selection made using evil-multiedit should toggle it.
Steps to reproduce

In a document, press Option+D on a word to mark it using evil-multiedit.
Press RET.

System information

Click to expand
- OS: darwin (x86_64-apple-darwin18.2.0)
- Emacs: 26.1 (Feb 23, 2019)
- Doom: 2.0.9 (develop d587d11653609127f676e4d4a44c879408ce4e1b)
- Graphic display: t (daemon: nil)
- System features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2
- Details:
  elisp
  elc count: 0
  uname -a:  Darwin Siddharths-Work-MacBook-Pro.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
  modules:   (:feature eval (evil +everywhere) file-templates (lookup +docsets) snippets workspaces :completion company helm :ui deft doom doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash treemacs (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor fold multiple-cursors rotate-text :emacs dired electric imenu term vc :tools flycheck lsp magit :lang data emacs-lisp latex markdown (org +attach +babel +capture +present) python (sh +fish) :config literate (default +bindings +snippets +evil-commands) sid :ui modeline)
  packages:  (evil-nerd-commenter gruvbox-theme matlab-mode ox-hugo ox-twbs uuidgen (webkit-katex-render :recipe (webkit-katex-render :fetcher github :repo fuxialexander/emacs-webkit-katex-render :files (*))))
  exec-path: (~/bin/ ~/Library/Python/3.7/bin/ /usr/local/opt/python/libexec/bin/ /usr/local/bin/ /usr/bin/ /bin/ /usr/sbin/ /sbin/ /usr/local/Cellar/emacs-plus/26.1/libexec/emacs/26.1/x86_64-apple-darwin18.2.0/)

I've just tested it, works for me. Could you please press <f1> k RET after Option+D and tell us what function is bound to RET? For me it's evil-multiedit-toggle-or-restrict-region.

In an org file, for example, this is what I see when I press <f1> k RET:
<return> runs the command +org/dwim-at-point, which is an interactive autoloaded
Lisp closure in ‘../modules/lang/org/autoload/org.el’.

It is bound to <return>, <normal-state> <return>.

(+org/dwim-at-point)

Do-what-I-mean at point.

This should be resolved in 9d30b41. Please update and let me know if that isn't the case.

This works fine for org-mode now. I'm still seeing this issue in .m files but that's likely because matlab-mode defines a keybinding using <return>.

Since I can no longer reproduce this (in matlab-mode either), I'll consider this resolved. Let me know if that isn't the case and I'll reopen this.


Error: The dataProvider threw an error. It should return a rejected Promise instead.

As per the doc on https://github.com/marmelab/react-admin/blob/master/docs/DataProviders.md
"Error Format
When the API backend returns an error, the Data Provider should return a rejected Promise containing an Error object. This object should contain a status property with the HTTP response code (404, 500, etc.). React-admin inspects this error code, and uses it for authentication (in case of 401 or 403 errors). Besides, react-admin displays the error message on screen in a temporary notification."
The data provider isn't returning a rejected promise.
react-admin version 3.3.1
ra-data-feathers version 2.7.0
Refer the code below

Does feathers client  return rejected promises on error?
What is returning on error in your example?
Can you make a test?

Does feathers client return rejected promises on error?
Yes
What is returning on error in your example?
It returns Error

On using getOne instead of getList and passing a non-existing userId, it returns Error.
When I try to GET the users list on Postman, it gives the correct result.

I cant understand if you call getOne with a non-existing userId, what value are you expecting back?


VPC Peering for GCP

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/recdR3aCPlygf3iPj
Description: Allow customers to connect to their managed CockroachDB cluster without going through the internet, rather by connecting their application private network in GCP to the cluster private network in GCP
Customers don't have stable IPs if they are running on GKE. VPC peering is one solution for this.
Team: Lakshmi Kannan, Roland Crosby
Github Tracking Issue: https://github.com/cockroachdb/docs/issues/5966

Note to self: Revisit the copy and docs for Networking. Change "Authorize network" to "Whitelist IP"


Feature/logstash role

@loshkovskyi please review

@Y4Rv1K can you rebase this to master?

Please correct me if I'm wrong but you are asking me to merge 68 commits, whereas most of them has nothing to do with my branch. Please don't rebase. All of this should go to qa/integration for further testing. I will review your work tomorrow. Thanks.

Ahhh I missed that the PR is for CiscoCloud:feature/logstash-role.  My bad.


libgit2: 0.25.1 -> 0.26.0

Motivation for this change
This causes fairly significant rebuilding.
It also supersedes #30982 which I wasn't aware of before doing this.
Cc @orivej @wizeman
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

pythonPackages.pygit2 has to be kept in sync.
Let's close #30982 when this one is merged.

Now pygit2 tracks the version of libgit2 as well.

@peterhoeg If you don't mind I'll complete this PR.

If you don't mind I'll complete this PR.

Please do. You saw @FRidh 's note about separating out the python module?

Yes. I don't see why we should do this manually (I asked him here), but this time I'll do it just to try.

It would be also nice if you could clean up the libgit2_glib dependencies as I did in https://github.com/jtojnar/nixpkgs/commit/fd33a6a878ca8f7c0040fb7831e2223c1b790371, to save me a round trip.

Merged into staging because this is borderline massive, and I expect staging to reach master soon.


Y

@ItsKylieCyrus, maybe you created this issue unintentionally?
I'll close it, and feel free to open a new one with a description.

hmm


Animation won't work on scrolling but with zooming in/out.

This is: Question
I am having trouble on the AOS in won't activate the animations when scrolling, it only activates when zooming in or out.
I did follow the steps on how to install tho. and as well as removed other scripts.

I had a similar issue. I had height of 100% on my html and body. removing the height worked.
`html {
// height: 100%;
overflow-x: hidden;
}
body {
font-family: "Open Sans", sans-serif;
font-weight: 400;
color: $dark;
// height: 100%;
overflow-x: hidden;
}`

I had a similar issue. I used overflow-x: hidden on the root element. Actually, because of the overflow-x: hidden the scroll event listener stops getting called even while scrolling. Because of that aos animations do not work. The solution is: remove overflow or use overflow on immediate parent only.

Removing overflow-x: hidden; from .html in css file fix the problem ! thanks guys


[BUG] OutFox uses windows style CRLF line breaks in Preferences.ini even on Linux systems

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Linux, Mac likely also affected
CPU
No response
GPU
No response
Storage
No response
Game Version
5.0.0-042
Game Mode
dance
Theme
No response
Describe the problem
When writing out Preferences.ini OutFox consistently uses windows-style CRLF line breaks. I'm guessing this problem also affects Macs, and likely affects any other config files written by OutFox.
While the CRLF line breaks don't outright break anything, they do make it a little obnoxious to use automated tools to manage config files since changes written with standard line breaks will get overwritten the next time OutFox runs.
It's also just a bit of a weird surprise to have a file with CRLF line breaks on a Linux system - it makes me feel like I'm back in the 90s!
I'm guessing this is a pretty simple fix. If the project were open source I'd be looking to put together a PR rather than reporting a bug.
Describe what should happen
OutFox should use the standard line breaks for whatever platform it's running on (CRLF on windows, and LF on Mac/Linux).
Relevant Log output
No response

sadly the whole game (stepmania) is written to do \r\n and replacing that to just \n is gonna be quite annoying, we will prob do it but its not a simple replace sadly.

I'm guessing std::stringstream is the approach, but the challenge will be that there are possibly thousands of strings that would need to deal with this?

This output is fixed in 043, but do check and confirm we are outputting correctly, 043 will be out in the next 2 weeks, there are test builds available in our discord as well, many thanks for reporting this.


230 deprecation fixes

Hi,
in this PR, I removed all deprecated API calls and migrated the Plugin to be dynamical.
I also changed the Singleton implementation of the SaveActionManager to an enum (see https://dzone.com/articles/java-singletons-using-enum) which is from my point of view a bit more readable.
BR

Hello @fishermans, thanks a lot for the modifications, I really appreciate it 🙏 . I trust you on the details, I'm not going to test the modifications.
I'm stepping down as maintainer of this repo and I'm archiving it. If you want to fork it and keep working on it, go ahead, I can add you as a maintainer on the Jetbrains plugin website for the uploads / maintenance
Chers

Hello @fishermans, thanks a lot for the modifications, I really appreciate it 🙏 . I trust you on the details, I'm not going to test the modifications.
I'm stepping down as maintainer of this repo and I'm archiving it. If you want to fork it and keep working on it, go ahead, I can add you as a maintainer on the Jetbrains plugin website for the uploads / maintenance
Chers

Hmmm...
A great pity, @dubreuia. I can understand you well. Maintaining a project is certainly always a time-consuming task without income. Your solution is probably a frequently used function that should not be abandoned. Unfortunately, my time is also very limited. Maybe there is another possibility, e.g. by leaving the project open and authorizing other distributors to release the plugin, so that all the work is not left to you.
However, if you have changed your focus and are no longer using Intellj on a daily basis, we will probably have to fork it. I have never written plugins for Intellij but always kept some of them alive for myself, like this one and other that are no longer maintained. That is, I do not know the process of releasing a plugin and I am not often on GitHub because we are using other systems in our company, e.g. Maven. Hence, I am not an expert.
Do you see any other way? I'm happy to help again if I can.


Inventor Artillerist Force Ballista attack roll doesn't include spell attack bonus and HP is incorrect

Save: cannon_spellattack.zip
Version <IP_ADDRESS> changed Force Ballista to use an attack roll, but the attack currently doesn't include the character's spell attack bonus. This issue affects both the tiny cannon and small cannon.

Additionally, HP of the summoned small cannons should be 5 * Inventor Level, but it currently seems to be wrong and also inconsistent between the cannon types. (Screenshots show Lv 6 character, so it should be 30 HP)

I noticed this too. Now I am messing up with the source code, hoping I fix this before the devs do

After some several minutes of inspection, the problem may be caused by the prototype of this power is eldritch blast but the modifier is not properly set:
file:\SolastaUnfinishedBusiness\Subclasses\InnovationArtillerist.cs
code:
        var powerForceBallista = FeatureDefinitionPowerBuilder
            .Create($"Power{Name}{ForceBallista}")
            .SetGuiPresentation(Category.Feature, EldritchBlast)
            .SetUsesFixed(ActivationTime.Action)
            .SetEffectDescription(
                EffectDescriptionBuilder
                    .Create(EldritchBlast)
                    .SetDurationData(DurationType.Instantaneous)
                    .SetTargetingData(Side.All, RangeType.RangeHit, 12, TargetType.IndividualsUnique)
                    .SetParticleEffectParameters(EldritchBlast)
                    .SetEffectForms(
                        EffectFormBuilder
                            .Create()
                            .SetDamageForm(DamageTypeForce, 2, DieType.D8)
                            .SetDiceAdvancement(LevelSourceType.ClassLevel, 0, 1, 6, 3)
                            .Build(),
                        EffectFormBuilder
                            .Create()
                            .SetMotionForm(MotionForm.MotionType.PushFromOrigin, 1)
                            .Build())
                    .Build())
            .AddToDB();

EB is only used as effect prototype. Issue has been identified and will fix soon.

EB is only used as effect prototype. Issue has been identified and will fix soon.

Ok. just curious, is it caused by no implementation of this custom action？

The custom action is implemented. Something deeper on how powers cannot leverage spell attacks. On top of that it’s a monster not a caster.

had to first implement a new interface here: https://github.com/SolastaMods/SolastaUnfinishedBusiness/commit/7d41a284d4ad62c388c340d8cd548381e3ab4d54
once so fix was easy here:
https://github.com/SolastaMods/SolastaUnfinishedBusiness/commit/6ba3ebacd3ae295dba752d123a0e4ee4636a18c4


Fixing a wrong section heading

fixes #380

The issue is with the plot labels, and not the section heading. So, I am going to create another PR.


Working related

4 days extension worked, and now this extension doesn't work

i didnt work 4 days ago, i had to disabled it #99


Add GPTQModel backend

@minimario @sidaw @mdeff PR ready for review. Add GPTQModel as optional backend in addition to vllm for benchmark inference:

Add new backend argument default to existing vllm backend
Add gptqmodel backend option
GPTQModel will allow the benchmark to inference gptq quantized models on Nvidia (CUDA), Intel XPU (XPU), Apple Silicon (MPS), Intel/AMD CPU hardware acceleration via IPEX (requires avx, amx, or xmx), and finally fallback to non-accelerated CPU inference using normal Torch code.


Missing Constant Parameter Value

In the 2nd Boxview, contained within the RelativeLayout which is contained within the 1st RelativeLayout the Constant parameter (for the XConstraint) is missing a value.

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

ID: 35a0e591-622a-aa3f-a289-7896af574a81
Version Independent ID: 8e796318-0fa6-d67f-1de3-f3b0a5feb49c
Content: Xamarin.Forms RelativeLayout - Xamarin
Content Source: docs/xamarin-forms/user-interface/layouts/relative-layout.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @LuckyDuck97
Thanks for pointing this out. I've fixed it in a PR that will go out later.


Jankily allow editChannelInfo to set parentID

If you've got any suggestions on how to make this less janky, I'd like to hear them.
However, in the true spirit of band-aid, this fix is brief and it works. Hurrah!

@cloudrac3r In my testing, only this change was sufficient in updating the parent_id for a channel, as the loop below handles input parameters that aren't defined.
user_limit: channel.user_limit,
parent_id: channel.parent_id

@Astraeus- I am aware of the function of the loop below, and sure, I could do what you suggested. However, then you would have to specify the new parent ID as parent_id in the input parameters, which would be inconsistent with parentID which is used in the createChannel method. My code checks for the existence of input.parentID and uses that if it's specified and channel.parent_id if it is not. Make sense?

Thank you :)


Unable to Access Currently running Background process "Credential Manager UI Host" for VPN connection app.

Expected Behavior
Need to Switch to Back-ground app and click on "Allow".
Actual Behavior
My Script is able to trigger VPN app and pass credentials then connect to VPN.
But New Security key POP-UP started coming, and I am not unable to switch to that pop up to select Allow Button.
Please help me if it can be possible with Pywinauto or I need to use any other library in python.
Steps to Reproduce the Problem

Below

Short Example of Code to Demonstrate the Problem
Below is my Script.
> from pywinauto.application import Application
> from subprocess import Popen,PIPE
> from tkinter import ttk
> import time
> import tkinter as tk
>
> def VPNConnect():
>     app = Application().start(r'C:\windows\system32\rasphone.exe -d "<VPN_app>"')
>     time.sleep(2)
>     app.UTC_Asia.Connect.click()
>     dlg = app.top_window()
>     print(dlg)
>     dlg.Button.Allow.click()
>     time.sleep(5)
>     app.Warning.OK.click()
>     time.sleep(10)
>     app.UTC_Asia.type_keys('user_id')
>     app.UTC_Asia.type_keys("{TAB}")
>     app.UTC_Asia.type_keys("{TAB}")
>     app.UTC_Asia.type_keys("{TAB}")
>     app.UTC_Asia.type_keys("{TAB}")
>     app.UTC_Asia.type_keys("password")
>     time.sleep(2)
>     app.UTC_Asia.type_keys("{ENTER}")
>
> def VPNcheck():
>     cmd = ['%comspec% /c route print <IP_ADDRESS>'] #Command for getting VPN connection status
>     result = subprocess.Popen('%comspec% /c route print <IP_ADDRESS>', stdout=subprocess.PIPE, shell =True)
>     for line in result.stdout.readlines():
>         if b'<VPN_app1>' in line or b'<VPN_app2>' in line:
>             return True
>     return VPNcheck
>
> def popupmsg(msg):
>     popup = tk.Tk()
>     popup.wm_title("!")
>     label = ttk.Label(popup, text=msg)
>     label.pack(side="top", fill="x", pady=20)
>     B1 = ttk.Button(popup, text="Okay", command = popup.destroy)
>     B1.pack()
>     popup.mainloop()
>
> VPNcheck()
>
> #Condition to check if the VPN is already connected and then call VPNConnect().
> if VPNcheck() == True:
>     popupmsg('VPN is already connected')
> else:
>     VPNConnect()
>

Below Is the error.
> ElementNotFoundError                      Traceback (most recent call last)
> <ipython-input-14-3dc39ad4f5a7> in <module>
>      53     popupmsg('VPN is already connected')
>      54 else:
> ---> 55     VPNConnect()
>
> <ipython-input-14-3dc39ad4f5a7> in VPNConnect()
>      17     dlg = app.top_window()
>      18     print(dlg)
> ---> 19     dlg.Button.Allow.click()
>      20     time.sleep(5)
>      21     app.Warning.OK.click()
>
> ~\AppData\Roaming\Python\Python37\site-packages\pywinauto\findwindows.py in find_element(**kwargs)
>      85
>      86     if not elements:
> ---> 87         raise ElementNotFoundError(kwargs)
>      88
>      89     if len(elements) > 1:
>
> ElementNotFoundError: {'best_match': 'Allow', 'top_level_only': False, 'parent': <win32_element_info.HwndElementInfo - '&Cancel', Button, 1706668>, 'backend': 'win32'}
>

Specifications

Pywinauto version: NA
Python version and bitness: Version 3.7.4
Platform and OS: Windows 10

You have to inspect which attributes the control actually exposes. Use the print_control_identifiers() method of pywinauto.
And/or for more inspection use inspect.exe or the new MS accessibility insight tool.

Quite possible that the popup window belong to another process, forked after connecting to VPN. Also, remember to check the permissions.

You have to inspect which attributes the control actually exposes. Use the print_control_identifiers() method of pywinauto.
And/or for more inspection use inspect.exe or the new MS accessibility insight tool.

Quite possible that the popup window belong to another process, forked after connecting to VPN. Also, remember to check the permissions.

Yes Its an another process when I checked under Task Manager this is appearing in Background process  under Credential Manager UI Host, but I am unsure on how to switch to that process.
Any suggestions would be highly appreciated 👍

Typically, you use another Application instance with the connect method. If you know the path to the executable, it would be enough. Another option, is try to get the window through Desktop class. https://pywinauto.readthedocs.io/en/0.6.8/getting_started.html#entry-points-for-automation

Typically, you use another Application instance with the connect method. If you know the path to the executable, it would be enough. Another option, is try to get the window through Desktop class. https://pywinauto.readthedocs.io/en/0.6.8/getting_started.html#entry-points-for-automation

Thank you for your quick response Airelil!!!
I tried all the ways you suggested and modified my code as bellow, but still unable to switch to the app- Windows Security  under Credential UI Blocker,
`from pywinauto.application import Application
from subprocess import Popen,PIPE
from tkinter import ttk
from pywinauto import Desktop
import subprocess
import time
import tkinter as tk
def VPNConnect():
app1 = Application().start(r'C:\windows\system32\rasphone.exe -d "UTC-Asia"')
dlg1 = Desktop(backend = 'uia').UTC_Asia
dlg1.wait('visible')
app1.UTC_Asia.Connect.click()

#time.sleep(5)
#dlg2 = Application().connect(path = r'C:\Windows\System32\CredentialUIBroker.exe')

windows = Desktop(backend="uia").windows()
#print(windows)
"Windows Security" in [w.window_text() for w in windows]

if True:
    app2 = Application().connect(path = r'C:\Windows\System32\CredentialUIBroker.exe')

    dlg2 = Desktop(backend = 'uia').Windows_Security
    dlg2.wait('visible')

    app2.Windows_Security.Allow.click()
    print(dlg2)`

Below is the error.
MatchError: Could not find 'Windows_Security' in 'dict_keys([])'
Any Suggestions???

Did you verify procesd id of your pop up? You can do it with Inspect.exe utility, as suggested by @michel117  . As a debug step, you could hard code the pid and try to connect to it. Also, did you try to run your script as admin, to eliminate permissions problems?

@airelil , @michel117 Thankyou so much for your help. now my script is working perfectly after using print_control_identifiers() method I was able to identify which element to click on.
def VPNConnect():
    app1 = Application().start(r'C:\windows\system32\rasphone.exe -d "VPN-app1"')
    dlg1 = Desktop(backend = 'uia').VPN-app1
    dlg1.wait('visible')
    app1.UTC_Asia.Connect.click()

    #Validation to Check For Windows Security popup Message
    windows = Desktop(backend="uia").windows()
    "Windows Security" in [w.window_text() for w in windows]
    if True:
        app2 = Application().connect(path = r'C:\Windows\System32\CredentialUIBroker.exe')
        dlg2 = Desktop(backend = 'uia').Windows_Security
        dlg2.wait('visible')
        dlg2.Allow.click()

    dlg1.wait('visible')
    app1.Warning.OK.click()
    dlg1.wait('visible')
    app1.UTC_Asia.type_keys('UN')
    app1.UTC_Asia.type_keys("{TAB}")
    app1.UTC_Asia.type_keys("{TAB}")
    app1.UTC_Asia.type_keys("{TAB}")
    app1.UTC_Asia.type_keys("{TAB}")
    app1.UTC_Asia.type_keys("PW")
    dlg1.wait('visible')
    app1.UTC_Asia.type_keys("{ENTER}")


Tasks plugin does not perform well with todos in block embeds

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
When using Obsidian Block Embeds checking and unchecking a task should behave the same as if a task is present in the presently open file (the same as normal.)
Current behaviour
Currently block embeds + tasks are somewhat buggy.
What works:

Checking a task that is on the root level of another file

What doesn't work:

Checking a task at a deeper indent level of another file doesn't work at all, with the error message "Could not find the correct task line to update"
Unchecking an embedded task sometimes results in the render cache for that file getting out of sync, with the embed showing as still checked, while the actual task unchecks as expected
Completed tasks don't have the strikethrough rendered (Edit: that was actually nothingislost/obsidian-dynamic-highlights#52, not a result of this plugin)

Steps to reproduce
Create File with actual tasks.md:
- [ ] Task A ^taskA
- [ ] Task B ^taskB
	- [ ] Task B1 ^taskB1
- [ ] Task C ^taskC

Create File Embedding.md:
![[File with actual tasks#^taskA]]
![[File with actual tasks#^taskB1]]
![[File with actual tasks#^taskC]]

Try the following actions:

Check Task A
Check Task C
Uncheck Task A
Uncheck Task C
Check TaskB1

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.1.9
Tasks Plugin Version
3.1.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
No response

Hi @weaversam8
Thanks for the report. It is very helpful to have the actual text to paste in to Tasks - thank you.

~Completed tasks don't have the strikethrough rendered~ (Edit: that was actually Optionally render in transclusions and other areas  nothingislost/obsidian-dynamic-highlights#52, not a result of this plugin)

I am confused as to how that can be the case when you have checked that you were trying it with other plugins disabled.

I tried following the instructions to reproduce, and found they weren't a complete list of steps.
Please have a read of this page:
https://publish.obsidian.md/tasks/Support+and+Help/Report+a+Bug#Give+steps+to+reproduce+the+bug
And then try to fill in the missing steps:

Try the following actions:

In which file?
In which Obsidian mode?

Check Task A
Check Task C
Uncheck Task A
Uncheck Task C
Check TaskB1

Please actually record what happens for each of these steps.
Thank you.
Someone will be reviewing this issue in future, and will not know whether the behaviour they see is the same as the behaviour you saw.

Actually, one more request: please also try to reproduce the problem without even Obsidian Tasks installed.
I have previously found that even vanilla Obsidian does not work well embedded Tasks, in which case this plugin doesn't stand much of a chance.
Thanks.

Closing due to insufficient information.
Am happy to reopen it if the questions above are answered.


Add "all" option to the list selection

More details or even a pull request would have been appreciated


Add check for improper rotations #80 to isrotation

I don't think anybody was using isrotation as it was totally broken until yesterday.
This change assures that matrix rotations can be converted to other kinds of rotations.

Codecov Report

Merging #83 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   98.62%   98.62%   +<.01%
==========================================
  Files           7        7
  Lines         509      510       +1
==========================================
+ Hits          502      503       +1
  Misses          7        7

Impacted Files
Coverage Δ

src/core_types.jl
94.44% <100%> (+0.1%)
:arrow_up:

Continue to review full report at Codecov.

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


[Doc Bash][Image not matching the description]

The image is not in line with the description provided. ABS is a term mentioned in the image which I do not understand and is not mentioned anywhere.

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

ID: 4ccf81d0-a7a0-1e2a-5b35-8cfd723c1225
Version Independent ID: e3ebe0a1-a22f-1535-c649-3f79158b4ece
Content: Basics of the Bot Framework Service - Bot Service
Content Source: articles/v4sdk/bot-builder-basics.md
Service: bot-service
GitHub Login: @JonathanFingold
Microsoft Alias: iawilt

ABS should read as Azure Bot Service. I'll update the image in the next few days.

Updated artwork should be live later today. Thanks.


Delete log "No components got filtered with the given criteria." (#1315)

@metametadata can you also run pnpm lint && pnpm run gen-types. May be there are some changes due to line numbers?

Ran and created https://github.com/CycloneDX/cdxgen/pull/1318.


When we're not tracking any individual error latencies, say so directly

right now when we aren't tracking any individual latencies, we give this message:

DBWrapper: report latency for each error is false and specific error codes to track for latency are: []

instead we should say something like "report latency for all errors as a group rather than individually".

My OS details:
(TOSS) Linux 2.6.32-5<IP_ADDRESS>chaos.ch5.4.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
I installed YCSB as follows:
git clone https://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn -pl com.yahoo.ycsb:memcached-binding -am clean package
Installed Memcached as follows:
wget http://memcached.org/files/memcached-1.4.25.tar.gz
tar xvzf memcached-1.4.25.tar.gz
cd memcached-1.4.25
./configure --prefix=$MEMCACHED_DIR
make
make install
Command to run memcached:
${MEMCACHED_DIR}/bin/memcached -d -m 1024 -u root -l <IP_ADDRESS> -p 11211
Running YCSB "load" command:
${YCSB_DIR}/bin/ycsb load memcached -s -P "${YCSB_DIR}/workloadsworkloada" -p recordcount=500000 -p operationcount=5000000 -p "memcached.hosts=<IP_ADDRESS>"
Running YCSB "run" command:
${YCSB_DIR}/bin/ycsb run memcached -s -threads 8 -P "${YCSB_DIR}/workloada" -p recordcount=500000 -p operationcount=5000000 -p "memcached.hosts=<IP_ADDRESS>"
Full output with errors while "load":
2015-12-20 22:05:02:000 0 sec: 0 operations; est completion in 0 seconds
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.058 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.059 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2015-12-20 22:05:02.060 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
DBWrapper: report latency for each error is false and specific error codes to track for latency are: []
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
Error inserting, not retrying any more. number of attempts: 1Insertion Retry Limit: 0
2015-12-20 22:05:02.156 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2015-12-20 22:05:02.156 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.157 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02.157 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02.158 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2015-12-20 22:05:02.158 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.159 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2015-12-20 22:05:02.159 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02.158 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.159 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02.160 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.160 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
2015-12-20 22:05:02.161 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.161 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02.162 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/<IP_ADDRESS>:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:87)
at java.nio.channels.SelectionKey.isWritable(SelectionKey.java:312)
at net.spy.memcached.MemcachedConnection.handleReadsAndWrites(MemcachedConnection.java:722)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:683)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:436)
at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:1445)
2015-12-20 22:05:02.162 INFO net.spy.memcached.MemcachedConnection:  Shut down memcached client
2015-12-20 22:05:02:164 0 sec: 0 operations; est completion in<PHONE_NUMBER>67300 days 15 hours [CLEANUP: Count=8, Max=4375, Min=1916, Avg=3589.62, 90=4303, 99=4375, 99.9=4375, 99.99=4375] [INSERT-FAILED: Count=8, Max=76799, Min=73472, Avg=75552, 90=76799, 99=76799, 99.9=76799, 99.99=76799] [INSERT: Count=0, Max=0, Min=9223372036854775807, Avg=?, 90=0, 99=0, 99.9=0, 99.99=0]
[OVERALL], RunTime(ms), 166.0
[OVERALL], Throughput(ops/sec), 0.0
[CLEANUP], Operations, 8.0
[CLEANUP], AverageLatency(us), 3589.625
[CLEANUP], MinLatency(us), 1916.0
[CLEANUP], MaxLatency(us), 4375.0
[CLEANUP], 95thPercentileLatency(us), 4375.0
[CLEANUP], 99thPercentileLatency(us), 4375.0
[INSERT-FAILED], Operations, 8.0
[INSERT-FAILED], AverageLatency(us), 75552.0
[INSERT-FAILED], MinLatency(us), 73472.0
[INSERT-FAILED], MaxLatency(us), 76799.0
[INSERT-FAILED], 95thPercentileLatency(us), 76799.0
[INSERT-FAILED], 99thPercentileLatency(us), 76799.0
[INSERT], Operations, 0.0
[INSERT], AverageLatency(us), NaN
[INSERT], MinLatency(us), 9.223372036854776E18
[INSERT], MaxLatency(us), 0.0
[INSERT], 95thPercentileLatency(us), 0.0
[INSERT], 99thPercentileLatency(us), 0.0
[INSERT], Return=ERROR, 8


Notification/Survey Delegate Method

We require this in our app as we have multiple ways to display notifications and we don't want the systems colliding (i.e. we fixed an instance where Mixpanel would display a notification and our app would present another view controller immediately after, causing the notification from Mixpanel to flash). We wanted to have Mixpanel show its notification at the very beginning, but needed a way to give the app a "heads-up" so that it could halt the changing of views until the notification was dismissed. This pull request is a solution for this. Efforts were made to adhere to your coding/documentation conventions.

Thanks for the PRQ, we'll review and get back to you next week!

Hey @Stunner, we hear you loud and clear. We're going to take the spirit of this PR and make some changes with the next release. We agree that there should be an easier way to figure out what the library is going to do with respect to notifications.
I will update this issue when we've made the changes.

:+1:


Initialize stateful objects and export/import state

This PR is a continuation of #272 .
Changes and new features:

Move set_state to set_initial_value in set_initial_conditions (set_state still can be used with deprecation warning)
Make set_initial_value able to set the initial value of any stateful object, not only Integ.
Add deprecation warning if you try to modify a non-stateful object with set_initial_value, ask user to use params instead. It is necessary to difference between them as params will modify the value of the variable for all the run while initial_conditions are used only for the initial time in one run
Add possibility to export to a pickle the states and other needed values of the stateful objects using

    model.run(return_timestamps=[0, 10])
    model.export("my_final_state.pic")

Add possibility to use exported values of stateful objects as initial conditions (initial time will be the one from the file allowing to be able to skip this part of the simulation):

    model.run(return_timestamps=[20, 30] ,initial_conditions="my_final_state.pic")

Add control variables to the run arguments, final_time, time_step and saveper can be modified easily when calling run. If final_time is given the final_time of the simulation will be the biggest one between the last time_stamp and final_time (if not given it will work as before), therefore we have a way to compute a common initial simulation without saving anything:
    model.run(return_timestamps=[], final_time=20)
    model.export("my_final_state.pic")
  In other session:
    stock1 = model.run(params={"foo":1},initial_conditions="my_final_state.pic", return_timestamps=[21, 22, 23])
    stock2 = model.run(params={"foo":2},initial_conditions="my_final_state.pic", return_timestamps=[21, 22, 23])

A bug with SampleIfTrue was solved. Needed to update SampleIfTrue as if it is not called will keep the previous value for ever.
Several more tests added to test functions.py

Hello @enekomartinmartinez! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/unit_test_pysd.py:

Line 414:80: E501 line too long (81 > 79 characters)
Line 977:80: E501 line too long (81 > 79 characters)

Coverage increased (+2.8%) to 98.582% when pulling c5299cbdbd060f92591382676f9ae4cefc3cb72f on enekomartinmartinez:initialize_stateful_objects into 7f772c77e8d39cca1c133f7f3618a382adcd1ab1 on JamesPHoughton:master.

Coverage increased (+2.8%) to 98.582% when pulling c5299cbdbd060f92591382676f9ae4cefc3cb72f on enekomartinmartinez:initialize_stateful_objects into 7f772c77e8d39cca1c133f7f3618a382adcd1ab1 on JamesPHoughton:master.

@JamesPHoughton sorry I forgot to add the documentation, I briefly describe the import/export feature in Advanced usage.

@JamesPHoughton this has been updated with the last PR, now it is easier to find the changes
However, I want to try to solve #274 with this PR. Then you can review the code and I will add a new commit soon to solve the issue.

@JamesPHoughton last commit should solve issue #274


[docs] fix C API docs rendering

Refer to

https://www.doxygen.nl/manual/docblocks.html#memberdoc
https://www.doxygen.nl/manual/preprocessing.html

I checked all variants of brief description and only this one results in no weird artifacts in the LGBM_SetLastError() function.
Force __cplusplus in docs to get more general description.
Live demo: https://lightgbm.readthedocs.io/en/fix_docs/C-API.html.
Before

After

@StrikerRUS Note that the use of // isn't supported by ANSI C. So if there's no workaround to using // in 'c_api.h', ANSI C support will need to be dropped.


drivers: spi: support for Nuvoton numaker SPI interface

This PR is to add Nuvoton numaker series SPI interface.
It's verified on board: NuMaker-PFM-M467.

Hi @tbursztyka,
please take a look.

Hi @tbursztyka , @ssekar15 ,
If you are available, please look into this PR.


suggested fixes

I've made a pass through the documentation and have made fixes I thought lead to improvements.  I've also added comments here in this PR on Github. Please review those changes for my rationale.
On this PR you'll also notice a few formatting changes. Those changes were made by Prettier to allow us to maintain consistent formatting throughout our code and docs.  This does however require that we each have prettier properly installed on our machines.

Closing this. Suggestions are stale and superseded.